/* ============================================================
   BOMBAY TIMES GROUP — Design system
   Premium broadsheet: deep navy and a single crimson accent,
   refined Newsreader headlines, Figtree small caps, hairline
   rules, square photography and generous whitespace.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --ink: #111820;
  --ink-2: #3a4250;
  --ink-3: #6b7280;
  --rule: #e4e2dd;
  --rule-strong: #111820;
  --brand: #0a1f38;
  --mast-bg: #0a1f38;
  --red: #9e1b32;
  --red-bright: #e8364b;
  --red-btn: #c41e3a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --article-size: 1.22rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1118; --paper-2: #131b25; --ink: #eceef1; --ink-2: #b9c0ca; --ink-3: #8a93a0;
    --rule: #243040; --rule-strong: #d5dae1; --mast-bg: #070e18; --brand: #10284a; --red: #f0606f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1118; --paper-2: #131b25; --ink: #eceef1; --ink-2: #b9c0ca; --ink-3: #8a93a0;
  --rule: #243040; --rule-strong: #d5dae1; --mast-bg: #070e18; --brand: #10284a; --red: #f0606f; color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--sans); background: var(--paper); color: var(--ink);
  line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.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; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red-btn); color: #fff; padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow, .kicker, .col-label, .rail-title, .more, .ticker-label { font-family: var(--sans); text-transform: uppercase; }

/* ---------------- Masthead ---------------- */
.masthead { background: var(--mast-bg); color: #dfe6ef; border-bottom: 3px solid var(--red-btn); }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 24px 20px; }
.masthead .logo img { width: clamp(220px, 30vw, 360px); height: auto; }
.masthead .tagline { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #c3cedc; margin-top: 10px; padding-left: 2px; }
.masthead .tagline span { color: #7f93ad; letter-spacing: .18em; }
.mast-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 0; }
.dateline { display: flex; align-items: center; gap: 12px; font-size: .76rem; color: #a9b7c9; white-space: nowrap; letter-spacing: .02em; }
.dateline .dot { width: 1px; height: 12px; background: #34506f; }
.dateline #ist-clock { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.tools { display: flex; align-items: center; gap: 10px; }
.iconbtn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid #2a4566; background: transparent; color: #fff; border-radius: 50%; transition: border-color .2s, background .2s; }
.iconbtn:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-subscribe { background: var(--red-btn); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; border-radius: 2px; transition: background .2s; }
.btn-subscribe:hover { background: #a3172f; }

/* ---------------- Main nav ---------------- */
.mainnav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mainnav .wrap { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mainnav .wrap::-webkit-scrollbar { display: none; }
.mainnav a { flex: 0 0 auto; position: relative; padding: 15px 10px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.mainnav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: transparent; }
.mainnav a:hover { color: var(--ink); }
.mainnav a.active { color: var(--ink); }
.mainnav a.active::after { background: var(--red); }
.mainnav .nav-live { color: var(--red); }
.mainnav .nav-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 1px; animation: pulse 1.8s infinite; }
.mainnav .nav-brand { padding: 8px 10px 8px 0; display: none; }
.mainnav .nav-brand::after { display: none; }
.mainnav .nav-brand img { width: 28px; height: 28px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------------- Breaking ticker ---------------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--rule); font-size: .86rem; }
.ticker .wrap { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.ticker-label { flex: 0 0 auto; color: var(--red); font-weight: 800; font-size: .68rem; letter-spacing: .18em; padding-right: 16px; border-right: 1px solid var(--rule); }
.ticker-track-outer { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: inline-flex; gap: 44px; white-space: nowrap; animation: ticker 80s linear infinite; padding-left: 8px; }
.ticker-track a { font-family: var(--serif); font-weight: 500; font-size: .98rem; color: var(--ink); }
.ticker-track a::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--red); margin-right: 12px; vertical-align: 3px; }
.ticker-track a:hover { color: var(--red); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .mainnav .nav-live::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------------- Cards ---------------- */
.card { min-width: 0; }
.card .thumb { margin-bottom: 14px; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 9; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.card:hover .thumb img { transform: scale(1.025); }
.kicker { font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--red); margin-bottom: 8px; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.26rem; line-height: 1.22; margin-bottom: 8px; letter-spacing: -.008em; }
.card h3 a, .hero-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.card h3 a:hover, .hero-title a:hover { background-size: 100% 1px; }
.card .dek { font-family: var(--serif); font-size: 1.02rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .72rem; color: var(--ink-3); letter-spacing: .02em; }

/* ---------------- Lead package (home) ---------------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); grid-template-areas: "left main right"; gap: 0; padding: 32px 0 36px; border-bottom: 1px solid var(--rule-strong); }
.hero-grid > * { padding: 0 26px; }
.hero-left { grid-area: left; display: flex; flex-direction: column; gap: 26px; padding-left: 0; border-right: 1px solid var(--rule); }
.hero-main { grid-area: main; }
.hero-side { grid-area: right; display: flex; flex-direction: column; padding-right: 0; border-left: 1px solid var(--rule); }
.hero-main .thumb { margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.08; margin: 4px 0 14px; letter-spacing: -.022em; }
.hero-main .dek { font-family: var(--serif); font-size: 1.22rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 12px; }
.hero-left .card h3 { font-size: 1.12rem; }
.col-label { font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 4px; }
.col-label::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--red); margin-right: 9px; vertical-align: 1px; }
.hero-side .card { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.hero-side .card:last-child { border-bottom: 0; }
.with-thumb { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: start; }
.with-thumb .thumb { margin: 0; aspect-ratio: 1 / 1; }
.with-thumb h3 { font-size: 1.04rem; }
.text-only h3 { font-size: 1.14rem; }

/* ---------------- Sections & grids ---------------- */
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 8px 0 48px; }
.home-section { padding-top: 40px; }
.section-head { position: relative; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule-strong); padding-top: 14px; margin-bottom: 22px; gap: 12px; }
.section-head::before { content: ""; position: absolute; top: -3px; left: 0; width: 56px; height: 5px; background: var(--red); }
.section-head h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.1; }
.section-head h2 a:hover { color: var(--red); }
.more { font-size: .68rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); white-space: nowrap; }
.more:hover { color: var(--red); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

/* ---------------- Rail ---------------- */
.rail { display: flex; flex-direction: column; gap: 34px; padding-top: 40px; }
.rail-box { position: relative; border-top: 1px solid var(--rule-strong); padding-top: 14px; }
.rail-box::before { content: ""; position: absolute; top: -3px; left: 0; width: 36px; height: 5px; background: var(--red); }
.rail-title { font-size: .7rem; font-weight: 700; letter-spacing: .2em; margin-bottom: 14px; }
.latest-list { list-style: none; }
.latest-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 76px 1fr; gap: 8px; align-items: baseline; }
.latest-list li:first-child { padding-top: 0; }
.latest-list time { white-space: nowrap; font-size: .66rem; font-weight: 700; color: var(--red); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.latest-list a { font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.latest-list a:hover { color: var(--red); }
.rail-box .more { display: inline-block; margin-top: 12px; }
.mostread { list-style: none; counter-reset: mr; }
.mostread li { counter-increment: mr; display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.mostread li:first-child { padding-top: 0; }
.mostread li:last-child { border-bottom: 0; }
.mostread li::before { content: counter(mr); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: .9; color: var(--ink-3); }
.mostread a { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.3; }
.mostread a:hover { color: var(--red); }
.newsletter { background: var(--brand); color: #dfe6ef; border-top: 0; padding: 24px 22px 24px; }
.newsletter::before { top: 0; width: 100%; height: 3px; background: var(--red-btn); }
.newsletter .rail-title { color: #fff; font-family: var(--serif); text-transform: none; font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.newsletter p { font-family: var(--serif); font-size: 1rem; color: #b8c5d6; margin-bottom: 16px; }
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-form input { min-width: 0; padding: 11px 12px; border: 1px solid #2a4566; background: #fff; color: #111820; font: inherit; font-size: .9rem; border-radius: 2px; }
.nl-form button, .btn, .search-page-form button { background: var(--red-btn); color: #fff; border: 0; padding: 12px 16px; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; display: inline-block; }
.nl-form button:hover, .btn:hover { background: #a3172f; }
.nl-msg { font-size: .85rem; margin-top: 8px; color: #b8c5d6; }
.follow-links { display: flex; flex-wrap: wrap; gap: 8px; }
.follow-links a { font-size: .74rem; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--rule); padding: 7px 12px; }
.follow-links a:hover { border-color: var(--ink); }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { padding: 20px 0 0; font-size: .7rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--rule); }
.breadcrumb li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; font-weight: 500; }
.breadcrumb a:hover { color: var(--red); }

/* ---------------- Article ---------------- */
.article-layout { padding-top: 10px; }
.article { min-width: 0; max-width: 760px; }
.article-head { padding: 18px 0 22px; }
.article-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -.025em; margin: 8px 0 18px; }
.standfirst { font-family: var(--serif); font-size: 1.36rem; font-weight: 400; line-height: 1.45; color: var(--ink-2); margin-bottom: 22px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .78rem; color: var(--ink-3); padding: 14px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.byline a { color: var(--ink); font-weight: 700; }
.byline a:hover { color: var(--red); }
.bl-sep { opacity: .35; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share a, .share button { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--rule); background: transparent; color: var(--ink); border-radius: 2px; transition: border-color .2s; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.article-figure { margin: 6px 0 30px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.article-figure figcaption { font-size: .8rem; color: var(--ink-3); padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.article-figure .credit { display: inline-block; opacity: .85; font-size: .74rem; letter-spacing: .02em; }
.article-figure .credit a { text-decoration: underline; text-decoration-color: var(--rule); }
.article-body { font-family: var(--serif); font-size: var(--article-size); line-height: 1.72; color: var(--ink); }
.article-body > * + * { margin-top: 1.1em; }
.article-body > p:first-child::first-letter { float: left; font-size: 3.6em; line-height: .86; font-weight: 600; color: var(--red); padding: 6px 10px 0 0; }
.article-body h2 { font-size: 1.6rem; line-height: 1.2; margin-top: 1.7em; font-weight: 600; letter-spacing: -.012em; }
.article-body h3 { font-size: 1.28rem; margin-top: 1.4em; font-weight: 600; }
.article-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--red); }
.article-body a:hover { color: var(--red); }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: .4em; }
.article-body li::marker { color: var(--red); }
.article-body blockquote { border-left: 2px solid var(--red); padding: 2px 0 2px 22px; font-size: 1.3rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; }
.article-body th, .article-body td { border-bottom: 1px solid var(--rule); padding: 9px 6px; text-align: left; }
.article-body th { font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--rule-strong); }
.article-body strong { font-weight: 600; }
.also-read { font-family: var(--sans); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 14px 0; display: grid; gap: 6px; }
.also-read span { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.article-body .also-read a { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; text-decoration: none; }
.article-body .also-read a:hover { color: var(--red); }
.sources { margin-top: 36px; padding: 18px 20px; background: var(--paper-2); font-size: .86rem; }
.sources h2 { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink-2); }
.sources ul { padding-left: 1.1em; }
.sources li + li { margin-top: 4px; }
.sources a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
.sources a:hover { color: var(--red); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: .78rem; }
.tags span { font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; margin-right: 4px; }
.tags a { border: 1px solid var(--rule); padding: 6px 11px; font-weight: 600; }
.tags a:hover { border-color: var(--ink); }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule-strong); }
.ab-mark { width: 56px; height: 56px; overflow: hidden; }
.ab-mark img { width: 56px; height: 56px; object-fit: cover; }
.ab-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.ab-name:hover { color: var(--red); }
.author-box p { font-family: var(--serif); font-size: .98rem; color: var(--ink-2); margin-top: 2px; }
.corrections-note { margin-top: 22px; font-size: .8rem; color: var(--ink-3); }
.corrections-note a { text-decoration: underline; text-decoration-color: var(--rule); }
.related { padding-bottom: 48px; }

/* ---------------- Listings ---------------- */
.listing-head { position: relative; padding: 34px 0 26px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 4px; }
.listing-head::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 56px; height: 5px; background: var(--red); }
.listing-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; }
.listing-head p { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); margin-top: 10px; max-width: 70ch; }
.listing-lead { padding: 30px 0; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.listing-lead .hero-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 30px; align-items: start; padding: 0; }
.listing-lead .hero-main .thumb { grid-row: span 4; margin: 0; }
.empty { padding: 30px 0; font-family: var(--serif); font-size: 1.1rem; color: var(--ink-2); }
.empty a { color: var(--red); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 9px 12px; border: 1px solid var(--rule); font-size: .8rem; font-weight: 600; }
.pagination span[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* ---------------- Static pages ---------------- */
.static-page { max-width: 740px; padding: 22px 0 56px; }
.static-page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3rem); margin-bottom: 10px; line-height: 1.05; letter-spacing: -.025em; }
.page-updated { font-size: .78rem; color: var(--ink-3); margin-bottom: 22px; letter-spacing: .02em; }
.static-page .article-body { font-size: 1.12rem; }
.static-page .article-body > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-weight: inherit; line-height: inherit; }

