/* ==================================================================
   SHARED TRIP PAGE STYLES
   Every page with body class page-trip loads this, snow or not. The name
   is historical. Hand-written: there is no build step, so edit this file
   directly, and scope every rule under .page-trip.
===================================================================== */

.page-trip {
  background: var(--navy);
  color: var(--white);
}

/* Base element styles for trip pages. Wrapped in :where() so they carry an
   element's specificity and nothing more: any component class beats them.
   There is deliberately no margin/padding reset here; style.css already
   resets every element on the site, at the lowest possible specificity. */
:where(.page-trip main) :is(h1, h2, h3) {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

:where(.page-trip main) img {
  max-width: 100%;
  display: block;
}

:where(.page-trip main) a {
  color: inherit;
}

.page-trip .btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-trip .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 166, 141, 0.35);
}

.page-trip .btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.page-trip .btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

.page-trip .placeholder {
  height: var(--h, 220px);
  width: 100%;
  box-sizing: border-box;
  border: 2px dashed var(--sand);
  border-radius: 6px;
  background-color: rgba(212, 197, 176, 0.04);
  background-image:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(212,197,176,0.6) calc(50% - 1px), rgba(212,197,176,0.6) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to top left,  transparent calc(50% - 1px), rgba(212,197,176,0.6) calc(50% - 1px), rgba(212,197,176,0.6) calc(50% + 1px), transparent calc(50% + 1px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
}

.page-trip .placeholder span {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sand);
  background: var(--navy);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  max-width: 280px;
  line-height: 1.45;
}

.page-trip .hero {
  position: relative;
  height: 45vh;
  overflow: hidden;
}

.page-trip .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vertical spacing only. The .container inside gives the column. */
.page-trip .hero-title {
  text-align: center;
  padding: 2rem 0 0;
}

.page-trip .hero-cta {
  text-align: center;
  padding: 2.5rem 0;
}

/* A band: vertical rhythm only. Width comes from the .container inside,
   the same column as every other page. */
.page-trip .section {
  padding: 2.5rem 0;
}

/* Anchor targets clear the sticky navbar, as .join-section already does. */
.page-trip .section[id] {
  scroll-margin-top: 80px;
}

.page-trip .section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.page-trip .section-center {
  text-align: center;
}

.page-trip .section-subline {
  text-align: center;
  color: var(--sand);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ── Spacing and measure ──────────────────────────────────────────────
   Two shared values keep every trip page aligned and evenly spaced:

     --measure  one reading width for copy, notes, maps and boxes, so
                their left and right edges line up down the page
     --flow     the gap between one element and the next inside a block
                of content

   The flow rule is wrapped in :where(), so it has no specificity at all.
   A component that needs a different gap sets its own margin-top and
   wins without a fight. Never space things with margin-bottom on the
   element above: that is how gaps went missing between neighbours that
   had never met before. */
.page-trip {
  --measure: 640px;
  --flow: 1rem;
}

:where(.page-trip) :where(.container, .tab-panel, .price-panel, .boat-details, .day-copy, .secondary-ticket) > * + * {
  margin-top: var(--flow);
}

/* A heading after other content starts a new group, so it gets more room. */
:where(.page-trip) :where(.container, .tab-panel, .price-panel, .boat-details) > * + :where(h2, h3) {
  margin-top: calc(var(--flow) * 2);
}

.page-trip .copy {
  max-width: var(--measure);
  margin-inline: auto;
  color: rgba(255,255,255,0.85);
}

/* A price panel, and everything under a boat's photos, centre as one unit:
   headline figures, their labels and the copy between them. Boxes and
   lists inside (the timeline, What's Included) keep their own alignment. */
.page-trip .price-panel,
.page-trip .boat-details {
  text-align: center;
}

.page-trip .section-divider {
  width: 60%;
  max-width: var(--measure);
  height: 1px;
  margin: 0 auto;
  background: rgba(212, 197, 176, 0.2);
}

.page-trip .join-section {
  background: var(--sand);
  color: var(--navy);
  padding: 2.5rem 0 5rem;
  text-align: center;
  scroll-margin-top: 80px;
}

.page-trip .join-section h2 {
  color: var(--navy);
  font-size: 2rem;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.page-trip .join-section p.copy {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: rgba(15, 26, 36, 0.8);
}

.page-trip .join-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.page-trip .countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
}

.page-trip .countdown-box {
  background: var(--navy);
  border-radius: 6px;
  padding: 0.9rem 0.75rem;
  min-width: 68px;
  text-align: center;
}

.page-trip .countdown-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--teal);
  line-height: 1;
}

