/* ==========================================================
   World Heritage Tours — main stylesheet (loads after Bootstrap 5)
   World: "The Atlas Plate". The site reads like a good atlas:
   framed map plates, numbered site markers, condensed map lettering.
   To change the look, edit the variables in :root first.
   ========================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License: assets/fonts/OFL-Barlow.txt) ---------- */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Colours */
  --wht-paper: #F6F7F4;        /* page ground: cool map paper */
  --wht-white: #FFFFFF;        /* cards, form panels */
  --wht-sea: #D6E5E3;          /* map sea, plate fields, tinted sections */
  --wht-sea-deep: #BDD4D2;     /* chosen/hover fields on sea */
  --wht-land: #EEF0E9;         /* land on the map */
  --wht-ink: #17262B;          /* text, plate frames, dark bands */
  --wht-ink-2: #24363C;        /* panels on dark bands */
  --wht-muted: #3F5257;        /* secondary text */
  --wht-label: #4C5F64;        /* small labels, meta lines */
  --wht-rule: #9DB4B3;         /* graticule and fine rules */
  --wht-line: #C9D5D4;         /* borders between rows and cards */
  --wht-red: #B93A22;          /* map red: the main action and the chosen site */
  --wht-red-deep: #8E2B17;     /* hover */
  --wht-red-wash: #F6E3DD;     /* badges */
  --wht-natural: #1D6870;      /* natural-site label */
  --wht-on-ink: #DDE6E6;       /* text on dark bands */
  --wht-on-ink-soft: #B9C8C9;  /* captions on dark bands */
  --wht-on-ink-link: #F0A88F;  /* links on dark bands */

  /* Fonts */
  --wht-font-head: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --wht-font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  /* Page width: 1200px of content with 24px padding each side */
  --wht-page: 1200px;
  --wht-gutter: 24px;
  --wht-frame: 2px;            /* plate frame weight */

  /* Bootstrap overrides */
  --bs-body-font-family: var(--wht-font-body);
  --bs-body-color: var(--wht-ink);
  --bs-body-bg: var(--wht-paper);
  --bs-body-font-size: 18px;
  --bs-body-line-height: 1.65;
  --bs-link-color-rgb: 185, 58, 34;
  --bs-link-hover-color-rgb: 142, 43, 23;
  --bs-border-radius: 0;
}

/* ---------- Base ---------- */
body { font-size: 18px; line-height: 1.65; background: var(--wht-paper); color: var(--wht-ink); }
::selection { background: var(--wht-sea-deep); color: var(--wht-ink); }
input, textarea { caret-color: var(--wht-red); }
.container { max-width: calc(var(--wht-page) + 2 * var(--wht-gutter)); padding-inline: var(--wht-gutter); }
h1, h2, h3, .h1, .h2 { font-family: var(--wht-font-head); font-weight: 700; line-height: 1.05; color: inherit; text-transform: uppercase; letter-spacing: .005em; text-wrap: pretty; } /* lines fill to the edge, but never one word alone on the last line */
h1 { font-size: clamp(2.5rem, 5vw, 3.6rem); margin: 0 0 16px; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin: 0 0 12px; }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.h6, h3.h6 { font-family: var(--wht-font-body); font-weight: 600; font-size: 1rem; text-transform: none; }
p { margin-bottom: 16px; }
p, li, dd, figcaption, blockquote { text-wrap: wrap; } /* text runs to the right edge before it breaks; headings stay balanced */
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.prose { max-width: 68ch; }
.placeholder-text { color: var(--wht-label); }
.keep-together { white-space: normal; }

/* Small label used on meta lines (never above a heading) */
.kicker-style { margin: 0 0 6px; font-family: var(--wht-font-head); font-size: 17px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wht-ink); }

/* The site marker: a numbered circle, the same on every map, key and list */
.mk { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--wht-ink); background: var(--wht-white); color: var(--wht-ink); font: 600 14px/1 var(--wht-font-body); }

/* ---------- Link arrows (drawn icons, not text glyphs) ----------
   .go  = stays on World Heritage Tours (arrow right)
   .ext = leaves for Bestway.com or another site (arrow up-right) */
.go::after, .ext::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .3em;
  vertical-align: -.05em; background-color: currentColor; -webkit-mask: var(--wht-arrow) center / contain no-repeat; mask: var(--wht-arrow) center / contain no-repeat; }
