#about-detailed .eyebrow+h2,
#about-detailed>h2:first-of-type,
main>section>.eyebrow+h2,
main>section>h2:first-of-type {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
}

#about-detailed h2:not(:first-of-type),
#about-detailed h3,
main>section>h2:not(:first-of-type),
main>section>h3:not(.season-title):not(.overlay-title) {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: clamp(1.1rem, 1.04rem + 0.23vw, 1.25rem);
}

main>section>h4 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
}

#about-detailed p,
main>section p {
  margin-bottom: 16px;
}

main>section ul:not([class]) {
  margin: 14px 0 24px;
  padding-left: 24px;
}

main>section ul:not([class]) li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* ===== MICRO-INTERACTIONS ===== */
.img-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.img-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

.season-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.season-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
}

.stats li {
  transition: transform .2s ease, box-shadow .2s ease;
}

.stats li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

/* ===== PAGE HEAD (breadcrumbs + title + hero) ===== */
/* Single flex container so we can re-order on mobile via CSS `order`
   without changing source order or duplicating markup.
   Desktop visual order: title → crumb → hero.
   Source order: crumb → title → hero (kept for semantic flow). */
.page-head {
  display: flex;
  flex-direction: column;
}

.page-head__crumb {
  order: 2;
  background: transparent;
  border-bottom: none;
  padding: 0 24px 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.page-head__title {
  order: 1;
  background: transparent;
  padding: 18px 24px 6px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}



.page-head__title h1 {
  margin: 0;
  font-size: clamp(1.1rem, 0.91rem + 0.77vw, 1.6rem);
  font-weight: 700;
}

/* Breadcrumb styling is now unified in global.css (.breadcrumbs). */

/* ===== HERO GALLERY ===== */
/* .page-head__hero is the outer container (centered, padded) and provides
   a positioning context for the floating "View Gallery" CTA on mobile.
   .hero-wrap is the scroll container (only scrolls on mobile via the
   media query below). .hero-gallery is the layout (CSS Grid on desktop,
   flex slider on mobile). */
.page-head__hero {
  order: 3;
  max-width: var(--maxw);
  margin: 12px auto 0;
  padding: 0 24px;
  position: relative;
}

.page-head--hero-section .page-head__hero {
  width: 100%;
  max-width: calc(var(--maxw) - 48px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* ===== PDP-2 (HERO SINGLE / TIER-2) EDITORIAL SECTION SPACING ===== */
.page-head--hero-section ~ main section {
  margin-bottom: 44px;
}

@media (max-width: 768px) {
  .page-head--hero-section ~ main section {
    margin-bottom: 32px;
  }
}

/* ===== PDP-2 TYPOGRAPHY HIERARCHY ===== */
.page-head--hero-section .page-head__title h1 {
  font-size: clamp(1.35rem, 1.15rem + 1vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.page-head--hero-section ~ main h2 {
  font-size: clamp(1.12rem, 1.02rem + 0.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.page-head--hero-section ~ main h3 {
  font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 20px 0 6px;
}

.page-head--hero-section ~ main p {
  font-size: clamp(0.92rem, 0.89rem + 0.12vw, 0.98rem);
  line-height: 1.75;
  color: var(--muted);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 3;
}

.hero-gallery a,
.hero-gallery .sub-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  background: #ddd;
}

.hero-gallery picture {
  display: contents;
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.hero-gallery a:hover img {
  transform: scale(1.03);
}

.g-main {
  grid-row: 1 / -1;
}

.sub-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sub-grid-top {
  grid-row: 1;
}

.sub-grid-bottom {
  grid-row: 2;
}

.gallery-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: clamp(0.689rem, 0.64rem + 0.2vw, 0.82rem);
  backdrop-filter: blur(4px);
}

/* ===== HERO SINGLE IMAGE ===== */
.hero-single {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 2.35;
}

.hero-single picture {
  display: contents;
}

.hero-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating "View Gallery" pill - hidden by default; only shown on mobile
   where the gallery is a horizontal slider and the in-card buttons would
   scroll out of view. Pinned bottom-left of .page-head__hero. */
.hero-floating-btn {
  display: none;
  position: absolute;
  bottom: 14px;
  left: 28px;
  z-index: 5;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(0, 0, 0, .72);
  color: #fff !important;
  border-radius: 999px;
  font-size: clamp(0.689rem, 0.64rem + 0.2vw, 0.82rem);
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: background .15s, transform .15s;
}

.hero-floating-btn:hover {
  background: rgba(0, 0, 0, .85);
  transform: translateY(-1px);
}

.hero-floating-btn i {
  font-style: normal;
  font-size: clamp(0.84rem, 0.78rem + 0.25vw, 1rem);
}

@media (max-width: 1024px) {

  /* Mobile/Tablet order: H1 Title → Breadcrumb → Hero */
  .page-head__title {
    order: 1;
    background: transparent;
    border-bottom: none;
    padding: 14px 16px 4px;
    max-width: 100%;
    margin: 0;
  }

  .page-head__crumb {
    order: 2;
    background: transparent;
    border-bottom: none;
    padding: 2px 16px 10px;
    max-width: 100%;
    margin: 0;
  }

  .page-head__hero {
    order: 3;
    /* Edge-to-edge on mobile/tablet so the slider can run flush with screen edges */
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .page-head__title h1 {
    line-height: 1.3;
  }

  .section-tabs {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .section-tabs ul {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Show the floating CTA on mobile/tablet and hide the in-card buttons */
  .hero-floating-btn {
    display: inline-flex;
    bottom: 26px;
    left: 28px;
  }

  .hero-gallery .gallery-btn,
  .hero-gallery .gallery-btn-mobile {
    display: none;
  }

  .page-head--hero-section .page-head__hero {
    max-width: 100%;
    padding: 0 16px;
  }

  .page-head--hero-section .hero-single {
    height: 55vw;
    aspect-ratio: auto;
  }

  /* Hero gallery becomes a horizontal card slider */
  .hero-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
  }

  .hero-wrap::-webkit-scrollbar {
    display: none;
  }

  .hero-gallery {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    aspect-ratio: auto;
    gap: 12px;
    padding: 4px 16px 14px;
  }

  .hero-gallery a {
    flex: 0 0 70%;
    min-width: 70%;
    max-width: 70%;
    width: 70%;
    aspect-ratio: 16 / 10;
    grid-row: auto;
    grid-column: auto;
    scroll-snap-align: start;
  }

  .hero-gallery .sub-grid {
    display: contents;
  }
}

@media (max-width: 640px) {
  .hero-gallery a {
    flex: 0 0 82%;
    min-width: 82%;
    max-width: 82%;
    width: 82%;
    aspect-ratio: 4 / 3;
  }

  .page-head--hero-section .hero-single {
    height: 61.5vw;
  }
}

/* ===== STATS ===== */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}

.stats li {
  flex: 1 1 150px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
  background: var(--surface);
}

.stats .lbl {
  font-size: clamp(0.588rem, 0.54rem + 0.17vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 6px;
}

.stats .val {
  font-size: clamp(0.9rem, 0.86rem + 0.15vw, 1rem);
  font-weight: 700;
}



.img-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.img-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 8px;
  margin: 10px 10px 0;
  background: #e0e0dc;
}

.img-card .thumb picture {
  display: contents;
}

.img-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.img-card h4 {
  margin: 0 0 4px;
  font-size: clamp(0.823rem, 0.76rem + 0.24vw, 0.98rem);
  font-weight: 700;
}

.img-card p {
  margin: 0;
  font-size: clamp(0.714rem, 0.66rem + 0.21vw, 0.85rem);
  color: var(--muted);
  line-height: 1.5;
}

/* ===== SEASON CARDS ===== */
.season-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.season-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Vertical rhythm when season grids / tick lists sit in normal content flow
   (these classes are only used on flow-based content pages, never in sliders,
   so the adjacent-sibling spacing is naturally scoped). */
.season-grid+h3,
.tick-list+h3,
.stats+h3 {
  margin-top: 48px;
}

.season-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
}

.season-card .season-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.season-card .season-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.008rem, 0.93rem + 0.3vw, 1.2rem);
  background: #fdf1e6;
  transition: background .25s, transform .25s;
}

.season-card .season-icon i {
  font-size: clamp(0.924rem, 0.86rem + 0.27vw, 1.1rem);
  color: #f37002;
  font-style: normal;
  display: inline-block;
  transition: color .25s;
}

.season-card:hover .season-icon {
  background: #f37002;
  transform: scale(1.05);
}

.season-card:hover .season-icon i {
  color: #ffffff;
}

.season-card .season-title {
  font-size: clamp(1.05rem, 0.99rem + 0.23vw, 1.2rem);
  font-weight: 700;
  margin: 0;
}

.season-card .season-months {
  font-size: clamp(0.714rem, 0.66rem + 0.21vw, 0.85rem);
  color: var(--muted);
  margin: 2px 0 0;
}

.season-card p {
  font-size: clamp(0.739rem, 0.68rem + 0.22vw, 0.88rem);
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.season-card p:last-child {
  margin-bottom: 0;
}

.season-card strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .season-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .season-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  /* Turn the wildlife & safari sections' season-grid containers into a horizontal slider on mobile only */
  #wildlife .season-grid,
  #safari .season-grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px 16px !important;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -8px;
    margin-bottom: -16px;
    width: calc(100% + 32px);
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    gap: 14px;
  }

  #wildlife .season-grid::-webkit-scrollbar,
  #safari .season-grid::-webkit-scrollbar {
    display: none;
  }

  #wildlife .season-grid .season-card,
  #safari .season-grid .season-card {
    min-width: 78% !important;
    max-width: 78% !important;
    flex: 0 0 78% !important;
    scroll-snap-align: start;
  }

  .season-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .season-grid:not(#wildlife .season-grid) {
    grid-template-columns: 1fr;
  }
}

/* Inline location/meta icon inside a season-card subtitle */
.season-card .season-months i {
  color: var(--accent);
  font-style: normal;
  font-size: clamp(0.672rem, 0.62rem + 0.2vw, 0.8rem);
  margin-right: 3px;
}

/* ===== TICK LIST (checkmarked bullet list) ===== */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(0.756rem, 0.7rem + 0.22vw, 0.9rem);
  line-height: 1.55;
  color: var(--muted);
}

