/* countries/guide.css — the shared stylesheet for every generated country guide.
   Tokens and the nav/footer rules follow the hand-built destination pages
   (bhutan.html, index.html) so a guide reads as part of the same site. */

:root {
  --cream: #f3ead8;
  --charcoal: #16110c;
  --bg: #14100c;
  --ochre: #c49040;
  --ochre-soft: rgba(196, 144, 64, .22);
  --text: rgba(243, 234, 216, .86);
  --dim: rgba(243, 234, 216, .58);
  --faint: rgba(243, 234, 216, .38);
  --line: rgba(243, 234, 216, .09);
  --panel: rgba(243, 234, 216, .035);
  --v-free: #8fc081;
  --v-eta: #f0c473;
  --v-voa: #cf9a44;
  --v-required: #e8916a;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(196, 144, 64, .35); color: var(--cream); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ─── NAV (same rules as the destination pages) ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(12, 8, 6, .55), transparent);
  transition: background .4s, backdrop-filter .4s;
}
#nav.dark, #nav.panel-open { background: rgba(20, 16, 12, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wordmark {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300;
  letter-spacing: .28em; text-transform: uppercase; color: var(--cream); text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links li { display: flex; align-items: center; }
.nav-links > li > a, .nav-dropdown-toggle {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 234, 216, .62); text-decoration: none; transition: color .2s;
  background: none; border: 0; cursor: pointer; padding: 0; line-height: 1;
  display: flex; align-items: center; gap: .35rem;
}
.nav-links > li > a:hover, .nav-dropdown-toggle:hover { color: var(--cream); }
.dropdown-arrow { font-size: .52rem; transition: transform .25s; display: inline-block; }
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
.nav-links > li > a.nav-signin-link { border: 1px solid currentColor; padding: .4rem .9rem; border-radius: 3px; }
body.menu-open #nav { z-index: 1101; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-destinations-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(22, 17, 12, .96); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(243, 234, 216, .07);
  padding: 2rem clamp(2rem, 6vw, 8rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 3rem; z-index: 190;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .28s, transform .28s;
}
.nav-destinations-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ndp-region { display: flex; flex-direction: column; gap: .35rem; }
.ndp-region-label {
  font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(196, 144, 64, .78);
  padding-bottom: .55rem; margin-bottom: .15rem; border-bottom: 1px solid rgba(196, 144, 64, .22);
}
.ndp-region a {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(243, 234, 216, .62); text-decoration: none; padding: .25rem 0; transition: color .2s;
}
.ndp-region a:hover { color: var(--cream); }
.ndp-region-empty { font-family: var(--serif); font-size: .82rem; font-style: italic; color: rgba(243, 234, 216, .32); padding: .25rem 0; }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .6rem; margin: -.6rem; z-index: 1100; position: relative;
}
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: transform .35s ease, opacity .25s ease; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050; background: rgba(10, 8, 6, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 5rem 2rem max(3rem, env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none; overflow-y: auto; transition: opacity .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; width: 100%; }
.mobile-menu-link {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 300; font-style: italic;
  color: rgba(243, 234, 216, .88); text-decoration: none; padding: .55rem 0; border-bottom: 1px solid rgba(243, 234, 216, .07);
}
.mobile-menu-link.nav-signin-mobile { align-self: flex-start; border: 1px solid currentColor; border-radius: 3px; padding: .3rem 1rem; margin-top: 1rem; font-size: 1.6rem; }
.mobile-menu-section { display: flex; flex-direction: column; gap: .15rem; }
.mobile-menu-region-label {
  font-size: .54rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(196, 144, 64, .7);
  margin: 1.2rem 0 .4rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(196, 144, 64, .18);
}
.mobile-menu-dest {
  font-family: var(--serif); font-size: clamp(1.1rem, 4.5vw, 1.6rem); font-weight: 300; font-style: italic;
  color: rgba(243, 234, 216, .7); text-decoration: none; padding: .25rem 0;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-destinations-panel { display: none !important; }
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: min(82vh, 760px); min-height: min(82svh, 760px);
  display: flex; align-items: flex-end; overflow: hidden;
  padding: 7rem var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
  background: radial-gradient(120% 90% at 20% 0%, #2a2016 0%, var(--bg) 70%);
}
.hero:not(.has-photo) { min-height: 0; padding-top: 10rem; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 45%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 16, 12, .55) 0%, transparent 25%),
    linear-gradient(to top, var(--bg) 0%, rgba(20, 16, 12, .72) 32%, rgba(20, 16, 12, .12) 70%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; }
.eyebrow { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ochre); margin-bottom: 1rem; }
.hero-title {
  font-family: var(--serif); font-weight: 300; color: var(--cream);
  font-size: clamp(3.4rem, 11vw, 7.5rem); line-height: .95; letter-spacing: -.015em;
}
.hero-dek {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.35; color: rgba(243, 234, 216, .85);
  max-width: 34ch; margin-top: 1.1rem;
}
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: rgba(243, 234, 216, .78); border: 1px solid rgba(243, 234, 216, .22); border-radius: 999px;
  padding: .5rem .9rem; transition: border-color .2s, color .2s, background .2s;
  background: rgba(20, 16, 12, .35);
}
.jump a:hover { border-color: var(--ochre); color: var(--cream); }

