/*
Theme Name: 出海指南 ExitChina
Theme URI: https://exitchina.org/
Author: ExitChina.org
Description: "Passport" theme for exitchina.org (出海指南): practical guides for Chinese citizens moving abroad. Charcoal and saffron boarding-pass design, destination tickets, country dashboards with a section rail, photo mosaics and data tiles, the Leaving China (出国准备) checklist, and news with topic and country filters. Builds the 894-page plan (6 continents, 31 countries × 27 guides) as drafts with linked 繁體 and English translations sharing the same slugs (Tools › ExitChina structure, or the chuhai/v1 REST routes). Works with free Polylang and Rank Math. System fonts only, no external requests – fast in mainland China.
Version: 3.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: exitchina
*/

:root {
	--ch: #15171C;
	--ch2: #23262E;
	--ch3: #2F333D;
	--sa: #FFC530;
	--sa2: #FFF3CC;
	--sa-ink: #7A5700;
	--sk: #3D8BFD;
	--sk2: #E5EFFF;
	--sk-ink: #1A56B8;
	--bg: #F4F5F7;
	--mu: #646978;
	--ln: #E3E5EA;
	--ok: #E7F7EE;
	--no: #FDECEC;
	--r: 16px;
	--f-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
	--f-hant: "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
	--f-en: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ch); font: 15px/1.65 var(--f-zh); -webkit-font-smoothing: antialiased; }
body.lang-hant { font-family: var(--f-hant); }
body.lang-en { font-family: var(--f-en); }
body.dock-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.3; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 16px; height: 16px; }
.shell { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--mu); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skipto { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--sa); color: var(--ch); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skipto:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--sk); outline-offset: 2px; border-radius: 4px; }
.topbar :focus-visible, .lift :focus-visible, .base :focus-visible, .banner :focus-visible, .mosaic :focus-visible { outline-color: var(--sa); }
main:focus { outline: none; }
.ph { display: block; width: 100%; height: 100%; min-height: 100px; background: var(--ch2) url(assets/img/logo-mark.svg) center / 44px no-repeat; }