.tick-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--accent);
  font-size: clamp(0.588rem, 0.54rem + 0.17vw, 0.7rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== GALLERY BTN MOBILE ===== */
.gallery-btn-mobile {
  display: none;
}

/* ===== TRAVEL GUIDE SUB-TABS (extracted from global.css) ===== */
.tg-tabs {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  border-bottom: none;
  flex-wrap: wrap;
}

.tg-tabs > li > button {
  background: none;
  border: none;
  font: inherit;
  padding: 10px 0;
  cursor: pointer;
  color: var(--text);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: clamp(0.95rem, 0.93rem + 0.08vw, 1rem);
}

.tg-tabs > li > button:hover,
.tg-tabs > li > button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tg-panel {
  display: none;
  padding-top: 24px;
}

.tg-panel.active {
  display: block;
}

#travel .tg-panel {
  padding-top: 14px;
}

#travel .tg-panel-head {
  display: none;
}

/* Slider controls live in the tab row; this keeps them after the final tab. */
.tg-tabs .arrows {
  margin-left: auto;
  align-self: center;
  flex: 0 0 auto;
}

.tg-tabs .arrows button {
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #e1e4e2;
  cursor: pointer;
  font-size: clamp(1.15rem, 1.11rem + 0.16vw, 1.25rem);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.tg-tabs .arrows button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tg-tabs .arrows button:active {
  transform: scale(.92);
}

/* ===== BIODIVERSITY / THINGS TO DO / ATTRACTIONS / NEARBY / DMC CARD STYLES ===== */
#panel-bio .img-card,
#panel-todo .img-card,
#panel-attr .img-card,
#nearby .img-card,
#what-we-do .img-card,
#where-we-operate .img-card,
#stays .img-card,
#experiences .img-card {
  border: 1px solid #e1e4e2;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .03);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#panel-bio .img-card .thumb,
#panel-todo .img-card .thumb,
#panel-attr .img-card .thumb,
#nearby .img-card .thumb,
#what-we-do .img-card .thumb,
#where-we-operate .img-card .thumb,
#stays .img-card .thumb,
#experiences .img-card .thumb {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 2 / 1;
}