/* ─── SECTIONS ─── */
.sec {
  max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) 0;
}
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.sec-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; color: var(--cream); letter-spacing: -.01em; }
.port-stats b { color: var(--cream); font-weight: 500; }
.sub-title { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ochre); margin: 2.2rem 0 1rem; }
.lbl { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: .55rem; }
.fine { font-size: .74rem; color: var(--faint); line-height: 1.55; }
.fine a { color: var(--dim); }
.lede { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 300; line-height: 1.45; color: rgba(243, 234, 216, .82); max-width: 46ch; margin-bottom: 2rem; }
.chip {
  display: inline-block; font-family: var(--sans); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--dim); border: 1px solid rgba(243, 234, 216, .18); border-radius: 999px;
  padding: .18rem .55rem; margin-left: .5rem; vertical-align: middle; line-height: 1.4; white-space: nowrap;
}
.chip--req { color: var(--v-required); border-color: rgba(232, 145, 106, .45); }
.chip--now { color: var(--bg); background: var(--ochre); border-color: var(--ochre); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--bg); background: var(--ochre); border: 1px solid var(--ochre); border-radius: 3px;
  padding: .95rem 1.6rem; min-height: 44px; text-decoration: none; cursor: pointer; transition: filter .2s, background .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn--ghost { color: var(--cream); background: transparent; border-color: rgba(243, 234, 216, .32); }
.btn--ghost:hover { border-color: var(--cream); filter: none; }
.btn:disabled { opacity: .6; cursor: default; }
.link-arrow { display: inline-block; margin-top: 1.6rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); text-decoration: none; }
.link-arrow::after { content: ' →'; }
.link-arrow:hover { color: var(--cream); }
details.more { margin-top: 1.6rem; border-top: 1px solid var(--line); }
details.more > summary {
  list-style: none; cursor: pointer; padding: 1rem 0; min-height: 44px;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; justify-content: space-between;
}
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: '+'; font-size: 1.1rem; color: var(--ochre); }
details.more[open] > summary::after { content: '−'; }
details.more > summary:hover { color: var(--cream); }

/* ─── AT A GLANCE ─── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem 1.25rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.tile-label { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.tile-value { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 400; color: var(--cream); line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
.tile-sub { font-size: .74rem; color: var(--dim); }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* ─── VISA ─── */
.visa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.select { position: relative; }
.select select, .loc-form input, .loc-form textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--cream);
  background: var(--panel); border: 1px solid rgba(243, 234, 216, .18); border-radius: 4px;
  padding: .85rem 1rem; min-height: 48px; outline: none; transition: border-color .2s;
}
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select select option { background: var(--charcoal); color: var(--cream); }
.select::after {
  content: ''; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 1.5px solid var(--ochre); border-bottom: 1.5px solid var(--ochre); transform: translateY(-70%) rotate(45deg);
}
.select select:focus, .loc-form input:focus, .loc-form textarea:focus { border-color: var(--ochre); }
.visa-result { margin: 1.4rem 0 1rem; padding: 1.2rem 1.3rem; border-left: 3px solid var(--faint); background: var(--panel); }
.visa-label { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 400; line-height: 1.1; color: var(--cream); }
.visa-result[data-cat="free"] { border-left-color: var(--v-free); }
.visa-result[data-cat="eta"] { border-left-color: var(--v-eta); }
.visa-result[data-cat="voa"] { border-left-color: var(--v-voa); }
.visa-result[data-cat="required"] { border-left-color: var(--v-required); }
.visa-result[data-cat="home"] { border-left-color: var(--ochre); }
.visa-pick .fine { margin-top: .9rem; }
.vbar { display: block; width: 100%; height: 12px; border-radius: 2px; overflow: hidden; }
.vseg--free { fill: var(--v-free); } .vseg--eta { fill: var(--v-eta); } .vseg--voa { fill: var(--v-voa); } .vseg--required { fill: var(--v-required); }
.vlegend { list-style: none; display: grid; margin-top: 1rem; border-top: 1px solid var(--line); }
.vlegend li { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--dim); padding: .65rem 0; border-bottom: 1px solid var(--line); }
.vlegend b { margin-left: auto; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--cream); font-variant-numeric: lining-nums tabular-nums; }
.vlegend .dot, .vgroup h4::before { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.vlegend [data-cat="free"] .dot, .vgroup[data-cat="free"] h4::before { background: var(--v-free); }
.vlegend [data-cat="eta"] .dot, .vgroup[data-cat="eta"] h4::before { background: var(--v-eta); }
.vlegend [data-cat="voa"] .dot, .vgroup[data-cat="voa"] h4::before { background: var(--v-voa); }
.vlegend [data-cat="required"] .dot, .vgroup[data-cat="required"] h4::before { background: var(--v-required); }
.vgroups { display: grid; gap: 1.4rem; padding: .4rem 0 1rem; }
.vgroup h4 { display: flex; align-items: center; gap: .55rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--cream); margin-bottom: .4rem; }
.vgroup h4::before { content: ''; display: block; }
.vgroup h4 span { color: var(--faint); font-weight: 400; }
.vgroup p { font-size: .84rem; color: var(--dim); line-height: 1.7; }
@media (max-width: 760px) { .visa-grid { grid-template-columns: 1fr; } }

