/* ==========================================================================
   Acropolis Tickets Info - acropolis-tickets.info
   Design: less is more. White sheet on a calm grey frame, one typeface
   (Inter), neutral surfaces separated by tone steps, and one Hellenic blue
   reserved for the actions: the header button, the card buttons, links and
   the route on the map.
   ========================================================================== */

/* Self-hosted fonts (latin + latin-ext, variable weight). Served from /fonts/
   instead of Google Fonts so no visitor IP goes to Google (GDPR). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  /* Surfaces: cool marble neutrals */
  --bg: #dfe4ea;          /* page frame, marble in shade */
  --surface: #ffffff;
  --panel: #f3f5f8;       /* soft section background */
  --panel-2: #e9edf2;

  /* Ink: deep Aegean navy instead of black */
  --ink: #0f1d30;
  --ink-soft: #46546a;
  --ink-faint: #5b6880;
  --on-dark: #ffffff;

  /* Lines */
  --line: #e2e7ed;
  --line-strong: #cdd5df;

  /* Accent: Hellenic blue. White text on --accent is 5.5:1. */
  --accent: #1668c4;
  --accent-ink: #0d4a8f;
  /* CTA: complementary orange to the Aegean blue, used ONLY for booking buttons and the #1 pick */
  --cta: #c2410c;
  --cta-ink: #9a3412;

  /* Status dots and the "Closed" label on the hours tools */
  --ok: #1f9d5b;
  --bad: #a3271f;

  /* Type */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow-float: 0 18px 40px -24px rgba(15, 29, 48, 0.4); /* open mobile menu only */

  --wrap: 1200px;
  --gutter: 40px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(15, 29, 48, 0.08);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; touch-action: manipulation; }
a, button { touch-action: manipulation; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { top: 16px; }

/* ---------- Page sheet (the framed white container) ---------- */
.page {
  max-width: 1440px;
  margin: 18px auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: clip;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 1476px) { .page { margin: 18px; } }
@media (max-width: 720px) {
  :root { --gutter: 18px; --r-xl: 22px; --r-lg: 18px; }
  .page { margin: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--cta); color: var(--on-dark); }
.btn-dark:hover { background: var(--cta-ink); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.86rem; }
.btn-full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  min-height: 44px;
}
.brand .star { color: var(--accent); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--panel); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--panel-2); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    padding: 4px calc(var(--gutter) - 12px) 18px;
  }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 1.02rem; border-radius: var(--r-sm); }
}
@media (max-width: 480px) {
  .nav-inner { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand { font-size: 1.02rem; }
  .nav-right .btn { padding: 8px 13px; font-size: 0.8rem; }
}


/* ---------- Hero: photo, headline, one line. The tickets follow directly. ---------- */
.hero { padding: 0 20px; }
.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: clamp(300px, 30vw, 380px);
  display: flex;
  background: var(--ink);
}
.hero-slide { position: absolute; inset: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* neutral scrim so the white type holds on the photo */
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(9, 22, 40, 0.42); }
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--wrap) - 40px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(22px, 3.4vw, 44px) 20px;
  color: var(--on-dark);
}
.hero-content h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-top: 16px;
}
.hero-content .hero-sub { margin-top: 12px; font-size: 1.06rem; line-height: 1.5; color: var(--on-dark); max-width: 52ch; }
.hero + .section { padding-top: clamp(28px, 3vw, 40px); }
@media (max-width: 720px) {
  .hero { padding: 0 8px; }
  .hero-media { min-height: 300px; }
  .hero-content { padding: 20px 14px; }
}

/* ---------- "Open now" chip ---------- */
.open-now {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem; font-weight: 600; line-height: 1.3;
}
a.open-now:hover { text-decoration: underline; text-underline-offset: 3px; }
.on-dot {
  flex-shrink: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-faint);
}
.open-now[data-state="open"] .on-dot { background: var(--ok); }
.open-now[data-state="soon"] .on-dot { background: var(--ink-faint); }
.open-now[data-state="closed"] .on-dot { background: var(--bad); }
.open-now.compact { background: var(--panel); margin-bottom: 20px; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section.panel { background: var(--panel); }
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.head-row h2, .section-title h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.head-row p { color: var(--ink-soft); max-width: 42ch; margin-top: 12px; }
.section-title { max-width: 960px; margin: 0 auto 28px; }
.section-title p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }
.view-all { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; }
.view-all svg { width: 18px; height: 18px; transition: transform 0.16s ease; }
.view-all:hover { color: var(--ink); }
.view-all:hover svg { transform: translateX(3px); }