#panel-todo .img-card .thumb,
#panel-attr .img-card .thumb,
#nearby .img-card .thumb,
#what-we-do .img-card .thumb,
#where-we-operate .img-card .thumb,
#stays .img-card .thumb,
#experiences .img-card .thumb {
  aspect-ratio: 16 / 10;
}

#panel-bio .img-card .thumb img,
#panel-todo .img-card .thumb img,
#panel-attr .img-card .thumb img,
#nearby .img-card .thumb img,
#what-we-do .img-card .thumb img,
#where-we-operate .img-card .thumb img,
#stays .img-card .thumb img,
#experiences .img-card .thumb img {
  border-radius: 0;
}

#panel-bio .img-card .body,
#panel-todo .img-card .body,
#panel-attr .img-card .body,
#nearby .img-card .body,
#what-we-do .img-card .body,
#where-we-operate .img-card .body,
#stays .img-card .body,
#experiences .img-card .body {
  padding: 14px 16px 16px;
}

#panel-bio .img-card h4,
#panel-todo .img-card h4,
#panel-attr .img-card h4,
#nearby .img-card h3,
#nearby .img-card h4,
#what-we-do .img-card h3,
#what-we-do .img-card h4,
#where-we-operate .img-card h4,
#stays .img-card h3,
#stays .img-card h4,
#experiences .img-card .body h3,
#experiences .img-card .body h4 {
  font-size: clamp(0.966rem, 0.9rem + 0.28vw, 1.15rem);
  margin-bottom: 10px;
  font-weight: 700;
}

