/* ============================================================
   Preview Site — additions on top of styles.css (an unmodified
   copy of the landing page stylesheet). Everything here reuses
   the landing tokens: Poppins 300/400/500, navy + white grounds,
   blue-15 as the only tint ground, full-sat accents as micro
   details only, round 999px pills, black photo overlays.
   Sections are grouped so they map onto WordPress block styles.
   ============================================================ */

:root {
  --line: rgba(24,40,86,0.14);
  --line-strong: rgba(24,40,86,0.28);
  --line-inv: rgba(255,255,255,0.18);
  --radius: 6px;
  --header-h: 0px;
}

html.mm-open, html.mm-open body { overflow: hidden; }

/* the landing page's own .nav is replaced by the config-driven header */
.hero .nav { display: none; }

/* <button class="btn"> doesn't inherit the page font by default */
button.btn { font-family: inherit; cursor: pointer; background-color: transparent; }
button.btn-a { background: var(--blue); }

/* ---------- Tags: what's demo vs. real ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; line-height: 1.2;
  padding: 0.4em 0.85em; border-radius: 999px;
  vertical-align: middle; max-width: 100%;
}
/* navy on orange 4.6:1 (same pairing as .pop-o) */
.tag-later { background: var(--orange); color: var(--blue); }
.tag-later::before { content: 'Demo:'; font-weight: 500; }
/* dashed outline = content stand-in, not a feature */
.tag-placeholder { border: 1.5px dashed currentColor; color: inherit; background: transparent; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }

.demo-flag {
  display: inline-block; font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--green); color: var(--blue);
  padding: 0.25em 0.75em; border-radius: 999px; margin-right: 0.5em;
}

/* ---------- Header: utility bar + primary nav ---------- */
.site-header { position: relative; z-index: 50; color: var(--white); }
.site-header--solid { background: var(--blue); }
.site-header--overlay { position: absolute; inset: 0 0 auto 0; }

.util-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem var(--gutter);
  font-size: 0.8rem; font-weight: 400;
  border-bottom: 1px solid var(--line-inv);
}
.site-header--overlay .util-bar { background: rgba(0,0,0,0.28); }
.util-note { margin: 0; opacity: 0.9; }
.util-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; padding: 0; list-style: none; }
.util-links a { color: inherit; text-decoration: none; opacity: 0.9; }
.util-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.saved-count {
  display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em;
  margin-left: 0.2em; padding: 0 0.4em; border-radius: 999px;
  background: var(--white); color: var(--blue); font-weight: 500; font-size: 0.75rem;
}

.pn {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(0.9rem, 1.6vw, 1.4rem) var(--gutter);
}
.pn-logo { display: block; flex: none; }
.pn-logo img { width: clamp(150px, 13vw, 200px); height: auto; }
.pn-list { display: flex; gap: clamp(0.25rem, 1vw, 1rem); margin: 0; padding: 0; list-style: none; }
.pn-btn {
  font: inherit; font-weight: 500; font-size: 0.95rem; letter-spacing: -0.01em;
  color: var(--white); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.6em 0.85em; border-radius: 999px;
}
.pn-btn:hover, .pn-item.is-open .pn-btn { background: rgba(255,255,255,0.14); }
.pn-btn[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--turquoise); border-radius: 0; }
.pn-caret {
  width: 0.45em; height: 0.45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  flex: none; transform: translateY(-20%) rotate(45deg); transition: transform 160ms ease;
}
[aria-expanded="true"] > .pn-caret { transform: translateY(20%) rotate(-135deg); }

.pn-burger {
  display: none; align-items: center; gap: 0.6em;
  font: inherit; font-weight: 500; font-size: 0.95rem; color: var(--white);
  background: none; border: 1.5px solid rgba(255,255,255,0.75); border-radius: 999px;
  padding: 0.55em 1.1em; cursor: pointer;
}
.pn-burger-lines, .pn-burger-lines::before, .pn-burger-lines::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.pn-burger-lines::before, .pn-burger-lines::after { content: ''; position: absolute; left: 0; }
.pn-burger-lines::before { top: -6px; }
.pn-burger-lines::after { top: 6px; }