.go { --wht-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.ext { --wht-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons: square, map-red or ink outline ---------- */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 0; font-family: var(--wht-font-body); font-weight: 600; font-size: 18px; border-width: 2px; padding: 10px 22px; }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 19px; }
.btn-accent { --bs-btn-bg: var(--wht-red); --bs-btn-border-color: var(--wht-red); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--wht-red-deep); --bs-btn-hover-border-color: var(--wht-red-deep); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--wht-red-deep); --bs-btn-active-border-color: var(--wht-red-deep); --bs-btn-active-color: #fff; }
.btn-outline-ink, .btn-outline-accent { --bs-btn-color: var(--wht-ink); --bs-btn-border-color: var(--wht-ink); --bs-btn-bg: transparent;
  --bs-btn-hover-bg: var(--wht-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--wht-ink);
  --bs-btn-active-bg: var(--wht-ink); --bs-btn-active-color: #fff; }
.btn:disabled, .btn.disabled { opacity: 1; background: transparent; border-color: var(--wht-line); color: var(--wht-label); }

/* ---------- Header ---------- */
.header-top { background: var(--wht-ink); font-size: 16px; }
.header-top p { margin: 0; padding: 4px 0; text-align: right; color: var(--wht-on-ink-soft); } /* green bar kept slim */
.header-top a { font-weight: 600; color: #fff; }
.site-header { background: var(--wht-paper); border-bottom: var(--wht-frame) solid var(--wht-ink); }
.site-header .navbar { padding-block: 16px; } /* white bar at its height before the 30% cut (6px = shorter) */
.site-header .navbar > .container { flex-wrap: nowrap; }
.site-header .navbar-collapse { flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; line-height: 1.05; color: var(--wht-ink); margin-right: 0; min-width: 0; flex: 1 1 0; white-space: normal; }
.brand:hover { color: var(--wht-ink); }
.brand-name { font-family: var(--wht-font-head); font-size: 36px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--wht-red-deep); } /* a darker shade of the logo green */
.brand-line { font-size: 17px; color: var(--wht-label); margin-top: 4px; }
/* Logo: the column-in-a-diamond mark beside the name */
.brand { flex-direction: row; align-items: center; gap: 14px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-mark { flex: 0 0 auto; width: 68px; height: 68px; color: var(--wht-red-deep); } /* same dark green as the name */
/* In the footer the mark sits above the name, so the name stays on one line in its column */
/* Footer logo: mark beside the name, as in the header */
.footer-lockup { display: flex; align-items: center; gap: 14px; }
.footer-lockup .footer-brand { white-space: nowrap; font-size: 26px; margin-bottom: 4px !important; }
.footer-lockup p:last-child { font-size: 15px; line-height: 1.4; }
.footer-mark { flex: 0 0 auto; width: 58px; height: 58px; color: #fff; }
.site-header .navbar-nav { gap: 8px 28px; }
.site-header .nav-link { color: var(--wht-ink); font-weight: 600; font-size: 17px; padding: 10px 0 !important; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--wht-ink); border-bottom-color: var(--wht-red); }
.site-header .btn-accent { font-size: 17px; min-height: 46px; padding: 8px 20px; }
.navbar-toggler { border: 2px solid var(--wht-ink); border-radius: 0; min-height: 46px; flex-shrink: 0; }
.header-call { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; margin-right: 8px;
  color: var(--wht-red); border: 2px solid var(--wht-ink); flex-shrink: 0; }
.header-call .icon { width: 20px; height: 20px; }
.hc-label, .nt-label { font: 600 15px var(--wht-font-body); color: var(--wht-ink); }
.navbar-toggler { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; }
.navbar-toggler-icon { width: 1.3em; height: 1.3em; }
@media (max-width: 991.98px) { .header-call { width: auto; padding: 0 12px; gap: 8px; } }
@media (min-width: 992px) { .brand { flex: 0 0 auto; margin-right: 24px; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .site-header .navbar-nav { gap: 8px 18px; } }
@media (max-width: 991.98px) {
  .header-top { display: none; }
  .site-header .navbar-nav { padding-top: 12px; gap: 0; }
  .site-header .nav-link { padding: 12px 0 !important; border-bottom: 1px solid var(--wht-line); }
  .site-header .nav-item.ms-lg-2 { padding: 14px 0 4px; }
}
/* Phones (under 576 px): logo, name, Call and Menu on one row. The tagline sits right below,
   starting under the logo mark, on one line (it can run beneath the Call and Menu buttons). */
@media (max-width: 575.98px) {
  .site-header .navbar > .container { align-items: flex-start; }
  .brand { position: relative; flex: 1 1 0; margin: 0 0 22px; padding-bottom: 0; gap: 10px; min-height: 54px; align-items: center; }
  .brand-text { position: static; }
  .brand-mark { width: 56px; height: 56px; align-self: flex-end; } /* sits on the tagline */
  .brand-name { font-size: 23px; white-space: nowrap; line-height: 1.05; }
  .brand-line { position: absolute; left: 0; top: 100%; margin-top: 3px; font-size: 15px; line-height: 1.2; white-space: nowrap; }
  .header-call, .navbar-toggler { flex-direction: column; justify-content: center; gap: 2px; width: 56px; height: 54px; min-height: 54px; padding: 4px 0; }
  .header-call { margin: 0 6px 0 8px; }
  .hc-label, .nt-label { font-size: 13px; line-height: 1; }
  .navbar-toggler-icon { width: 1.1em; height: 1.1em; }
}
/* Small tablets (576 to 659 px): a step smaller so the name stays on one line beside Call and Menu */
@media (min-width: 576px) and (max-width: 659.98px) {
  .brand { gap: 12px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-name { font-size: 30px; }
  .brand-line { font-size: 15px; }
}
/* Larger phones (480 to 575 px) have room for a bigger logo */
@media (min-width: 480px) and (max-width: 575.98px) {
  .brand-mark { width: 62px; height: 62px; }
  .brand-name { font-size: 26px; }
  .brand-line { font-size: 16px; }
}
@media (max-width: 429.98px) {
  .brand { gap: 8px; margin-bottom: 21px; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-name { font-size: 19px; }
  .brand-line { font-size: 14px; }
}
@media (min-width: 414px) and (max-width: 429.98px) {
  .brand-mark { width: 52px; height: 52px; }
  .brand-name { font-size: 21px; }
}
@media (max-width: 389.98px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 18px; }
}
@media (max-width: 374.98px) {
  .brand-name { white-space: normal; line-height: 1; } /* "World Heritage / Tours" on the narrowest phones */
  .brand { margin-bottom: 20px; }
  .brand-line { font-size: 13px; }
}
@media (max-width: 339.98px) {
  .brand-name { font-size: 16px; }
  .brand-line { font-size: 12px; }
}
/* Menu button screens (up to 991 px): the open menu drops onto its own full-width row under the
   logo, Call and Menu, so the logo never gets squeezed */
@media (max-width: 991.98px) {
  .site-header .navbar > .container { flex-wrap: wrap; }
  .site-header .navbar-collapse { order: 9; flex: 0 0 100%; }
}
/* Wide screens with no green bar: the Call button sits at the far right, after Enquire */
@media (min-width: 992px) {
  .site-header .navbar-collapse { order: 1; }
  .site-header .header-call { order: 2; width: auto; padding: 0 14px; gap: 8px; margin: 0 0 0 20px; }
}
/* Call button: the toll-free number shows at once on hover, right below the button, on every screen
   size with a mouse (the browser's own tooltip is slow). Smaller type under 992 px. */
@media (hover: hover) {
  .header-call { position: relative; }
  .header-call::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: -2px; z-index: 1100;
    padding: 8px 12px; background: var(--wht-ink); color: #fff; font: 600 16px var(--wht-font-body); white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease; }
  .header-call:hover::after, .header-call:focus-visible::after { opacity: 1; visibility: visible; }
}
@media (hover: hover) and (max-width: 991.98px) {
  .header-call::after { padding: 6px 10px; font-size: 14px; }
}
/* Touch screens (phones, tablets): the number always shows in a small tab at the top of the header,
   right edge, above the Call button, so it never covers the page. Tapping it calls the number. */
@media (hover: none) {
  .site-header .header-call { position: static; }
  .site-header .header-call::after { content: attr(data-tip); position: absolute; top: 0; z-index: 1100;
    right: max(var(--wht-gutter), calc((100% - var(--wht-page)) / 2));
    height: 24px; padding: 0 10px; background: var(--wht-ink); color: #fff; border-radius: 0 0 6px 6px;
    font: 600 13px/24px var(--wht-font-body); white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .header-call { margin-left: 12px; padding: 0 12px; }
  .brand-name { font-size: 31px; }
  .brand-line { font-size: 16px; }
  .brand-mark { width: 64px; height: 64px; }
  .brand { margin-right: 16px; }
  .site-header .navbar-nav { gap: 8px 14px; }
  .site-header .header-call .hc-label { display: none; } /* icon only, so the links still fit */
}
/* 992 to 1079 px: the full menu only just fits, so the logo steps down a little */
@media (min-width: 992px) and (max-width: 1079.98px) {
  .brand-mark { width: 56px; height: 56px; }
  .brand-name { font-size: 27px; }
  .brand-line { font-size: 15px; }
  .brand { gap: 12px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-about { padding-block: 72px; }
.section-tint { background: var(--wht-sea); }
.section-dark { background: var(--wht-ink); color: #fff; }
.section-dark a { color: var(--wht-on-ink-link); }
.section-dark p { color: var(--wht-on-ink); }
.section-intro { color: var(--wht-muted); margin-bottom: 28px; font-size: 19px; text-wrap: wrap; } /* runs the full width */
.section-dark .section-intro { color: var(--wht-on-ink); }
/* Page heads sit on the sea colour, framed by the ink rule */
.page-head { padding-block: 64px 52px; border-bottom: var(--wht-frame) solid var(--wht-ink);
  background-color: var(--wht-sea); }
/* Page titles run the full width, so short titles stay on one line on laptops and desktops */
.page-head h1 { max-width: none; }
.page-head .section-intro { margin: 0; color: var(--wht-ink); max-width: none; } /* intro runs the full width under the title */
.page-head > .container > * { position: relative; }

/* ---------- Homepage: the atlas plate ---------- */
.atlas { padding: 24px 0 72px; }
.atlas-title { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px 40px; align-items: center; padding: 20px 28px 20px; border-bottom: var(--wht-frame) solid var(--wht-ink); background: var(--wht-paper); }
.atlas-title h1 { margin: 0; font-size: clamp(2.3rem, 3.5vw, 3rem); line-height: .96; }
.atlas-intro .hero-actions { flex-wrap: nowrap; }
@media (max-width: 1199.98px) { .atlas-intro .hero-actions { flex-wrap: wrap; } }
.atlas-intro .lead { font-size: 18px; font-weight: 400; color: var(--wht-muted); margin: 0 0 14px; max-width: 34em; line-height: 1.5; }
.atlas-intro .hero-actions .btn-lg { min-height: 52px; padding: 10px 22px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plate { border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); }
.plate-bar { display: flex; flex-wrap: wrap; border-bottom: var(--wht-frame) solid var(--wht-ink); background: var(--wht-paper); }
.region-tab { min-height: 48px; padding: 10px 20px; border: 0; border-right: 1px solid var(--wht-line); background: transparent; color: var(--wht-ink);
  font: 600 17px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.region-tab:hover { background: var(--wht-sea); }
.region-tab[aria-pressed="true"] { background: var(--wht-ink); color: #fff; }
.plate-bar-hint { display: none; }
.plate-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.plate-map-wrap { position: relative; background: var(--wht-sea); border-right: var(--wht-frame) solid var(--wht-ink); min-height: clamp(440px, calc(100vh - 410px), 600px); }
.plate-map { display: block; width: 100%; height: 100%; min-height: 0; position: absolute; inset: 0; }
.locator .plate-map { position: static; }
.plate-map .pm-sea { fill: var(--wht-sea); }
.plate-map .pm-grat line { stroke: var(--wht-rule); stroke-width: .6; vector-effect: non-scaling-stroke; }
.plate-map .pm-grat .pm-eq { stroke: var(--wht-ink); stroke-dasharray: 5 4; stroke-width: 1; }
.plate-map .pm-land { fill: var(--wht-land); stroke: #6E8A8C; stroke-width: .8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pm-mark { cursor: default; }
.pm-mark[role="button"] { cursor: pointer; }
.pm-mark .pm-hit { fill: transparent; }
.pm-mark .pm-dot { fill: var(--wht-white); stroke: var(--wht-ink); stroke-width: 2; vector-effect: non-scaling-stroke; transition: r .2s; }
.pm-mark .pm-num { font: 600 13px var(--wht-font-body); text-anchor: middle; fill: var(--wht-ink); pointer-events: none; }
.pm-mark .pm-lab { font: 600 15px var(--wht-font-head); letter-spacing: .05em; text-transform: uppercase; fill: var(--wht-ink);
  paint-order: stroke; stroke: var(--wht-sea); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.pm-lead { stroke: var(--wht-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.pm-leads { pointer-events: none; }
.pm-pin { fill: var(--wht-ink); }
.pm-mark.is-active .pm-lab { fill: var(--wht-red-deep); }
.plate-map.is-small .pm-lab, .plate-map.is-small .pm-degs { display: none; }
.pm-deg text { font: 600 12px var(--wht-font-body); letter-spacing: .06em; fill: #3F5257; paint-order: stroke; stroke: var(--wht-paper); stroke-width: 4px; stroke-linejoin: round; }
.pm-mark:hover .pm-dot, .pm-mark:focus-visible .pm-dot { stroke: #000; stroke-width: 4.5; } /* heavy black ring on hover */
.pm-mark.is-active .pm-dot { fill: var(--wht-red); stroke: var(--wht-red); r: 14; }
.pm-mark.is-active .pm-num { fill: #fff; }
.pm-mark.is-dim { opacity: .35; }
.pm-mark.is-dim.is-dot .pm-dot { fill: #6E8A8C; }
.pm-mark:focus { outline: none; }
/* City markers (data/map-groups.php): one marker for sites a few km apart, e.g. "Delhi · 3" */
.pm-grp.is-off, .pm-mark.is-grouped { display: none; }
.pm-grp { cursor: pointer; }
.pm-grp .pm-ring { fill: var(--wht-white); stroke: var(--wht-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pm-grp .pm-dot { fill: var(--wht-ink); stroke: var(--wht-white); stroke-width: 1.5; }
.pm-grp .pm-num { fill: #fff; font-weight: 700; }
.pm-grp.is-active .pm-ring { stroke: var(--wht-red); }
.pm-grp.is-active .pm-dot { fill: var(--wht-red); stroke: var(--wht-white); r: 12; }
/* A city with several sites keeps its look on hover (a black ring made it too dark); keyboard focus still shows */
.pm-grp:focus-visible .pm-ring { stroke: #000; stroke-width: 4.5; }
.map-pop { position: absolute; z-index: 3; width: 300px; max-width: calc(100% - 16px); background: var(--wht-white);
  border: var(--wht-frame) solid var(--wht-ink); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.map-pop .mp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 6px 14px; border-bottom: 1px solid var(--wht-line); }
.map-pop .mp-title { margin: 0; font: 600 18px var(--wht-font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--wht-ink); }
.map-pop .mp-close { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--wht-ink); cursor: pointer; }
.map-pop .mp-close:focus-visible, .map-pop .mp-site:focus-visible { outline: 3px solid var(--wht-red); outline-offset: -3px; }
.map-pop .mp-list { list-style: none; margin: 0; padding: 4px 0; }
.map-pop .mp-site { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 14px; border: 0; background: transparent;
  text-align: left; font: 500 17px var(--wht-font-body); color: var(--wht-ink); cursor: pointer; }
.map-pop .mp-site:hover { background: var(--wht-sea); }
.map-pop .mp-site[aria-current="true"] { color: var(--wht-red-deep); font-weight: 600; }
.map-pop .mp-site .mk { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border: 2px solid var(--wht-ink);
  border-radius: 15px; font-size: 13px; font-weight: 600; }
.map-pop .mp-site[aria-current="true"] .mk { background: var(--wht-red); border-color: var(--wht-red); color: #fff; }
.pm-mark:focus-visible .pm-hit { stroke: var(--wht-red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.plate-key { padding: 16px 20px 12px; display: flex; flex-direction: column; background: var(--wht-white);
  height: clamp(440px, calc(100vh - 410px), 600px); min-height: 0; }
/* Zoom buttons on the map (no scroll-wheel zoom) */
.map-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.map-zoom[hidden], .map-hint[hidden] { display: none; }
.zoom-btn { min-height: 44px; min-width: 132px; padding: 8px 14px; display: flex; align-items: center; gap: 8px;
  border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); color: var(--wht-ink);
  font: 600 16px var(--wht-font-body); text-align: left; cursor: pointer; }
.zoom-btn span { font-size: 22px; line-height: 1; width: 14px; text-align: center; }
.zoom-btn:hover { background: var(--wht-sea); }
.zoom-btn:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.zoom-btn:disabled { opacity: .45; cursor: default; background: var(--wht-white); }
.map-hint { position: absolute; left: 12px; top: 10px; z-index: 2; margin: 0; padding: 3px 8px; background: rgba(255,255,255,.92);
  font-size: 14px; color: var(--wht-label); pointer-events: none; }
.plate-hero { cursor: grab; touch-action: pan-y; }
/* Dragging a map should never select (highlight) the numbers and names on it */
.plate-map { -webkit-user-select: none; user-select: none; }
.plate-hero.is-dragging { cursor: grabbing; }
.key-count { font-size: 15px; font-weight: 500; color: var(--wht-label); margin: 0 0 6px; }
.key-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--wht-line); margin-right: -14px; padding-right: 10px; }
.key-ctry-h { margin: 0; padding: 14px 0 4px;
  font: 600 15px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.key-group[hidden] { display: none; }
/* Region headings in the key (shown with "All regions": numbers start at 1 in each region) */
.key-region-h { margin: 14px 0 0; padding: 8px 10px; background: var(--wht-ink); color: #fff;
  font: 600 16px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; }
.key-region-h:first-child { margin-top: 10px; }
.key-region-h[hidden] { display: none; }
/* "All regions": numbers start at 1 in each region, so markers, the key and the panel show no numbers;
   choose a region to see them. City markers still show how many sites they hold. */
.plate-map.no-numbers .pm-mark:not(.pm-grp) .pm-num { display: none; }
.plate.is-all .key-item .mk, .plate.is-all .pd-name .mk { font-size: 0; width: 14px; height: 14px; min-width: 14px; margin: 0 7px; }
.plate.is-all .map-pop .mk { display: none; }
.tab-count { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid currentColor; border-radius: 999px;
  font: 600 14px/1.5 var(--wht-font-body); letter-spacing: 0; vertical-align: 1px; }
/* Wide views: every site is a small dot; the chosen one stays a numbered marker */
.pm-mark.is-dot .pm-num, .pm-mark.is-dot .pm-lab { display: none; }
/* Homepage map before the scripts run: the server draws the dots for the 1200 px+ layout; on narrower
   screens the map is drawn smaller, so these steps match the dot size main.js then sets (no visible jump) */
@media (min-width: 992px) and (max-width: 1199.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.45); } }
@media (min-width: 768px) and (max-width: 991.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.37); } }
@media (min-width: 640px) and (max-width: 767.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.47); } }
@media (min-width: 480px) and (max-width: 639.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.5); } }
@media (min-width: 414px) and (max-width: 479.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.63); } }
@media (max-width: 413.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.72); } .plate-map.is-prelayout .pm-degs { display: none; } }
@media (max-width: 349.98px) { .plate-map.is-prelayout .pm-mark .pm-glyph { transform: scale(0.85); } }
.pm-mark.is-dot .pm-dot { fill: var(--wht-ink); stroke: var(--wht-white); stroke-width: 1.5; }
.pm-mark.is-dot:hover .pm-dot, .pm-mark.is-dot:focus-visible .pm-dot { fill: #000; stroke: var(--wht-white); stroke-width: 2; }
.key-h { font-size: 24px; margin: 0 0 8px; }
.key-search { margin-bottom: 8px; }
.key-list { list-style: none; margin: 0; padding: 0; }
.key-item { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 4px; border: 0; border-bottom: 1px solid var(--wht-line);
  background: transparent; color: var(--wht-ink); text-align: left; font-size: 17px; font-weight: 500; cursor: pointer; }
.key-item:hover { background: var(--wht-sea); }
.key-item .key-name { flex: 1 1 auto; line-height: 1.25; }
.key-item[aria-pressed="true"] { color: var(--wht-red-deep); font-weight: 600; }
.key-item[aria-pressed="true"] .mk { background: var(--wht-red); border-color: var(--wht-red); color: #fff; }
.key-empty { font-size: 16px; color: var(--wht-muted); margin: 12px 0 0; }
/* Search matches in other regions: say where, with a button for each region */
.key-elsewhere { margin: 0 0 10px; padding: 10px 12px; border: 2px solid var(--wht-red); background: var(--wht-paper); }
.key-elsewhere[hidden] { display: none; }
.key-elsewhere .ke-text { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--wht-ink); }
.key-elsewhere .ke-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.key-elsewhere .ke-btn { min-height: 44px; padding: 6px 14px; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white);
  color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; }
.key-elsewhere .ke-btn:hover { background: var(--wht-sea); }
.key-elsewhere .ke-btn:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
/* A search that moved the map to another region: a quiet line saying where the sites are */
.key-elsewhere.is-note { border: 1px solid var(--wht-line); border-left: 4px solid var(--wht-red); background: var(--wht-sea); padding: 8px 12px; }
.key-elsewhere.is-note .ke-text { margin: 0; }
.plate-detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-top: var(--wht-frame) solid var(--wht-ink); background: var(--wht-paper); }
.pd-photo { margin: 0; position: relative; min-height: 240px; background: #B9A48C; border-right: var(--wht-frame) solid var(--wht-ink); display: flex; align-items: flex-end; padding: 10px; }
.pd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-photo span { background: rgba(255,255,255,.94); font-size: 14px; line-height: 1.4; padding: 4px 8px; }
.pd-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 36px; padding: 26px 28px 28px; }
.pd-name { display: block; font-size: 32px; margin: 0 0 6px; }
/* Chosen site: small green tag with its number and region, above the name */
.pd-tag { margin: 0 0 10px; font: 600 15px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; }
.plate.is-all .pd-tag-num { display: none; } /* numbers are not shown on the All regions map */
.pd-name .mk { background: var(--wht-red); border-color: var(--wht-red); color: #fff; width: 32px; height: 32px; font-size: 15px; }
.pd-meta { margin: 0 0 10px; font-size: 16px; font-weight: 500; color: var(--wht-label); }
.pd-sum { margin: 0 0 8px; color: var(--wht-muted); text-wrap: wrap; } /* runs the full width */
.pd-more { font-weight: 600; }
.pd-sub { font: 600 17px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 10px; }
.pd-journeys { display: flex; flex-direction: column; }
.pd-journeys .gap-link { border: 0; border-top: 1px solid var(--wht-line); background: transparent; padding: 12px 0; }
.pd-journeys .gap-link:last-child { border-bottom: 1px solid var(--wht-line); }
.pd-journeys .gap-link[hidden] { display: none; }
.pd-more-btn { align-self: flex-start; margin-top: 12px; min-height: 44px; padding: 8px 16px; border: var(--wht-frame) solid var(--wht-ink);
  background: var(--wht-white); color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; }
.pd-more-btn:hover { background: var(--wht-sea); }
.pd-more-btn:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.nw { white-space: nowrap; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--wht-paper); border-top: var(--wht-frame) solid var(--wht-ink); border-bottom: var(--wht-frame) solid var(--wht-ink); }
.trust-list { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px; }
.trust-list li { display: flex; flex-direction: column; gap: 2px; font-size: 17px; color: var(--wht-muted); }
.trust-list li + li { border-left: 1px solid var(--wht-line); padding-left: 48px; }
.trust-list strong { font: 700 24px/1.15 var(--wht-font-head); text-transform: uppercase; letter-spacing: .02em; color: var(--wht-ink); }

/* ---------- Homepage introduction ---------- */
.link-list-title { font: 600 20px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; margin: 32px 0 4px; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: var(--wht-frame) solid var(--wht-ink); }
.link-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--wht-line); font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
/* A map legend: each fact on its own ruled line, the figure set inline at reading size */
.ledger { list-style: none; margin: 0; padding: 0; border-top: var(--wht-frame) solid var(--wht-ink); }
.ledger li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--wht-line); font-size: 18px; color: var(--wht-muted); }
.ledger li::before { content: ""; flex: 0 0 12px; height: 12px; border: 2px solid var(--wht-ink); border-radius: 50%; transform: translateY(1px); }
.ledger-mark { font: 700 24px/1 var(--wht-font-head); color: var(--wht-ink); white-space: nowrap; min-width: 4.2rem; }
.ledger-text { flex: 1 1 auto; }
.ledger-ours::before { background: var(--wht-red); border-color: var(--wht-red); }
.ledger-ours .ledger-mark { color: var(--wht-red); }

/* ---------- Journey cards ---------- */
.all-journeys { font-weight: 600; }
.journey-card { border: var(--wht-frame) solid var(--wht-ink); height: 100%; display: flex; flex-direction: column; background: var(--wht-white); }
.journey-photo { width: 100%; height: 200px; object-fit: cover; border-bottom: var(--wht-frame) solid var(--wht-ink); }
.journey-photo-link { display: block; color: inherit; text-decoration: none; }
.journey-photo-link img.journey-photo { display: block; transition: filter .3s ease, opacity .3s ease; }
/* Hover: the photo gets a little brighter, as on bestway.com region pages; the card itself does not move */
.journey-card:hover img.journey-photo { filter: brightness(107.5%); opacity: .975; }
/* Cards: titles and text run to the right edge before they break (no early wrapping) */
.journey-card p, .site-card p, .removed-card p, .type-card p, .site-mini-list p { text-wrap: wrap; }
h4 { text-wrap: pretty; }
.photo-placeholder { background: #B9A48C; display: flex; align-items: flex-end; padding: 12px; }
.photo-placeholder span { background: rgba(255,255,255,.94); color: var(--wht-ink); font-size: 13px; padding: 3px 8px; line-height: 1.5; }
.tone-1 { background: #B9A48C; } .tone-2 { background: #A9AE8E; } .tone-3 { background: #BFA39A; }
.tone-4 { background: #9FB0B4; } .tone-5 { background: #C4AE8A; } .tone-6 { background: #B3A9A0; }
.photo-tall { height: 340px; border: var(--wht-frame) solid var(--wht-ink); background: #C8B79C; padding: 14px; }
.photo-tall span { font-size: 14px; padding: 4px 10px; }
.journey-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.journey-meta { margin: 2px 0 0; font: 600 16px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.journey-body h3 { margin: 0; font-size: 28px; line-height: 1.02; }
.journey-body h3 a.journey-title { color: inherit; text-decoration: none; }
.journey-body h3 a.journey-title:hover { color: var(--wht-red); }
.journey-count { font-weight: 600; color: var(--wht-red); margin: 0; }
.journey-sites { margin: 0; font-size: 16px; color: var(--wht-muted); }
.journey-actions { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--wht-line); display: flex; flex-direction: column; gap: 0; }
.journey-actions a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.section-dark h2#t-h { margin-bottom: 32px; }
.testimonial { background: var(--wht-ink-2); border: 1px solid #3A4E54; padding: 28px; margin: 0; height: 100%; }
.testimonial blockquote { font-family: var(--wht-font-body); font-size: 21px; font-weight: 500; line-height: 1.5; margin: 0 0 16px; }
.testimonial figcaption { color: var(--wht-on-ink-soft); font-size: 16px; }

/* ---------- Forms ---------- */
#contact h2 { margin-bottom: 16px; }
#contact .col-lg-4 p { color: var(--wht-ink); }
.contact-form { background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 32px; }
.contact-form .row { --bs-gutter-x: 18px; --bs-gutter-y: 18px; }
.form-label { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.form-control, .form-select { min-height: 50px; padding: 8px 12px; border: 2px solid var(--wht-ink); border-radius: 0; font-size: 18px; color: var(--wht-ink); background-color: var(--wht-white); }
.form-control::placeholder { color: #5E7176; }
.form-control:focus, .form-select:focus { border-color: var(--wht-red); box-shadow: 0 0 0 3px rgba(185, 58, 34, .22); }
textarea.form-control { padding: 10px 12px; }
.form-check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-left: 0; font-size: 17px; }
.form-check .form-check-input { float: none; margin: 0; width: 24px; height: 24px; flex-shrink: 0; border: 2px solid var(--wht-ink); border-radius: 0; }
.form-check-input:checked { background-color: var(--wht-red); border-color: var(--wht-red); }
.contact-form .form-check { margin-left: 0 !important; }
.optional { font-weight: 400; color: var(--wht-label); }
.form-note { margin: 14px 0 0; font-size: 16px; color: var(--wht-muted); }
.alert { border-radius: 0; border-width: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- About page ---------- */
.page-head .on-page { margin-top: 24px; }
.on-page { display: flex; flex-wrap: wrap; gap: 0; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); width: fit-content; max-width: 100%; }
.on-page a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-right: 1px solid var(--wht-line);
  color: var(--wht-ink); font: 600 17px var(--wht-font-head); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.on-page a:last-child { border-right: 0; }
.on-page a:hover { background: var(--wht-ink); color: #fff; }
/* Jump bar (Journeys and About pages): the page's section links sit just under the heading block,
   then stay under the header while the page scrolls; the section in view is marked */
.page-head:has(+ .jump-bar) { padding-bottom: 0; border-bottom: 0; }
.page-head:has(+ .jump-bar) > .container > :last-child { margin-bottom: 0; } /* no white strip under the title */
.jump-bar { position: sticky; top: var(--header-h, 84px); z-index: 1020; background: var(--wht-sea); padding-block: 20px 28px;
  border-bottom: 1px solid var(--wht-line); transition: padding .25s ease, box-shadow .25s ease, background-color .25s ease; }
.jump-bar.is-stuck { background: var(--wht-white); padding-block: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.jump-bar .on-page a[aria-current="true"] { background: var(--wht-red); color: #fff; }
.jump-bar .on-page a[aria-current="true"] .jump-count { color: inherit; }
html:has(.jump-bar) { scroll-padding-top: calc(var(--header-h, 84px) + var(--jump-h, 70px) + 8px); }
html:has(.jump-bar) .journeys-region { scroll-margin-top: 0; }
/* Small laptops: one row, a little tighter, so the bar never wraps to two rows */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .jump-bar .on-page { flex-wrap: nowrap; }
  .jump-bar .on-page a { padding: 0 10px; font-size: 14px; white-space: nowrap; }
  .jump-bar .jump-count { margin-left: 5px; }
}
/* Phones and tablets: one row that slides sideways, so the bar stays short */
@media (max-width: 991.98px) {
  .jump-bar .on-page { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jump-bar .on-page::-webkit-scrollbar { display: none; }
  .jump-bar .on-page a { flex: 0 0 auto; white-space: nowrap; border-bottom: 0; padding: 0 14px; font-size: 15px; }
  .jump-bar { padding-block: 14px 20px; }
  .jump-bar.is-stuck { padding-block: 8px; }
}
/* "On this page" links on one line on wide screens (they wrap on smaller screens) */
@media (min-width: 1200px) {
  .on-page { flex-wrap: nowrap; }
  .on-page a { padding: 0 14px; font-size: 16px; white-space: nowrap; }
}
.section-about h2 { margin-bottom: 16px; }
.pull-quote { background: var(--wht-ink-2); border: 1px solid #3A4E54; padding: 28px; margin: 0; font: 500 24px/1.45 var(--wht-font-body); } /* plain wrapping: each line runs to the right edge before it breaks */
.pull-quote { text-wrap: wrap; }
.panel { background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 24px; }
.section-tint .panel { padding: 28px; }
.panel-title { font-family: var(--wht-font-head); font-size: 26px; font-weight: 700; line-height: 1.05; text-transform: uppercase; margin: 0 0 14px; }
.panel-q { font: 700 22px/1.1 var(--wht-font-head); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 8px; }
.panel-note { margin: 0 0 14px; font-size: 17px; color: var(--wht-muted); }
.panel-foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--wht-line); font-size: 16px; color: var(--wht-muted); }
.panel-dark { background: var(--wht-ink); color: #fff; border-color: var(--wht-ink); padding: 28px; }
.panel-dark .panel-title { margin-bottom: 10px; }
.panel-dark p { font-size: 17px; color: var(--wht-on-ink); margin-bottom: 20px; }
.panel-dark .panel-foot { border-color: #3A4E54; color: var(--wht-on-ink-soft); font-size: 15px; }
.panel p { text-wrap: wrap; } /* side boxes: each line runs to the right edge before it breaks */
.panel-tint { background: var(--wht-sea); }
.pairs { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 17px; }
.pairs dt { color: var(--wht-red-deep); font-weight: 600; min-width: 70px; }
.pairs dd { margin: 0; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); }
.type-card { padding: 24px; border-right: 1px solid var(--wht-line); }
.type-card:last-child { border-right: 0; }
.type-card h3 { font-size: 26px; margin: 0 0 6px; }
.type-card p { margin: 0; color: var(--wht-muted); font-size: 17px; }
.type-card-warn { background: var(--wht-red-wash); }
#today .prose p { margin-bottom: 32px; }
/* "How the List works today" text runs the full width, to the edge of the In Danger card */
#today .prose { max-width: none; }
#criteria { margin-top: 72px; }
#criteria .section-intro { margin-bottom: 28px; max-width: none; }
.criteria-group { margin: 0 0 4px; padding-bottom: 8px; border-bottom: var(--wht-frame) solid var(--wht-ink); }
.criteria-group.natural { color: var(--wht-natural); border-color: var(--wht-natural); }
.criteria { margin: 0; }
.criteria > div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--wht-line); }
.criteria dt { font: 700 24px/1.1 var(--wht-font-head); min-width: 48px; text-transform: uppercase; }
.criteria dd { margin: 0; }
/* Criterion icons (Font Awesome): a round badge, cultural in the accent colour, natural in green */
.crit-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--wht-red-wash, #F6E3DE); color: var(--wht-red); font-size: 19px; }
.crit-icon.is-natural { background: #E1EEF0; color: var(--wht-natural); }
.criteria > div { align-items: flex-start; }
.criteria dt { display: flex; align-items: center; gap: 12px; min-width: 104px; }
.crit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.crit-head .crit-num { margin-bottom: 0; }
.crit-head .crit-icon { width: 52px; height: 52px; font-size: 22px; }
/* Criterion badge: icon and Roman numeral together in one pill (replaces the separate icon circle and numeral) */
.crit-badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 20px;
  background: var(--wht-red); color: #fff; font: 700 21px/1 var(--wht-font-head); letter-spacing: .04em; white-space: nowrap; }
.crit-badge.is-natural { background: var(--wht-natural); }
.crit-badge i { font-size: .8em; }
.crit-badge-lg { height: 48px; padding: 0 18px 0 15px; border-radius: 24px; font-size: 26px; gap: 10px; }
.criteria dt { min-width: 112px; }
.criteria-tint > div { background: var(--wht-sea); border: 0; padding: 14px 18px; margin-bottom: 8px; }
.removed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
#removed > .container > p { margin-bottom: 28px; }
.removed-card { background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 26px; height: 100%; position: relative; }
.removed-year { font: 700 48px/1 var(--wht-font-head); color: var(--wht-red); margin: 0 0 8px; text-decoration: line-through; text-decoration-thickness: 3px; }
.removed-card h3 { font-size: 24px; margin: 0 0 8px; }
.removed-card p:last-child { margin: 0; color: var(--wht-muted); font-size: 17px; }
.section-sources { padding-block: 64px; border-top: var(--wht-frame) solid var(--wht-ink); }
.sources { flex: 1 1 520px; max-width: 720px; color: var(--wht-muted); font-size: 16px; }
.sources .h6 { font: 700 18px var(--wht-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--wht-ink); margin-bottom: 4px; }

/* ---------- Two-column detail layout (collector, site and journey pages) ---------- */
.detail-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.detail-main { flex: 999 1 600px; min-width: 0; }
.detail-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.detail-body { padding-block: 40px 80px; }

/* ---------- Site Collector ---------- */
.collector-body { padding-block: 48px 88px; }
.collector-layout { gap: 32px; }
.collector-layout .detail-main { flex-basis: 560px; display: flex; flex-direction: column; }
.collector-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 14px; }
.search-field { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.search-field .form-label { margin: 0; }
.collector-note { margin: 0 0 28px; font-size: 16px; color: var(--wht-label); }
#collector-list { display: flex; flex-direction: column; gap: 28px; }
.c-group { border: var(--wht-frame) solid var(--wht-ink); padding: 18px 22px 10px; margin: 0; background: var(--wht-white); }
.c-group legend { float: none; width: auto; padding: 0 8px; margin: 0; font: 700 26px/1.3 var(--wht-font-head); text-transform: uppercase; }
.c-group legend small { font: 600 16px var(--wht-font-body); text-transform: none; color: var(--wht-label); white-space: nowrap; }
.c-row { display: flex; gap: 14px; align-items: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--wht-line); cursor: pointer; margin: 0; }
.c-row:last-child { border-bottom: 0; }
.c-row input { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--wht-red); }
.c-row .c-text { display: flex; flex-direction: column; line-height: 1.3; flex-grow: 1; }
.c-row .c-name { font-weight: 600; }
.c-row .c-sub { font-size: 16px; color: var(--wht-label); }
.empty-note { color: var(--wht-muted); }
.c-other { border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); padding: 20px 24px; margin-top: 28px; }
.c-other .form-label { font: 700 26px/1.2 var(--wht-font-head); text-transform: uppercase; margin-bottom: 4px; }
.c-other-help { font-size: 17px; color: var(--wht-muted); margin-bottom: 12px; text-wrap: wrap; } /* runs the full width of the box */
.c-other input { max-width: 10rem; }
.tally { background: var(--wht-ink); color: #fff; padding: 28px; }
.tally-label { margin: 0; font: 600 17px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-on-ink-soft); }
.tally-num { font: 700 64px/1 var(--wht-font-head); margin: 0 0 20px; }
.tally-num small { font: 600 22px var(--wht-font-head); color: var(--wht-on-ink-soft); text-transform: uppercase; letter-spacing: .04em; }
#tally-regions { display: flex; flex-direction: column; gap: 12px; }
.tally-row { font-size: 16px; }
.tally-row div:first-child { display: flex; justify-content: space-between; }
.bar { height: 8px; background: #3A4E54; overflow: hidden; }
.bar-fill { height: 8px; background: var(--wht-on-ink-link); }
#gaps { display: flex; flex-direction: column; gap: 10px; }
.gap-link { display: block; padding: 12px 14px; border: var(--wht-frame) solid var(--wht-ink); text-decoration: none; color: var(--wht-ink); background: var(--wht-white); }
.gap-link:hover { background: var(--wht-sea); color: var(--wht-ink); }
#gaps { gap: 0; border-top: 1px solid var(--wht-line); }
#gaps .gap-link { border: 0; border-bottom: 1px solid var(--wht-line); padding: 12px 0; background: transparent; }
#gaps .gap-link:hover strong { text-decoration: underline; }
.gap-link strong { display: block; font-weight: 600; }
.gap-link > span { display: block; font-size: 15px; color: var(--wht-red-deep); font-weight: 600; }
.collector-layout .panel-title { margin-bottom: 6px; }
.tally-compact { display: none; }
/* Desktop: the right-hand column (tally and Fill the gaps) stays in view while the list scrolls.
   It is kept short enough to fit the screen, so it never needs a scroll bar of its own. */
@media (min-width: 992px) {
  .collector-layout .detail-side { position: sticky; top: calc(var(--header-h, 84px) + 16px); }
  .collector-layout .tally { padding: 20px 24px 18px; }
  .collector-layout .tally-num { font-size: 52px; margin-bottom: 12px; }
  .collector-layout #tally-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
  .collector-layout .tally-row { font-size: 15px; }
  .collector-layout .bar, .collector-layout .bar-fill { height: 6px; }
  .collector-layout .detail-side .panel { padding: 18px 22px; }
  .collector-layout .detail-side .panel-title { font-size: 24px; }
  .collector-layout #gaps .gap-link { padding: 9px 0; }
}
/* Shorter screens show fewer journeys in Fill the gaps, so the column still fits */
@media (min-width: 992px) and (max-height: 860px) { #gaps .gap-link:nth-child(n+3) { display: none; } }
@media (min-width: 992px) and (max-height: 720px) {
  .collector-layout .detail-side { position: static; }
  .tally-compact { display: block; position: sticky; z-index: 5; margin: 0 0 20px; padding: 12px 16px; background: var(--wht-ink); color: #fff; font-size: 17px; }
  .tally-compact strong { font: 700 28px var(--wht-font-head); margin-right: 4px; }
}
/* Clear my list: at the top of the list, in the tally, and the question that follows */
.collector-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 24px; }
.collector-note p { margin: 0; font-size: 16px; color: var(--wht-label); }
.collector-note .c-clear { min-height: 44px; padding: 6px 16px; font-size: 16px; }
.tally-clear { margin-top: 14px; padding: 4px 0; border: 0; background: none; font: 600 16px var(--wht-font-body); color: var(--wht-on-ink-link); text-decoration: underline; cursor: pointer; }
.tally-clear:hover { color: #fff; }
.tally-clear:disabled { display: none; }
.c-confirm { margin: 0 0 20px; padding: 14px 16px; background: var(--wht-red-wash); border: var(--wht-frame) solid var(--wht-ink); color: var(--wht-ink); }
.tally .c-confirm { margin: 14px 0 0; }
.c-confirm p { margin: 0 0 10px; font-weight: 600; font-size: 17px; color: var(--wht-ink); }
.c-confirm p:only-child { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.c-confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.c-confirm .btn { min-height: 44px; padding: 6px 16px; font-size: 16px; }
.c-removed { margin-top: 24px; }
@media (max-width: 991.98px) {
  .tally-compact { display: block; position: sticky; top: 0; z-index: 5; margin: 0 0 20px; padding: 12px 16px;
    background: var(--wht-ink); color: #fff; font-size: 17px; }
  .tally-compact strong { font: 700 28px var(--wht-font-head); margin-right: 4px; }
}

/* ---------- Site and journey pages ---------- */
.breadcrumb-row { padding-top: 18px; font-size: 16px; color: var(--wht-label); }
/* Breadcrumb above a page's top section (Site Collector) */
.crumb-top { padding-bottom: 18px; }
/* Pages that open with the light green heading block (About, Sites, Journeys): the breadcrumb sits inside it */
.page-head:has(.page-crumb) { padding-top: 18px; }
.page-crumb { padding-top: 0; margin-bottom: 28px; }
@media (max-width: 767.98px) { .page-crumb { margin-bottom: 20px; } }
.breadcrumb { --bs-breadcrumb-divider: '›'; --bs-breadcrumb-item-padding-x: 6px; --bs-breadcrumb-divider-color: var(--wht-label);
  --bs-breadcrumb-item-active-color: var(--wht-label); margin: 0; }
.breadcrumb { align-items: baseline; }
/* Bootstrap floats the › divider, which lifts it above the linked items; keep it on the text line */
.breadcrumb-item + .breadcrumb-item::before { float: none; display: inline-block; }
.breadcrumb a { display: inline-block; padding: 4px 0; }
.site-head { padding-top: 24px; }
.site-head h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: .98; margin-bottom: 12px; }
.site-facts { margin: 0 0 22px; font: 600 19px var(--wht-font-head); letter-spacing: .07em; text-transform: uppercase; color: var(--wht-label); }
.site-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.site-photo { width: 100%; height: 440px; object-fit: cover; border: var(--wht-frame) solid var(--wht-ink); }
.site-photo.photo-placeholder { padding: 16px; }
.site-photo.photo-placeholder span { font-size: 14px; padding: 4px 10px; }
.site-head .site-photo:only-child { height: 420px; }
/* Locator plate on site and journey pages */
.locator { border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-sea); margin: 0; display: flex; flex-direction: column; }
.locator .plate-map { min-height: 240px; height: auto; flex: 1 1 auto; aspect-ratio: 16 / 10; }
.head-split .locator .plate-map { aspect-ratio: auto; }
.locator figcaption { border-top: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); padding: 10px 14px; font-size: 16px; color: var(--wht-muted); }
.head-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.head-split .site-photo, .head-split .site-photo:only-child { height: 100%; min-height: 360px; }
.collect-status:empty { display: none; }
.collect-status { margin: -12px 0 24px; padding: 12px 16px; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-sea); color: var(--wht-ink); font-size: 17px; }
.btn.is-collected { --bs-btn-color: #fff; --bs-btn-bg: var(--wht-ink); --bs-btn-border-color: var(--wht-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--wht-ink-2); --bs-btn-hover-border-color: var(--wht-ink-2);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--wht-ink-2); --bs-btn-active-border-color: var(--wht-ink-2); }
.btn.is-collected::before { content: "\2713"; margin-right: 8px; }
.detail-main > h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .98; }
.site-prose h2 { font-size: 34px; margin: 0 0 12px; }
.site-prose p { margin-bottom: 14px; }
.site-prose p.placeholder-text, .site-prose .criteria-more { margin-bottom: 40px; }
.site-prose .criteria-more a { font-weight: 600; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; border: var(--wht-frame) solid var(--wht-ink); color: var(--wht-ink); font-weight: 600; font-size: 16px; text-decoration: none; background: var(--wht-white); }
a.chip:hover { background: var(--wht-sea); }
.faq { border-top: var(--wht-frame) solid var(--wht-ink); }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--wht-line); }
.faq-item h3 { font-family: var(--wht-font-body); font-weight: 600; font-size: 20px; text-transform: none; line-height: 1.4; margin: 0 0 4px; }
.faq-item p { margin: 0; color: var(--wht-muted); }
.detail-side .panel-title { font-size: 26px; }
.plan { margin: 0; font-size: 17px; }
.plan dt { font-weight: 600; }
.plan dd { margin: 0 0 12px; color: var(--wht-label); }
.plan dd:last-child { margin-bottom: 0; }
.detail-side .panel .panel-foot { margin-top: 16px; padding-top: 12px; font-size: 16px; color: var(--wht-label); }
.detail-side .panel-dark .panel-foot { color: var(--wht-on-ink-soft); }
.journey-mini { display: block; padding: 14px 0; border-top: 1px solid #3A4E54; text-decoration: none; color: #fff; }
.journey-mini:last-child { border-bottom: 1px solid #3A4E54; }
.journey-mini:hover .journey-mini-name { text-decoration: underline; }
.panel-dark .journey-mini, .panel-dark .journey-mini:hover { color: #fff; }
.journey-mini-name { display: block; font-weight: 600; }
.journey-mini-count { display: block; font-size: 16px; color: var(--wht-on-ink-link); font-weight: 600; }
.side-sources { margin: 0; font-size: 16px; color: var(--wht-label); }
.key-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 40px; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); }
.key-facts > div { padding: 16px 18px; border-right: 1px solid var(--wht-line); border-bottom: 1px solid var(--wht-line); }
.key-facts dt { font: 600 16px var(--wht-font-head); letter-spacing: .07em; text-transform: uppercase; color: var(--wht-label); }
.key-facts dd { margin: 4px 0 0; font-size: 21px; font-weight: 600; }
.key-facts .accent { color: var(--wht-red); }
/* A number or value in a facts box that jumps to its section further down the page */
.fact-link { color: var(--wht-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fact-link:hover { text-decoration-thickness: 2px; }
.fact-link::after { content: "↓"; display: inline-block; margin-left: .3em; font-size: .85em; text-decoration: none; }
.key-facts .fact-wide { grid-column: 1 / -1; border-right: 0; border-bottom: 0; background: var(--wht-sea); }
.key-facts dd.placeholder-text { font-size: 18px; font-weight: 400; }
.h-sub { font-size: 34px; margin: 0 0 16px; }
.site-steps { margin: 0 0 40px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0;
  border-top: var(--wht-frame) solid var(--wht-ink); }
.site-steps li { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--wht-line); min-height: 56px; }
.step-num { display: none; }
.site-steps a { color: var(--wht-ink); font-weight: 600; }
.step-name { font-weight: 600; }
.step-pending { color: var(--wht-label); }
.highlights { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--wht-muted); }
.handoff-early { display: none; }
@media (max-width: 991.98px) { .handoff-early { display: inline-flex; margin: -16px 0 40px; } }
.panel-call { margin: 14px 0 0; font-size: 17px; }
.panel-call a { font-weight: 600; }

/* ---------- Journey page additions ---------- */
.detail-main h1 { text-wrap: wrap; } /* journey title runs the full width before it wraps */
.journey-subtitle { margin: -8px 0 24px; font: 600 21px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--wht-label); }
.journey-intro { margin-bottom: 40px; }
.key-facts.facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.key-facts .fact-span { grid-column: 1 / -1; border-right: 0; }
.key-facts .fact-span dd { font-size: 19px; }
.site-steps-full { grid-template-columns: 1fr; }
.site-steps-full li { padding: 12px 4px; }
.step-thumb { width: 88px; height: 60px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--wht-line); }
/* Photo beside each site on a journey page: a link to the site page; a pale tile when there is no photo yet */
.step-photo { flex-shrink: 0; display: block; width: 88px; height: 60px; }
.step-photo .step-thumb { display: block; transition: filter .3s ease, opacity .3s ease; }
.step-photo:hover .step-thumb { filter: brightness(107.5%); opacity: .975; }
.step-photo.no-photo { display: flex; align-items: center; justify-content: center; background: #DCE7DF; color: #6E8A76; }
.step-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.step-place { font-size: 16px; color: var(--wht-label); }
.route-days { margin: 0 0 14px; padding: 0; list-style: none; border-top: var(--wht-frame) solid var(--wht-ink); }
.route-days li { padding: 10px 4px; border-bottom: 1px solid var(--wht-line); }
.route-days li.route-part { padding: 18px 4px 8px; border-bottom: 2px solid var(--wht-ink); font: 600 17px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--wht-label); }
.route-days li.route-part:first-child { padding-top: 10px; }
.route-more { margin-bottom: 0; }
.route-more a { font-weight: 600; }
.journey-cta { padding-block: 64px; }
.journey-cta h2 { margin-bottom: 10px; }
.journey-cta p { font-size: 19px; margin-bottom: 24px; text-wrap: wrap; } /* runs the full width */
.section-dark .btn-accent { color: #fff; }
/* Journey page: lists side by side (JOURNEY_LAYOUT 'side-by-side') */
.detail-body.is-split { padding-bottom: 24px; }
.journey-lists { padding-block: 40px 80px; border-top: 1px solid var(--wht-line); }
.journey-lists-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.journey-lists .site-steps, .journey-lists .route-days { margin-bottom: 14px; }
.route-days[data-cut].is-collapsed .day-extra { display: none; }
.route-toggle { margin: 4px 0 18px; }
.route-toggle[hidden] { display: none; }
/* Journey page map tools (JOURNEY_MAP_TOOLS) */
.locator-map { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.plate-locator { cursor: grab; touch-action: pan-y; }
.plate-locator.is-dragging { cursor: grabbing; }
.locator-zoom { position: static; flex-direction: row; gap: 0; border-top: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); }
.locator-zoom .zoom-btn { flex: 1 1 0; min-width: 0; justify-content: center; border: 0; border-right: 1px solid var(--wht-line); font-size: 16px; }
.locator-zoom .zoom-btn:last-child { border-right: 0; }
.locator-card { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; gap: 12px; align-items: center;
  padding: 10px 44px 10px 10px; background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); box-shadow: 0 4px 14px rgba(23,38,43,.18); }
.locator-card[hidden] { display: none; }
.locator-card img { width: 96px; height: 64px; object-fit: cover; flex-shrink: 0; }
.locator-card .lc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.locator-card .lc-name { font-weight: 600; }
.locator-card .lc-place { font-size: 15px; color: var(--wht-label); }
.locator-card .lc-link { font-weight: 600; font-size: 16px; margin-top: 2px; }
.locator-card .lc-close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--wht-ink); cursor: pointer; }
.locator-card .lc-close:hover { color: var(--wht-red); }
.mk-btn { padding: 0; cursor: pointer; }
.pm-mark.is-hot .pm-dot { stroke: #000; stroke-width: 4.5; }
.mk-btn:hover, .site-steps li.is-hot .mk-btn { border-color: var(--wht-red); color: var(--wht-red); }
.site-steps li.is-hot { background: var(--wht-sea); }
@media (max-width: 991.98px) {
  .journey-lists-grid { grid-template-columns: 1fr; gap: 32px; }
  .journey-lists { padding-block: 32px 56px; }
}
/* Site page: "label" layout (SITE_PAGE_LAYOUT 'label') */
.site-hero { position: relative; margin: 24px 0 0; }
/* The photo keeps a 2.2:1 shape (no wider than 1600 px, the size of our files), so a wide screen
   does not crop it into a thin strip; 'image_focus' on a site chooses which part stays in view */
.site-hero-photo { aspect-ratio: 2.2 / 1; max-width: 1600px; max-height: 700px; margin-inline: auto; background: #B9A48C; border-block: var(--wht-frame) solid var(--wht-ink); overflow: hidden; display: flex; align-items: flex-start; justify-content: flex-end; }
.site-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); display: block; }
.site-hero .hero-note { margin: 16px; background: rgba(255,255,255,.94); padding: 4px 10px; font-size: 14px; }
.site-hero-inner { position: relative; }
.site-label { position: relative; margin-top: -64px; max-width: 640px; background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 26px 30px 22px; }
.site-label h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: .98; margin: 0 0 10px; }
.site-badge { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 16px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.site-badge { flex-wrap: wrap; row-gap: 10px; }
/* Yellow "UNESCO World Heritage Site" tag: marks a site page at a glance (journey pages have none) */
.site-kind { display: inline-block; padding: 5px 12px 4px; background: #F2C230; color: #1C2A22; border-radius: 4px;
  font: 700 15px/1.2 var(--wht-font-head); letter-spacing: .08em; }
.site-badge-map { display: inline-flex; align-items: center; gap: 10px; }
/* Green "World Heritage Journey" tag on journey pages: same shape and font as the yellow site tag */
.journey-badge { margin: 0 0 14px; font: 600 16px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; }
.journey-kind { background: var(--wht-red); color: #fff; }
.mk.mk-lg { width: 40px; height: 40px; font-size: 17px; background: var(--wht-red); border-color: var(--wht-red); color: #fff; }
.site-place { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.site-label .site-facts { margin: 0 0 20px; font-size: 17px; }
.site-label .site-actions { margin-bottom: 0; }
.site-label .collect-status:empty { display: none; }
.site-label .collect-status { margin: 16px 0 0; }
/* Name card and "Where it is" map side by side under the photo (SITE_MAP_BESIDE_LABEL) */
.site-hero-row { position: relative; max-width: 1600px; margin-inline: auto; padding-inline: clamp(16px, 2.4vw, 40px);
  display: grid; grid-template-columns: minmax(340px, 34%) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.site-hero-row .site-label { max-width: none; display: flex; flex-direction: column; }
.site-hero-row .site-actions { margin-top: auto; }
.site-summary { margin: 14px 0 18px; font-size: 18px; line-height: 1.55; color: var(--wht-ink); }
.site-summary .go { font-weight: 600; white-space: nowrap; }
.site-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 24px; border-top: 1px solid var(--wht-line); }
.site-glance > div { padding: 10px 0; border-bottom: 1px solid var(--wht-line); }
.site-glance dt { font: 600 14px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.site-glance dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; }
.site-crumb-row { display: block; }
.site-hero-row .site-label h1 { font-size: clamp(2.1rem, 3vw, 3.1rem); }
.site-map-card { position: relative; margin-top: -64px; background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 20px 22px 22px;
  display: flex; flex-direction: column; align-self: stretch; }
.site-map-card h2 { font-size: 28px; margin: 0 0 4px; scroll-margin-top: 16px; }
.site-map-note { margin: 0 0 14px; font-size: 17px; color: var(--wht-muted); }
/* The map fills whatever height the name card sets (at least 300 px) */
.site-map-card .locator { flex: 1 1 auto; min-height: 0; }
.site-map-card .locator-wide .plate-map { aspect-ratio: auto; flex: 1 1 0; height: auto; min-height: 300px; }
@media (max-width: 991.98px) {
  .site-hero-row { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; max-width: 720px; }
  .site-map-card { margin-top: 0; }
  .site-map-card .locator-wide .plate-map { aspect-ratio: 4 / 3; flex: 0 0 auto; min-height: 260px; }
  .site-hero-row .site-actions { margin-top: 0; }
}
@media (max-width: 767.98px) { .site-hero-row { max-width: 540px; } }
@media (max-width: 575.98px) { .site-hero-row { max-width: none; padding-inline: 12px; } .site-map-card { padding: 16px 14px 16px; }
  .site-map-card .locator-zoom .zoom-btn { font-size: 15px; padding-inline: 4px; white-space: nowrap; } }
.site-onpage { margin: 28px 0 8px; }
/* Site page "On this page" links: at the top under the breadcrumb, a white bar with a soft shadow so it stands out */
.onpage-band { padding-block: 16px 20px; }
.onpage-band .site-onpage { margin: 0; align-items: stretch; box-shadow: var(--g-shadow-lift); }
.onpage-band .onpage-label { display: inline-flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--wht-line);
  color: var(--wht-label); font: 600 14px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.onpage-band + .site-hero { margin-top: 0; }
@media (max-width: 991.98px) { .onpage-band .onpage-label { flex: 0 0 100%; min-height: 40px; border-right: 0; border-bottom: 1px solid var(--wht-line); } }
.site-journeys { padding-block: 48px 56px; scroll-margin-top: 16px; }
.sj-head { margin-bottom: 26px; }
.sj-head h2 { margin-bottom: 8px; }
.sj-cards.is-collapsed .sj-extra { display: none; }
.sj-toggle { margin-top: 24px; }
.sj-toggle[hidden] { display: none; }
.sj-others { margin-top: 36px; max-width: 860px; }
.sj-others h3 { font-size: 24px; margin: 0 0 8px; }
.sj-list { list-style: none; margin: 0; padding: 0; border-top: var(--wht-frame) solid var(--wht-ink); }
.sj-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--wht-line); }
.sj-list a { font-weight: 600; }
.sj-list span { font: 600 15px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--wht-label); }
.site-read { padding-block: 56px 16px; }
.reading { max-width: 860px; }
.reading .lead-in { font-size: 21px; line-height: 1.55; color: var(--wht-ink); }
/* Site page: the summary sits beside a green rule; small photo cards for linked and nearest sites; icons on the plan tiles */
.site-prose .lead-in { border-left: 4px solid var(--wht-red); padding-left: 18px; }
.site-mini-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
.site-nearby { background: var(--wht-sea); border-radius: 12px; padding: 24px; }
.site-nearby h2 { font-size: 26px; margin: 0 0 16px; }
.site-nearby .site-mini-list { margin-bottom: 16px; }
.nearby-more { margin: 0; font-weight: 600; }
.plan-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--wht-sea); color: var(--wht-red); font-size: 19px; }
/* Icon on the left with the heading beside it; the text starts under the icon */
.plan-tile:has(.plan-ic) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; align-content: start; }
.plan-tile:has(.plan-ic) h3 { margin: 0; }
.plan-tile:has(.plan-ic) p { grid-column: 1 / -1; margin-top: 10px; }
.site-read h2, .site-where h2, .site-criteria h2, .site-plan h2, .site-end h2 { scroll-margin-top: 16px; }
.site-where { padding-block: 28px 48px; }
.site-where h2 { margin-bottom: 8px; }
.locator-wide .plate-map { aspect-ratio: 21 / 9; min-height: 300px; }
.section-intro.one-line { max-width: none; }
.site-sources { margin: 32px 0 0; font-size: 16px; color: var(--wht-label); }
.site-criteria { padding-block: 48px 56px; }
.site-criteria #criteria { margin-top: 0; }
/* No questions yet: the source line sits at the top of the last section */
.site-end .reading:not(:has(.faq)) + .site-sources { margin-top: 0; }
.crit-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 18px; }
.crit-tile { background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 22px 24px; }
.crit-num { display: block; font: 700 54px/1 var(--wht-font-head); color: var(--wht-red); margin-bottom: 10px; }
.crit-tile.is-natural .crit-num { color: var(--wht-natural); }
.crit-tile p { margin: 0; }
.site-criteria .criteria-more a { font-weight: 600; }
.site-plan { padding-block: 48px 56px; }
.site-plan h2 { margin-bottom: 22px; }
.plan-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan-tile { background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 20px 22px; }
.plan-tile h3 { font-size: 21px; margin: 0 0 6px; }
.plan-tile p { margin: 0; color: var(--wht-muted); }
.plan-foot { margin: 16px 0 0; font-size: 16px; color: var(--wht-label); }
.site-end { padding-block: 48px 72px; }
.site-end .faq { margin-bottom: 32px; }
.lc-here { font-size: 15px; color: var(--wht-label); margin-top: 2px; }
@media (max-width: 991.98px) {
  .plan-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-label { margin-top: -48px; }
}
@media (max-width: 575.98px) {
  .site-hero-photo { aspect-ratio: 4 / 3; }
  .site-label { margin-top: -32px; padding: 20px 18px; }
  .plan-tiles { grid-template-columns: 1fr; }
  .locator-wide .plate-map { aspect-ratio: 4 / 3; }
}
/* Journeys page */
.jump-count { margin-left: 8px; font-weight: 500; color: var(--wht-label); }
.on-page a:hover .jump-count { color: inherit; }
.journeys-region { padding-block: 56px; border-bottom: 1px solid var(--wht-line); scroll-margin-top: 16px; }
.journeys-region h2 { margin-bottom: 24px; }
.region-count { margin-left: 10px; font-size: .55em; letter-spacing: .06em; color: var(--wht-label); white-space: nowrap; }
/* Heading with a count ("Africa 25 journeys", "Africa 71 sites"): the count sits centred on the heading line */
h2:has(> .region-count) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; }
h2 > .region-count { margin-left: 0; }
.journeys-help { max-width: 760px; }
.journeys-help p { font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wht-ink); color: var(--wht-on-ink); font-size: 16px; }
.site-footer .row { --bs-gutter-x: 32px; padding-block: 56px 32px !important; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--wht-on-ink-link); }
.footer-brand { font: 700 26px/1.1 var(--wht-font-head); text-transform: uppercase; color: #fff; margin: 0 0 6px !important; }
.footer-heading { font: 700 18px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 8px; }
.footer-links { margin: 0; display: flex; flex-direction: column; gap: 0; }
.footer-links a { display: inline-block; padding: 6px 0; }
.membership-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-box { border: 1px dashed #6F8A8E; padding: 10px 12px; font-size: 15px; line-height: 1.5; }
.footer-contact { margin: 0; font-style: normal; }
.footer-contact p + p { margin-top: 10px; }
.footer-contact a[href^="tel:"] { white-space: nowrap; }
/* Licence and membership logos: on white tiles so they read on any footer colour */
/* All three on one line; Consumer Protection BC a little larger than the others */
.membership-logos { margin: 0; flex-wrap: nowrap; align-items: center; gap: 18px; }
.member-logo { display: inline-flex; align-items: center; height: 36px; padding: 4px 6px; background: #fff; border-radius: 4px; box-sizing: content-box; }
.member-logo.is-larger { height: 46px; }
.member-logo img { display: block; width: auto; height: 100%; }
.member-note { margin-top: 8px !important; font-size: 14px; }
/* Narrow phones: the three logos step down so they stay on one line */
@media (max-width: 399.98px) { .membership-logos { gap: 12px; } .member-logo { height: 30px; } .member-logo.is-larger { height: 38px; } }
/* Licence and memberships sit under the footer logo, filling the space below it */
.footer-members { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--g-border, #3A4E54); max-width: 380px; }
.footer-legal { border-top: 1px solid #3A4E54; padding-block: 20px 40px; font-size: 15px; color: var(--wht-on-ink-soft); }
.footer-legal p + p { margin-top: 6px; }

/* ---------- Medium and small screens ---------- */
@media (max-width: 991.98px) {
  .atlas-title { grid-template-columns: 1fr; }
  .plate-body { grid-template-columns: 1fr; }
  .plate-map-wrap { border-right: 0; border-bottom: var(--wht-frame) solid var(--wht-ink); min-height: 0; }
  .plate-key { height: auto; }
  /* phones and tablets: the zoom buttons sit in a row under the map, not on top of it */
  .map-zoom { position: static; flex-direction: row; gap: 0; border-top: var(--wht-frame) solid var(--wht-ink); }
  .zoom-btn { flex: 1 1 0; min-width: 0; justify-content: center; border: 0; border-right: 1px solid var(--wht-line); font-size: 16px; }
  .zoom-btn:last-child { border-right: 0; }
  .map-hint { display: none; }
  .key-scroll { max-height: 420px; }
  .plate-map { position: static; min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .plate-detail, .pd-panel { grid-template-columns: 1fr; }
  .pd-photo { border-right: 0; border-bottom: var(--wht-frame) solid var(--wht-ink); min-height: 0; aspect-ratio: 16 / 7; }
  .head-split { grid-template-columns: 1fr; }
  .head-split .locator .plate-map { aspect-ratio: 16 / 10; }
}
@media (max-width: 767.98px) {
  :root { --wht-gutter: 16px; }
  .section, .section-about { padding-block: 56px; }
  .atlas { padding: 28px 0 56px; }
  .page-head { padding-block: 44px 36px; }
  .plate-map { aspect-ratio: 4 / 3; }
  /* Phones: the region buttons sit in one row that slides sideways, so the map starts higher up */
  .plate-bar { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; position: relative; }
  .plate-bar::-webkit-scrollbar { display: none; }
  .region-tab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; padding: 10px 14px; font-size: 16px; }
  .plate-bar-wrap { position: relative; }
  .plate-bar-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: var(--wht-frame); width: 36px; pointer-events: none;
    background: linear-gradient(to right, rgba(246,247,244,0), var(--wht-paper)); }
  .plate-bar-wrap.at-end::after { display: none; }
  .plate-bar-hint { display: block; margin: 0; padding: 6px 14px; font-size: 14px; color: var(--wht-label); background: var(--wht-paper);
    border-bottom: 1px solid var(--wht-line); }
  .trust-list { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .trust-list li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--wht-line); padding-top: 16px; }
  .atlas-title { padding: 20px 18px; }
  .pd-panel { padding: 20px 18px; }
  .pd-name { font-size: 26px; }
  .site-photo, .site-head .site-photo:only-child { height: 260px; }
  .contact-form { padding: 20px; }
  .detail-layout { gap: 36px; }
  .site-prose h2, .h-sub { font-size: 28px; }
  .key-facts, .key-facts.facts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .on-page { width: 100%; }
  .on-page a { flex: 1 1 50%; border-bottom: 1px solid var(--wht-line); }
  .type-card { border-right: 0; border-bottom: 1px solid var(--wht-line); }
}
@media (max-width: 575.98px) {
  .c-row { flex-wrap: wrap; row-gap: 4px; }
  .c-row .mk { width: 26px; height: 26px; font-size: 13px; }
  .c-row .c-text { flex-basis: calc(100% - 80px); }
  .c-group { padding: 14px 14px 8px; }
  .c-group legend { font-size: 22px; }
  .c-group legend small { display: block; font-size: 15px; }
}

/* ---------- Header stays at the top, as on bestway.com ----------
   Without JavaScript it is a plain sticky header. With JavaScript (assets/js/main.js) it is fixed,
   a spacer keeps its place, and once the page scrolls it gets shorter: the phone line folds away
   (on phones the tagline hides and the Call button shows only its icon). */
html { scroll-padding-top: calc(var(--header-h, 84px) + 8px); }
.site-header { position: sticky; top: 0; z-index: 1030; transition: box-shadow .45s ease-in-out; }
html.hdr-fixed .site-header { position: fixed; top: 0; left: 0; right: 0; }
.header-spacer { display: none; }
html.hdr-fixed .header-spacer { display: block; }
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(0, 0, 0, .12); }
.site-header .header-top { overflow: hidden; max-height: 60px; transition: max-height .45s ease-in-out; }
/* Scrolling down: on every screen only the white space tightens, slowly; the logo keeps its size. */
.site-header .navbar { transition: padding .45s ease-in-out; }
.site-header .brand-mark { transition: width .45s ease-in-out, height .45s ease-in-out; }
.site-header .brand-name { transition: font-size .45s ease-in-out; }
.site-header.is-stuck .header-top { max-height: 0; }
.site-header.is-stuck .navbar { padding-block: 10px; }
.site-header.no-anim, .site-header.no-anim * { transition: none !important; }
@media (max-width: 991.98px) {
  /* An open menu scrolls inside the header if it is taller than the screen */
  .site-header .navbar-collapse { max-height: calc(100vh - 90px); overflow-y: auto; }
}
@media (max-width: 575.98px) {
  .site-header.is-stuck .navbar { padding-block: 8px; } /* phones: only the white space tightens too */
}
/* Touch screens: room at the top of the header for the toll-free tab (16 / 10 / 8px + 24px) */
@media (hover: none) {
  .site-header .navbar { padding-top: 40px; }
  .site-header.is-stuck .navbar { padding-top: 34px; }
}
@media (hover: none) and (max-width: 575.98px) {
  .site-header.is-stuck .navbar { padding-top: 32px; }
}
@media (hover: none) and (max-width: 991.98px) {
  .site-header .navbar-collapse { max-height: calc(100vh - 114px); } /* an open menu still fits the screen */
}
.tally-compact { top: var(--header-h, 0px); }

/* ---------- Back to the top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1020; display: inline-flex; align-items: center; gap: 6px;
  min-height: 50px; padding: 8px 16px; border: 0; border-radius: 26px; background: var(--wht-red); color: #fff;
  font: 600 16px/1 var(--wht-font-body); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--wht-red-deep); color: #fff; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 575.98px) { .to-top { right: 14px; bottom: 14px; padding: 8px 14px; } }

/* ---------- Homepage banner ---------- */
.home-hero { position: relative; }
.home-hero-photo { position: relative; height: clamp(420px, 64vh, 760px); background: #B9A48C; overflow: hidden; }
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); display: block; }
.hero-caption { position: absolute; right: 16px; bottom: 16px; margin: 0; background: rgba(255, 255, 255, .94); padding: 4px 10px; font-size: 15px; color: var(--wht-ink); }
.hero-caption a { color: var(--wht-ink); font-weight: 600; }
.home-label { position: relative; margin-top: -170px; max-width: 760px; background: var(--wht-white); border: var(--wht-frame) solid var(--wht-ink); padding: 30px 34px 28px; }
.home-label h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: .98; margin: 0 0 14px; }
.home-label .lead { font-size: 19px; color: var(--wht-muted); margin: 0 0 20px; max-width: 36em; line-height: 1.5; }
.home-label .hero-actions .btn-lg { min-height: 52px; padding: 10px 22px; font-size: 18px; }
.atlas-title h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.6rem); line-height: .96; }
/* "Explore the map" with its line underneath */
.atlas-title-stack { display: block; }
.atlas-title-stack h2 { margin: 0 0 8px; }
.atlas-title-stack .lead { margin: 0; font-size: 18px; color: var(--wht-muted); max-width: none; }
/* Homepage: testimonials and "Plan your journey" on a white background */
.section-white { background: var(--wht-white); }
.section-white .testimonial { background: var(--wht-white); color: var(--wht-ink); border: var(--wht-frame) solid var(--wht-ink); }
.section-white .testimonial blockquote { font-size: 19px; }
.section-white .testimonial figcaption { color: var(--wht-label); line-height: 1.5; }
.section-white .testimonial figcaption a { font-weight: 600; }
.testimonials-more { margin: 24px 0 0; }
.section-white + .section-white, .section-rule { border-top: 1px solid var(--wht-line); }
/* Client words: lighter than the headings, still easy to read */
.section-white .testimonial blockquote { font-weight: 400; color: var(--wht-muted); line-height: 1.6; }
/* Footer: copyright on the right, level with the line on the left */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.footer-legal p { margin: 0; }
.footer-legal p + p { margin-top: 0; }
/* Trust strip: the founding date stays on one line on wide screens */
@media (min-width: 1200px) {
  .trust-list { grid-template-columns: max-content max-content minmax(0, 1fr); }
}

