/* ============================================================
   ITINERARY SINGLE — fully responsive.
   Shared by every itinerary post (legacy city-stops schema and the newer
   day-by-day schema). Uses the foundation tokens/utilities from style.css
   (--gutter, --nav-h, --vh-full, .glass, .section-label/.section-heading …).
   Breakpoints: 1100 (tablet landscape) · 820 (tablet portrait, stack) · 560 (phones) · 400 (small phones)
   ============================================================ */
:root {
  --itin-y: clamp(48px, 6.4vw, 96px);
  --itin-col: 800px;                      /* ONE column for every text section: headings, prose, overview, days, hotel */
  --itin-measure: 62ch;                   /* comfortable line length for running copy (~70 characters) */
}

/* ───────────────────────── HERO ───────────────────────── */
/* Base colour is a branded gradient, not flat black, so a hero photo that fails to load still looks designed. */
.itin-hero {
  background: radial-gradient(120% 100% at 82% 6%, #24523a 0%, #11190f 52%, #0a0a0a 100%);
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .88; transform: scale(1.05); will-change: transform; }

/* Layered black scrim so nav, badge, title, subtitle and chips stay legible on bright AND dark photos:
   1) top fade for the nav, 2) strong bottom-up fade behind the text block, 3) left-side fade for the
   desktop text column, 4) a light overall tint. */
@media (max-width: 820px), (min-width: 1700px) { .hero-bg { background-image: var(--hero-xl) !important; } }
/* portrait tablets: the 3200px rendition (see single-itinerary.php), so the height-cropped photo is not stretched */
@media (min-width: 560px) and (max-width: 820px) { .hero-bg { background-image: var(--hero-xxl, var(--hero-xl)) !important; } }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6,6,6,.62) 0, rgba(6,6,6,.32) 110px, rgba(6,6,6,0) 240px),
    linear-gradient(to top, rgba(6,6,6,.9) 0%, rgba(6,6,6,.74) 30%, rgba(6,6,6,.46) 56%, rgba(6,6,6,.14) 80%, rgba(6,6,6,0) 100%),
    linear-gradient(90deg, rgba(6,6,6,.42) 0%, rgba(6,6,6,.2) 44%, rgba(6,6,6,0) 74%),
    rgba(6,6,6,.1);
}

.hero-content {
  position: relative; z-index: 2; width: 100%; color: #fff;
  padding: calc(var(--nav-h) + 72px) var(--gutter) clamp(52px, 9vh, 104px);
  /* same left edge as the closing CTA (--container-wide, centred), so the two photographic bands line up on big screens */
  max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin-inline: auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); padding: 8px 17px; border-radius: 40px;
  /* dark ink on the brand orange = 6.4:1 (white on this orange was 2.7:1 and vanished on red / orange photos) */
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--black); line-height: 1.2;
  margin-bottom: clamp(18px, 2.4vw, 28px); box-shadow: 0 4px 18px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.18);
}
.hero-title {
  font-family: var(--f-display); font-weight: 900; color: #fff;
  font-size: clamp(36px, 8vw, 112px); line-height: .98; letter-spacing: -.012em; word-spacing: .16em; text-transform: uppercase;   /* word gaps: Playfair 900 caps with tight tracking made 'TRIP TO' read as 'TRIPTO' */
  max-width: 1100px; text-wrap: balance;
  overflow-wrap: normal; word-break: normal; hyphens: manual;   /* never split a word; itinerary.js shrinks the type if one word is wider than the screen */
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
}
.hero-title.is-long  { font-size: clamp(32px, 5.6vw, 84px); }
.hero-title.is-xlong { font-size: clamp(30px, 4.6vw, 68px); }
.hero-sub {
  font-size: clamp(13px, 1.2vw, 16px); font-weight: 400; letter-spacing: .15em; text-transform: uppercase; line-height: 1.75;
  color: rgba(255,255,255,.92); max-width: 780px; margin-top: clamp(16px, 2vw, 24px);
  text-shadow: 0 1px 16px rgba(0,0,0,.65);
}

