﻿/* =========================================================
   Trek Detail — mockup-matched luxury layout
   Dark charcoal + gold (#C5A059). No price. No reviews.
   ========================================================= */

body.page-trek-detail,
body.page-everest-base-camp.page-trek-detail {
  --td-bg: #0c0b0a;
  --td-surface: #151311;
  --td-surface-2: #1a1714;
  --td-text: #e5e7eb;
  --td-muted: rgba(229, 231, 235, 0.78);
  --td-soft: rgba(229, 231, 235, 0.55);
  --td-gold: var(--luxury-gold, var(--accent-color, #c5a059));
  --td-gold-bright: var(--luxury-gold-bright, #d4b37d);
  --td-gold-deep: var(--luxury-gold-deep, #a67c37);
  --td-line: rgba(197, 160, 89, 0.28);
  --td-serif: "Cormorant Garamond", Georgia, serif;
  --td-sans: "DM Sans", system-ui, sans-serif;
  /* Match navbar logo / .nav-container edge */
  --page-content-max: 1400px;
  --page-gutter: clamp(1.25rem, 3vw, 2.5rem);
  --td-rail: var(--page-content-max);
  --td-gutter: var(--page-gutter);
  --secondary-color: var(--td-gold);
  background: var(--td-bg) !important;
  background-size: auto !important;
  animation: none !important;
  color: var(--td-text);
  font-family: var(--td-sans);
}

/* Shared content edge = logo / landing text rail */
body.page-trek-detail,
body.page-everest-base-camp.page-trek-detail {
  /* Avoid double horizontal inset vs fixed navbar (responsive-global body padding) */
  padding-left: 0;
  padding-right: 0;
}

.page-trek-detail .td-align,
.page-trek-detail .td-hero__inner,
.page-trek-detail .td-trust__inner,
.page-trek-detail .td-plan__inner,
.page-trek-detail .td-float__inner,
.page-trek-detail .navbar .nav-container,
.page-trek-detail .navbar-cinematic .nav-container,
.page-trek-detail .footer .container {
  max-width: var(--page-content-max) !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left)) !important;
  padding-right: max(var(--page-gutter), env(safe-area-inset-right)) !important;
  box-sizing: border-box;
}

/* ---------- Nav: match home cinematic ---------- */
.page-trek-detail .navbar,
.page-trek-detail .navbar.navbar-cinematic {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}

.page-trek-detail .navbar.navbar-home-scrolled {
  background: rgba(18, 15, 12, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(197, 160, 89, 0.38);
}

.page-trek-detail .navbar-cinematic .nav-brand-logo {
  position: relative;
  z-index: 5;
  gap: 0;
  line-height: 0;
  flex-shrink: 0;
}

.page-trek-detail .navbar-cinematic .nav-logo-img {
  display: block !important;
  height: clamp(52px, 6vw, 68px) !important;
  width: auto !important;
  max-width: min(340px, 52vw) !important;
  object-fit: contain !important;
  object-position: left center;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  /* Logo.png has slight left pad — keep logo box edge with nav gutter (text aligns to landing) */
  margin-left: 0;
}

.page-trek-detail .navbar-cinematic .nav-menu > li > a,
.page-trek-detail .navbar-cinematic .nav-dropdown > a.dropdown-trigger {
  text-transform: uppercase;
  letter-spacing: 0.12em !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  color: rgba(245, 245, 244, 0.92) !important;
}

.page-trek-detail .navbar-cinematic .nav-menu > li > a:hover,
.page-trek-detail .navbar-cinematic .nav-dropdown > a.dropdown-trigger:hover {
  color: var(--td-gold) !important;
}

.page-trek-detail .navbar-cinematic .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.page-trek-detail .navbar-cinematic .nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.page-trek-detail .navbar-cinematic .nav-search:hover {
  color: var(--td-gold);
  background: rgba(255, 255, 255, 0.06);
}

.page-trek-detail .navbar-cinematic .nav-cta {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 2px;
  padding: 0.65rem 1.2rem;
  min-height: 40px;
  background: linear-gradient(
    160deg,
    var(--td-gold-bright) 0%,
    var(--td-gold) 55%,
    var(--td-gold-deep) 100%
  );
  color: #12100c;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-trek-detail .navbar-cinematic .nav-cta:hover {
  background: transparent;
  color: var(--td-gold);
  border-color: var(--td-gold);
}

/* Tablet / compact: same cinematic chrome as home (hamburger from style.css ≤1180) */
@media (max-width: 1024px) {
  .page-trek-detail .navbar,
  .page-trek-detail .navbar.navbar-cinematic {
    background: rgba(18, 15, 12, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(197, 160, 89, 0.14);
  }

  .page-trek-detail .navbar.navbar-home-scrolled {
    background: rgba(18, 15, 12, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: rgba(197, 160, 89, 0.38);
  }

  .page-trek-detail .navbar-cinematic .nav-actions {
    gap: 0.7rem;
  }
}

@media (max-width: 767px) {
  .page-trek-detail .navbar-cinematic .nav-logo-img {
    height: 44px !important;
    max-width: min(220px, 58vw) !important;
  }

  .page-trek-detail .navbar-cinematic .nav-search {
    display: none;
  }
}

.page-trek-detail .td-page {
  padding-bottom: 0;
}

/* ---------- Hero ---------- */
.page-trek-detail .td-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
}

.page-trek-detail .td-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-trek-detail .td-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Left readability vignette for title/CTAs */
    linear-gradient(
      100deg,
      rgba(10, 8, 6, 0.72) 0%,
      rgba(10, 8, 6, 0.42) 32%,
      rgba(10, 8, 6, 0.12) 58%,
      transparent 78%
    ),
    /* Warm brand-gold wash */
    linear-gradient(
      225deg,
      rgba(197, 160, 89, 0.28) 0%,
      rgba(166, 124, 55, 0.12) 30%,
      transparent 58%
    ),
    /* Soft amber glow in sky / mid frame */
    radial-gradient(
      ellipse 70% 55% at 72% 36%,
      rgba(212, 179, 125, 0.2) 0%,
      rgba(197, 160, 89, 0.08) 40%,
      transparent 70%
    ),
    /* Bottom fade into page theme */
    linear-gradient(
      180deg,
      rgba(12, 11, 10, 0.18) 0%,
      transparent 42%,
      rgba(12, 11, 10, 0.45) 78%,
      rgba(12, 11, 10, 0.88) 100%
    ),
    /* Subtle cool depth in mountain shadows */
    linear-gradient(160deg, transparent 45%, rgba(20, 28, 40, 0.16) 100%);
}

.page-trek-detail .td-hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(197, 160, 89, 0.1) 0%, transparent 55%),
    linear-gradient(0deg, rgba(197, 160, 89, 0.05), transparent 42%);
  mix-blend-mode: soft-light;
}

.page-trek-detail .td-hero__inner {
  position: relative;
  z-index: 2;
  /* Clear fixed cinematic nav (tall logo) — tight under header */
  padding-top: calc(var(--nav-bar-height, 76px) + 1.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: 1.25rem;
  display: block;
}

.page-trek-detail .td-hero__copy {
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-trek-detail .td-hero__crumb {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.65);
}

.page-trek-detail .td-hero__crumb a {
  color: var(--td-gold);
  text-decoration: none;
}

.page-trek-detail .td-hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--td-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: #fff;
  width: 100%;
}

.page-trek-detail .td-hero__dek {
  margin: 0 0 1.25rem;
  max-width: 34em;
  width: 100%;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(229, 231, 235, 0.85);
}

.page-trek-detail .td-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  width: 100%;
  align-items: flex-start;
}