/* Top bar ----------------------------------------------------------------- */
.topbar { background: var(--ch); color: #fff; position: relative; z-index: 40; }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }
.dock { flex: 1; min-width: 0; }
.dock-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.dock-list > li { position: static; }
.dock-link, .dock-list > .menu-item > a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; color: #C9CCD6; font-size: 14.5px; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.dock-link:hover, .dock-list > .menu-item > a:hover { color: #fff; background: var(--ch2); }
.dock-link[aria-current], .dock-link[aria-expanded="true"] { color: #fff; background: var(--ch2); }
.dock-drop .ico-s { transition: transform .2s; }
.dock-drop[aria-expanded="true"] .ico-s { transform: rotate(180deg); }
.dest-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ch); border-top: 3px solid var(--sa); box-shadow: 0 24px 48px rgba(21, 23, 28, .18); }
.dock-drop[aria-expanded="true"] + .dest-panel { display: block; }
.dest-grid { max-width: 1248px; margin: 0 auto; padding: 26px 24px 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dest-head { margin: 0 0 8px; font-weight: 800; font-size: 15px; }
.dest-head .mono { display: block; font-size: 10.5px; color: var(--sk-ink); font-weight: 600; margin-bottom: 2px; }
.dest-head a:hover { color: var(--sk-ink); }
.dest-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.dest-list li { padding: 3px 0; }
.dest-list a:hover { color: var(--sk-ink); text-decoration: underline; text-underline-offset: 3px; }
.dest-list .is-soon { color: #9CA0AC; }
.topbar-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: none; color: #C9CCD6; cursor: pointer; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--ch2); color: #fff; }
.burger { display: none; }
.burger .ico-close { display: none; }
.burger[aria-expanded="true"] .ico-open { display: none; }
.burger[aria-expanded="true"] .ico-close { display: block; }
.lang-pill { display: flex; align-items: center; gap: 2px; font-size: 12.5px; }
.lang-pill a { padding: 2px 7px; border-radius: 5px; color: #C9CCD6; line-height: 1.5; }
.lang-pill a:hover { color: #fff; }
.lang-pill a[aria-current] { background: var(--sa); color: var(--ch); font-weight: 700; }
.seek-bar { background: var(--ch2); padding: 12px 0; }
.seek-form { display: flex; align-items: center; gap: 10px; position: relative; }
.seek-form .ico { position: absolute; left: 38px; color: #8D92A1; width: 18px; height: 18px; pointer-events: none; }
.seek-form input { flex: 1; min-width: 0; background: var(--ch); border: 1px solid #3A3E49; border-radius: 12px; padding: 11px 14px 11px 42px; color: #fff; }
.seek-form input::placeholder { color: #8D92A1; }
.seek-form button { background: var(--sa); color: var(--ch); border: 0; border-radius: 12px; padding: 11px 20px; font-weight: 700; cursor: pointer; }
.seek-form-light { margin: 6px 0 0; max-width: 640px; }
.seek-form-light .ico { left: 14px; color: var(--mu); }
.seek-form-light input { background: #fff; color: var(--ch); border: 1.5px solid var(--ln); }
.seek-form-light input::placeholder { color: #8A8F9C; }
.seek-form-light button { background: var(--ch); color: var(--sa); }
.ribbon { background: var(--sa); color: var(--ch); font-size: 13.5px; padding: 8px 0; }
.ribbon-tag { background: var(--ch); color: var(--sa); border-radius: 5px; padding: 1px 7px; margin-right: 10px; font-size: 11px; }
.ribbon a { text-decoration: underline; text-underline-offset: 3px; }

/* Home hero --------------------------------------------------------------- */
.lift { background: var(--ch); color: #fff; padding: 44px 0 72px; }
.lift-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lift-kicker { font-size: 12px; color: var(--sa); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.lift-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sa); }
.lift-title { font-size: 48px; line-height: 1.2; font-weight: 900; margin: 0; letter-spacing: .01em; }
.lift-title em { font-style: normal; color: var(--sa); }
.lang-en .lift-title { font-size: 46px; letter-spacing: -.01em; }
.lift-lede { color: #B9BDC9; font-size: 16.5px; margin: 16px 0 26px; max-width: 520px; }
.kpi-row { display: flex; gap: 40px; margin: 0; }
.kpi { display: flex; flex-direction: column-reverse; }
.kpi dd { margin: 0; font-size: 32px; font-weight: 900; line-height: 1.2; }
.kpi dt { font-size: 11px; color: #8D92A1; margin-top: 6px; }
.bpass { background: #fff; color: var(--ch); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.bpass-photo { height: 210px; position: relative; background: var(--ch2); }
.bpass-photo img, .bpass-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.bpass-tag { position: absolute; left: 14px; top: 14px; background: var(--sa); color: var(--ch); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.bpass-route { padding: 18px 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; border-bottom: 2px dashed var(--ln); position: relative; }
.bpass-route::before, .bpass-route::after { content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; background: var(--ch); border-radius: 50%; }
.bpass-route::before { left: -10px; }
.bpass-route::after { right: -10px; }
.bpass-end small { font-size: 10.5px; color: var(--mu); display: block; }
.bpass-end b { display: block; font-size: 24px; font-weight: 900; line-height: 1.35; }
.bpass-to { text-align: right; }
.bpass-dest { transition: opacity .2s, transform .2s; }
.bpass-dest.is-swap { opacity: 0; transform: translateY(6px); }
.bpass-plane { color: var(--sk); width: 30px; height: 30px; }
.bpass-foot { padding: 16px 22px 18px; display: flex; gap: 10px; }
.bpass-search { flex: 1; min-width: 0; display: flex; align-items: center; border: 1.5px solid var(--ln); border-radius: 12px; padding: 0 6px 0 4px; }
.bpass-search:focus-within { border-color: var(--sk); }
.bpass-submit { border: 0; background: none; color: var(--mu); padding: 8px; cursor: pointer; display: grid; }
.bpass-submit .ico { width: 19px; height: 19px; }
.bpass-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 10px 4px; font-size: 14px; }
.bpass-search input::placeholder { color: #80859A; }
.bpass-go { background: var(--ch); color: var(--sa); border-radius: 12px; padding: 10px 20px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bpass-go .ico { width: 19px; height: 19px; }
.bpass-go:hover { background: var(--ch3); }

/* Sections ---------------------------------------------------------------- */
.block { padding-top: 48px; }
.block-tight { padding-top: 28px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.sec-title { font-size: 26px; font-weight: 900; margin: 0; }
.eyebrow { display: block; font-size: 11px; color: var(--sk-ink); font-weight: 600; margin: 0 0 2px; }
.sec-more { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sec-more .ico { width: 18px; height: 18px; transition: transform .15s; }
.sec-more:hover .ico { transform: translateX(3px); }
.sec-title-s { font-size: 18px; font-weight: 900; margin: 0 0 14px; }
.seg { display: inline-flex; max-width: 100%; overflow-x: auto; background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 4px; margin-bottom: 18px; scrollbar-width: none; }
.seg-btn { border: 0; background: none; padding: 6px 15px; border-radius: 8px; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.seg-btn:hover { background: var(--bg); }
.seg-btn[aria-pressed="true"] { background: var(--ch); color: #fff; }

/* Destination tickets ----------------------------------------------------- */
.tix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ticket { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); display: grid; grid-template-columns: 130px 1fr; overflow: hidden; position: relative; min-height: 108px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.ticket:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 23, 28, .08); border-color: #CDD1DA; }
.ticket-img { display: block; background: var(--ch2); }
.ticket-img img, .ticket-img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.ticket-body { display: block; padding: 14px 16px; border-left: 2px dashed var(--ln); }
.ticket-code { display: block; font-size: 11px; color: var(--mu); margin: 0; }
.ticket-name { display: block; font-size: 19px; font-weight: 900; line-height: 1.3; margin: 2px 0 0; }
.ticket-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ticket-note { font-size: 12.5px; color: var(--mu); line-height: 1.5; margin: 4px 0 0; }
.ticket-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.chip { display: inline-block; font-size: 11.5px; line-height: 1.6; border-radius: 6px; padding: 1px 8px; font-weight: 700; background: var(--bg); color: var(--mu); }
.chip-y { background: var(--sa2); color: var(--sa-ink); }
.chip-b { background: var(--sk2); color: var(--sk-ink); }
.chip-w { background: #fff; color: var(--ch); }
a.chip { position: relative; z-index: 2; }
a.chip:hover { text-decoration: underline; text-underline-offset: 2px; }
.ticket.is-soon { background: #FAFAFB; }
.ticket.is-soon:hover { transform: none; box-shadow: none; border-color: var(--ln); }
.ticket.is-soon .ticket-img img { filter: grayscale(.7); opacity: .75; }
.ticket.is-soon .ticket-name { color: #7D8291; }
.ticket-more { background: var(--sa); border-color: var(--sa); }
.ticket-more:hover { border-color: var(--sa); }
.ticket-more .ticket-body { border-color: rgba(0, 0, 0, .18); }
.ticket-more .ticket-code { color: #5C4500; }
.ticket-more .ticket-name { font-size: 17px; }

/* Checklist tiles --------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); padding: 18px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: #CDD1DA; transform: translateY(-2px); }
.tile-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ch); color: var(--sa); display: grid; place-items: center; flex: none; }
.tile-text b { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.4; }
.tile-text span { display: block; font-size: 12.5px; color: var(--mu); line-height: 1.5; margin-top: 2px; }

/* Image cards ------------------------------------------------------------- */
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #CDD1DA; box-shadow: 0 12px 26px rgba(21, 23, 28, .07); }
.card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ch2); }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 10.5px; color: var(--sk-ink); margin: 0 0 5px; }
.card-title { font-size: 16px; line-height: 1.5; font-weight: 800; margin: 0; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title a { color: var(--sk-ink); }
.card-text { font-size: 13px; color: var(--mu); line-height: 1.65; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 12px; }
.card-chips:empty { display: none; }
.cards-side { grid-template-columns: 1fr; gap: 12px; }
.cards-side .card { flex-direction: row; }
.cards-side .card-img { width: 112px; flex: none; aspect-ratio: auto; }
.cards-side .card-body { padding: 10px 12px; }
.cards-side .card-title { font-size: 14px; }
.cards-side .card-text { display: none; }

/* Continent cards ----------------------------------------------------------- */
.conts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cont { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ch); color: #fff; }
.cont img, .cont .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cont:hover img { transform: scale(1.05); }
.cont-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(21, 23, 28, .92), rgba(21, 23, 28, 0)); }
.cont-text small { display: block; color: var(--sa); font-size: 10.5px; }
.cont-text b { display: block; font-size: 22px; font-weight: 900; line-height: 1.3; }
.cont-text span { font-size: 13px; color: #D5D8E0; }
.cont.is-soon img { filter: grayscale(.5); }

/* Dashboard: rail + main ---------------------------------------------------- */
.dash { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; padding-top: 26px; align-items: start; }
.dash-rail { position: sticky; top: 16px; }
.admin-bar .dash-rail { top: 48px; }
.rail { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); padding: 12px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; }
.rail-head { font-size: 10.5px; color: var(--mu); margin: 0; padding: 6px 10px 8px; }
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-label { font-size: 11.5px; font-weight: 700; color: #8A8F9C; padding: 10px 10px 3px; letter-spacing: .04em; }
.rail-link { display: flex; gap: 10px; align-items: center; padding: 5px 10px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.rail-link .ico { width: 18px; height: 18px; color: var(--mu); }
a.rail-link:hover { background: var(--bg); }
.is-key .rail-link .ico { color: #B88600; }
.is-sub .rail-link { padding-left: 24px; font-size: 13.5px; }
.is-on .rail-link { background: var(--ch); color: #fff; font-weight: 700; }
.is-on .rail-link .ico { color: var(--sa); }
.is-on a.rail-link:hover { background: var(--ch); }
.is-soon .rail-link { color: #9CA0AC; cursor: default; }
.is-soon .rail-link .ico { color: #C9CCD4; }
.rail-soon { margin-left: auto; font-style: normal; font-size: 10px; color: #8A8F9C; background: var(--bg); padding: 0 6px; border-radius: 5px; white-space: nowrap; }
.dash-main { min-width: 0; }
.dash-main > .banner { margin-top: 0; }

/* Country mosaic ------------------------------------------------------------ */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 150px 150px; gap: 10px; border-radius: 18px; overflow: hidden; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--ch2); }
.mosaic img, .mosaic .ph { width: 100%; height: 100%; object-fit: cover; }
.mosaic-main { grid-column: span 2; grid-row: span 2; }
.mosaic.is-solo { grid-template-columns: 1fr; grid-template-rows: 340px; }
.mosaic.is-solo .mosaic-main, .mosaic.has-1 .mosaic-main, .mosaic.has-2 .mosaic-main { grid-column: auto; }
.mosaic.has-1 { grid-template-columns: 2fr 1fr; grid-template-rows: 310px; }
.mosaic.has-1 .mosaic-main { grid-row: auto; }
.mosaic.has-2 { grid-template-columns: 2fr 1fr; }
.mosaic.has-3 { grid-template-columns: 2fr 1fr 1fr; }
.mosaic.has-3 .mosaic-main { grid-column: auto; }
.mosaic.has-3 .mosaic-cell:last-child { grid-column: span 2; }
.mosaic-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(21, 23, 28, .94), rgba(21, 23, 28, 0)); color: #fff; }
.mosaic-title .eyebrow { color: var(--sa); }
.mosaic-title h1 { font-size: 34px; line-height: 1.2; font-weight: 900; margin: 2px 0 0; }
.mosaic-cap { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; background: rgba(21, 23, 28, .78); color: #fff; border-radius: 5px; padding: 1px 7px; }
.credit { font-size: 11px; color: var(--mu); margin: 6px 4px 0; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.credit-row { text-align: right; }

/* Stat tiles (theme and content) ------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; }
.stat { background: var(--ch); color: #fff; border-radius: 14px; padding: 14px 16px; }
.stat small { display: block; font-size: 10.5px; color: #A2A7B5; }
.stat b { display: block; font-size: 24px; font-weight: 900; color: var(--sa); line-height: 1.3; }
.stat span { display: block; font-size: 12px; color: #C9CCD6; line-height: 1.5; margin-top: 2px; }
.stat.is-long b { font-size: 18px; }
.copy .stat-row { margin: 1.4em 0 1.6em; }
.copy .stat b { font-size: 22px; }
.checked { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mu); margin: 8px 0 0; }
.checked .ico { width: 16px; height: 16px; color: var(--sk); }

/* Panels and facts ---------------------------------------------------------- */
.panel { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); padding: 26px 30px; margin-top: 16px; }
.panel-title { font-size: 15px; font-weight: 900; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.panel-title small { font-size: 10.5px; color: var(--mu); font-weight: 500; }
.facts-card { padding: 20px 24px; }
.facts-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.facts-tbl tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.facts-tbl tr { display: grid; grid-template-columns: 128px 1fr; border-bottom: 1px solid var(--ln); }
.facts-tbl th { text-align: left; font-weight: 700; padding: 9px 8px 9px 0; font-size: 13px; }
.facts-tbl td { padding: 9px 0; color: #3A3F4B; }

/* Banners ------------------------------------------------------------------- */
.banner { position: relative; display: flex; align-items: flex-end; min-height: 300px; margin-top: 26px; border-radius: 18px; overflow: hidden; background: var(--ch); color: #fff; }
.banner-media { position: absolute; inset: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 23, 28, .93) 0%, rgba(21, 23, 28, .55) 45%, rgba(21, 23, 28, .1) 100%); }
.banner-text { position: relative; z-index: 1; padding: 28px 32px; max-width: 900px; }
.banner .eyebrow { color: var(--sa); }
.banner-title { font-size: 36px; font-weight: 900; line-height: 1.25; margin: 4px 0 0; }
.banner-slim { min-height: 230px; }
.banner-slim .banner-title { font-size: 28px; }
.banner-hub { min-height: 340px; }
.banner-hub .banner-title { font-size: 40px; }
.banner-plain { min-height: 0; background: var(--ch) radial-gradient(circle at 90% 10%, rgba(255, 197, 48, .18), transparent 40%); }
.banner-meta { margin-top: 8px; }
.banner .checked { color: #C9CCD6; }
.banner .checked .ico { color: var(--sa); }
.banner .credit { position: absolute; right: 14px; bottom: 8px; z-index: 1; color: rgba(255, 255, 255, .7); margin: 0; font-size: 10.5px; }
.banner-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #C9CCD6; }
.trail ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 10px; padding: 0; font-size: 12.5px; color: var(--mu); }
.trail li + li::before { content: "›"; margin: 0 6px 0 4px; opacity: .6; }
.trail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.trail-on-dark ol { color: rgba(255, 255, 255, .7); }
.trail-on-dark a { color: #fff; }

/* Page layouts ------------------------------------------------------------- */
.page-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 16px; }
.page-grid .dash-rail { margin-top: 16px; }
.page-grid-single { display: block; max-width: 880px; }
.page-grid-news { grid-template-columns: minmax(0, 1fr) 330px; }
.page-main { min-width: 0; }
.news-side { padding-top: 16px; }
.related-box { margin-top: 28px; }
.back-link { margin: 22px 0 0; }
.back-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.back-link .ico { width: 18px; height: 18px; }
.back-link a:hover { color: var(--sk-ink); }
.list-head { padding: 34px 0 6px; }
.list-title { font-size: 34px; font-weight: 900; margin: 2px 0 16px; }
.list-head-404 { padding-bottom: 20px; }
.list-head .seek-form-light { margin-bottom: 24px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip-link { background: #fff; border: 1px solid var(--ln); border-radius: 999px; padding: 5px 14px; font-size: 13.5px; }
.chip-link:hover { border-color: var(--ch); }
.chip-link[aria-current] { background: var(--ch); border-color: var(--ch); color: #fff; }
.blank-state { max-width: 720px; }
.dest-grid-page { grid-template-columns: repeat(3, 1fr); max-width: none; padding: 26px 30px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; margin: 34px 0 0; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--ln); font-size: 14px; }
.pagination .page-numbers.current { background: var(--ch); color: #fff; border-color: var(--ch); }
.pagination a.page-numbers:hover { border-color: var(--ch); }

/* Article content ------------------------------------------------------------ */
.copy { font-size: 16.5px; line-height: 1.85; color: #262A33; overflow-wrap: break-word; }
.copy > :first-child { margin-top: 0; }
.copy > :last-child { margin-bottom: 0; }
.copy p { margin: 0 0 1em; }
.copy h2 { position: relative; font-size: 22px; font-weight: 900; line-height: 1.4; margin: 1.9em 0 .7em; padding-left: 16px; color: var(--ch); }
.copy h2::before { content: ""; position: absolute; left: 0; top: .28em; width: 5px; height: .95em; border-radius: 3px; background: var(--sa); }
.copy h3 { font-size: 18px; font-weight: 800; margin: 1.5em 0 .5em; color: var(--ch); }
.copy h4 { font-size: 16px; margin: 1.3em 0 .4em; }
.copy a { color: var(--sk-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.copy a:hover { color: var(--ch); }
.copy strong { font-weight: 700; color: var(--ch); }
.copy ul, .copy ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.copy li { margin: .3em 0; }
.copy li::marker { color: var(--mu); }
.copy blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 4px solid var(--sa); background: #FFFBEF; border-radius: 0 12px 12px 0; }
.copy blockquote p:last-child { margin: 0; }
.copy hr { border: 0; border-top: 1px solid var(--ln); margin: 2em 0; }
.copy img { border-radius: 12px; }
.copy .lede { font-size: 17.5px; color: #3A3F4B; }
.copy-intro { max-width: 860px; }
.soon-link { color: inherit; }

/* Tables */
.tbl-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--ln); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.tbl-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.tbl-wrap th, .tbl-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; }
.tbl-wrap th { background: var(--ch); color: #fff; font-weight: 700; font-size: 13.5px; }
.tbl-wrap tbody tr:not(:first-child) th, .tbl-wrap thead + tbody th { background: transparent; color: var(--ch); }
.tbl-wrap td, .tbl-wrap tbody th { border-top: 1px solid var(--ln); }
.tbl-wrap tbody tr:nth-child(even) { background: #F8F9FA; }

/* Bar chart */
.bar-chart { border: 1px solid var(--ln); border-radius: 14px; padding: 18px 20px 14px; margin: 1.6em 0; background: #fff; }
.copy .chart-title { font-size: 15px; font-weight: 900; margin: 0 0 12px; color: var(--ch); }
.bar { display: grid; grid-template-columns: minmax(96px, 30%) 1fr auto; grid-template-areas: "l t v"; align-items: center; gap: 4px 12px; margin: 9px 0; font-size: 13.5px; line-height: 1.4; }
.bar::before, .bar::after { content: ""; grid-area: t; height: 14px; border-radius: 6px; }
.bar::before { background: var(--sk2); width: 100%; }
.bar::after { background: var(--sk); width: var(--v, 0%); }
.bar:nth-of-type(1)::after { background: var(--sa); }
.bar span { grid-area: l; color: #3A3F4B; }
.bar b { grid-area: v; font-weight: 800; color: var(--ch); white-space: nowrap; }
.copy .chart-src { font-size: 11.5px; color: var(--mu); margin: 12px 0 0; }

/* Flow */
.copy ol.flow { list-style: none; counter-reset: step; display: flex; padding: 22px 12px 18px; margin: 1.6em 0; border: 1px solid var(--ln); border-radius: 14px; background: #fff; }
.copy ol.flow li { flex: 1; position: relative; padding: 0 8px; margin: 0; text-align: center; font-size: 13px; line-height: 1.55; color: #4A4F5C; counter-increment: step; }
.copy ol.flow li::before { content: counter(step); position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--sk); color: #fff; font-weight: 900; font-size: 15px; }
.copy ol.flow li::after { content: ""; position: absolute; top: 16px; left: -50%; right: 50%; height: 3px; background: var(--sk2); z-index: 1; }
.copy ol.flow li:first-child::after { display: none; }
.copy ol.flow li b, .copy ol.flow li strong { display: block; font-size: 14px; color: var(--ch); }

/* Pros and cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; }
.copy .pros-cons h3 { font-size: 13px; margin: 0 0 8px; color: var(--mu); letter-spacing: .04em; }
.copy .pros-cons ul { list-style: none; padding: 0; margin: 0; }
.copy .pros-cons li { padding: 7px 12px; border-radius: 8px; margin: 0 0 6px; font-size: 14.5px; line-height: 1.55; }
.pros li { background: var(--ok); }
.cons li { background: var(--no); }

/* Callouts */
.tip, .warn, .play-note { position: relative; border-radius: 12px; padding: 14px 18px 14px 50px; margin: 1.5em 0; font-size: 15px; line-height: 1.75; }
.tip p:last-child, .warn p:last-child, .play-note p { margin: 0; }
.tip::before, .warn::before { content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.tip { background: #EEF4FF; border: 1px solid #D3E3FF; }
.tip::before { background: var(--sk); --m: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17.5h6M10 20.5h4M12 3.5a6 6 0 0 0-3.5 10.9c.5.4.5 1 .5 1.6v1.5h6V16c0-.6 0-1.2.5-1.6A6 6 0 0 0 12 3.5z'/%3E%3C/svg%3E"); }
.warn { background: #FDF1F0; border: 1px solid #F5CDC9; }
.warn::before { background: #C6352B; --m: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 21 19.5H3z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.1'/%3E%3C/svg%3E"); }
.play-note { display: flex; gap: 12px; padding-left: 18px; background: #FFF9E6; border: 1px solid #FFE7A0; }
.play-note .ico { color: #B88600; margin-top: 3px; }

/* Sources */
.copy ol.sources { font-size: 12.5px; line-height: 1.65; color: var(--mu); padding-left: 1.5em; }
.copy ol.sources li { margin: .25em 0; }
.copy ol.sources a { color: var(--mu); word-break: break-all; }

/* Footer --------------------------------------------------------------------- */
.base { background: var(--ch); color: #9DA2B0; margin-top: 64px; padding: 44px 0 28px; font-size: 13.5px; }
.base-top { display: grid; grid-template-columns: 290px 1fr 150px; gap: 44px; }
.base-logo img { height: 40px; width: auto; }
.base-mission { margin: 14px 0 12px; line-height: 1.75; }
.base-contact { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; }
.base-contact .ico { width: 16px; height: 16px; color: var(--sa); }
.base-contact a { color: #fff; }
.base-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.base-dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 24px; }
.base-h { color: #fff; font-weight: 700; margin: 0 0 6px; font-size: 13.5px; }
.base-h a:hover { color: var(--sa); }
.base-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
.base-site .base-list { columns: 1; }
.base-list li { padding: 2px 0; font-size: 13px; break-inside: avoid; }
.base-list a { color: #B9BDC9; }
.base-list a:hover { color: #fff; }
.base-list .is-soon { color: #7E8392; }
.base-legal { border-top: 1px solid #2A2D36; margin-top: 34px; padding-top: 20px; font-size: 12px; color: #9196A4; line-height: 1.7; }
.base-legal p { margin: 0 0 6px; }
.base-copy { font-size: 11px; margin-top: 10px !important; }

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1140px) {
	.tix { grid-template-columns: repeat(2, 1fr); }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.base-top { grid-template-columns: 1fr; gap: 30px; }
	.base-dests { grid-template-columns: repeat(3, 1fr); }
	.base-site .base-list { columns: 3; }
	.dest-grid { grid-template-columns: repeat(3, 1fr); }
	.facts-tbl tbody { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.topbar-in { gap: 10px; height: 60px; }
	.logo img { height: 36px; }
	.burger { display: inline-grid; }
	.dock { display: none; }
	.dock-open .dock { display: block; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--ch); padding: 10px 16px 40px; overflow-y: auto; z-index: 60; border-top: 1px solid #2A2D36; }
	.admin-bar.dock-open .dock { top: 106px; }
	.dock-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.dock-link, .dock-list > .menu-item > a { width: 100%; justify-content: space-between; font-size: 16px; padding: 13px 12px; color: #fff; }
	.dest-panel { position: static; background: transparent; color: #fff; border: 0; box-shadow: none; }
	.dest-grid { grid-template-columns: 1fr 1fr; padding: 6px 12px 18px; gap: 18px; }
	.dest-head { color: #fff; }
	.dest-head .mono { color: var(--sa); }
	.dest-list a { color: #C9CCD6; }
	.dest-list .is-soon { color: #6E7382; }
	.lift { padding: 30px 0 48px; }
	.lift-grid { grid-template-columns: 1fr; gap: 30px; }
	.lift-title, .lang-en .lift-title { font-size: 38px; }
	.dash, .page-grid, .page-grid-news { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dash { padding-top: 14px; }
	.dash-rail, .page-grid .dash-rail { position: static; margin: 0 0 14px; }
	.rail { padding: 6px; max-height: none; overflow: visible; border-radius: 14px; }
	.rail-head { display: none; }
	.rail-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px; }
	.rail-list::-webkit-scrollbar { display: none; }
	.rail-label { display: none; }
	.rail-item { flex: none; scroll-snap-align: start; }
	.rail-link, .is-sub .rail-link { white-space: nowrap; padding: 6px 12px 6px 10px; border: 1px solid var(--ln); border-radius: 999px; font-size: 13px; gap: 6px; }
	.rail-link .ico { width: 16px; height: 16px; }
	.is-on .rail-link { border-color: var(--ch); }
	.rail-soon { display: none; }
	.mosaic, .mosaic.has-1, .mosaic.has-2, .mosaic.has-3, .mosaic.is-solo { grid-template-columns: 1fr 1fr; grid-template-rows: 250px; grid-auto-rows: 120px; border-radius: 16px; }
	.mosaic .mosaic-main { grid-column: 1 / -1; grid-row: auto; }
	.mosaic.has-1 .mosaic-cell, .mosaic.has-3 .mosaic-cell:last-child { grid-column: span 2; }
	.mosaic-title h1 { font-size: 27px; }
	.mosaic-title { padding: 50px 16px 16px; }
	.cards-3, .conts { grid-template-columns: repeat(2, 1fr); }
	.banner { min-height: 240px; margin-top: 14px; }
	.banner-slim { min-height: 200px; }
	.banner-text { padding: 20px; }
	.banner-title, .banner-hub .banner-title { font-size: 26px; }
	.banner-slim .banner-title { font-size: 23px; }
	.news-side { padding-top: 28px; }
	.dest-grid-page { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.shell { padding: 0 16px; }
	.lang-pill { font-size: 12px; }
	.lang-pill a { padding: 2px 5px; }
	.icon-btn { width: 36px; height: 36px; }
	.lift-title, .lang-en .lift-title { font-size: 31px; }
	.lift-lede { font-size: 15px; }
	.kpi-row { gap: 26px; }
	.kpi dd { font-size: 27px; }
	.bpass-photo { height: 170px; }
	.bpass-route { padding: 14px 16px; }
	.bpass-end b { font-size: 18px; }
	.bpass-foot { padding: 14px 16px 16px; }
	.bpass-go { padding: 10px 14px; }
	.block { padding-top: 38px; }
	.sec-title { font-size: 22px; }
	.tix, .tiles, .cards-2, .cards-3, .cards-4, .conts { grid-template-columns: 1fr; }
	.ticket { grid-template-columns: 112px 1fr; }
	.cont { aspect-ratio: 16 / 9; }
	.stat-row { grid-template-columns: 1fr 1fr; }
	.stat { padding: 12px 13px; }
	.stat b { font-size: 20px; }
	.stat.is-long b { font-size: 16px; }
	.panel { padding: 20px 18px; }
	.facts-card { padding: 16px 16px; }
	.facts-tbl tr { grid-template-columns: 104px 1fr; }
	.copy { font-size: 16px; line-height: 1.8; }
	.copy h2 { font-size: 20px; }
	.pros-cons { grid-template-columns: 1fr; }
	.bar { grid-template-columns: 1fr auto; grid-template-areas: "l v" "t t"; }
	.copy ol.flow { flex-direction: column; padding: 18px 16px 4px; }
	.copy ol.flow li { text-align: left; padding: 0 0 18px 48px; min-height: 52px; }
	.copy ol.flow li::before { position: absolute; left: 0; top: 0; margin: 0; z-index: 2; }
	.copy ol.flow li::after { display: block; top: 34px; bottom: 0; left: 15.5px; right: auto; width: 3px; height: auto; }
	.copy ol.flow li:first-child::after { display: block; }
	.copy ol.flow li:last-child::after { display: none; }
	.list-title { font-size: 27px; }
	.base-dests { grid-template-columns: 1fr 1fr; }
	.base-site .base-list { columns: 2; }
	.seek-form .ico { left: 30px; }
	.seek-form-light .ico { left: 14px; }
	.dest-grid-page { grid-template-columns: 1fr 1fr; padding: 20px; }
	.banner .credit { top: 8px; bottom: auto; right: 12px; left: 12px; text-align: right; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .base, .dash-rail, .seek-bar, .related-box, .news-side { display: none !important; }
	.dash, .page-grid { display: block; }
	.panel { border: 0; padding: 0; }
}
