/*
Theme Name: NRW по-русски
Description: Новостная тема для rusnrw.de — новости Северного Рейна-Вестфалии на русском языке.
Version: 2.0.0
Requires PHP: 8.0
Text Domain: rusnrw
*/

/* Fonts: self-hosted (no requests to third parties) */
@font-face { font-family: "Golos"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Golos"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(assets/fonts/golos-text-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(assets/fonts/literata-cyrillic-opsz-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(assets/fonts/literata-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(assets/fonts/literata-latin-ext-opsz-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(assets/fonts/literata-cyrillic-opsz-italic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(assets/fonts/literata-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC; }

:root {
	--ink: #111513;
	--ink-2: #3b413e;
	--muted: #6e7470;
	--paper: #ffffff;
	--bg: #f4f2ed;
	--line: #dedad1;
	--line-strong: #111513;
	--green: #00743a;
	--green-dark: #00592c;
	--red: #d1001c;
	--rule: #111513;
	--on-ink: #ffffff;
	--band: #111513;
	--band-line: #2c322f;
	--thumb-bg: #e7e3da;
	--placeholder: rgba(17,21,19,.09);
	--placeholder-line: rgba(17,21,19,.035);
	--sans: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--gutter: 24px;
	color-scheme: light;
}
/* Dark theme: follows the system unless the visitor picked a theme (data-theme set by an inline script). */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #e9ece9;
		--ink-2: #c2c8c4;
		--muted: #8f9792;
		--paper: #181c1a;
		--bg: #101312;
		--line: #2c3330;
		--rule: #59615d;
		--on-ink: #111513;
		--band: #070908;
		--band-line: #1f2522;
		--green: #45bf7e;
		--green-dark: #6fd39c;
		--red: #ff4f61;
		--thumb-bg: #232926;
		--placeholder: rgba(233,236,233,.07);
		--placeholder-line: rgba(233,236,233,.03);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ink: #e9ece9;
	--ink-2: #c2c8c4;
	--muted: #8f9792;
	--paper: #181c1a;
	--bg: #101312;
	--line: #2c3330;
	--rule: #59615d;
	--on-ink: #111513;
	--band: #070908;
	--band-line: #1f2522;
	--green: #45bf7e;
	--green-dark: #6fd39c;
	--red: #ff4f61;
	--thumb-bg: #232926;
	--placeholder: rgba(233,236,233,.07);
	--placeholder-line: rgba(233,236,233,.03);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Header ---------- */
.topbar { background: var(--band); color: #c9cdca; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar-date::first-letter { text-transform: uppercase; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.masthead { background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; background: #00743a; color: #fff; font-weight: 900; font-size: 17px; letter-spacing: .02em; position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #00592c 33.3%, #fff 33.3% 66.6%, #d1001c 66.6%); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 30px; font-weight: 850; letter-spacing: -.035em; }

.masthead-tools { display: flex; gap: 8px; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.search-toggle { position: relative; }
.search-toggle > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); }
.search-toggle > summary::-webkit-details-marker { display: none; }
.search-toggle > summary:hover { border-color: var(--ink); }
.search-toggle[open] > summary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.search-form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: flex; width: min(420px, calc(100vw - 2 * var(--gutter))); background: var(--paper); border: 2px solid var(--rule); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 16px; background: transparent; }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: var(--ink); color: var(--on-ink); padding: 0 18px; font-weight: 600; cursor: pointer; }