.page-trek-detail .td-hero__meta li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--td-text);
}

.page-trek-detail .td-hero__meta i {
  color: var(--td-gold);
  font-size: 0.9rem;
  width: 1rem;
  flex: 0 0 auto;
  text-align: center;
  margin-top: 0.35rem;
}

.page-trek-detail .td-hero__meta strong {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.55);
}

.page-trek-detail .td-hero__meta span {
  font-weight: 600;
  color: #fff;
}

.page-trek-detail .td-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
}

.page-trek-detail .td-hero__actions .td-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 40px !important;
  height: auto;
  padding: 0.55rem 1.05rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.page-trek-detail .td-hero__actions .btn-book-now {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none;
}

/* ---------- Booking card (below hero) ---------- */
.page-trek-detail .td-plan {
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  background: #0e0c0a;
}

.page-trek-detail .td-book {
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 0.4rem;
  background: #151311;
  box-shadow: none;
  padding: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-trek-detail .td-plan__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-trek-detail .td-plan__intro .td-section-title {
  margin-bottom: 1rem;
}

.page-trek-detail .td-plan .td-book__perks {
  margin: 0;
  max-width: 28rem;
}

.page-trek-detail .td-book__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--td-gold);
  font-weight: 700;
}

.page-trek-detail .td-book__perks {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-trek-detail .td-book__perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--td-text);
  line-height: 1.4;
}

.page-trek-detail .td-book__perks i {
  color: var(--td-gold);
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
  margin: 0;
}

.page-trek-detail .td-book__perks i::before {
  line-height: 1;
}

.page-trek-detail .td-field {
  margin-bottom: 0.8rem;
}

.page-trek-detail .td-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--td-soft);
}

.page-trek-detail .td-field select {
  width: 100%;
  min-height: 44px;
  border-radius: 0.3rem;
  border: 1px solid rgba(197, 160, 89, 0.4);
  background: rgba(10, 8, 6, 0.55);
  color: var(--td-text);
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.page-trek-detail .td-field select option {
  background: #16120e;
  color: #e5e7eb;
}

.page-trek-detail .td-field select:focus {
  outline: 2px solid var(--td-gold);
  outline-offset: 1px;
}

.page-trek-detail .td-book__actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

/* ---------- Buttons ---------- */
.page-trek-detail .td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 0.2rem;
  font-family: var(--td-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-trek-detail .td-btn--primary {
  background: var(--td-gold);
  color: #12100c;
  box-shadow: none;
}

.page-trek-detail .td-btn--primary:hover {
  transform: translateY(-1px);
  background: var(--td-gold-bright);
  box-shadow: none;
}

.page-trek-detail .td-btn--ghost {
  background: transparent;
  color: var(--td-gold);
  border-color: rgba(197, 160, 89, 0.55);
}

.page-trek-detail .td-btn--ghost:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--td-gold);
  color: #fff;
}