/* Mega-menu: sub-pages left, one featured card right */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--blue);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.35);
  border-top: 1px solid var(--line);
}
.mega-inner {
  max-width: 84rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 22rem; gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) var(--gutter) clamp(2rem, 3.5vw, 2.75rem);
}
.mega-be {
  font-weight: 500; letter-spacing: var(--track); line-height: 1;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 0.5rem;
}
.mega-intro { font-weight: 300; font-size: 1rem; line-height: 1.55; margin: 0 0 1.5rem; max-width: 52ch; }
.mega-links {
  columns: 2; column-gap: 2.5rem; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.mega-links li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.mega-links a {
  display: block; padding: 0.75em 0; color: inherit; text-decoration: none;
  font-weight: 400; font-size: 1rem;
}
.mega-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mega-feature {
  display: block; color: inherit; text-decoration: none;
  background: var(--blue-15); border-radius: var(--radius); overflow: hidden;
}
.mega-feature-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.mega-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature-text { display: block; padding: 1.1rem 1.25rem 1.3rem; }
.mega-feature-kicker {
  display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.7; margin-bottom: 0.4rem;
}
.mega-feature-title { display: block; font-weight: 500; font-size: 1.2rem; letter-spacing: var(--track); line-height: 1.15; }
.mega-feature-sub { display: block; font-weight: 300; font-size: 0.92rem; line-height: 1.5; margin-top: 0.35rem; }
.mega-feature:hover .mega-feature-title { text-decoration: underline; text-underline-offset: 5px; }

/* Full-screen mobile menu */
.mm {
  position: fixed; inset: 0; z-index: 100;
  background: var(--blue); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--gutter) 2.5rem;
}
.mm[hidden] { display: none; }
.mm-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.mm-close {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: inherit; font-weight: 500; font-size: 0.95rem; color: var(--white);
  background: none; border: 1.5px solid rgba(255,255,255,0.75); border-radius: 999px;
  padding: 0.55em 1.1em; cursor: pointer;
}
.mm-x { position: relative; width: 14px; height: 14px; }
.mm-x::before, .mm-x::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%) rotate(45deg);
}
.mm-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mm-list { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-inv); }
.mm-item { border-bottom: 1px solid var(--line-inv); }
.mm-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font: inherit; font-weight: 500; font-size: 1.6rem; letter-spacing: var(--track);
  color: var(--white); background: none; border: 0; padding: 0.7em 0; cursor: pointer; text-align: left;
}
.mm-panel { padding: 0 0 1.25rem; }
.mm-panel .mega-be { font-size: 1.1rem; opacity: 0.75; margin-bottom: 0.6rem; }
.mm-panel ul { margin: 0; padding: 0; list-style: none; }
.mm-panel a { display: block; color: inherit; text-decoration: none; font-weight: 300; font-size: 1.08rem; padding: 0.6em 0; }
.mm-panel a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mm-util { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.mm-util a {
  display: inline-block; color: inherit; text-decoration: none; font-size: 0.92rem;
  padding: 0.6em 1.1em; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
}

@media (max-width: 1079px) {
  .pn-list { display: none; }
  .pn-burger { display: inline-flex; }
  .util-links { display: none; }
}
@media (max-width: 560px) {
  .util-note { font-size: 0.74rem; }
}

/* ---------- Homepage hero tweaks ---------- */
.hero--home { padding-top: clamp(9.5rem, 20vh, 13rem); }
.hero--home .hero-foot .h-sub { max-width: 20ch; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.02; }
.hero-media img { object-position: var(--pos, 50% 50%); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--blue); color: var(--white);
  padding: clamp(3.5rem, 9vh, 6.5rem) var(--gutter) clamp(2.75rem, 6vh, 4.5rem);
}
.page-hero--photo { min-height: clamp(26rem, 62vh, 40rem); display: flex; align-items: flex-end; background: #111; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; margin: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.page-hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 80%),
    linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%);
}
.page-hero-inner { max-width: 84rem; margin: 0 auto; width: 100%; }

/* Split hero: text on navy, photo beside it. Used instead of text-over-
   photo on inner pages so AA contrast never depends on how bright the
   photo is (the fog and patio frames are near-white in places). */
