/* Northline Times design system (v6): clean white page, bold display headings, blue pill buttons,
   rounded cards with soft shadows and gradient banners. All original code.
   Earlier layout notes:
   Layout follows the classic multi-column news-magazine pattern: black top bar, logo + promo header,
   black main menu, headline ticker, image "big grid", colour-tabbed blocks, 2/3 + 1/3 sidebar layout,
   dark footer. All original code. */

:root {
  --paper: #ffffff;
  --paper-2: #f5f6fb;
  --ink: #0d1030;
  --ink-2: #363a58;
  --muted: #5f6482;
  --rule: #eceef6;
  --rule-2: #dcdfeb;
  --accent: #2f45f4;
  --tint: #eef0ff;
  --bar: #0d1030;
  --bar-2: #0d1030;
  --highlight: #fff4cc;
  --good: #1f7a4d;
  --bad: #b3261e;
  --blue: #2f45f4;
  --grad: linear-gradient(100deg, #6a2cf0 0%, #3d3ff3 45%, #2f6bf4 100%);
  --shadow: 0 10px 30px rgba(22, 30, 90, .08);
  --shadow-lg: 0 18px 50px rgba(22, 30, 90, .16);
  --r: 16px;

  --c-world: #1b6ca8;
  --c-technology: #5b3fbf;
  --c-business: #b0501a;
  --c-science: #137a63;
  --c-entertainment: #b0236e;
  --c-lifestyle: #8a5a00;
  --c-opinion: #333a55;
  --c-blogs: #2f6f3e;

  --head: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  --text: "Red Hat Text", -apple-system, "Segoe UI", Arial, sans-serif;

  --max: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1022; --paper-2: #161a31; --ink: #f2f3fb; --ink-2: #d3d6e8; --muted: #a3a8c4;
    --rule: #252a45; --rule-2: #343a5c; --accent: #9aa6ff; --tint: #1d2246; --highlight: #3a3418; --good: #6fcf97; --bad: #ff8a80;
    --c-opinion: #555c7a; --shadow: 0 10px 30px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1022; --paper-2: #161a31; --ink: #f2f3fb; --ink-2: #d3d6e8; --muted: #a3a8c4;
  --rule: #252a45; --rule-2: #343a5c; --accent: #9aa6ff; --tint: #1d2246; --highlight: #3a3418; --good: #6fcf97; --bad: #ff8a80;
  --c-opinion: #555c7a; --shadow: 0 10px 30px rgba(0,0,0,.35); --shadow-lg: 0 18px 50px rgba(0,0,0,.5); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:where(a, button, input):focus-visible { outline: 2px solid var(--accent); 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 { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 200; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.25; margin: 0; color: var(--ink); }
p { margin: 0; }
svg { flex: none; }

/* ---------- Category label ---------- */
.cat { display: inline-block; background: var(--c, var(--accent)); color: #fff; font: 500 10px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; padding: 4px 6px 3px; white-space: nowrap; }
a.cat:hover { background: #000; }
.c-world { --c: var(--c-world); } .c-technology { --c: var(--c-technology); } .c-business { --c: var(--c-business); }
.c-science { --c: var(--c-science); } .c-entertainment { --c: var(--c-entertainment); } .c-lifestyle { --c: var(--c-lifestyle); }
.c-opinion { --c: var(--c-opinion); } .c-blogs { --c: var(--c-blogs); }

/* ---------- Meta ---------- */
.meta { font: 400 11px/1.5 var(--text); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 6px; align-items: center; }
.meta .by { font-weight: 700; color: var(--ink); }
.meta a.by:hover { color: var(--accent); }
.title a:hover { color: var(--accent); }

/* Off-canvas menu (mobile) */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; border: 0; width: 100%; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: linear-gradient(160deg, #0e2a47, #111 70%); color: #fff; padding: 16px 24px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-100%); transition: transform .25s; overflow-y: auto; }
.drawer.open .panel { transform: none; }
.drawer .close { background: none; border: 0; color: #fff; padding: 6px; margin-left: -6px; cursor: pointer; }
.drawer .close svg { width: 24px; height: 24px; }
.drawer ul { list-style: none; padding: 0; margin: 14px 0; }
.drawer li a { display: block; padding: 11px 0; font: 700 16px var(--head); text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer li a:hover { color: #8cc4ef; }
.drawer .small a { font: 400 13px var(--text); text-transform: none; padding: 7px 0; border: 0; color: #cfd6dd; }

/* ---------- Big grid ---------- */
.biggrid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 4px; margin-top: 20px; }
.biggrid .tile:first-child { grid-row: span 2; }
.biggrid:not(.small-grid):not(.one) .tile:nth-child(2) { grid-column: auto; }
.tile { position: relative; overflow: hidden; background: #222; display: block; min-width: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 100%); pointer-events: none; }
.tile .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; z-index: 2; color: #fff; }
.tile h2, .tile h3 { color: #fff; font-size: 17px; font-weight: 500; margin: 8px 0 6px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.tile h2 { font-size: 27px; line-height: 1.2; }
.tile .meta { color: #ddd; }
.tile .meta .by { color: #fff; }
.tile .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile .over .cat, .tile .over .meta a { position: relative; z-index: 3; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 0 44px; margin-top: 40px; }
.sidebar { min-width: 0; }
.sidebar .sticky { position: sticky; top: 68px; }
.block { margin-bottom: 44px; }

/* Block title: coloured tab sitting on a rule of the same colour */
.block-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 2px solid var(--c, var(--bar-2)); margin-bottom: 22px; }
.block-title h2 { font: 500 14px/1 var(--head); text-transform: uppercase; }
.block-title h2 > * { display: inline-block; background: var(--c, var(--bar-2)); color: #fff; padding: 9px 12px 8px; }
.block-title h2 a:hover { background: #000; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 5px; }
.tabs button, .tabs a { background: none; border: 0; padding: 4px 7px; font: 400 12px var(--text); color: var(--muted); cursor: pointer; }
.tabs button:hover, .tabs a:hover, .tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; }
[role="tabpanel"][hidden] { display: none; }

/* Module: big card */
.mod-big .thumb { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); margin-bottom: 12px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thumb:hover img { transform: scale(1.04); }
.thumb .cat { position: absolute; left: 0; bottom: 0; }
.mod-big h3 { font-size: 21px; margin-bottom: 7px; }
.mod-big .excerpt { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 9px; }

/* Module: small list item */
.mod-small { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: start; }
.mod-small .thumb { display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--paper-2); position: relative; }
.mod-small h3 { font-size: 14px; line-height: 1.35; margin-bottom: 5px; }
.list-col { display: flex; flex-direction: column; gap: 20px; }

/* Module: wide row (thumb left, text right) */
.mod-row { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.mod-row .thumb { display: block; position: relative; aspect-ratio: 218 / 150; overflow: hidden; background: var(--paper-2); }
.mod-row h3 { font-size: 20px; margin-bottom: 7px; }
.mod-row .excerpt { color: var(--muted); font-size: 13px; margin-top: 8px; }
.mod-row[hidden] { display: none; }

/* Block layouts */
.b-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.b-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.b-grid .list-col { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.b-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.b-three .mod-big h3 { font-size: 16px; }

/* ---------- Sidebar widgets ---------- */
.widget { margin-bottom: 40px; }
.opinion-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.opinion-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; }
.opinion-list h3 { font: italic 500 15px/1.35 var(--head); }
.opinion-list .name { font: 700 11px var(--text); text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 16px var(--head); color: #fff; }
.picks { list-style: none; padding: 0; margin: 0; counter-reset: pick; display: grid; gap: 18px; }
.picks li { counter-increment: pick; }
.picks .thumb::before { content: counter(pick); position: absolute; z-index: 1; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; background: #1b6ca8; color: #fff; font: 700 12px var(--head); }
.catlist { list-style: none; padding: 0; margin: 0; }
.catlist a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--rule-2); font: 500 14px var(--head); }
.catlist a:hover { color: var(--accent); }
.catlist .n { background: var(--c, #1b6ca8); color: #fff; font: 700 11px var(--head); padding: 3px 7px; min-width: 26px; text-align: center; }
.about-widget p { color: var(--muted); font-size: 13px; }
.about-widget p + p { margin-top: 10px; }
.about-widget a { color: var(--accent); font-weight: 600; }
.continue { display: none; }
.continue.has { display: block; }
.continue ul { list-style: none; margin: 0; padding: 0; }
.continue li { padding: 9px 0; border-bottom: 1px solid var(--rule); font: 500 14px/1.35 var(--head); }
.continue a:hover { color: var(--accent); }
.search-widget form { display: flex; }
.search-widget input { flex: 1; min-width: 0; border: 1px solid var(--rule-2); border-right: 0; padding: 10px 12px; font: 400 13px var(--text); background: var(--paper); color: var(--ink); }
.search-widget button { background: #1b6ca8; color: #fff; border: 0; padding: 0 16px; font: 700 12px var(--head); text-transform: uppercase; cursor: pointer; }

/* ---------- Category / archive pages ---------- */
.crumbs { font-size: 11px; color: var(--muted); margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--accent); }
.page-title { margin: 8px 0 4px; font: 500 36px/1.15 var(--head); }
.page-sub { color: var(--muted); max-width: 70ch; font-size: 14px; }
.subcats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.subcats a { border: 1px solid var(--rule-2); padding: 5px 10px; font: 400 12px var(--text); }
.subcats a:hover, .subcats a[aria-current="page"] { background: var(--c, #1b6ca8); border-color: var(--c, #1b6ca8); color: #fff; }
.biggrid.small-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 190px 190px; }
.biggrid.small-grid .tile:nth-child(2) { grid-column: auto; }
.biggrid.one { grid-template-columns: 1fr; grid-template-rows: 320px; }
.more-btn { display: block; margin: 8px auto 0; padding: 11px 26px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); font: 400 12px var(--text); cursor: pointer; }
.more-btn:hover { background: #1b6ca8; border-color: #1b6ca8; color: #fff; }

/* ---------- Single article ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: #4f9fdc; z-index: 130; }
.post-head .cat { margin-right: 4px; }
.post-head h1 { font: 500 clamp(28px, 4vw, 41px)/1.2 var(--head); margin: 12px 0 10px; letter-spacing: -0.01em; }
.post-head .dek { font: 300 18px/1.55 var(--text); color: var(--muted); margin-bottom: 14px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.post-meta .avatar { width: 32px; height: 32px; font-size: 12px; }
.post-meta .by { font-weight: 700; color: var(--ink); }
.post-meta .by:hover { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 20px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; color: #fff; font: 700 12px var(--head); border: 0; cursor: pointer; }
.share svg { width: 16px; height: 16px; }
.share .s-fb { background: #3b5998; } .share .s-x { background: #000; } .share .s-li { background: #0a66c2; } .share .s-wa { background: #1a7f45; } .share .s-mail { background: #555; }
.share .s-tool { background: var(--paper); color: var(--ink); border: 1px solid var(--rule-2); padding: 0 12px; }
.share .s-tool[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share a:hover, .share button:hover { opacity: .88; }
.feature-img { margin: 0 0 24px; }
.feature-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.feature-img figcaption { font-size: 11px; color: var(--muted); font-style: italic; margin-top: 6px; }
.feature-img figcaption a { text-decoration: underline; }
.keypoints { background: var(--paper-2); border-left: 4px solid #1b6ca8; padding: 16px 20px; margin-bottom: 26px; }
.keypoints h2 { font: 700 13px var(--head); text-transform: uppercase; margin-bottom: 8px; }
.keypoints ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.content { font: 400 var(--body-size, 16px)/1.8 var(--text); color: var(--ink-2); }
.content > * + * { margin-top: 1.25em; }
.content h2 { font: 500 1.5em/1.3 var(--head); margin-top: 1.6em; color: var(--ink); }
.content ul, .content ol { padding-left: 1.4em; }
.content li + li { margin-top: .4em; }
.content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.content strong { color: var(--ink); }
.content > p:first-of-type::first-letter { float: left; font: 700 3.9em/0.8 var(--head); padding: 8px 10px 0 0; color: var(--ink); }
.note { background: var(--highlight); padding: 12px 16px; font-size: 13px; margin-bottom: 22px; }
.note a { text-decoration: underline; }

.quiz { margin-top: 36px; border: 1px solid var(--rule-2); border-top: 4px solid #1b6ca8; padding: 22px 24px; }
.quiz h2 { font: 700 20px var(--head); margin-bottom: 2px; }
.quiz > p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.quiz fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.quiz legend { font: 500 16px/1.4 var(--head); margin-bottom: 8px; }
.quiz .opts { display: grid; gap: 6px; }
.quiz .opt { text-align: left; background: var(--paper); border: 1px solid var(--rule-2); padding: 10px 12px; font: 400 14px var(--text); color: var(--ink); cursor: pointer; }
.quiz .opt:hover:not(:disabled) { border-color: var(--accent); }
.quiz .opt.right { border-color: var(--good); box-shadow: inset 4px 0 0 var(--good); }
.quiz .opt.wrong { border-color: var(--bad); box-shadow: inset 4px 0 0 var(--bad); }
.quiz .opt:disabled { cursor: default; }
.quiz .why { font-size: 13px; margin-top: 8px; color: var(--ink-2); }
.quiz .score { font: 700 15px var(--head); }

.sources { margin-top: 30px; font-size: 13px; }
.sources h2 { font: 700 13px var(--head); text-transform: uppercase; margin-bottom: 8px; }
.sources ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.sources a { color: var(--accent); text-decoration: underline; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 26px; }
.post-tags .lbl { background: var(--ink); color: var(--paper); font: 700 11px var(--head); text-transform: uppercase; padding: 5px 8px; }
.post-tags a { border: 1px solid var(--rule-2); font-size: 11px; padding: 4px 8px; }
.post-tags a:hover { background: #1b6ca8; color: #fff; border-color: #1b6ca8; }
.correction-box { margin-top: 22px; padding: 12px 16px; background: var(--paper-2); font-size: 13px; }
.correction-box a { color: var(--accent); text-decoration: underline; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; padding-block: 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prevnext div:last-child { text-align: right; }
.prevnext span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.prevnext a { font: 500 15px/1.35 var(--head); }
.prevnext a:hover { color: var(--accent); }
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; border: 1px solid var(--rule); padding: 22px; margin-top: 28px; }
.author-box .avatar { width: 96px; height: 96px; font-size: 30px; }
.author-box h2 { font: 700 15px var(--head); margin-bottom: 2px; }
.author-box h2 a:hover { color: var(--accent); }
.author-box .role { font-size: 12px; color: var(--muted); }
.author-box .bio { font-size: 13px; margin-top: 8px; color: var(--ink-2); }
.related { margin-top: 40px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #111; color: #fff; padding: 10px 16px; font-size: 13px; z-index: 140; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }

/* ---------- Static pages & search ---------- */
.prose { max-width: 760px; font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-top: 18px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 500 22px var(--head); margin-top: 1.6em; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.staff { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.staff li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.staff a { font: 700 14px var(--head); text-decoration: none !important; color: var(--ink) !important; }
.staff .role { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.search-box { display: flex; margin-top: 16px; }
.search-box input { flex: 1; min-width: 0; font: 400 16px var(--text); padding: 12px 14px; border: 1px solid var(--rule-2); border-right: 0; background: var(--paper); color: var(--ink); }
.search-box button { padding: 0 22px; background: #1b6ca8; color: #fff; border: 0; font: 700 13px var(--head); text-transform: uppercase; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); padding: 5px 10px; font: 400 12px var(--text); cursor: pointer; }
.chip:hover { background: #1b6ca8; color: #fff; border-color: #1b6ca8; }
.results-count { font-size: 12px; color: var(--muted); margin: 22px 0 18px; }
mark { background: var(--highlight); color: inherit; }
.empty { color: var(--muted); padding: 16px 0; }
.empty a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #ccc; margin-top: 20px; font-size: 13px; }
.site-footer .wrap { padding-block: 44px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font: 500 14px var(--head); text-transform: uppercase; border-bottom: 2px solid #333; margin-bottom: 18px; }
.site-footer h2 span { display: inline-block; background: #333; padding: 8px 12px 7px; }
.site-footer .logo b { color: #fff; font-size: 36px; }
.site-footer .logo b span { color: #8cc4ef; }
.site-footer .logo small { color: #aaa; }
.site-footer p { margin-top: 14px; line-height: 1.7; }
.site-footer a:hover { color: #8cc4ef; }
.foot-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.foot-posts h3 { color: #fff; }
.foot-posts .meta { color: #aaa; }
.foot-posts .meta .by { color: #ddd; }
.site-footer .catlist a { border-color: #333; color: #fff; }
.subfooter { background: #000; color: #aaa; font-size: 11px; }
.subfooter .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.subfooter nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.subfooter a { color: #ddd; }
.subfooter a:hover { color: #fff; }
.subfooter .disclose a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1018px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 0 28px; }
  .promo { flex-basis: 468px; grid-template-columns: minmax(0, 1fr) auto; }
  .promo svg { display: none; }
  .mainnav ul a { padding: 0 9px; font-size: 13px; }
  .biggrid { grid-template-rows: 190px 190px; }
  .quiz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topbar, .header { display: none; }
  .mainnav .wrap { padding-left: 0; padding-right: 0; }
  .mainnav ul, .nav-home { display: none; }
  .burger { display: flex !important; }
  .nav-logo { display: flex; flex: 1; justify-content: center; align-items: center; font: 900 22px/1 var(--head); text-transform: uppercase; letter-spacing: -0.02em; color: #fff; }
  .nav-logo span { color: #8cc4ef; }
  .layout { grid-template-columns: 1fr; }
  .sidebar .sticky { position: static; }
  .biggrid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 180px; }
  .biggrid .tile:first-child { grid-column: 1 / -1; grid-row: auto; }
  .biggrid .tile:nth-child(2) { grid-column: auto; }
  .biggrid.small-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; }
  .biggrid.small-grid .tile:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .b-split, .b-grid, .b-grid .list-col, .b-three { grid-template-columns: 1fr; }
  .mod-row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
  .mod-row h3 { font-size: 15px; }
  .mod-row .excerpt { display: none; }
  .biggrid, .biggrid.small-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .biggrid .tile:first-child { grid-row: auto; }
  .tile h2 { font-size: 21px; }
  .quiz-grid { grid-template-columns: 1fr; }
  .quiz-grid .tile { height: 190px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .staff { grid-template-columns: 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext div:last-child { text-align: left; }
  .author-box { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; }
  .author-box .avatar { width: 64px; height: 64px; font-size: 20px; }
  .share .lbl-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-title { font-size: 28px; }
  .ticker-ctrl { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .topbar, .mainnav, .ticker, .share, .sidebar, .site-footer, .subfooter, .quiz, .progress, .promo { display: none !important; } .layout { display: block; } }
.block-title h2 { flex: none; white-space: nowrap; }
.tabs { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { white-space: nowrap; }
@media (max-width: 860px) and (min-width: 641px) {
  .biggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 300px 190px; }
  .biggrid .tile:first-child { grid-column: 1 / -1; }
}
.small-grid .tile:not(:first-child) h2 { font-size: 19px; }
.layout > * { min-width: 0; }

/* ---------- Ad slots ---------- */
.ad { margin: 0 0 40px; text-align: center; clear: both; }
.ad-label { display: block; font: 400 10px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-box { margin: 0 auto; width: 100%; display: grid; place-items: center; border: 1px dashed var(--rule-2); color: var(--muted); font: 600 12px var(--text); background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--paper) 12px 24px); }
.header .ad { flex: 0 1 728px; margin: 0; min-width: 0; }
.content .ad { margin: 1.6em 0; }
.ad-sidebar { margin-bottom: 40px; }
@media (max-width: 640px) { .ad-feed .ad-box { height: 100px !important; } }

/* Home big grid: one large story plus a 2 x 2 block, as on classic magazine layouts */
@media (max-width: 860px) and (min-width: 641px) {
  .biggrid:not(.small-grid):not(.one) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 180px 180px; }
}

/* =====================================================================
   v6 look: white page, bold display type, blue pills, rounded cards
   ===================================================================== */
body { background: var(--paper); }
::selection { background: var(--tint); }
.title a, .meta, h3 { overflow-wrap: anywhere; }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 10px 20px; font: 700 14px/1.1 var(--head); white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.pill svg { width: 16px; height: 16px; }
.pill:hover { transform: translateY(-1px); }
.pill-lg { padding: 15px 28px; font-size: 16px; }
.pill-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(47, 69, 244, .32); }
.pill-blue:hover { background: #1f33d6; }
.pill-green { background: #0b7a43; color: #fff; }
.pill-green:hover { background: #0b733f; }
.pill-white { background: #fff; color: #2f45f4; }
.pill-white:hover { background: #eef0ff; }
.pill-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.pill-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.center { text-align: center; }
.eyebrow { font: 800 12px/1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }

/* Announcement bar */
.announce { background: var(--grad); color: #fff; font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding-block: 6px; }
.announce-ico svg { width: 18px; height: 18px; }
.announce strong { font-weight: 700; }
.announce .pill { padding: 6px 14px; font-size: 13px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; }
.logo { display: inline-flex; line-height: 1; }
.logo b { white-space: nowrap; font: 900 26px/1 var(--head); letter-spacing: -0.03em; color: var(--ink); text-transform: none; }
.logo b span { color: var(--accent); margin-left: .18em; }
.head-links { display: flex; gap: 26px; font: 600 15px/1 var(--head); }
.head-links a { color: var(--ink-2); padding: 8px 0; }
.head-links a:hover, .head-links a[aria-current="page"] { color: var(--accent); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.head-tools .pill { margin-left: 10px; }
.icon-link { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: none; border: 0; color: var(--ink); cursor: pointer; }
.icon-link:hover { background: var(--tint); color: var(--accent); }
.icon-link svg { width: 20px; height: 20px; }
.icon-link [data-saved-count]:not(:empty) { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 9px; background: var(--blue); color: #fff; font: 700 10px/1 var(--head); padding: 0 4px; }
.burger { display: none !important; }

/* Section menu */
.secnav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.secnav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.secnav ul::-webkit-scrollbar { display: none; }
.secnav a { display: block; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--head); color: var(--ink-2); white-space: nowrap; }
.secnav a:hover { background: var(--tint); color: var(--accent); }
.secnav a[aria-current="page"] { background: var(--c, var(--blue)); color: #fff; }
.head-ad { margin-top: 26px; }
.head-ad .ad { margin: 0; }

/* Drawer, restyled */
.drawer .panel { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.drawer .close { color: var(--ink); }
.drawer li a { font: 800 17px var(--head); text-transform: none; border-bottom: 1px solid var(--rule); }
.drawer li a:hover { color: var(--accent); }
.drawer .small a { color: var(--muted); }
.drawer .small button.close { color: var(--muted) !important; }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(900px 420px at 85% 10%, var(--tint), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero h1 { font: 900 clamp(38px, 5vw, 62px)/1.05 var(--head); letter-spacing: -0.03em; }
.hero .lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.link-cta { display: inline-flex; align-items: center; gap: 4px; font: 700 16px var(--head); color: var(--accent); }
.link-cta svg { width: 18px; height: 18px; }
.link-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 44px; margin: 44px 0 0; }
.stats div { display: flex; flex-direction: column; }
.stats dd:not(.sub) { order: -1; margin: 0; font: 900 38px/1 var(--head); color: var(--ink); }
.stats dt { font: 700 15px var(--head); color: var(--ink); margin-top: 6px; }
.stats .sub { margin: 0; font-size: 13px; color: var(--muted); }
.hero-art { position: relative; }
.hero-frame { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; border: 2px dashed var(--rule-2); border-radius: 28px; }
.hcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hk, .sec-card .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.hk { margin: 12px 14px 0; font: 800 11px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; }
.hk::before, .sec-card .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--blue)); }
.hcard b { margin: 6px 14px 16px; font: 800 15px/1.3 var(--head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: var(--shadow-lg); font: 800 14px var(--head); }
.float-card svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--blue); color: #fff; }
.float-card:hover { color: var(--accent); }
.fc-1 { left: -26px; top: -20px; }
.fc-2 { right: -22px; bottom: -20px; }
.fc-2 svg { background: #0b7a43; }

/* Sources strip */
.trust { padding: 26px 0; border-block: 1px solid var(--rule); }
.trust-row { display: flex; align-items: center; gap: 36px; }
.trust-label { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex: none; line-height: 1.35; }
.trust-label svg { width: 30px; height: 30px; color: var(--accent); }
.trust-label b { color: var(--ink); font-weight: 700; }
.trust-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.trust-logos li { font: 800 16px/1.2 var(--head); color: var(--muted); letter-spacing: -0.01em; }

/* Gallery */
.gallery { padding: 80px 0; }
.big-h { font: 900 clamp(30px, 3.8vw, 46px)/1.1 var(--head); letter-spacing: -0.025em; text-align: center; }
.big-h.left { text-align: left; }
.big-h span { color: var(--accent); }
.big-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 60ch; margin: 14px auto 30px; }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter button { border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 9px 18px; font: 700 14px/1 var(--head); cursor: pointer; }
.filter button:hover { border-color: var(--accent); color: var(--accent); }
.filter button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(47, 69, 244, .28); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.glabel { font: 800 12px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px; text-align: center; }
.gthumb { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; background: var(--paper-2); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gcard:hover .gthumb { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gcard .title { font-size: 17px; line-height: 1.3; margin: 16px 0 6px; }
.gallery .center { margin-top: 44px; }

/* Quiz call to action */
.cta-wrap { padding-bottom: 80px; }
.cta-pill { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--grad); color: #fff; border-radius: 999px; padding: 34px 40px 34px 56px; box-shadow: 0 20px 50px rgba(61, 63, 243, .3); }
.cta-pill h2 { color: #fff; font: 900 30px/1.15 var(--head); letter-spacing: -0.02em; }
.cta-pill p { opacity: .92; margin-top: 6px; max-width: 62ch; }
.quiz-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.qcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.qcard:hover { transform: translateY(-4px); }
.qcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.qbadge { position: absolute; top: 12px; left: 12px; background: #fff; color: #2f45f4; font: 800 11px/1 var(--head); padding: 6px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.qcard b { padding: 14px 16px 18px; font: 800 15px/1.35 var(--head); }

/* Section cards */
.cards-sec { background: var(--paper-2); padding: 80px 0 52px; }
.sec-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 28px; }
.sec-card { display: flex; flex-direction: column; background: var(--paper); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.sec-card > h3 { font: 900 30px/1.1 var(--head); letter-spacing: -0.02em; margin: 12px 0 8px; }
.sec-card > h3 a:hover { color: var(--accent); }
.sec-blurb { color: var(--muted); margin-bottom: 22px; }
.sec-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; flex: 1; }
.sec-card .pill { align-self: flex-start; }
.cards-sec .ad { margin: 8px 0 36px; }

/* Values */
.values { padding: 88px 0; }
.values-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; }
.values-intro { grid-row: span 2; align-self: center; padding-right: 24px; }
.values-intro h2 { margin-top: 12px; }
.values-intro p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 16px 0 28px; }
.value { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.value svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--tint); color: var(--accent); }
.value h3 { font: 800 19px var(--head); margin: 18px 0 8px; }
.value p { color: var(--muted); font-size: 15px; }

/* Bottom call to action */
.cta-band { padding-bottom: 88px; }
.cta-band-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--paper-2); border-radius: 28px; padding: 52px 60px; }
.cta-band h2 { font: 900 clamp(26px, 3vw, 36px)/1.15 var(--head); letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* ---------- Existing modules, rounded ---------- */
.cat { border-radius: 999px; padding: 5px 9px 4px; font: 800 10px/1 var(--head); letter-spacing: .06em; }
a.cat:hover { background: var(--ink); color: var(--paper); }
.meta { font: 500 12px/1.5 var(--text); }
.biggrid { gap: 14px; margin-top: 26px; }
.tile { border-radius: 20px; }
.tile h2, .tile h3 { font-weight: 800; }
.thumb { border-radius: 14px; }
.mod-big .thumb { border-radius: var(--r); box-shadow: var(--shadow); }
.mod-small .thumb { border-radius: 10px; }
.mod-row .thumb { border-radius: var(--r); }
.thumb .cat { left: 10px; bottom: 10px; }
.mod-big h3, .mod-row h3 { font-weight: 800; letter-spacing: -0.01em; }
.mod-small h3 { font-weight: 700; }
.layout { margin-top: 36px; gap: 0 48px; }
.sidebar .sticky { top: 92px; }
.block-title { border-bottom: 1px solid var(--rule); padding-bottom: 12px; align-items: center; }
.block-title h2 { font: 900 22px/1.2 var(--head); text-transform: none; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.block-title h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--blue)); flex: none; }
.block-title h2 > * { background: none; color: var(--ink); padding: 0; }
.block-title h2 a:hover { background: none; color: var(--accent); }
.tabs { padding-bottom: 0; gap: 4px; }
.tabs button, .tabs a { border-radius: 999px; padding: 6px 12px; font: 700 13px var(--head); }
.tabs button[aria-selected="true"] { background: var(--tint); color: var(--accent); }
.widget { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 28px; }
.widget .block-title { margin-bottom: 18px; }
.widget .block-title h2 { font-size: 18px; }
.sidebar .ad { margin-bottom: 28px; }
.picks .thumb::before { background: var(--blue); border-radius: 0 0 10px 0; }
.catlist a { border-bottom: 1px solid var(--rule); font: 600 15px var(--head); }
.catlist .n { border-radius: 999px; }
.search-widget input, .search-box input { border-radius: 999px 0 0 999px; padding-left: 18px; }
.search-widget button, .search-box button { border-radius: 0 999px 999px 0; background: var(--blue); }
.crumbs { font-size: 13px; margin-top: 28px; }
.page-title { font: 900 clamp(32px, 4.4vw, 48px)/1.1 var(--head); letter-spacing: -0.025em; margin-top: 10px; }
.page-sub { font-size: 17px; }
.subcats { gap: 8px; margin-top: 18px; }
.subcats a { border-radius: 999px; padding: 7px 14px; font: 700 13px var(--head); }
.more-btn { border-radius: 999px; border: 2px solid var(--accent); color: var(--accent); background: transparent; padding: 12px 28px; font: 700 14px var(--head); }
.more-btn:hover { background: var(--blue); border-color: var(--blue); }

/* Article */
.progress { background: var(--grad); height: 4px; }
.post-head h1 { font: 900 clamp(30px, 4.2vw, 46px)/1.12 var(--head); letter-spacing: -0.025em; }
.post-head .dek { font: 400 19px/1.55 var(--text); }
.post-meta { font-size: 13px; }
.share a, .share button { border-radius: 999px; height: 40px; padding: 0 16px; }
.share .s-tool { padding: 0 14px; }
.feature-img img { border-radius: 20px; }
.feature-img figcaption { font-size: 12px; margin-top: 8px; }
.keypoints { border-left: 0; background: var(--tint); border-radius: var(--r); padding: 20px 24px; }
.keypoints h2 { font: 800 13px var(--head); letter-spacing: .08em; color: var(--accent); }
.content h2 { font-weight: 800; letter-spacing: -0.01em; }
.content > p:first-of-type::first-letter { font-weight: 900; color: var(--accent); }
.note, .correction-box { border-radius: 12px; }
.quiz { border: 1px solid var(--rule); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); background: var(--paper); }
.quiz h2 { font-weight: 900; font-size: 22px; }
.quiz .opt { border-radius: 12px; padding: 12px 14px; }
.post-tags .lbl, .post-tags a { border-radius: 999px; padding: 5px 11px; }
.post-tags a:hover { background: var(--blue); border-color: var(--blue); }
.prevnext a { font-weight: 800; }
.author-box { border: 0; background: var(--paper-2); border-radius: 22px; padding: 26px; }
.toast { border-radius: 999px; padding: 11px 18px; }
.prose h2 { font-weight: 800; }
.chip { border-radius: 999px; padding: 7px 14px; font: 600 13px var(--head); }
.chip:hover { background: var(--blue); border-color: var(--blue); }
.ad-box { border-radius: 12px; }

/* Footer, light */
.site-footer { background: var(--paper-2); color: var(--ink-2); margin-top: 0; font-size: 14px; border-top: 1px solid var(--rule); }
.site-footer .wrap { padding-block: 60px 44px; }
.site-footer h2 { color: var(--ink); font: 800 17px var(--head); text-transform: none; border: 0; margin-bottom: 18px; }
.site-footer h2 span { background: none; padding: 0; }
.site-footer .logo b { color: var(--ink); font-size: 28px; }
.site-footer .logo b span { color: var(--accent); }
.site-footer a:hover { color: var(--accent); }
.site-footer p a { color: var(--accent); text-decoration: underline; }
.foot-posts h3 { color: var(--ink); }
.foot-posts .meta { color: var(--muted); }
.site-footer .catlist a { border-color: var(--rule-2); color: var(--ink); }
.subfooter { background: var(--paper-2); color: var(--muted); font-size: 13px; border-top: 1px solid var(--rule-2); }
.subfooter a { color: var(--ink-2); }
.subfooter a:hover { color: var(--accent); }

/* ---------- Responsive (v6) ---------- */
@media (max-width: 1100px) {
  .head-links { gap: 18px; }
  .gallery-grid, .quiz-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quiz-row .qcard:nth-child(4) { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values-intro { grid-row: auto; grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 960px) {
  .head-links { display: none; }
  .burger { display: inline-grid !important; margin-left: -10px; }
  .site-head .wrap { gap: 10px; min-height: 64px; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .fc-1 { left: -6px; } .fc-2 { right: -6px; }
  .sec-pair { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-pill { border-radius: 28px; flex-direction: column; align-items: flex-start; padding: 34px; }
  .cta-band-row { flex-direction: column; align-items: flex-start; padding: 40px; }
  .sidebar .sticky { position: static; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .announce .wrap { justify-content: space-between; font-size: 13px; gap: 10px; }
  .announce-ico { display: none; }
  .logo b { font-size: 22px; }
  .icon-link { width: 38px; height: 38px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 16px; }
  .stats { gap: 18px 28px; }
  .stats dd { font-size: 30px; }
  .hero-frame { gap: 10px; padding: 10px; border-radius: 20px; }
  .hcard b { font-size: 13px; margin: 4px 10px 12px; }
  .hk { margin: 10px 10px 0; font-size: 10px; }
  .float-card { display: none; }
  .gallery, .values { padding: 56px 0; }
  .cards-sec { padding: 56px 0 28px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .gcard .title { font-size: 15px; }
  .gcard .meta { font-size: 11px; }
  .filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; }
  .quiz-row { grid-template-columns: 1fr; }
  .quiz-row .qcard:nth-child(n+3) { display: none; }
  .cta-pill { padding: 28px 24px; }
  .cta-pill h2 { font-size: 24px; }
  .sec-card { padding: 24px; border-radius: 20px; }
  .sec-card > h3 { font-size: 26px; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-band { padding-bottom: 56px; }
  .cta-band-row { padding: 30px 24px; border-radius: 22px; }
  .widget { padding: 18px; }
  .tile { border-radius: 16px; }
}
@media print { .announce, .site-head, .secnav, .head-ad { display: none !important; } }