/* ---------- Trust bar ---------- */
.page-trek-detail .td-trust {
  border-top: 1px solid rgba(197, 160, 89, 0.22);
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
  background:
    radial-gradient(ellipse 70% 120% at 10% 50%, rgba(197, 160, 89, 0.1), transparent 55%),
    linear-gradient(180deg, #1a1612 0%, #14110e 100%);
}

.page-trek-detail .td-trust__inner {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.page-trek-detail .td-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

/* Tablet + phone: keep all four trust items on one line */
@media (max-width: 980px) {
  .page-trek-detail .td-trust__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(0.35rem, 1.5vw, 0.85rem);
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .page-trek-detail .td-trust__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .page-trek-detail .td-trust__icon {
    margin-top: 0;
    width: 1.05rem;
    height: 1.05rem;
  }

  .page-trek-detail .td-trust__icon i {
    font-size: 0.9rem;
  }

  .page-trek-detail .td-trust__item strong {
    font-size: clamp(0.62rem, 1.9vw, 0.82rem);
    line-height: 1.25;
  }

  .page-trek-detail .td-trust__item span {
    font-size: clamp(0.55rem, 1.55vw, 0.72rem);
    margin-top: 0.12rem;
    line-height: 1.3;
  }
}

.page-trek-detail .td-trust__icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  color: var(--td-gold);
}

.page-trek-detail .td-trust__icon i {
  display: block;
  font-size: 1rem;
  line-height: 1;
  color: var(--td-gold);
}

.page-trek-detail .td-trust__item:hover,
.page-trek-detail .td-trust__item:hover .td-trust__icon {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.page-trek-detail .td-trust__copy {
  min-width: 0;
}

.page-trek-detail .td-trust__item strong {
  display: block;
  font-family: var(--td-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.page-trek-detail .td-trust__item span {
  display: block;
  font-size: 0.8rem;
  color: rgba(229, 231, 235, 0.65);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ---------- Content rail + alternating section bands ---------- */
.page-trek-detail .td-rail {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  overflow-x: clip;
}

.page-trek-detail .td-rail > section.td-band {
  --td-inline-pad-left: max(
    var(--page-gutter),
    env(safe-area-inset-left),
    calc((100% - var(--page-content-max)) / 2 + var(--page-gutter))
  );
  --td-inline-pad-right: max(
    var(--page-gutter),
    env(safe-area-inset-right),
    calc((100% - var(--page-content-max)) / 2 + var(--page-gutter))
  );
  position: relative;
  isolation: isolate;
  margin-bottom: 0;
  padding-top: clamp(2.5rem, 5vw, 3.85rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.85rem);
  /* Match landing hero text edge exactly */
  padding-left: var(--td-inline-pad-left) !important;
  padding-right: var(--td-inline-pad-right) !important;
  width: 100%;
  box-sizing: border-box;
}

.page-trek-detail .td-band--ember {
  --td-band-illust: url('images/section%20landing.png');
  --td-band-illust-size: cover;
  --td-band-illust-pos: center center;
  background-color: #14110e;
  background-image: none;
  border-top: 1px solid rgba(197, 160, 89, 0.14);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  overflow: hidden;
}

.page-trek-detail .td-band--ember::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #14110e;
  background-image:
    linear-gradient(
      180deg,
      rgba(20, 17, 14, 0.72) 0%,
      rgba(18, 15, 12, 0.58) 45%,
      rgba(16, 14, 12, 0.78) 100%
    ),
    radial-gradient(ellipse 55% 50% at 18% 45%, rgba(197, 160, 89, 0.12), transparent 70%),
    var(--td-band-illust);
  background-size: auto, auto, var(--td-band-illust-size);
  background-position: center, center, var(--td-band-illust-pos);
  background-repeat: no-repeat;
}

.page-trek-detail .td-band--slate {
  --td-band-illust: url('images/with%20us.png');
  --td-band-illust-size: cover;
  --td-band-illust-pos: center right;
  background-color: #121516;
  background-image: none;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.page-trek-detail .td-band--slate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #121516;
  background-image:
    linear-gradient(
      90deg,
      rgba(18, 21, 22, 0.92) 0%,
      rgba(18, 21, 22, 0.78) 48%,
      rgba(18, 21, 22, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(18, 21, 22, 0.55) 0%,
      transparent 40%,
      rgba(18, 21, 22, 0.65) 100%
    ),
    var(--td-band-illust);
  background-size: auto, auto, var(--td-band-illust-size);
  background-position: center, center, var(--td-band-illust-pos);
  background-repeat: no-repeat;
}

.page-trek-detail .td-band--pine {
  --td-band-illust: url('images/Featured.png');
  --td-band-illust-size: cover;
  --td-band-illust-pos: center center;
  background-color: #0e120f;
  background-image: none;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.page-trek-detail .td-band--pine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #0e120f;
  background-image:
    linear-gradient(
      180deg,
      rgba(14, 18, 15, 0.82) 0%,
      rgba(14, 18, 15, 0.68) 50%,
      rgba(14, 18, 15, 0.88) 100%
    ),
    radial-gradient(ellipse 60% 75% at 100% 60%, rgba(70, 110, 85, 0.12), transparent 55%),
    var(--td-band-illust);
  background-size: auto, auto, var(--td-band-illust-size);
  background-position: center, center, var(--td-band-illust-pos);
  background-repeat: no-repeat;
}

.page-trek-detail .td-band--ink {
  --td-band-illust: url('images/Adventure.png');
  --td-band-illust-size: cover;
  --td-band-illust-pos: center center;
  background-color: #0c0b0a;
  background-image: none;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  border-bottom: 1px solid rgba(197, 160, 89, 0.08);
  overflow: hidden;
}

.page-trek-detail .td-band--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #0c0b0a;
  background-image:
    linear-gradient(
      105deg,
      rgba(12, 11, 10, 0.88) 0%,
      rgba(12, 11, 10, 0.72) 48%,
      rgba(12, 11, 10, 0.8) 100%
    ),
    radial-gradient(ellipse 45% 60% at 50% 0%, rgba(197, 160, 89, 0.1), transparent 55%),
    var(--td-band-illust);
  background-size: auto, auto, var(--td-band-illust-size);
  background-position: center, center, var(--td-band-illust-pos);
  background-repeat: no-repeat;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .page-trek-detail .td-band--ember {
    --td-band-illust: url('images/section-landing-mobile.png');
  }
}

.page-trek-detail .td-section-title {
  margin: 0 0 1.15rem;
  font-family: var(--td-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 500;
  color: #fff;
}

.page-trek-detail .td-section-title span,
.page-trek-detail .td-kicker {
  color: var(--td-gold);
}

.page-trek-detail .td-kicker {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--td-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  text-shadow: none;
}

.page-trek-detail .td-prose {
  color: var(--td-text);
  font-size: 0.98rem;
  line-height: 1.75;
}

.page-trek-detail .td-prose p {
  margin: 0 0 1rem;
  color: var(--td-text);
}

/* Overview: text + gallery */
.page-trek-detail .td-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.page-trek-detail .td-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-trek-detail .td-gallery__item,
.page-trek-detail .td-gallery figure {
  margin: 0;
  border-radius: 0.35rem;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.55);
  aspect-ratio: 4 / 3;
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.12);
}

.page-trek-detail .td-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.page-trek-detail .td-gallery__item:hover img,
.page-trek-detail .td-gallery figure:hover img {
  transform: scale(1.04);
}

/* Itinerary + map split */
.page-trek-detail .td-split-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.page-trek-detail .td-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.page-trek-detail .td-split-route .td-accordion {
  max-height: none;
  overflow: visible;
}

.page-trek-detail .td-acc {
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, var(--td-surface-2) 0%, var(--td-surface) 100%);
  overflow: hidden;
  flex: 0 0 auto;
}

.page-trek-detail .td-acc__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem 0.85rem;
  align-items: center;
  padding: 0.78rem 0.9rem;
  min-height: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  box-sizing: border-box;
}

.page-trek-detail .td-acc__trigger:focus-visible {
  outline: 2px solid var(--td-gold);
  outline-offset: -2px;
}

.page-trek-detail .td-acc__trigger > span:nth-child(2) {
  min-width: 0;
}

.page-trek-detail .td-acc__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 0.05rem;
  min-width: 3.25rem;
  min-height: 1.85rem;
  height: auto;
  padding: 0.25rem 0.45rem;
  border-radius: 0.2rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--td-gold-bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-trek-detail .td-acc__title {
  margin: 0;
  font-family: var(--td-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: #f3f4f6;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.page-trek-detail .td-acc__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.28rem;
  font-size: 0.7rem;
  color: var(--td-soft);
  line-height: 1.35;
}

.page-trek-detail .td-acc__meta-row i {
  color: var(--td-gold);
  margin-right: 0.2rem;
}

.page-trek-detail .td-acc__chevron {
  color: var(--td-gold);
  transition: transform 0.25s ease;
  font-size: 0.7rem;
  align-self: center;
  flex-shrink: 0;
}

.page-trek-detail .td-acc.is-open .td-acc__chevron {
  transform: rotate(180deg);
}

.page-trek-detail .td-acc__panel {
  display: none;
  padding: 0.1rem 0.9rem 0.85rem;
  border-top: 1px solid rgba(197, 160, 89, 0.14);
}

.page-trek-detail .td-acc.is-open .td-acc__panel {
  display: block;
}

.page-trek-detail .td-acc__panel p {
  margin: 0.85rem 0 0.7rem;
  color: var(--td-text);
  line-height: 1.7;
  font-size: 0.9rem;
}

.page-trek-detail .td-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-trek-detail .td-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.1);
  color: var(--td-gold-bright);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Map + elevation */
.page-trek-detail .td-map-block {
  border: 1px solid var(--td-line);
  border-radius: 0.45rem;
  overflow: hidden;
  background: var(--td-surface);
}

.page-trek-detail .td-map {
  width: 100%;
  height: 280px;
  background: #16120e;
}

.page-trek-detail .td-map .leaflet-container {
  background: #16120e;
  font-family: var(--td-sans);
}

/* Light, unfiltered tiles — readable place names */
.page-trek-detail .td-map .leaflet-tile-pane,
.page-trek-detail .td-map .td-map-tiles {
  filter: none;
}

.page-trek-detail .td-map .leaflet-control-attribution {
  background: rgba(22, 18, 14, 0.82) !important;
  color: var(--td-soft) !important;
}

.page-trek-detail .td-map .leaflet-control-attribution a {
  color: var(--td-gold) !important;
}

.page-trek-detail .td-map .leaflet-popup-content-wrapper {
  background: #16120e;
  color: #e5e7eb;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.page-trek-detail .td-map .leaflet-popup-tip {
  background: #16120e;
}

.page-trek-detail .td-map .leaflet-control-zoom a {
  background: #1a1612 !important;
  color: var(--td-gold) !important;
  border-color: rgba(197, 160, 89, 0.35) !important;
}

.page-trek-detail .td-map .leaflet-control-zoom a:hover {
  background: #221c16 !important;
  color: var(--td-gold-bright) !important;
}

.page-trek-detail .td-map-marker {
  background: transparent;
  border: 0;
}

.page-trek-detail .td-elev {
  padding: 0.95rem 1rem 1.1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.14);
}