/* ─── REGIONS + CITIES ─── */
.regions { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.region { padding: 1.3rem 1.3rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.region h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--cream); line-height: 1.15; }
.region-sub { font-size: .8rem; color: var(--dim); margin-top: .2rem; }
.region-eat { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem; font-size: .82rem; }
.region-eat span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.region-eat a { color: var(--ochre); text-decoration: none; border-bottom: 1px solid var(--ochre-soft); }
.region-eat a:hover { color: var(--cream); }
.cities { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; }
.city { display: inline-flex; align-items: baseline; gap: .5rem; border: 1px solid rgba(243, 234, 216, .14); border-radius: 999px; padding: .45rem .9rem; font-size: .88rem; color: var(--text); }
.city--major { border-color: var(--ochre-soft); color: var(--cream); }
.iata { font-size: .62rem; letter-spacing: .12em; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ─── WHAT TO EAT ─── */
.dishes { list-style: none; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .dishes { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); } }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.dish-main { outline-offset: 4px; }
.dish:not(:has(.dish-ph)) { grid-template-columns: minmax(0, 1fr); }
.dish-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--cream); line-height: 1.15; }
.native { font-family: var(--sans); font-size: .9rem; font-weight: 300; color: var(--faint); margin-left: .25rem; }
.dish-where { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); margin-top: .35rem; }
.dish-desc { font-size: .92rem; color: var(--dim); margin-top: .5rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish.open .dish-desc { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.dish:hover .dish-name { color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag { font-size: .62rem; letter-spacing: .08em; padding: .2rem .55rem; border-radius: 999px; border: 1px solid rgba(243, 234, 216, .16); color: var(--dim); }
.tag--nat { color: var(--ochre); border-color: var(--ochre-soft); }
.tag--veg { color: var(--v-free); border-color: rgba(143, 192, 129, .38); }
.tag--warn { color: var(--faint); }
.tag--now { color: var(--bg); background: var(--ochre); border-color: var(--ochre); }
.dish-ph { width: 104px; height: 104px; border-radius: 4px; overflow: hidden; background: var(--panel); }
.dish-ph img, .event-ph img { width: 100%; height: 100%; object-fit: cover; }
.traps { list-style: none; display: grid; gap: .8rem; }
.traps li { font-size: .9rem; color: var(--dim); padding-left: 1rem; border-left: 2px solid var(--ochre-soft); max-width: 70ch; }
@media (max-width: 560px) {
  .dish { grid-template-columns: minmax(0, 1fr) 76px; gap: .9rem; }
  .dish-ph { width: 76px; height: 76px; }
  .dish-name { font-size: 1.4rem; }
}

/* ─── APPS ─── */
.app-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.app-group .sub-title { margin-top: 1.4rem; }
.apps { list-style: none; }
.app { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.app-ic {
  position: relative; width: 44px; height: 44px; border-radius: 11px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff; background: #4a4f57;
}
.app-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-ltr { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.app-ic svg { width: 22px; height: 22px; }
.app-ic--social { background: #3f7d63; } .app-ic--money { background: #8a6a33; } .app-ic--maps { background: #3c6587; }
.app-ic--ride { background: #6f4a6a; } .app-ic--food { background: #8a4b3a; } .app-ic--delivery { background: #7a5a2e; }
.app-ic--info { background: #4b4f80; } .app-ic--tap { background: #000; }
.app-name { font-weight: 500; color: var(--cream); font-size: .98rem; }
.app-name .chip { margin-left: .45rem; }
.app-gloss { font-size: .82rem; color: var(--dim); line-height: 1.5; margin-top: .15rem; }
.app-links { display: flex; gap: .35rem; }
.store {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(243, 234, 216, .16); color: var(--dim); transition: color .2s, border-color .2s;
}
.store:hover { color: var(--cream); border-color: rgba(243, 234, 216, .45); }
.store svg { width: 17px; height: 17px; fill: currentColor; }
.app-builtin { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.gate { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1.6rem; border: 1px solid var(--line); background: var(--panel); }
.gate svg { width: 28px; height: 28px; color: var(--ochre); }
.gate-title { font-family: var(--serif); font-size: 1.6rem; color: var(--cream); }
@media (max-width: 860px) { .app-groups { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .app { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: .8rem; align-items: start; }
  .app-ic { width: 40px; height: 40px; border-radius: 10px; }
  .app-links { flex-direction: column; gap: .4rem; }
}

/* ─── THROUGH THE YEAR ─── */
.events { list-style: none; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 56px minmax(0, 1fr) 132px; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.event:not(:has(.event-ph)) { grid-template-columns: 56px minmax(0, 1fr); }
.event.is-now { background: linear-gradient(90deg, rgba(196, 144, 64, .08), transparent 70%); }
.event-mo { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ochre); line-height: 1.1; }
.event-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--cream); line-height: 1.15; }
.event-meta { font-size: .78rem; color: var(--dim); margin-top: .3rem; }
.event-meta .chip { margin-left: .35rem; }
.event-gloss { font-size: .92rem; color: var(--dim); margin-top: .55rem; max-width: 62ch; }
.event-ph { width: 132px; height: 96px; border-radius: 4px; overflow: hidden; background: var(--panel); }
@media (max-width: 560px) {
  .event, .event:not(:has(.event-ph)) { grid-template-columns: 44px minmax(0, 1fr); }
  .event-ph { grid-column: 2; width: 100%; height: 160px; }
  .event-name { font-size: 1.35rem; }
}

/* ─── GETTING THERE ─── */
.ports { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.port { padding: 1.2rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.port-code { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--ochre); letter-spacing: .02em; }
.port-name { font-size: .9rem; color: var(--cream); margin-top: .4rem; }
.port-city { font-size: .76rem; color: var(--faint); }
.port-stats { font-size: .76rem; color: var(--dim); margin-top: .6rem; }
@media (max-width: 900px) { .ports { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ports { grid-template-columns: 1fr; }
  .port { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 1rem; row-gap: .1rem; align-items: baseline; }
  .port-code { grid-row: 1 / span 3; font-size: 2rem; }
  .port-name { margin-top: 0; }
  .port-stats { margin-top: .35rem; }
}

/* ─── TRAVEL WITH LOCALS ─── */
.locals .loc-form { display: grid; gap: .3rem; max-width: 640px; margin-top: 1rem; }
.loc-form .lbl { margin-top: .9rem; }
.loc-form textarea { resize: vertical; min-height: 120px; }
.loc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.loc-ts { margin-top: 1rem; min-height: 0; }
.loc-actions { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.loc-error { color: var(--v-required); font-size: .86rem; margin-top: .6rem; }
.loc-success { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .loc-row { grid-template-columns: 1fr; gap: 0; } }

/* ─── PASSPORT CTA ─── */
.cta { text-align: center; padding-bottom: 0; }
.cta-title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--cream); padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ─── SOURCES ─── */
.sources { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.sources ul { list-style: none; display: grid; gap: .6rem; padding-bottom: .8rem; }
.sources li { font-size: .78rem; color: var(--faint); line-height: 1.6; }

/* ─── FOOTER (same rules as the destination pages) ─── */
footer {
  background: var(--charcoal); border-top: 1px solid rgba(243, 234, 216, .06);
  padding: 3rem var(--gutter); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.f-mark { font-family: var(--serif); font-size: 1.1rem; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: rgba(243, 234, 216, .35); }
.f-links { list-style: none; display: flex; gap: 1rem 2rem; flex-wrap: wrap; }
.f-links a { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 234, 216, .38); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--cream); }
.f-links a[href^="https://buymeacoffee.com"] { color: var(--ochre); font-weight: 700; }
.f-copy { font-size: .68rem; color: rgba(243, 234, 216, .25); }