#panel-bio .img-card p,
#panel-todo .img-card p,
#panel-attr .img-card p,
#nearby .img-card p,
#what-we-do .img-card p,
#where-we-operate .img-card p,
#stays .img-card p,
#experiences .img-card p {
  font-size: clamp(0.756rem, 0.7rem + 0.22vw, 0.9rem);
  line-height: 1.6;
  color: var(--muted);
}

#panel-bio .img-card:hover,
#panel-todo .img-card:hover,
#panel-attr .img-card:hover,
#nearby .img-card:hover,
#what-we-do .img-card:hover,
#where-we-operate .img-card:hover,
#stays .img-card:hover,
#experiences .img-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
}

/* Season cards inside slider tracks */
.slider-track.cols-3>.season-card {
  min-width: calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  flex: 0 0 calc(33.333% - 11px);
}


@media (max-width: 900px) {

  .slider-track.cols-3>.season-card,
  .slider-track.cols-3>.img-card,
  .slider-track.cols-4>.img-card {
    min-width: calc(50% - 8px);
    max-width: calc(50% - 8px);
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 640px) {

  .slider-track.cols-3>.season-card,
  .slider-track.cols-3>.img-card,
  .slider-track.cols-4>.img-card {
    min-width: 78%;
    max-width: 78%;
    flex: 0 0 78%;
  }
}

/* ===== TABLE ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 18px;
  margin-bottom: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

table+h2,
table+h3,
table+h4 {
  margin-top: 36px !important;
}

table+p {
  margin-top: 20px;
}

th,
td {
  text-align: left;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

th {
  background: #ebebeb;
  color: #475569;
  font-size: clamp(0.735rem, 0.68rem + 0.22vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

td {
  color: #475569;
  font-size: clamp(0.798rem, 0.74rem + 0.23vw, 0.95rem);
  line-height: 1.5;
}

td:first-child {
  color: #0f172a;
  font-weight: 500;
}

tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  table {
    border: none;
    background: none;
    box-shadow: none;
  }

  thead {
    display: none;
  }

  tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: .75rem 1rem;
    text-align: right;
  }

  td::before {
    content: attr(data-label);
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.72rem);
    text-align: left;
    flex-shrink: 0;
  }

  td:first-child {
    color: #0f172a;
  }
}

tbody tr {
  transition: background-color .15s ease;
}

tbody tr:hover {
  background-color: #f8fafc;
}

tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 1180px) {
  .section-tabs {
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    margin-top: 28px;
    background: #fff;
  }
}

@media (max-width: 960px) {

  section {
    scroll-margin-top: 160px;
  }

  .section-tabs ul {
    gap: 16px;
  }

  .section-tabs a {
    font-size: clamp(0.84rem, 0.78rem + 0.25vw, 0.95rem);
  }
}

@media (max-width: 1024px) {
  /* Travel guide sub-tabs - scrollable on tablet (iPad Air, Surface Pro) */
  .tg-tabs {
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 32px), transparent 100%);
  }

  .tg-tabs::-webkit-scrollbar {
    display: none;
  }

  .tg-tabs > li > button {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Remove floating desktop arrows that overlap tabs on tablet viewports */
  #travel .tg-panel-head {
    display: none;
  }
}