/* ---------- Filter tabs ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 26px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab {
  min-height: 42px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft);
  background: var(--panel);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.filter-tab:hover { background: var(--panel-2); color: var(--ink); }
.filter-tab.active { background: var(--ink); color: var(--on-dark); }
.filter-count { color: var(--ink-faint); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  /* one swipeable row instead of three wrapped rows above the first ticket */
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; }
}

/* ---------- Ad label (affiliate disclosure above every tour grid) ---------- */
.head-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.ad-note {
  font-size: 0.74rem; font-weight: 600;
  color: var(--ink-faint);
  background: var(--panel); padding: 3px 9px; border-radius: 6px;
}
a.ad-note:hover { color: var(--ink); background: var(--panel-2); }

/* ---------- Ticket cards (conversion-first) ---------- */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.load-more { display: block; margin: 28px auto 0; min-height: 48px; padding: 13px 30px; border-radius: 999px; background: var(--panel); color: var(--ink); font-weight: 600; font-size: 0.92rem; transition: background-color 0.16s ease; }
.load-more:hover { background: var(--panel-2); }
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.section.panel .tour-card { background: var(--surface); }
.tour-card.is-clickable { cursor: pointer; }
.tour-card.is-featured { box-shadow: none; }
/* "Best value" replaces the badge on the featured card (top-left),
   so it never collides with the rating pill on the top-right. */
.tour-card.is-featured .tour-badge { display: none; }
.featured-flag {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--on-dark);
  font-size: 0.76rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; z-index: 3; white-space: nowrap;
}
.featured-flag::before { content: "★"; font-size: 0.9em; line-height: 1; }
.tour-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel-2); }
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tour-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--on-dark);
  font-size: 0.76rem; font-weight: 600;
  padding: 6px 11px; border-radius: 999px;
}
.tour-rating {
  position: absolute; top: 12px; right: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums;
  padding: 6px 10px; border-radius: 999px;
}
.tour-rating .rc { color: var(--ink-faint); font-weight: 500; }
.tour-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; }
.tour-loc { font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }
.tour-name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--ink); line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty; }
.tour-social { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--ink-soft); }
.tour-social svg { width: 14px; height: 14px; color: var(--ink-faint); flex-shrink: 0; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.76rem; font-weight: 500; color: var(--ink-soft);
  background: var(--surface); border-radius: 999px; padding: 4px 10px;
}
.section.panel .chip { background: var(--panel); }
.chip svg { width: 12px; height: 12px; flex-shrink: 0; }
.chip.free { color: var(--ink); font-weight: 600; }
.tour-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 0.84rem; color: var(--ink-soft); white-space: nowrap; }
.price strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tour-cta { flex: 1 1 auto; min-height: 44px; }

/* two cards: same card width as the 3-up grid, centred, no empty third column */
.tours.two { grid-template-columns: repeat(2, minmax(0, calc((100% - 40px) / 3))); justify-content: center; }
@media (max-width: 1040px) { .tours, .tours.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tours, .tours.two { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 26px 0 0;
}
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.trust-item svg { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; }

/* ---------- Plan links (homepage): one quiet row under the tickets ---------- */
.plan-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.pl-k { color: var(--ink-faint); }
.plan-links a { padding: 6px 0; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
.plan-links a:hover { text-decoration-color: currentColor; }
@media (max-width: 560px) { .pl-k { width: 100%; } }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px;
  text-align: left;
  font-weight: 600; font-size: 1.06rem; line-height: 1.35;
  color: var(--ink);
}
.faq-q:hover { color: var(--accent); }
.faq-ic { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; position: relative; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-ic::before { width: 13px; height: 1.8px; }
.faq-ic::after { width: 1.8px; height: 13px; transition: opacity 0.2s ease; }
.faq-item.open .faq-ic::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 2px 22px; color: var(--ink-soft); max-width: 80ch; line-height: 1.65; }
/* Internal links: same colour as the text, plain underline, so only the orange booking buttons draw the eye */
.faq-a a { color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--panel); padding: 56px 0 32px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 0.92rem; color: var(--ink-soft); max-width: 36ch; }
.foot-col .foot-h { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot-col a { display: inline-block; padding: 5px 0; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--ink-faint);
}
.foot-legal a { text-decoration: underline; text-underline-offset: 2px; }
.foot-legal a:hover { color: var(--ink); }
.foot-legal { margin-top: 14px; font-size: 0.8rem; line-height: 1.6; color: var(--ink-faint); max-width: 960px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Subpages
   ========================================================================== */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); padding: 4px 0; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { opacity: 0.6; }