/* Map box shaped like the world map ("All regions" view), so no empty band shows above or below */
@media (min-width: 992px) {
  .plate-map-wrap { min-height: 0; aspect-ratio: 1.9 / 1; }
  .plate-key { height: auto; contain: size; } /* the key takes the map's height and scrolls inside it */
}
/* Key to the map: a scroll bar that always shows, a fade and "Scroll for more sites" while there is more */
.key-scroll-wrap { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.key-scroll::-webkit-scrollbar { width: 12px; }
.key-scroll::-webkit-scrollbar-track { background: #E9EFEB; border-radius: 6px; }
.key-scroll::-webkit-scrollbar-thumb { background: #8FA796; border-radius: 6px; border: 2px solid #E9EFEB; }
.key-scroll::-webkit-scrollbar-thumb:hover { background: #6F8A78; }
@supports not selector(::-webkit-scrollbar) { .key-scroll { scrollbar-width: auto; scrollbar-color: #8FA796 #E9EFEB; } }
.key-scroll:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.key-scroll-wrap::after { content: ""; position: absolute; left: 0; right: 14px; bottom: 0; height: 72px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--wht-white) 85%); opacity: 0; transition: opacity .2s ease; }
.key-scroll-wrap.has-more::after { opacity: 1; }
.key-more { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 16px; border: var(--wht-frame) solid var(--wht-ink); border-radius: 20px; background: var(--wht-white);
  color: var(--wht-ink); font: 600 15px var(--wht-font-body); white-space: nowrap; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.key-more::before { content: "\2193"; font-size: 17px; }
.key-more:hover { background: var(--wht-sea); }
.key-more[hidden] { display: none; }
/* "All regions" beside the key's heading, shown once a region is chosen or a search is typed */
.key-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 2px; min-height: 36px; }
.key-head .key-h { margin: 0; }
.key-all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 2px 10px 2px 8px;
  border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white); color: var(--wht-ink); font: 600 14px var(--wht-font-body); cursor: pointer; white-space: nowrap; }
.key-all::before { content: "\2190"; font-size: 15px; line-height: 1; color: var(--wht-red); }
.key-all:hover { background: var(--wht-sea); }
.key-all[hidden] { display: none; }
/* "All regions" with no search: the key opens as a short list of regions */
.key-regions { display: none; list-style: none; margin: 0; padding: 0; }
.plate.key-overview .key-regions { display: block; }
.plate.key-overview .key-group, .plate.key-overview .key-region-h { display: none; }
.key-region-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 6px 6px;
  border: 0; border-bottom: 1px solid var(--wht-line); background: transparent; color: var(--wht-ink); text-align: left; cursor: pointer; font: 600 17px var(--wht-font-body); }
.key-region-btn:hover { background: var(--wht-sea); }
.key-region-btn .krb-count { font-weight: 500; font-size: 15px; color: var(--wht-label); white-space: nowrap; }
.key-region-btn .krb-count::after { content: "\2192"; margin-left: 10px; color: var(--wht-red); }

/* ---------- World Heritage Sites page ---------- */

.sites-tools { margin-top: 22px; }
.sites-tools[hidden] { display: none; }
.sites-filters { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sites-regions, .sites-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sites-chip, .sites-type { padding: 0 14px; cursor: pointer; font-size: 16px; min-height: 44px; }
.sites-chip:hover, .sites-type:hover { background: var(--wht-sea); }
.sites-chip[aria-pressed="true"], .sites-type[aria-pressed="true"] { background: var(--wht-ink); border-color: var(--wht-ink); color: #fff; }
.sites-types-label { font-weight: 600; font-size: 16px; color: var(--wht-label); margin-right: 2px; }
.sites-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; }
.sites-count { margin: 0; font-size: 17px; color: var(--wht-muted); }
.sites-map-btn { min-height: 46px; display: inline-flex; align-items: center; }
.sites-body { padding-block: 24px 80px; }
.sites-region { padding-top: 32px; scroll-margin-top: calc(var(--header-h, 84px) + 8px); }
.sites-region[hidden], .sites-country[hidden], .site-card[hidden], .sites-empty[hidden] { display: none; }
.sites-region + .sites-region { border-top: 1px solid var(--wht-line); margin-top: 24px; }
.sites-region h2 { margin: 0 0 8px; }
/* Small "Back to top" link at the right, just under the line between regions */
.sites-region { position: relative; }
.region-top { position: absolute; top: 12px; right: 0; font-size: 15px; font-weight: 600; color: var(--wht-red); text-decoration: none; }
.region-top i { font-size: .8em; margin-left: 4px; }
.region-top:hover, .region-top:focus-visible { text-decoration: underline; }
.sites-country-h { margin: 22px 0 12px; font: 600 21px var(--wht-font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--wht-label); } /* same size as a journey page's subtitle (was 15px) */
.sites-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.site-card-link { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid var(--wht-line); background: var(--wht-white);
  color: var(--wht-ink); text-decoration: none; transition: box-shadow .2s ease, border-color .2s ease; }
.site-card-link:hover, .site-card-link:focus-visible { border-color: var(--wht-ink); }
.site-card-link:hover .sc-name { text-decoration: underline; }
.sc-photo img { transition: filter .3s ease, opacity .3s ease; }
.site-card-link:hover .sc-photo img { filter: brightness(107.5%); opacity: .975; }
.sc-photo { position: relative; flex: 0 0 112px; width: 112px; height: 84px; overflow: hidden; background: #DCE7DF; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-photo .mk { position: absolute; left: 6px; top: 6px; width: 28px; height: 28px; font-size: 13px; background: var(--wht-white); }
.sc-photo.no-photo { display: flex; align-items: center; justify-content: center; }
.sc-photo.no-photo .mk { position: static; width: 36px; height: 36px; font-size: 15px; }
.sc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.sc-place { font-size: 15px; color: var(--wht-muted); }
.sc-meta { font-size: 14px; color: var(--wht-label); }
.sc-journeys { font-size: 14px; font-weight: 600; color: var(--wht-red-deep); margin-top: 2px; }
.sites-empty { padding: 32px 0; font-size: 18px; }
@media (max-width: 1199.98px) { .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .sites-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-photo { flex-basis: 96px; width: 96px; height: 72px; }
  .sites-regions { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }
  .sites-chip { flex: 0 0 auto; }
}

/* Search above the map */
.map-search { margin-top: 16px; }
.map-search-field, .map-search .key-elsewhere { max-width: 720px; } /* the quick-start buttons below may run wider */
.map-search-label { display: block; margin: 0 0 6px; font-weight: 600; font-size: 17px; color: var(--wht-ink); }
.map-search-field { position: relative; display: flex; gap: 10px; align-items: stretch; }
.map-search-field .key-search { flex: 1 1 auto; min-height: 52px; font-size: 18px; margin: 0; }
.map-search-field .key-search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.map-search-clear { flex: 0 0 auto; min-height: 52px; padding: 6px 18px; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white);
  color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; }
.map-search-clear:hover { background: var(--wht-sea); }
.map-search-clear[hidden] { display: none; }
.map-search .key-elsewhere { margin: 10px 0 0; }
/* Trip ideas between the map and the site details */
.plate-ideas { border-top: var(--wht-frame) solid var(--wht-ink); padding: 18px 28px 20px; background: var(--wht-white); }
.plate-ideas[hidden] { display: none; }
.pi-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.pi-title { margin: 0; font-size: 24px; }
.pi-note { margin: 0; font-size: 16px; color: var(--wht-label); }
.pi-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pi-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--wht-line); background: var(--wht-paper); }
.pi-name { font-weight: 600; color: var(--wht-ink); line-height: 1.3; }
.pi-count { font-size: 15px; font-weight: 600; color: var(--wht-red-deep); }
.pi-show { align-self: flex-start; margin-top: auto; min-height: 44px; padding: 6px 14px; border: var(--wht-frame) solid var(--wht-ink); background: var(--wht-white);
  color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; }
