/* Jajeer Times | core stylesheet */
:root {
  --brand: #bd2e32;
  --brand-dark: #9a2328;
  --brand-tint: #f8ecec;
  --ink: #121212;
  --ink-2: #333;
  --muted: #646464;
  --rule: #dcdcdc;
  --rule-strong: #121212;
  --paper: #ffffff;
  --paper-2: #f5f3ef;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --wrap: 1220px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; font-family: var(--sans); font-size: 14px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Utility bar ---------- */
.utility {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.utility nav { display: flex; gap: 18px; }
.utility a:hover { color: var(--ink); }
.utility .edition { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--ink-2); }

/* ---------- Masthead ---------- */
.masthead { text-align: center; padding: 22px 0 14px; }
.masthead .wrap { position: relative; }
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark { width: 58px; height: 58px; background: var(--brand); display: grid; place-items: center; flex: none; }
.brand-mark img { width: 34px; height: auto; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--ink);
  white-space: nowrap;
}
.tagline {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}
.masthead-tools { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.masthead-left { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.icon-btn {
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--ink);
}
.icon-btn:hover { color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

/* ---------- Section nav ---------- */
.section-nav { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); background: var(--paper); }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.section-nav a {
  display: block; padding: 11px 14px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: var(--ink-2);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.section-nav a:hover { color: var(--ink); }
.section-nav a[aria-current="page"] { border-bottom-color: var(--brand); color: var(--ink); }

/* Sticky compact bar */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  transform: translateY(-100%); transition: transform .2s ease;
}
.sticky-bar.is-visible { transform: none; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.sticky-bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.sticky-bar .brand-mark { width: 32px; height: 32px; }
.sticky-bar .brand-mark img { width: 19px; }
.sticky-bar .brand { gap: 10px; }
.sticky-bar .brand-name { font-size: 22px; }
.sticky-bar .sticky-sections { display: flex; gap: 2px; font-family: var(--sans); font-size: 13px; font-weight: 600; }
.sticky-bar .sticky-sections a { padding: 6px 10px; color: var(--ink-2); }
.sticky-bar .sticky-sections a:hover { color: var(--brand); }

/* ---------- Latest strip ---------- */
.latest-strip { border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 13px; }
.latest-strip .wrap { display: flex; align-items: center; gap: 14px; height: 42px; overflow: hidden; }
.latest-label { flex: none; background: var(--brand); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.latest-items { display: flex; gap: 28px; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); }
.latest-items a { color: var(--ink-2); }
.latest-items a:hover { color: var(--brand); }
.latest-items time { color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Ads ---------- */
.ad-slot { margin: 0 auto; text-align: center; }
.ad-slot[hidden] { display: none !important; }
.ad-label {
  font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #8a8a8a; margin-bottom: 6px; display: block;
}
.ad-band { padding: 18px 0; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.ad-band .ad-slot { max-width: 970px; }
.ad-frame { display: block; margin: 0 auto; overflow: hidden; position: relative; text-align: left; }
.ad-frame img { width: 100%; height: 100%; object-fit: cover; }
.ad-sidebar { margin-bottom: 28px; }
.ad-inarticle { margin: 32px 0; padding: 14px 0 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- Layout ---------- */
main { padding: 26px 0 60px; }
.grid-home { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.grid-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.rail { min-width: 0; }
.rail-sticky { position: sticky; top: 72px; }

.block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 2px solid var(--rule-strong); padding-top: 8px; margin: 0 0 16px;
}
.block-head h2, .block-head h3 {
  margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.block-head a { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.block-head a:hover { color: var(--brand); }

/* ---------- Story cards ---------- */
.kicker {
  display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px;
}
.story h2, .story h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 8px; line-height: 1.16; letter-spacing: -.005em; }
.story a:hover h2, .story a:hover h3 { color: var(--brand-dark); }
.story .dek { font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 0 10px; }
.meta { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.meta .by { color: var(--ink-2); font-weight: 600; }
.meta .sep { margin: 0 6px; color: #b5b5b5; }
.thumb { position: relative; background: var(--paper-2); overflow: hidden; margin-bottom: 12px; aspect-ratio: 3 / 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story a:hover .thumb img { transform: scale(1.02); }
.thumb.no-img { display: grid; place-items: center; background: var(--brand); }
.thumb.no-img img { width: 22%; height: auto; object-fit: contain; transform: none !important; }

.lead-package { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.story-lead h2 { font-size: 40px; line-height: 1.08; }
.story-lead .dek { font-size: 18px; }
.lead-side { display: flex; flex-direction: column; gap: 22px; }
.lead-side .story + .story { border-top: 1px solid var(--rule); padding-top: 20px; }
.lead-side h3 { font-size: 22px; }

.story-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.story-row h3 { font-size: 20px; }

.list-stories .story { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.list-stories .story .thumb { margin: 0; }
.list-stories .story h3 { font-size: 24px; }

.most-read ol { list-style: none; margin: 0; padding: 0; counter-reset: mr; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.most-read li::before { content: counter(mr); font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--brand); line-height: 1; }
.most-read a { font-weight: 600; font-size: 16px; line-height: 1.3; }
.most-read a:hover { color: var(--brand-dark); }
.most-read { margin-bottom: 30px; }

.empty-state { padding: 60px 0; text-align: center; color: var(--muted); font-family: var(--sans); font-size: 15px; }

/* Newsletter box (rail) */
.signup-box { background: var(--paper-2); padding: 20px; margin-bottom: 28px; border-top: 3px solid var(--brand); }
.signup-box h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
.signup-box p { font-size: 14px; margin: 0 0 12px; color: var(--ink-2); line-height: 1.45; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; padding: 10px 12px;
  border: 1px solid #bdbdbd; border-radius: 0; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.btn {
  display: inline-block; cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 0;
}
.btn:hover { background: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-brand { background: var(--brand); border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.inline-form { display: flex; gap: 0; }
.inline-form input { flex: 1; min-width: 0; }
.form-note { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 8px; }
.form-msg { font-family: var(--sans); font-size: 13px; margin-top: 10px; color: var(--ink-2); }

/* ---------- Article ---------- */
.article-head { max-width: 760px; }
.article-head h1 { font-family: var(--serif); font-size: 46px; line-height: 1.08; font-weight: 700; margin: 4px 0 14px; letter-spacing: -.01em; }
.article-head .dek { font-size: 21px; line-height: 1.45; color: var(--ink-2); margin: 0 0 20px; }
.byline-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 26px; }
.byline-row .meta { font-size: 13px; }
.share { display: flex; gap: 4px; }
.share a, .share button {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--rule);
  background: #fff; cursor: pointer; color: var(--ink-2);
}
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.share svg { width: 15px; height: 15px; }
.hero-figure { margin: 0 0 30px; }
.hero-figure .thumb { aspect-ratio: 16 / 9; margin-bottom: 8px; }
figcaption { font-family: var(--sans); font-size: 12.5px; color: var(--muted); line-height: 1.45; }
figcaption .credit { text-transform: uppercase; letter-spacing: .04em; font-size: 11px; margin-left: 4px; }
.article-body { max-width: 680px; font-size: 19px; line-height: 1.7; }
.article-body p { margin: 0 0 1.15em; }
.article-body:not(.has-dateline) > p:first-of-type::first-letter {
  float: left; font-size: 4.1em; line-height: .82; font-weight: 700; padding: 6px 10px 0 0; color: var(--brand);
}
.article-body h2 { font-size: 26px; line-height: 1.2; margin: 1.6em 0 .6em; }
.article-body blockquote { margin: 1.4em 0; padding: 0 0 0 22px; border-left: 3px solid var(--brand); font-size: 23px; line-height: 1.4; font-style: italic; }
.article-body a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.dateline { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.satire-note {
  max-width: 680px; margin: 34px 0 0; padding: 16px 18px; background: var(--paper-2);
  font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--ink-2); border-left: 3px solid var(--brand);
}
.satire-note a { text-decoration: underline; }
.tags { max-width: 680px; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags a { font-family: var(--sans); font-size: 12px; padding: 5px 10px; border: 1px solid var(--rule); color: var(--ink-2); }
.tags a:hover { border-color: var(--ink); color: var(--ink); }
.related { margin-top: 48px; }

/* ---------- Section header ---------- */
.page-head { border-bottom: 1px solid var(--rule-strong); padding: 8px 0 16px; margin-bottom: 10px; }
.page-head h1 { font-family: var(--serif); font-size: 44px; line-height: 1.1; margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- Static / legal pages ---------- */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.doc-nav { font-family: var(--sans); font-size: 14px; position: sticky; top: 72px; align-self: start; }
.doc-nav h2 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.doc-nav ul { list-style: none; margin: 0 0 24px; padding: 0; border-left: 1px solid var(--rule); }
.doc-nav li a { display: block; padding: 6px 0 6px 14px; color: var(--ink-2); margin-left: -1px; border-left: 2px solid transparent; }
.doc-nav li a:hover { color: var(--ink); }
.doc-nav li a[aria-current="page"] { border-left-color: var(--brand); color: var(--ink); font-weight: 600; }
.doc-body { max-width: 740px; font-size: 17px; line-height: 1.7; }
.doc-body h1 { font-size: 42px; line-height: 1.1; margin: 0 0 8px; }
.doc-body .updated { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.doc-body h2 { font-size: 23px; line-height: 1.25; margin: 2em 0 .5em; }
.doc-body h3 { font-size: 18px; margin: 1.5em 0 .4em; font-family: var(--sans); }
.doc-body p, .doc-body li { color: var(--ink-2); }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li { margin-bottom: .45em; }
.doc-body a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.doc-body table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; margin: 1em 0 1.5em; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc-body th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.callout { background: var(--paper-2); padding: 18px 20px; border-left: 3px solid var(--brand); margin: 1.4em 0; font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }
.placeholder-block {
  border: 1px dashed #c4c4c4; padding: 26px 24px; margin: 1.4em 0; font-family: var(--sans);
  font-size: 14px; color: var(--muted); background: #fcfcfb;
}
.placeholder-block strong { color: var(--ink-2); display: block; margin-bottom: 4px; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 28px; }
.desk-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 1.2em 0 2em; }
.desk-list div { border-top: 2px solid var(--ink); padding-top: 10px; font-family: var(--sans); font-size: 14px; }
.desk-list strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.desk-list a { color: var(--brand-dark); }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #cfcfcf; font-family: var(--sans); font-size: 14px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 44px 0 34px; border-bottom: 1px solid #2c2c2c; }
.footer-brand .brand-name { color: #fff; font-size: 30px; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .brand-mark img { width: 24px; }
.footer-brand .brand { gap: 12px; }
.footer-brand p { margin: 14px 0 0; line-height: 1.6; color: #a9a9a9; font-size: 13.5px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-sections { padding: 18px 0; border-bottom: 1px solid #2c2c2c; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; }
.footer-bottom { padding: 20px 0 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #8d8d8d; line-height: 1.6; }
.footer-bottom p { margin: 0; max-width: 720px; }
.footer-bottom .link-btn { background: none; border: 0; padding: 0; color: #cfcfcf; cursor: pointer; font-size: 12px; text-decoration: underline; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 34px; height: 34px; border: 1px solid #3a3a3a; display: grid; place-items: center; color: #cfcfcf; }
.social a:hover { border-color: #fff; color: #fff; }
.social svg { width: 15px; height: 15px; }
.site-footer .inline-form input { background: #1d1d1d; border-color: #3a3a3a; color: #fff; }
.site-footer .inline-form input::placeholder { color: #8d8d8d; }
.site-footer .btn { background: var(--brand); border-color: var(--brand); }
.site-footer .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* ---------- Drawer (mobile nav) ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .2s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(330px, 86vw); background: #fff;
  transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto; padding: 14px 20px 30px;
  font-family: var(--sans);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-panel h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.drawer-panel ul { list-style: none; margin: 0; padding: 0; }
.drawer-panel li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 600; font-size: 15px; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 160; background: rgba(255,255,255,.98); display: none; }
.search-overlay.is-open { display: block; }
.search-overlay .wrap { max-width: 760px; padding-top: 90px; }
.search-overlay form { display: flex; border-bottom: 2px solid var(--ink); }
.search-overlay input { border: 0; font-family: var(--serif); font-size: 30px; padding: 10px 0; background: transparent; }
.search-overlay input:focus { border: 0; }
.search-overlay .close { position: absolute; top: 20px; right: 20px; }
.search-hint { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 170; max-width: 980px; margin: 0 auto;
  background: #fff; border: 1px solid var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.14);
  font-family: var(--sans); font-size: 14px; display: none;
}
.cookie-bar.is-open { display: block; }
.cookie-bar .inner { display: flex; gap: 22px; align-items: center; padding: 18px 20px; }
.cookie-bar p { margin: 0; line-height: 1.5; color: var(--ink-2); flex: 1; }
.cookie-bar p strong { color: var(--ink); }
.cookie-bar a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { padding: 10px 14px; font-size: 12px; }
.modal { position: fixed; inset: 0; z-index: 180; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.45); }
.modal.is-open { display: flex; }
.modal-panel { background: #fff; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; font-family: var(--sans); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.modal-head h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.modal-body { padding: 8px 22px; font-size: 14px; color: var(--ink-2); }
.pref { display: flex; gap: 16px; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pref:last-child { border-bottom: 0; }
.pref h3 { margin: 0 0 4px; font-size: 14px; color: var(--ink); }
.pref p { margin: 0; font-size: 13px; line-height: 1.5; }
.toggle { position: relative; flex: none; width: 42px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; background: #c9c9c9; border-radius: 24px; cursor: pointer; transition: background .15s; }
.toggle span::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .15s; }
.toggle input:checked + span { background: var(--brand); }
.toggle input:checked + span::after { transform: translateX(18px); }
.toggle input:disabled + span { opacity: .55; cursor: not-allowed; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--rule); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; padding: 10px 16px; z-index: 190; display: none; }
.toast.is-open { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-home, .grid-article { grid-template-columns: minmax(0, 1fr); }
  .rail-sticky { position: static; }
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
  .rail .ad-sidebar { grid-column: 1 / -1; }
  .story-lead h2 { font-size: 34px; }
}
@media (max-width: 860px) {
  .utility nav { display: none; }
  .section-nav { display: none; }
  .menu-btn { display: grid; }
  .masthead { padding: 14px 0 12px; border-bottom: 1px solid var(--rule-strong); }
  .brand-name { font-size: 30px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 22px; }
  .brand { gap: 10px; }
  .tagline { display: none; }
  .masthead-tools, .masthead-left { position: absolute; }
  .lead-package { grid-template-columns: minmax(0, 1fr); }
  .story-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .doc-nav { position: static; order: 2; border-top: 1px solid var(--rule); padding-top: 24px; }
  .sticky-bar .sticky-sections { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand-name { font-size: 22px; letter-spacing: .04em; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark img { width: 19px; }
  .story-lead h2 { font-size: 28px; }
  .article-head h1 { font-size: 32px; }
  .article-head .dek { font-size: 18px; }
  .article-body { font-size: 18px; }
  .page-head h1, .doc-body h1 { font-size: 32px; }
  .list-stories .story { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .list-stories .story h3 { font-size: 18px; }
  .list-stories .story .dek { display: none; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .contact-grid, .desk-list { grid-template-columns: minmax(0, 1fr); }
  .cookie-bar .inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .btn { flex: 1; }
  .latest-items a:not(:first-child) { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .search-overlay input { font-size: 22px; }
}
@media print {
  .utility, .section-nav, .sticky-bar, .ad-slot, .ad-band, .rail, .site-footer, .share, .cookie-bar, .latest-strip { display: none !important; }
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
