/* ChandigarhMetroRail.com — theme styles (ported from the approved design) */
:root{
  --navy:#112941; --navy-900:#0A1B2D; --navy-800:#0E2236; --navy-700:#1C3A57; --navy-100:#DCE5EE;
  --teal:#168C87; --teal-ink:#0E6B67; --teal-50:#E4F2F1; --teal-200:#A9D8D5;
  --amber:#F5B544; --amber-50:#FDF4E1; --amber-ink:#7A4E00;
  --bg:#F3F7FA; --white:#FFFFFF; --line:#D9E2EA; --line-2:#E8EEF3;
  --ink:#112941; --ink-2:#34495D; --ink-3:#55697B;
  --serif:"Newsreader", Georgia, "Times New Roman", serif;
  --sans:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r:10px; --r-lg:18px;
  --shadow:0 1px 2px rgba(17,41,65,.06), 0 10px 30px rgba(17,41,65,.07);
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;line-height:1.6}
a{color:var(--teal-ink);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--navy)}
img{max-width:100%}
.site{background:var(--white);min-height:100%}
.wrap{max-width:1240px;margin:0 auto;padding-inline:24px}
.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.i-sm{width:14px;height:14px}
.mono{font-family:var(--mono)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--amber);outline-offset:2px}

/* ---------- Typography ---------- */
h1,h2,h3{font-family:var(--serif);color:var(--navy);font-weight:500;letter-spacing:-.01em;text-wrap:balance;margin:0}
h1{font-size:clamp(2.1rem,4.2vw,3.5rem);line-height:1.06}
h2{font-size:clamp(1.55rem,2.4vw,2.05rem);line-height:1.15}
h3{font-size:1.25rem;line-height:1.25}
p{margin:0;text-wrap:pretty}
.kicker{font-family:var(--mono);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-ink);font-weight:500;display:flex;align-items:center;gap:10px}
.kicker::before{content:"";width:22px;height:2px;background:currentColor;display:block}
.kicker.on-dark{color:var(--amber)}
.lede{font-size:1.15rem;color:var(--ink-2);max-width:62ch;line-height:1.6}
.muted{color:var(--ink-3)}
.small{font-size:.875rem}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 20px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;border:1.5px solid transparent;cursor:pointer;font-family:var(--sans);transition:transform .15s ease, background .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--amber);color:var(--navy)}
.btn-primary:hover{background:#F8C566;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--navy-700);color:#fff}
.btn-teal{background:var(--teal-ink);color:#fff}
.btn-teal:hover{background:#0B5A57;color:#fff}
.btn-ghost{border-color:rgba(255,255,255,.9);color:#fff;background:rgba(10,27,45,.55);backdrop-filter:blur(4px)}
.btn-ghost:hover{border-color:#fff;color:var(--navy);background:#fff}
.btn-line{border-color:var(--line);color:var(--navy);background:#fff}
.btn-line:hover{border-color:var(--navy);color:var(--navy)}
.btn-sm{min-height:40px;padding:0 16px;font-size:.875rem}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;text-decoration:none;color:var(--teal-ink)}
.link-arrow:hover{gap:12px;color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Header ---------- */
.hdr{position:relative;z-index:50;background:#fff}
.topbar{background:var(--navy-900);color:#C9D6E2;font-size:.8125rem}
.topbar-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;min-height:44px;padding-block:6px}
.indep{display:flex;align-items:center;gap:10px;margin:0;color:#fff}
.indep-badge{display:inline-flex;align-items:center;gap:8px;background:var(--amber);color:var(--navy);font-weight:700;border-radius:999px;padding:4px 12px 4px 10px;font-size:.8125rem;letter-spacing:.01em}
.topbar-links{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center}
.topbar-links a{color:#E4ECF3;text-decoration:none}
.topbar-links a:hover{color:var(--amber)}
.navbar{border-bottom:1px solid var(--line);background:#fff}
.navbar-in{display:flex;align-items:center;gap:24px;min-height:78px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy);flex:none}
.brand-mark{width:42px;height:42px;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-name{font-family:var(--serif);font-size:1.35rem;font-weight:600;letter-spacing:-.01em;color:var(--navy)}
.brand-sub{font-size:.72rem;color:var(--ink-3);letter-spacing:.02em}
.nav{flex:1;display:flex;justify-content:center}
.nav-list{display:flex;gap:2px;list-style:none;margin:0;padding:0}
.nav-item{position:relative}
.nav-top{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;border:0;background:transparent;font:600 .92rem/1 var(--sans);color:var(--navy);text-decoration:none;cursor:pointer}
.nav-top:hover,.nav-item:focus-within>.nav-top{background:var(--bg);color:var(--navy)}
.nav-item.is-current>.nav-top{color:var(--teal-ink);box-shadow:inset 0 -2px 0 var(--teal)}
.dd{position:absolute;top:100%;left:50%;transform:translate(-50%,6px);padding-top:10px;opacity:0;visibility:hidden;transition:opacity .15s ease, transform .15s ease;z-index:60}
.nav-item:hover .dd,.nav-item:focus-within .dd{opacity:1;visibility:visible;transform:translate(-50%,0)}
.dd-in{width:380px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:0 24px 60px rgba(10,27,45,.18);padding:14px;display:flex;flex-direction:column;gap:2px}
.dd-title{font-family:var(--mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ink-3);padding:6px 12px 8px}
.dd-link{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;text-decoration:none}
.dd-link:hover{background:var(--bg)}
.dd-l{font-weight:600;color:var(--navy);font-size:.95rem}
.dd-d{font-size:.82rem;color:var(--ink-3)}
.nav-actions{display:flex;align-items:center;gap:8px;flex:none}
.icon-btn{width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--navy);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.icon-btn:hover{border-color:var(--navy)}
.burger{display:none}
.search-panel{background:var(--bg);border-bottom:1px solid var(--line);padding:24px 0 28px}
.search-label{display:block;font-weight:600;margin-bottom:10px}
.search-row{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--navy);border-radius:14px;padding:0 8px 0 16px;min-height:56px}
.search-input{flex:1;border:0;outline:0;font:500 1.05rem var(--sans);color:var(--navy);background:transparent;min-width:0;min-height:52px}
.search-meta{font-size:.85rem;color:var(--ink-3);margin:12px 0 8px}
.search-results{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:8px}
.sr{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);text-decoration:none}
.sr:hover{border-color:var(--teal)}
.sr-group{font-family:var(--mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--teal-ink)}
.sr-title{font-weight:600;color:var(--navy)}
.sr-slug{font-family:var(--mono);font-size:.75rem;color:var(--ink-3)}
.mobile-panel{border-bottom:1px solid var(--line);background:#fff;padding:12px 0 24px}
.m-group{padding:14px 0;border-bottom:1px solid var(--line-2);display:flex;flex-direction:column;gap:4px}
.m-title{font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-bottom:4px}
.m-link{display:flex;align-items:center;min-height:44px;font-weight:600;color:var(--navy);text-decoration:none}
@media (max-width:1120px){
  .nav{display:none}
  .burger{display:inline-flex}
  .navbar-in{justify-content:space-between}
}
@media (max-width:560px){
  .nav-cta{display:none}
  .brand-sub{display:none}
  .brand-name{font-size:1.15rem}
}

/* ---------- Hero (home) ---------- */
.hero{background-color:var(--navy);color:#fff;position:relative;overflow:hidden;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:72px 108px;background-position:-1px -1px}
.hero-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:56px;align-items:center;padding-block:88px 96px;position:relative}
.hero h1{color:#fff;font-size:clamp(2.4rem,5vw,4.1rem)}
.hero h1 em{font-style:italic;color:var(--amber)}
.hero .lede{color:#D3DEE8}
.hero-copy{display:flex;flex-direction:column;gap:26px}
.hero-note{display:flex;gap:10px;align-items:flex-start;font-size:.85rem;color:#B9C8D6;max-width:56ch}
.lines-deco{position:absolute;inset:0;pointer-events:none}

/* status board */
.board{background:var(--navy-900);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.board-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px dashed rgba(255,255,255,.18)}
.board-title{font-family:var(--mono);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--amber)}
.board-date{font-family:var(--mono);font-size:.75rem;color:#9FB2C4}
.board-row{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.board-row:last-of-type{border-bottom:0}
.board-k{font-size:.95rem;color:#E8EEF4}
.board-k small{display:block;font-family:var(--mono);font-size:.7rem;color:#93A7BA;margin-top:2px}
.flap{font-family:var(--mono);font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:6px;white-space:nowrap}
.flap-no{background:#2A3E55;color:#F4C979}
.flap-doc{background:rgba(43,179,173,.16);color:#7FE0DA}
.flap-rep{background:rgba(255,255,255,.08);color:#D6E0EA}
.board-foot{font-size:.75rem;color:#93A7BA;margin-top:12px;display:flex;gap:8px;align-items:flex-start}

/* ---------- Independence strip ---------- */
.indep-strip{background:var(--amber-50);border-bottom:1px solid #F1DDB0}
.indep-strip-in{display:flex;flex-wrap:wrap;gap:16px 32px;align-items:center;justify-content:space-between;padding-block:20px}
.indep-strip p{color:#4A3A12;max-width:80ch;font-size:.95rem}
.indep-strip strong{color:var(--navy)}

/* ---------- Sections ---------- */
.section{padding-block:96px}
.section-sm{padding-block:64px}
.section-alt{background:var(--bg)}
.section-dark{background:var(--navy);color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 40px;margin-bottom:44px}
.sec-head-copy{display:flex;flex-direction:column;gap:14px;max-width:720px}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:40px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px}

/* ---------- Cards ---------- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column}
.card-body{padding:24px;display:flex;flex-direction:column;gap:12px;flex:1}
.card h3 a{color:var(--navy);text-decoration:none}
.card h3 a:hover{color:var(--teal-ink)}
.card-link{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:box-shadow .2s ease, transform .2s ease}
.card-link:hover{box-shadow:var(--shadow);transform:translateY(-2px);color:inherit}
.card-foot{margin-top:auto;padding-top:8px}
.card-meta{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;font-size:.8rem;color:var(--ink-3)}
.mini{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;text-decoration:none}
.mini:hover{border-color:var(--teal)}
.mini-t{font-weight:600;color:var(--navy)}
.mini-d{font-size:.85rem;color:var(--ink-3)}

/* ---------- Tags ---------- */
.tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:.7rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:6px;white-space:nowrap;line-height:1.3}
.tag-hist{background:#E8ECF2;color:#3A4A5E}
.tag-concept{background:var(--teal-50);color:var(--teal-ink)}
.tag-unver{background:var(--amber-50);color:var(--amber-ink)}
.tag-official{background:#E1EAF5;color:#1D3F66}
.tag-media{background:#EFE9F6;color:#563C7A}
.tag-proto{background:var(--navy);color:var(--amber)}
.tag-internal{background:#FBE3E3;color:#8A1F1F}

/* ---------- Photo slots (licensed image required) ---------- */
.photo{position:relative;background-color:var(--navy-700);border-radius:var(--r-lg);overflow:hidden;aspect-ratio:16/10;display:flex;align-items:flex-end;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:36px 54px}
.photo.tall{aspect-ratio:4/5}
.photo.wide{aspect-ratio:21/9}
.photo.flat{border-radius:0}
.photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.card-link:hover .photo>img,.photo.zoom:hover>img{transform:scale(1.045)}
.photo .photo-tl,.photo .photo-cap{z-index:1}
/* Overlay badges retired: site-wide disclosure + small captions where needed */
.photo-tl,.hero-badge{display:none!important}
.img-note{position:absolute;right:14px;bottom:12px;z-index:3;max-width:min(520px,calc(100% - 28px));font-size:.75rem;line-height:1.45;color:#E6EDF3;background:rgba(10,27,45,.55);padding:4px 10px;border-radius:4px;text-align:right}
.ftr-disc-text{display:flex;flex-direction:column;gap:8px}
.photo.sq{aspect-ratio:1/1}
.photo.std{aspect-ratio:4/3}
figcaption.cap{font-size:.8rem;color:var(--ink-3);margin-top:8px;line-height:1.5}
.phero>.wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 48px}
.phero-in{flex:1 1 520px}
.phero-media{flex:1 1 340px;max-width:500px;margin-block:28px;box-shadow:0 20px 50px rgba(17,41,65,.16)}
.collage{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:10px;aspect-ratio:16/9}
.collage .photo{aspect-ratio:auto;height:100%}
.collage .photo:first-child{grid-row:span 2}
@media (max-width:640px){.collage{grid-template-columns:1fr;grid-template-rows:auto;aspect-ratio:auto}.collage .photo{aspect-ratio:16/10}.collage .photo:first-child{grid-row:auto}}
.thumb-row{display:flex;gap:14px;align-items:center;text-decoration:none;padding:10px 0;border-bottom:1px solid var(--line-2)}
.thumb-row:last-child{border-bottom:0}
.thumb-row .photo{flex:none;width:96px;aspect-ratio:4/3;border-radius:10px}
.thumb-row b{display:block;color:var(--navy);font-size:.92rem;line-height:1.35}
.thumb-row span{font-size:.75rem;color:var(--ink-3);font-family:var(--mono)}
.hero-media{position:relative}
.hero-media .photo{aspect-ratio:5/4;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.photo-tl{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:8px;background:rgba(10,27,45,.78);color:#fff;border-radius:999px;padding:6px 12px;font-family:var(--mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}
.photo-cap{position:relative;width:100%;padding:16px 18px;background:linear-gradient(transparent, rgba(10,27,45,.85));color:#E7EEF5;font-size:.82rem;line-height:1.45}
.photo-cap b{color:#fff;font-weight:600}
figure{margin:0}
figcaption.alt{font-size:.78rem;color:var(--ink-3);margin-top:8px;font-family:var(--mono)}

/* ---------- Ad slot ---------- */
.ad{border:1px dashed #B9C4CE;background:repeating-linear-gradient(135deg,#FAFBFC 0 10px,#F4F6F8 10px 20px);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:#6B7A88;padding:18px}
.ad-label{font-family:var(--mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#56636F}
.ad-note{font-size:.75rem}
.ad-leader{min-height:110px}
.ad-rect{min-height:260px}
.ad-wrap{padding-block:28px}
.ad-size{font-family:var(--mono);font-size:.7rem;color:#6B7A88}
.ad-leader{max-width:970px;margin-inline:auto;width:100%}
.ad-vert{flex:0 0 300px;width:300px;min-height:600px;position:sticky;top:24px}
.with-ad{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.with-ad>.with-ad-main{flex:999 1 600px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:24px}
@media (max-width:980px){.ad-vert{flex:1 1 100%;width:100%;min-height:250px;position:static}}

/* ---------- Inner page hero ---------- */
.phero{background:var(--bg);border-bottom:1px solid var(--line);
  background-image:linear-gradient(rgba(17,41,65,.045) 1px, transparent 1px),linear-gradient(90deg, rgba(17,41,65,.045) 1px, transparent 1px);background-size:72px 108px}
.phero-in{padding-block:36px 56px;display:flex;flex-direction:column;gap:20px;max-width:900px}
.phero.legal .phero-in{max-width:820px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:.84rem;color:var(--ink-3)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px 8px;list-style:none;margin:0;padding:0;align-items:center}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li+li::before{content:"/";color:#9AABBB}
.crumbs a{color:var(--ink-2);text-decoration:none}
.crumbs a:hover{color:var(--teal-ink);text-decoration:underline}
.crumbs [aria-current]{color:var(--navy);font-weight:600}
.meta-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-size:.85rem;color:var(--ink-3)}
.meta-row .dot{width:4px;height:4px;border-radius:50%;background:#9AABBB}

/* ---------- Article layout ---------- */
.layout{display:flex;flex-wrap:wrap;gap:56px;padding-block:56px 72px;align-items:flex-start}
.prose{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px;font-size:1.06rem;color:var(--ink-2)}
.prose h2{margin-top:28px;scroll-margin-top:24px}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:8px}
.prose p{line-height:1.75}
.prose ul,.prose ol{margin:0;padding-left:1.3em;display:flex;flex-direction:column;gap:8px;line-height:1.7}
.prose strong{color:var(--navy)}
.rail{flex:1 1 300px;display:flex;flex-direction:column;gap:20px;min-width:0}
.box{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:22px;display:flex;flex-direction:column;gap:12px}
.box-alt{background:var(--bg)}
.box-title{font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);font-weight:500}
.toc{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;counter-reset:t}
.toc a{display:flex;gap:10px;padding:7px 0;color:var(--ink-2);text-decoration:none;font-size:.92rem;line-height:1.4}
.toc a::before{counter-increment:t;content:counter(t,decimal-leading-zero);font-family:var(--mono);font-size:.75rem;color:var(--teal-ink);padding-top:2px}
.toc a:hover{color:var(--navy)}
.glance{display:flex;flex-direction:column;gap:10px;margin:0}
.glance div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.88rem;padding-bottom:10px;border-bottom:1px solid var(--line-2)}
.glance div:last-child{border-bottom:0;padding-bottom:0}
.glance dt{color:var(--ink-2)}
.glance dd{margin:0}

/* notice / callout (full border, no side-accent) */
.notice{display:flex;gap:14px;align-items:flex-start;border:1px solid #EBCF8F;background:var(--amber-50);border-radius:14px;padding:16px 18px;color:#4A3A12;font-size:.95rem;line-height:1.6}
.notice .i{color:var(--amber-ink);margin-top:3px}
.notice strong{color:var(--navy)}
.notice-teal{border-color:var(--teal-200);background:var(--teal-50);color:#123C3A}
.notice-teal .i{color:var(--teal-ink)}
.notice-navy{border-color:var(--navy);background:var(--navy);color:#DDE6EE}
.notice-navy strong{color:#fff}
.notice-navy .i{color:var(--amber)}
.pull{font-family:var(--serif);font-size:1.45rem;line-height:1.4;color:var(--navy);padding:8px 0 8px;border-top:2px solid var(--navy);border-bottom:1px solid var(--line);padding-block:20px}

/* ---------- Sources panel ---------- */
.sources{background:var(--bg);color:var(--ink-2);border:1px solid var(--line);border-top:4px solid var(--navy);border-radius:22px;padding:36px 40px;display:flex;flex-direction:column;gap:22px}
.sources h2{color:var(--navy)}
.sources .kicker.on-dark{color:var(--teal-ink);background:#fff;border-color:currentColor}
.src-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:12px}
.src{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.src a{color:var(--navy);font-weight:600;text-decoration:none;display:inline-flex;gap:8px;align-items:flex-start;line-height:1.4}
.src a:hover{color:var(--teal-ink);text-decoration:underline}
.src-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-family:var(--mono);font-size:.72rem;color:var(--ink-3)}
.sources-foot{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;font-size:.85rem;color:var(--ink-3);border-top:1px solid var(--line);padding-top:18px}
.sources-foot a{color:var(--teal-ink);font-weight:600}

/* ---------- Related ---------- */
.related{padding-block:64px 88px}

/* ---------- Tables ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-lg);background:#fff}
table.data{width:100%;border-collapse:collapse;font-size:.92rem;min-width:720px}
table.data caption{text-align:left;padding:16px 20px;font-size:.85rem;color:var(--ink-3);border-bottom:1px solid var(--line)}
table.data th{text-align:left;font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-weight:500;background:var(--bg);padding:12px 16px;border-bottom:1px solid var(--line)}
table.data td{padding:14px 16px;border-bottom:1px solid var(--line-2);vertical-align:top;color:var(--ink-2)}
table.data tr:last-child td{border-bottom:0}
table.data td strong{color:var(--navy)}
table.data .num{font-family:var(--mono);color:var(--navy)}

/* ---------- Chips / tabs ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--navy);font:600 .875rem var(--sans);cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.chip:hover{border-color:var(--navy)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.chip .count{font-family:var(--mono);font-size:.72rem;opacity:.75}
.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:5px;background:var(--bg);border:1px solid var(--line);border-radius:999px;width:fit-content;max-width:100%}
.tab{min-height:42px;padding:0 18px;border-radius:999px;border:0;background:transparent;color:var(--ink-2);font:600 .9rem var(--sans);cursor:pointer}
.tab:hover{color:var(--navy)}
.tab.on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(17,41,65,.15)}
.section-dark .tabs{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.section-dark .tab{color:#C9D6E2}
.section-dark .tab.on{background:#fff;color:var(--navy)}
.field-inline{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:0 16px;min-height:44px;min-width:min(320px,100%)}
.field-inline input{border:0;outline:0;font:500 .95rem var(--sans);color:var(--navy);flex:1;min-width:0;background:transparent;min-height:40px}

/* ---------- Route schematic (illustrative) ---------- */
.route{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:18px}
.route-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;align-items:baseline}
.route-name{font-family:var(--serif);font-size:1.3rem;color:var(--navy)}
.route-len{font-family:var(--mono);font-size:.82rem;color:var(--ink-3)}
.strip-scroll{overflow-x:auto;padding-bottom:6px}
.strip{display:flex;position:relative;min-width:max-content;padding-top:14px}
.strip::before{content:"";position:absolute;left:12px;right:12px;top:21px;height:6px;border-radius:6px;background:var(--line-c, var(--teal))}
.strip.ew{--line-c:var(--amber)}
.strip.hist::before{background:repeating-linear-gradient(90deg,var(--line-c, var(--teal)) 0 14px, transparent 14px 20px)}
.stop{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;width:96px;text-align:center}
.stop-dot{width:20px;height:20px;border-radius:50%;background:#fff;border:4px solid var(--navy);position:relative;z-index:1}
.stop.x .stop-dot{width:24px;height:24px;margin-top:-2px;border-color:var(--navy);box-shadow:0 0 0 4px #fff, 0 0 0 6px var(--navy)}
.stop-n{font-size:.75rem;line-height:1.3;color:var(--ink-2);padding:0 4px}
.stop-l{font-family:var(--mono);font-size:.62rem;color:var(--ink-3);text-transform:uppercase;letter-spacing:.06em}
.legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.82rem;color:var(--ink-2)}
.legend span{display:inline-flex;align-items:center;gap:8px}
.sw{width:28px;height:6px;border-radius:4px;display:inline-block}
.sw-ns{background:repeating-linear-gradient(90deg,var(--teal) 0 8px, transparent 8px 12px)}
.sw-ew{background:repeating-linear-gradient(90deg,var(--amber) 0 8px, transparent 8px 12px)}
.sw-concept{background:repeating-linear-gradient(90deg,#7B8FA3 0 3px, transparent 3px 7px)}
.sw-conf{background:var(--navy)}
.illus-label{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--amber-ink);background:var(--amber-50);border:1px solid #EBCF8F;border-radius:6px;padding:5px 10px;width:fit-content}

/* three-city node schematic */
.nodes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;position:relative;padding:28px 0}
.nodes::before{content:"";position:absolute;left:16%;right:16%;top:50%;border-top:3px dashed #8FA2B5}
.node{position:relative;z-index:1;justify-self:center;background:#fff;border:2px solid var(--navy);border-radius:16px;padding:14px 18px;text-align:center;min-width:140px}
.node b{display:block;font-family:var(--serif);font-size:1.15rem;color:var(--navy);font-weight:500}
.node span{font-size:.75rem;color:var(--ink-3)}

/* ---------- Status stages ---------- */
.stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:12px;list-style:none;margin:0;padding:0}
.stage{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:10px}
.stage-n{font-family:var(--mono);font-size:.72rem;color:var(--ink-3)}
.stage-t{font-weight:600;color:var(--navy)}
.stage-s{font-size:.82rem;color:var(--ink-2);line-height:1.5}
.stage.doc{border-color:var(--teal-200);background:var(--teal-50)}
.stage.no{background:#fff}
.stage-bar{height:4px;border-radius:4px;background:var(--line)}
.stage.doc .stage-bar{background:var(--teal)}

/* ---------- Timeline ---------- */
.tl-rail{display:flex;gap:0;overflow-x:auto;position:relative;padding:8px 2px 6px}
.tl-btn{flex:1 0 120px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 12px 14px;border:0;background:transparent;cursor:pointer;text-align:left;position:relative;font-family:var(--sans);border-top:3px solid rgba(255,255,255,.18)}
.tl-btn .y{font-family:var(--serif);font-size:1.9rem;line-height:1;color:#fff}
.tl-btn .l{font-size:.8rem;color:#A9BBCC;line-height:1.35}
.tl-btn:hover .l{color:#fff}
.tl-btn.on{border-top-color:var(--amber)}
.tl-btn.on .y{color:var(--amber)}
.tl-btn.on .l{color:#fff}
.tl-card{margin-top:24px;background:#fff;color:var(--ink-2);border-radius:20px;padding:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:24px 40px}
.tl-card h3{font-size:1.6rem}
.tl-light .tl-btn{border-top-color:var(--line)}
.tl-light .tl-btn .y{color:var(--navy)}
.tl-light .tl-btn .l{color:var(--ink-3)}
.tl-light .tl-btn.on{border-top-color:var(--teal)}
.tl-light .tl-btn.on .y{color:var(--teal-ink)}
.tl-light .tl-btn.on .l{color:var(--navy)}
.tl-light .tl-card{border:1px solid var(--line)}
.vt{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.vt li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;padding-bottom:36px;position:relative}
.vt li::before{content:"";position:absolute;left:118px;top:10px;bottom:0;width:2px;background:var(--line)}
.vt li:last-child::before{display:none}
.vt-y{font-family:var(--serif);font-size:1.6rem;color:var(--navy);line-height:1.1}
.vt-b{padding-left:28px;position:relative;display:flex;flex-direction:column;gap:8px}
.vt-b::before{content:"";position:absolute;left:-12px;top:6px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--teal)}

/* ---------- FAQ accordion ---------- */
.acc{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 4px;background:transparent;border:0;cursor:pointer;text-align:left;font:500 1.15rem/1.35 var(--serif);color:var(--navy)}
.acc-q:hover{color:var(--teal-ink)}
.acc-ic{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;flex:none;transition:transform .2s ease, background .2s ease}
.acc-item.open .acc-ic{transform:rotate(180deg);background:var(--navy);color:#fff;border-color:var(--navy)}
.acc-a{padding:0 60px 24px 4px;color:var(--ink-2);line-height:1.7;display:flex;flex-direction:column;gap:10px}

/* ---------- News cards ---------- */
.news-card .photo{border-radius:0}
.news-card h3{font-size:1.3rem}
.news-date{font-family:var(--mono);font-size:.75rem;color:var(--ink-3)}

/* ---------- Forms ---------- */
.form{display:flex;flex-direction:column;gap:18px}
.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:.9rem;color:var(--navy)}
.field .hint{font-size:.8rem;color:var(--ink-3)}
.input{min-height:48px;border:1.5px solid #C6D2DC;border-radius:10px;padding:10px 14px;font:500 1rem var(--sans);color:var(--navy);background:#fff;width:100%}
.input:focus{border-color:var(--teal);outline:3px solid rgba(22,140,135,.2)}
textarea.input{min-height:150px;resize:vertical;line-height:1.5}
.check{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;color:var(--ink-2)}
.check input{width:20px;height:20px;margin-top:2px;accent-color:var(--teal-ink)}
.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--line-2)}
.toggle-row:last-child{border-bottom:0}
.switch{position:relative;width:52px;height:30px;border-radius:999px;border:0;background:#C6D2DC;cursor:pointer;flex:none}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:left .15s ease;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.switch.on{background:var(--teal-ink)}
.switch.on::after{left:25px}
.switch:disabled{opacity:.6;cursor:not-allowed}

/* ---------- Legal pages ---------- */
.legal-layout{display:flex;flex-wrap:wrap;gap:56px;padding-block:56px 80px;align-items:flex-start}
.legal-doc{flex:999 1 560px;min-width:0;max-width:780px;display:flex;flex-direction:column;gap:20px;color:var(--ink-2);font-size:1.04rem}
.legal-doc h2{font-size:1.5rem;margin-top:24px;display:flex;gap:14px;align-items:baseline;scroll-margin-top:24px}
.legal-doc h2 .n{font-family:var(--mono);font-size:.85rem;color:var(--teal-ink);font-weight:500}
.legal-doc p{line-height:1.8}
.ph{background:var(--amber-50);color:var(--amber-ink);font-family:var(--mono);font-size:.88em;padding:1px 6px;border-radius:4px;border:1px dashed #E2C27E}

/* ---------- Cookie banner (prototype) ---------- */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:80;max-width:980px;margin:0 auto;background:var(--navy-900);color:#DDE6EE;border-radius:18px;padding:20px 22px;box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.12)}
.cookie p{font-size:.9rem;max-width:62ch}
.cookie strong{color:#fff}

/* ---------- Footer ---------- */
.ftr{background:var(--navy-900);color:#B9C8D6;font-size:.92rem}
.ftr-disc{background:var(--navy-800);border-bottom:1px solid rgba(255,255,255,.08)}
.ftr-disc-in{display:flex;gap:18px;align-items:flex-start;padding-block:28px}
.ftr-disc-badge{flex:none;font-family:var(--mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;background:var(--amber);color:var(--navy);font-weight:600;border-radius:6px;padding:6px 10px;margin-top:2px}
.ftr-disc p{color:#E6EDF3;line-height:1.7;max-width:110ch}
.ftr-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:40px;padding-block:56px 40px}
.ftr-brand{display:flex;flex-direction:column;gap:16px;grid-column:span 2}
.ftr-brand p{max-width:42ch;line-height:1.65}
.ftr h2{font-family:var(--mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;font-weight:500;margin-bottom:14px}
.ftr ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ftr a{color:#C9D6E2;text-decoration:none;display:inline-flex;min-height:32px;align-items:center}
.ftr a:hover{color:var(--amber)}
.ftr a.btn{min-height:40px}
.ftr a.btn-primary{background:var(--amber);color:var(--navy);border-color:var(--amber)}
.ftr a.btn-primary:hover,.ftr a.btn-primary:focus-visible{background:#fff;color:var(--navy);border-color:#fff}
.ftr a.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.ftr a.btn-ghost:hover,.ftr a.btn-ghost:focus-visible{background:var(--amber);color:var(--navy);border-color:var(--amber)}
.ftr-bottom{border-top:1px solid rgba(255,255,255,.08);padding-block:22px;display:flex;flex-wrap:wrap;gap:10px 28px;justify-content:space-between;font-size:.82rem;color:#93A7BA}
.ftr-bottom .links{display:flex;flex-wrap:wrap;gap:4px 20px}
.ftr .brand-name{color:#fff}
.ftr .brand-sub{color:#93A7BA}
@media (max-width:720px){.ftr-brand{grid-column:auto}}

/* ---------- Image-led layout patterns ---------- */
/* boxed section label */
.kicker{border:1px solid currentColor;border-radius:4px;padding:6px 12px;width:fit-content;background:rgba(255,255,255,.6)}
.kicker::before{display:none}
.kicker.on-dark{background:rgba(10,27,45,.35);border-color:rgba(245,181,68,.7)}

/* full-bleed photo hero (home) */
.hero-photo{background-image:none;min-height:680px;display:flex;align-items:center}
.hero-photo .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,27,45,.94) 0%,rgba(10,27,45,.82) 42%,rgba(10,27,45,.35) 75%,rgba(10,27,45,.2) 100%);z-index:0}
.hero-photo .hero-in{z-index:1;width:100%;align-items:end}
.hero-photo .board{background:rgba(14,34,54,.92);backdrop-filter:blur(6px);border-top:4px solid var(--amber)}
.hero-badge{position:absolute;right:16px;bottom:14px;z-index:1;font-family:var(--mono);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:rgba(10,27,45,.7);padding:6px 12px;border-radius:999px}

/* full-bleed inner-page banners: the hero figure becomes the background */
.phero:has(.phero-media){position:relative;overflow:hidden;background:var(--navy);border-bottom:0}
.phero:has(.phero-media)>.wrap{position:static;display:block}
.phero .phero-media{position:absolute;inset:0;max-width:none;width:100%;height:100%;margin:0;border-radius:0;aspect-ratio:auto;box-shadow:none;z-index:0}
.phero:has(.phero-media)::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,27,45,.95) 0%,rgba(10,27,45,.86) 45%,rgba(10,27,45,.45) 80%,rgba(10,27,45,.3) 100%);z-index:0;pointer-events:none}
.phero .phero-media .photo-tl{top:auto;bottom:14px;left:auto;right:16px;z-index:2}
.phero:has(.phero-media) .phero-in{position:relative;z-index:1;padding-block:48px 72px;max-width:760px}
.phero:has(.phero-media) h1{color:#fff}
.phero:has(.phero-media) .lede{color:#D3DEE8}
.phero:has(.phero-media) .kicker{color:var(--amber);background:rgba(10,27,45,.35);border-color:rgba(245,181,68,.7)}
.phero:has(.phero-media) .crumbs,.phero:has(.phero-media) .crumbs a,.phero:has(.phero-media) .meta-row{color:#C9D6E2}
.phero:has(.phero-media) .crumbs [aria-current]{color:#fff}
.phero:has(.phero-media) .meta-row .ph{background:rgba(245,181,68,.15);color:#F8D58E;border-color:rgba(245,181,68,.5)}
.phero-collage{flex:1 1 340px;max-width:500px;margin-block:28px}

/* asymmetric mosaic: two cards, then one wide card with a navy caption panel */
.mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.mosaic>.card:nth-child(3){grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
.mosaic>.card:nth-child(3) .photo{flex:1.5 1 420px;aspect-ratio:auto;min-height:340px}
.mosaic>.card:nth-child(3) .card-body{flex:1 1 320px;background:var(--navy);color:#C9D6E2;padding:40px;justify-content:center}
.mosaic>.card:nth-child(3) h3{color:#fff;font-size:1.7rem}
.mosaic>.card:nth-child(3) .muted{color:#C9D6E2}
.mosaic>.card:nth-child(3) .link-arrow{color:var(--amber)}
.mosaic>.card:nth-child(3) .tag-hist{background:rgba(255,255,255,.12);color:#E3EAF1}
@media (max-width:760px){.mosaic{grid-template-columns:1fr}.mosaic>.card:nth-child(3) .photo{min-height:220px}}

/* circular image steps with amber ring */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:32px;text-align:center;list-style:none;margin:0;padding:0}
.step{display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none}
.ring{position:relative;width:190px;height:190px;border-radius:50%;padding:10px;border:3px solid var(--amber);border-left-color:transparent;transform:rotate(-30deg);transition:transform .5s ease}
.step:hover .ring{transform:rotate(60deg)}
.ring .photo{width:100%;height:100%;border-radius:50%;aspect-ratio:1/1;transform:rotate(30deg);transition:transform .5s ease}
.step:hover .ring .photo{transform:rotate(-60deg)}
.step-n{position:absolute;top:-4px;left:50%;transform:translateX(-50%) rotate(30deg);width:36px;height:36px;border-radius:50%;background:var(--amber);color:var(--navy);font:700 .9rem var(--sans);display:flex;align-items:center;justify-content:center;z-index:2}
.step:hover .step-n{transform:translateX(-50%) rotate(-60deg)}
.step-t{font-family:var(--serif);font-size:1.3rem;color:var(--navy)}
.step-d{font-size:.88rem;color:var(--ink-3);max-width:26ch}

/* big image + text split */
.split-media{position:relative}
.split-media .photo{aspect-ratio:4/3.4;border-radius:22px}
.split-media .float-card{position:absolute;right:-18px;bottom:-22px;background:var(--amber);color:var(--navy);border-radius:16px;padding:18px 22px;max-width:260px;box-shadow:var(--shadow);font-weight:600;line-height:1.4}
@media (max-width:640px){.split-media .float-card{position:static;margin-top:12px;max-width:none}}

/* ---------- Homepage refinements (scoped to .home) ---------- */
.home{font-size:16px}
.home .wrap{max-width:1248px}
.home h2{font-size:clamp(1.625rem,2.3vw,2rem);line-height:1.18}
.home h3{font-size:1.2rem}
.home .lede{font-size:1.0625rem;line-height:1.65}
.home .muted,.home .small{font-size:.875rem}
.home .card .muted{font-size:.9375rem;line-height:1.6}
.home .sec-head{margin-bottom:32px;align-items:flex-end}
.home .sec-head-copy{gap:10px}
.home-sec{padding-block:64px}
.home-sec-tight{padding-block:32px}
.home .ad{padding:12px}
.home-ad{padding-block:20px}
.home .ad-leader{min-height:90px}
/* hero: single column, compact */
.home .hero-photo{min-height:0}
.home .hero-in{display:block;padding-block:84px 92px}
.home .hero-copy{max-width:640px;gap:22px}
.home .hero h1{font-size:clamp(2.3rem,4.4vw,3.6rem)}
.home .hero-photo::before{background:linear-gradient(90deg,rgba(10,27,45,.92) 0%,rgba(10,27,45,.82) 38%,rgba(10,27,45,.45) 68%,rgba(10,27,45,.25) 100%),linear-gradient(180deg,rgba(10,27,45,.15) 0%,rgba(10,27,45,0) 40%,rgba(10,27,45,.55) 100%)}
.home .hero-photo .hero-bg{object-position:65% 50%}
.home .hero h1,.home .hero .lede{text-shadow:0 2px 18px rgba(10,27,45,.55)}
@media (max-width:760px){.home .hero-photo::before{background:rgba(10,27,45,.8)}}
/* home hero: keep the gradient above the photo so the text reads */
.home .hero-photo .hero-bg{z-index:0}
.home .hero-photo::before{z-index:1;background:linear-gradient(90deg,rgba(10,27,45,.96) 0%,rgba(10,27,45,.9) 35%,rgba(10,27,45,.6) 62%,rgba(10,27,45,.2) 100%),linear-gradient(180deg,rgba(10,27,45,.25) 0%,rgba(10,27,45,0) 40%,rgba(10,27,45,.6) 100%)}
.home .hero-photo .hero-in,.home .hero-photo .hero-badge{z-index:2}
@media (max-width:760px){.home .hero-photo::before{background:linear-gradient(180deg,rgba(10,27,45,.85) 0%,rgba(10,27,45,.9) 100%)}}
.home .indep-strip-in{padding-block:18px;gap:14px 40px;flex-wrap:nowrap}
.home .indep-strip p{font-size:13px;line-height:1.65;max-width:none;flex:1 1 auto;margin:0}
.home .indep-strip p strong{display:inline-block;font-size:.875rem;margin-bottom:4px}
.home .indep-strip .btn-row{flex:none;flex-wrap:nowrap}
.home .indep-strip + .home-ad{padding-block:28px 8px}
@media (max-width:900px){.home .indep-strip-in{flex-wrap:wrap}.home .indep-strip .btn-row{flex-wrap:wrap}}
/* status panel */
.status-panel{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:28px 36px;align-items:center;background:#fff;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:16px;padding:26px 30px;box-shadow:var(--shadow)}
.status-copy{display:flex;flex-direction:column;gap:10px}
.status-copy h2{font-size:clamp(1.4rem,2vw,1.75rem)!important}
.status-copy p:last-child{font-size:.9375rem;line-height:1.65;color:var(--ink-2)}
.status-meta{margin:0;display:flex;flex-direction:column;gap:12px;padding-left:28px;border-left:1px solid var(--line)}
.status-meta div{display:flex;flex-direction:column;gap:4px}
.status-meta dt{font-family:var(--mono);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.status-meta dd{margin:0;font-size:.875rem;color:var(--navy);line-height:1.5}
.facts{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.facts li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;font-size:.84rem;color:var(--ink-2);line-height:1.4}
.facts small{color:var(--ink-3)}
.facts .tag{width:fit-content}
@media (max-width:1000px){.status-panel{grid-template-columns:1fr}.status-meta{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:16px}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.facts{grid-template-columns:1fr}}
/* status section with vertical ad on the right (Home) */
.status-ad-row{display:flex;gap:28px;align-items:flex-start}
.status-ad-main{flex:1 1 0;min-width:0}
.status-ad-row .status-panel{grid-template-columns:1fr}
.status-ad-row .status-cta{margin-top:8px}
.status-ad-row .status-copy>p:not(.kicker){font-size:.9375rem;line-height:1.65;color:var(--ink-2)}
.status-ad-row .facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.status-ad-row .ad-vert{padding:12px}
@media (max-width:1000px){.status-ad-row .status-panel{grid-template-columns:1fr}.status-ad-row .facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.status-ad-row{flex-direction:column;align-items:stretch}}
@media (max-width:520px){.status-ad-row .facts{grid-template-columns:1fr}}
/* equal-height three-up cards */
.eq-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.eq-card{height:100%}
.eq-card .photo{aspect-ratio:16/10;flex:none}
.eq-card .card-body{padding:22px;gap:10px}
.eq-card h3{line-height:1.3}
.eq-card .card-foot{margin-top:auto;padding-top:6px}
@media (max-width:900px){.eq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.eq-grid{grid-template-columns:1fr}}
.more-links{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;margin-top:22px;font-size:.9rem}
.more-links span{color:var(--ink-3);font-family:var(--mono);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}
.more-links a{font-weight:600;min-height:32px;display:inline-flex;align-items:center}
/* routes + rail */
.home-split{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.home-split-main{flex:999 1 620px;min-width:0}
.home-split-rail{flex:1 1 300px;max-width:340px;display:flex;flex-direction:column;gap:20px}
.home-split-rail .ad-rect{min-height:250px}
@media (max-width:980px){.home-split-rail{max-width:none}}
.home .route{padding:22px;gap:14px}
.station-preview{gap:12px}
.sp-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sp-list li{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:10px;padding:10px 0;border-top:1px solid var(--line-2);font-size:.875rem}
.sp-list .mono{grid-row:span 2;font-size:.72rem;color:var(--teal-ink);padding-top:3px}
.sp-list b{color:var(--navy);font-weight:600}
.sp-list li>span:last-child{color:var(--ink-3);font-size:.8rem}
/* timeline compact */
.home-tl{padding-block:56px}
.home-tl .tl-btn{padding:12px 10px}
.home-tl .tl-btn .y{font-size:1.6rem}
.home-tl .tl-card{margin-top:18px;padding:24px 28px;gap:16px 36px}
.home-tl .tl-card h3{font-size:1.35rem}
/* FAQ compact */
.home-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:48px;align-items:start}
.home-faq-intro{display:flex;flex-direction:column;gap:14px}
.home .acc-q{padding:16px 4px;font-size:1.06rem}
.home .acc-a{padding-bottom:18px;font-size:.9375rem}
@media (max-width:860px){.home-faq{grid-template-columns:1fr;gap:24px}}
.home .sources{padding:28px 32px;gap:18px}
/* 70/30 content area with sidebar */
.home-2col{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);gap:48px;align-items:start}
.home-main{display:flex;flex-direction:column;gap:56px;min-width:0}
.home-main .col-block .sec-head{margin-bottom:20px}
.home-main .eq-grid{gap:18px}
.home-main .eq-card .card-body{padding:18px;gap:8px}
.home-main .eq-card h3{font-size:1.05rem}
.home-main .eq-card .muted{font-size:.875rem}
.home-side{display:flex;flex-direction:column;gap:24px;min-width:0}
.ad-sky{width:100%;max-width:336px;min-height:600px;margin-inline:auto;padding:12px}
.ad-mobile{display:none;min-height:250px}
.sp-wide{gap:12px}
.sp-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 16px}
.sp-row li{border-top:1px solid var(--line-2)}
.upd-list,.pop-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.upd-list li{border-top:1px solid var(--line-2)}
.upd-list a{display:flex;flex-direction:column;gap:3px;padding:11px 0;text-decoration:none}
.upd-list b{color:var(--navy);font-size:.92rem;line-height:1.35;font-weight:600}
.upd-list a:hover b{color:var(--teal-ink)}
.pop-list li{border-top:1px solid var(--line)}
.pop-list li:first-child{border-top:0}
.pop-list a{display:flex;align-items:center;min-height:40px;font-size:.92rem;font-weight:500;text-decoration:none;color:var(--navy)}
.pop-list a::before{content:"›";color:var(--teal-ink);font-weight:700;margin-right:10px}
.pop-list a:hover{color:var(--teal-ink)}
.home-side .box-title{font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);font-weight:500}
@media (max-width:1180px){.home-main .eq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){
  .home-2col{grid-template-columns:1fr;gap:40px}
  .ad-sky{display:none}
  .ad-mobile{display:flex}
  .home-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
}
@media (max-width:700px){.sp-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.home-main .eq-grid{grid-template-columns:1fr}}

/* ---------- Misc ---------- */
.divider{height:1px;background:var(--line);border:0;margin:0}
.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.kv div{background:#fff;padding:20px;display:flex;flex-direction:column;gap:6px}
.kv b{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-weight:500}
.kv span{color:var(--navy);font-weight:600;line-height:1.4}
.proto-banner{display:flex;gap:12px;align-items:center;background:var(--navy);color:#fff;border-radius:12px;padding:14px 16px;font-size:.9rem}
.proto-banner .tag-proto{background:var(--amber);color:var(--navy)}
@media (max-width:640px){
  .section{padding-block:64px}
  .sources{padding:24px}
  .route{padding:20px}
  .acc-a{padding-right:4px}
  .vt li{grid-template-columns:1fr;gap:6px}
  .vt li::before{display:none}
  .vt-b{padding-left:0}
  .vt-b::before{display:none}
  .nodes{grid-template-columns:1fr}
  .nodes::before{left:50%;right:auto;top:8%;bottom:8%;border-top:0;border-left:3px dashed #8FA2B5}
  .tl-card{padding:22px}
}

/* ---------- Blog post template (reusable for all original articles) ---------- */
.post-head{max-width:920px;padding-block:40px 28px;display:flex;flex-direction:column;gap:18px}
.post-head h1{font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.1}
.post-standfirst{font-family:var(--serif);font-size:clamp(1.15rem,2vw,1.35rem);line-height:1.55;color:var(--ink-2);margin:0;max-width:64ch}
.post-meta{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;padding-block:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-family:var(--mono);font-size:.75rem;letter-spacing:.04em;color:var(--ink-3)}
.post-meta span+span::before{content:"·";margin-right:22px;color:#9AABBB}
.post-wrap{max-width:1180px}
.post-figure{margin:0}
.post-figure img{display:block;width:100%;height:auto;border-radius:var(--r-lg);background:var(--navy-100)}
.post-figure figcaption{font-size:.82rem;color:var(--ink-3);margin-top:10px;line-height:1.5}
.post-body h2{font-size:clamp(1.45rem,2.6vw,1.85rem);scroll-margin-top:24px}
.post-body h3{font-size:1.15rem}
.post-cite{font-family:var(--mono);font-size:.7em;vertical-align:super;line-height:0;margin-left:3px;text-decoration:none;font-weight:600}
.post-takeaways{background:var(--teal-50);border-color:var(--teal-200);gap:14px}
.post-takeaways h2.box-title{font-family:var(--mono);font-size:.72rem;margin:0;color:var(--teal-ink);letter-spacing:.12em}
.post-takeaways ul{color:#123C3A}
.post-faq{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.post-faq-item{padding:18px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.post-faq-item h3{margin:0}
.post-faq-item p{margin:0}
.post-sources ol{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;counter-reset:s}
.post-sources li{counter-increment:s;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px 14px 52px;position:relative;scroll-margin-top:24px;font-size:.95rem}
.post-sources li::before{content:"[" counter(s) "]";position:absolute;left:16px;top:14px;font-family:var(--mono);font-size:.78rem;color:var(--teal-ink);font-weight:600}
.post-sources li a{color:var(--navy);font-weight:600;text-decoration:none;line-height:1.4;overflow-wrap:anywhere}
.post-sources li a:hover{color:var(--teal-ink);text-decoration:underline}
.post-sources li:target{border-color:var(--amber);background:var(--amber-50)}
.post-continue{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.post-continue ul{list-style:none;padding:0}
.post-continue a{font-weight:600}
.post-toc-mobile{display:none;border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;padding:4px 18px}
.post-toc-mobile summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-family:var(--mono);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.post-toc-mobile .toc{padding-bottom:12px}
@media (max-width:940px){
  .post-toc-mobile{display:block}
  .post-rail .post-toc{display:none}
  .post .layout{gap:40px;padding-block:40px 56px}
}
@media (max-width:640px){
  .post-head{padding-block:28px 20px;gap:14px}
  .post-meta{gap:6px 14px}
  .post-meta span+span::before{margin-right:14px}
  .post-sources li{padding-left:46px}
  .post .related{padding-block:40px 64px}
}
/* Latest News — original articles row (kept separate from third-party news) */
.original-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.original-card .photo{aspect-ratio:auto;min-height:260px;height:100%}
.original-card .card-body{padding:28px;gap:12px;justify-content:center}
.original-card h3{font-size:clamp(1.35rem,2.4vw,1.75rem)}
@media (max-width:760px){.original-card{grid-template-columns:1fr}.original-card .photo{min-height:0;aspect-ratio:16/9}.original-card .card-body{padding:20px}}

/* ==========================================================================
   WordPress integration
   ========================================================================== */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100000;background:#fff;color:var(--navy);padding:12px 18px;border-radius:8px;font-weight:600;box-shadow:var(--shadow)}
[hidden]{display:none!important}
.brand-logo{width:auto;height:42px;display:block}
.nav-item.open .dd{opacity:1;visibility:visible;transform:translate(-50%,0)}
.search-row .btn{flex:none}
.ftr-disc-text p{font-size:13px}
.topbar-links a[aria-current]{color:var(--amber)}
.ftr a[aria-current]{color:#fff}
@media (max-width:560px){.search-row .btn{display:none}}

/* ---------- Templates (stage 2) ---------- */
.layout-full{padding-block:56px 72px}
.prose-wide{max-width:none}
.after-content{display:flex;flex-direction:column;gap:32px;padding-bottom:24px}
.phero .search-form{max-width:640px}
.hero-note .i{margin-top:3px}
.article-head{max-width:900px;padding-block:40px 32px;display:flex;flex-direction:column;gap:20px}
.article-head h1{font-size:clamp(2rem,4vw,3.2rem)}
.article-wrap{max-width:1100px}
.byline{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center;padding-block:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.88rem;color:var(--ink-3)}
.news-featured{display:flex;flex-direction:column;gap:20px}
.original-card{flex-direction:row;flex-wrap:wrap}
.original-card .photo{flex:1.4 1 420px;aspect-ratio:auto;min-height:300px}
.original-card .card-body{flex:1 1 320px;padding:32px;justify-content:center}
.original-card h3{font-size:1.7rem}
.news-card h3{color:var(--navy)}
.cmr-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
/* Pagination */
.pagination{margin-top:36px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:600;text-decoration:none}
.page-numbers:hover{border-color:var(--navy)}
.page-numbers.current{background:var(--navy);border-color:var(--navy);color:#fff}
.page-numbers.dots{border:0;background:transparent}
/* Accordion built on <details> (FAQ, corrections log) */
details.acc-item>summary{list-style:none}
details.acc-item>summary::-webkit-details-marker{display:none}
details.acc-item[open] .acc-ic{transform:rotate(180deg);background:var(--navy);color:#fff;border-color:var(--navy)}
.cmr-log{border-top:1px solid var(--line)}

/* ---------- Block editor content inside articles ---------- */
.entry .wp-block-image img,.entry figure.wp-block-image img{border-radius:var(--r-lg);height:auto;display:block}
.entry .wp-block-image figcaption,.entry .wp-element-caption{font-size:.8rem;color:var(--ink-3);margin-top:8px;line-height:1.5;text-align:left}
.entry .wp-block-table{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;margin:0}
.entry .wp-block-table table{width:100%;border-collapse:collapse;font-size:.92rem}
.entry .wp-block-table th{text-align:left;font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);font-weight:500;background:var(--bg);padding:12px 16px;border:0;border-bottom:1px solid var(--line)}
.entry .wp-block-table td{padding:14px 16px;border:0;border-bottom:1px solid var(--line-2);vertical-align:top;color:var(--ink-2)}
.entry .wp-block-table tr:last-child td{border-bottom:0}
.entry .wp-block-table thead{border:0}
.entry .wp-block-quote{margin:0;font-family:var(--serif);font-size:1.45rem;line-height:1.4;color:var(--navy);border-top:2px solid var(--navy);border-bottom:1px solid var(--line);padding:20px 0}
.entry .wp-block-quote cite{display:block;font:500 .8rem var(--mono);color:var(--ink-3);margin-top:10px;font-style:normal}
.entry .wp-block-separator{border:0;border-top:1px solid var(--line);margin:8px 0}
.entry .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.entry .wp-block-button__link{display:inline-flex;align-items:center;min-height:46px;padding:0 20px;border-radius:999px;background:var(--navy);color:#fff;font-weight:600;font-size:.95rem;text-decoration:none}
.entry .wp-block-button__link:hover{background:var(--navy-700);color:#fff}
.entry .wp-block-button.is-style-outline .wp-block-button__link{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.entry .wp-block-group{margin:0}
.entry h3{margin-top:8px}
.legal-doc ul,.legal-doc ol{margin:0;padding-left:1.3em;display:flex;flex-direction:column;gap:8px;line-height:1.7}
.legal-doc strong{color:var(--navy)}
.rail>.wp-block-group,.rail>div:not(.box):not(.ad){display:flex;flex-direction:column;gap:12px}

/* ---------- Patterns (stage 3) ---------- */
.before-content{display:flex;flex-direction:column;gap:32px;padding-top:48px}
.before-content>.wp-block-group{margin:0}
.notice{--ic:var(--amber-ink)}
.notice-teal{--ic:var(--teal-ink)}
.notice-navy{--ic:var(--amber)}
.wp-block-group.notice{flex-direction:row}
.wp-block-group.notice::before{content:"";flex:none;width:18px;height:18px;margin-top:4px;background:var(--ic);-webkit-mask: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'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat;mask: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'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat}
.wp-block-group.notice>*{margin:0}
.wp-block-group.notice>.wp-block-group__inner-container,.wp-block-group.notice>p{flex:1}
.box-dark{background:var(--navy);border-color:var(--navy);color:#DDE6EE}
.box-dark h2,.box-dark h3,.box-dark strong{color:#fff}
.tag-amber{background:var(--amber);color:var(--navy)}
p.tag{width:fit-content;margin:0}
.rail-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.rail-links a{font-weight:600;text-decoration:none}
.sources-foot{margin:0}
/* FAQ: core Details block styled as the design's accordion */
.wp-block-details.acc-item{border-bottom:1px solid var(--line);padding:0}
.wp-block-details.acc-item>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 4px;cursor:pointer;font:500 1.15rem/1.35 var(--serif);color:var(--navy)}
.wp-block-details.acc-item>summary::-webkit-details-marker{display:none}
.wp-block-details.acc-item>summary::after{content:"";flex:none;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23112941' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s ease}
.wp-block-details.acc-item[open]>summary::after{transform:rotate(180deg);background-color:var(--amber-50)}
.wp-block-details.acc-item>summary:hover{color:var(--teal-ink)}
.wp-block-details.acc-item>:not(summary){padding:0 60px 20px 4px;color:var(--ink-2);line-height:1.7;margin:0}
.acc.wp-block-group{display:flex;flex-direction:column;border-top:1px solid var(--line)}
/* Tabs / filters / checklists */
.cmr-tabs{display:flex;flex-direction:column;gap:18px}
[data-k].is-hidden{display:none!important}
.cmr-check{gap:6px}
.cmr-check .card-meta{justify-content:space-between;margin-bottom:6px}
.cmr-check .check{padding:10px 0;border-top:1px solid var(--line-2);cursor:pointer}
.cmr-filter-empty{color:var(--ink-3);font-size:.9rem}
/* Home sections keep their own .wrap */
.home-content>.wp-block-html,.home-content>section{margin:0}

/* ---------- Design-match fixes ---------- */
.hero-dark-in{padding-block:40px 80px;display:flex;flex-direction:column;gap:22px;max-width:980px;margin-left:auto;margin-right:auto}
.hero .crumbs,.hero .crumbs a{color:#C9D6E2}
.hero .crumbs a:hover{color:#fff}
.hero .crumbs [aria-current]{color:#fff}
.hero .lede{color:#D3DEE8}
.hero .meta-row{color:#C9D6E2}
.home .hero-photo .img-note{z-index:3}
/* Cookie banner: hidden until JS decides; fixed, so it never shifts the layout. */
#cmr-consent[hidden]{display:none!important}
.cookie .btn-ghost{border-color:rgba(255,255,255,.75)}
/* FAQ / news search boxes from the design */
.faq-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:8px}
.news-search{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.is-hidden{display:none!important}
/* Curated "Continue reading" / "Related guides" sections from the design */
.after-content .related-design{padding-block:40px 64px}
.after-content .related-design h2{margin-bottom:24px}
.post .after-content .related-design{padding-block:24px 48px}

/* ---------- Ads (stage 4) ---------- */
.cmr-ad{min-height:var(--ad-min-d,90px);width:100%}
.cmr-ad--live{border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;overflow:hidden}
.cmr-ad--live .cmr-ad-code,.cmr-ad--live>a,.cmr-ad--live>img{width:100%;display:flex;justify-content:center}
.cmr-ad--live ins{display:block;width:100%}
.cmr-ad-label{font-family:var(--mono);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:#6B7A88;align-self:center}
.cmr-ad-banner{max-width:100%;height:auto;display:block;margin:0 auto}
.cmr-ad--placeholder{outline:2px dashed #9AA9B7;outline-offset:-2px}
.cmr-ad--wait{visibility:hidden}
.cmr-ad-mid{margin:0}
.status-ad-row .cmr-ad.ad-vert{flex:0 0 300px;width:300px}
.home-side .cmr-ad.ad-sky{margin-bottom:20px}
@media (max-width:767px){
  .cmr-ad{min-height:var(--ad-min-m,250px)}
  .cmr-ad--desktop{display:none!important}
}
@media (min-width:768px){.cmr-ad--mobile{display:none!important}}
@media (max-width:980px){.status-ad-row .cmr-ad.ad-vert{flex:1 1 100%;width:100%;position:static}.home-side .cmr-ad.ad-sky{display:flex}}

/* Notices: one icon, beside the text — also in the sidebar (fixes the stacked double icon). */
.rail>div.wp-block-group.notice:not(.box):not(.ad){flex-direction:row;align-items:flex-start;gap:14px} /* beats ".rail>div:not(.box):not(.ad)" */
.wp-block-group.notice:has(>svg.i)::before{display:none}   /* the design's own inline icon wins */
.wp-block-group.notice>svg.i{flex:none;margin-top:3px;color:var(--ic)}
@supports not selector(:has(*)){.wp-block-group.notice>svg.i{display:none}} /* old browsers: keep the CSS icon only */

/* ==========================================================================
   Responsive fixes (all screen sizes)
   ========================================================================== */
/* Header: the logo may shrink, the icons never leave the screen. */
.navbar-in{gap:16px}
.navbar .brand{flex:1 1 auto;min-width:0}
.navbar .brand-text{min-width:0}
.navbar .brand-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-actions{flex:none}
.nav-top{white-space:nowrap}
@media (max-width:1120px){.nav{flex:0 0 0;overflow:hidden}}
@media (max-width:420px){
  .wrap{padding-inline:16px}
  .navbar-in{gap:10px;min-height:68px}
  .brand-mark,.brand-logo{width:36px;height:36px}
  .brand-name{font-size:1.05rem}
  .nav-actions{gap:6px}
}
@media (max-width:340px){.brand-name{font-size:.95rem}}

/* Mobile menu: full-screen panel above everything, scrolls by itself; page behind is locked. */
.mobile-panel{position:fixed;inset:0;z-index:90;overflow-y:auto;overscroll-behavior:contain;padding:0 0 32px;border-bottom:0}
.mobile-panel-bar{position:sticky;top:0;z-index:1;background:#fff;display:flex;align-items:center;justify-content:space-between;min-height:68px;border-bottom:1px solid var(--line)}
.mobile-panel-bar .m-title{margin:0}
.admin-bar .mobile-panel{top:46px}
html.cmr-menu-open,html.cmr-menu-open body{overflow:hidden}
.m-link{min-height:48px}
@media (min-width:1121px){.mobile-panel{display:none!important}}

/* Cookie banner on small screens: compact, never taller than half the screen, below the menu. */
.cookie{z-index:80}
@media (max-width:767px){
  .cookie{left:8px;right:8px;bottom:8px;padding:14px 16px;gap:10px;border-radius:14px;max-height:50vh;overflow-y:auto}
  .cookie p{font-size:.82rem;line-height:1.5}
  .cookie .btn-row{width:100%;gap:8px}
  .cookie .btn{flex:1 1 auto;justify-content:center;min-height:44px;padding:0 12px}
}

/* Long status tags may wrap instead of widening the page (Privacy, Metro vs Metrolite on phones). */
.tag{max-width:100%}
@media (max-width:767px){.tag{white-space:normal;text-align:left}}
.phero-in,.hero-copy,.card-body,.meta-row>*,.card-meta>*{min-width:0}
/* Long links and words never push the layout wider. */
.prose,.legal-doc,.src,.sources,.box,.card-body,.glance dd{overflow-wrap:anywhere}
.prose pre,.prose code{white-space:pre-wrap;word-break:break-word}

/* Tap targets: at least 44px tall on phones and small tablets (desktop look unchanged). */
@media (max-width:767px){
  .btn-sm,.chip,.tab,.tl-btn,.icon-btn{min-height:44px}
  .link-arrow,.link-arrow.small{display:inline-flex;align-items:center;min-height:44px}
  .brand{min-height:44px}
  .topbar-links a,.crumbs a,.toc a,.rail-links a,.more-links a,.ftr a,.ftr-bottom a,.box>a,.src a,.mini,.dd-link,.sr,.m-link{display:inline-flex;align-items:center;min-height:44px}
  .toc a{padding-block:8px}
  .crumbs ol{row-gap:0}
  .topbar-links{gap:0 18px}
  .ftr ul{gap:0}
}
@media (max-width:767px){
  .ftr a.btn{min-height:44px}
  main li>a:only-child,.sources-foot a,.post-sources li a,.src-list a{display:inline-flex;align-items:center;min-height:44px}
}

/* Logo mark "Sector Grid": the mark has its own navy tile, so on the dark footer it gets a faint outline. */
.brand-mark{border-radius:22%}
.brand-mark--footer{box-shadow:0 0 0 1px rgba(255,255,255,.22)}
.mobile-panel-bar{gap:12px}
.mobile-panel-bar .brand{flex:1 1 auto;min-width:0}
/* WordPress puts .home on <body>, so the design's ".home h2" also hit the footer headings on the home page. */
.home .ftr h2{font-size:.72rem;line-height:1.4}