.pi-show:hover { background: var(--wht-sea); }
.pi-none { grid-column: 1 / -1; margin: 0; color: var(--wht-muted); }
.plate-ideas.is-trip .pi-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pi-showing { margin: 0; font-size: 18px; font-weight: 600; }
.pi-clear { min-height: 44px; font-size: 16px; }
.pi-total { display: block; margin-top: 2px; font-size: 16px; font-weight: 400; color: var(--wht-muted); }
@media (max-width: 1199.98px) { .pi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .pi-list { grid-template-columns: minmax(0, 1fr); } .plate-ideas { padding: 16px 18px; } }
/* "I've been here" and "Back to the map" in the site details */
.pd-seen { margin-top: 16px; }
.pd-seen-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border: var(--wht-frame) solid var(--wht-ink);
  background: var(--wht-white); color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; text-align: left; }
.pd-seen-btn:hover { background: var(--wht-sea); }
.pd-seen-box { flex: 0 0 auto; width: 22px; height: 22px; border: 2px solid var(--wht-ink); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pd-seen-btn[aria-pressed="true"] .pd-seen-box { background: var(--wht-red); border-color: var(--wht-red); }
.pd-seen-btn[aria-pressed="true"] .pd-seen-box::after { content: "\2713"; color: #fff; font-size: 15px; line-height: 1; }
.pd-seen-note { margin: 8px 0 0; font-size: 15px; color: var(--wht-label); }
.pd-back { display: none; margin-top: 14px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--wht-line); background: transparent; color: var(--wht-ink);
  font: 600 16px var(--wht-font-body); cursor: pointer; }
.pd-back::before { content: "\2191"; margin-right: 8px; }
@media (max-width: 991.98px) { .pd-back { display: inline-flex; align-items: center; } }
/* Bigger tap targets for the map */
.region-tab { min-height: 52px; }
.zoom-btn { min-height: 48px; }
.key-item { min-height: 52px; padding: 8px 6px; font-size: 17px; }
.pd-pick { min-height: 48px; }
/* Under the map before any site is chosen: how to use it, and a few sites to start with */
.plate-detail.is-intro { grid-template-columns: minmax(0, 1fr); }
.plate-detail.is-intro .pd-photo { display: none; }
.plate-detail.is-intro .pd-panel { display: block; }
.pd-intro .pd-name { margin-bottom: 12px; }
.pd-steps { margin: 0 0 18px; padding-left: 1.4em; font-size: 18px; line-height: 1.55; color: var(--wht-ink); }
.pd-steps li { margin-bottom: 4px; padding-left: 4px; }
.pd-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-pick { padding: 0 16px; cursor: pointer; }
.pd-pick:hover { background: var(--wht-sea); }
.atlas-intro .lead { margin: 0; }
@media (max-width: 991.98px) { .home-label { margin-top: -110px; } .home-hero-photo { height: clamp(360px, 56vh, 560px); } }
@media (max-width: 575.98px) {
  .home-hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .hero-caption { right: 12px; bottom: auto; top: 12px; font-size: 14px; border-radius: 6px; } /* clear of the header */
  .home-label { margin-top: -36px; padding: 22px 20px 20px; }
  .home-label .lead { font-size: 18px; }
}

/* ---------- Site Collector photo strip ---------- */
.collector-head { position: relative; padding-bottom: 8px; }
.mosaic { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: var(--wht-white); }
.mosaic-tile { position: relative; margin: 0; height: clamp(220px, 22vw, 340px); overflow: hidden; background: #B9A48C; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic-tile figcaption { position: absolute; left: 0; right: 0; top: 0; padding: 10px 12px 26px; font-size: 15px; font-weight: 500; color: #fff; line-height: 1.3;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.mosaic-tile figcaption a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; } /* underlined like the other photo labels */
.mosaic-tile figcaption a:hover { text-decoration-thickness: 2px; }
.collector-label { margin-top: -64px; }
.collector-label h1 { margin-bottom: 12px; }
.collector-label .section-intro { color: var(--wht-ink); }
/* The title box is as wide as the heading; the intro text wraps inside that width */
.collector-label { max-width: 100%; width: fit-content; }
.collector-label h1 { text-wrap: wrap; }
.collector-label .section-intro { max-width: none; width: 0; min-width: 100%; }
@media (max-width: 1199.98px) { .mosaic { grid-template-columns: repeat(5, minmax(0, 1fr)); } .mosaic-tile:nth-child(n+6) { display: none; } }
@media (max-width: 767.98px) { .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mosaic-tile { height: 160px; } .mosaic-tile:nth-child(n+4) { display: none; } .collector-label { margin-top: -28px; } }

/* ---------- About page photos ---------- */
.site-fig { margin: 0; }
.site-fig img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; border: var(--wht-frame) solid var(--wht-ink); }
.site-fig figcaption { margin-top: 8px; font-size: 15px; color: var(--wht-label); }
.site-fig figcaption a { font-weight: 600; }
.fig-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.photo-band { margin: 0; position: relative; }
/* Focus kept low so the whole fronts of the Samarkand madrasas show, down to the square */
.photo-band img { width: 100%; height: clamp(260px, 38vw, 560px); object-fit: cover; object-position: 50% 80%; display: block; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 14px; }
.photo-band figcaption .band-cap { display: inline-block; background: rgba(255, 255, 255, .94); padding: 4px 10px; font-size: 15px; color: var(--wht-ink); } /* "Site, Country" in one white label, as on the homepage photo */
.photo-band figcaption .band-cap a { font-weight: 600; color: var(--wht-ink); }
.type-card .type-fig { margin: -24px -24px 18px; }
.type-card .type-fig img { border: 0; border-bottom: 1px solid var(--wht-line); }
.type-card .type-fig figcaption { margin: 0; padding: 6px 24px 0; font-size: 14px; }
.type-mark { margin: -24px -24px 45px; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--wht-line); }
.type-mark span { width: 88px; height: 88px; border-radius: 50%; border: 4px solid var(--wht-red); color: var(--wht-red); display: flex; align-items: center; justify-content: center;
  font: 700 54px/1 var(--wht-font-head); }