.page-trip .countdown-label {
  display: block;
  margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sand);
}

.page-trip .hero-title h1 {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  color: var(--white);
}

.page-trip .hero-title h1 .flag {
  font-size: 0.6em;
  margin-left: 0.15em;
}

.page-trip .hero-title-sub {
  margin: 1rem auto 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--sand);
  max-width: 340px;
}

.page-trip .highlights {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.page-trip .highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
}

.page-trip .highlights-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.65rem 1.5rem 0.65rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
}

.page-trip .highlights-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.page-trip .highlights-list li:nth-child(3n) {
  padding-right: 2.75rem;
}

.page-trip .highlights-list li:nth-child(4n) {
  padding-right: 1.25rem;
}

.page-trip .highlights-list li:nth-child(5n) {
  padding-right: 3.5rem;
}

.page-trip .highlights-video {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-trip .highlights-video-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--sand);
  text-align: center;
  max-width: 300px;
  margin-bottom: 0.75rem;
}

.page-trip .highlights-video-player {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.page-trip .sleep-badge {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--sand);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.page-trip .included-solo .included-heading {
  font-size: 1.3rem;
}

.page-trip .included-solo .included-list {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  gap: 0.85rem;
}

.page-trip .included-solo .included-list li::before {
  font-size: 1.1rem;
}

.page-trip .tab-pills::-webkit-scrollbar {
  display: none;
}

.page-trip .tab-pill {
  flex: 0 0 auto;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--sand);
  background: transparent;
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-trip .tab-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.page-trip .tab-pill:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.page-trip .tab-panel[hidden] {
  display: none;
}

.page-trip .tab-panel h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.page-trip .amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.page-trip .amenities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--sand);
}

/* TikTok slides: most of a phone screen, never wider than the embed. */
.page-trip .tiktok-strip .tiktok-embed-wrap {
  width: 85%;
  max-width: 325px;
}

.page-trip .tiktok-embed-wrap blockquote.tiktok-embed {
  margin: 0 auto;
}

.page-trip .price-amount--deposit {
  color: var(--teal);
}

.page-trip .price-per {
  text-align: center;
  color: var(--sand);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.page-trip #details-panel-price .copy {
  margin-top: 1rem;
}

.page-trip .timeline {
  list-style: none;
  max-width: 360px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.page-trip .timeline li {
  position: relative;
  padding-left: 1.75rem;
  padding-bottom: 1.5rem;
  border-left: 2px solid rgba(212, 197, 176, 0.25);
}

.page-trip .timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.page-trip .timeline-dot {
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
}

.page-trip .timeline-step {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.page-trip .timeline-date {
  display: block;
  color: var(--sand);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.page-trip .included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-trip .included-heading {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.page-trip .included-heading--yes {
  color: var(--teal);
}

.page-trip .included-heading--no {
  color: var(--sand);
}

.page-trip .included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.page-trip .included-list li {
  position: relative;
  padding-left: 1.4rem;
}

.page-trip .included-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.page-trip .included-list--no li::before {
  content: '✕';
  color: rgba(212, 197, 176, 0.6);
}

.page-trip .addons-detail-list {
  list-style: none;
  max-width: var(--measure);
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.page-trip .addons-detail-list li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 197, 176, 0.15);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.page-trip .addons-detail-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-trip .addons-detail-list strong {
  font-family: 'Inter', sans-serif;
  color: var(--white);
}

.page-trip .addons-note {
  margin-top: 1.25rem;
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--sand);
  text-align: center;
}

.page-trip .join-crosslink a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.page-trip .faq-list {
  max-width: var(--measure);
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.page-trip .faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212, 197, 176, 0.15);
  border-radius: 8px;
  padding: 0 1.25rem;
}

.page-trip .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}

.page-trip .faq-question::-webkit-details-marker {
  display: none;
}

.page-trip .faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.page-trip .faq-icon::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  border-radius: 1px;
  transform: rotate(45deg);
}

