/* NewsNet 2 — редакційна система стилів. Mobile-first, світла/темна тема, без залежностей.
   Токени: кеглі (display 48/34 · h1 44/30 · lead 21/19 · body 19/18 · card 22/19 · row 18/17 · ui 15 · meta 13 · kicker 12),
   ритм кратний 8, радіус 0 для медіа й карток, 4 px для кнопок/чипів. */

/* ---------- Шрифти (self-hosted, subset lat+cyr, OFL — див. assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-serif-4-700.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-serif-4-600.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-serif-4-400-italic.woff2) format("woff2"); }
/* Метрично підігнаний fallback — без стрибка рядків (CLS) під час підміни шрифту. */
@font-face { font-family: "Source Serif Fallback"; font-style: normal; src: local("Times New Roman"), local("Liberation Serif"), local("Tinos"), local("Georgia"); size-adjust: 104%; ascent-override: 99%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("Liberation Serif Italic"), local("Tinos Italic"), local("Georgia Italic"); size-adjust: 106%; ascent-override: 97.5%; descent-override: 31.5%; line-gap-override: 0%; }

/* ---------- Токени ---------- */
:root {
	--accent: #005a9c;
	--accent-ink: #004a80;
	--accent-wash: #f0f5fa;
	--on-accent: #fff;
	--f-head: "Source Serif 4", "Source Serif Fallback", Georgia, serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--f-lead: "Source Serif 4", "Source Serif Fallback", Georgia, serif;
	--bg: #fff;
	--bg-alt: #f5f5f2;
	--bg-raise: #fff;
	--fg: #141414;
	--fg-2: #33363b;
	--muted: #5d6167;
	--line: #e2e2dd;
	--rule: #141414;
	--breaking: #c8102e;
	--breaking-ink: #b40e29;
	--ok: #106b3b;
	--warn: #8f4a00;
	--alarm: #b8191c;
	--info: var(--accent-ink);
	--focus: var(--accent-ink);
	--footer-bg: #121416;
	--r: 4px;
	--wrap: 1280px;
	--gut: 16px;
	--s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1013;
		--bg-alt: #171a1f;
		--bg-raise: #1b1f25;
		--fg: #ecedef;
		--fg-2: #c9cdd3;
		--muted: #9ba2ac;
		--line: #2b3038;
		--rule: #ecedef;
		--breaking-ink: #ff7d88;
		--ok: #4cc27f;
		--warn: #f0a24a;
		--alarm: #ff6b6b;
		--footer-bg: #08090b;
	}
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--fg); color: var(--bg); padding: 12px 16px; font-weight: 700; }
.skip-link:focus { top: 8px; color: var(--bg); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.site-main { display: block; padding-bottom: var(--s6); min-height: 50vh; }
.site-main:focus { outline: 0; }
.mark { flex: none; width: var(--mark, 40px); height: var(--mark, 40px); }

/* ---------- Кнопки, форми ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--fg); border-radius: var(--r); background: var(--fg); color: var(--bg); font-weight: 700; font-size: .9375rem; cursor: pointer; }
.btn:hover { color: var(--bg); background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { color: var(--accent-ink); background: transparent; border-color: var(--fg); }
.btn--block { width: 100%; margin-top: var(--s3); }
.search-form { display: flex; gap: 8px; }
.search-form__input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--muted); border-radius: var(--r); background: var(--bg-raise); }
.search-form__input:focus { border-color: var(--fg); outline: 2px solid var(--focus); outline-offset: 0; }

/* ---------- Шапка ---------- */
.topbar { font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 32px; white-space: nowrap; overflow: hidden; }
.topbar__date { font-weight: 600; color: var(--fg-2); }
.topbar__item { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.topbar__item .ico { width: 16px; height: 16px; }
.topbar__links { margin-left: auto; display: flex; gap: 16px; }
.topbar__links a { display: inline-block; padding-block: 6px; }
.masthead { display: flex; align-items: center; gap: 16px; padding-block: 12px; position: relative; }
.brand { margin: 0; font: inherit; }
.brand__link { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.brand__link:hover { color: var(--fg); }
.brand__mark { --mark: 36px; }
.brand__name { font-family: var(--f-head); font-size: 1.375rem; line-height: 1; letter-spacing: -.015em; white-space: nowrap; }
.brand__w1 { font-weight: 600; }
.brand__w2 { font-weight: 700; color: var(--accent-ink); }
.brand .custom-logo { max-height: 48px; width: auto; }
.brand__tag { display: none; margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.35; max-width: 30ch; }
.search-toggle { margin-left: auto; }
.search-toggle summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; border-radius: var(--r); color: var(--fg-2); }
.search-toggle summary::-webkit-details-marker { display: none; }
.search-toggle summary:hover { background: var(--bg-alt); }
.search-toggle[open] summary { background: var(--bg-alt); }
.search-toggle__txt { display: none; font-weight: 600; font-size: .9375rem; }
.search-toggle__panel { position: absolute; left: var(--gut); right: var(--gut); top: 100%; z-index: 30; padding: 12px; background: var(--bg-raise); border: 1px solid var(--line); box-shadow: 0 12px 32px rgb(0 0 0 / .14); }

.mainnav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 2px solid var(--rule); }
.mainnav__in { position: relative; }
.mainnav .menu { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; white-space: nowrap; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px; }
.mainnav .menu::-webkit-scrollbar { display: none; }
.mainnav li { scroll-snap-align: start; }
.mainnav a { display: block; padding: 12px 10px; font-weight: 600; font-size: .9375rem; position: relative; }
.mainnav li:first-child a { padding-left: 0; }
.mainnav a[aria-current], .mainnav .current-menu-item > a { color: var(--fg); }
.mainnav a[aria-current]::after, .mainnav .current-menu-item > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 4px; background: var(--accent); }
.mainnav li:first-child a[aria-current]::after { left: 0; }
.admin-bar .mainnav { top: 46px; }