.page-hero--split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  padding: 0;
}
.page-hero--split .page-hero-inner {
  max-width: 50rem; margin: 0 0 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vh, 4rem) var(--gutter);
}
.split-media { position: relative; margin: 0; min-height: 22rem; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.split-media .tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; color: var(--white); background: rgba(0,0,0,0.55); white-space: normal; max-width: calc(100% - 2rem); }
@media (max-width: 899px) {
  .page-hero--split { grid-template-columns: 1fr; }
  .split-media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .page-hero--split .page-hero-inner { margin: 0; max-width: none; padding-top: 2rem; }
}
.page-hero .sec-kicker { opacity: 0.85; }
.page-hero h1 {
  font-weight: 500; letter-spacing: var(--track); line-height: 0.95;
  font-size: clamp(2.4rem, 6vw, 5rem); margin: 0 0 1rem; max-width: 16ch;
}
.page-hero .lede {
  font-weight: 300; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55;
  max-width: 48ch; margin: 0;
}
.page-hero .photo-note { position: absolute; right: var(--gutter); top: 1rem; }
.page-hero .tag-placeholder { color: var(--white); background: rgba(0,0,0,0.35); }

.crumbs { font-size: 0.85rem; margin: 0 0 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4em; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 0.4em; opacity: 0.6; }
.crumbs a { color: inherit; text-underline-offset: 4px; }

/* ---------- Grounds (adjacent sections never share one) ---------- */
.g-white { background: var(--white); color: var(--blue); }
.g-blue15 { background: var(--blue-15); color: var(--blue); }
.g-navy { background: var(--blue); color: var(--white); }
.g-blue15 .sec-kicker, .g-white .sec-kicker { color: var(--blue); }
/* AA: the landing page's 65% kicker on blue-15 blends to ~4.1:1; 80% gives ~6:1.
   Same fix needed on the live landing page (#whatson, #sports kickers). */
.g-blue15 .sec-kicker, .s-whatson .sec-kicker, .recipients-label, .stat-meta { opacity: 0.8; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.sec-head .sec-h2, .sec-head .sec-lede { margin-bottom: 0; }
.sec-head .sec-lede { margin-top: 0.75rem; }
.text-link { color: inherit; font-weight: 500; text-underline-offset: 5px; }

/* ---------- Area cards (reuse .tiles--split) ---------- */
.s-areas { padding-top: clamp(3rem, 7vh, 5rem); }
.tiles--areas .tile-media { aspect-ratio: 4 / 3; }
.tiles--areas .tile h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); }
.photo-needed {
  position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3; border-radius: 4px; background: var(--blue-15); color: var(--blue);
  border: 1.5px dashed var(--line-strong); padding: 1.5rem;
}
.photo-needed span { font-size: 0.9rem; font-weight: 400; max-width: 22ch; line-height: 1.45; }
.photo-needed .tag { margin-bottom: 0.6rem; }

/* ---------- Featured itinerary (navy editorial moment) ---------- */
.feature-trip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .feature-trip { grid-template-columns: 1fr; } }
.feature-trip-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.feature-trip-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-trip-media .tag { position: absolute; left: 1rem; top: 1rem; z-index: 2; color: var(--white); background: rgba(0,0,0,0.45); }
.g-navy .btn-a { background: var(--white); color: var(--blue); }
.g-navy .btn-a:hover { background: var(--turquoise); color: var(--white); }
.g-navy .btn-b { border-color: rgba(255,255,255,0.75); color: var(--white); }
.g-navy .btn-b:hover { background: var(--white); color: var(--blue); }

/* itinerary fact list (time budget, travel mode, season, good for) */
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  margin: 1.75rem 0; border-top: 1px solid var(--line);
}
.facts > div { padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; margin: 0 0 0.3rem; }
.facts dd { margin: 0; font-weight: 400; font-size: 1rem; line-height: 1.4; }
.g-navy .facts, .g-navy .facts > div, .page-hero .facts, .page-hero .facts > div { border-color: var(--line-inv); }
@media (max-width: 340px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts dd { font-size: 0.92rem; } }

/* ---------- News strip ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } }
.news-item { border-top: 2px solid var(--blue); padding-top: 1.1rem; }
.news-source { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin: 0 0 0.6rem; }
.news-title { font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); letter-spacing: var(--track); line-height: 1.25; margin: 0 0 0.75rem; }
.news-item .tag { margin-top: 0.25rem; }

/* What's On on home: single live card sits beside the calendar card */
.whatson-events { margin-top: clamp(2.5rem, 5vh, 3.5rem); }