/* Stat chips — same frosted-glass container as the destination heroes (.glass in style.css) */
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.2vw, 36px); }
.hstat.glass {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px;
  min-width: 118px; padding: 14px 26px; border-radius: 16px;
  background: rgba(22,17,12,.5); border-color: rgba(255,255,255,.24);
}
.hstat-val { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.15; color: #fff; white-space: nowrap; letter-spacing: -.1px; }
.hstat-lbl { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); line-height: 1.2; }

.hero-scroll { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.s-stem { width: 1px; height: 44px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.s-stem::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--orange); animation: stemDrop 2s ease-in-out infinite; }
@keyframes stemDrop { to { top: 160%; } }

/* Hero intro = simple fade/slide-up driven by itinerary.js (GSAP). Hidden initial state only when JS runs;
   if the script (or GSAP) never loads, a CSS failsafe reveals everything after 3s, and itinerary.js adds
   .itin-static to show it immediately. */
@keyframes itinReveal { to { opacity: 1; } }
.js .hero-title, .js .hero-sub, .js .hero-stats, .js .hero-scroll { opacity: 0; animation: itinReveal .01s linear 3s forwards; }
.itin-static .hero-title, .itin-static .hero-sub, .itin-static .hero-stats, .itin-static .hero-scroll { opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title, .js .hero-sub, .js .hero-stats, .js .hero-scroll { opacity: 1; animation: none; }
}

@media (max-width: 1100px) { .hero-scroll { display: none; } }
@media (max-width: 820px) {
  .hero-content { padding-top: calc(var(--nav-h) + 56px); padding-bottom: clamp(40px, 7vh, 72px); }
}
@media (max-width: 560px) {
  /* text spans the full width on phones: the bottom-up fade does the work, no side fade */
  .hero-vignette {
    background:
      linear-gradient(to bottom, rgba(6,6,6,.6) 0, rgba(6,6,6,.28) 100px, rgba(6,6,6,0) 220px),
      linear-gradient(to top, rgba(6,6,6,.92) 0%, rgba(6,6,6,.8) 34%, rgba(6,6,6,.5) 62%, rgba(6,6,6,.12) 86%, rgba(6,6,6,0) 100%),
      rgba(6,6,6,.08);
  }
  .hero-content { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 36px; }
  .hero-title { font-size: clamp(33px, 10.4vw, 46px); line-height: 1.02; letter-spacing: -.008em; word-spacing: .14em; }
  .hero-title.is-long  { font-size: clamp(30px, 9.2vw, 40px); }
  .hero-title.is-xlong { font-size: clamp(28px, 8.2vw, 36px); }
  .hero-sub { font-size: 13.5px; letter-spacing: .07em; line-height: 1.65; }
  /* 3 chips: Duration (the long one) on its own full-width row, then Cities + Experiences side by side. */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stats--n3 .hstat:first-child, .hero-stats--n1 .hstat { grid-column: 1 / -1; }
  .hero-stats--n2 { display: flex; }
  .hero-stats--n2 .hstat { flex: 1 1 auto; }
  .hstat.glass { min-width: 0; padding: 12px 14px; border-radius: 14px; }
  .hstat-val { font-size: 18px; }
  .hstat-lbl { font-size: 11px; letter-spacing: .12em; }
}

/* ───────────────────────── SHARED SECTION SCAFFOLD ───────────────────────── */
.itin-sec { padding: var(--itin-y) var(--gutter); }
.itin-sec--ivory  { background: var(--ivory); }
.itin-sec--ivory2 { background: var(--ivory-2); }
.itin-wrap, .itin-wrap--md, .itin-wrap--lg { max-width: var(--itin-col); margin-inline: auto; }   /* every section shares one left edge */
.itin-sec .section-heading { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); line-height: 1.18; }
.itin-prose { font-size: 16px; line-height: 1.8; color: var(--black-soft); max-width: var(--itin-measure); }
@media (min-width: 1100px) { .itin-prose { font-size: 17px; } }
.itin-prose p + p { margin-top: 1em; }
.section-heading .sw { padding-bottom: .14em; margin-bottom: -.14em; padding-right: .05em; margin-right: -.05em; }
@media (max-width: 560px) {
  .itin-prose { font-size: 15.5px; line-height: 1.75; }
  .section-label { font-size: 11px; letter-spacing: 2.4px; }
}