/* ---------- Реклама (лише коли є код; CLS-safe) ---------- */
.ad-wrap { padding-top: var(--s3); }
.ad-slot { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 250px; margin: var(--s4) 0; background: var(--bg-alt); }
.ad-slot::before { content: attr(data-label); position: absolute; top: 4px; left: 8px; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-slot--header, .ad-slot--home-inline { min-height: 100px; }
.ad-slot--in-article { min-height: 280px; }

/* ---------- Типові елементи ---------- */
.kicker { display: inline-block; font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); line-height: 1.3; }
a.kicker { padding-block: 6px; margin-block: -6px; }
a.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }
.flag { display: inline-block; padding: 3px 7px 2px; background: var(--breaking); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 8px; font-size: .8125rem; color: var(--muted); }
.meta time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: var(--s3); border-top: 2px solid var(--rule); padding-top: 10px; }
.sec-title { display: flex; align-items: center; gap: 8px; font-family: var(--f-body); font-size: .8125rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.sec-more { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-size: .8125rem; font-weight: 700; color: var(--fg-2); white-space: nowrap; }
.sec-more:hover { color: var(--accent-ink); }
.section { margin-top: var(--s6); }
.grid { display: grid; gap: var(--s4) var(--s4); }
.empty { padding: var(--s5) 0; color: var(--muted); }

/* ---------- Картки ---------- */
.card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.card__media { display: block; overflow: hidden; background: var(--bg-alt); aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .card__media img { transition: transform .5s ease; } .card:hover .card__media img { transform: scale(1.02); } }
.card__body { padding-top: 12px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.22; letter-spacing: -.005em; }
.card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; }
.card__title a:hover { color: var(--accent-ink); }
.card__excerpt { margin: 8px 0 0; color: var(--fg-2); font-size: .9375rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Типографська картка (без фото): верхня лінійка 2 px, кікер, заголовок 700, лід, мета внизу. */
.card--type { border-top: 2px solid var(--rule); }
.card--type .card__title { font-weight: 700; }
.card--type .card__excerpt { -webkit-line-clamp: 2; }

/* Головна новина */
.card--lead .card__title { font-size: 1.75rem; line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }
.card--lead .card__excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; color: var(--fg-2); }
.card--lead.card--img .card__media { aspect-ratio: 3 / 2; }
.card--lead.card--type { border-top: 0; border-left: 4px solid var(--accent); background: var(--accent-wash); }
.card--lead.card--type .card__body { padding: var(--s4) 20px; }
.card--lead.card--type .card__title { font-size: 2.125rem; line-height: 1.08; }
.card--lead.card--type .card__excerpt { font-family: var(--f-lead); font-style: italic; font-size: 1.1875rem; line-height: 1.45; -webkit-line-clamp: 5; margin-top: 12px; }