/* Region bar */
.regionbar { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.regionbar .wrap { display: flex; align-items: stretch; position: relative; }
.regionbar-scroll { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.regionbar-scroll::-webkit-scrollbar { display: none; }
.regionbar-scroll a { display: flex; align-items: center; height: 48px; padding: 0 14px; white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.regionbar-scroll a:first-child { padding-left: 0; }
.regionbar-scroll a:hover { color: var(--ink); }
.regionbar-scroll a.is-active { color: var(--ink); border-bottom-color: var(--green); }
.regionbar-scroll a.is-mine { color: var(--green); }
.regionbar-scroll a.is-mine::before { content: ""; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 7px; }

.region-picker { flex: none; }
.region-picker > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 0 0 18px; font-weight: 700; font-size: 15px; border-left: 1px solid var(--line); white-space: nowrap; }
.region-picker > summary::-webkit-details-marker { display: none; }
.region-picker > summary svg:last-child { transition: transform .15s; }
.region-picker[open] > summary svg:last-child { transform: rotate(180deg); }
.region-panel { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 3px); background: var(--paper); border: 1px solid var(--line); border-top: 0; box-shadow: 0 24px 48px rgba(0,0,0,.14); padding: 24px; max-height: calc(100vh - 140px); overflow: auto; }
.region-panel-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
.region-search-box { flex: 1 1 320px; position: relative; }
.region-search { width: 100%; padding: 13px 14px; border: 2px solid var(--rule); font: inherit; font-size: 16px; background: var(--paper); }
.region-search:focus { outline: none; border-color: var(--green); }
.region-hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.region-results { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 52px; background: var(--paper); border: 2px solid var(--rule); border-top: 0; z-index: 2; }
.region-results li > a, .region-results li > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.region-results li a:hover, .region-results li a:focus { background: var(--bg); outline: none; }
.region-results small { color: var(--muted); }
.region-all { flex: none; display: inline-flex; align-items: center; height: 50px; padding: 0 18px; background: var(--ink); color: var(--on-ink); font-weight: 700; }
.region-all:hover { background: var(--green); color: var(--on-ink); }
.region-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.region-group h3 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--rule); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.region-group h3 a:hover { color: var(--green); }
.region-group ul { list-style: none; margin: 0; padding: 0; }
.region-group li a { display: block; padding: 5px 0; font-size: 14.5px; line-height: 1.3; }
.region-group li a small { display: block; color: var(--muted); font-size: 12px; }
.region-group li a:hover { color: var(--green); }
.region-group li a.is-kreisfrei { font-weight: 650; }
.region-group li a.is-kreisfrei small { font-weight: 400; }