@media (max-width: 767.98px) { .fig-row { grid-template-columns: 1fr; gap: 20px; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .to-top { transform: none; }
}

/* Phone numbers never break across two lines */
a[href^="tel:"] { white-space: nowrap; }

/* Homepage: three of the first 12 sites (1978) under the facts list */
.first12-title { margin: 28px 0 10px; font: 600 16px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.first12 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.first12 .site-fig { margin: 0; }
.first12 .site-fig img { width: 100%; height: 150px; object-fit: cover; display: block; border-radius: 6px; }
.first12 .site-fig figcaption { margin-top: 6px; font-size: 15px; color: var(--wht-label); line-height: 1.35; }
@media (max-width: 575.98px) { .first12 { grid-template-columns: 1fr 1fr; } .first12 .site-fig:last-child { display: none; } }

/* Testimonials: an icon and the place the journey goes, above each quote */
.t-place { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 22px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-red); }
.testimonial .t-place, .testimonial .t-icon { color: var(--wht-red); } /* the theme sets all text in a testimonial to dark */
.t-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wht-red-wash); color: var(--wht-red); font-size: 25px; } /* about 40% larger */

/* ---------- Homepage map: the chosen site opens beside the map ----------
   The site's card takes the place of the key in the right-hand column (on phones and tablets,
   right under the map). "Back to the list" shows the key again. */