.page-trek-detail .td-elev__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.page-trek-detail .td-elev__head h3 {
  margin: 0;
  font-family: var(--td-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}

.page-trek-detail .td-elev__head p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--td-soft);
}

.page-trek-detail .td-elev__svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-trek-detail .td-elev__grid {
  stroke: rgba(229, 231, 235, 0.08);
  stroke-width: 1;
}

.page-trek-detail .td-elev__area {
  fill: url(#tdElevFill);
}

.page-trek-detail .td-elev__line {
  fill: none;
  stroke: var(--td-gold);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-trek-detail .td-elev__dot {
  fill: var(--td-gold-bright);
  stroke: #12100c;
  stroke-width: 1.5;
}

.page-trek-detail .td-elev__label {
  fill: var(--td-soft);
  font-size: 10px;
  font-family: var(--td-sans);
}

.page-trek-detail .td-elev__label--gold {
  fill: var(--td-gold-bright);
  font-weight: 600;
}

/* Includes split */
.page-trek-detail .td-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.page-trek-detail .td-box {
  border: 1px solid var(--td-line);
  border-radius: 0.45rem;
  background: var(--td-surface);
  padding: 1.15rem 1.2rem;
}

.page-trek-detail .td-box h3 {
  margin: 0 0 0.85rem;
  font-family: var(--td-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.page-trek-detail .td-box h3 i {
  color: var(--td-gold);
}

.page-trek-detail .td-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--td-text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.page-trek-detail .td-box li {
  margin-bottom: 0.55rem;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.page-trek-detail .td-box li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--td-gold);
  flex: 0 0 auto;
  margin-top: 0.15rem;
  font-size: 0.75rem;
}

.page-trek-detail .td-box--out li::before {
  content: "\f00d";
}

/* FAQ two columns */
.page-trek-detail .td-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.9rem;
}

.page-trek-detail .td-faq .td-acc__title {
  font-size: 0.92rem;
}

/* Similar */
.page-trek-detail .td-similar-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.page-trek-detail .td-similar-section .td-kicker {
  font-size: 0.62rem;
  margin-bottom: 0.2rem;
}

.page-trek-detail .td-similar-section .td-section-title {
  margin-bottom: 0.85rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.page-trek-detail .td-similar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

/* Keep desktop 3-up Similar Journeys on tablet + mobile */
@media (max-width: 980px) {
  .page-trek-detail .td-similar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(0.4rem, 1.2vw, 0.65rem);
  }

  .page-trek-detail .td-similar img {
    max-height: clamp(72px, 14vw, 120px);
  }

  .page-trek-detail .td-similar__body {
    padding: 0.45rem 0.5rem 0.55rem;
  }

  .page-trek-detail .td-similar__body h3 {
    font-size: clamp(0.72rem, 2.2vw, 0.95rem);
  }

  .page-trek-detail .td-similar__body span {
    font-size: clamp(0.58rem, 1.6vw, 0.7rem);
  }
}

.page-trek-detail .td-similar a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--td-line);
  border-radius: 0.3rem;
  overflow: hidden;
  background: var(--td-surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-trek-detail .td-similar a:hover {
  border-color: rgba(197, 160, 89, 0.65);
  transform: translateY(-2px);
}

.page-trek-detail .td-similar img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 120px;
  object-fit: cover;
  display: block;
}

.page-trek-detail .td-similar__body {
  padding: 0.55rem 0.7rem 0.7rem;
}

.page-trek-detail .td-similar__body h3 {
  margin: 0 0 0.2rem;
  font-family: var(--td-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
}

.page-trek-detail .td-similar__body span {
  font-size: 0.7rem;
  color: var(--td-gold);
}

/* Floating bar */
.page-trek-detail .td-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  padding-top: 0.65rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  padding-left: 0;
  padding-right: 0;
  background: #12100c;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: none;
  backdrop-filter: none;
}

.page-trek-detail .td-float.is-visible {
  transform: translateY(0);
}

.page-trek-detail .td-float__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-trek-detail .td-float__actions {
  display: flex;
  gap: 0.65rem;
  width: min(480px, 100%);
}

.page-trek-detail .td-float .td-btn {
  min-height: 46px;
  flex: 1;
}

/* Hide legacy HQ when lux active */
.page-trek-detail.td-lux .hq-trek-page,
.page-trek-detail.td-lux .hq-stats-strip,
.page-trek-detail.td-lux .hq-tabs-wrap,
.page-trek-detail.td-lux .trek-map-section,
.page-trek-detail.td-lux .hq-similar-trips,
.page-trek-detail.td-lux .testimonials-section {
  display: none !important;
}

/* Admin “Information Cards” / trip facts */
.page-trek-detail .ch-overview .td-info-cards {
  margin: 0 0 1.5rem;
}

.page-trek-detail .cms-trip-facts h2,
.page-trek-detail .td-info-cards-title {
  font-family: var(--td-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--td-text, #e5e7eb);
  margin: 0 0 1rem;
}

.page-trek-detail .td-info-cards-title em {
  font-style: italic;
  color: var(--td-gold, #c5a059);
}

.page-trek-detail .cms-facts-grid,
.page-trek-detail .td-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.page-trek-detail .cms-fact-card {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: linear-gradient(180deg, rgba(32, 28, 22, 0.72) 0%, rgba(12, 11, 10, 0.55) 100%);
  border-radius: 10px;
}

.page-trek-detail .cms-fact-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--td-gold, #c5a059);
  margin-bottom: 0.4rem;
}

.page-trek-detail .cms-fact-label i {
  font-size: 0.7rem;
  opacity: 0.9;
}

.page-trek-detail .cms-fact-value {
  display: block;
  font-family: var(--td-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

@media (max-width: 640px) {
  .page-trek-detail .cms-facts-grid,
  .page-trek-detail .td-info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Scroll reveal animations ---------- */
.page-trek-detail .td-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--td-d, 0) * 90ms);
  will-change: opacity, transform;
}

.page-trek-detail .td-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.page-trek-detail .td-reveal--hero {
  transform: translateY(18px);
  filter: none;
  transition-duration: 0.85s;
}

.page-trek-detail .td-reveal--hero.is-in {
  transform: translateY(0);
}

.page-trek-detail .td-band.td-reveal.is-in .td-kicker,
.page-trek-detail .td-band.td-reveal.is-in .td-section-title {
  animation: tdKickerIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-trek-detail .td-band.td-reveal.is-in .td-section-title {
  animation-delay: 0.08s;
}

@keyframes tdKickerIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-trek-detail .td-reveal,
  .page-trek-detail .td-reveal--hero,
  .page-trek-detail .td-band.td-reveal.is-in .td-kicker,
  .page-trek-detail .td-band.td-reveal.is-in .td-section-title {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Phone only — tablets keep desktop composition */
@media (max-width: 767px) {
  body.page-trek-detail,
  body.page-everest-base-camp.page-trek-detail {
    --page-gutter: 1.25rem;
  }

  .page-trek-detail .td-hero__inner,
  .page-trek-detail .td-plan__inner,
  .page-trek-detail .td-overview,
  .page-trek-detail .td-split-route,
  .page-trek-detail .td-split,
  .page-trek-detail .td-faq-grid {
    grid-template-columns: 1fr;
  }

  .page-trek-detail .td-hero {
    min-height: auto;
  }

  .page-trek-detail .td-hero__inner {
    padding-top: calc(var(--nav-bar-height, 76px) + 0.85rem + env(safe-area-inset-top, 0px));
  }

  .page-trek-detail .td-accordion {
    max-height: none;
  }
}

@media (max-width: 600px) {
  body.page-trek-detail,
  body.page-everest-base-camp.page-trek-detail {
    --page-gutter: 1rem;
  }

  .page-trek-detail .td-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .page-trek-detail .td-acc__trigger {
    grid-template-columns: auto 1fr;
  }

  .page-trek-detail .td-acc__chevron {
    grid-column: 2;
    justify-self: end;
  }

  .page-trek-detail .td-float__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}

/* ========== FOOTER — match home, kill legacy style.css overrides ========== */
.page-trek-detail .footer {
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(46, 92, 158, 0.12), transparent 55%),
    linear-gradient(180deg, #081426 0%, #050d18 100%) !important;
  border-top: 1px solid rgba(90, 140, 200, 0.22);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.15rem, 2.5vw, 1.75rem) !important;
  width: 100%;
  overflow-x: hidden;
  color: #e5e7eb;
}

.page-trek-detail .footer .container {
  max-width: var(--page-content-max) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left)) !important;
  padding-right: max(var(--page-gutter), env(safe-area-inset-right)) !important;
  box-sizing: border-box !important;
}

.page-trek-detail .footer-content {
  display: grid !important;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.5vw, 1.6rem) !important;
  align-items: start;
  margin-bottom: clamp(1rem, 2vw, 1.4rem) !important;
}

