/* ==================================================================
   SNOW SQUAD - SHARED TRIP PAGE STYLES
   Generated by build-css.js - edit the source, not this file.
===================================================================== */

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

.page-trip main * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-trip main h1,
.page-trip main h2,
.page-trip main h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

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

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

.page-trip .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.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 .placeholder--portrait {
  max-width: 300px;
  aspect-ratio: 9 / 16;
  height: auto;
  margin: 0 auto;
}

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

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

.page-trip .hero-title {
  text-align: center;
  padding: 2rem 1.5rem 0;
}

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

.page-trip .section {
  padding: 2.5rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* 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;
}

.page-trip .section p.copy {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  color: rgba(255,255,255,0.85);
}

.page-trip .section p.copy:last-of-type {
  margin-bottom: 0;
}

.page-trip .section-divider {
  width: 60%;
  max-width: 660px;
  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 1.25rem 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 .photo-strip::-webkit-scrollbar {
  display: none;
}

.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);
}

.page-trip .amenity-icon {
  font-size: 1.1rem;
}

.page-trip .tiktok-strip::-webkit-scrollbar {
  display: none;
}

.page-trip .tiktok-embed-wrap {
  flex: 0 0 85%;
  max-width: 325px;
  scroll-snap-align: center;
}

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

.page-trip .tiktok-placeholder {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--sand);
  text-align: center;
  padding: 2rem 0.5rem;
  border: 2px dashed var(--sand);
  border-radius: 6px;
}

.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: 600px;
  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-list {
  list-style: none;
  max-width: 420px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.page-trip .addons-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 197, 176, 0.15);
  font-size: 0.95rem;
}

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

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

.page-trip .addons-list .tbc {
  color: var(--sand);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-trip .addons-detail-list {
  list-style: none;
  max-width: 480px;
  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: 480px;
  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: 640px;
  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;
}

/* only Les Arcs uses it, so its value is canonical */
.page-trip .photo-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 2rem;
  padding: 0.25rem 0 0.75rem;
}

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

.page-trip .tiktok-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 2rem;
  padding: 0.25rem 0 0.75rem;
}

/* 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: 480px;
  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;
  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;
  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 {
  flex: 0 0 auto;
  height: 220px;
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  scroll-snap-align: center;
  display: block;
}

.page-trip #details-panel-price > .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 .container {
      padding: 0 2rem;
    
  }
  .page-trip .section {
      padding: 3.75rem 2rem;
    
  }
  .page-trip .section h2 {
      font-size: 2.75rem;
    
  }
  .page-trip .hero-title {
      padding: 2.5rem 2rem 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;
    
  }
  .page-trip .tab-pills {
      justify-content: center;
    
  }
  .page-trip .tiktok-strip {
      flex-wrap: wrap;
      justify-content: center;
    
  }
  /* Wrapping flex rather than a fixed four column grid: a row that is not
     full then centres instead of hanging to the left. Four to a row. */
  .page-trip .photo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    overflow-x: visible;
  }
  .page-trip .photo-strip img,
  .page-trip .photo-strip-video {
    flex: 0 1 calc(25% - 0.75rem);
    min-width: 0;
    width: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  /* 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: 640px;
      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 2rem 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.
===================================================================== */

.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;
  }
}