/* Intro + why/overview */
.itin-why-img { margin: 0 0 clamp(24px, 3vw, 36px); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ivory-3); }
.itin-why-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.itin-why-text { margin-bottom: 0; }
.itin-sub-h { font-family: var(--f-display); font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: var(--black); margin: clamp(32px, 4vw, 48px) 0 16px; }
.itin-ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.itin-ov-card { background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 14px rgba(0,0,0,.04); min-width: 0; }
.itin-ov-card--wide { grid-column: 1 / -1; }
.itin-ov-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.itin-ov-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; }
.itin-ov-ico svg { display: block; }
.itin-ov-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--orange-ink); font-weight: 700; line-height: 1.3; }
.itin-ov-val { font-size: 15px; color: var(--black-soft); line-height: 1.65; overflow-wrap: break-word; }
.itin-ov-card--price .itin-ov-val { font-family: var(--f-display); font-size: 22px; font-weight: 900; color: var(--black); line-height: 1.25; font-variant-numeric: lining-nums; }
/* the rest of the document's "Starting Price" sentence, under the large amount */
.itin-ov-note { margin: 8px 0 0; font-size: 14px; color: var(--black-soft); line-height: 1.6; overflow-wrap: break-word; font-variant-numeric: lining-nums; }
@media (max-width: 560px) {
  .itin-why-img { aspect-ratio: 4 / 3; border-radius: 16px; }
  .itin-ov-grid { grid-template-columns: 1fr; gap: 12px; }
  .itin-ov-card { padding: 18px; }
}

/* ───────────────────────── "TRACE YOUR PATH": MAP + CITY TABS ───────────────────────── */
/* The map is a rounded "card" of sea with real coastlines drawn by itinerary.js (50m world atlas): the trip's own
   countries in warm ivory, neighbours quieter, a faint coast glow so land reads as land. No edge fade: the card's
   own rounded edge is the crop. The card fills the panel, so its height follows the sidebar (2-5 stops all balance). */