.page-trek-detail .footer-content .footer-section {
  text-align: left;
  min-width: 0;
  padding: 0 !important;
}

.page-trek-detail .footer-content .footer-section:first-child {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-left: 0 !important;
  padding-right: clamp(0.5rem, 1.5vw, 1.25rem) !important;
}

.page-trek-detail .footer-content .footer-section:first-child .social-links {
  margin-top: 0.65rem;
  padding-top: 0;
}

.page-trek-detail .footer-section p,
.page-trek-detail .footer-section a,
.page-trek-detail .footer-section ul li a {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  text-decoration: none;
}

.page-trek-detail .footer-section p {
  margin-bottom: 0.65rem !important;
  max-width: 22rem;
}

.page-trek-detail .footer-section ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.page-trek-detail .footer-section ul li {
  margin-bottom: 0.35rem !important;
}

.page-trek-detail .footer-brand.footer-brand-logo {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none;
  margin: 0 0 0.55rem !important;
  line-height: 0;
  gap: 0;
}

.page-trek-detail .footer-brand.footer-brand-logo .nav-logo-img,
.page-trek-detail .footer .footer-logo-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: clamp(34px, 3.6vw, 42px) !important;
  width: auto !important;
  max-width: min(190px, 52vw) !important;
  object-fit: contain !important;
  object-position: left center;
  margin: 0 !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.page-trek-detail .footer-section h4 {
  font-family: var(--td-sans) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--td-gold) !important;
  margin: 0 0 0.65rem !important;
}

.page-trek-detail .footer-section a:hover {
  color: var(--td-gold) !important;
}

.page-trek-detail .footer-section-contact .footer-contact-row {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.55rem !important;
  min-width: 0;
}

.page-trek-detail .footer-section-contact .footer-contact-row:last-child {
  margin-bottom: 0 !important;
}

.page-trek-detail .footer-section-contact p:has(> i:first-child) {
  display: flex !important;
  margin-bottom: 0.55rem !important;
}

.page-trek-detail .footer-contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.55);
  background: rgba(197, 160, 89, 0.1);
  color: var(--td-gold);
}

.page-trek-detail .footer-contact-icon i {
  font-size: 0.62rem;
  line-height: 1;
  color: var(--td-gold) !important;
  width: auto;
  margin: 0;
}