.page-trip .faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.page-trip .faq-answer {
  padding: 0 0 1.1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.page-trip .faq-answer a {
  color: var(--teal);
  text-decoration: underline;
}

/* ==================================================================
   TRIP TEMPLATE COMPONENTS
   Everything includes/trip-template.php can render. These used to be
   copy-pasted into each trip stylesheet and had drifted apart. See
   docs/trip-fields.md. One canonical value each now lives here, so a
   new trip page needs no stylesheet of its own.
   Order matters: base classes first, modifiers after.
===================================================================== */

/* image hero */
.page-trip .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* base photo, must come before its modifiers */
.page-trip .panel-photo {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 2rem;
}

/* A photo under the pitch. Shown whole at its own aspect ratio, because a
   tall drone shot cropped to a letterbox loses the sky that makes it. */
.page-trip .pitch-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-top: 2rem;
}

/* modifier: contain, so a map is never cropped */
.page-trip .map-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  margin-top: 2rem;
}

/* photo pair */
.page-trip .sleep-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* photo pair wrapper */
.page-trip .grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Photo and TikTok strips are the shared strip slider (SLIDERS in
   style.css). Only their spacing and slide sizes live here. */
.page-trip .photo-strip,
.page-trip .tiktok-strip {
  margin-top: 2rem;
}

.page-trip .photo-strip-video {
  height: 320px;
  width: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* keeps the gap above the copy beneath */
.page-trip .sleep-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* larger bottom margin is safe for both */
.page-trip .included-solo {
  max-width: var(--measure);
  margin: 1.5rem auto 1.5rem;
  background: rgba(17, 166, 141, 0.06);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.page-trip .tab-panels {
  margin-top: 2rem;
}

/* includes the fade mask, now standard */
.page-trip .tab-pills {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0 0.5rem;
  margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
}

/* The smaller clamp is the canonical size: it is what most price panels
   already use, and it keeps a lone price from dominating on a phone. */
.page-trip .price-amount {
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  text-align: center;
  line-height: 1;
}

.page-trip .price-amount--full {
  color: var(--white);
  margin-top: 1.75rem;
}

.page-trip .price-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 500px;
  margin: 1.75rem auto 0;
}

.page-trip .payment-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 0.5rem;
}

.page-trip .secondary-ticket {
  margin-top: 2.5rem;
  max-width: var(--measure);
  margin-inline: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 197, 176, 0.2);
}

.page-trip .secondary-ticket-name {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sand);
}

.page-trip .secondary-ticket-amount {
  text-align: center;
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: 1;
  color: var(--white);
  margin-top: 0.5rem;
}

.page-trip .price-secondary-note {
  margin-top: 0.4rem;
  max-width: var(--measure);
  margin-inline: auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--sand);
}

/* constrains line length */
.page-trip .join-crosslink {
  margin-top: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(15, 26, 36, 0.75);
}