.key-view { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.plate-key .plate-detail { display: none; }
.plate-key.show-site .key-view { display: none; }
.plate-key.show-site .plate-detail { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  border-top: 0; background: transparent; margin-right: -14px; padding-right: 10px; }
.plate-key .pd-photo { flex: none; margin: 0 0 14px; min-height: 0; aspect-ratio: 16 / 9; border: 0; padding: 8px; border-radius: 6px; overflow: hidden; }
.plate-key .pd-panel { display: block; padding: 0 0 8px; }
.plate-key .pd-name { font-size: 24px; }
.plate-key .pd-tag { margin-bottom: 8px; }
.plate-key .pd-meta { font-size: 15px; }
.plate-key .pd-journeys { margin-top: 18px; }
.plate-key .pd-sub { font-size: 16px; }
.pd-to-list { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 12px; padding: 6px 14px;
  border: 1px solid #B9CBBE; border-radius: 6px; background: var(--wht-white); color: var(--wht-ink); font: 600 16px var(--wht-font-body); cursor: pointer; }
.pd-to-list::before { content: "\2190"; }
.pd-to-list:hover { background: var(--wht-sea); }
.pd-to-list:focus-visible { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.plate-key .plate-detail.is-intro .pd-to-list { display: none; }
@media (max-width: 991.98px) {
  .plate-key.show-site .plate-detail { overflow: visible; margin-right: 0; padding-right: 0; }
  .plate-key .pd-photo { aspect-ratio: 16 / 9; border: 0; }
}
/* The site's card: the same always-visible scroll bar, fade and "Scroll for more" button as the key */
.plate-key { position: relative; }
.plate-key .plate-detail::-webkit-scrollbar { width: 12px; }
.plate-key .plate-detail::-webkit-scrollbar-track { background: #E9EFEB; border-radius: 6px; }
.plate-key .plate-detail::-webkit-scrollbar-thumb { background: #8FA796; border-radius: 6px; border: 2px solid #E9EFEB; }
.plate-key .plate-detail::-webkit-scrollbar-thumb:hover { background: #6F8A78; }
@supports not selector(::-webkit-scrollbar) { .plate-key .plate-detail { scrollbar-width: auto; scrollbar-color: #8FA796 #E9EFEB; } }
.plate-key::after { content: ""; position: absolute; left: 20px; right: 34px; bottom: 12px; height: 72px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--wht-white) 85%); opacity: 0; transition: opacity .2s ease; }
.plate-key.show-site.pd-has-more::after { opacity: 1; }
.pd-scroll-more { bottom: 20px; left: calc(50% - 7px); }
/* "Back to the list" sits in a slim row above the photo, at the right, so it never covers the photo;
   a second one closes the card at the end */
.plate-key .plate-detail > .pd-to-list:first-child { align-self: flex-end; margin: 0 0 8px; min-height: 36px; padding: 2px 12px; font-size: 15px; }
.pd-to-list-end { margin: 18px 0 6px; }
/* Quick-start buttons under the map's search box */
.map-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.map-picks[hidden] { display: none; }
.map-picks-h { font-size: 16px; font-weight: 600; color: var(--wht-label); margin-right: 4px; }
.map-picks .pd-pick { min-height: 40px; padding: 0 14px; font-size: 16px; }

/* ---------- Computers: the chosen site opens as a wide card over the right-hand part of the map ----------
   Two columns, so everything shows at once: photo, name and story on the left;
   "Back to the list", "I've been here" and the journeys on the right.
   The map moves the chosen site into the part left in view (assets/js/map.js). */
@media (min-width: 992px) {
  .plate-body { position: relative; }
  .plate-key { position: static; }
  .plate-key.show-site .plate-detail { position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; width: min(51%, 624px);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 28px; align-content: start; align-items: start;
    margin: 0; padding: 18px 24px 16px; background: var(--wht-white); border-left: var(--wht-frame) solid var(--wht-ink);
    box-shadow: -10px 0 24px rgba(0, 0, 0, .12); overflow-y: auto; }
  .plate-key.show-site .plate-detail .pd-panel { display: contents; }
  .plate-key.show-site .pd-photo { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 9; min-height: auto; overflow: visible; margin: 0 0 12px; }
  .plate-key.show-site .pd-photo img { border-radius: 6px; }
  .plate-key.show-site .pd-text { grid-column: 1; grid-row: 2; }
  .plate-key.show-site .pd-journeys { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-top: 50px; }
  .plate-key.show-site .pd-journeys .pd-seen { margin-top: 0; margin-bottom: 14px; }
  .plate-key.show-site .plate-detail > .pd-to-list:first-child { position: absolute; top: 18px; right: 24px; margin: 0; }
  .plate-key.show-site .pd-to-list-end { display: none; }
  .plate-key.show-site .pd-sum { font-size: 17px; line-height: 1.55; }
  /* the fade and "Scroll for more" (only on small laptops, when the card is taller than the map) */
  .plate-key::after { left: auto; right: 0; bottom: 0; width: min(51%, 624px); z-index: 6; }
  .pd-scroll-more { left: auto; right: calc(min(51%, 624px) / 2); transform: translateX(50%); bottom: 12px; z-index: 7; }
}
/* Small laptops (992 to 1199 px): a slightly shorter photo, so the card still fits beside the map */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .plate-key.show-site .plate-detail { padding: 14px 20px 12px; column-gap: 22px; }
  .plate-key.show-site .pd-photo { margin-bottom: 10px; }
  .plate-key.show-site .pd-sum { font-size: 16px; line-height: 1.5; }
  .plate-key.show-site .pd-name { font-size: 22px; }
  .plate-key.show-site .plate-detail > .pd-to-list:first-child { top: 14px; right: 20px; }
  .plate-key.show-site .pd-journeys { padding-top: 46px; }
}
/* Close (X) in the card's top-right corner, in place of "Back to the list" at the top (Esc also closes).
   On computers it sits in the corner of the journeys column; on phones and tablets, small on the photo's corner. */
.plate-key .plate-detail { position: relative; }
.plate-key .plate-detail > .pd-close { position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0;
  justify-content: center; border-radius: 50%; border: 1px solid #B9CBBE; background: rgba(255, 255, 255, .96); color: var(--wht-ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.plate-key .plate-detail > .pd-close::before { content: none; }
.plate-key .plate-detail > .pd-close:hover { background: var(--wht-sea); }
@media (min-width: 992px) {
  .plate-key.show-site .plate-detail > .pd-close { top: 14px; right: 16px; box-shadow: none; }
  .plate-key.show-site .pd-journeys { padding-top: 0; }
  .plate-key.show-site .pd-journeys .pd-seen { padding-right: 52px; } /* keeps "I've been here" clear of the X */
}
/* Narrower card (Nov 28): the left column (photo, name, story) gets a little more room than the
   journeys column, padding is a touch tighter, and the text is one step smaller so most sites fit */
@media (min-width: 992px) {
  .plate-key.show-site .plate-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 20px; padding: 14px 18px 12px; }
  .plate-key.show-site .pd-name { font-size: 22px; }
  .plate-key.show-site .pd-meta { font-size: 14px; margin-bottom: 8px; }
  .plate-key.show-site .pd-sum { font-size: 16px; line-height: 1.5; }
  .plate-key.show-site .pd-tag { margin-bottom: 6px; }
  .plate-key.show-site .plate-detail > .pd-close { top: 12px; right: 14px; }
  .plate-key.show-site .pd-journeys .gap-link { padding: 10px 0; font-size: 16px; }
}
/* Only for sites whose text is too long for the card (set by assets/js/map.js): one step smaller */
@media (min-width: 992px) {
  .plate-key.show-site.is-tight .pd-name { font-size: 20px; }
  .plate-key.show-site.is-tight .pd-meta { font-size: 13px; }
  .plate-key.show-site.is-tight .pd-sum { font-size: 15px; line-height: 1.45; }
  .plate-key.show-site.is-tight .pd-photo { margin-bottom: 8px; }
}
/* Narrower card: the journeys column starts with its heading (beside the X), and "I've been here"
   moves to the end of the column, so it no longer squeezes against the X */
@media (min-width: 992px) {
  .plate-key.show-site .pd-journeys .pd-seen { order: 99; padding-right: 0; margin: 14px 0 0; }
  .plate-key.show-site .pd-journeys .pd-sub { padding-right: 50px; margin-top: 8px; }
  .plate-key.show-site .pd-seen-btn { font-size: 15px; min-height: 44px; }
}

/* ---------- The site card, tidied (Nov 28) ----------
   Top row: the green tag and the X. Left: photo, name, three small labels (place, type, year), the story
   and a "Read more" button. Right, behind a thin line: "I've been here" and the journeys as a neat list. */
.pd-headbar { display: flex; align-items: center; gap: 10px; }
.pd-headbar .pd-tag { margin: 0; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; font-size: 14px; }
.pd-meta span { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #F1F6F2; border: 1px solid #DCE7DF;
  font-weight: 500; color: var(--wht-ink); line-height: 1.35; }
.plate-key .pd-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 7px 14px; border: 1.5px solid var(--wht-red);
  border-radius: 6px; text-decoration: none; font-weight: 600; }
.plate-key .pd-more:hover { background: #F1F6F2; }
.plate-key .pd-journeys .pd-sub { font-size: 15px; letter-spacing: .06em; margin: 0 0 8px; color: var(--wht-label); }
.plate-key .pd-journeys .gap-link { display: block; border: 1px solid #DCE7DF; border-radius: 8px; padding: 9px 12px; margin: 0 0 6px; background: var(--wht-white); }
.plate-key .pd-journeys .gap-link:last-child { border-bottom: 1px solid #DCE7DF; }
.plate-key .pd-journeys .gap-link:hover { background: #F1F6F2; border-color: #B9CBBE; }
.plate-key .pd-journeys .gap-link strong { font-weight: 600; }
.plate-key .pd-more-btn { width: 100%; margin-top: 2px; min-height: 40px; border: 1px solid #B9CBBE; border-radius: 8px; background: transparent; font-size: 15px; }
.plate-key .pd-more-btn:hover { background: #F1F6F2; }
/* "I've been here": a full-width toggle; once ticked it turns pale green and says where the site is kept */
.plate-key .pd-seen { margin: 0 0 14px; }
.plate-key .pd-seen-btn { width: 100%; border-radius: 8px; border: 1px solid #B9CBBE; font-size: 15px; min-height: 46px; }
.plate-key .pd-seen-btn[aria-pressed="true"] { background: #E8F3EB; border-color: var(--wht-red); }
.plate-key .pd-seen-note { font-size: 14px; margin-top: 6px; }
/* Sites in the visitor's Site Collector: a tick in the key and a pale green circle on the map */
.key-item.is-seen .key-name::after { content: "\2713"; margin-left: 6px; color: var(--wht-red); font-weight: 700; }
.pm-mark.is-seen:not(.is-active):not(.is-dot) .pm-dot { fill: #DDEFE2; stroke: var(--wht-red); }
@media (max-width: 991.98px) {
  .plate-key .pd-headbar { margin: 0 0 8px; }
}
@media (min-width: 992px) {
  .plate-key.show-site .plate-detail { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto auto 1fr;
    column-gap: 0; padding: 12px 18px 14px; }
  .plate-key.show-site .pd-headbar { grid-column: 1 / -1; grid-row: 1; min-height: 40px; margin: 0 0 12px; padding: 0 52px 10px 0; border-bottom: 1px solid var(--wht-line); }
  .plate-key.show-site .plate-detail > .pd-close { top: 12px; right: 18px; }
  .plate-key.show-site .pd-photo { grid-column: 1; grid-row: 2; margin: 0 20px 12px 0; }
  .plate-key.show-site .pd-text { grid-column: 1; grid-row: 3; padding-right: 20px; }
  .plate-key.show-site .pd-journeys { grid-column: 2; grid-row: 2 / span 2; padding: 0 0 0 20px; border-left: 1px solid var(--wht-line);
    align-self: stretch; } /* the divider runs the full height of the card, however long either column is */
  .plate-key.show-site .pd-journeys .pd-seen { order: 0; margin: 0 0 14px; padding-right: 0; }
  .plate-key.show-site .pd-journeys .pd-sub { padding-right: 0; margin-top: 0; }
  .plate-key.show-site .pd-name { margin-bottom: 2px; }
  .plate-key.show-site .pd-journeys .gap-link { padding: 8px 12px; font-size: 15px; }
}
/* "Read more about this site" opens the second column (what to do next), full width */
.plate-key .pd-journeys > .pd-more { display: flex; justify-content: center; margin: 0 0 10px; min-height: 44px; }
@media (min-width: 992px) {
  .plate-key.show-site .pd-headbar { min-height: 36px; margin: 0 0 10px; padding-bottom: 8px; }
  .plate-key.show-site .plate-detail > .pd-close { top: 9px; }
  .plate-key.show-site .pd-meta { margin: 4px 0 10px; font-size: 13px; }
  .plate-key.show-site .pd-meta span { padding: 2px 9px; }
}
.plate-key .pd-journeys > .pd-more { font-size: 15px; padding: 8px 10px; text-align: center; }
.plate-key .pd-panel > .pd-back { margin-top: 16px; }
/* Nov 28: bigger "Site # · Region" tag, a little space under the site's name, 10% more line height in the story,
   and the X sits fully inside the top row (clear of its bottom line) */
.plate-key .pd-headbar .site-kind { font-size: 17px; padding: 6px 14px 5px; }
.plate-key .pd-name { margin-bottom: 8px; }
.plate-key .pd-sum { line-height: 1.65; }
@media (min-width: 992px) {
  .plate-key.show-site .pd-name { margin-bottom: 8px; }
  .plate-key.show-site .pd-sum { line-height: 1.65; }
  .plate-key.show-site.is-tight .pd-sum { line-height: 1.6; }
  .plate-key.show-site .pd-headbar { min-height: 44px; }
  .plate-key.show-site .plate-detail > .pd-close, .plate-key.show-site .plate-detail > .pd-close:first-child { top: 9px; right: 18px; width: 38px; height: 38px; }
  .plate-key.show-site .pd-headbar { padding-bottom: 12px; }
}
/* Nov 28: "Read more about this site" is a green link right after the story (not a box in the second column).
   To make room: the map is a touch taller on computers (1.78:1, was 1.9:1), the top row is a little slimmer,
   and there is 2 px less below the photo and below the labels. */
.plate-key .pd-text .pd-more { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.plate-key .pd-text .pd-more:hover { background: transparent; }
.plate-key .pd-sum { margin-bottom: 6px; }
@media (min-width: 992px) {
  .plate-map-wrap { aspect-ratio: 1.78 / 1; }
  .plate-key.show-site .pd-headbar { min-height: 40px; margin: 0 0 8px; padding-bottom: 8px; }
  .plate-key.show-site .pd-photo { margin-bottom: 10px; }
  .plate-key.show-site .pd-meta { margin-bottom: 8px; }
}
/* Pages with the sticky region bar: the browser must not shift the page when the bar changes size
   (that shift made the bar flick between its two sizes) */
html:has(.jump-bar) body { overflow-anchor: none; }
.journeys-region:focus, .jump-target:focus, section[tabindex="-1"]:focus { outline: none; }
/* Sites page: the first region on show (one region chosen, or a search) has no line above it and no "Back to top" */
.sites-region.is-first-shown { border-top: 0; margin-top: 0; }
.sites-region.is-first-shown .region-top { display: none; }
/* Site pages: "I've been here" is a tick box like on the homepage map (click again to take it off) */
.btn.collect-toggle { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.btn.collect-toggle .pd-seen-box { flex: 0 0 auto; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 4px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; }
.btn.collect-toggle[aria-pressed="true"] { --bs-btn-color: var(--wht-ink); --bs-btn-bg: #E8F3EB; --bs-btn-border-color: var(--wht-red);
  --bs-btn-hover-color: var(--wht-ink); --bs-btn-hover-bg: #DDEFE2; --bs-btn-hover-border-color: var(--wht-red); --bs-btn-active-bg: #DDEFE2; }
.btn.collect-toggle[aria-pressed="true"] .pd-seen-box { background: var(--wht-red); border-color: var(--wht-red); }
.btn.collect-toggle[aria-pressed="true"] .pd-seen-box::after { content: "\2713"; color: #fff; font-size: 15px; line-height: 1; }
.site-label .collect-status { margin: 12px 0 0; padding: 10px 14px; font-size: 16px; border: 1px solid #DCE7DF; border-radius: 8px; background: #F1F6F2; }
/* Site pages: the "On this page" bar stays under the header while you scroll, like the Journeys and About
   pages. It stays white (no green band); once stuck it slims down and gets a soft shadow. */
.onpage-band.jump-bar { background: var(--wht-white); padding-block: 16px 20px; border-bottom: 0; }
.onpage-band.jump-bar.is-stuck { background: var(--wht-white); padding-block: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }
.onpage-band.jump-bar.is-stuck .site-onpage { box-shadow: none; }
html:has(.onpage-band.jump-bar) .site-read h2, html:has(.onpage-band.jump-bar) .site-where h2, html:has(.onpage-band.jump-bar) .site-criteria h2,
html:has(.onpage-band.jump-bar) .site-plan h2, html:has(.onpage-band.jump-bar) .site-end h2, html:has(.onpage-band.jump-bar) .site-journeys,
html:has(.onpage-band.jump-bar) .site-map-card h2 { scroll-margin-top: 12px; }

/* ---------- Photo placeholder ----------
   A pale panel with the World Heritage Tours mark sits behind every photo. It shows while a photo
   is loading, if a photo cannot load (header.php swaps a broken photo for a see-through one), and in
   the boxes where no photo has been added yet. A loaded photo always covers it. */
:root { --wht-photo-ph: #DCE7DF; }
main img:not([src*=".svg"]), :root .plate-key .pd-photo img,
:root .photo-placeholder, :root .pd-photo, :root .site-hero-photo, :root .home-hero-photo, :root .mosaic-tile,
:root .step-photo.no-photo, :root .sc-photo.no-photo {
  background-color: var(--wht-photo-ph);
  background-image: url(../images/logo/wht-placeholder.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 40%;
  background-size: auto min(40%, 120px);
}
/* Small site cards with no photo yet: the site number stays in its usual corner */
.sc-photo.no-photo { display: block; }
.sc-photo.no-photo .mk { position: absolute; width: 28px; height: 28px; font-size: 13px; }

/* Nov 30: a little more room under the top row's line, so "I've been here" and the photo are not
   tight against it. (The first row is sized to its content: with "auto" the browser used only the
   row's minimum height, so the photo and the box sat almost on the line.) */
@media (min-width: 992px) {
  .plate-key.show-site .plate-detail { grid-template-rows: max-content auto 1fr; }
  .plate-key.show-site .pd-headbar { margin-bottom: 12px; }
}

/* ---------- World Heritage Sites page (Dec 2026) ----------
   A white search panel (search, regions, type of site) beside the list on computers and above it on
   phones and tablets; an overview of the regions as tiles; one region at a time, grouped by country.
   Only applies once sites.js has run (.is-enhanced); without JavaScript the old full list shows. */
.sites-head { padding-block: 48px 40px; }
.sites-body.is-enhanced { padding-block: 28px 80px; }
.is-enhanced .sites-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 992px) {
  .is-enhanced .sites-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
  .sites-panel { position: sticky; top: calc(var(--header-h, 84px) + 16px); max-height: calc(100vh - var(--header-h, 84px) - 32px); overflow-y: auto; }
}
.sites-panel { background: var(--wht-white); border: 1px solid var(--g-border, #E2EAE4); border-radius: var(--g-radius, 10px);
  box-shadow: 0 1px 2px rgba(28, 52, 36, .05), 0 8px 28px rgba(28, 52, 36, .09); padding: 20px; }
.sp-block + .sp-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--wht-line); }
.sp-label { display: block; margin: 0 0 10px; font: 600 15px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.sp-field { position: relative; }
.sp-icon { position: absolute; left: 13px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--wht-label); pointer-events: none; }
.sp-input { min-height: 50px; padding-left: 42px; padding-right: 44px; font-size: 17px; border-radius: 8px; }
.sp-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sp-clear { position: absolute; right: 6px; top: 50%; width: 38px; height: 38px; margin-top: -19px; padding: 9px; border: 0; border-radius: 50%;
  background: transparent; color: var(--wht-ink); cursor: pointer; }
.sp-clear svg { width: 20px; height: 20px; display: block; }
.sp-clear:hover { background: var(--wht-sea); }
.sp-regions { display: flex; flex-direction: column; gap: 2px; }
.sp-region { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 42px; padding: 7px 10px 7px 12px;
  border: 0; border-radius: 8px; background: transparent; color: var(--wht-ink); font-weight: 600; font-size: 16px; text-align: left; cursor: pointer; }
.sp-region:hover { background: var(--wht-sea); }
.sp-region[aria-pressed="true"] { background: var(--wht-red); color: #fff; }
.sp-region:disabled { opacity: .45; cursor: default; background: transparent; }
.sp-n { display: inline-block; min-width: 30px; padding: 1px 8px; border-radius: 999px; background: #EDF3EF; color: var(--wht-muted);
  font-size: 13px; font-weight: 600; line-height: 1.6; text-align: center; }
[aria-pressed="true"] > .sp-n { background: rgba(255, 255, 255, .22); color: #fff; }
.sp-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sp-type, .sc-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 4px 10px;
  border: 1px solid #C9D8CD; border-radius: 8px; background: var(--wht-white); color: var(--wht-ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.sp-type:hover, .sc-chip:hover { background: var(--wht-sea); }
.sp-type[aria-pressed="true"], .sc-chip[aria-pressed="true"] { background: var(--wht-red); border-color: var(--wht-red); color: #fff; }
.is-enhanced .sites-status { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.is-enhanced .sites-status[hidden] { display: none; }
.sites-status-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; }
.is-enhanced .sites-countries { margin-top: 0; }
.sites-countries:not(:has(.sc-select)) { flex-basis: 100%; }
.sp-map { font-weight: 600; color: var(--wht-red); white-space: nowrap; margin-bottom: 2px; }
.is-enhanced[data-mode="overview"] .sites-status-row { align-items: center; }
.sites-countries:has(.sc-select) { align-items: center; gap: 10px; }
.sc-select-label { font-weight: 600; font-size: 16px; color: var(--wht-label); }
.sc-select { width: auto; min-width: 260px; max-width: 100%; min-height: 46px; font-size: 16px; font-weight: 600; border-radius: 8px; border-color: #C9D8CD; }

/* The line above the list, and the country buttons */
.is-enhanced .sites-status { margin: 0 0 20px; }
.is-enhanced .sites-count { margin: 0; font-size: 17px; color: var(--wht-muted); }
.is-enhanced .sites-count strong { color: var(--wht-ink); }
.sites-count .st-h { display: block; font: 700 clamp(1.9rem, 2.6vw, 2.5rem) / 1.1 var(--wht-font-head); text-transform: uppercase; color: var(--wht-ink); margin-bottom: 4px; }
.sites-countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sc-chip { justify-content: flex-start; padding: 4px 8px 4px 12px; border-radius: 999px; }

/* Overview: one tile per region */
.region-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.region-tile { display: flex; height: 100%; min-height: 150px; overflow: hidden; background: var(--wht-white); color: var(--wht-ink); text-decoration: none;
  border: 1px solid var(--g-border, #E2EAE4); border-radius: var(--g-radius, 10px); box-shadow: var(--g-shadow, 0 6px 20px rgba(28, 52, 36, .07));
  transition: box-shadow .2s ease; }
.region-tile:hover, .region-tile:focus-visible { color: var(--wht-ink); box-shadow: var(--g-shadow-lift, 0 14px 32px rgba(28, 52, 36, .12)); }
.region-tile:hover .rt-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.rt-photo { position: relative; flex: 0 0 42%; }
.rt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; min-width: 0; }
.rt-name { font: 700 26px / 1.1 var(--wht-font-head); text-transform: uppercase; letter-spacing: .02em; }
.rt-meta { font-size: 15px; font-weight: 600; color: var(--wht-red); }
.rt-countries { font-size: 15px; color: var(--wht-muted); line-height: 1.45; }

/* One region at a time: its heading is in the line above the list; countries as groups */
.is-enhanced .sites-region { padding-top: 0; }
.is-enhanced[data-mode="region"] .sites-region > h2, .is-enhanced[data-mode="region"] .region-top { display: none; }
.is-enhanced[data-mode="search"] .sites-region + .sites-region:not([hidden]) { margin-top: 28px; padding-top: 24px; }
.is-enhanced[data-mode="search"] .region-top { display: none; }
.is-enhanced .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-enhanced .sites-country { margin-bottom: 6px; }
.is-enhanced .sites-country-h { display: flex; align-items: baseline; gap: 10px; list-style: none; margin: 18px 0 12px; }
.is-enhanced .sites-country-h::-webkit-details-marker { display: none; }
.is-enhanced .sites-country:first-of-type .sites-country-h { margin-top: 4px; }
.scc { font: 500 15px var(--wht-font-body); letter-spacing: 0; text-transform: none; color: var(--wht-label); }
@media (min-width: 768px) { .is-enhanced .sites-country-h { pointer-events: none; } }
.sites-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--wht-line); }
.sites-next .btn { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 991.98px) {
  .sites-head { padding-block: 36px 30px; }
  .sites-panel { padding: 16px; }
  .sp-regions { flex-direction: row; overflow-x: auto; gap: 8px; margin-right: -16px; padding: 0 16px 4px 0; scrollbar-width: thin; }
  .sp-region { flex: 0 0 auto; width: auto; border: 1px solid #C9D8CD; padding: 6px 8px 6px 14px; }
  .sp-region[aria-pressed="true"] { border-color: var(--wht-red); }
  .sp-types { grid-template-columns: repeat(4, max-content); }
}
@media (max-width: 767.98px) {
  .region-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .region-tile { min-height: 118px; }
  .rt-photo { flex-basis: 36%; }
  .rt-text { padding: 12px 14px; }
  .rt-name { font-size: 22px; }
  .rt-meta, .rt-countries { font-size: 14px; }
  .sp-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-enhanced .sites-grid { grid-template-columns: minmax(0, 1fr); }
  .is-enhanced .sites-countries { display: none; }
  /* Phones: each country is a row that opens and closes */
  .is-enhanced .sites-country { margin-bottom: 8px; }
  .is-enhanced .sites-country-h { align-items: center; justify-content: space-between; margin: 0; min-height: 52px; padding: 10px 14px;
    background: var(--wht-white); border: 1px solid var(--g-border, #E2EAE4); border-radius: 8px; color: var(--wht-ink); cursor: pointer; font-size: 19px; }
  .is-enhanced .sites-country-h .scc { margin-left: auto; }
  .is-enhanced .sites-country-h::after { content: ""; width: 10px; height: 10px; margin: -4px 4px 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .2s ease; flex: none; }
  .is-enhanced .sites-country[open] > .sites-country-h::after { transform: rotate(-135deg); margin-top: 4px; }
  .is-enhanced .sites-country[open] > .sites-grid { margin: 10px 0 14px; }
  .is-enhanced .sites-country:first-of-type .sites-country-h { margin-top: 0; }
  .is-enhanced[data-mode="search"] .sites-region > h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .region-tile, .is-enhanced .sites-country-h::after { transition: none; } }
/* Search results: the countries sit side by side, so one or two results per country do not leave half the row empty */
@media (min-width: 768px) {
  .is-enhanced[data-mode="search"] .sites-region:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; align-items: start; }
  .is-enhanced[data-mode="search"] .sites-region > h2, .is-enhanced[data-mode="search"] .sites-region > .sites-next { grid-column: 1 / -1; }
  .is-enhanced[data-mode="search"] .sites-grid { grid-template-columns: minmax(0, 1fr); }
  .is-enhanced[data-mode="search"] .sites-country:first-of-type .sites-country-h { margin-top: 18px; }
}
.sites-country-h { list-style: none; }
.sites-country-h::-webkit-details-marker { display: none; }

/* ---------- Header search (Dec 2026) ----------
   A Search button in the header on every page opens a search box under the header
   (assets/js/search.js); results appear as you type. The full results page is search.php. */
.header-search { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; margin-left: auto;
  flex-shrink: 0; color: var(--wht-ink); text-decoration: none; border: 2px solid var(--wht-ink); background: var(--wht-white); }
.header-search .icon { width: 20px; height: 20px; color: var(--wht-red); stroke-width: 2.2; }
.header-search:hover, .header-search[aria-expanded="true"], .header-search.is-current { background: var(--wht-sea); color: var(--wht-ink); }
.hs-label { font: 600 15px var(--wht-font-body); }
.header-search + .header-call { margin-left: 8px; }
@media (min-width: 992px) {
  .site-header .header-search { order: 2; margin: 0 0 0 20px; }
  .site-header .header-search + .header-call { order: 3; margin-left: 10px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .header-search { margin-left: 12px; padding: 0 12px; }
  .site-header .header-search .hs-label { display: none; } /* icon only, so the links still fit */
}
@media (max-width: 575.98px) {
  .header-search { flex-direction: column; justify-content: center; gap: 2px; width: 56px; height: 54px; padding: 4px 0; margin: 0 0 0 8px; }
  .header-search .hs-label { font-size: 13px; line-height: 1; }
  .header-search + .header-call { margin: 0 6px 0 6px; }
}
@media (max-width: 374.98px) {
  .header-search, .site-header .header-call, .site-header .navbar-toggler { width: 50px; }
  .header-search { margin-left: 4px; }
  .header-search + .header-call { margin: 0 4px; }
}

.site-search { position: absolute; left: 0; right: 0; top: 100%; z-index: 1040; background: var(--wht-white);
  border-top: 1px solid var(--wht-line); box-shadow: 0 18px 40px rgba(28, 52, 36, .18); padding: 18px 0 20px; }
.site-search > .container { max-width: 860px; }
.ss-field .sp-input { min-height: 54px; font-size: 18px; }
.ss-close { position: absolute; right: 6px; top: 50%; width: 42px; height: 42px; margin-top: -21px; padding: 10px; border: 0; border-radius: 50%;
  background: transparent; color: var(--wht-ink); cursor: pointer; }
.ss-close svg { width: 22px; height: 22px; display: block; }
.ss-close:hover { background: var(--wht-sea); }
.ss-status { margin: 10px 2px 0; font-size: 15px; color: var(--wht-label); }
.ss-status:empty { display: none; }
.ss-results { max-height: calc(100vh - var(--header-h, 84px) - 150px); overflow-y: auto; overscroll-behavior: contain; margin-top: 6px; }
.ss-results:empty { display: none; }
.ss-group + .ss-group { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--wht-line); }
.ss-h { display: flex; align-items: center; gap: 8px; margin: 8px 4px 6px; font: 600 15px var(--wht-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--wht-label); }
.ss-n { display: inline-block; min-width: 26px; padding: 0 7px; border-radius: 999px; background: #EDF3EF; color: var(--wht-muted);
  font: 600 13px/1.6 var(--wht-font-body); letter-spacing: 0; text-align: center; }
.ss-list { list-style: none; margin: 0; padding: 0; }
.ss-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 10px; border-radius: 8px; color: var(--wht-ink); text-decoration: none; }
.ss-item:hover, .ss-item:focus-visible, .ss-item.is-active { background: var(--wht-sea); color: var(--wht-ink); }
.ss-item .mk { width: 30px; height: 30px; font-size: 13px; flex: none; }
.ss-text { display: flex; flex-direction: column; min-width: 0; }
.ss-name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.ss-meta { font-size: 14px; color: var(--wht-muted); line-height: 1.35; }
.ss-country { justify-content: space-between; }
.ss-country .ss-meta { text-align: right; }
.ss-journey.ext::after { flex: none; margin-left: auto; color: var(--wht-red); }
.ss-all { display: inline-block; margin: 12px 10px 2px; font-weight: 600; color: var(--wht-red); }
.ss-all.is-active { outline: 3px solid var(--wht-red); outline-offset: 3px; }
@media (max-width: 991.98px) {
  .site-search { padding: 12px 0 14px; }
  .ss-results { max-height: calc(100dvh - var(--header-h, 84px) - 130px); }
}
@media (max-width: 575.98px) {
  .ss-country { flex-direction: column; align-items: flex-start; gap: 0; }
  .ss-country .ss-meta { text-align: left; }
}

/* Search results page */
.search-head { padding-block: 44px 36px; }
.search-page-form { max-width: 760px; margin-top: 18px; }
.spf-row { display: flex; gap: 10px; }
.spf-row .sp-field { flex: 1 1 auto; }
.spf-row .sp-input { padding-right: 14px; min-height: 52px; }
.spf-row .btn { min-height: 52px; padding: 0 24px; }
.search-results { padding-block: 32px 80px; }
.search-summary { font-size: 18px; color: var(--wht-muted); margin: 0 0 8px; }
.search-summary strong { color: var(--wht-ink); }
.search-group { margin-top: 36px; }
.search-group h2 { margin: 0 0 16px; }
.search-countries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.search-country { display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 12px 18px; background: var(--wht-white); color: var(--wht-ink); text-decoration: none;
  border: 1px solid var(--g-border, #E2EAE4); border-radius: var(--g-radius, 10px); box-shadow: var(--g-shadow, 0 6px 20px rgba(28, 52, 36, .07)); }
.search-country:hover { color: var(--wht-ink); box-shadow: var(--g-shadow-lift, 0 14px 32px rgba(28, 52, 36, .12)); }
.search-country .scn { font: 700 22px/1.15 var(--wht-font-head); text-transform: uppercase; }
.search-country .scm { font-size: 15px; color: var(--wht-red); font-weight: 600; }
@media (max-width: 575.98px) { .spf-row .btn { padding: 0 16px; } .search-country { min-width: 0; flex: 1 1 100%; } }
.site-header .header-search { border-radius: 6px; border-color: #C9D8CD; }
/* Header fit with the Search button (measured at 320 to 1920 px) */
@media (min-width: 992px) {
  .site-header .navbar-nav { gap: 8px 20px; }
  .brand { margin-right: 20px; }
  .site-header .header-search { margin-left: 14px; }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
  .site-header .header-search { width: 46px; padding: 0; }
  .site-header .header-search .hs-label { display: none; } /* icon only, so the links still fit */
}
@media (min-width: 1200px) and (max-width: 1279.98px) { .site-header .navbar-nav { gap: 8px 18px; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar-nav { gap: 8px 12px; }
  .site-header .header-search { margin-left: 10px; }
  .site-header .header-search + .header-call { margin-left: 8px; }
  .site-header .btn-accent { padding: 8px 16px; }
  .brand { margin-right: 12px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .site-header .nav-link { font-size: 16px; }
  .site-header .navbar-nav { gap: 8px 10px; }
  .brand-name { font-size: 25px; }
  .brand-mark { width: 52px; height: 52px; }
  .brand { margin-right: 10px; gap: 10px; }
}
/* Phones and small tablets (under 768 px): Search, Call and Menu as small stacked buttons */
@media (max-width: 767.98px) {
  .header-search, .site-header .header-call, .site-header .navbar-toggler { flex-direction: column; justify-content: center; gap: 2px;
    width: 54px; height: 54px; min-height: 54px; padding: 4px 0; }
  .hs-label, .hc-label, .nt-label { font-size: 13px; line-height: 1; }
  .header-search { margin: 0 0 0 auto; }
  .header-search + .header-call { margin: 0 5px; }
  .navbar-toggler-icon { width: 1.1em; height: 1.1em; }
}
/* Phones: the name goes on two lines ("World Heritage / Tours") to make room for the three buttons */
@media (max-width: 575.98px) {
  .brand-name { white-space: normal; max-width: 9.2em; line-height: 1.02; }
  .header-search, .site-header .header-call, .site-header .navbar-toggler { width: 50px; }
  .header-search + .header-call { margin: 0 4px; }
  .header-search { margin-left: 8px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .site-header .navbar-nav { gap: 8px 8px; }
  .site-header .header-search { margin-left: 8px; }
  .site-header .header-search + .header-call { margin-left: 6px; }
  .site-header .btn-accent { padding: 8px 14px; }
}
/* Dec 1: more room between the logo and the menu, and thin dividers between the menu links.
   On computers the Search button shows its icon only (its name shows on hover, like the Call number). */
@media (min-width: 992px) {
  .site-header .navbar-nav { gap: 0; }
  .site-header .navbar-nav > .nav-item { display: flex; align-items: center; }
  .site-header .navbar-nav > .nav-item + .nav-item:not(.ms-lg-2)::before { content: ""; width: 1px; height: 20px; background: #C9D8CD; margin: 0 var(--nav-sep, 16px); }
  .site-header .navbar-nav > .nav-item.ms-lg-2 { margin-left: var(--nav-btn, 26px) !important; }
  .brand { margin-right: 44px; }
  .site-header .header-search { width: 46px; padding: 0; margin-left: 12px; }
  .site-header .header-search .hs-label { display: none; }
  .site-header .header-search + .header-call { margin-left: 10px; }
}
@media (hover: hover) and (min-width: 992px) {
  .header-search { position: relative; }
  .header-search::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: -2px; z-index: 1100;
    padding: 8px 12px; background: var(--wht-ink); color: #fff; font: 600 16px var(--wht-font-body); white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease; }
  .header-search:hover::after, .header-search:focus-visible::after { opacity: 1; visibility: visible; }
  .header-search[aria-expanded="true"]::after { display: none; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .site-header { --nav-sep: 13px; --nav-btn: 22px; }
  .brand { margin-right: 36px; }
}
@media (min-width: 1080px) and (max-width: 1199.98px) {
  .site-header { --nav-sep: 10px; --nav-btn: 16px; }
  .brand { margin-right: 28px; }
  .brand-name { font-size: 28px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-line { font-size: 15px; }
  .site-header .header-search { margin-left: 10px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .site-header { --nav-sep: 8px; --nav-btn: 12px; }
  .brand { margin-right: 24px; gap: 8px; }
  .brand-name { font-size: 23px; }
  .brand-line { font-size: 14px; }
  .brand-mark { width: 48px; height: 48px; }
  .site-header .header-search { margin-left: 8px; }
  .site-header .header-search + .header-call { margin-left: 6px; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) { .site-header { --nav-sep: 12px; } .brand-name { font-size: 31px; } }
@media (min-width: 1080px) and (max-width: 1199.98px) { .site-header { --nav-sep: 9px; } }
@media (min-width: 992px) and (max-width: 1079.98px) { .site-header { --nav-sep: 7px; --nav-btn: 10px; } }
@media (min-width: 1200px) and (max-width: 1279.98px) { .site-header { --nav-sep: 11px; --nav-btn: 18px; } .brand { margin-right: 34px; } }
/* Dec 1 (b): on computers the order is menu | Search | Enquire | Call. Search looks like a small search
   box (icon and the word "Search" in grey, like a placeholder); the name "World Heritage Tours" is a little
   smaller (the logo mark keeps its size); "Call" is not underlined. */
.header-call .hc-label, .header-call:hover .hc-label { text-decoration: none; }
.header-call { text-decoration: none; }
@media (min-width: 992px) {
  .site-header .navbar-collapse { order: 1; }
  .site-header .header-search { order: 2; width: 148px; justify-content: flex-start; gap: 10px; padding: 0 14px; margin-left: 28px;
    border-width: 1px; border-color: #B9CBBE; background: var(--wht-white); }
  .site-header .header-search .hs-label { display: inline; font-weight: 400; font-size: 16px; color: var(--wht-label); }
  .site-header .header-search .icon { color: var(--wht-label); }
  .site-header .header-search:hover, .site-header .header-search[aria-expanded="true"] { border-color: var(--wht-red); background: var(--wht-white); }
  .site-header .header-search:hover .icon, .site-header .header-search[aria-expanded="true"] .icon { color: var(--wht-red); }
  .header-search::after { display: none; }
  .site-header .header-enquire { order: 3; margin-left: 12px; font-size: 17px; min-height: 46px; padding: 8px 20px; align-items: center; }
  .site-header .header-search + .header-enquire + .header-call { order: 4; margin-left: 10px; }
  .brand-name { font-size: 31px; }
  .brand { margin-right: 40px; }
}
@media (min-width: 992px) {
  .brand-name { font-size: 30px; }
  .brand-line { font-size: 15px; margin-top: 2px; }
  .brand { gap: 14px; }
  .site-header { --nav-sep: 14px; }
  .site-header .header-search { width: 136px; margin-left: 26px; }
}
/* Narrower computer screens: the logo mark keeps its earlier size; Search shows its icon only */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-mark { width: 64px; height: 64px; }
  .brand-name { font-size: 26px; }
  .brand-line { font-size: 14px; }
  .brand { margin-right: 28px; gap: 12px; }
  .site-header { --nav-sep: 10px; }
  .site-header .header-search { width: 46px; padding: 0; justify-content: center; margin-left: 16px; }
  .site-header .header-search .hs-label { display: none; }
  .site-header .header-enquire { margin-left: 10px; padding: 8px 16px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .brand-mark { width: 56px; height: 56px; }
  .brand-name { font-size: 23px; }
  .brand-line { font-size: 13px; }
  .brand { margin-right: 20px; gap: 10px; }
  .site-header { --nav-sep: 7px; }
  .site-header .nav-link { font-size: 16px; }
  .site-header .header-search { margin-left: 12px; }
  .site-header .header-enquire { margin-left: 8px; padding: 8px 14px; }
  .site-header .header-search + .header-enquire + .header-call { margin-left: 8px; }
}
@media (min-width: 1280px) {
  .site-header { --nav-sep: 12px; }
  .site-header .header-search { width: 120px; }
  .site-header .header-enquire { padding: 8px 18px; }
}
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .site-header { --nav-sep: 12px; }
  .site-header .header-search { width: 46px; padding: 0; justify-content: center; margin-left: 20px; }
  .site-header .header-search .hs-label { display: none; }
}
/* Dec 1 (c): the same logo size on every computer screen (mark 64 px, name 26 px, tagline 14 px),
   and Search and Call always change together: both with their word, or both icon only. */
@media (min-width: 992px) {
  .brand-mark { width: 64px; height: 64px; }
  .brand-name { font-size: 26px; }
  .brand-line { font-size: 14px; margin-top: 2px; }
  .brand { gap: 12px; margin-right: 36px; }
  .site-header .header-search, .site-header .header-search + .header-enquire + .header-call { height: 46px; }
  .site-header .header-search .icon, .site-header .header-call .icon { width: 20px; height: 20px; }
}
/* Icon only (narrower computer screens) */
@media (min-width: 992px) and (max-width: 1229.98px) {
  .site-header .header-search { width: 46px; padding: 0; justify-content: center; }
  .site-header .header-search .hs-label, .site-header .header-call .hc-label { display: none; }
  .site-header .header-search + .header-enquire + .header-call { width: 46px; padding: 0; justify-content: center; }
}
/* With words (wider screens) */
@media (min-width: 1230px) {
  .site-header .header-search { width: 120px; padding: 0 14px; justify-content: flex-start; }
  .site-header .header-search .hs-label, .site-header .header-call .hc-label { display: inline; }
  .site-header .header-search + .header-enquire + .header-call { width: auto; padding: 0 14px; }
}
@media (min-width: 1230px) and (max-width: 1279.98px) {
  .site-header { --nav-sep: 12px; }
  .site-header .header-search { margin-left: 20px; }
}
/* Narrowest computer screens (992 to 1079 px): a little less space between the links so the full-size logo fits */
@media (min-width: 992px) and (max-width: 1079.98px) {
  .brand { margin-right: 24px; }
  .site-header { --nav-sep: 6px; }
  .site-header .nav-link { font-size: 15.5px; }
  .site-header .header-search { margin-left: 10px; }
  .site-header .header-enquire { margin-left: 8px; padding: 8px 12px; }
  .site-header .header-search + .header-enquire + .header-call { margin-left: 6px; }
}
/* Dec 1 (d): the logo is back to its original sizes on computers (as before Dec 1):
   1200 px and wider: mark 68, name 36, tagline 17 (the same as tablets); 1080 to 1199: 64 / 31 / 16; 992 to 1079: 56 / 27 / 15. */
@media (min-width: 992px) {
  .brand-mark { width: 68px; height: 68px; }
  .brand-name { font-size: 36px; }
  .brand-line { font-size: 17px; margin-top: 4px; }
  .brand { gap: 14px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-mark { width: 64px; height: 64px; }
  .brand-name { font-size: 31px; }
  .brand-line { font-size: 16px; }
  .brand { gap: 12px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .brand-mark { width: 56px; height: 56px; }
  .brand-name { font-size: 27px; }
  .brand-line { font-size: 15px; }
}
/* Phones and tablets: even gaps between Search, Call and Menu (Enquire sits between Search and Call
   in the page code, hidden on these screens, so the gaps are set here directly) */
@media (max-width: 991.98px) {
  .site-header .header-search { margin-left: auto; }
  .site-header .header-search ~ .header-call { margin: 0 8px; }
}
@media (max-width: 767.98px) { .site-header .header-search ~ .header-call { margin: 0 6px; } }
@media (max-width: 575.98px) { .site-header .header-search { margin-left: 8px; } .site-header .header-search ~ .header-call { margin: 0 4px; } }
/* Computers with the original logo: Search and Call show their words from 1260 px; icons only below */
@media (min-width: 992px) and (max-width: 1259.98px) {
  .site-header .header-search { width: 46px; padding: 0; justify-content: center; }
  .site-header .header-search .hs-label, .site-header .header-call .hc-label { display: none; }
  .site-header .header-search + .header-enquire + .header-call { width: 46px; padding: 0; justify-content: center; }
}
@media (min-width: 1260px) {
  .site-header { --nav-sep: 10px; }
  .site-header .header-search { width: 104px; padding: 0 12px; justify-content: flex-start; gap: 8px; margin-left: 16px; }
  .site-header .header-search .hs-label, .site-header .header-call .hc-label { display: inline; }
  .site-header .header-search + .header-enquire + .header-call { width: auto; padding: 0 12px; }
  .site-header .header-enquire { padding: 8px 16px; }
}
@media (min-width: 1200px) and (max-width: 1259.98px) { .site-header { --nav-sep: 12px; } .brand { margin-right: 36px; } }
@media (min-width: 1080px) and (max-width: 1199.98px) {
  .site-header { --nav-sep: 7px; }
  .brand { margin-right: 28px; }
  .site-header .header-search { margin-left: 10px; }
  .site-header .header-enquire { margin-left: 8px; padding: 8px 12px; }
  .site-header .header-search + .header-enquire + .header-call { margin-left: 6px; }
}
@media (min-width: 992px) and (max-width: 1079.98px) {
  .site-header { --nav-sep: 5px; }
  .brand { margin-right: 20px; }
}
/* Dec 1 (e): the Menu button no longer keeps a grey ring after it is clicked (Bootstrap's focus ring);
   the red outline still shows when it is reached with the keyboard (Tab). */
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus:not(:focus-visible) { outline: none; }
/* The logo link is only as wide as the logo and its name, so the empty space beside it is not a link */
@media (min-width: 576px) and (max-width: 991.98px) { .site-header .brand { flex: 0 1 auto; } }
/* Search results page: each country found is one slim line with links to its sites on the Sites page and the map */
.search-country-lines { list-style: none; margin: 18px 0 0; padding: 0; }
.search-country-lines li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 18px; margin-bottom: 8px;
  background: var(--wht-sea); border-radius: var(--g-radius, 10px); font-size: 17px; }
.search-country-lines strong { font: 700 21px/1.2 var(--wht-font-head); text-transform: uppercase; letter-spacing: .02em; }
.scl-meta { color: var(--wht-muted); }
.scl-links { display: inline-flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; }
.scl-links a { font-weight: 600; color: var(--wht-red); }
@media (max-width: 575.98px) { .scl-links { margin-left: 0; flex-basis: 100%; } }

/* Photo credit line (Wikimedia Commons photos), on the site photo, top right (the cards cover the bottom) */
.site-hero-photo { position: relative; }
.photo-credit { position: absolute; right: 0; top: 0; margin: 0; padding: 3px 10px; max-width: 100%;
  background: rgba(20, 28, 24, .62); color: #fff; font-size: 12px; line-height: 1.4; }
.photo-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit a:hover, .photo-credit a:focus { color: #fff; text-decoration-thickness: 2px; }

/* Sites page (Dec 2026): "See these on the map" as a small outline button at the far right of the region heading row */
.is-enhanced .sites-status-row { flex: 1 1 100%; justify-content: space-between; align-items: flex-end; }
.sp-map { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; margin-bottom: 4px;
  border: 1.5px solid var(--wht-red); border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--wht-red); text-decoration: none; white-space: nowrap; }
.sp-map i { font-size: 15px; }
.sp-map:hover, .sp-map:focus-visible { background: var(--wht-red); color: #fff; text-decoration: none; }

/* ---------- Site Collector, Sites page layout (Dec 2026) ----------
   Uses the Sites page panel, region buttons, tiles, country buttons and country groups (above).
   Added here: your total in the panel, a seen-bar under each region, the tick cards and the
   panels under the list (Fill the gaps, other sites, removed sites). Script: assets/js/collector.js */
.c-total-num { margin: 0; font: 700 36px / 1 var(--wht-font-head); color: var(--wht-ink); }
.c-total-num span { font: 600 17px var(--wht-font-body); color: var(--wht-label); }
.c-total-note { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--wht-muted); }
.c-clear-link { margin: 0 0 0 4px; padding: 0; border: 0; background: none; font: 600 15px var(--wht-font-body); color: var(--wht-red); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.c-clear-link:hover { color: var(--wht-red-deep); }
.c-clear-link:disabled { display: none; }
.c-panel .c-confirm { margin: 10px 0 0; padding: 12px 14px; }
.c-panel .c-confirm p { font-size: 16px; }
/* Region buttons: the name with a thin bar showing how many of its sites you have seen */
.c-regions .sp-region { min-height: 36px; padding-block: 5px; }
.c-panel .sp-block + .sp-block { margin-top: 14px; padding-top: 14px; }
.c-panel .sp-label { margin-bottom: 8px; }
.c-panel .sp-input { min-height: 46px; }
.c-rname { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.c-bar { display: block; height: 4px; min-width: 60px; border-radius: 2px; background: #E3ECE5; overflow: hidden; }
.c-bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--wht-red); transition: width .3s ease; }
.sp-region[aria-pressed="true"] .c-bar { background: rgba(255, 255, 255, .3); }
.sp-region[aria-pressed="true"] .c-bar i { background: #fff; }
.c-bar-lg { height: 6px; max-width: 220px; margin-top: 6px; }
/* Tick cards, two to a row */
.c-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c-card { display: flex; align-items: center; gap: 12px; min-height: 68px; margin: 0; padding: 10px 14px; background: var(--wht-white);
  border: 1px solid var(--g-border, #E2EAE4); border-radius: 10px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.c-card:hover { background: var(--wht-sea); border-color: #B9CDBF; }
.c-card:has(input:checked) { background: #EEF6F0; border-color: var(--wht-red); }
.c-card:has(input:focus-visible) { outline: 3px solid var(--wht-red); outline-offset: 2px; }
.c-card input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--wht-red); }
.c-card .mk { flex: none; }
.c-card .c-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.c-card .c-name { font-weight: 600; font-size: 17px; }
.c-card .c-sub { font-size: 15px; color: var(--wht-label); }
.is-enhanced[data-mode="search"] .c-rows { grid-template-columns: minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { .c-bar i, .c-card { transition: none; } }
/* Under the list: Fill the gaps beside the other two panels */
.c-extras { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 40px; }
.c-extras-side { display: flex; flex-direction: column; gap: 20px; }
.c-extras .c-other, .c-extras .c-removed { margin: 0; }
.c-extras .panel-title { margin-bottom: 6px; }
.c-extras .c-other .form-label { font-size: 22px; }
.c-extras .c-other-help { font-size: 16px; }
.collector-body .tally-compact { top: var(--header-h, 70px); border-radius: 8px; }
@media (min-width: 992px) { .collector-body .tally-compact { display: none; } }
@media (max-width: 991.98px) { .c-extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) {
  .c-rows { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .c-card { min-height: 60px; padding: 8px 12px; }
  .c-total-num { font-size: 38px; }
}
/* Short laptop screens: the panel's seen-bars hide (the counts stay), so all regions fit without scrolling */
@media (min-width: 992px) and (max-height: 860px) { .c-regions .c-bar { display: none; } }
/* Phones and tablets: the green total bar (it stays in view while scrolling) replaces the total in the panel */
@media (max-width: 991.98px) { .c-total .sp-label, .c-total-num { display: none; } .c-total-note { margin: 0; } }

/* Homepage map (Dec 2026): "See these on the Sites page" at the far right of the map heading
   (same outline button as the Sites page), and the photo in the site panel opens the site's page */
.map-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.map-title-row h2 { margin-bottom: 0; }
.map-title-row + .lead { margin-top: 12px; }
.pd-photo-link { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; }
.pd-photo-link img { transition: transform .35s ease; }
.pd-photo-link:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .pd-photo-link img { transition: none; } .pd-photo-link:hover img { transform: none; } }