/* ---------------- Search ---------------- */
.search-overlay { position: fixed; inset: 0; background: rgba(6, 21, 42, .88); z-index: 90; display: grid; place-items: start center; padding-top: 14vh; }
.search-overlay[hidden] { display: none; }
.search-box, .search-page-form { display: flex; gap: 6px; width: min(700px, calc(100vw - 32px)); background: var(--paper); padding: 10px; }
.search-box input, .search-page-form input { flex: 1; min-width: 0; font-family: var(--serif); font-size: 1.15rem; padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 2px; }
.search-box button { background: var(--red-btn); color: #fff; border: 0; padding: 0 18px; font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.search-box .search-close { background: transparent; color: var(--ink); font-size: 1.1rem; padding: 0 10px; }
.search-page-form { padding: 22px 0; width: 100%; max-width: 760px; }
.search-results { padding-bottom: 56px; max-width: 760px; }
.search-results .sr-item { display: grid; grid-template-columns: 1fr 150px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.search-results .sr-item img { aspect-ratio: 16 / 9; object-fit: cover; width: 150px; }
.search-results h2 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; margin: 2px 0 6px; }
.search-results h2 a:hover { color: var(--red); }
.search-results p { font-family: var(--serif); font-size: 1rem; color: var(--ink-2); }

/* ---------------- 404 ---------------- */
.not-found { padding: 60px 0; text-align: center; }
.not-found h1 { font-family: var(--serif); font-weight: 600; font-size: 3rem; letter-spacing: -.02em; margin-bottom: 10px; }
.not-found p { margin-bottom: 20px; color: var(--ink-2); font-family: var(--serif); font-size: 1.1rem; }
.not-found .grid-3 { text-align: left; margin-top: 36px; }
.btn-ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--rule) !important; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--mast-bg); color: #b8c5d6; margin-top: 30px; border-top: 3px solid var(--red-btn); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 52px 24px 36px; }
.foot-brand .logo img { width: 300px; height: auto; }
.fb-tag { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: #c3cedc; font-weight: 600; margin: 14px 0 16px; }
.foot-brand .about { font-family: var(--serif); font-size: 1.02rem; line-height: 1.6; color: #9fb0c5; max-width: 46ch; }
.site-footer h2 { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #1f3756; }
.site-footer ul { list-style: none; display: grid; gap: 9px; font-size: .9rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #1f3756; padding: 20px 24px 28px; font-size: .76rem; color: #7f93ad; letter-spacing: .02em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------------- Toast ---------------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 11px 20px; font-size: .85rem; z-index: 99; border-radius: 2px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .with-rail { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "main main" "left right"; }
  .hero-grid > * { padding: 0; border: 0; }
  .hero-main { padding-bottom: 26px !important; margin-bottom: 26px; border-bottom: 1px solid var(--rule) !important; }
  .hero-left { padding-right: 24px !important; border-right: 1px solid var(--rule) !important; }
  .hero-side { padding-left: 24px !important; }
}
@media (max-width: 900px) {
  .with-rail { grid-template-columns: 1fr; }
  .rail { padding-top: 16px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .dateline { display: none; }
  .listing-lead .hero-main { grid-template-columns: 1fr; }
  .listing-lead .hero-main .thumb { grid-row: auto; margin-bottom: 16px; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .masthead-inner { padding: 16px 16px 14px; }
  .hide-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "main" "left" "right"; padding-top: 22px; }
  .hero-left { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 0 22px !important; border-right: 0 !important; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
  .hero-side { padding-left: 0 !important; }
  .hero-left .card .dek, .hero-left .card .meta span:not(time) { display: none; }
  .hero-left .card h3 { font-size: 1.02rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn-subscribe { display: none; }
  .mainnav .nav-brand { display: block; }
  .masthead .logo img { width: min(66vw, 280px); }
  .masthead .tagline { font-size: .58rem; letter-spacing: .18em; }
  .masthead .tagline span { display: none; }
  .section-head h2 { font-size: 1.5rem; }
  .article-head h1 { font-size: 2rem; }
  .standfirst { font-size: 1.15rem; }
  .article-body { font-size: 1.12rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .search-results .sr-item { grid-template-columns: 1fr 96px; }
  .search-results .sr-item img { width: 96px; }
}

@media print {
  .masthead .tools, .mainnav, .ticker, .rail, .share, .site-footer, .related { display: none !important; }
  .masthead { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .with-rail { display: block; }
  body { color: #000; background: #fff; }
}