.subhead { padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 5vw, 64px); }
.subhead h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); flex: 1 1 auto; min-width: 0; }
.subhead .head-row { margin-top: 18px; margin-bottom: 0; }
.subhead .lead { margin: 18px 0 30px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-soft); max-width: 80ch; }
.subhead .lead:last-child { margin-bottom: 0; }
.lead strong { color: var(--ink); font-weight: 600; }
.subhead .trust-strip { padding-top: 26px; }
/* a page whose header carries no tool or tickets: the prose follows directly */
.subhead + .section.panel { margin-top: 0; }

/* ---------- Opening hours date checker ---------- */
.hours-tool { background: var(--panel); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); margin-bottom: 30px; }
.ht-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 18px; }
.ht-label { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); margin-right: 6px; }
.ht-date {
  font: inherit; font-weight: 600; font-variant-numeric: tabular-nums;
  min-height: 46px; padding: 8px 14px;
  color: var(--ink); background-color: var(--surface);
  border: 2px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color 0.15s ease;
}
.ht-date:hover { border-color: var(--ink-faint); }
.ht-date:focus-visible { outline: none; border-color: var(--accent); }
.ht-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ht-quick button {
  min-height: 46px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); color: var(--ink-soft);
  font-size: 0.9rem; font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ht-quick button:hover { background: var(--panel-2); color: var(--ink); }
.ht-result { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.ht-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--surface); border-radius: var(--r-md);
  padding: 20px 22px 22px;
  min-width: 0;
}
.ht-k { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.ht-card.is-open .ht-k::before, .ht-card.is-closed .ht-k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ht-card.is-open .ht-k::before { background: var(--ok); }
.ht-card.is-closed .ht-k::before { background: var(--bad); }
.ht-status { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 6px; }
.ht-card:not(.is-open):not(.is-closed) .ht-status { font-size: 1.3rem; letter-spacing: -0.02em; }
.ht-card.is-closed .ht-status { color: var(--bad); }
.ht-sub { font-size: 0.95rem; color: var(--ink-soft); }
.ht-sub:empty { display: none; }
.ht-pill { margin-top: 10px; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 0.84rem; font-weight: 600; }
.ht-n { margin-top: 10px; display: block; padding: 9px 12px; border-radius: var(--r-sm); background: var(--panel); color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; line-height: 1.4; }
.ht-n + .ht-n { margin-top: 6px; }
.ht-note { margin-top: 14px; font-size: 0.84rem; color: var(--ink-faint); max-width: 80ch; }
@media (max-width: 720px) {
  .ht-result { grid-template-columns: 1fr; }
  .ht-label { width: 100%; }
  .ht-date { flex: 1 1 100%; }
  .ht-quick { width: 100%; }
  .ht-quick button { flex: 1 1 auto; padding-inline: 10px; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--panel); -webkit-overflow-scrolling: touch; }
.section.panel .table-wrap { background: var(--surface); }
.subhead .table-wrap { margin-bottom: 30px; }
.subhead .table-wrap:last-child { margin-bottom: 0; }
.hours-table, .prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.nw { white-space: nowrap; }
.hours-table th, .prose table th {
  text-align: left; font-weight: 600; font-size: 0.86rem; color: var(--ink-soft);
  padding: 14px 20px; background: var(--panel-2); white-space: nowrap;
}
.hours-table td, .prose table td { padding: 14px 20px; color: var(--ink-soft); border-top: 1px solid var(--line); vertical-align: top; }
.hours-table tbody tr:first-child td, .prose table tbody tr:first-child td { border-top: none; }
.hours-table td:first-child, .prose table td:first-child { color: var(--ink); font-weight: 500; }
.hours-table strong, .prose table strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .hours-table, .prose table { font-size: 0.88rem; }
  .hours-table th, .hours-table td, .prose table th, .prose table td { padding: 12px 12px; }
  .hours-table th, .prose table th { white-space: normal; }
  /* 4+ columns do not fit a phone: one block per row, column name as label */
  table.t-stack thead { display: none; }
  table.t-stack, table.t-stack tbody, table.t-stack tr, table.t-stack td { display: block; width: 100%; }
  table.t-stack tr { padding: 6px 0; border-top: 1px solid var(--line); }
  table.t-stack tbody tr:first-child { border-top: none; }
  table.t-stack td { border-top: none; padding: 4px 16px; }
  table.t-stack td:first-child { padding-top: 10px; font-size: 1rem; font-weight: 600; }
  table.t-stack td:last-child { padding-bottom: 10px; }
  table.t-stack td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-faint); }
}
@media (max-width: 400px) {
  .hours-table th, .hours-table td, .prose table th, .prose table td { padding: 10px 7px; }
  table.t-stack td { padding: 4px 14px; }
}
@media (max-width: 350px) { .hours-table .nw, .prose table .nw { white-space: normal; } }