/* beyond section */
.page-trip .subsection-heading {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.page-trip .beyond-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.page-trip .beyond-video {
  margin-top: 1.5rem;
}

.page-trip .photo-strip img {
  height: 220px;
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.page-trip .price-panel > .secondary-ticket-name {
  margin-top: 1.5rem;
}

/* Prices sitting side by side carry their own spacing. */
.page-trip .price-compare .price-amount--full {
  margin-top: 0;
}

@media (min-width: 768px) {
  /* Default hero height for a still image. A video hero overrides it. */
  .page-trip .hero {
    height: 60vh;
  }

  .page-trip .section {
      padding: 3.75rem 0;
    
  }
  .page-trip .section h2 {
      font-size: 2.75rem;
    
  }
  .page-trip .hero-title {
      padding: 2.5rem 0 0;
    
  }
  .page-trip .hero-title-sub {
      max-width: 480px;
      font-size: 1.15rem;
    
  }
  .page-trip .grid-2 {
      grid-template-columns: 1fr 1fr;
      gap: 1.75rem;
    
  }
  .page-trip .highlights {
      flex-direction: row;
      align-items: flex-start;
      gap: 2.5rem;
    
  }
  .page-trip .highlights-list {
      flex: 1;
    
  }
  .page-trip .highlights-video {
      flex: 0 0 300px;
    
  }
  /* `safe`: when the pills do not fit, start them at the left edge where
     they can all be scrolled to. Plain `center` pushed the first pill off
     the left side, out of reach (Japan's eight tabs at 768px). */
  .page-trip .tab-pills {
      justify-content: safe center;
    
  }
  /* From 768px the strip is a centred wrapping grid (see .slider--strip in
     style.css). A row that is not full centres rather than hanging left.
     Four photos to a row; TikToks keep their embed width. */
  .page-trip .photo-strip .swiper-slide {
    flex: 0 1 calc(25% - 0.75rem);
    min-width: 0;
  }
  .page-trip .photo-strip img,
  .page-trip .photo-strip-video {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .page-trip .tiktok-strip .tiktok-embed-wrap {
    width: 325px;
  }
  /* A portrait photo at the full 1100px column would be over 1400px tall,
     so it is capped and centred instead. */
  .page-trip .pitch-photo {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-trip .panel-photo {
      height: auto;
      max-width: var(--measure);
      margin-left: auto;
      margin-right: auto;
      aspect-ratio: 16 / 9;
      object-fit: contain;
      background: rgba(255,255,255,0.03);
    
  }
  .page-trip .sleep-photo {
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: contain;
      background: rgba(255,255,255,0.03);
    
  }
  .page-trip .included-grid {
      grid-template-columns: 1fr 1fr;
    
  }
  .page-trip .join-section {
      padding: 3.75rem 0 7rem;
    
  }
  .page-trip .join-section h2 {
      font-size: 2.75rem;
    
  }
  .page-trip .countdown-box {
      min-width: 88px;
      padding: 1.1rem 1rem;
    
  }
  .page-trip .countdown-num {
      font-size: 2.4rem;
    
  }
  .page-trip .price-compare {
      grid-template-columns: 1fr 1fr;
    
  }
  .page-trip .payment-compare {
      grid-template-columns: 1fr 1fr;
    
  }
}

/* ==================================================================
   TEMPORARY MEDIA PLACEHOLDERS
   Switched on per trip with 'show_placeholders' => true in that trip's
   data file, so a page can be written and read before its photography
   exists. Off everywhere else. Delete the flag once the media lands.
===================================================================== */

/* A whole field or section that is missing from a draft trip. Unlike the
   media placeholders these are not opt in: they appear wherever the data is
   absent, so a draft can never render a silently empty section. Teal dashed
   so they read as "unfinished" rather than as part of the design. */
.page-trip .placeholder--gap {
  border-color: var(--teal);
  border-width: 2px;
  background-color: rgba(17, 166, 141, 0.06);
  background-image: none;
  margin: 1rem 0;
}

.page-trip .placeholder--gap span {
  color: var(--sand);
  background: var(--navy);
  border: 1px solid var(--teal);
}

.page-trip .placeholder--media {
  border-color: var(--teal);
  height: auto;
  aspect-ratio: var(--ar);
  margin-top: 2rem;
}

/* Fills the hero band edge to edge, like the image it stands in for. */
.page-trip .placeholder--hero {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  margin-top: 0;
  border-radius: 0;
  border-color: var(--teal);
}

/* A portrait clip beside the highlights list. */
.page-trip .placeholder--video {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.page-trip .placeholder-size {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  opacity: 0.75;
}

/* ==================================================================
   VIDEO HERO
   A hero carrying footage rather than a still. Taller, and washed to
   navy at the foot so the moving image settles into the page instead
   of stopping dead above the title.
===================================================================== */

.page-trip .hero--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,26,36,0) 55%, rgba(15,26,36,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .page-trip .hero--video {
    height: 80vh;
  }
}