/* Рядок списку */
.card--row { flex-direction: row; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.card--row .card__body { order: 1; padding-top: 0; }
.card--row .card__media { order: 2; flex: none; width: 96px; aspect-ratio: 3 / 2; }
.card--row.card--type { border-top: 0; }
.card--row .card__title { font-size: 1.0625rem; line-height: 1.28; }
.card--row .meta { margin-bottom: 4px; }

.card--text { padding-top: 12px; }
.card--text .card__title { font-size: 1.0625rem; }
.card--big .card__title { font-size: 1.5rem; line-height: 1.15; font-weight: 700; }

/* Номер у списку «Найважливіше» */
.card__num { font-family: var(--f-head); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--accent-ink); margin-bottom: 4px; }

/* Обкладинка M2 (лише для великих фото) */
.card--cover.card--img, .card--cover-sm.card--img { overflow: hidden; }
.card--cover.card--img .card__media { aspect-ratio: 4 / 3; }
.card--cover.card--img .card__body, .card--cover-sm.card--img .card__body { position: absolute; inset: auto 0 0 0; padding: 64px 16px 16px; color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .88) 15%, rgb(0 0 0 / .45) 65%, transparent); pointer-events: none; }
.card--cover.card--img .card__body a, .card--cover-sm.card--img .card__body a { pointer-events: auto; }
.card--cover.card--img .card__title a:hover, .card--cover-sm.card--img .card__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.card--cover.card--img .meta, .card--cover-sm.card--img .meta { color: rgb(255 255 255 / .9); }
.card--cover.card--img .kicker, .card--cover-sm.card--img .kicker { color: #fff; }
.card--cover .card__title { font-size: 1.625rem; line-height: 1.1; }
.card--cover.card--img .card__excerpt { display: none; }
.card--cover.card--type { border-top: 0; border-left: 4px solid var(--accent); background: var(--accent-wash); }
.card--cover.card--type .card__body { padding: var(--s4) 20px; justify-content: flex-end; }
.card--cover.card--type .card__title { font-size: 2rem; }
.card--cover.card--type .card__excerpt { font-family: var(--f-lead); font-style: italic; font-size: 1.1875rem; -webkit-line-clamp: 4; }
.card--cover-sm .card__title { font-size: 1.1875rem; }
.card--cover-sm.card--img .card__media { aspect-ratio: 16 / 9; }

/* ---------- Стрічка ---------- */
.feed__list { list-style: none; }
.feed__item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96875rem; line-height: 1.38; }
.feed__item time { font-weight: 700; font-size: .8125rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.feed__item a { font-weight: 600; }
.feed__item .kicker { display: block; margin-top: 4px; font-size: .6875rem; color: var(--muted); letter-spacing: .05em; }
.feed__item.is-important a { font-weight: 800; }
.feed__item.is-important time { color: var(--breaking-ink); }
.feed__day { padding: 16px 0 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-2); border-bottom: 1px solid var(--line); }
.feed--side .feed__item { grid-template-columns: 1fr; gap: 2px; }
.feed--side .feed__item time { font-weight: 600; color: var(--muted); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--breaking); box-shadow: 0 0 0 0 color-mix(in srgb, var(--breaking) 60%, transparent); }
@media (prefers-reduced-motion: no-preference) { .live { animation: pulse 2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Статуси (тікер) ---------- */
.st-ok { --st: var(--ok); }
.st-warn { --st: var(--warn); }
.st-alarm { --st: var(--alarm); }
.st-info { --st: var(--info); }
.st-wait { --st: var(--muted); }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st, var(--muted)); }
.strip { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: var(--s3) 0 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.strip__item { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 28px; }
a.strip__item:hover strong { text-decoration: underline; }
.strip__label { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.strip__item strong { color: var(--st); }
.strip__note { color: var(--fg-2); }

/* ---------- M1 ---------- */
.m1__grid { display: grid; gap: var(--s5); margin-top: var(--s4); }
.m1__top { margin-top: var(--s5); }
.catblocks { display: grid; gap: var(--s5); margin-top: var(--s6); }
.catblock .card--row:last-child { border-bottom: 0; }
.catblock > .card--card { margin-bottom: var(--s2); }

/* ---------- Стартовий режим (0–4 новини) ---------- */
.home-few { display: grid; gap: var(--s5); margin-top: var(--s4); }
.welcome { padding: var(--s5) 20px; border-left: 4px solid var(--accent); background: var(--accent-wash); }
.welcome__mark { --mark: 64px; margin-bottom: var(--s3); }
.welcome__title { margin: 8px 0 12px; font-size: 2rem; line-height: 1.1; }
.welcome__text { color: var(--fg-2); max-width: 60ch; }
.welcome__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0 0; }
.aboutcard { padding: var(--s4); border-top: 2px solid var(--rule); background: var(--bg-alt); font-size: .9375rem; color: var(--fg-2); }
.aboutcard .mark { --mark: 44px; margin-bottom: 12px; }
.aboutcard__title { font-size: 1.25rem; color: var(--fg); margin-bottom: 8px; }
.aboutcard__links { list-style: none; }
.aboutcard__links a { display: inline-flex; gap: 6px; min-height: 36px; align-items: center; font-weight: 700; color: var(--fg); }
.aboutcard__links a:hover { color: var(--accent-ink); }

/* ---------- M2: журнал ---------- */
.m2__top { display: grid; gap: var(--s4); margin-top: var(--s4); }
.m2__side { display: grid; gap: var(--s4); align-content: start; }
.m2__catgrid { display: grid; gap: 0 var(--s4); }
.m2__catgrid > .card--big { margin-bottom: var(--s2); }
.m2__cats { display: grid; gap: 0 var(--s5); }
.afisha { margin-top: var(--s6); padding: var(--s4) 0; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--line); }
.afisha .sec-head { border-top: 0; padding-top: 0; }
.afisha__list { list-style: none; display: grid; gap: var(--s3); }
.afisha__item { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); align-items: start; }
.afisha__date { display: flex; flex-direction: column; align-items: center; padding: 6px 0 8px; border: 1px solid var(--rule); font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.afisha__date b { font-family: var(--f-head); font-size: 1.625rem; font-weight: 700; color: var(--accent-ink); letter-spacing: 0; }
.afisha__media { display: none; }
.afisha__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.28; }