/* ---------- Acropolis map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.map-col { position: sticky; top: 92px; min-width: 0; }
.amap { border-radius: var(--r-lg); overflow: hidden; background: var(--panel); line-height: 0; }
.amap svg { display: block; width: 100%; height: auto; font-family: var(--font-body); }

.m-bg { fill: var(--panel); }
.m-slope { fill: var(--panel-2); }
.m-road { fill: none; stroke: #ffffff; stroke-width: 15; stroke-linecap: round; }
.m-road.thin { stroke-width: 9; }
.m-road-l { font-size: 13px; font-weight: 500; fill: var(--ink-faint); letter-spacing: 0.01em; }
.m-rock { fill: #ffffff; stroke: var(--line-strong); stroke-width: 3; stroke-linejoin: round; }
.m-hill { fill: var(--panel-2); stroke: var(--line-strong); stroke-width: 1.5; }
.m-bldg { fill: #ffffff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-cols { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0.1 8.1; }
.m-cella { fill: var(--panel-2); stroke: none; }
.m-theatre { fill: #ffffff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-seat { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.m-orch { fill: var(--panel-2); stroke: var(--ink); stroke-width: 1.2; }
.m-stoa { fill: #ffffff; stroke: var(--ink); stroke-width: 1.4; }
.m-museum { fill: var(--ink); }
.m-path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.m-path.se { stroke: var(--accent); }
.ent circle, .ent rect { fill: var(--accent); stroke: #ffffff; stroke-width: 3; }
.ent text { fill: #ffffff; font-size: 14px; font-weight: 700; }
.ent.lift rect { fill: #ffffff; stroke: var(--accent); stroke-width: 2.5; }
.ent.lift text { fill: var(--accent-ink); }
.ent-halo { fill: var(--accent); opacity: 0; }
.ent-l { font-size: 15px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--panel); stroke-width: 4; stroke-linejoin: round; }
.ent-l.small { font-size: 12.5px; font-weight: 600; fill: var(--ink-soft); }
.ent-l.two-line { display: none; }
.metro circle { fill: #ffffff; stroke: var(--ink); stroke-width: 2; }
.metro text { fill: var(--ink); font-size: 13px; font-weight: 700; }
.north path { fill: var(--ink); }
.north text { fill: var(--ink); font-size: 13px; font-weight: 700; }
.m-note { font-size: 12.5px; font-weight: 500; fill: var(--ink-faint); }

.mk { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 0.18s ease; outline: none; }
.mk circle { fill: var(--ink); stroke: #ffffff; stroke-width: 2.5; transition: fill 0.18s ease; }
.mk .mk-hit { fill: transparent; stroke: none; }
.mk text { fill: #ffffff; font-size: 14px; font-weight: 700; pointer-events: none; font-variant-numeric: tabular-nums; }
.mk:hover { transform: scale(1.14); }
.mk:hover circle:not(.mk-hit), .mk.active circle:not(.mk-hit) { fill: var(--accent); }
.mk.active { transform: scale(1.3); }
.mk:focus-visible circle:not(.mk-hit) { stroke: var(--accent); stroke-width: 5; }
.mk.active circle:not(.mk-hit) { stroke-width: 4; }

/* /entrances/: the two gates carry the map, the monuments step back */
.amap[data-focus="entrances"] .mk { cursor: default; pointer-events: none; opacity: 0.4; transform: scale(0.8); }
.amap[data-focus="entrances"] .ent.main, .amap[data-focus="entrances"] .ent.se { transform-box: fill-box; transform-origin: center; transform: scale(1.55); }
.amap[data-focus="entrances"] .ent-halo { opacity: 0.2; }
.amap[data-focus="entrances"] .ent-l:not(.small) { font-size: 19px; }
.amap[data-focus="entrances"] .m-path { stroke-width: 5.5; }
.amap[data-focus="entrances"] .m-bldg, .amap[data-focus="entrances"] .m-theatre, .amap[data-focus="entrances"] .m-stoa { stroke: var(--ink-faint); }
.amap[data-focus="entrances"] .m-cols { stroke: var(--ink-faint); }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; }
.lg.ent { border-radius: 50%; background: var(--accent); }
.lg.lift { border-radius: 4px; background: var(--surface); border: 2px solid var(--accent); }
.lg.path { width: 26px; height: 4px; background: radial-gradient(circle, var(--accent) 2px, transparent 2.2px) left center / 8.6px 4px repeat-x; }