#map-section { background: var(--ivory); padding: 0; flex-direction: row; align-items: stretch; min-height: clamp(520px, 74svh, 760px); }
.map-panel { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(20px, 3vw, 48px); background: var(--ivory); }
/* The SVG's viewBox is set by itinerary.js to this element's real pixel box (1 unit = 1 css px), so it can take any shape. */
#itin-map-svg {
  /* max-height was 760px, which left a long route (10 stops = a 1500px sidebar) with a card half the height of its column and a blank gap above and below it; the card now follows the sidebar up to 1240px */
  display: block; flex: 1 1 0; width: 100%; max-width: 1000px; min-height: 440px; max-height: 1240px;
  border-radius: 22px; overflow: hidden;
  background: radial-gradient(130% 100% at 28% 12%, #e6efe9 0%, #d9e5de 100%);
  box-shadow: inset 0 0 0 1px rgba(26,26,26,.08), inset 0 0 70px rgba(44,110,73,.07), 0 26px 50px -30px rgba(26,26,26,.4);
  touch-action: manipulation;
}
/* atlas blocked / not loaded: a calm paper card with the route on it instead of an empty sea */
#itin-map-svg.no-land { background-color: var(--ivory-2); background-image: radial-gradient(rgba(26,26,26,.1) 1px, transparent 1.3px); background-size: 20px 20px; }
#itin-map-svg .m-land { animation: itinLandIn .7s ease-out both; }
@keyframes itinLandIn { from { opacity: 0; } }
#itin-map-svg .m-coast { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 10px; stroke-linejoin: round; }
#itin-map-svg .m-nb    { fill: #efece1; stroke: #d2cbb9; stroke-width: 1px; stroke-linejoin: round; }
#itin-map-svg .m-trip  { fill: #fcf7e9; stroke: #b9af95; stroke-width: 1.3px; stroke-linejoin: round; }
/* island-nation routes (Seychelles, Maldives, Mauritius): the islands are tiny, so draw them with a firmer line */
#itin-map-svg.has-island-detail .m-trip { stroke: #a89d82; stroke-width: 2px; }
#itin-map-svg .m-name  { font-family: Inter, sans-serif; font-weight: 700; letter-spacing: .28em; fill: rgba(78,72,54,.36); }
#itin-map-svg .m-name.is-trip { fill: rgba(130,88,38,.55); }
.city-stop-circle { fill: var(--orange); stroke: var(--ivory); stroke-width: 2; cursor: pointer; filter: drop-shadow(0 2px 4px rgba(26,26,26,.3)); }
.city-stop-pulse { fill: rgba(213,142,74,.28); pointer-events: none; transform-box: fill-box; transform-origin: center; animation: itinPulse 2.6s ease-out infinite; }
@keyframes itinPulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.city-pin { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.city-pin:focus-visible .city-stop-circle { stroke: var(--black); stroke-width: 3; }
.map-hint { display: none; margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--gray); letter-spacing: .3px; pointer-events: none; }
@media (hover: none) { .map-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { #itin-map-svg .m-land { animation: none; } .city-stop-pulse { animation: none; opacity: .5; } }

.map-sidebar { flex: 0 0 clamp(380px, 42%, 640px); background: var(--black); padding: clamp(48px, 6vw, 88px) clamp(24px, 4.6vw, 64px); display: flex; flex-direction: column; justify-content: center; color: #fff; }
.map-sidebar-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.map-sidebar-heading { font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 46px); font-weight: 900; line-height: 1.12; margin-bottom: clamp(26px, 3vw, 40px); }
.map-sidebar-heading em { color: var(--orange); font-style: italic; font-family: var(--f-display); }
.city-tabs { display: flex; flex-direction: column; gap: 8px; }
.city-tab { padding: 16px 20px; border-radius: 12px; cursor: pointer; border: 1px solid rgba(255,255,255,.1); transition: background .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.city-tab.active { background: rgba(213,142,74,.14); border-color: rgba(213,142,74,.5); }
@media (hover: hover) { .city-tab:hover { background: rgba(213,142,74,.1); border-color: rgba(213,142,74,.4); } }
.city-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.city-tab-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.city-tab-name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.city-tab-days { font-size: 11px; color: var(--orange-light); background: rgba(213,142,74,.16); padding: 4px 11px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; line-height: 1.3; }
.city-tab-desc { font-size: 14px; color: rgba(255,255,255,.68); margin-top: 6px; line-height: 1.55; }

/* Tooltip: lives inside .map-panel; itinerary.js clamps it fully inside the rounded map card (and caps its width to the card) */
.map-panel .map-pin-tooltip { width: 270px; max-width: calc(100% - 20px); }
/* the preview card never blocks taps on the pins underneath it (only its own link is clickable) */
.map-panel .map-pin-tooltip.show { pointer-events: none; }
.map-panel .map-pin-tooltip a { pointer-events: auto; }
.mtt-body .mtt-stop { color: rgba(255,255,255,.5); font-size: 10.5px; }
.mtt-body .mtt-days { font-size: 11px; }
.mtt-body .mtt-desc { color: rgba(255,255,255,.72); font-size: 13px; }

/* Posts with city stops but no map coordinates: same city list, full-width and without a map */
#map-section.itin-map--list { min-height: 0; }
.itin-map--list .map-panel { display: none; }
.itin-map--list .map-sidebar { flex: 1 1 100%; padding: var(--itin-y) max(var(--gutter), calc((100% - 1100px) / 2)); }
.itin-map--list .city-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.itin-map--list .city-tab { cursor: default; }

@media (max-width: 820px) {
  #map-section { flex-direction: column; min-height: 0; }
  .map-panel { flex: none; width: 100%; padding: 28px var(--gutter) 22px; }
  /* phones start from a roughly square card; itinerary.js then reshapes it (0.9 to 1.2 x its width) to the route window, so no third of the card is empty sea */
  #itin-map-svg { flex: none; height: clamp(340px, 100vw, 560px); min-height: 0; max-height: none; border-radius: 20px; }
  .map-sidebar { flex: none; width: 100%; padding: 48px var(--gutter) 56px; }
  .itin-map--list .map-sidebar { padding: 48px var(--gutter) 56px; }
  .city-tab { min-height: 56px; }
  /* compact horizontal preview card on touch-size screens: short and not too wide, so on a crowded route it can sit
     beside a pin instead of covering its neighbours (itinerary.js scores every spot inside the card) */
  .map-panel .map-pin-tooltip { display: flex; width: min(296px, calc(100% - 20px)); border-radius: 14px; }
  .map-panel .mtt-img { flex: 0 0 88px; width: 88px; height: auto; min-height: 100%; }
  .map-panel .mtt-body { padding: 11px 13px 12px; min-width: 0; }
  .map-panel .mtt-stop, .map-panel .mtt-days { display: inline; margin: 0; white-space: nowrap; }
  .map-panel .mtt-stop::after { content: '\00a0\00b7\00a0'; color: rgba(255,255,255,.5); }
  /* narrow form (chosen by itinerary.js when the full-width card would hide other stops) */
  .map-panel .map-pin-tooltip.is-narrow { width: min(224px, calc(100% - 20px)); }
  .map-panel .map-pin-tooltip.is-narrow .mtt-img { flex-basis: 62px; width: 62px; }
  .map-panel .map-pin-tooltip.is-narrow .mtt-body { padding: 10px 11px 11px; }
  .map-panel .map-pin-tooltip.is-narrow .mtt-name { font-size: 17px; }
  .map-panel .mtt-body > .mtt-stop + .mtt-days + .mtt-name, .map-panel .mtt-body > .mtt-stop + .mtt-name { margin-top: 5px; }
  .map-panel .mtt-name { display: block; font-size: 18px; margin-bottom: 4px; }
  .map-panel .mtt-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.4; }
}
@media (max-width: 560px) {
  .map-panel { padding: 22px 14px 18px; }
  #itin-map-svg { border-radius: 18px; }
  .map-sidebar-heading { font-size: clamp(28px, 8vw, 34px); }
}

/* ───────────────────────── DAY BY DAY ───────────────────────── */
.itin-day-list { list-style: none; margin: 0; padding: 0; }
.itin-day { position: relative; margin-left: 6px; padding: 0 0 clamp(26px, 3.2vw, 38px) clamp(22px, 3vw, 36px); border-left: 1px solid var(--gray-light); }
.itin-day:last-child { padding-bottom: 0; border-left-color: transparent; }
.itin-day::before { content: ''; position: absolute; left: -7px; top: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 2px solid var(--ivory); box-shadow: 0 0 0 4px rgba(213,142,74,.2); }
.itin-day-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--orange-ink); font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.itin-day-title { font-family: var(--f-display); font-size: clamp(19px, 2vw, 22px); font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 10px; text-wrap: pretty; }
.itin-day-desc { font-size: 15px; line-height: 1.75; max-width: var(--itin-measure); }
/* a day with a title but no description: tighten the rhythm so the list does not read as a sparse column of air */
.itin-day--bare { padding-bottom: clamp(18px, 2.4vw, 26px); }
.itin-day--bare .itin-day-title { margin-bottom: 0; }
.itin-day--bare .itin-day-label { margin-bottom: 6px; }

/* ───────────────────────── EXPERIENCES INCLUDED — auto-looping carousel ───────────────────────── */
.itin-exp { padding-inline: 0; overflow: hidden; }
.itin-exp-head { padding-inline: var(--gutter); }
.itin-exp-head .itin-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.itin-exp-head .section-heading { margin-bottom: 0; }
.itin-exp-head + .exp-carousel { margin-top: clamp(24px, 3vw, 40px); }
/* pause / play: the marquee never has to be chased (WCAG 2.2.2) */
.exp-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(26,26,26,.25); background: #fff; color: var(--black); cursor: pointer; transition: border-color .2s, color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.exp-toggle:hover { border-color: var(--orange); color: var(--orange-ink); }
.exp-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.exp-toggle svg { display: block; }
.exp-toggle .i-play { display: none; }
.exp-toggle.is-held .i-pause { display: none; }
.exp-toggle.is-held .i-play { display: block; }
/* only a short fade at the ends, so the card at the edge stays readable while it moves */
.exp-carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 clamp(14px, 2.2vw, 30px), #000 calc(100% - clamp(14px, 2.2vw, 30px)), transparent); mask-image: linear-gradient(90deg, transparent, #000 clamp(14px, 2.2vw, 30px), #000 calc(100% - clamp(14px, 2.2vw, 30px)), transparent); }
/* Loop maths: track = [A][gap][B] + trailing gap, so -50% === exactly one run + one gap. No leading offset: the track is flush with the viewport edge (the mask fades it) so the loop point is invisible everywhere on screen. */
.exp-carousel-track { --exp-gap: 20px; display: flex; align-items: stretch; gap: var(--exp-gap); width: max-content; padding: 4px var(--exp-gap) 12px 0; animation: expCarouselScroll var(--exp-dur, 60s) linear infinite; will-change: transform; }
@media (hover: hover) { .exp-carousel:hover .exp-carousel-track { animation-play-state: paused; } }
.exp-carousel:focus-within .exp-carousel-track, .exp-carousel.is-paused .exp-carousel-track, .exp-carousel.is-held .exp-carousel-track, .exp-carousel.is-offscreen .exp-carousel-track { animation-play-state: paused; }
.exp-carousel-card { flex: 0 0 260px; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.05); }
.exp-carousel-img { height: 150px; background-size: cover; background-position: center; background-color: var(--ivory-3); flex: 0 0 auto; }
/* a category with no photo gets an orange-pale header band + icon chip, so the row keeps its rhythm */
.exp-carousel-img--icon { height: 96px; display: flex; align-items: center; padding: 0 22px; background-image: linear-gradient(135deg, var(--orange-pale) 0%, #fbf1e0 100%); }
.exp-carousel-ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(168,99,31,.18); }
.exp-carousel-ico svg { display: block; }
.exp-carousel-body { padding: 22px 22px 24px; }
.exp-carousel-title { font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--black); line-height: 1.25; margin-bottom: 8px; }
.exp-carousel-desc { font-size: 14px; color: var(--gray); line-height: 1.65; }
@keyframes expCarouselScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .exp-carousel-track { --exp-gap: 14px; }
  .exp-carousel-card { flex-basis: clamp(236px, 72vw, 290px); }
  .exp-carousel-img { height: 138px; }
  .exp-carousel-img--icon { height: 88px; padding: 0 18px; }
  .exp-carousel-body { padding: 18px 18px 20px; }
}
/* Reduced motion: no marquee, a plain swipeable row (the aria-hidden loop copies and the pause button are removed) */
@media (prefers-reduced-motion: reduce) {
  .exp-carousel { overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .exp-carousel::-webkit-scrollbar { display: none; }
  .exp-carousel-track { animation: none !important; margin-left: var(--gutter); padding-right: var(--gutter); }
  .exp-carousel-card { scroll-snap-align: start; }
  .exp-carousel-card[aria-hidden="true"] { display: none; }
  .exp-toggle { display: none; }
}

/* ───────────────────────── AT A GLANCE (posts that have only the basics: no days, overview or map) ───────────────────────── */
.itin-glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 4px; }
.itin-glance-grid .itin-ov-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .itin-glance-grid { grid-template-columns: 1fr; gap: 12px; } }
.itin-glance-grid .itin-ov-card { display: flex; flex-direction: column; justify-content: space-between; }
.itin-ov-sub { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; font-weight: 500; color: var(--gray); text-wrap: pretty; }
.itin-glance-grid .itin-ov-val { font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 24px); font-weight: 900; color: var(--black); line-height: 1.25; font-variant-numeric: lining-nums; }
.itin-glance-note { display: flex; align-items: flex-start; gap: 18px; margin-top: 20px; padding: 24px 26px; border-radius: 18px; background: var(--orange-pale); }
.itin-glance-note .itin-ov-ico { background: #fff; width: 42px; height: 42px; border-radius: 12px; }
.itin-glance-note-h { font-family: var(--f-display); font-size: clamp(18px, 1.9vw, 21px); font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 8px; }
.itin-glance-note p { font-size: 15px; line-height: 1.7; color: var(--black-soft); max-width: 56ch; }
.itin-glance-note a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.itin-glance-note a:hover { color: var(--black); }
@media (max-width: 560px) { .itin-glance-note { padding: 20px; gap: 14px; } }

/* ───────────────────────── CLOSING CTA ───────────────────────── */
.itin-cta { background: var(--dark-green); min-height: 0; padding: calc(var(--itin-y) * .95) var(--gutter) calc(var(--itin-y) * .6); align-items: center; }
/* no second photo to show (it must never repeat the hero): a soft light bloom instead of an empty band */
.itin-cta--plain { background: radial-gradient(90% 130% at 88% 10%, #3b8059 0%, var(--dark-green) 52%, #285f3f 100%); }
/* ...plus concentric "compass / map ring" lines on the right, which balance the band without borrowing a photo */
.itin-cta--plain::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 80% 50%, transparent 0 58px, rgba(255,255,255,.075) 58px 59px);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, #000 0, #000 12%, transparent 46%); mask-image: radial-gradient(circle at 80% 50%, #000 0, #000 12%, transparent 46%); }
.itin-cta-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; pointer-events: none; opacity: .55;
  background-image: linear-gradient(180deg, rgba(44,110,73,.4), rgba(20,52,34,.6)), var(--cta-img, none); background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48%); mask-image: linear-gradient(90deg, transparent 0, #000 48%); }
.itin-cta-inner { position: relative; z-index: 1; width: 100%; max-width: var(--container-wide); margin-inline: auto; }
.book-eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.book-heading { font-family: var(--f-display); font-size: clamp(34px, 5.8vw, 88px); font-weight: 900; line-height: 1.1; color: #fff; letter-spacing: -.02em; max-width: 840px; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.book-heading.is-long  { font-size: clamp(32px, 4.8vw, 72px); }
.book-heading.is-xlong { font-size: clamp(28px, 4vw, 60px); line-height: 1.14; }
.book-heading em { font-style: italic; color: var(--orange-light); }   /* #e8a86e on the green: 3:1+ for large type (brand orange was 2.3:1) */
.book-sub { font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.86); font-weight: 400; max-width: 520px; margin-top: 24px; line-height: 1.65; }
.book-price { font-size: 14px; color: rgba(255,255,255,.82); margin-top: 20px; letter-spacing: .3px; text-wrap: balance; max-width: 520px; }
.book-price strong { color: var(--orange-light); font-size: 20px; font-weight: 700; }
.book-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.4vw, 44px); }
.book-actions .btn-primary, .book-actions .btn-outline-light { justify-content: center; text-align: center; line-height: 1.3; text-wrap: balance; }
/* Phones and portrait tablets: the photo becomes a strip that melts into the green at the top of the band
   (a distinct, photographic opening instead of a flat block that runs on into the footer). */
@media (max-width: 900px) {
  .itin-cta--plain::before { display: none; }
  .itin-cta--photo { padding-top: 172px; }
  .itin-cta-media { left: 0; right: 0; bottom: auto; width: auto; height: 200px; opacity: .6;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 38%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 38%, transparent 100%); }
}
@media (max-width: 560px) {
  .itin-cta { padding-block: 52px 56px; }
  .itin-cta--photo { padding-top: 150px; }
  .itin-cta-media { height: 176px; }
  .book-heading { font-size: clamp(32px, 9.4vw, 42px); }
  .book-heading.is-long  { font-size: clamp(29px, 8.4vw, 37px); }
  .book-heading.is-xlong { font-size: clamp(26px, 7.4vw, 33px); }
  .book-actions { flex-direction: column; gap: 12px; }
  .book-actions .btn-primary, .book-actions .btn-outline-light { width: 100%; min-height: 52px; padding: 14px 24px; }
}
