/* Oversight — site styles (recreates the original Hostinger Builder look: white, Prata, dark-grey text) */
:root {
  --text: #1a1a1a;
  --text-soft: #353535;
  --muted: #5f5f5f;
  --line: #dcdcdc;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --btn: #353535;
  --btn-hover: #565656;
  --link: #1d1e20;
  --accent: #0f4c81;
  --max: 1224px;
  --font-head: 'Prata', Georgia, 'Times New Roman', serif;
  --font-body: 'Prata', Georgia, 'Times New Roman', serif;
  --font-ui: 'Roboto', Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text-soft); font: 400 16px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover { color: #000; text-decoration-thickness: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; color: var(--text); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.3em; }
li { margin-bottom: .4em; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.site-header__inner { max-width: 1240px; margin: 0 auto; padding: 28px 16px; display: flex; align-items: center; gap: 24px; }
.site-header__brand { display: none; font-family: var(--font-head); font-size: 1.2rem; color: var(--text); text-decoration: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 40px; row-gap: 8px; }
.nav__item { position: relative; margin: 0; display: flex; align-items: center; }
.nav__link { font: 400 16px/1.5 var(--font-body); color: var(--text-soft); text-decoration: none; padding: 4px 0; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: #000; }
.nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__link--folder { cursor: default; }
.nav__toggle { background: none; border: 0; padding: 4px 0 4px 8px; cursor: pointer; color: var(--text-soft); font-size: 14px; line-height: 1; }
.nav__sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 210px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; z-index: 60; }
.nav__sub li { margin: 0; }
.nav__sub .nav__link { display: block; padding: 8px 16px; }
.nav__sub .nav__link:hover { background: var(--bg-soft); }
.nav__item--parent:hover > .nav__sub, .nav__item--parent:focus-within > .nav__sub, .nav__item--parent.is-open > .nav__sub { display: block; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header__inner { padding: 14px 16px; flex-wrap: wrap; }
  .site-header__brand { display: block; }
  .nav-burger { display: block; }
  .nav { display: none; width: 100%; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .nav__item { flex-wrap: wrap; border-top: 1px solid var(--line); }
  .nav__item > .nav__link { flex: 1; padding: 12px 0; }
  .nav__toggle { padding: 12px 8px; }
  .nav__sub { position: static; display: block; width: 100%; border: 0; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .nav__item--parent:hover > .nav__sub { display: block; }
  .nav__toggle { display: none; }
}

/* ---------- Layout ---------- */
.page { min-height: 60vh; }
.container { max-width: var(--max); margin: 0 auto; padding: 16px 16px 48px; }
.container--narrow { max-width: 860px; }
.page-title { text-align: center; margin: 24px 0 40px; }
.page-title--left { text-align: left; }
.lead { font-size: 1.1rem; }
.section { margin: 0 0 48px; }
.section > h2, .section > h3 { margin-bottom: .5em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.col-heading { text-align: center; font-size: 1.1rem; font-weight: 700; margin-bottom: 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Charts ---------- */
.chart { margin: 0; }
.chart__zoom { display: block; }
.chart img { width: 100%; border: 1px solid #eee; }
.chart figcaption { margin-top: .8em; font-size: .95rem; color: var(--text-soft); }
.chart figcaption a { word-break: break-all; }

/* ---------- Link lists & cards ---------- */
.link-list { list-style: none; padding: 0; }
.link-list li { margin-bottom: .8em; }
.year-links { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; padding: 0; }
.year-links a { display: inline-block; padding: 14px 40px; background: var(--btn); color: #fff; text-decoration: none; font: 400 14px/1.35 var(--font-body); text-transform: uppercase; letter-spacing: .04em; }
.year-links a:hover { background: var(--btn-hover); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); padding: 20px 22px; background: #fff; }
.card h3 { font-size: 1.2rem; }
.definitions dt { font-weight: 700; color: var(--text); margin-top: .8em; }
.definitions dd { margin: .2em 0 0; }
.parties li { margin-bottom: 1.2em; }
.parties strong { color: var(--text); }
.mission { font-size: 1.1rem; }
.mission li { margin-bottom: .6em; }
.callout { background: var(--bg-soft); padding: 28px; text-align: center; }
.callout h2 { margin-bottom: .2em; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); margin: 0 0 32px; background: #fff; }
.data-table { border-collapse: collapse; width: 100%; min-width: 900px; font: 400 14px/1.5 var(--font-ui); color: #222; }
.data-table caption { caption-side: top; text-align: left; padding: 16px; font: 400 1.2rem/1.4 var(--font-head); color: var(--text); }
.data-table caption .note { display: block; font: 400 .85rem/1.4 var(--font-ui); color: var(--muted); margin-top: 6px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.data-table thead th { background: #2f2f2f; color: #fff; font-weight: 700; position: sticky; top: 0; }
.data-table tbody tr:nth-child(even) td { background: #fafafa; }
.data-table td.nowrap { white-space: nowrap; }
.data-table--compact { min-width: 600px; }
.table-hint { display: none; font: 400 13px/1.4 var(--font-ui); color: var(--muted); margin: -24px 0 24px; }
@media (max-width: 960px) { .table-hint { display: block; } }

/* ---------- British inventors ---------- */
.inventors-hero { background: linear-gradient(135deg, #0f4c81, #1f6aa5); color: #fff; text-align: center; padding: 48px 16px 40px; margin-bottom: 32px; }
.inventors-hero h1 { color: #fff; font-family: var(--font-ui); font-weight: 700; letter-spacing: .02em; margin-bottom: .3em; }
.inventors-hero p { max-width: 760px; margin: 0 auto; font: 400 1.1rem/1.5 var(--font-ui); }
.inventor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.inventor-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.inventor-card picture { display: block; aspect-ratio: 9 / 10; background: #e5e7eb; overflow: hidden; }
.inventor-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.inventor-card .content { padding: 16px 18px 20px; font-family: var(--font-ui); }
.inventor-card h2 { font: 700 1.1rem/1.3 var(--font-ui); color: var(--accent); margin: 0 0 .5em; }
.inventor-card .lifetime { display: block; font-weight: 400; color: #4b5563; font-size: .95rem; margin-top: 2px; }
.inventor-card p { margin: 0; color: #4b5563; font-size: .93rem; line-height: 1.5; }
.credits { margin-top: 40px; font: 400 13px/1.5 var(--font-ui); color: var(--muted); }
.credits summary { cursor: pointer; font-size: 14px; color: var(--text-soft); }
.credits ul { columns: 2 320px; padding-left: 1.2em; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-card a.post-card__link { text-decoration: none; color: inherit; display: block; }
.post-card picture { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); margin-bottom: 14px; }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card a:hover img { transform: scale(1.03); }
.post-card h2 { font-size: 1.4rem; margin-bottom: .3em; }
.post-meta { font: 400 14px/1.4 var(--font-ui); color: var(--muted); margin-bottom: 1em; }
.post-cover { margin: 0 0 32px; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.post-body { font-size: 1.1rem; }

/* ---------- Contact form ---------- */
.form-wrap { max-width: 520px; margin: 0 auto; background: var(--bg-soft); border: 1px solid #1d1e20; padding: 32px 28px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; color: #1a1a1a; }
.form-row .req { color: #b00020; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; font: 400 16px/1.4 var(--font-ui); color: #222; background: #fff; border: 1px solid #000; border-radius: 0; }
.form-row textarea { min-height: 150px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.form-error { color: #b00020; font: 400 14px/1.4 var(--font-ui); margin-top: 4px; }
.form-alert { padding: 14px 16px; margin-bottom: 20px; font-family: var(--font-ui); }
.form-alert--error { background: #fdecee; border: 1px solid #f5c2c7; color: #842029; }
.form-success { text-align: center; padding: 48px 16px; }
.form-success h2 { font-size: 2.2rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; padding: 16px 48px; background: var(--btn); color: #fff; border: 0; cursor: pointer; font: 400 14px/1.35 var(--font-body); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.btn:hover { background: var(--btn-hover); color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 64px 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fafafa; margin-top: 32px; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 32px 16px; display: grid; gap: 10px; text-align: center; }
.site-footer__name { margin: 0; color: var(--text); }
.site-footer__name a { text-decoration: none; color: inherit; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 0; margin: 0; }
.site-footer__links li { margin: 0; }
.site-footer__copy { margin: 0; font: 400 13px/1.5 var(--font-ui); color: var(--muted); }

@media print { .site-header, .site-footer { display: none; } .table-wrap { overflow: visible; } }
.h6 { font-size: 1.1rem; font-weight: 700; }
.h4 { font-size: 1.4rem; }
.h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.data-table { table-layout: fixed; }
.data-table td { overflow-wrap: break-word; word-wrap: break-word; }
.data-table td.nowrap { overflow-wrap: normal; }

/* ---------- Articles, key figures, sources, topic layout, home latest (added 2026-10-20) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container--narrow { max-width: 820px; }
.draft-banner { margin: 8px 0 24px; padding: 14px 18px; border: 2px dashed #b45309; background: #fff7ed; color: #7c2d12; font: 400 15px/1.5 var(--font-ui); border-radius: 6px; }
.draft-banner__note { display: inline-block; margin-top: 6px; }
.article__title { margin-bottom: .3em; }
.article__meta { margin-bottom: 1.2em; font-family: var(--font-ui); }
.article__summary { font-size: 1.15rem; border-left: 3px solid var(--text); padding-left: 16px; }
.article__body h2, .article__figures h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.article__body p, .article__body li { font-size: 1.05rem; line-height: 1.75; }
.cite { font-size: .7em; line-height: 0; }
.cite a { text-decoration: none; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* td.num used to be white-space:nowrap; under table-layout:fixed that let long
   Figure cells (Key figures / energy tables) paint across the next column. */
.data-table td.num { white-space: normal; overflow-wrap: break-word; word-wrap: break-word; }
.data-table th.num { white-space: nowrap; }
.article__figures .data-table--compact { min-width: 0; }
.article__figures .data-table th:nth-child(1),
.article__figures .data-table td:nth-child(1) { width: 36%; }
.article__figures .data-table th:nth-child(2),
.article__figures .data-table td:nth-child(2) { width: 36%; }
.sources { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.sources__list { font: 400 14px/1.55 var(--font-ui); padding-left: 1.5em; }
.sources__list li { margin-bottom: .6em; }
.sources__url { display: block; color: var(--muted); }
.sources__list li:target { background: #fff7d6; }
.key-figures { margin: 24px 0; }
.key-figures__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.key-figure { margin: 0; padding: 16px; background: var(--bg-soft); border-radius: 6px; display: flex; flex-direction: column; gap: 4px; }
.key-figure__value { font: 400 1.7rem/1.1 var(--font-head); color: var(--text); }
.key-figure__label { font: 500 14px/1.3 var(--font-ui); color: var(--text-soft); }
.key-figure__meta { font: 400 12px/1.3 var(--font-ui); color: var(--muted); }
.article-list { margin: 32px 0; }
.article-list__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.article-card { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; }
.article-card__meta { margin: 0 0 4px; font: 400 13px/1.4 var(--font-ui); color: var(--muted); }
.article-card__title { font-size: 1.3rem; margin: 0 0 .4em; }
.article-card__title a { text-decoration: none; }
.article-card__summary { margin: 0; font-size: .95rem; }
.topic__summary { margin-bottom: 8px; }
.topic__charts { margin: 24px 0; }
.topic__updated { margin-top: 24px; font-family: var(--font-ui); }
.home-latest { padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.home-latest__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.home-latest__side .key-figures__grid { grid-template-columns: 1fr; }
.home-latest__side .key-figures { margin-top: 32px; }
@media (max-width: 760px) { .home-latest__grid { grid-template-columns: 1fr; gap: 0; } }
/* ---------- Unified blog feed (FEATURE_UNIFIED_BLOG) ---------- */
.blog-feed { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.blog-entry { padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; }
.blog-entry--thumb { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.blog-entry__thumb picture { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.blog-entry__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-entry h2.article-card__title { font-size: 1.3rem; }
@media (max-width: 640px) { .blog-entry--thumb { grid-template-columns: 1fr; } }

/* ---- Media Watch (FEATURE_MEDIA_WATCH) ---- */
.mw-badge { display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .06em; padding: 5px 8px; border-radius: 3px; color: #fff; vertical-align: middle; }
.mw-badge--finding { background: #b3261e; }
.mw-badge--allegation { background: #8a5a00; }
.mw-badge--selective { background: #1d4f91; }
.mw-badge--none { background: #666; }
.mw-labels { margin: 20px 0; }
.mw-labels__row { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mw-labels dd { margin: 0; }
.mw-filter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin: 28px 0 8px; padding: 16px; background: var(--bg-soft, #f6f6f6); border: 1px solid var(--line); }
.mw-filter label { display: flex; flex-direction: column; font-size: 14px; gap: 4px; }
.mw-filter select { font: inherit; padding: 6px 8px; min-width: 170px; }
.mw-quick { margin-bottom: 24px; }
.mw-empty { margin: 24px 0; }
.mw-entry { border-left: 4px solid var(--line); padding-left: 14px; }
.mw-entry--finding { border-left-color: #b3261e; } .mw-entry--allegation { border-left-color: #8a5a00; } .mw-entry--selective { border-left-color: #1d4f91; }
.mw-facts { margin: 24px 0; border: 1px solid var(--line); }
.mw-facts__row { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.mw-facts__row:first-child { border-top: 0; }
.mw-facts dt { font-weight: 700; } .mw-facts dd { margin: 0; }
.mw-notice--allegation { background: #fff4dc; border-left: 4px solid #8a5a00; padding: 10px 14px; }
.mw-example { background: #fde7e7; border-color: #b3261e; }
@media (max-width: 640px) { .mw-labels__row, .mw-facts__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---- News home (FEATURE_NEWS_HOME) ---- */
.home-news__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.home-news__main .page-title { margin: 16px 0 8px; }
.home-news__main .blog-feed { margin-top: 16px; }
.home-news__side { position: sticky; top: 110px; padding-top: 24px; }
.home-news__side .chart { margin-bottom: 24px; }
.home-news__side .chart figcaption { font-size: .85rem; }
.home-news__more { margin-top: 20px; font-family: var(--font-ui); }
@media (max-width: 960px) { .home-news__grid { grid-template-columns: 1fr; gap: 16px; } .home-news__side { position: static; border-top: 1px solid var(--line); } }

/* ---- Design proposal: typography (FEATURE_DESIGN_TYPE) ---- */
.d-type { font: 400 17px/1.65 Georgia, 'Times New Roman', serif; }
.d-type .nav__link, .d-type .btn, .d-type .year-links a { font-family: var(--font-ui); font-weight: 500; letter-spacing: .01em; }
.d-type h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.2; }
.d-type h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; }
.d-type h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.d-type .article__body p, .d-type .article__body li { font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.d-type .article-card__summary, .d-type .chart figcaption { font-family: Georgia, serif; }
.d-type .page-title { margin: 20px 0 28px; }

/* ---- Design proposal: colours (FEATURE_DESIGN_COLOURS); all pairs >= 7:1 except accent on soft grey (>= 7.3:1) ---- */
.d-colours { --text: #111111; --text-soft: #222222; --muted: #555555; --link: #0b3a63; --accent: #0b3a63; --line: #d6d9de; --bg-soft: #f3f5f8; --btn: #0b3a63; --btn-hover: #082a48; }
.d-colours .site-header { border-top: 4px solid var(--accent); }
.d-colours a:hover { color: #000; }
.d-colours .nav__link[aria-current="page"] { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.d-colours .article__summary { border-left-color: var(--accent); }
.d-colours .article-card__title a, .d-colours .site-footer__name a { color: var(--text); }
.d-colours .article-card__title a:hover { color: var(--accent); text-decoration: underline; }
.d-colours .data-table thead th { background: #1f2a37; }
.d-colours .site-footer { background: #f3f5f8; }

/* ---- Design proposal: masthead (FEATURE_DESIGN_HEADER) ---- */
.d-header .site-header__inner { padding: 14px 16px; flex-wrap: wrap; row-gap: 8px; }
.d-header .site-header__brand { display: flex; flex-direction: column; font-size: 1.6rem; line-height: 1.1; margin-right: auto; }
.d-header .site-header__tagline { font: 400 12px/1.4 var(--font-ui); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.d-header .nav { width: 100%; border-top: 1px solid var(--line); padding-top: 8px; }
.d-header .nav__list { column-gap: 28px; }
.d-header .nav__link { font-size: 15px; }
@media (max-width: 960px) { .d-header .site-header__brand { font-size: 1.25rem; } .d-header .site-header__tagline { display: none; } .d-header .nav { display: none; border-top: 0; } .d-header .nav.is-open { display: block; } }

/* ---- Design proposal: news lists (FEATURE_DESIGN_CARDS) ---- */
.d-cards .blog-feed, .d-cards .article-list__items { gap: 0; }
.d-cards .blog-entry, .d-cards .article-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0; }
.d-cards .blog-feed > li:first-child { border-top: 3px solid var(--text); }
.d-cards .mw-entry { padding-left: 14px; border-left: 4px solid var(--line); }
.d-cards .blog-entry h2.article-card__title, .d-cards .article-card__title { font-size: 1.45rem; line-height: 1.25; }
.d-cards .article-card__meta { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; font-weight: 500; }
.d-cards .home-news__main .blog-feed > li:first-child h2.article-card__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.d-cards .card, .d-cards .key-figure { border-radius: 0; }

/* ---- Design proposal: mobile (FEATURE_DESIGN_MOBILE) ---- */
@media (max-width: 640px) {
  .d-mobile h1 { font-size: 1.75rem; }
  .d-mobile h2 { font-size: 1.4rem; }
  .d-mobile .page-title { text-align: left; margin: 12px 0 20px; }
  .d-mobile .container { padding: 8px 14px 32px; }
  .d-mobile .blog-entry, .d-mobile .article-card { padding: 14px 14px; }
  .d-mobile .year-links a, .d-mobile .btn { display: block; text-align: center; padding: 14px 16px; }
  .d-mobile .site-footer__links a { display: inline-block; padding: 10px 4px; }
  .d-mobile .nav__sub .nav__link { padding: 12px 16px; }
  .d-mobile .chart figcaption { font-size: .85rem; }
  .d-mobile .article__body p, .d-mobile .article__body li { font-size: 1rem; }
}

/* (p) FEATURE_PARTY_POLICIES: policy comparison (matches navy / Georgia / ruled-row design) */
.pp { margin: 8px 0 40px; }
.pp h2 { font-family: var(--font-head); margin: 0 0 4px; }
.pp__asof { font: 400 .85rem/1.4 var(--font-ui); color: var(--muted); margin: 0 0 12px; }
.pp__method { border-left: 3px solid var(--accent, #0b3a63); padding: 2px 0 2px 16px; margin: 0 0 20px; }
.pp__method p { margin: 0 0 10px; }
.pp__topics { border-top: 2px solid var(--accent, #0b3a63); border-bottom: 1px solid var(--line); padding: 10px 0 12px; margin: 0 0 24px; }
.pp__topics-title { font: 700 .8rem/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.pp__topics ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.4em; font-family: var(--font-ui); }
.pp__topics li { padding: 3px 0; break-inside: avoid; }
.pp__topic { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 18px; scroll-margin-top: 12px; }
.pp__topic h3 { font-family: var(--font-head); margin: 0 0 10px; }
.pp__topic:target h3 { color: var(--accent, #0b3a63); }
.pp__num { color: var(--muted); }
.pp-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.pp-table thead th { font: 700 .75rem/1.3 var(--font-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; border-bottom: 2px solid var(--accent, #0b3a63); padding: 6px 10px 6px 0; }
.pp-table th[scope=row] { font: 700 .95rem/1.4 var(--font-ui); text-align: left; width: 8.5em; }
.pp-table th[scope=row], .pp-table td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; vertical-align: top; }
.pp-table td:nth-child(3) { width: 11em; font: 400 .85rem/1.4 var(--font-ui); color: var(--muted); }
.pp-table td:nth-child(4) { width: 11em; font: 400 .85rem/1.4 var(--font-ui); }
.pp-src { list-style: none; margin: 0; padding: 0; }
.pp-src li { padding: 1px 0; }
.pp-badge { display: inline-block; margin-top: 4px; font: 700 .75rem/1.3 var(--font-ui); color: #7a4a00; background: #fff4dc; border: 1px solid #e8c77a; padding: 2px 6px; }
.pp-nosrc { color: var(--muted); font-style: italic; }
.pp__top { font: 400 .8rem/1.4 var(--font-ui); margin: 6px 0 0; }
.pp__links-title { font-family: var(--font-head); border-top: 2px solid var(--accent, #0b3a63); padding-top: 14px; }
@media (max-width: 700px) {
  .pp__topics ol { columns: 1; }
  .pp__topics li a { display: inline-block; min-height: 32px; padding: 4px 0; }
  .pp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pp-table, .pp-table tbody, .pp-table tr, .pp-table th[scope=row], .pp-table td { display: block; width: auto !important; }
  .pp-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .pp-table th[scope=row], .pp-table td { border: 0; padding: 2px 0; }
  .pp-table th[scope=row] { font-size: 1.05rem; color: var(--accent, #0b3a63); }
  .pp-table td:nth-child(3)::before, .pp-table td:nth-child(4)::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
  .pp-src li { display: inline; } .pp-src li + li::before { content: " · "; }
}
@media print { .pp__top { display: none; } }

/* (r) FEATURE_MENU_RIGHT_AZ: site name left, right-aligned "Menu" panel listing every section A–Z (details/summary, works without JS). */
.menu-right .site-header__inner { flex-wrap: nowrap; }
.menu-right .site-header__brand { display: flex; flex-direction: column; margin-right: auto; }
.menu-az { position: relative; margin-left: auto; }
.menu-az__btn { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); font: 600 14px/1 var(--font-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: #fff; user-select: none; }
.menu-az__btn::-webkit-details-marker { display: none; }
.menu-az__btn:hover, .menu-az[open] .menu-az__btn { border-color: var(--accent, #000); color: var(--accent, #000); }
.menu-az__icon { display: inline-block; width: 18px; }
.menu-az__icon span { display: block; height: 2px; background: currentColor; margin: 3px 0; }
.menu-az__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent, #000); box-shadow: 0 10px 28px rgba(0,0,0,.10); padding: 14px 20px 16px; width: 520px; max-width: calc(100vw - 32px); }
.menu-az__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.menu-az__list li { margin: 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.menu-az__list a { display: block; padding: 9px 0; font: 500 15px/1.3 var(--font-ui, sans-serif); color: var(--text); text-decoration: none; }
.menu-az__list a:hover { color: var(--accent, #000); text-decoration: underline; }
.menu-az__list a[aria-current="page"] { color: var(--accent, #000); font-weight: 700; }
@media (max-width: 960px) {
  .menu-right .site-header__inner { flex-wrap: nowrap; }
  .menu-az { position: static; }
  .menu-az__btn { padding: 0 12px; }
  .menu-az__panel { left: 0; right: 0; top: 100%; width: auto; max-width: none; border-left: 0; border-right: 0; padding: 4px 16px 12px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .menu-az__list a { padding: 12px 0; font-size: 16px; }
}
@media (max-width: 420px) { .menu-az__list { columns: 1; } }

/* (s) FEATURE_MENU_SUBPAGES */
.menu-az__sub { list-style: none; margin: -4px 0 6px; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.menu-az__list .menu-az__sub li { border-bottom: 0; }
.menu-az__list .menu-az__sub a { padding: 7px 0; font-size: 14px; color: var(--muted, #555); min-height: 30px; }
.menu-az__list .menu-az__sub a::before { content: "\2013\00a0"; }
.breadcrumb { margin-top: 14px; font: 14px/1.4 var(--font-ui, sans-serif); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: var(--muted, #666); }
.breadcrumb a { display: inline-block; padding: 6px 0; }
.breadcrumb [aria-current] { color: var(--muted, #555); }
@media (max-width: 700px) { .menu-az__list .menu-az__sub a { padding: 11px 0; min-height: 44px; box-sizing: border-box; } .breadcrumb a { padding: 12px 0; } }

/* (t) FEATURE_MENU_COLLAPSE */
.menu-az__gbtn { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; min-height: 44px; box-sizing: border-box; font: 500 15px/1.3 var(--font-ui, sans-serif); color: var(--text); user-select: none; }
.menu-az__gbtn::-webkit-details-marker { display: none; }
.menu-az__gbtn:hover { color: var(--accent, #000); text-decoration: underline; }
.menu-az__gbtn:focus-visible { outline: 2px solid var(--accent, #000); outline-offset: 2px; }
.menu-az__chev { width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform .15s; flex: none; }
.menu-az__group[open] > .menu-az__gbtn .menu-az__chev { transform: rotate(225deg) translate(-2px,-2px); }
.menu-az__group[open] > .menu-az__gbtn { color: var(--accent, #000); }
.menu-az__group > .menu-az__sub { margin-top: 0; }
@media (max-width: 960px) { .menu-az__gbtn { padding: 12px 0; font-size: 16px; } }

/* (u) FEATURE_DEFINITIONS: A–Z glossary (navy / Georgia / ruled-row newspaper style) */
.gl-crumbs { padding: 0; margin: 16px 0 0; }
.gl-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; font: 400 13px/1.5 var(--font-ui); color: var(--muted); }
.gl-crumbs li { margin: 0; }
.gl-crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.gl-intro { font-family: Georgia, serif; max-width: 70ch; }
.gl-count { font-family: var(--font-ui); }
.gl-topics-h { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin: 24px 0 8px; }
.gl-topics { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 3px solid var(--text); }
.gl-topics li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: Georgia, serif; }
.gl-az { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 64px; background: var(--bg); z-index: 5; font: 500 14px/1 var(--font-ui); }
.gl-unconfirmed { color: var(--muted); font-style: italic; white-space: nowrap; }
.gl-az a, .gl-az span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; }
.gl-az a { color: var(--accent); text-decoration: none; border: 1px solid var(--line); }
.gl-az a:hover, .gl-az a:focus-visible { background: var(--accent); color: #fff; }
.gl-az span { color: #b8bcc3; }
.gl-group { padding-top: 12px; scroll-margin-top: 130px; }
.gl-group h2 { font-size: 1.6rem; border-bottom: 3px solid var(--text); padding-bottom: 4px; margin: 12px 0 8px; }
.gl-terms { list-style: none; padding: 0; margin: 0; columns: 3 220px; column-gap: 32px; }
.gl-terms li { break-inside: avoid; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line); font-family: Georgia, serif; }
.gl-terms a { text-decoration: none; }
.gl-terms a:hover { text-decoration: underline; }
.gl-top { margin: 6px 0 0; font-family: var(--font-ui); text-align: right; }
.gl-q { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-top: .4em; }
.gl-takeaways { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 14px 20px 6px; margin: 24px 0; }
.gl-takeaways h2 { font-size: 1.2rem; margin: 0 0 8px; }
.gl-related h2, .gl-reading h2 { font-size: 1.25rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
.gl-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gl-chips li { margin: 0; }
.gl-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); font: 400 14px/1.4 var(--font-ui); text-decoration: none; color: var(--accent); }
.gl-chips a:hover { border-color: var(--accent); }
.gl-reading li { font-family: Georgia, serif; }
.gl-back { margin-top: 24px; font-family: var(--font-ui); }
a.gl-link { text-decoration-style: dotted; text-decoration-color: var(--accent); }
.home-defs { margin-top: 28px; border-top: 3px solid var(--text); padding-top: 12px; }
.home-defs__list { columns: 2; column-gap: 16px; padding-left: 1.1em; }
@media (max-width: 640px) {
  .gl-az { top: 56px; gap: 2px; } .gl-az a, .gl-az span { min-width: 30px; min-height: 36px; }
  .gl-terms { columns: 1; } .gl-terms li { padding: 11px 0; }
  .gl-topics { grid-template-columns: 1fr; } .gl-topics li { padding: 12px 0; }
}
/* (w) FEATURE_EMDAT_CHART: /charts/natural-disasters */
.emdat .chart { margin: 24px 0 8px; }
.emdat .emdat-credit { font: 400 .9rem/1.5 var(--font-ui); color: var(--text-soft, #222); border-left: 4px solid var(--accent); background: var(--bg-soft, #f3f5f8); padding: 10px 14px; margin: 0 0 32px; }
.emdat blockquote { border-left: 4px solid var(--line); margin: 16px 0; padding: 4px 0 4px 16px; font-style: italic; }
.emdat .emdat-table { min-width: 0; }
.emdat .emdat-table td { text-align: right; font-variant-numeric: tabular-nums; }
/* (x) FEATURE_WAR_PAGE: header illustration on /war (added 2026-11-05) */
.war__hero { margin: 0 0 20px; }
.war__hero img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 2; object-fit: cover; object-position: center center; border-radius: 4px; background: #0b1a2e; }
.war__hero figcaption { margin-top: 6px; font: 400 12px/1.4 var(--font-ui); color: var(--muted); }
@media (max-width: 600px) { .war__hero { margin: 0 0 16px; } .war__hero img { border-radius: 2px; } .war__hero figcaption { font-size: 11px; } }

/* (x) /war two-column layout: article list + inventory chart sidebar (2026-11-05) */
.war__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; margin-top: 8px; }
.war__main { min-width: 0; }
.war__charts { min-width: 0; }
.war__charts > .h6 { margin: 0 0 12px; }
.war__chart { margin: 0 0 18px; }
.war__chart a { display: block; text-decoration: none; color: inherit; }
.war__chart img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #f3f5f8; }
.war__chart figcaption { margin-top: 6px; font: 400 13px/1.4 var(--font-ui); color: var(--text-soft); }
.war__chart figcaption a { color: var(--accent); text-decoration: none; }
.war__chart figcaption a:hover { text-decoration: underline; }
.war__charts-more { margin: 4px 0 0; font: 400 14px/1.4 var(--font-ui); }
@media (max-width: 760px) {
  .war__layout { grid-template-columns: 1fr; gap: 8px; }
  .war__charts { order: 2; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
  .war__main { order: 1; }
}

/* (y) FEATURE_FOREIGN_AID_PAGE: /foreign-aid explainer (2026-11-09) */
.foreign-aid__body .chart { margin: 20px 0 28px; }
.foreign-aid__body .table-wrap { margin-bottom: 24px; }
.foreign-aid__body h2 { margin-top: 1.8em; }
.foreign-aid__empty { margin-top: 32px; }

/* (z) FEATURE_ENERGY_PRICES_PAGE: /energy-prices explainer (2026-11-09) */
.energy-prices__body .chart { margin: 20px 0 28px; }
.energy-prices__body .table-wrap { margin-bottom: 24px; }
.energy-prices__body h2 { margin-top: 1.8em; }
.energy-prices__empty { margin-top: 32px; }

/* (aa) FEATURE_EQUAL_TREATMENT_PAGE: /equal-treatment explainer (2026-11-11) */
.equal-treatment__body .table-wrap { margin-bottom: 24px; }
.equal-treatment__body h2 { margin-top: 1.8em; }
.equal-treatment__body .data-table { min-width: 800px; }
.equal-treatment__body .data-table td:last-child { overflow-wrap: anywhere; word-break: break-word; }
.equal-treatment__body .sources__list a,
.equal-treatment__body a[href^="http"] { overflow-wrap: anywhere; }
.equal-treatment__empty { margin-top: 32px; }

/* ---- News/blog reading restyle (FEATURE_NEWS_RESTYLE). Type is scoped to the masthead, home news, /news and article pages. Background tokens are set on the body class so the whole site gets the softer paper tone consistently. Navy scheme and newspaper-style header layout are unchanged. ---- */
.news-restyle {
  --font-news: Aptos, "Segoe UI Variable", "Segoe UI", Figtree, system-ui, -apple-system, sans-serif;
  --bg: #f7f5f0;        /* warm paper (was #ffffff) */
  --bg-soft: #efece6;   /* slightly deeper warm (was #f3f5f8 under d-colours) */
  --line: #e0dcd4;      /* warm hairline to match the paper */
  --card: #fcfbf8;      /* a touch lighter than the page */
}
html:has(body.news-restyle) { background: #f7f5f0; }
.news-restyle .site-header { background: var(--bg); }
.news-restyle .site-footer,
.news-restyle.d-colours .site-footer { background: var(--bg-soft); }
.news-restyle .card,
.news-restyle .inventor-card,
.news-restyle .table-wrap,
.news-restyle .form-row input,
.news-restyle .form-row textarea,
.news-restyle .nav__sub,
.news-restyle .menu-az__btn,
.news-restyle .menu-az__panel { background: var(--card); }
.news-restyle .data-table tbody tr:nth-child(even) td { background: #f3f0e9; }
.news-restyle .war__chart img { background: var(--bg-soft); }

/* Masthead: typography only. Wording stays "UK Oversight" and the existing tagline. */
.news-restyle.d-header .site-header__brand {
  font-family: var(--font-news);
  font-weight: 600;
  font-size: 1.35rem; /* was 1.6rem, Prata 400 */
}
.news-restyle.d-header .site-header__tagline {
  font-family: var(--font-news);
  font-weight: 500; /* was 400 Roboto; size stays 12px */
}
@media (max-width: 960px) {
  .news-restyle.d-header .site-header__brand { font-size: 1.15rem; } /* was 1.25rem */
}

/* Home section headings, news listing titles, article headlines: cleaner sans, moderately smaller, tighter line-height. */
.news-restyle .home-news__main .page-title,
.news-restyle .home-news__side h2,
.news-restyle .news-index .page-title,
.news-restyle .article .article__title,
.news-restyle .article h2,
.news-restyle .article h3,
.news-restyle .article-page .article-card__title,
.news-restyle .blog-entry h2.article-card__title {
  font-family: var(--font-news);
}
.news-restyle .home-news__main,
.news-restyle .news-index,
.news-restyle .article,
.news-restyle .article-page .article-card__summary,
.news-restyle .article-page .article-card__meta,
.news-restyle .home-news__more {
  font-family: var(--font-news);
}

.news-restyle .home-news__main .page-title,
.news-restyle .news-index .page-title,
.news-restyle .article .article__title {
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem); /* was clamp(1.9rem, 3.4vw, 2.8rem) */
  line-height: 1.22;
  text-align: left;
}
.news-restyle .home-news__main .page-title { margin: 8px 0 18px; }
.news-restyle .news-index .page-title { margin: 16px 0 10px; }
.news-restyle .news-index__intro { margin: 0 0 8px; max-width: 70ch; }
.news-restyle .article .article__title { margin: 0 0 .35em; }

.news-restyle .home-news__side h2.h4 {
  font-weight: 600;
  font-size: 1.15rem; /* was 1.4rem */
  line-height: 1.3;
  margin-bottom: .7em;
}
.news-restyle .home-news__side h2.h6 {
  font-weight: 600;
  font-size: 1rem; /* was 1.1rem / 700 */
  line-height: 1.3;
}

.news-restyle .article__body h2,
.news-restyle .article__figures h2,
.news-restyle .article .sources h2,
.news-restyle .article h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem); /* was clamp(1.35rem, 2.4vw, 1.8rem) */
  font-weight: 600;
  line-height: 1.28;
  margin-top: 1.45em;
  margin-bottom: .5em;
}
.news-restyle .article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.news-restyle .home-news .blog-entry h2.article-card__title,
.news-restyle .news-index .blog-entry h2.article-card__title,
.news-restyle .article-page .article-card__title {
  font-size: 1.22rem; /* was 1.45rem */
  font-weight: 600;
  line-height: 1.3;
  margin: .25em 0 .4em;
}
.news-restyle .home-news__main .blog-feed > li:first-child h2.article-card__title {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem); /* was clamp(1.6rem, 2.6vw, 2.1rem) */
  line-height: 1.25;
}

/* Body text: comfortable measure, smoother rhythm. */
.news-restyle .article__body p,
.news-restyle .article__body li,
.news-restyle .article__summary {
  font-family: var(--font-news);
  max-width: 70ch;
}
.news-restyle .article__body p,
.news-restyle .article__body li {
  font-size: 1.05rem;
  line-height: 1.7;
}
.news-restyle .article__summary {
  font-size: 1.08rem;
  line-height: 1.55;
  padding: .15em 0 .15em 1.1em;
  margin: 0 0 1.4em;
}
.news-restyle .article__crumbs {
  font-family: var(--font-news);
  margin-bottom: .7em;
}

/* Clearer date, topic and tag meta; topic as a pill. */
.news-restyle .home-news .article-card__meta,
.news-restyle .news-index .article-card__meta,
.news-restyle .article-page .article-card__meta,
.news-restyle .article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em .7em;
  font-family: var(--font-news);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.news-restyle .home-news .article-card__meta,
.news-restyle .news-index .article-card__meta,
.news-restyle .article-page .article-card__meta {
  font-size: .8rem;
  margin: 0 0 .15em;
}
.news-restyle .article__meta {
  font-size: .88rem;
  margin: 0 0 1em;
}
.news-restyle .topic-pill,
.news-restyle .tag-pill {
  display: inline-block;
  font-family: var(--font-news);
  font-weight: 600;
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22em .65em;
  text-decoration: none;
}
.news-restyle a.topic-pill:hover { color: #000; border-color: var(--accent); }
.news-restyle .article-card__type { color: var(--muted); }
.news-restyle .article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35em;
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}
.news-restyle .article__tags .tag-pill {
  font-weight: 500;
  color: var(--text-soft);
}

/* Excerpt cards: consistent length in the markup; keep approved ruled rows, with slightly roomier padding. */
.news-restyle .home-news .blog-entry,
.news-restyle .news-index .blog-entry,
.news-restyle .article-page .article-card {
  padding: 1.3rem 0;
}
.news-restyle .home-news .article-card__summary,
.news-restyle .news-index .article-card__summary,
.news-restyle .article-page .article-card__summary {
  font-family: var(--font-news);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 70ch;
  color: var(--text-soft);
  margin: 0;
}

/* Block quotes, lists and source links. */
.news-restyle .article__body blockquote {
  margin: 1.2em 0;
  padding: .15em 0 .15em 1.15em;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-style: italic;
  max-width: 70ch;
}
.news-restyle .article__body ul,
.news-restyle .article__body ol {
  max-width: 70ch;
  padding-left: 1.25em;
  margin: 0 0 1em;
}
.news-restyle .article__body li { margin-bottom: .45em; }
.news-restyle .article .sources {
  max-width: 70ch;
  margin-top: 2em;
  padding-top: 1.15em;
}
.news-restyle .article .sources__list {
  font-family: var(--font-news);
  font-size: .88rem;
  line-height: 1.55;
}
.news-restyle .article .sources__url {
  color: var(--link);
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .news-restyle .home-news__main .page-title,
  .news-restyle .news-index .page-title,
  .news-restyle .article .article__title { font-size: 1.45rem; } /* was 1.75rem */
  .news-restyle .home-news .blog-entry,
  .news-restyle .news-index .blog-entry,
  .news-restyle .article-page .article-card { padding: 1.1rem 0; }
  .news-restyle .article__body p,
  .news-restyle .article__body li { font-size: 1.02rem; }
}

/* (ac) FEATURE_U_TURNS_PAGE: /u-turns living page (2026-11-14) */
.u-turns__updated { margin: 0 0 1.25rem; }
.u-turns__contents { margin: 1.5rem 0 2rem; padding: 1rem 1.15rem; border: 1px solid var(--line); background: #fff; max-width: 70ch; }
.u-turns__contents h2 { margin: 0 0 .6rem; }
.u-turns__contents > ul { margin: 0; padding-left: 1.2em; }
.u-turns__contents li { margin: .25em 0; }
.u-turns__contents ul ul { margin: .15em 0 .4em; padding-left: 1.1em; }
.u-turns__body h2 { margin-top: 2em; }
.u-turns__body h3 { margin-top: 1.6em; }
.u-turns__body a[href^="http"] { overflow-wrap: anywhere; }
.video-embed { margin: 1em 0 1.4em; max-width: 720px; }
.video-embed__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.video-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__source { margin: .45em 0 0; font-size: .95rem; }
@media (max-width: 640px) {
  .video-embed { max-width: none; }
  .u-turns__contents { padding: .85rem 1rem; }
}

/* (ad) FEATURE_CONTRADICTIONS_PAGE: /contradictions standing section (2026-11-16) */
.contradictions__updated { margin: 0 0 1.25rem; }
.contradictions__contents { margin: 1.5rem 0 2rem; padding: 1rem 1.15rem; border: 1px solid var(--line); background: #fff; max-width: 70ch; }
.contradictions__contents h2 { margin: 0 0 .6rem; }
.contradictions__contents > ul { margin: 0; padding-left: 1.2em; }
.contradictions__contents li { margin: .25em 0; }
.contradictions__contents ul ul { margin: .15em 0 .4em; padding-left: 1.1em; }
.contradictions__body h2 { margin-top: 2em; }
.contradictions__body h3 { margin-top: 1.6em; }
.contradictions__body a[href^="http"] { overflow-wrap: anywhere; }
.contradictions__body hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.contradictions__articles { margin-top: 2.5rem; }
@media (max-width: 640px) {
  .contradictions__contents { padding: .85rem 1rem; }
}