.map-list ol { display: flex; flex-direction: column; gap: 6px; }
.ml-item {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; min-height: 60px;
  border-radius: var(--r-md);
  background: var(--panel);
  text-align: left;
  transition: background-color 0.15s ease;
}
.ml-item:hover { background: var(--panel-2); }
.ml-n {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-dark);
  font-size: 0.86rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease;
}
.ml-t { display: flex; flex-direction: column; min-width: 0; }
.ml-t strong { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
.ml-t span { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; }
.ml-item.active { background: var(--ink); border-radius: var(--r-md) var(--r-md) 0 0; }
.ml-item.active .ml-n { background: var(--accent); color: var(--on-dark); }
.ml-item.active .ml-t strong, .ml-item.active .ml-t span { color: var(--on-dark); }
.ml-body { background: var(--panel); border-radius: 0 0 var(--r-md) var(--r-md); padding: 14px 16px 16px; }
.ml-body p { font-size: 0.94rem; line-height: 1.6; color: var(--ink); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.subhead .lead + .map-actions { margin-top: 0; }
.subhead .map-layout { margin-bottom: 0; }

@media (max-width: 960px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-col { position: static; }
}
@media (max-width: 640px) {
  /* the drawing shrinks to a third: scale markers and labels back up */
  .amap { margin: 0 calc(var(--gutter) * -1 + 6px); border-radius: var(--r-md); }
  .mk { transform: scale(1.5); }
  .mk:hover { transform: scale(1.5); }
  .mk.active { transform: scale(1.85); }
  .ent.main, .ent.se, .ent.lift, .metro { transform-box: fill-box; transform-origin: center; transform: scale(1.4); }
  .ent-l, .amap[data-focus="entrances"] .ent-l:not(.small) { font-size: 27px; stroke-width: 6; }
  .ent-l.small { font-size: 20px; }
  /* keep the labels off the map edge, the street name and the B marker */
  .ent-l.one-line { display: none; }
  .ent-l.two-line { display: inline; }
  .ent-l.se-l { transform: translateY(14px); }
  .ent-l.metro-l { transform: translateY(7px); }
  .m-road-l { font-size: 21px; }
  .m-note { font-size: 22px; }
  .north { display: none; }
  .amap[data-focus="entrances"] .mk { transform: scale(1); }
  .amap[data-focus="entrances"] .ent.main, .amap[data-focus="entrances"] .ent.se { transform: scale(2.1); }
}

/* ---------- Entrances ---------- */
.ent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.ent-card { position: relative; background: var(--panel); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); }
.ent-badge {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--on-dark);
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 18px;
}
.ent-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.03em; color: var(--ink); margin-bottom: 18px; }
.ent-facts { display: flex; flex-direction: column; }
.ent-facts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line-strong); font-size: 0.95rem; line-height: 1.5; }
.ent-facts b { font-weight: 600; color: var(--ink); }
.ent-facts span { color: var(--ink-soft); }
.ent-map { margin-top: 0; }
@media (max-width: 820px) { .ent-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ent-facts li { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 960px; margin: 0 auto; font-size: 1.12rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.03em; color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-size: 1.2rem; color: var(--ink); margin: 26px 0 8px; }
.prose p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.prose li { color: var(--ink-soft); line-height: 1.6; padding-left: 24px; position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol:not(.p-steps):not(.route-line) { list-style: decimal; margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ol:not(.p-steps):not(.route-line) > li { padding-left: 4px; }
.prose a { color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
.prose .updated { font-size: 0.88rem; color: var(--ink-faint); margin-bottom: 30px; }
.prose .table-wrap { margin: 26px 0; }

/* stat band */
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0; }
.p-stat { background: var(--surface); border-radius: var(--r-md); padding: 20px; min-width: 0; }
.p-stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.p-stat span { display: block; margin-top: 10px; font-size: 0.88rem; line-height: 1.4; color: var(--ink-soft); }

/* callout */
.p-callout { background: var(--surface); border-radius: var(--r-lg); padding: 22px 24px; margin: 30px 0; }
.p-callout p { margin: 0; color: var(--ink); }
.p-callout p + p { margin-top: 10px; }

/* card grid */
.p-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0; }
.p-cards.three { grid-template-columns: repeat(3, 1fr); }
.p-card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
.p-card .p-icon { display: block; line-height: 0; margin-bottom: 14px; color: var(--accent); }
.p-card .p-icon svg { width: 46px; height: auto; }
.prose .p-card h3 { margin: 0 0 8px; font-size: 1.16rem; }
.prose .p-card p { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--ink-soft); }
.prose .p-card p + p { margin-top: 8px; }
/* prose that sits on white instead of a panel */
.section:not(.panel) .p-stat, .section:not(.panel) .p-card, .section:not(.panel) .p-callout { background: var(--panel); }

/* pull quote */
.prose .p-quote { margin: 36px 0; padding: 0; font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }

/* numbered steps */
.prose .p-steps { list-style: none; display: grid; gap: 8px; margin: 26px 0; padding: 0; counter-reset: p-step; }
.prose .p-steps li { position: relative; padding: 18px 20px 18px 66px; background: var(--surface); border-radius: var(--r-md); min-height: 66px; }
.prose .p-steps li::before {
  counter-increment: p-step; content: counter(p-step);
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: 18px; top: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--ink); color: var(--on-dark);
  font-weight: 600; font-size: 0.95rem;
}
.p-steps li > strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.05rem; }
.p-steps li span { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.section:not(.panel) .prose .p-steps li { background: var(--panel); }

/* inline mid CTA boxes in the prose are switched off: the header button and
   the ticket cards are the only calls to action */
.prose .p-cta { display: none; }
@media (max-width: 760px) { .p-cards.three, .p-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .p-cards, .p-cards.three { grid-template-columns: 1fr; } .p-callout { padding: 18px; } }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Print. Any page prints without chrome; the "Print this map" button on
   /map/ (body.print-map) prints the map and its numbered key on one page.
   ========================================================================== */
@media print {
  @page { margin: 12mm; }
  html, body { background: #fff; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .page { margin: 0; max-width: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .wrap { padding: 0; max-width: none; }
  .nav, .skip-link, .foot-grid, .map-actions, .filter-bar, .load-more, .faq-ic { display: none !important; }
  .faq-a { max-height: none !important; }
  .section, .subhead { padding: 6mm 0; }
  .section.panel, .footer { background: none; }
  .map-col { position: static; }
  .tour-card, .faq-item, .p-card, .ht-card, .ent-card { break-inside: avoid; }

  body.print-map .section, body.print-map .footer, body.print-map .breadcrumb, body.print-map .lead { display: none !important; }
  body.print-map .subhead { padding: 0; }
  body.print-map .subhead h1 { font-size: 20pt; max-width: none; }
  body.print-map .subhead .head-row { margin: 0 0 4mm; }
  body.print-map .map-layout { display: block; }
  body.print-map .amap { border-radius: 3mm; break-inside: avoid; }
  body.print-map .amap svg { max-height: 150mm; }
  body.print-map .mk { transform: none !important; }
  body.print-map .mk circle:not(.mk-hit) { fill: var(--ink) !important; stroke-width: 2.5 !important; }
  body.print-map .map-legend { margin: 3mm 0 4mm; font-size: 8.5pt; }
  body.print-map .map-list ol { display: block; columns: 2; column-gap: 8mm; }
  body.print-map .map-list li { break-inside: avoid; margin-bottom: 2mm; }
  body.print-map .ml-item { background: none !important; padding: 0; min-height: 0; gap: 3mm; border-radius: 0; }
  body.print-map .ml-n { width: 6mm; height: 6mm; font-size: 8pt; background: var(--ink) !important; color: #fff !important; }
  body.print-map .ml-t strong { font-size: 10pt; color: var(--ink) !important; }
  body.print-map .ml-t span { font-size: 8.5pt; color: var(--ink-soft) !important; }
  body.print-map .ml-body { display: none !important; }
  body.print-map .subhead::after { content: "acropolis-tickets.info/map/"; display: block; margin-top: 4mm; font-size: 8pt; color: var(--ink-faint); }
}

/* ---------- Calm ticket card (v2: image, title, rating, price, one button) ---------- */
.tour-card { box-shadow: none; transform: none; transition: none; }
.tour-card:hover { transform: none; box-shadow: none; }
.tour-info { gap: 6px; padding: 18px 20px 20px; }
.tour-name { font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin: 0; }
.tour-meta { font-size: 0.86rem; color: var(--ink-soft); }
.tour-meta .rc { color: var(--ink-faint); }
.featured-flag { position: static; display: block; background: none; box-shadow: none; padding: 0; border-radius: 0;
  color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.featured-flag::before { content: none; }
.tour-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-foot .price { font-size: 0.82rem; color: var(--ink-soft); white-space: nowrap; }
.tour-foot .price strong { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.tour-cta { flex: 0 0 auto; }
.tour-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.tour-cta { width: 100%; }

/* ---------- Map v2: stacked, nothing sticky ---------- */
.map-layout { display: block; }
.map-col { position: static; }
.map-info { margin-top: 16px; padding: 16px 20px; border-radius: var(--r-md); background: var(--panel); min-height: 88px; }
.map-info strong { display: block; font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.map-info p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.map-info.has-item p { color: var(--ink); }
.map-list { margin-top: 20px; }
.map-list ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.map-list .ml-body { display: none !important; }
.ml-item.active { border-radius: var(--r-md); }
@media (max-width: 640px) { .map-list ol { grid-template-columns: 1fr; } }
@media print { .map-info { display: none; } }

/* ---------- Mega menu ---------- */
.nav { position: sticky; }
.mega-top { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mega-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.mega-btn:hover, .mega-item.open .mega-btn { color: var(--ink); background: var(--panel); }
.mega-item.is-current .mega-btn { color: var(--ink); font-weight: 600; }
.mega-chev { width: 15px; height: 15px; transition: transform 0.18s ease; }
.mega-item.open .mega-chev { transform: rotate(180deg); }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s; }
.mega-item.open .mega-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.16s ease, transform 0.16s ease; }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter) 26px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.mega-link { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); }
.mega-link strong { font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.mega-link span { font-size: 0.86rem; color: var(--ink-soft); }
.mega-link:hover { background: var(--panel); }
.mega-link:hover strong { color: var(--accent-ink); }
.mega-link[aria-current="page"] strong { color: var(--accent); }
.mega-aside { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r-md); background: var(--panel); align-self: start; }
.mega-k { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.mega-t { font-size: 0.94rem; line-height: 1.45; color: var(--ink); }
.mega-aside { transition: background-color 0.15s ease; }
.mega-aside:hover, .mega-aside:focus-visible { background: var(--line); }

@media (max-width: 980px) {
  .mega { display: none; }
  .nav.open .mega { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line); max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px var(--gutter) 20px; }
  .mega-top { flex-direction: column; gap: 14px; }
  .mega-btn { padding: 8px 0 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-faint); background: none !important; cursor: default; pointer-events: none; }
  .mega-chev { display: none; }
  .mega-panel { position: static; opacity: 1; visibility: visible; transform: none; border: 0; transition: none; }
  .mega-inner { display: block; padding: 0; }
  .mega-links { grid-template-columns: 1fr; gap: 0; }
  .mega-link { padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .mega-link:hover { background: none; }
  .mega-aside { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mega-panel, .mega-chev { transition: none; } }

/* ---------- Conversion layout v3 (rank flags, criteria, last updated, end-of-page top pick) ---------- */
.updated { margin: 14px 0 0; font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); }
.hero-content .updated { margin: 0 0 10px; color: var(--on-dark); opacity: 0.9; }
.rank-flag { align-self: flex-start; display: inline-flex; align-items: center; font-size: 0.76rem; font-weight: 700;
  color: var(--ink-soft); background: var(--panel); padding: 4px 10px; border-radius: 999px; margin-bottom: 4px; }
.section.panel .tour-card .rank-flag:not(.top) { background: var(--bg); }
.rank-flag.top { background: var(--cta); color: var(--on-dark); }
.tour-card.is-top { box-shadow: inset 0 0 0 2px var(--cta); }
.tour-card.is-top .tour-thumb { margin: 2px 2px 0; border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0; }
.tour-crit { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; color: var(--ink-soft); }
.tour-crit li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.tour-crit svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.top-pick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--panel);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 2px var(--cta); }
.tp-media { margin: 2px 0 2px 2px; border-radius: calc(var(--r-xl) - 2px) 0 0 calc(var(--r-xl) - 2px); overflow: hidden; }
.tp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-body { padding: clamp(22px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tp-flags { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tp-flags .rank-flag { margin-bottom: 0; }
.tp-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); margin-top: 6px; }
.tp-lead { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin-bottom: 8px; }
.tp-cta { margin-top: 14px; width: 100%; min-height: 48px; }
.tp-more { align-self: center; margin-top: 4px; }
@media (max-width: 760px) {
  .top-pick { grid-template-columns: 1fr; }
  .tp-media { aspect-ratio: 16 / 10; margin: 2px 2px 0; border-radius: calc(var(--r-xl) - 2px) calc(var(--r-xl) - 2px) 0 0; }
}

/* ---------- Checklist 2026-11: H1 head row stacks on phones ---------- */
@media (max-width: 720px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .head-aside { align-items: flex-start; }
}

/* ---------- Photos in the text (3:2, caption below) ---------- */
.prose .p-photo { margin: 20px 0 28px; }
.prose .p-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); background: var(--panel-2); }
.prose .p-photo figcaption { margin-top: 10px; font-size: 0.88rem; line-height: 1.5; color: var(--ink-faint); }
.prose h3 + .p-photo { margin-top: 14px; }

