/* Trip detail page template — used by unblock.html and future trip pages
   (own trips and affiliate picks alike). Fixed contrast + layout bugs from
   the design draft: overlay text lives inside the photo box (absolute,
   inset:0), never spills onto the page ground; grid tracks use minmax(0, …)
   so a wide gallery can't blow out the two-column layout. */

:root {
  --navy: #0E1A2B;
  --pink: #B5486A; /* placeholder, a dusty/muted rose rather than orange-coral — swap for your exact brand pink if this isn't it */
  --charcoal: #2B2A28;
}

.back-link {
  max-width: 1160px;
  margin: 22px auto 0;
  padding: 0 32px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(10,10,10,0.55);
  display: block;
}

.trip-hero {
  position: relative;
  max-width: 1160px;
  margin: 18px auto 0;
  padding: 0 32px;
}
/* Height is driven by the overlay text (normal flow), not the other way
   round — min-height is only a floor for short copy. The photo (absolute,
   behind the text) always fills whatever height that ends up being, so
   there's no fixed box for long copy to get clipped by, on any screen size. */
.trip-hero-photo {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
}
.trip-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  filter: saturate(1.3) contrast(1.08) brightness(1.02);
  z-index: 0;
}
.trip-hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
}
.trip-hero-overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 32px;
}
.trip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.trip-eyebrow .partner {
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  text-shadow: none;
}
.trip-hero h1 {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
  text-wrap: balance;
  margin-bottom: 14px;
}
.trip-hero h1 .hl {
  background: var(--lime);
  color: var(--black);
  padding: 0 8px;
  text-shadow: none;
  display: inline-block;
}
.trip-hero-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}
.trip-hero-pitch {
  max-width: 56ch;
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.trip-facts-wrap {
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 0 32px;
}
.trip-quickfacts {
  display: flex;
  flex-wrap: wrap;
  background: var(--black);
  border-radius: 6px;
  overflow: hidden;
}
.tqf {
  flex: 1 1 150px;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.tqf:last-child { border-right: none; }
.tqf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.tqf-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.tqf-value.lime { color: var(--lime); }

.trip-grid {
  max-width: 1160px;
  margin: 56px auto 0;
  padding: 0 32px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.trip-section { margin-bottom: 48px; }
.trip-section:last-child { margin-bottom: 0; }
.trip-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  margin-bottom: 16px;
}
.trip-section p {
  font-size: 15.5px;
  color: var(--grey);
  max-width: 62ch;
  margin-bottom: 14px;
}
.trip-section p:last-child { margin-bottom: 0; }
.trip-signature {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-top: 18px;
}

.trip-expect-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 24px;
  list-style: none;
}
.trip-expect-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--grey);
  align-items: flex-start;
}
.trip-expect-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--black);
  margin-top: 8px;
  flex-shrink: 0;
}

.trip-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 260px);
  gap: 10px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin-top: 16px;
  scrollbar-width: thin;
}
.trip-gallery-photo {
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.trip-gallery-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.05);
}
.trip-gallery-hint {
  font-size: 10px;
  font-style: italic;
  color: rgba(10,10,10,0.5);
  margin-top: 8px;
}

.trip-ref-empty {
  border: 1px dashed rgba(10,10,10,0.12);
  border-radius: 6px;
  padding: 26px 24px;
}
.trip-ref-empty p {
  font-size: 14px;
  color: rgba(10,10,10,0.55);
  max-width: 46ch;
}
.trip-ref-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.trip-ref-card {
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 6px;
  padding: 22px 24px;
}
p.trip-ref-quote {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: none;
}
.trip-ref-who {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(10,10,10,0.5);
  text-transform: uppercase;
}

.trip-faq {
  border-bottom: 1px solid rgba(10,10,10,0.12);
  padding: 16px 0;
}
.trip-faq:first-child { padding-top: 0; }
.trip-faq summary {
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.trip-faq summary::-webkit-details-marker { display: none; }
.trip-faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: rgba(10,10,10,0.55);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.trip-faq[open] summary::after { transform: rotate(45deg); }
.trip-faq p {
  font-size: 14px;
  color: var(--grey);
  margin-top: 10px;
  max-width: 60ch;
}
.trip-faq-group-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  margin: 28px 0 4px;
}
.trip-faq-group-label:first-child { margin-top: 0; }
.trip-map {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(10,10,10,0.12);
}
.trip-map img { width: 100%; display: block; }
.trip-map-cap {
  font-size: 12.5px;
  color: rgba(10,10,10,0.55);
  margin-top: 10px;
}
.trip-location-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