/* ---------- M3: сервіс ---------- */
.tiles { margin-top: var(--s4); }
.tiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { display: flex; flex-direction: column; gap: 4px; min-height: 128px; padding: 16px; background: var(--bg); color: var(--fg); position: relative; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--st, var(--line)); }
a.tile:hover { color: var(--fg); background: var(--bg-alt); }
.tile__head { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile__head .ico { width: 18px; height: 18px; color: var(--st); }
.tile__val { font-family: var(--f-head); font-size: 1.375rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile__note { font-size: .875rem; color: var(--fg-2); line-height: 1.35; }
.tile__upd { margin-top: auto; font-size: .75rem; color: var(--muted); }
.tiles__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.m3__body { margin-top: var(--s5); }
.m3__body > .section { margin-top: 0; }

/* ---------- M4: діловий ---------- */
.m4__top { display: grid; gap: var(--s5); margin-top: var(--s4); }
.keystory { display: grid; gap: var(--s3); }
.keystory__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.keystory__media img { width: 100%; height: 100%; object-fit: cover; }
.keystory__title { font-size: 1.875rem; line-height: 1.1; letter-spacing: -.015em; }
.keystory__lead { margin: 12px 0 20px; color: var(--fg-2); font-family: var(--f-lead); font-style: italic; font-size: 1.1875rem; line-height: 1.45; }
.keystory--type { border-left: 4px solid var(--accent); background: var(--accent-wash); padding: var(--s4) 20px; }
.rates { align-self: start; border-top: 2px solid var(--rule); padding-top: 10px; }
.rates .sec-title { margin-bottom: 8px; }
.m4__cols { display: grid; gap: var(--s5) var(--s6); margin-top: var(--s6); }
.m4__cols > .section { margin-top: 0; }
.tenders__list { list-style: none; }
.tenders__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tenders__item time { grid-column: 1 / -1; font-size: .8125rem; color: var(--muted); }
.tenders__item a { font-weight: 700; line-height: 1.35; }
.tenders__sum { align-self: start; font-weight: 800; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Хаби, таблиці ---------- */
.tbl { font-size: .9375rem; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.tbl caption { text-align: left; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 0; }
.tbl th, .tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl thead th { font-size: .75rem; color: var(--muted); font-weight: 700; }
.tbl--num td, .tbl--num thead th:not(:first-child) { text-align: right; }
.tbl th small { color: var(--muted); font-weight: 400; }
.delta { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.delta--up { color: var(--ok); }
.delta--down { color: var(--alarm); }
.hub { margin: var(--s4) 0; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--st, var(--rule)); background: var(--bg-raise); }
.hub__title { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin-bottom: 10px; }
.hub__now { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 1.125rem; }
.hub__now strong { color: var(--st); }
.hub__now span { color: var(--fg-2); font-size: .95rem; }
.hub__list { list-style: none; }
.hub__list li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hub__list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .875rem; }
.hub__upd, .hub__empty { margin: 8px 0 0; font-size: .8125rem; color: var(--muted); }
.hub__facts { color: var(--fg-2); }
.fc { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.fc li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; background: var(--bg-alt); text-align: center; }
.fc span { font-size: 1.25rem; font-weight: 800; }
.fc small { color: var(--muted); }
.fc em { font-style: normal; font-size: .75rem; color: var(--fg-2); }

/* ---------- Сторінки списків ---------- */
.crumbs { margin: var(--s3) 0 var(--s2); font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs ol { list-style: none; display: flex; gap: 4px; }
.crumbs li { min-width: 0; }
.crumbs li:not(:last-child) { flex: none; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.crumbs a { display: inline-block; padding-block: 6px; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; }
.crumbs a, .crumbs [aria-current] { line-height: 1.5; }
.page-head { padding: var(--s2) 0 var(--s4); margin-bottom: var(--s3); border-bottom: 2px solid var(--rule); }
.page-head .kicker { margin-bottom: 8px; }
.page-title { font-size: 2rem; line-height: 1.08; letter-spacing: -.015em; }
.page-desc { margin: 12px 0 0; color: var(--fg-2); max-width: 68ch; font-size: 1.0625rem; }
.page-desc p:last-child { margin: 0; }
.page-count { margin: 8px 0 0; font-size: .875rem; color: var(--muted); }
.page-search { margin-top: var(--s3); max-width: 560px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: var(--s3); }
.layout-side { display: grid; gap: var(--s6); }
.list > .card--lead { padding-bottom: var(--s4); margin-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.list > .card--row:last-of-type { border-bottom: 0; }
.list__cards { display: grid; gap: var(--s4); margin: var(--s2) 0 var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.sidebar { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.author-box { display: flex; gap: 20px; align-items: flex-start; }
.author-box .mark { --mark: 72px; }
.notfound { padding: var(--s6) 0 var(--s4); max-width: 640px; }
.notfound__code { margin: 0; font-family: var(--f-head); font-size: 5rem; font-weight: 700; line-height: 1; color: var(--accent-ink); }
.notfound .page-title { margin: 8px 0 12px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); align-items: center; }
.notfound__actions .search-form { flex: 1 1 320px; }

/* Пагінація */
.pagination { margin: var(--s5) 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; font-variant-numeric: tabular-nums; }
.page-numbers.current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.page-numbers.dots { border: 0; min-width: 20px; }
a.page-numbers:hover { border-color: var(--fg); color: var(--fg); }
.page-numbers.prev, .page-numbers.next { font-weight: 600; }

/* Чипи (теги, підрубрики) */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s4) 0 0; }
.tags a, .subcats a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: .875rem; font-weight: 600; color: var(--fg-2); }
.tags a:hover, .subcats a:hover { border-color: var(--fg); color: var(--fg); }

/* ---------- Стаття ---------- */
.article-grid { display: grid; gap: var(--s6); }
.entry { min-width: 0; }
.entry__head { padding-top: var(--s2); }
.entry__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.entry__title { font-size: 1.875rem; line-height: 1.1; letter-spacing: -.018em; }
.entry__lead { margin: var(--s3) 0 0; font-family: var(--f-lead); font-style: italic; font-size: 1.1875rem; line-height: 1.45; color: var(--fg-2); max-width: 60ch; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: var(--s4); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entry__by { display: flex; align-items: center; gap: 12px; min-width: 0; }
.entry__mark { --mark: 36px; }
.byline { display: inline-block; font-weight: 700; font-size: .9375rem; color: var(--fg); padding-block: 2px; }
.byline:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.entry__dates { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry__dates > * + *::before { content: "·"; margin-right: 12px; }
.upd { color: var(--fg-2); font-weight: 600; }
.share { display: flex; align-items: center; gap: 6px; }
.share__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
.share__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg-2); cursor: pointer; padding: 0; }
.share__btn:hover { border-color: var(--fg); color: var(--fg); }
.share__done { display: none; position: absolute; top: calc(100% + 6px); right: 0; padding: 4px 8px; background: var(--fg); color: var(--bg); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.share__copy.is-done .share__done { display: block; }
.entry__hero { margin: var(--s4) calc(-1 * var(--gut)) 0; }
.entry__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt); }
.entry__hero figcaption { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 8px var(--gut) 0; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.credit__label { font-weight: 700; color: var(--fg-2); }
.credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.credit a:hover { color: var(--fg); text-decoration-color: currentColor; }
.entry__content { margin-top: var(--s4); font-size: 1.125rem; line-height: 1.65; max-width: 68ch; color: var(--fg); }
.entry__content > * { margin: 0 0 1.1em; }
.entry__content h2 { font-size: 1.5rem; line-height: 1.2; margin: 1.6em 0 .6em; }
.entry__content h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.entry__content a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry__content a:hover { color: var(--accent-ink); }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .4em; }
.entry__content li::marker { color: var(--accent-ink); }
.entry__content blockquote { margin: 1.6em 0; padding: 20px 0; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); font-family: var(--f-lead); font-style: italic; font-size: 1.375rem; line-height: 1.4; color: var(--fg); }
.entry__content blockquote p { margin: 0 0 .5em; }
.entry__content blockquote p::before { content: "«"; }
.entry__content blockquote p::after { content: "»"; }
.entry__content blockquote cite { display: block; margin-top: 8px; font-family: var(--f-body); font-style: normal; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
/* «Читайте також:» усередині тексту (inc/incontent.php) */
.entry__content .also { margin: 1.4em 0 1.6em; padding: 12px 0 12px 16px; border-left: 4px solid var(--accent); background: var(--accent-wash); font-family: var(--f-body); }
.entry__content .also__label { margin: 0 0 4px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); }
.entry__content .also__list { list-style: none; margin: 0; padding: 0 12px 0 0; }
.entry__content .also__list li { margin: 0; padding: 4px 0; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.entry__content .also__list li + li { border-top: 1px solid var(--line); }
.entry__content .also__list a { text-decoration-thickness: 1px; }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content figcaption, .wp-caption-text { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.entry__content table { font-size: .9375rem; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.entry__content th, .entry__content td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry__content thead th { font-size: .8125rem; color: var(--muted); border-bottom: 2px solid var(--rule); }
.entry--page .entry__title { font-size: 2rem; }
.entry__foot { max-width: 68ch; margin-top: var(--s5); }
.sources { padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--bg-alt); }
.sources__title { font-family: var(--f-body); font-size: .8125rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }
.sources ol { padding-left: 1.4em; font-size: .9375rem; }
.sources li { padding: 4px 0; }
.sources li::marker { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.sources a { display: inline; font-weight: 600; }
.sources a:hover .sources__name { text-decoration: underline; text-underline-offset: 3px; }
.sources__host { font-weight: 400; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.sources__ext { color: var(--muted); }
.correction { margin: var(--s3) 0 0; padding: 12px 16px; border-left: 4px solid var(--warn); background: var(--bg-alt); font-size: .9375rem; }
.ai-note { margin: var(--s3) 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.ai-note a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding-block: 4px; white-space: nowrap; }
.ai-note a { margin-right: 16px; }
.ai-note a:hover { color: var(--fg); }
.hub-link { margin: var(--s4) 0 0; }
.hub-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.hub-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.related { margin-top: var(--s6); }
.related__grid { display: grid; gap: 0 var(--s4); }
.post-password-form { margin: 8px 0 24px; padding: 18px; border: 1px solid var(--line); background: var(--bg-alt); }
.pw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pw-row label { width: 100%; font-weight: 700; font-size: .875rem; }
.pw-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--muted); border-radius: var(--r); background: var(--bg-raise); }
.page-links { margin: var(--s4) 0; font-weight: 700; }

/* Коментарі */
.comments { margin-top: var(--s5); }
.comment-list { list-style: none; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-list .comment-body { font-size: .9375rem; }
.comments label { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 4px; }
.comments textarea, .comments input[type=text], .comments input[type=email] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--muted); border-radius: var(--r); background: var(--bg-raise); }
.comments .submit { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--fg); color: var(--bg); font-weight: 700; cursor: pointer; }
.comments .comment-notes, .comments__closed { font-size: .875rem; color: var(--muted); }
.comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comments .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-reply-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.comment-metadata a { display: inline-block; padding-block: 6px; color: var(--muted); font-size: .875rem; }

/* ---------- Підвал ---------- */
.site-footer { margin-top: var(--s6); background: var(--footer-bg); color: #c6cbd2; font-size: .9375rem; border-top: 4px solid var(--accent); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid { display: grid; gap: var(--s5); padding-block: var(--s6) var(--s5); }
.footer__name { margin: 0 0 12px; }
.footer__name a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 1.375rem; line-height: 1; color: #fff; }
.footer__name a:hover { text-decoration: none; color: #fff; }
.footer__name .brand__w2 { color: #fff; }
.footer__name .mark { --mark: 36px; }
.footer__desc { color: #aab1bc; margin-bottom: 8px; }
.footer__note { font-size: .875rem; color: #9aa2ad; max-width: 44ch; }
.footer__note a { color: #d9dde3; text-decoration: underline; text-underline-offset: 3px; }
.footer__h { font-family: var(--f-body); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9aa2ad; margin-bottom: 8px; }
.footer__col ul { list-style: none; display: grid; gap: 0 var(--s4); }
.footer__col--cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__col a { display: inline-block; padding-block: 6px; }
.footer__imprint dl { margin: 0; font-size: .875rem; }
.footer__imprint div { padding: 4px 0; }
.footer__imprint dt { color: #9aa2ad; font-size: .75rem; }
.footer__imprint dd { margin: 0; color: #e3e6ea; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px 24px; border-top: 1px solid #2a2e36; font-size: .8125rem; color: #9aa2ad; }
.footer__bottom p { margin: 0; }
.totop { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #c6cbd2; }
@media (max-width: 639px) {
	.single .ad-wrap { display: none; }
	.topbar__item { display: none; }
	.strip { flex-direction: column; gap: 2px; }
	.strip__item { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
	.strip__note { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
}

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
	:root { --gut: 24px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--row .card__media { width: 160px; }
	.card--lead .card__title { font-size: 2.125rem; }
	.card--lead.card--type .card__body { padding: var(--s5); }
	.card--lead.card--type .card__title { font-size: 2.5rem; }
	.m2__side { grid-template-columns: 1fr 1fr; }
	.tiles__grid { grid-template-columns: repeat(3, 1fr); }
	.tiles__grid > :last-child:nth-child(odd) { grid-column: auto; }
	.afisha__list { grid-template-columns: 1fr 1fr; gap: var(--s4); }
	.entry__hero { margin-inline: 0; }
	.entry__hero figcaption { padding-inline: 0; }
	.related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
	.list__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.catblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.welcome { padding: var(--s6); }
	.welcome__title { font-size: 2.5rem; }
}
/* Мобільний: related і «Головне за добу» — рядки з мініатюрою праворуч */
@media (max-width: 639px) {
	.related__grid .card, .m1__top .card { flex-direction: row; gap: var(--s3); padding: var(--s3) 0; border-top: 0; border-bottom: 1px solid var(--line); }
	.related__grid .card__media, .m1__top .card__media { order: 2; flex: none; width: 96px; }
	.related__grid .card__body, .m1__top .card__body { padding-top: 0; }
	.related__grid .card__title, .m1__top .card__title { font-size: 1.0625rem; }
	.m1__top .card__excerpt { display: none; }
	.m1__top .grid { gap: 0; }
}

/* ---------- ≥ 1000px ---------- */
@media (min-width: 1000px) {
	.topbar__links { display: flex; }
	.masthead { padding-block: 20px 16px; gap: 24px; }
	.brand__mark { --mark: 48px; }
	.brand__link { gap: 14px; }
	.brand__name { font-size: 2.125rem; }
	.brand__tag { display: block; padding-left: 24px; border-left: 1px solid var(--line); }
	.search-toggle__txt { display: inline; }
	.search-toggle summary { padding: 0 16px; border: 1px solid var(--line); }
	.search-toggle__panel { left: auto; right: var(--gut); width: 440px; }
	.mainnav .menu { -webkit-mask-image: none; mask-image: none; padding-right: 0; }
	.mainnav a { padding: 13px 12px; }
	.admin-bar .mainnav { top: 32px; }

	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.card__title { font-size: 1.375rem; }
	.card--row .card__title { font-size: 1.125rem; }
	.card--lead .card__title { font-size: 2.25rem; }
	.card--lead .card__excerpt { font-size: 1.1875rem; }
	.card--lead.card--type .card__title { font-size: 3rem; line-height: 1.05; }
	.card--lead.card--type .card__excerpt { font-size: 1.3125rem; }
	.card--lead.card--type .card__body { padding: var(--s6) var(--s6) var(--s5); }
	.page-title { font-size: 2.75rem; }
	.layout-side { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s6); }
	.sidebar > :last-child { position: sticky; top: 72px; }

	.m1__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); }
	.m1__feed { border-left: 1px solid var(--line); padding-left: var(--s4); }
	.m1__top .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.catblocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
	.catblocks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.catblocks--1 { grid-template-columns: 1fr; }
	.catblocks--1 .catblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--s5); align-items: start; }
	.catblocks--1 .sec-head { grid-column: 1 / -1; }
	.catblocks--1 .catblock > .card--card { grid-row: span 3; }
	.catblocks--1 .catblock > .card--row:nth-child(3) { padding-top: 0; }

	.home-few { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); }
	.welcome__title { font-size: 3rem; }

	.m2__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
	.m2__side { grid-template-columns: 1fr; }
	.card--cover.card--img .card__media { aspect-ratio: auto; height: 100%; min-height: 480px; }
	.card--cover .card__title { font-size: 2.5rem; }
	.card--cover.card--img .card__body { padding: 96px 32px 32px; }
	.card--cover.card--img .card__excerpt { display: block; color: rgb(255 255 255 / .9); }
	.card--cover.card--type { min-height: 420px; }
	.card--cover.card--type .card__body { padding: var(--s6); }
	.card--cover.card--type .card__title { font-size: 2.75rem; }
	.m2__cats { grid-template-columns: 1fr 1fr; }
	.m2__catgrid > .card--big { margin-bottom: var(--s3); }
	.afisha__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.tiles__grid { grid-template-columns: repeat(5, 1fr); }
	.tile { min-height: 160px; padding: 20px; }
	.tile__val { font-size: 1.625rem; }

	.m4__top { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); }
	.m4__top--solo { grid-template-columns: 1fr; }
	.keystory--img { grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
	.keystory__title { font-size: 2.5rem; }
	.keystory--img .keystory__title { font-size: 2rem; }
	.m4__cols { grid-template-columns: 1fr 1fr; }

	.article-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); }
	.article-grid--solo { grid-template-columns: minmax(0, 8fr); justify-content: center; }
	.article-grid .sidebar { padding-top: 64px; }
	.entry__title { font-size: 2.75rem; line-height: 1.07; }
	.entry__lead { font-size: 1.3125rem; }
	.entry__content { font-size: 1.1875rem; }
	.entry--page .entry__title { font-size: 2.75rem; }
	.footer__grid { grid-template-columns: 5fr 4fr 3fr 4fr; gap: var(--s5); }
	.list__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
	.entry__title { font-size: 3rem; }
}

@media (prefers-color-scheme: dark) {
	.site-footer { border-top-color: var(--line); }
	.card__media, .entry__hero img { filter: brightness(.94); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Друк ---------- */
@media print {
  .also { display: none !important; }
	.topbar, .mainnav, .search-toggle, .site-footer, .sidebar, .ad-slot, .share, .related, .comments, .hub-link, .skip-link, .crumbs, .tags { display: none !important; }
	body { color: #000; background: #fff; font-size: 11pt; }
	.entry__content { max-width: none; font-size: 11pt; }
	.entry__content a::after, .sources a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; word-break: break-all; }
	.sources { border-left-color: #000; background: none; }
	.entry__hero img { max-height: 9cm; width: auto; }
	h1, h2, h3 { break-after: avoid; }
}
.layout-side:not(:has(> .sidebar, > .feed)) { grid-template-columns: minmax(0, 860px); }
.empty strong { color: var(--fg); font-size: 1.125rem; }
@media (max-width: 639px) {
	.author-box { flex-direction: column; gap: 12px; }
	.author-box .mark { --mark: 56px; }
}
.home-few:not(:has(.home-few__side)) { grid-template-columns: minmax(0, 880px); justify-content: center; padding-block: var(--s5); }
/* Типографська обкладинка M2: кікер угорі, заголовок і лід унизу — без «порожньої» верхньої половини. */
.card--cover.card--type .card__body { justify-content: flex-start; }
.card--cover.card--type .meta { padding-bottom: var(--s3); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.card--cover.card--type .card__title { margin-top: auto; padding-top: var(--s5); }
@media (min-width: 1000px) { .card--cover.card--type .card__title { font-size: 3.25rem; line-height: 1.04; } }
.m2__side--rows { gap: 0; }
.m2__side--rows .card--row:first-child { padding-top: 0; }
.m2__side--rows .card--row:last-child { border-bottom: 0; }
@media (min-width: 640px) and (max-width: 999px) { .m2__side--rows { grid-template-columns: 1fr; } }
@media (max-width: 999px) { .keystory--img .keystory__media { order: -1; } }