/* ---------- Image credits (privacy page) ---------- */
.prose .credits li { font-size: 0.95rem; }

/* ---------- Walking route: stations on a line ---------- */
.route { margin: 22px 0 26px; }
.route-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.route-line::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 3px; border-radius: 2px; background: var(--line-strong); }
.route-stop { position: relative; min-width: 0; }
.prose .route-stop { padding: 0; }
.prose .route-stop::before { content: none; }
.route-dot { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 0 4px 6px; background: none; border-radius: var(--r-sm); }
.route-n { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 1rem; position: relative; z-index: 1; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.section:not(.panel) .route-n { background: var(--panel); }
.route-l { font-size: 0.9rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: center; }
.route-dot:hover .route-n, .route-dot[aria-expanded="true"] .route-n { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.route-dot[aria-expanded="true"] .route-l { color: var(--accent-ink); }
.route-text strong { display: block; color: var(--ink); margin-bottom: 4px; }
.prose .route-text p { margin: 0; font-size: 1rem; line-height: 1.6; }
.route-panel { margin-top: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); min-height: 118px; }
.section:not(.panel) .route-panel { background: var(--panel); }
.route-panel strong { display: block; color: var(--ink); margin-bottom: 4px; }
.prose .route-panel p { margin: 0; font-size: 1rem; line-height: 1.6; }
/* with JS on wide screens the texts move into the shared panel */
.route.is-js .route-text { display: none; }
/* without JS, or on phones: vertical line, every text visible */
.route:not(.is-js) .route-line { grid-template-columns: 1fr; gap: 14px; }
.route:not(.is-js) .route-line::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
.route:not(.is-js) .route-dot { flex-direction: row; width: auto; padding: 0; pointer-events: none; }
.route:not(.is-js) .route-l { display: none; }
.route:not(.is-js) .route-stop { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.route:not(.is-js) .route-text { padding-top: 9px; }
@media (max-width: 720px) {
  .route-line { grid-template-columns: 1fr; gap: 14px; }
  .route-line::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .route-dot { flex-direction: row; width: auto; padding: 0; pointer-events: none; }
  .route-l { display: none; }
  .route-stop { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
  .route.is-js .route-text { display: block; padding-top: 9px; }
  .route-panel { display: none; }
  .route-dot[aria-expanded="true"] .route-n { background: var(--surface); border-color: var(--ink); color: var(--ink); }
}
@media print { .route-panel { display: none; } .route.is-js .route-text { display: block; } }

/* ---------- Top bar fits at 320 px ---------- */
@media (max-width: 380px) {
  .nav-inner { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 0.92rem; }
  .nav-right { gap: 6px; }
  .nav-right .btn { padding: 8px 12px; }
  .bt-more { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
}