.page-trek-detail .footer-section-contact .footer-contact-row > span:last-child,
.page-trek-detail .footer-section-contact .footer-contact-row > a {
  min-width: 0;
  padding-top: 0.22rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-trek-detail .footer .social-links {
  display: flex !important;
  flex-wrap: wrap;
  margin-top: 0.65rem !important;
  gap: 0.5rem;
}

.page-trek-detail .footer .social-links a {
  min-width: 32px !important;
  min-height: 32px !important;
  width: 32px;
  height: 32px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: transparent;
  font-size: 0.85rem;
  padding: 0 !important;
  text-decoration: none;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.page-trek-detail .footer .social-links a:has(.fa-facebook) {
  color: #fff !important;
  background: #1877f2;
  border-color: rgba(24, 119, 242, 0.55);
}

.page-trek-detail .footer .social-links a:has(.fa-facebook):hover {
  background: #0c63d4;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.38);
}

.page-trek-detail .footer .social-links a:has(.fa-instagram) {
  color: #fff !important;
  background: linear-gradient(
    40deg,
    #f09433 0%,
    #e6683c 22%,
    #dc2743 45%,
    #cc2366 68%,
    #bc1888 100%
  );
  border-color: rgba(255, 255, 255, 0.15);
}

.page-trek-detail .footer .social-links a:has(.fa-instagram):hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(204, 35, 102, 0.4);
  filter: brightness(1.1) saturate(1.08);
}

.page-trek-detail .footer .social-links a[href*="wa.me"] {
  background: #25d366;
  border-color: rgba(37, 211, 102, 0.55);
  color: #fff !important;
}

.page-trek-detail .footer .social-links a[href*="wa.me"]:hover {
  background: #1ebe57;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.page-trek-detail .footer-section a.footer-contact-link {
  color: rgba(255, 255, 255, 0.96) !important;
  text-underline-offset: 0.15em;
}

.page-trek-detail .footer-section a.footer-contact-link:hover {
  color: var(--td-gold) !important;
  text-decoration: underline;
}

.page-trek-detail .footer-bottom {
  margin-top: 0 !important;
  padding-top: clamp(0.85rem, 1.8vw, 1.15rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-top: 1px solid rgba(90, 140, 200, 0.22);

.page-trek-detail .footer-bottom p {
  font-family: var(--td-sans) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  color: var(--td-gold) !important;
  margin: 0 !important;
  text-align: center;
}

/* Tablet+: same 4-column footer as home */
@media (min-width: 601px) {
  .page-trek-detail .footer-content {
    display: grid !important;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(1rem, 2.5vw, 1.6rem) !important;
    align-items: start;
  }

  .page-trek-detail .footer-content .footer-section:first-child {
    grid-column: auto;
    padding-right: clamp(0.75rem, 1.5vw, 1.5rem) !important;
  }
}

/* Mobile: same 2×2 footer as home */
@media (max-width: 600px) {
  .page-trek-detail .footer {
    padding-top: 1.75rem !important;
    padding-bottom: max(1.1rem, env(safe-area-inset-bottom)) !important;
  }

  .page-trek-detail .footer .container {
    padding-left: max(var(--page-gutter, 1.25rem), env(safe-area-inset-left)) !important;
    padding-right: max(var(--page-gutter, 1.25rem), env(safe-area-inset-right)) !important;
  }

  .page-trek-detail .footer-content {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.15rem 0.85rem !important;
    margin-bottom: 1.1rem !important;
    align-items: start;
  }

  .page-trek-detail .footer-content .footer-section {
    padding: 0 !important;
    border-bottom: none !important;
    min-width: 0;
    text-align: left;
  }

  .page-trek-detail .footer-content .footer-section:first-child {
    grid-column: auto;
    padding-right: 0 !important;
  }

  .page-trek-detail .footer-brand.footer-brand-logo .nav-logo-img,
  .page-trek-detail .footer .footer-logo-img {
    height: 32px !important;
    max-width: min(148px, 40vw) !important;
  }

  .page-trek-detail .footer-section h4 {
    font-size: 0.82rem !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.08em !important;
  }

  .page-trek-detail .footer-section p,
  .page-trek-detail .footer-section a,
  .page-trek-detail .footer-section ul li a {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .page-trek-detail .footer-section p {
    max-width: none;
    margin-bottom: 0.4rem !important;
  }

  .page-trek-detail .footer-section ul li {
    margin: 0 0 0.15rem !important;
    line-height: 1.3;
  }

  .page-trek-detail .footer-section ul li a {
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    display: inline !important;
  }

  .page-trek-detail .footer-content .footer-section:first-child .social-links {
    margin-top: 0.45rem;
    gap: 0.45rem;
  }
}

.page-trek-detail .td-pack-grid {
  margin-top: 0.25rem;
}

.page-trek-detail.td-lux .td-page .ch-section {
  padding: clamp(1.35rem, 2.6vw, 2.15rem) 0;
}

.page-trek-detail .td-fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}

.page-trek-detail .td-fact-chip {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 7.5rem;
  padding: 0.55rem 0.75rem 0.6rem;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: rgba(12, 16, 26, 0.55);
  border-radius: 8px;
}

.page-trek-detail .td-fact-chip span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--td-accent, var(--td-gold, #c5a059));
}

.page-trek-detail .td-fact-chip strong {
  font-family: var(--td-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f3eee6;
  line-height: 1.25;
}

.page-trek-detail .td-pack-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.6rem, 3.2vw, 2.4rem);
}

.page-trek-detail .td-pack-section.td-tone {
  border: none;
  margin: 0;
}

.page-trek-detail .td-pack-section .ch-container {
  border: none;
  background: transparent;
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.page-trek-detail .td-pack-section .ch-kicker,
.page-trek-detail .td-pack-section .ch-section-title em {
  color: var(--td-accent, #c5a059) !important;
}

.page-trek-detail .td-pack-section .ch-section-title {
  color: #f3eee6 !important;
}

.page-trek-detail .td-pack-section .ch-kicker {
  letter-spacing: 0.16em;
  font-weight: 700;
}

.page-trek-detail .td-pack-section .ch-section-lead {
  color: rgba(243, 238, 230, 0.82) !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-trek-detail .td-pack-section .ch-section-head,
.page-trek-detail .td-pack-switch,
.page-trek-detail .td-pack-tabs,
.page-trek-detail .td-pack-sheet {
  position: relative;
  z-index: 2;
}

.page-trek-detail .td-pack-switch,
.page-trek-detail .td-pack-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
  margin: 0 0 1.15rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--td-accent-line, rgba(197, 160, 89, 0.38));
  background: rgba(16, 24, 36, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-trek-detail .td-pack-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(243, 238, 230, 0.78);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.72rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-trek-detail .td-pack-tab i {
  font-size: 0.72rem;
  opacity: 0.9;
}

.page-trek-detail .td-pack-tab span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-trek-detail .td-pack-tab em,
.page-trek-detail .td-pack-tab .td-pack-count {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 1.35rem;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: rgba(243, 238, 230, 0.1);
  color: inherit;
}

.page-trek-detail .td-pack-tab.is-active {
  background: var(--td-accent, #c5a059);
  color: #12100e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-trek-detail .td-pack-tab.is-active em,
.page-trek-detail .td-pack-tab.is-active .td-pack-count {
  background: rgba(18, 16, 14, 0.22);
  color: #12100e;
}

.page-trek-detail .td-pack-sheet {
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.72) 0%, rgba(8, 12, 20, 0.55) 100%);
  border: 1px solid var(--td-accent-line, rgba(197, 160, 89, 0.38));
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.page-trek-detail .td-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.6rem;
  margin-top: 0;
}

.page-trek-detail .td-pack-group {
  min-width: 0;
  width: auto;
  overflow: visible;
}

.page-trek-detail .td-pack-group h3 {
  margin: 0 0 0.45rem;
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--td-accent, #c5a059);
}

.page-trek-detail .td-pack-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-trek-detail .td-pack-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(243, 238, 230, 0.1);
  color: rgba(243, 238, 230, 0.88) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

.page-trek-detail .td-pack-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-trek-detail .td-pack-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: var(--td-accent-soft, rgba(197, 160, 89, 0.14));
  color: var(--td-accent, #c5a059);
  font-size: 0.62rem;
}

@media (max-width: 1024px) {
  .page-trek-detail .td-pack-grid {
    grid-template-columns: 1fr;
  }

  .page-trek-detail .td-pack-tab {
    font-size: 0.78rem;
    padding: 0.62rem 0.4rem;
    gap: 0.28rem;
  }
}

@media (max-width: 640px) {
  .page-trek-detail .td-pack-tab em,
  .page-trek-detail .td-pack-tab .td-pack-count {
    display: none;
  }

  .page-trek-detail .td-pack-tab {
    font-size: 0.74rem;
    padding: 0.58rem 0.35rem;
  }

  .page-trek-detail .td-pack-sheet {
    padding: 0.95rem 0.9rem 1.05rem;
    border-radius: 16px;
  }
}

.page-trek-detail .td-pack-panel[hidden] {
  display: none !important;
}

.page-trek-detail .td-ch-days {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.page-trek-detail .td-ch-faq .td-acc.is-open {
  grid-column: 1 / -1;
}

.page-trek-detail .td-ch-faq .td-acc__trigger {
  padding: 0.8rem 0.95rem;
}

@media (max-width: 980px) {
  .page-trek-detail .td-ch-days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-trek-detail .td-fact-chip {
    min-width: calc(50% - 0.3rem);
    flex: 1 1 calc(50% - 0.3rem);
  }
}

/* Distinct accent per section */
.page-trek-detail .td-tone {
  --td-accent: #c5a059;
  --td-accent-soft: rgba(197, 160, 89, 0.14);
  --td-accent-line: rgba(197, 160, 89, 0.38);
}

.page-trek-detail .td-tone-overview {
  --td-accent: #d4b37d;
  --td-accent-soft: rgba(212, 179, 125, 0.12);
  --td-accent-line: rgba(212, 179, 125, 0.32);
}

.page-trek-detail .td-tone-info {
  --td-accent: #7eb6d9;
  --td-accent-soft: rgba(126, 182, 217, 0.14);
  --td-accent-line: rgba(126, 182, 217, 0.4);
}

.page-trek-detail .td-tone-gallery {
  --td-accent: #e08a6a;
  --td-accent-soft: rgba(224, 138, 106, 0.14);
  --td-accent-line: rgba(224, 138, 106, 0.38);
}

.page-trek-detail .td-tone-itinerary {
  --td-accent: #c5a059;
  --td-accent-soft: rgba(197, 160, 89, 0.12);
  --td-accent-line: rgba(197, 160, 89, 0.36);
}

.page-trek-detail .td-tone-included {
  --td-accent: #6fbf8a;
  --td-accent-soft: rgba(111, 191, 138, 0.14);
  --td-accent-line: rgba(111, 191, 138, 0.42);
}

.page-trek-detail .td-tone-excluded {
  --td-accent: #e07a7a;
  --td-accent-soft: rgba(224, 122, 122, 0.14);
  --td-accent-line: rgba(224, 122, 122, 0.42);
}

.page-trek-detail .td-tone-gear {
  --td-accent: #c4a0e0;
  --td-accent-soft: rgba(196, 160, 224, 0.14);
  --td-accent-line: rgba(196, 160, 224, 0.4);
}

.page-trek-detail .td-tone-map {
  --td-accent: #6aa8c9;
  --td-accent-soft: rgba(106, 168, 201, 0.14);
  --td-accent-line: rgba(106, 168, 201, 0.4);
}

.page-trek-detail .td-tone-faq {
  --td-accent: #8eb8dc;
  --td-accent-soft: rgba(142, 184, 220, 0.16);
  --td-accent-line: rgba(142, 184, 220, 0.42);
}

.page-trek-detail .td-tone .td-fact-chip span,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-kicker,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-section-title em,
.page-trek-detail .td-tone .ch-tour-time,
.page-trek-detail .td-tone .td-day-card-cta,
.page-trek-detail .td-tone .td-day-detail-back,
.page-trek-detail .td-tone .cms-fact-label,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-info-card h3,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-info-card h3 i {
  color: var(--td-accent);
}

.page-trek-detail .td-pack-block.td-tone {
  padding: 1.15rem 1.25rem 1.25rem;
}

.page-trek-detail .td-tone-info .cms-fact-card,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-info-card,
.page-trek-detail .td-tone-itinerary .ch-tour-card,
.page-trek-detail .td-tone-itinerary .td-day-detail {
  border-color: var(--td-accent-line);
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%);
}

.page-trek-detail .td-tone-itinerary .td-day-card:hover,
.page-trek-detail .td-tone-itinerary .td-day-card:focus-visible {
  border-color: var(--td-accent);
}

.page-trek-detail .td-tone-itinerary .td-day-card h3,
.page-trek-detail .td-tone-itinerary .td-day-detail h3,
.page-trek-detail .td-tone-itinerary .td-day-detail-body,
.page-trek-detail .td-tone-itinerary .td-day-detail-fact,
.page-trek-detail .td-tone:not(.td-pack-section) .ch-info-card li,
.page-trek-detail .td-tone .cms-fact-value {
  color: #f3eee6;
}

.page-trek-detail .td-tone:not(.td-pack-section) .ch-info-card li,
.page-trek-detail .td-tone-itinerary .td-day-detail-body {
  color: rgba(243, 238, 230, 0.84);
}

.page-trek-detail .td-tone-faq .td-acc {
  border-color: rgba(142, 184, 220, 0.38);
  background: linear-gradient(180deg, rgba(16, 32, 56, 0.78) 0%, rgba(8, 18, 36, 0.62) 100%);
}

.page-trek-detail .td-tone-faq .td-acc.is-open {
  background: linear-gradient(180deg, rgba(22, 42, 72, 0.88) 0%, rgba(10, 22, 44, 0.72) 100%);
  border-color: rgba(197, 160, 89, 0.45);
}

.page-trek-detail .td-tone-faq .td-acc__trigger,
.page-trek-detail .td-tone-faq .td-acc.is-open .td-acc__trigger {
  color: #f3eee6;
}

.page-trek-detail .td-tone-faq .td-acc__title {
  color: #f3eee6 !important;
  font-style: normal !important;
  font-family: "Outfit", "DM Sans", sans-serif !important;
  font-size: 1rem;
  font-weight: 600;
}

.page-trek-detail .td-tone-faq .td-acc__chevron {
  color: #c5a059;
  border-color: #c5a059;
}

.page-trek-detail .td-ch-faq-section .td-acc__panel,
.page-trek-detail .td-tone-faq .td-faq-body,
.page-trek-detail .td-tone-faq .td-acc__panel {
  color: rgba(243, 238, 230, 0.86);
}

.page-trek-detail .td-ch-faq .td-acc__panel p,
.page-trek-detail .td-tone-faq .td-faq-body,
.page-trek-detail .td-tone-faq .td-faq-body p,
.page-trek-detail .td-tone-faq .td-acc__panel p,
.page-trek-detail .td-tone-faq .td-acc__panel li,
.page-trek-detail .td-tone-faq .td-acc__panel td {
  color: rgba(243, 238, 230, 0.86) !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-trek-detail .td-tone-faq .td-acc__panel th {
  color: #c5a059 !important;
  background: rgba(197, 160, 89, 0.1);
}

.page-trek-detail .td-tone-faq .td-acc__panel td,
.page-trek-detail .td-tone-faq .td-acc__panel th {
  border-color: rgba(142, 184, 220, 0.22);
}

.page-trek-detail .td-tone-faq .td-acc__panel a {
  color: #c5a059;
}

.page-trek-detail .td-tone-map .td-ch-map-frame {
  border-color: var(--td-accent-line);
}

.page-trek-detail .td-tone-gallery .ch-polaroid-caption {
  color: var(--td-accent);
}

.page-trek-detail .td-faq-body,
.page-trek-detail .exp-faq-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(243, 238, 230, 0.86);
}

.page-trek-detail .td-faq-body p,
.page-trek-detail .exp-faq-body p {
  margin: 0 0 0.85rem;
}

.page-trek-detail .td-faq-body ul,
.page-trek-detail .exp-faq-body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.page-trek-detail .td-faq-body table,
.page-trek-detail .exp-faq-body table,
.page-trek-detail .hq-detailed-day table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.88rem;
}

.page-trek-detail .td-faq-body th,
.page-trek-detail .td-faq-body td,
.page-trek-detail .exp-faq-body th,
.page-trek-detail .exp-faq-body td,
.page-trek-detail .hq-detailed-day th,
.page-trek-detail .hq-detailed-day td {
  border: 1px solid rgba(197, 160, 89, 0.28);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.page-trek-detail .td-faq-body th,
.page-trek-detail .exp-faq-body th,
.page-trek-detail .hq-detailed-day th {
  color: var(--td-gold, #c5a059);
  font-weight: 600;
  background: rgba(197, 160, 89, 0.08);
}

/* Gold line illustrations + classic navy-blue gradient */
.page-trek-detail.td-lux .td-tone-overview,
.page-trek-detail.td-lux .td-tone-itinerary,
.page-trek-detail.td-lux .td-pack-section,
.page-trek-detail.td-lux .td-cta-illust,
.page-trek-detail.td-lux .td-tone-gallery,
.page-trek-detail.td-lux .td-tone-map,
.page-trek-detail.td-lux .td-tone-faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #0b1730;
  background-image: none;
}

.page-trek-detail.td-lux .td-tone-overview::after,
.page-trek-detail.td-lux .td-tone-itinerary::after,
.page-trek-detail.td-lux .td-pack-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}

.page-trek-detail.td-lux .td-tone-overview::after {
  background-image:
    linear-gradient(
      165deg,
      rgba(7, 20, 44, 0.58) 0%,
      rgba(22, 56, 102, 0.28) 46%,
      rgba(8, 22, 48, 0.66) 100%
    ),
    radial-gradient(ellipse 75% 55% at 92% 0%, rgba(78, 138, 210, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 40% at 6% 100%, rgba(197, 160, 89, 0.1), transparent 52%),
    url("images/section%20landing.png");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center center;
}

.page-trek-detail.td-lux .td-tone-itinerary::after {
  background-image:
    linear-gradient(
      165deg,
      rgba(7, 20, 44, 0.55) 0%,
      rgba(22, 56, 102, 0.26) 48%,
      rgba(8, 22, 48, 0.64) 100%
    ),
    radial-gradient(ellipse 70% 55% at 8% 100%, rgba(78, 138, 210, 0.22), transparent 58%),
    url("images/Featured.png");
  background-size: auto, auto, cover;
  background-position: center, center, center center;
}

.page-trek-detail.td-lux .td-pack-section::after {
  background-image:
    linear-gradient(
      165deg,
      rgba(7, 20, 44, 0.6) 0%,
      rgba(24, 62, 112, 0.32) 44%,
      rgba(8, 22, 48, 0.7) 100%
    ),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(90, 150, 220, 0.3), transparent 56%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(197, 160, 89, 0.1), transparent 52%),
    url("images/Adventure.png");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center center;
}

.page-trek-detail.td-lux .td-tone-gallery::before,
.page-trek-detail.td-lux .td-tone-map::before,
.page-trek-detail.td-lux .td-tone-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      165deg,
      rgba(7, 20, 44, 0.42) 0%,
      rgba(22, 56, 102, 0.18) 48%,
      rgba(8, 22, 48, 0.5) 100%
    ),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(78, 138, 210, 0.16), transparent 60%);
}

.page-trek-detail.td-lux .td-tone-overview > .ch-container,
.page-trek-detail.td-lux .td-tone-itinerary > .ch-container,
.page-trek-detail.td-lux .td-pack-section > .ch-container,
.page-trek-detail.td-lux .td-tone-gallery > .ch-container,
.page-trek-detail.td-lux .td-tone-map > .ch-container,
.page-trek-detail.td-lux .td-tone-faq > .ch-container {
  position: relative;
  z-index: 1;
}

.page-trek-detail.td-lux #package > .ch-container {
  z-index: 2;
}