/* ---------- Buttons: save / small ---------- */
.fav-btn {
  display: inline-flex; align-items: center; gap: 0.45em;
  font: inherit; font-weight: 500; font-size: 0.88rem; color: var(--blue);
  background: var(--white); border: 1.5px solid var(--blue); border-radius: 999px;
  padding: 0.45em 1em; cursor: pointer; transition: background 160ms ease, color 160ms ease;
}
.fav-btn::before { content: '\2661'; font-size: 1.1em; line-height: 1; }
.fav-btn[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.fav-btn[aria-pressed="true"]::before { content: '\2665'; }
.fav-btn:hover { background: var(--blue-15); color: var(--blue); }
.fav-btn[aria-pressed="true"]:hover { background: var(--turquoise); color: var(--white); }
.btn-sm { font-size: 0.88rem; padding: 0.55em 1.15em; }

/* ---------- Map page ---------- */
.map-intro { padding-bottom: 0; }
.demo-note {
  font-size: 0.9rem; font-weight: 400; line-height: 1.55;
  padding: 0.9em 1.2em; border-left: 3px solid var(--turquoise);
  background: var(--blue-15); border-radius: 0 4px 4px 0; max-width: 72ch; margin: 0;
}
.demo-note strong { font-weight: 500; }

.filters { margin: 0; }
.filter-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
/* phones: filters fold behind a toggle so the map isn't pushed off-screen */
.filter-toggle { display: none; margin-top: 1.25rem; }
@media (max-width: 899px) {
  .filter-toggle { display: inline-flex; }
  .filters:not(.is-open) .filter-bar { display: none; }
}
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend {
  font-weight: 500; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.65rem; padding: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-size: 0.88rem; font-weight: 400; line-height: 1.2;
  padding: 0.5em 0.95em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--white); color: var(--blue);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.chip span:hover { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); color: var(--white); border-color: var(--blue); }
.chip input:checked + span::before { content: '\2713'; font-size: 0.85em; }
.chip input:focus-visible + span { outline: 3px solid var(--turquoise); outline-offset: 2px; }

.filter-status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}
.filter-count { font-weight: 500; font-size: 1rem; margin: 0; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn-plain {
  font: inherit; font-weight: 500; font-size: 0.9rem; color: var(--blue);
  background: none; border: 0; padding: 0.4em 0.2em; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}

.map-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start;
}
.map-pane { position: sticky; top: 1rem; order: 2; }
.map-canvas {
  height: calc(100vh - 2rem); min-height: 420px; max-height: 820px;
  border-radius: var(--radius); overflow: hidden; background: var(--blue-15);
}
.list-pane { order: 1; }
@media (max-width: 899px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-pane { position: relative; top: 0; order: 1; }
  .list-pane { order: 2; }
  .map-canvas { height: 58vh; min-height: 320px; }
}

.place-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.place-card {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1rem; border-radius: var(--radius); background: var(--white);
  border: 1.5px solid var(--line); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.place-card--nothumb { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 1.25rem; }
.place-card.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--turquoise); }
.place-thumb { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 1; background: var(--blue-15); }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-thumb--none {
  display: grid; place-items: center; text-align: center; padding: 0.5rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  border: 1.5px dashed var(--line-strong);
}
.place-meta { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; margin: 0 0 0.3rem; }
.place-name { font-weight: 500; font-size: 1.15rem; letter-spacing: var(--track); line-height: 1.2; margin: 0 0 0.4rem; }
.place-desc { font-weight: 300; font-size: 0.95rem; line-height: 1.5; margin: 0 0 0.6rem; }
.place-addr { font-size: 0.88rem; margin: -0.3rem 0 0.6rem; }
.place-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.8rem; padding: 0; list-style: none; }
.place-tags li { font-size: 0.75rem; font-weight: 400; padding: 0.25em 0.7em; border-radius: 999px; background: var(--blue-15); }
.place-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.place-actions a { color: inherit; font-size: 0.88rem; font-weight: 500; text-underline-offset: 4px; }
.btn-show {
  font: inherit; font-weight: 500; font-size: 0.88rem; color: var(--white);
  background: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px;
  padding: 0.45em 1em; cursor: pointer;
}
.btn-show:hover { background: var(--turquoise); border-color: var(--turquoise); }
@media (max-width: 480px) {
  .place-card { grid-template-columns: 1fr; }
  .place-thumb { aspect-ratio: 16 / 9; }
  .place-thumb--none { aspect-ratio: auto; padding: 0.6rem; }
}
.empty-state { padding: 2rem; border-radius: var(--radius); background: var(--blue-15); }
.empty-state p { margin: 0 0 1rem; }