/* ---------- Building blocks ---------- */
.site-main { padding: 28px 0 56px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green); line-height: 1.2; }
.kicker a:hover { color: var(--ink); }
.kicker .hot { color: #fff; background: var(--red); padding: 3px 6px 2px; letter-spacing: .06em; }
.kicker time { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 13px; }
.headline a:hover, a.headline:hover { color: var(--green-dark); }

.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 18px; padding-top: 10px; border-top: 3px solid var(--rule); }
.section-title h2 { margin: 0; font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.section-title a.more { font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.section-title a.more:hover { color: var(--ink); }
.section-title .more-links { display: flex; gap: 16px; }
.section { margin-top: 48px; }

/* Thumb with placeholder */
.thumb { position: relative; aspect-ratio: 3 / 2; background: var(--thumb-bg); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .thumb img, .card:hover .thumb img { transform: scale(1.03); }
.thumb.is-empty::after { content: "NRW"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: 34px; letter-spacing: .04em; color: var(--placeholder); background: repeating-linear-gradient(135deg, transparent 0 14px, var(--placeholder-line) 14px 15px); }
.thumb.wide { aspect-ratio: 16 / 9; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 12px; }
.card .headline { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 750; letter-spacing: -.012em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.grid { display: grid; gap: 32px 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4 .card .headline { font-size: 17px; }

/* Rows (text-only list items) */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-top: 1px solid var(--line); padding: 12px 0; }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows .headline { display: block; font-weight: 650; font-size: 15.5px; line-height: 1.35; margin-top: 5px; }

/* ---------- Front page top ---------- */
.top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; background: var(--paper); padding: 28px; }
.lead { display: flex; flex-direction: column; gap: 16px; }
.lead .headline { margin: 0; font-size: 40px; line-height: 1.08; font-weight: 850; letter-spacing: -.03em; }
.lead p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 46em; }
.feed { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; }
.feed h2 { margin: 0 0 14px; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.feed h2::before { content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.feed ol { list-style: none; margin: 0; padding: 0; flex: 1; }
.feed li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed .t { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.feed .r { display: block; font-size: 11.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.feed .r.hot { color: var(--red); }
.feed .headline { font-weight: 600; font-size: 15px; line-height: 1.35; }
.feed .all { display: block; margin-top: 14px; padding: 11px; text-align: center; border: 1px solid var(--rule); font-weight: 700; font-size: 14px; }
.feed .all:hover { background: var(--ink); color: var(--on-ink); }

/* Region blocks on front page */
.bezirke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.bezirk .card { margin-bottom: 14px; }
.bezirk .card .headline { font-size: 17px; }
.bezirk .rows li:first-child { border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- Archive ---------- */
.archive-head { background: var(--paper); padding: 28px; margin-bottom: 32px; border-bottom: 3px solid var(--rule); }
.archive-head .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.archive-head .crumbs a:hover { color: var(--green); }
.archive-head h1 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 850; letter-spacing: -.03em; }
.archive-head .de { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.archive-head .children { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.archive-head .children a { padding: 7px 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--bg); }
.archive-head .children a:hover { border-color: var(--ink); }
.archive-head details { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.archive-head details summary { cursor: pointer; font-weight: 600; color: var(--green); }
.archive-head details p { margin: 8px 0 0; line-height: 1.6; }
.archive-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; background: var(--paper); padding: 24px; margin-bottom: 40px; }
.archive-lead .headline { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 850; letter-spacing: -.025em; }
.archive-lead p { font-family: var(--serif); font-size: 16.5px; color: var(--ink-2); margin: 0; }
.archive-lead .body { display: flex; flex-direction: column; gap: 14px; }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 48px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.empty { background: var(--paper); padding: 56px 24px; text-align: center; color: var(--muted); }
.empty h1 { color: var(--ink); margin: 0 0 8px; }
.empty a { color: var(--green); font-weight: 600; }

/* ---------- Article ---------- */
.story { background: var(--paper); padding: 48px 24px 40px; }
.story-head, .story-body, .story-foot { max-width: 720px; margin: 0 auto; }
.story-head h1 { margin: 14px 0 0; font-size: 46px; line-height: 1.08; font-weight: 850; letter-spacing: -.032em; }
.story-lede { margin: 18px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.story-meta strong { color: var(--ink); font-weight: 600; }
.story-media { max-width: 960px; margin: 32px auto 0; }
.story-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story-media figcaption { font-size: 13px; color: var(--muted); padding: 8px 0 0; line-height: 1.4; }
.story-body { margin-top: 32px; font-family: var(--serif); font-size: 19.5px; line-height: 1.68; color: #1d211f; }
.story-body > * { margin: 0 0 1.1em; }
.story-body h2, .story-body h3 { font-family: var(--sans); line-height: 1.2; letter-spacing: -.02em; margin: 1.7em 0 .5em; }
.story-body h2 { font-size: 26px; }
.story-body h3 { font-size: 21px; }
.story-body a { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story-body blockquote { margin: 1.5em 0; padding: 0 0 0 22px; border-left: 4px solid var(--green); font-style: italic; }
.story-body ul, .story-body ol { padding-left: 1.2em; }
.story-body figure { margin: 1.5em 0; }
.story-body figcaption, .story-body .wp-element-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 6px; }

.story-foot { margin-top: 36px; display: grid; gap: 16px; }
.sources { border-top: 3px solid var(--rule); padding-top: 12px; }
.sources h2, .share h2 { margin: 0 0 8px; font-size: 12.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sources li a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--bg); font-size: 14px; font-weight: 600; }
.sources li a::after { content: "↗"; color: var(--muted); }
.sources li a:hover { background: var(--ink); color: var(--on-ink); }
.ai-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ai-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.share-links { display: flex; gap: 8px; flex-wrap: wrap; }
.share-links a, .share-links button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; cursor: pointer; }
.share-links a:hover, .share-links button:hover { border-color: var(--ink); }

.after-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; margin-top: 48px; }
.after-story .grid { grid-template-columns: repeat(2, 1fr); }

.page-content { background: var(--paper); padding: 48px 24px; }
.page-content > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-content h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.03em; margin-top: 0; }
.page-content h2 { font-size: 20px; margin: 1.6em auto .4em; }
.page-content p { line-height: 1.65; }
.page-content a { color: var(--green-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: #b9beba; font-size: 14px; padding: 48px 0 28px; }
.footer-top { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--band-line); }
.site-footer .brand-name b { color: #fff; }
.footer-about { margin: 18px 0 0; line-height: 1.6; }
.footer-regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-regions h3 { margin: 0 0 8px; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.footer-regions ul { list-style: none; margin: 0; padding: 0; }
.footer-regions li a { display: block; padding: 3px 0; font-size: 13.5px; }
.footer-regions a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a { color: #fff; }
.footer-bottom nav a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.region-groups, .footer-regions { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(3, 1fr); }
	.lead .headline { font-size: 34px; }
}
@media (max-width: 860px) {
	:root { --gutter: 16px; }
	.top { grid-template-columns: 1fr; padding: 20px; gap: 28px; }
	.feed { border-left: 0; padding-left: 0; border-top: 3px solid var(--rule); padding-top: 14px; }
	.grid-3, .grid-4, .bezirke { grid-template-columns: repeat(2, 1fr); }
	.after-story { grid-template-columns: 1fr; }
	.archive-lead { grid-template-columns: 1fr; padding: 16px; }
	.footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
	body { font-size: 15px; }
	.topbar-note { display: none; }
	.masthead .wrap { height: 68px; }
	.brand-mark { width: 42px; height: 42px; font-size: 14px; }
	.brand-name b { font-size: 24px; }
	.region-picker > summary { padding-left: 12px; font-size: 14px; }
	.region-picker > summary span { font-size: 0; }
	.region-picker > summary span::after { content: "Районы"; font-size: 14px; }
	.region-panel { left: 0; right: 0; padding: 16px; max-height: calc(100vh - 120px); }
	.region-groups, .footer-regions { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
	.top { margin: 0 calc(-1 * var(--gutter)); padding: 16px; }
	.lead .headline { font-size: 27px; }
	.lead p { font-size: 16px; }
	.grid-3, .grid-4, .bezirke, .after-story .grid { grid-template-columns: 1fr; gap: 24px; }
	.grid .card { display: grid; grid-template-columns: 1fr 112px; gap: 4px 14px; align-items: start; }
	.grid .card > a:first-child { grid-column: 2; grid-row: 1 / span 3; }
	.grid .card .thumb { aspect-ratio: 1; }
	.grid .card .kicker, .grid .card .headline, .grid .card p { grid-column: 1; }
	.grid .card .headline { font-size: 16.5px; }
	.grid .card p { display: none; }
	.archive-head { padding: 20px 16px; margin: 0 calc(-1 * var(--gutter)) 24px; }
	.archive-head h1 { font-size: 32px; }
	.archive-lead { margin: 0 calc(-1 * var(--gutter)) 28px; }
	.archive-lead .headline { font-size: 23px; }
	.story { padding: 28px 16px; margin: 0 calc(-1 * var(--gutter)); }
	.story-head h1 { font-size: 30px; }
	.story-lede { font-size: 18px; }
	.story-media { margin: 24px -16px 0; }
	.story-media figcaption { padding: 8px 16px 0; }
	.story-body { font-size: 18px; }
	.page-content { padding: 28px 16px; margin: 0 calc(-1 * var(--gutter)); }
	.page-content h1 { font-size: 30px; }
}