.page-trek-detail.td-lux #package > .ch-container {
  z-index: 2;
}

.page-trek-detail.td-lux .td-cta-illust {
  background-color: #0b1730;
}

.page-trek-detail.td-lux .td-cta-illust .ch-cta-bg.td-ch-cta-photo {
  background-image: url("images/Adventure.png");
  background-size: cover;
  background-position: center center;
  filter: none;
  transform: scale(1.02);
}

.page-trek-detail.td-lux .td-cta-illust.ch-cta::after {
  background:
    linear-gradient(
      165deg,
      rgba(7, 20, 44, 0.52) 0%,
      rgba(22, 56, 102, 0.22) 48%,
      rgba(8, 22, 48, 0.62) 100%
    ),
    radial-gradient(ellipse 55% 60% at 80% 40%, rgba(90, 150, 220, 0.22), transparent 60%);
}

@media (max-width: 768px) {
  .page-trek-detail.td-lux .td-tone-overview::after {
    background-image:
      linear-gradient(
        165deg,
        rgba(7, 20, 44, 0.55) 0%,
        rgba(22, 56, 102, 0.26) 50%,
        rgba(8, 22, 48, 0.66) 100%
      ),
      radial-gradient(ellipse 75% 55% at 92% 0%, rgba(78, 138, 210, 0.22), transparent 58%),
      url("images/section-landing-mobile.png");
    background-size: auto, auto, cover;
    background-position: center, center, center bottom;
  }

  .page-trek-detail.td-lux .td-tone-itinerary::after {
    background-position: center, center, center bottom;
  }

  .page-trek-detail.td-lux .td-pack-section::after {
    background-position: center, center, center, center bottom;
  }

  .page-trek-detail.td-lux .td-cta-illust .ch-cta-bg.td-ch-cta-photo {
    background-position: center bottom;
  }
}

/* What's Covered — last so injected heritage CSS cannot strip the switcher */
.page-trek-detail #package .td-pack-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  font: inherit;
}

.page-trek-detail #package .td-pack-switch,
.page-trek-detail #package .td-pack-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.page-trek-detail #package .td-pack-sheet {
  display: block !important;
}

.page-trek-detail #package .td-pack-grid {
  display: grid !important;
}

.page-trek-detail #package .td-pack-list {
  list-style: none !important;
}