@media (max-width: 768px) {

  /* Sticky tabs - horizontal scroll */
  .section-tabs {
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    display: block;
    margin-top: 18px;
    margin-bottom: 24px;
    background: #fff;
    border-top: none;
    border-bottom: none;
  }

  .section-tabs ul {
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }

  .section-tabs ul::-webkit-scrollbar {
    display: none;
  }

  .section-tabs a {
    font-size: clamp(0.84rem, 0.78rem + 0.25vw, 1rem);
    padding: 12px 0;
  }

  .tg-panel {
    padding-top: 10px;
  }

  #travel .tg-panel {
    padding-top: 10px;
  }

  /* Season cards */
  .season-card {
    padding: 22px 18px;
  }

  /* Table responsive */
  th,
  td {
    padding: 0.875rem 1rem;
  }

  /* Stats */
  .stats li {
    padding: 14px 10px;
  }

  /* About detailed section */
  #about-detailed h2:not(:first-of-type),
  #about-detailed h3 {
    margin-top: 28px;
  }
}

@media (max-width: 400px) {

  /* Tighter gutter for the hero gallery slider on tiny screens */
  .hero-gallery {
    padding: 4px 12px 14px;
  }

  .hero-wrap {
    scroll-padding-left: 12px;
  }

  .page-head__crumb,
  .page-head__title {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-head--hero-section .page-head__hero {
    padding: 0 12px;
  }
}

/* ===== SAFARI ZONE PILLS/TAGS ===== */
.season-card p:has(+ .zone-tags) {
  margin-bottom: 0;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.zone-tags:last-child {
  margin-bottom: 0;
}

.zone-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  font-weight: 600;
  line-height: 1.2;
  background: #f4f4f5;
  color: #3f3f46;
}

.zone-tag--core-green,
.zone-tag--core {
  background: #e6f6ee;
  color: #116844;
}

.zone-tag--core-olive {
  background: #eff3e7;
  color: #496324;
}

.zone-tag--buffer,
.zone-tag--buffer-yellow {
  background: #faf0e3;
  color: #8c5a24;
}

/* ===== LIGHTBOX GALLERY POPUP ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.active,
.lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s, transform 0.2s;
  z-index: 2010;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  z-index: 2010;
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__arrow--prev {
  left: 32px;
}

.lightbox__arrow--next {
  right: 32px;
}

.lightbox__content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox__slides-container {
  flex: 1;
  width: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.lightbox__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.lightbox__slide.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  max-width: 800px;
  text-align: center;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.88rem, 0.84rem + 0.2vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.lightbox__caption:not(:empty)+.lightbox__counter::before {
  content: '•';
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* Lightbox Thumbnails Strip */
.lightbox__thumbs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 12px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.lightbox__thumbs-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Brave */
}

.lightbox__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 44px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox__thumb:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.lightbox__thumb.active {
  opacity: 1;
  border-color: var(--accent, #d96200);
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(217, 98, 0, 0.45);
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .lightbox__arrow {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6);
  }

  .lightbox__arrow--prev {
    left: 12px;
  }

  .lightbox__arrow--next {
    right: 12px;
  }

  .lightbox__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .lightbox__content {
    height: 70%;
  }
}
/* ===== HEADING STRUCTURE ENHANCEMENTS ===== */
.faq-list summary h1,
.faq-list summary h2,
.faq-list summary h3,
.faq-list summary h4,
.faq-list summary h5,
.faq-list summary h6 {
  display: inline;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