/* ---------- Maps: brand treatment ----------
   MapLibre GL + OpenFreeMap vector tiles. The basemap colours are set in
   js/map-common.js (WT.brandStyle); everything drawn on top of it is
   styled here. All values come from the landing-page tokens. */
.wt-map { background: #EEF0F6; font-family: 'Poppins', system-ui, sans-serif; }
.wt-map .maplibregl-canvas:focus-visible { outline: 3px solid var(--turquoise); outline-offset: -3px; }

/* Teardrop pins: each is a <button>, tip on the spot, white ring for
   3:1 against any ground */
.wt-pin-wrap { display: block; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; }
.wt-pin {
  position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--blue); border: 2.5px solid var(--white);
  border-radius: 50% 50% 0 50%; transform: rotate(45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  transition: background 150ms ease;
}
.wt-pin-label {
  transform: rotate(-45deg);
  font: 500 15px/1 'Poppins', sans-serif; color: var(--white); letter-spacing: -0.02em;
}
.wt-pin:not(.wt-pin--num) .wt-pin-label { width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.wt-pin.is-active, .wt-pin-wrap:hover .wt-pin { background: var(--turquoise); }
.wt-pin.is-active .wt-pin-label, .wt-pin-wrap:hover .wt-pin-label { color: var(--blue); }
.wt-pin:not(.wt-pin--num).is-active .wt-pin-label, .wt-pin-wrap:hover .wt-pin:not(.wt-pin--num) .wt-pin-label { background: var(--blue); }
/* passport: number in brand green, like the callout's stamp */
.wt-pin--passport .wt-pin-label { color: var(--green); }
.wt-pin-wrap:focus-visible { outline: none; }
.wt-pin-wrap:focus-visible .wt-pin { box-shadow: 0 0 0 3px var(--blue), 0 0 0 6px var(--turquoise); }

/* Popups: white card, brand type */
.wt-popup .maplibregl-popup-content { padding: 0; border-radius: 6px; box-shadow: 0 14px 32px -10px rgba(0,0,0,0.45); font-family: 'Poppins', system-ui, sans-serif; }
.wt-pop { padding: 0.95rem 2.4rem 1rem 1.1rem; color: var(--blue); min-width: 210px; }
.wt-pop p { margin: 0; }
.wt-pop-kicker { font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.wt-pop-name { font-weight: 500; font-size: 1.05rem; letter-spacing: var(--track); line-height: 1.2; margin: 0.25rem 0 0.2rem !important; }
.wt-pop-meta { font-weight: 300; font-size: 0.85rem; line-height: 1.4; }
.wt-pop-links { display: flex; gap: 1.1rem; margin-top: 0.7rem !important; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.wt-pop-links a { color: var(--blue); font-weight: 500; font-size: 0.85rem; text-underline-offset: 4px; }
.wt-popup .maplibregl-popup-close-button { width: 36px; height: 36px; font: 400 22px/36px 'Poppins', sans-serif; color: var(--blue); border-radius: 0 6px 0 6px; }
.wt-popup .maplibregl-popup-close-button:hover { background: var(--blue-15); }

/* Controls: round, white, navy, like the site's pills */
.wt-map .maplibregl-ctrl-group { border-radius: 999px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.22); }
.wt-map .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.wt-map .maplibregl-ctrl-group button:hover { background-color: var(--blue-15); }
.wt-map-reset {
  font: 500 0.85rem/1 'Poppins', sans-serif; color: var(--blue); background: var(--white);
  border: 0; border-radius: 999px; padding: 0.7em 1.15em; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}
.wt-map-reset:hover { background: var(--blue); color: var(--white); }
.wt-map .maplibregl-ctrl-attrib { font-size: 0.68rem; color: var(--blue); }
.wt-map .maplibregl-ctrl-attrib a { color: var(--blue); }
/* "use ctrl + scroll / two fingers" hint, in brand colours */
.wt-map .maplibregl-cooperative-gesture-screen { background: rgba(24,40,86,0.72); font-family: 'Poppins', system-ui, sans-serif; font-size: 1rem; }

/* Legend under the map */
.map-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0.9rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; }
.map-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.lg-line { width: 30px; height: 0; border-top: 4px solid var(--blue); border-radius: 2px; }
.lg-line--dot { border-top-style: dotted; }
.lg-pin { width: 14px; height: 14px; background: var(--blue); border-radius: 50% 50% 0 50%; transform: rotate(45deg); }
.lg-pin--passport { box-shadow: inset 0 0 0 4px var(--blue), inset 0 0 0 7px var(--green); }

/* passport list: card number matches its pin */
.stamp-num {
  display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-right: 0.6rem;
  border-radius: 50%; background: var(--blue); color: var(--green);
  font-size: 0.8rem; letter-spacing: 0; vertical-align: middle;
}

/* ---------- Itinerary ---------- */
.trip-hero .facts { max-width: 44rem; }
.trip-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin-top: 1.5rem; }
.page-hero .btn-a { background: var(--white); color: var(--blue); }
.page-hero .btn-a:hover { background: var(--turquoise); color: var(--white); }
.page-hero .btn-b { border-color: rgba(255,255,255,0.75); color: var(--white); }
.page-hero .btn-b:hover { background: var(--white); color: var(--blue); }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.trip-layout .map-pane { order: 2; }
.trip-layout .map-canvas { height: min(78vh, 680px); }
@media (max-width: 899px) {
  .trip-layout { grid-template-columns: minmax(0, 1fr); }
  .trip-layout .map-pane { order: 0; position: relative; top: 0; }
  .trip-layout .map-canvas { height: 50vh; min-height: 300px; }
}

.stops { margin: 0; padding: 0; list-style: none; counter-reset: stop; }
.stop { position: relative; padding: 0 0 2.25rem 4rem; }
.stop::before {
  content: ''; position: absolute; left: 1.05rem; top: 2.4rem; bottom: 0.4rem;
  border-left: 2px dotted var(--line-strong);
}
.stop:last-child::before { display: none; }
.stop-num {
  position: absolute; left: 0; top: 0;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-weight: 500; font-size: 1rem;
}
.stop.is-active > .stop-num { background: var(--turquoise); color: var(--blue); }
.stop-choice .place-card { padding: 0.9rem 1rem; }
.stop-time { font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin: 0.35rem 0 0.4rem; }
.stop h3 { font-weight: 500; letter-spacing: var(--track); line-height: 1.15; font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 0 0 0.6rem; }
.stop-body p { font-weight: 300; font-size: 1rem; line-height: 1.65; margin: 0 0 0.9rem; max-width: 56ch; }
.stop-media { margin: 0 0 1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-width: 34rem; }
.stop-media img { width: 100%; height: 100%; object-fit: cover; }
.stop-tips { margin: 0 0 1rem; padding: 0.9em 1.2em; list-style: none; border-left: 3px solid var(--turquoise); background: var(--blue-15); border-radius: 0 4px 4px 0; max-width: 56ch; }
.stop-tips li { font-size: 0.95rem; line-height: 1.55; padding: 0.15em 0; }
.stop-tips li::before { content: '\2192\00a0'; }
.stop-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0 0 1rem; max-width: 40rem; }
.stop-choice > div { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.stop-choice p { margin: 0 0 0.5rem; font-size: 0.92rem; line-height: 1.5; font-weight: 300; }
.stop-choice strong { display: block; font-weight: 500; font-size: 1rem; margin-bottom: 0.25rem; }
@media (max-width: 560px) { .stop-choice { grid-template-columns: 1fr; } }
.stop-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.trip-later { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.later-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.later-card h3 { font-weight: 500; font-size: 1.05rem; margin: 0.75rem 0 0.4rem; }
.later-card p { font-weight: 300; font-size: 0.95rem; line-height: 1.55; margin: 0; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.related a { display: block; height: 100%; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--white); color: inherit; text-decoration: none; border: 1.5px solid var(--line); }
.related a:hover { border-color: var(--blue); }
.related strong { display: block; font-weight: 500; font-size: 1.1rem; letter-spacing: var(--track); margin: 0.2rem 0 0.35rem; }
.related span { font-weight: 300; font-size: 0.95rem; line-height: 1.5; }

/* ---------- Brewery Passport ---------- */
.passport-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .passport-intro { grid-template-columns: 1fr; } }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.6rem; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; margin-bottom: 0.9rem;
  background: var(--blue); color: var(--white); font-weight: 500;
}
.steps h3 { font-weight: 500; font-size: 1.1rem; letter-spacing: var(--track); margin: 0 0 0.45rem; }
.steps p { font-weight: 300; font-size: 0.95rem; line-height: 1.55; margin: 0; }
.steps a { color: inherit; font-weight: 500; }

