/* Client revisions from the August 2026 feedback document. */

:root {
  --wp--preset--color--accent: #e94b18;
}

/* The hero rotates automatically; public manual controls are intentionally hidden. */
.tamba-hero-slider__controls {
  display: none !important;
}

/* Client screenshot: Upcoming Events begins with a straight top edge. */
.tamba-section--events {
  border-radius: 0 !important;
}

.tamba-heading h2::after,
.tamba-section .tamba-shell > h2::after {
  border-radius: 0 !important;
}

/* Upcoming Events uses the same centered composition as Why Tamba. */
.tamba-section--events .tamba-heading {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.tamba-section--events .tamba-heading h2::after {
  margin-inline: auto;
}

/* Separate Why Tamba and Gallery visually. */
.tamba-section--why {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(233, 75, 24, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 242, 232, 0.66), rgba(255, 250, 244, 0.24));
}

#gallery,
.tamba-section--gallery {
  background: #fff !important;
}

/* Equal-height Why Tamba cards with a restrained design accent. */
.tamba-why-grid {
  grid-auto-rows: 1fr;
}

.tamba-why-card {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.92));
}

.tamba-why-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wp--preset--color--accent, #e94b18), transparent);
  content: "";
}

.tamba-why-card__icon {
  transition: transform 0.25s ease;
}

.tamba-why-card:hover .tamba-why-card__icon {
  transform: translateY(-2px) rotate(-2deg);
}

/* One central colour treatment for all gallery photos. */
.tamba-gallery img,
.tamba-gallery-lightbox img,
[data-tamba-gallery-lightbox] img {
  filter: saturate(0.88) contrast(0.97) brightness(0.98);
}

/* Reviews stay, but the visible section title is intentionally removed. */
.tamba-section--reviews .tamba-shell > h2,
#reviews .tamba-shell > h2 {
  display: none !important;
}

.tamba-section--reviews .tamba-review-carousel,
#reviews .tamba-review-carousel {
  margin-top: 0 !important;
}

/* Registration-only description: not shown on compact event cards. */
.tamba-registration-dialog__description {
  margin: 10px 0 18px;
  color: var(--wp--preset--color--muted, #625b55);
  font-size: 15px;
  line-height: 1.6;
}

.tamba-registration-dialog__description[hidden] {
  display: none !important;
}

/* Standard/legal pages. */
.tamba-standard-page {
  min-height: 60vh;
  padding: 72px 0 96px;
  background: var(--wp--preset--color--background, #fffaf4);
}

.tamba-standard-page__inner {
  width: min(900px, calc(100% - 48px)) !important;
  max-width: 900px !important;
}

.tamba-standard-page__title {
  margin: 0 0 34px;
}

.tamba-legal-copy {
  color: var(--wp--preset--color--text, #24211f);
  font-size: 16px;
  line-height: 1.7;
}

.tamba-legal-copy h2 {
  margin: 42px 0 14px;
  font-size: 28px;
}

.tamba-legal-copy h3 {
  margin: 26px 0 10px;
  font-size: 19px;
}

.tamba-legal-copy p,
.tamba-legal-copy ul,
.tamba-legal-copy table {
  margin: 0 0 16px;
}

.tamba-legal-copy ul {
  padding-left: 24px;
}

.tamba-legal-copy table {
  width: 100%;
  border-collapse: collapse;
}

.tamba-legal-copy th,
.tamba-legal-copy td {
  padding: 10px 12px;
  border: 1px solid var(--wp--preset--color--line, #eee4da);
  vertical-align: top;
  text-align: left;
}

.tamba-legal-copy .tamba-legal-effective-date {
  margin-top: -22px;
  color: var(--wp--preset--color--muted, #625b55);
  font-size: 14px;
}

/* Keep the deeper orange consistent on legacy button shadows. */
.tamba-site-header .tamba-header-button .wp-block-button__link,
.tamba-actions .wp-block-button__link {
  box-shadow: 0 10px 22px rgba(233, 75, 24, 0.18);
}

@media (max-width: 700px) {
  .tamba-standard-page {
    padding: 48px 0 72px;
  }

  .tamba-standard-page__inner {
    width: calc(100% - 28px) !important;
  }

  .tamba-legal-copy h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tamba-why-card__icon {
    transition: none;
  }

  .tamba-why-card:hover .tamba-why-card__icon {
    transform: none;
  }
}