.trip-faq-card {
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: 8px;
  padding: 4px 20px;
  background: #fff;
}
.trip-faq-card .trip-faq { padding: 14px 0; }
.trip-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.trip-sidebar { align-self: stretch; padding-left: 32px; border-left: 1px solid rgba(10,10,10,0.08); }
.trip-booking-card { position: sticky; top: 100px; }
.trip-booking-card {
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.trip-booking-body { padding: 24px; }
.trip-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  margin-bottom: 4px;
}
.trip-price-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.trip-price-note {
  font-size: 12.5px;
  color: rgba(10,10,10,0.55);
  margin-bottom: 20px;
}
.trip-price-date {
  color: var(--pink);
  font-weight: 800;
}
.trip-discount-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--black);
}
.trip-discount-chip code {
  font-weight: 800;
  background: var(--black);
  color: var(--lime);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}
.trip-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.trip-cta-sub {
  text-align: center;
  font-size: 11.5px;
  color: rgba(10,10,10,0.55);
  margin-top: 10px;
}
.trip-next-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.trip-included {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.trip-included-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  margin-bottom: 10px;
}
.trip-included ul { list-style: none; }
.trip-included li {
  font-size: 13px;
  color: var(--grey);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(10,10,10,0.12);
}
.trip-included li:last-child { border-bottom: none; }

.trip-mobile-cta {
  display: none;
}

@media (max-width: 860px) {
  .trip-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
  .trip-sidebar { position: static; }
  .trip-expect-list { grid-template-columns: minmax(0, 1fr); }
  .trip-hero-overlay { padding: 22px 20px; }

  .tqf { flex: 1 1 44%; min-width: 0; }
  .trip-gallery-photo { aspect-ratio: 1/1; }
  body { padding-bottom: 84px; }

  .trip-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid rgba(10,10,10,0.12);
    padding: 12px 16px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  }
  .trip-mobile-cta-price { font-size: 11px; color: rgba(10,10,10,0.55); font-weight: 700; text-transform: uppercase; }
  .trip-mobile-cta-price strong { display: block; font-size: 17px; color: var(--black); text-transform: none; }
}

/* ---------- optional richer sections (v2 comparison) ---------- */

.trip-pullquote {
  background: var(--charcoal);
  border-radius: 6px;
  padding: 28px 28px;
  margin-bottom: 48px;
}
.trip-pullquote blockquote {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 10px;
}
.trip-pullquote blockquote::before { content: "\201C"; }
.trip-pullquote blockquote::after { content: "\201D"; }
.trip-pullquote cite {
  display: block;
  text-align: right;
  font-size: 12.5px;
  color: rgba(240,235,222,0.6);
  font-style: normal;
}

.trip-vibe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.trip-vibe-col {
  border-radius: 8px;
  padding: 20px 20px 16px;
}
.trip-vibe-col.yes { background: var(--charcoal); }
.trip-vibe-col.no { background: transparent; border: 1.5px dashed rgba(43,42,40,0.3); }
.trip-vibe-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.trip-vibe-col.yes h4 { color: var(--lime); }
.trip-vibe-col.no h4 { color: rgba(10,10,10,0.45); }
.trip-vibe-col ul { list-style: none; }
.trip-vibe-col li {
  font-size: 13.5px;
  line-height: 1.5;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--black);
}
.trip-vibe-col.yes li {
  color: var(--cream);
}
.trip-vibe-col.yes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}
.trip-vibe-col.no li {
  color: rgba(10,10,10,0.55);
}
.trip-vibe-col.no li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: rgba(10,10,10,0.3);
  font-weight: 700;
}

.trip-unlocks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 28px;
}
.trip-unlock {
  padding-top: 10px;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.trip-unlock-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(10,10,10,0.4);
  display: block;
  margin-bottom: 6px;
}
.trip-unlock h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.trip-unlock p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}

.trip-cornwall-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.trip-cornwall-stop .lab {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  margin-bottom: 6px;
}
.trip-cornwall-stop h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.trip-cornwall-stop p { font-size: 13px; color: var(--grey); line-height: 1.5; }

.trip-hosts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.trip-host-photo {
  width: 90%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  filter: grayscale(1) contrast(1.05);
}
.trip-host-bio {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey);
  text-align: justify;
}
.trip-host-name { font-size: 15px; font-weight: 800; }
.trip-host-role {
  font-size: 11.5px;
  color: rgba(10,10,10,0.5);
  margin-bottom: 8px;
}
.trip-hosts-note {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .trip-vibe-grid, .trip-unlocks-grid, .trip-hosts-grid { grid-template-columns: minmax(0, 1fr); }
  .trip-cornwall-grid { grid-template-columns: minmax(0, 1fr); }
}