.fine-print { font-size: 0.9rem; font-weight: 300; line-height: 1.6; max-width: 70ch; margin: 1.5rem 0 0; }
.fine-print a { color: inherit; font-weight: 500; }
.source-line { font-size: 0.82rem; opacity: 0.75; margin: 1rem 0 0; }
.source-line a { color: inherit; }

/* Reusable callout for any brewery page: "This is a passport stop" */
.callout-passport {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem 1.4rem; align-items: start;
  background: var(--blue); color: var(--white); border-radius: 10px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.callout-stamp {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  border: 2px dashed var(--green); color: var(--green);
  display: grid; place-items: center; text-align: center;
  font-weight: 500; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
  transform: rotate(-8deg);
}
.callout-passport h3 { font-weight: 500; font-size: 1.25rem; letter-spacing: var(--track); margin: 0 0 0.4rem; }
.callout-passport p { font-weight: 300; font-size: 0.98rem; line-height: 1.55; margin: 0 0 1rem; max-width: 52ch; }
.callout-passport .btn-a { background: var(--white); color: var(--blue); }
.callout-passport .btn-a:hover { background: var(--turquoise); color: var(--white); }
.callout-meta { font-size: 0.82rem; opacity: 0.8; margin: 0.9rem 0 0 !important; }
@media (max-width: 480px) { .callout-passport { grid-template-columns: 1fr; } }

.component-frame {
  border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--white);
}
.component-frame-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; margin: 0 0 0.9rem; }
.mock-brewery-head { padding: 0 0 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mock-brewery-head p { margin: 0; }
.mock-line { height: 0.6rem; border-radius: 999px; background: var(--blue-15); margin: 0.5rem 0; }

.later-panel {
  border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
}
@media (max-width: 860px) { .later-panel { grid-template-columns: 1fr; } }
.later-panel ul { margin: 0; padding: 0; list-style: none; }
.later-panel li { font-weight: 300; font-size: 0.98rem; line-height: 1.5; padding: 0.6em 0; border-bottom: 1px solid var(--line); }
.later-panel li:last-child { border-bottom: 0; }
.later-panel li strong { font-weight: 500; }

.pickup-list { margin: 0; padding: 0; list-style: none; }
.pickup-list li { padding: 0.65em 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; font-weight: 300; line-height: 1.45; }
.pickup-list li strong { font-weight: 500; display: block; }

.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat-tile { background: var(--blue-15); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.stat-tile .stat-figure { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin: 0.1em 0 0.15em; }
.stat-tile .stat-sub { margin: 0; }

/* ---------- Stub page ---------- */
.stub-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.stub-links a {
  display: inline-block; color: var(--blue); text-decoration: none; font-size: 0.95rem;
  padding: 0.65em 1.2em; border-radius: 999px; background: var(--white);
}
.stub-links a:hover { background: var(--blue); color: var(--white); }
.stub-links a[aria-current="page"] { background: var(--blue); color: var(--white); }

/* ---------- Footer additions ---------- */
.foot-cols {
  max-width: 84rem; margin: 0 auto 3rem; padding-bottom: 2.5rem;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem;
  border-bottom: 1px solid var(--line-inv);
}
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-cols { gap: 1.75rem 1.25rem; } }
.foot-col ul { margin: 0.8rem 0 0; padding: 0; list-style: none; }
.foot-col a { display: inline-block; padding: 0.3em 0; font-size: 0.92rem; font-weight: 300; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot .tag-placeholder { color: var(--white); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mega-feature:hover img { transform: none; }
}
