/* Мотофорум.Новости — основные стили. Сначала телефон, затем ≥700px (планшет) и ≥1100px (компьютер). */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/onest-latin.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: "Unbounded"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/unbounded-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/unbounded-latin.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; }

/* Палитра A «Оранжевый сигнал» (plan.md, 11а). Тёмная тема переопределяет эти переменные ниже. */
:root {
	--bg: #F2F3F5;
	--surface: #FFFFFF;
	--text: #121417;
	--muted: #5C6370;
	--muted-2: #4A505A;
	--line: #E3E5E8;
	--line-2: #EEF0F2;
	--chip-line: #DADDE2;
	--accent: #F05A1A;
	--ink: #B8410E;
	--ink-hover: #9A360B;
	--btn: #B8410E;
	--btn-hover: #9A360B;
	--hover-line: #BFC4CC;
	--tabs-bg: #E6E8EB;
	--shadow: 0 1px 3px rgba(18, 20, 23, .12);
	--soft: #FFF0E8;
	--dtp: #A61B2B;
	--radius: 16px;
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Unbounded", "Onest", system-ui, sans-serif;
	--gutter: 16px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Цвет рубрики: карточка, новость и заголовок раздела задают --rubric и --rubric-soft в style. */
.card, .article, .page-head, .section-showcase__card { --rubric-fg: var(--rubric); --rubric-bg: var(--rubric-soft, var(--line)); --rubric-fill: var(--rubric); }

/* ---------- Тёмная тема: по выбору читателя (data-theme) или по настройке системы ---------- */
:root[data-theme="dark"] {
	--bg: #0F1113;
	--surface: #1A1D21;
	--text: #ECEEF1;
	--muted: #9AA1AC;
	--muted-2: #B9BFC8;
	--line: #2A2E34;
	--line-2: #24272C;
	--chip-line: #34383F;
	--accent: #FF6A2B;
	--ink: #FF8A50;
	--ink-hover: #FFA276;
	--soft: #36241A;
	--dtp: #FF7A85;
	--btn: #C2470F;
	--btn-hover: #D9541A;
	--hover-line: #4A4F57;
	--tabs-bg: #24272C;
	--shadow: 0 1px 3px rgba(0, 0, 0, .5);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0F1113;
		--surface: #1A1D21;
		--text: #ECEEF1;
		--muted: #9AA1AC;
		--muted-2: #B9BFC8;
		--line: #2A2E34;
		--line-2: #24272C;
		--chip-line: #34383F;
		--accent: #FF6A2B;
		--ink: #FF8A50;
		--ink-hover: #FFA276;
		--soft: #36241A;
		--dtp: #FF7A85;
		--btn: #C2470F;
		--btn-hover: #D9541A;
		--hover-line: #4A4F57;
		--tabs-bg: #24272C;
		--shadow: 0 1px 3px rgba(0, 0, 0, .5);
		color-scheme: dark;
	}
	:root:not([data-theme="light"]) :is(.card, .article, .page-head, .section-showcase__card) { --rubric-fg: color-mix(in oklab, var(--rubric) 55%, #fff); --rubric-bg: color-mix(in oklab, var(--rubric) 24%, #1A1D21); --rubric-fill: color-mix(in oklab, var(--rubric) 80%, #000); }
	:root:not([data-theme="light"]) .entry [style*="color"] { color: inherit !important; background-color: transparent !important; }
}
:root[data-theme="dark"] :is(.card, .article, .page-head, .section-showcase__card) { --rubric-fg: color-mix(in oklab, var(--rubric) 55%, #fff); --rubric-bg: color-mix(in oklab, var(--rubric) 24%, #1A1D21); --rubric-fill: color-mix(in oklab, var(--rubric) 80%, #000); }
:root[data-theme="dark"] .entry [style*="color"] { color: inherit !important; background-color: transparent !important; }

/* Переключатель темы: луна в светлой, солнце в тёмной. */
.theme-btn .icon--sun { display: none; }
:root[data-theme="dark"] .theme-btn .icon--sun { display: block; }
:root[data-theme="dark"] .theme-btn .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-btn .icon--sun { display: block; }
	:root:not([data-theme="light"]) .theme-btn .icon--moon { display: none; }
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--btn); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--btn-hover); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--hover-line); }
.btn--wide { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--bg); }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); transition: transform .2s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.header-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-block: 6px 8px; }
.header-bar::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
.logo { order: 1; flex: 1 1 auto; display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); text-decoration: none; font: 700 15px/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.logo__mark { flex-shrink: 0; }
.logo__accent { color: var(--accent); }
.header-icons { order: 2; display: flex; flex-shrink: 0; margin-right: -8px; }
@media (max-width: 1099px) {
	.header-bar { column-gap: 8px; }
	.header-icons .icon-btn { width: 40px; }
	.logo { font-size: 14px; gap: 7px; }
	.logo .logo__mark { width: 26px; height: 26px; }
}
@media (max-width: 379px) {
	.header-icons .icon-btn { width: 38px; }
	.logo { font-size: 12.5px; gap: 6px; }
	.logo .logo__mark { width: 24px; height: 24px; }
}
.region-btn { order: 4; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.region-btn__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.region-btn__change { color: var(--muted); font-weight: 400; white-space: nowrap; }
.header-search { order: 5; flex-basis: 100%; display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg); color: var(--muted); }
.header-search.is-open { display: flex; }
.header-search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--text); }
.header-link { display: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--chip-line); border-radius: 18px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--hover-line); }
.chip.is-active { background: var(--btn); border-color: var(--btn); color: #fff; }

/* ---------- Сетка страницы ---------- */
.layout { display: grid; gap: 24px; padding-block: 12px 40px; }
.sidebar { display: none; }

.scope-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; max-width: 420px; margin-bottom: 12px; padding: 3px; border-radius: 12px; background: var(--tabs-bg); }
.scope-tabs a { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 10px; color: var(--muted-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.scope-tabs a.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.page-head { margin-bottom: 16px; }
.page-head h1 { margin: 4px 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted); }
.page-head__up { color: var(--rubric-fg, var(--ink)); font-size: 13px; font-weight: 600; text-decoration: none; }
.subchips, .article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.subchip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--muted-2); font-size: 13.5px; text-decoration: none; }
.subchip:hover { border-color: var(--hover-line); }
.subchip.is-active { background: var(--rubric-fill, var(--text)); border-color: var(--rubric-fill, var(--text)); color: #fff; }

/* ---------- Лента и карточки ---------- */
.feed { display: grid; gap: 12px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rubric-bg, var(--line)); }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__credit { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); overflow: hidden; padding: 4px 8px; border-radius: 6px; background: rgba(18, 20, 23, .74); color: #fff; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 16px 16px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; }
.card__rubric { color: var(--rubric-fg); font-weight: 600; text-decoration: none; }
.card__region { color: var(--muted); text-decoration: none; }
.card__rubric:hover, .card__region:hover { text-decoration: underline; }
.card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.28; letter-spacing: -.01em; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--ink); }
.card__lead { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted-2); font-size: 15px; line-height: 1.42; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card__foot { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 2px; color: var(--muted); font-size: 12.5px; }
.card__views { display: inline-flex; align-items: center; gap: 4px; }

.cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; overflow: hidden; color: var(--rubric-fg); }
.cover__title { max-width: 68%; font: 700 20px/1.15 var(--font-display); letter-spacing: -.02em; }
.cover__art { position: absolute; right: -12px; bottom: 6px; width: 52%; opacity: .35; }
.cover--dtp .icon { position: absolute; right: 22px; bottom: 18px; opacity: .45; }
.cover--num { justify-content: flex-end; gap: 6px; }
.cover__num { font: 700 56px/1 var(--font-display); letter-spacing: -.03em; }
.cover__label { color: var(--text); font-size: 15px; font-weight: 500; }
.cover__num--long { font-size: 34px; line-height: 1.05; overflow-wrap: anywhere; }
.card--row .cover__num--long { font-size: 14px; }

.card--hero .card__title { font-size: 22px; }
.card--row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); border-radius: 0; background: none; }
.card--row .card__media { aspect-ratio: 13 / 9; border-radius: 10px; }
.card--row .card__body { padding: 0; gap: 4px; }
.card--row .card__title { font-size: 15px; }
.card--row .cover { padding: 8px; }
.card--row .cover__title { max-width: 100%; font-size: 11px; }
.card--row .cover__art { width: 70%; }
.card--row .cover--dtp .icon { width: 28px; height: 28px; right: 8px; bottom: 8px; }
.card--row .cover__num { font-size: 22px; }
.card--row .cover__label { display: none; }

/* ---------- Переключатель и компактный текстовый вид ленты ---------- */
.feed-view-switch { display: flex; align-items: center; gap: 3px; width: max-content; margin: 0 0 12px auto; padding: 3px; border-radius: 11px; background: var(--tabs-bg); }
.feed-view-switch > span { padding: 0 7px; color: var(--muted); font-size: 12px; }
.feed-view-switch button { height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: none; color: var(--muted-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.feed-view-switch button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.section-showcase { display: none; }

html[data-feed-view="list"] .feed { display: block; overflow: hidden; border-top: 1px solid var(--line-2); }
html[data-feed-view="list"] .feed > .card { display: block; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; }
html[data-feed-view="list"] .feed > .card:hover { background: var(--surface); }
html[data-feed-view="list"] .feed > .card .card__media,
html[data-feed-view="list"] .feed > .card .card__meta,
html[data-feed-view="list"] .feed > .card .card__lead { display: none; }
html[data-feed-view="list"] .feed > .card .card__body { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
html[data-feed-view="list"] .feed > .card .card__title { grid-column: 2; grid-row: 1; align-self: start; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
html[data-feed-view="list"] .feed > .card .card__foot { grid-column: 1; grid-row: 1; display: block; margin: 0; padding: 3px 0 0; font-size: 12px; line-height: 1.3; }
html[data-feed-view="list"] .feed > .card .card__foot > :not(time) { display: none; }
html[data-feed-view="list"] .feed > :is(.ad-slot, .forum-block, .sub) { margin: 12px 0; }
html[data-feed-view="list"] .feed > .ad-slot { min-height: 120px; }

html[data-feed-view="list"] .section-showcase { display: block; margin-top: 18px; }

/* ---------- Точная реализация интерактивного макета «Срез» ---------- */
.cn-page { display: none; }
html[data-feed-view="concept"] .layout { display: block; max-width: 1180px; }
html[data-feed-view="concept"] .feed-col > :is(.dtp-sum, .scope-tabs, .feed, .section-showcase, .load-more),
html[data-feed-view="concept"] .sidebar { display: none; }
html[data-feed-view="concept"] .cn-page { display: block; }

.cn-page {
	--cn-blue: #315efb;
	--cn-bg: #f5f6f8;
	--cn-surface: #fff;
	--cn-soft: #eef1f5;
	--cn-text: #17191d;
	--cn-muted: #6c727c;
	--cn-line: #dde1e7;
	--cn-hover: #f7f8fb;
	width: 100%; overflow: hidden; border: 1px solid var(--cn-line); border-radius: 15px;
	background: var(--cn-bg); color: var(--cn-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[data-theme="dark"] .cn-page { --cn-bg:#0e1116; --cn-surface:#171b22; --cn-soft:#202630; --cn-text:#f1f3f6; --cn-muted:#a4acb8; --cn-line:#2c333e; --cn-hover:#1d232c; }
.cn-page * { box-sizing: border-box; }
.cn-page h1, .cn-page h2 { margin: 0; font-weight: 500; }
.cn-page h1 { margin-top: 2px; font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.cn-page h2 { font-size: 14px; }
.cn-header { height: 48px; padding: 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--cn-line); background: var(--cn-surface); }
.cn-brand { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; }
.cn-brand-mark { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--cn-blue); }
.cn-nav { display: flex; gap: 2px; }
.cn-nav span { padding: 6px 9px; color: var(--cn-muted); font-size: 12px; }
.cn-nav span.is-active { color: var(--cn-text); }
.cn-settings { justify-self: end; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--cn-soft); font-size: 15px; }
.cn-content { padding: 16px 22px 22px; }
.cn-topline { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.cn-topline > div > span { color: var(--cn-muted); font-size: 11px; }
.cn-live { display: flex; align-items: center; gap: 7px; color: var(--cn-muted); font-size: 11px; }
.cn-live i { width: 7px; height: 7px; border-radius: 50%; background: #e24b4b; box-shadow: 0 0 0 4px #ffe4e4; }
html[data-theme="dark"] .cn-live i { box-shadow: 0 0 0 4px #462027; }
.cn-filters { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.cn-filters button { padding: 5px 9px; border: 0; border-radius: 999px; background: var(--cn-surface); color: var(--cn-muted); font-size: 11px; cursor: pointer; }
.cn-filters button.is-active { color: #fff; background: var(--cn-blue); }
.cn-main-grid { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 12px; align-items: start; }
.cn-news-block, .cn-topic-block, .cn-section-card { overflow: hidden; border: 1px solid var(--cn-line); border-radius: 12px; background: var(--cn-surface); }
.cn-block-head { height: 36px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cn-line); }
.cn-block-head a, .cn-section-title span { color: var(--cn-muted); font-size: 11px; text-decoration: none; }
.cn-row { width: 100%; min-height: 36px; padding: 9px 10px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: center; gap: 9px; text-align: left; border-bottom: 1px solid var(--cn-line); color: var(--cn-text); text-decoration: none; }
.cn-row:last-child { border-bottom: 0; }
.cn-row:hover, .cn-topic-row:hover, .cn-card-item:hover, .cn-card-lead:hover { background: var(--cn-hover); color: var(--cn-text); }
.cn-row[hidden] { display: none; }
.cn-row time { color: var(--cn-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.cn-row > span { font-size: 14px; line-height: 1.24; font-weight: 400; }
.cn-row > b { color: var(--cn-muted); font-size: 18px; font-weight: 400; }
.cn-topic-row { width: 100%; padding: 11px 12px; display: grid; grid-template-columns: 24px 1fr; gap: 3px 8px; text-align: left; border-bottom: 1px solid var(--cn-line); color: var(--cn-text); text-decoration: none; }
.cn-topic-row:last-child { border-bottom: 0; }
.cn-topic-row b { grid-row: 1 / 3; color: var(--cn-muted); font-size: 11px; font-weight: 400; }
.cn-topic-row span { font-size: 13px; line-height: 1.25; }
.cn-topic-row small { color: var(--cn-muted); font-size: 11px; }
.cn-sections { margin-top: 16px; }
.cn-section-title { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.cn-section-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cn-card-head { height: 34px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; color: var(--cn-blue); font-size: 12px; border-bottom: 1px solid var(--cn-line); }
.cn-card-head a { color: inherit; text-decoration: none; }
.cn-card-head i { font-style: normal; }
.cn-card-lead, .cn-card-item { width: 100%; display: block; text-align: left; border-bottom: 1px solid var(--cn-line); background: transparent; color: var(--cn-text); text-decoration: none; }
.cn-card-lead { padding: 10px 11px; font-size: 14px; line-height: 1.25; font-weight: 500; }
.cn-card-item { padding: 7px 11px; color: var(--cn-muted); font-size: 11px; line-height: 1.3; }
.cn-card-item:last-child { border-bottom: 0; }

@media (max-width: 760px) {
	.cn-header { padding: 0 14px; grid-template-columns: 1fr auto; }
	.cn-nav { display: none; }
	.cn-content { padding: 14px; }
	.cn-main-grid { grid-template-columns: 1fr; }
	.cn-topic-block { display: none; }
	.cn-section-grid { grid-template-columns: 1fr; }
	.cn-row { grid-template-columns: 38px minmax(0, 1fr); }
	.cn-row > b { display: none; }
}

/* ---------- Отдельная лента в компоновке Дзена ---------- */
.lenta-page { display: none; }
html[data-feed-view="lenta"] .layout { display: block; max-width: 1240px; }
html[data-feed-view="lenta"] .feed-col > :is(.dtp-sum, .scope-tabs, .cn-page, .feed, .section-showcase, .load-more),
html[data-feed-view="lenta"] .sidebar { display: none; }
html[data-feed-view="lenta"] .lenta-page { display: block; }

.lenta-page { --lenta-bg: #f2f3f5; --lenta-surface: #fff; --lenta-soft: #eceef1; --lenta-text: #202124; --lenta-muted: #747981; --lenta-line: #e1e3e6; --lenta-yellow: #F05A1A; overflow: clip; border-radius: 14px; background: var(--lenta-bg); color: var(--lenta-text); font-family: Arial, "Helvetica Neue", sans-serif; font-size: 15px; }
html[data-theme="dark"] .lenta-page { --lenta-bg: #111317; --lenta-surface: #1a1d22; --lenta-soft: #24282f; --lenta-text: #f1f2f4; --lenta-muted: #a6abb3; --lenta-line: #31353c; }
.lenta-page * { box-sizing: border-box; }
.lenta-page a { color: inherit; text-decoration: none; }
.lenta-page h1, .lenta-page h2, .lenta-page h3 { margin: 0; font-weight: 500; }
.lenta-head { height: 54px; padding: 0 20px; display: grid; grid-template-columns: 50px minmax(220px, 1fr) auto auto auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--lenta-line); background: var(--lenta-surface); }
.lenta-head__mark { width: 34px; height: 34px; display: grid; place-items: center; }
.lenta-head__mark svg { width: 100%; height: 100%; display: block; }
.lenta-search { height: 34px; display: flex; align-items: center; gap: 8px; padding-left: 11px; border-radius: 10px; background: var(--lenta-soft); color: var(--lenta-muted); }
.lenta-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--lenta-text); font: inherit; }
.lenta-search button { height: 28px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--lenta-yellow); color: #fff; font-size: 14px; font-weight: 600; }
.lenta-head__meta { justify-self: end; display: flex; gap: 15px; color: var(--lenta-muted); font-size: 13px; }
.lenta-layout { max-width: 1180px; margin: auto; padding: 14px 18px 30px; display: grid; grid-template-columns: 150px minmax(0, 640px) 300px; gap: 14px; }
.lenta-menu { min-height: 580px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--lenta-line); border-radius: 10px; padding: 10px 12px; background: var(--lenta-surface); }
.lenta-menu nav { display: flex; flex-direction: column; gap: 3px; }
.lenta-menu a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 14px; }
.lenta-menu a.is-active { background: var(--lenta-soft); font-weight: 600; }
.lenta-menu small { padding: 10px; color: var(--lenta-muted); font-size: 13px; }
.lenta-main { min-width: 0; }
.lenta-news, .lenta-right section, .lenta-cards article { border-radius: 12px; background: var(--lenta-surface); }
.lenta-news { padding: 14px; }
.lenta-news h1 { font-size: 22px; }
.lenta-view-switch { display: flex; align-items: baseline; gap: 18px; font-size: 22px; }
.lenta-view-switch a { color: var(--lenta-muted); text-decoration: none; font-weight: 700; }
.lenta-view-switch a.is-active { color: var(--lenta-text); }
.lenta-view-switch a:not(.is-active):hover { color: var(--accent); }
.lenta-news__src { margin: 4px 0 12px; color: var(--lenta-muted); font-size: 13px; }
.lenta-news--dtp .lenta-cards { margin-top: 0; }
.lenta-cards-pager { display: flex; gap: 10px; margin: 14px 0 2px; }
.lenta-cards-pager a { padding: 8px 14px; border-radius: 10px; background: var(--lenta-soft); color: var(--lenta-text); text-decoration: none; font-size: 13px; }
.lenta-filters { display: flex; align-items: center; gap: 14px; margin-top: 11px; overflow-x: auto; border-bottom: 1px solid var(--lenta-line); white-space: nowrap; scrollbar-width: none; }
.lenta-filters::-webkit-scrollbar { display: none; }
.lenta-nav-shell { position: relative; min-width: 0; margin-top: 11px; }
.lenta-nav-shell .lenta-filters { margin-top: 0; scroll-behavior: smooth; }
.lenta-nav-shell.has-left .lenta-filters { padding-left: 34px; }
.lenta-nav-shell.has-right .lenta-filters { padding-right: 38px; }
.lenta-nav-arrow { position: absolute; z-index: 3; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; transform: translateY(-58%); border: 1px solid var(--lenta-line); border-radius: 50%; background: var(--lenta-surface); color: var(--lenta-text); box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 22px; line-height: 1; cursor: pointer; }
.lenta-nav-arrow[hidden] { display: none; }
.lenta-nav-arrow--left { left: 2px; }
.lenta-nav-arrow--right { right: 2px; }
.lenta-nav-shell::after { position: absolute; z-index: 2; top: 0; right: 0; bottom: 1px; width: 58px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--lenta-surface) 64%); content: ""; opacity: 0; }
.lenta-nav-shell.has-right::after { opacity: 1; }
.lenta-filters button { padding: 0 0 8px; border: 0; background: transparent; color: var(--lenta-muted); font-size: 13px; cursor: pointer; }
.lenta-filters button.is-active, .lenta-filters a.is-active { border-bottom: 2px solid var(--lenta-yellow); color: var(--lenta-text); font-weight: 600; }
.lenta-filters a { padding: 0 0 8px; color: var(--lenta-muted); font-size: 13px; }
.lenta-filters a:hover { color: var(--lenta-text); }
.lenta-filters__divider { width: 1px; height: 14px; flex: 0 0 1px; background: var(--lenta-line); }
.lenta-list a { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--lenta-line); font-size: 15px; line-height: 1.3; }
.lenta-list a[hidden] { display: none; }
.lenta-list time { color: var(--lenta-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lenta-more { display: inline-flex; margin-top: 11px; padding: 7px 12px; border-radius: 8px; background: var(--lenta-soft); font-size: 13px; }
.lenta-actions { display: flex; align-items: center; gap: 8px; }
.lenta-actions [hidden] { display: none; }
.lenta-more[aria-busy="true"] { opacity: .65; pointer-events: none; }
.lenta-all { display: inline-flex; margin-top: 11px; padding: 7px 12px; border-radius: 8px; background: var(--accent); color: #fff !important; font-size: 13px; font-weight: 600; }
.lenta-all:hover { background: #d94e13; }
.lenta-empty { margin: 14px 0 2px; color: var(--lenta-muted); font-size: 14px; }
.lenta-feed-title { display: flex; justify-content: space-between; align-items: center; margin: 15px 2px 9px; }
.lenta-feed-title h2 { font-size: 17px; }
.lenta-feed-title span { color: var(--lenta-muted); font-size: 13px; }
.lenta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lenta-cards article { padding: 10px; }
.lenta-cover { height: 110px; display: block; overflow: hidden; border-radius: 9px; }
.lenta-cover img { width: 100%; height: 100%; object-fit: cover; }
.lenta-cards h3 { margin-top: 9px; font-size: 15px; line-height: 1.3; }
.lenta-cards small { display: block; margin-top: 7px; color: var(--lenta-muted); font-size: 13px; }
.lenta-right { display: flex; flex-direction: column; gap: 10px; }
.lenta-right section { padding: 12px; }
.lenta-right h2 { margin-bottom: 7px; font-size: 15px; }
.lenta-right section > a { display: block; padding: 7px 0; border-top: 1px solid var(--lenta-line); font-size: 14px; }
.lenta-counters a { display: flex !important; justify-content: center; padding: 4px 0 0 !important; border-top: 0 !important; }
.lenta-counters img { display: block; }
.lenta-right ol { margin: 0; padding-left: 20px; }
.lenta-right li { padding: 7px 0; border-top: 1px solid var(--lenta-line); font-size: 13px; }
.lenta-accidents div { display: flex; align-items: baseline; gap: 7px; }
.lenta-accidents b { font-size: 28px; font-weight: 500; }
.lenta-accidents span { color: var(--lenta-muted); font-size: 13px; }

@media (max-width: 820px) {
	.lenta-head { grid-template-columns: 42px 1fr; padding: 0 12px; }
	.lenta-head__meta { display: none; }
	.lenta-layout { padding: 10px 12px 24px; grid-template-columns: 132px minmax(0, 1fr); }
	.lenta-right { display: flex; grid-column: 2; margin-top: 10px; }
}

@media (max-width: 520px) {
	.lenta-layout { grid-template-columns: 1fr; }
	.lenta-menu { display: none; }
	.lenta-right { grid-column: 1; }
	.lenta-cards { grid-template-columns: 1fr; }
	.lenta-cover { height: 150px; }
}

/* Главная: «Дзен» — единственный вид, без старой шапки и переключателя. */
body.home .site-header { display: none; }
body.home .shell--site { padding-top: 0; }
body.home .layout { display: block; max-width: 1240px; padding-top: 14px; }
body.home .feed-col > :is(.dtp-sum, .scope-tabs, .cn-page, .feed, .section-showcase, .load-more),
body.home .sidebar { display: none; }
body.home .lenta-page { display: block; }

/* Сквозная версия: главная, рубрики, поиск, архивы и регионы. */
body.mf-lenta-page .site-header { display: none; }
body.mf-lenta-page .shell--site { padding-top: 0; }
body.mf-lenta-page .shell--site > .side { display: none; }
body.mf-lenta-page .lenta-shell { display: block; max-width: 1240px; padding-top: 14px; }
body.mf-lenta-page .lenta-page { display: block; }

body.mf-lenta-article .site-header { display: none; }
body.mf-lenta-article .shell--site { padding-top: 0; }
body.mf-lenta-article .shell--site > .side { display: none; }
body.mf-lenta-article .lenta-article-shell { display: block; max-width: 1240px; padding-top: 14px; }
body.mf-lenta-article .lenta-article-page { display: block; }
.lenta-article-nav { margin: 0; padding: 0; }
.lenta-article-main > .lenta-nav-shell { margin: 20px 0 16px; padding: 7px 14px; border-radius: 12px; background: var(--lenta-surface); }
.lenta-news > .lenta-nav-shell { margin-top: 11px; }
.lenta-page > .lenta-ad--h1, .lenta-page > .lenta-ad--placeholder-h1 { width: min(1000px, calc(100% - 36px)); min-height: 120px; margin: 12px auto 0; }
.lenta-page > .lenta-ad--h1 img { max-height: 120px; }
.lenta-article-main { min-width: 0; }
.lenta-article-main .article { margin: 0; padding: 22px 26px 28px; border-radius: 12px; }
.lenta-article-main .article__title { font-size: 29px; line-height: 1.18; }
.lenta-article-main .article__figure { margin-inline: 0; }
.lenta-article-main .article__figure img { border-radius: 10px; }
.lenta-article-right { align-self: stretch; }
.lenta-article-right section > a { display: grid; grid-template-columns: auto 1fr; gap: 7px; line-height: 1.3; }
.lenta-article-right section > a time { color: var(--lenta-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.lenta-article-right .lenta-side-more { display: block; color: var(--lenta-muted); font-size: 13px; font-weight: 600; }
.lenta-useful span { display: block; padding: 7px 0; border-top: 1px solid var(--lenta-line); font-size: 13px; }
.lenta-ad { overflow: hidden; border-radius: 12px; background: var(--lenta-surface); }
.lenta-ad small { display: block; padding: 9px 11px 0; color: var(--lenta-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.lenta-ad a { display: grid; gap: 7px; padding: 8px 11px 12px; }
.lenta-ad img { width: 100%; max-height: 230px; object-fit: cover; border-radius: 8px; }
.lenta-ad b { font-size: 15px; line-height: 1.25; }
.lenta-ad span { color: var(--lenta-muted); font-size: 13px; line-height: 1.35; }
.lenta-ad--placeholder { display: flex; flex-direction: column; min-height: 110px; border: 2px dashed #aeb4bd; background: repeating-linear-gradient(-45deg, var(--lenta-surface), var(--lenta-surface) 8px, var(--lenta-soft) 8px, var(--lenta-soft) 16px); color: var(--lenta-muted); }
.lenta-ad--placeholder-r1 { min-height: 250px; }
.lenta-ad--placeholder-r2 { min-height: 600px; }
.lenta-ad--placeholder-n1 { min-height: 190px; }
.lenta-ad--placeholder small { padding: 9px 11px; border-bottom: 1px dashed #aeb4bd; background: color-mix(in srgb, var(--lenta-surface) 88%, transparent); font-weight: 700; }
.lenta-ad__preview { flex: 1; display: grid; place-content: center; gap: 5px; padding: 14px; text-align: center; }
.lenta-ad__preview b { color: var(--lenta-text); font-size: 18px; font-weight: 700; }
.lenta-ad__preview strong { color: var(--lenta-muted); font-size: 13px; font-weight: 600; }
.lenta-ad__preview span { font-size: 10px; }
.lenta-ad--r2 { min-height: 600px; }
.article > .lenta-ad { margin-top: 24px; }
.article > .lenta-ad--a1, .article > .lenta-ad--placeholder-a1 { min-height: 250px; }
.article > .lenta-ad--a2, .article > .lenta-ad--placeholder-a2 { min-height: 180px; }
.article > .lenta-ad--n2, .article > .lenta-ad--placeholder-n2 { min-height: 220px; }
.lenta-cards > .lenta-ad { min-width: 0; }
.lenta-cards > .lenta-ad:not(.lenta-ad--placeholder) { padding: 10px; }
.lenta-cards > .lenta-ad:not(.lenta-ad--placeholder) small { padding: 0 0 7px; }
.lenta-cards > .lenta-ad:not(.lenta-ad--placeholder) a { padding: 0; }
.lenta-cards > .lenta-ad img { height: 110px; object-fit: cover; }

/* Широкий баннер S1 в сетке карточек — на всю ширину двух колонок (прямоугольник 970×250). */
.lenta-cards > .lenta-ad--s1,
.lenta-cards > .lenta-ad--placeholder-s1 { grid-column: 1 / -1; }
.lenta-cards > .lenta-ad--s1 img,
.lenta-cards > .lenta-ad--placeholder-s1 { min-height: 160px; }
.lenta-cards > .lenta-ad--s1 img { height: auto; max-height: 250px; width: 100%; object-fit: contain; }
.lenta-article-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.lenta-article-pager a { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--lenta-line); border-radius: 10px; text-decoration: none; }
.lenta-article-pager small { color: var(--lenta-muted); font-size: 10px; }
.lenta-article-pager span { font-size: 14px; line-height: 1.3; }
.lenta-article-pager__next { text-align: right; }
.lenta-section-all { display: inline-flex; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: var(--lenta-yellow); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }

@media (min-width: 821px) {
	.lenta-menu { position: sticky; top: 14px; align-self: start; height: calc(100vh - 28px); min-height: 0; }
	.lenta-right { align-self: stretch; }
	.lenta-right > .lenta-ad--r2, .lenta-right > .lenta-ad--placeholder-r2 { position: sticky; top: 14px; }
}

@media (max-width: 820px) {
	body.mf-lenta-article .lenta-article-shell { padding-top: 0; }
	.lenta-article-main .article { padding: 18px 20px 24px; }
	.lenta-article-main .article__title { font-size: 25px; }
	.lenta-article-page .lenta-article-right { display: flex; grid-column: 2; margin-top: 10px; }
	.lenta-page > .lenta-ad--h1, .lenta-page > .lenta-ad--placeholder-h1 { min-height: 120px; }
}

@media (max-width: 520px) {
	.lenta-article-nav { margin-inline: 0; border-radius: 0; }
	.lenta-article-main .article { border-radius: 0; }
	.lenta-article-page .lenta-article-right { grid-column: 1; }
	.lenta-ad--r2 { min-height: 0; }
	.lenta-page > .lenta-ad--h1, .lenta-page > .lenta-ad--placeholder-h1 { width: calc(100% - 24px); min-height: 100px; }
	.lenta-article-pager { grid-template-columns: 1fr; }
	.lenta-article-pager__next { text-align: left; }
}


.lenta-head { grid-template-columns: 240px minmax(280px, 1fr) auto auto auto; }
.lenta-head__brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.lenta-head__brand b { font-weight: 600; }
.lenta-head__brand em { color: var(--ink); font-style: normal; }
.lenta-head__region { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--lenta-line); border-radius: 10px; background: var(--lenta-surface); color: var(--lenta-text); font-size: 13px; font-weight: 500; cursor: pointer; max-width: 220px; }
.lenta-head__region:hover { background: var(--lenta-soft); }
.lenta-head__region-icon { color: var(--lenta-muted); font-size: 15px; line-height: 1; }
.lenta-head__region-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .lenta-head__region { padding: 0 8px; max-width: 140px; font-size: 12px; } .lenta-head__region-name { display: inline-block; max-width: 100px; } }
@media (max-width: 420px) { .lenta-head__region-name { display: none; } .lenta-head__region { padding: 0 10px; } }
.lenta-head__weather { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--lenta-line); border-radius: 10px; background: var(--lenta-surface); color: var(--lenta-text); font-size: 13px; font-weight: 500; text-decoration: none; max-width: 260px; }
.lenta-head__weather:hover { background: var(--lenta-soft); }
.lenta-head__weather b { font-weight: 600; }
.lenta-head__weather-dot { width: 10px; height: 10px; border-radius: 50%; background: #c8ccd1; flex: 0 0 10px; }
.lenta-head__weather.is-green  .lenta-head__weather-dot { background: #27ae60; box-shadow: 0 0 0 3px rgba(39,174,96,.18); }
.lenta-head__weather.is-yellow .lenta-head__weather-dot { background: #e5a800; box-shadow: 0 0 0 3px rgba(229,168,0,.18); }
.lenta-head__weather.is-red    .lenta-head__weather-dot { background: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,.18); }
.lenta-head__weather-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lenta-muted); max-width: 180px; }
@media (max-width: 980px) { .lenta-head__weather-text { display: none; } .lenta-head__weather { padding: 0 10px; gap: 6px; } }
@media (max-width: 760px) { .lenta-head__weather { height: 30px; font-size: 12px; } }
@media (max-width: 500px) { .lenta-head__weather { display: none; } }
.lenta-head__meta a { color: var(--lenta-text); }
.lenta-sections { display: flex; gap: 5px; padding: 9px 18px; overflow-x: auto; border-bottom: 1px solid var(--lenta-line); background: var(--lenta-surface); scrollbar-width: none; white-space: nowrap; }
.lenta-sections::-webkit-scrollbar { display: none; }
.lenta-sections a { padding: 6px 10px; border-radius: 999px; color: var(--lenta-muted); font-size: 13px; }
.lenta-sections a:hover { background: var(--lenta-soft); color: var(--lenta-text); }
.lenta-sections a.is-active { background: var(--lenta-yellow); color: #fff; font-weight: 600; }

@media (max-width: 820px) {
	body.home .layout { padding-top: 0; }
	.lenta-head { grid-template-columns: auto 1fr; }
	.lenta-head__brand b { display: none; }
}
.section-showcase__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section-showcase__head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.section-showcase__grid { display: grid; gap: 10px; }
.section-showcase__card { overflow: hidden; border-radius: 12px; background: var(--surface); }
.section-showcase__card h3 { margin: 0; border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.section-showcase__card h3 a { display: block; padding: 10px 12px; color: var(--rubric-fg, var(--text)); text-decoration: none; }
.section-showcase__card ul { margin: 0; padding: 0; list-style: none; }
.section-showcase__card li { border-bottom: 1px solid var(--line-2); }
.section-showcase__card li a { display: block; padding: 8px 12px; font-size: 13px; line-height: 1.3; text-decoration: none; }
.section-showcase__card li a:hover { background: var(--bg); color: var(--ink); }
.section-showcase__card li.is-lead a { padding-block: 10px; font-size: 14px; font-weight: 600; }
.section-showcase__more { display: flex; align-items: center; gap: 4px; padding: 9px 12px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.section-showcase__more:hover { color: var(--ink); }

@media (min-width: 700px) {
	.section-showcase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
	.feed-view-switch { margin-left: 0; }
	.feed-view-switch > span { display: none; }
	html[data-feed-view="list"] .feed > .card .card__body { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 9px 4px; }
	html[data-feed-view="list"] .feed > .card .card__title { font-size: 14px; }
}

.load-more { display: flex; justify-content: center; margin-top: 20px; }
.load-more .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.empty { padding: 32px 24px; border-radius: var(--radius); background: var(--surface); text-align: center; color: var(--muted-2); }
.empty h1 { margin: 0 0 8px; color: var(--text); font-size: 24px; }
.empty p { margin: 0 0 16px; }
.empty__code { margin: 0 !important; color: var(--accent); font: 700 64px/1 var(--font-display); }

/* ---------- Рекламные места ---------- */
.ad-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 250px; padding: 24px; border: 1.5px dashed var(--hover-line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 13px; text-align: center; }
.ad-slot strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.feed .ad-slot { grid-column: 1 / -1; min-height: 280px; }
.ad-slot--sidebar { min-height: 600px; }
.ad-slot--article { margin: 24px 0; }
/* Рабочее рекламное место (провайдер подключён): контейнер центрирует блок, min-height резервирует высоту (CLS). */
.ad { display: flex; justify-content: center; align-items: flex-start; margin: 0; }
.feed .ad { grid-column: 1 / -1; }
.ad--article { margin: 24px 0; }
.ad--direct img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ---------- Обсуждают в сообществе (темы форума) ---------- */
.forum-block { padding: 16px; border-radius: var(--radius); background: var(--surface); }
.feed .forum-block { grid-column: 1 / -1; padding: 18px 20px; }
.forum-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.forum-block__head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.forum-block__head a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.forum-block__list { margin: 0; padding: 0; list-style: none; }
.forum-block__list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.forum-block__list a { color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.forum-block__list a:hover { color: var(--ink); }
.forum-block__list span { color: var(--muted); font-size: 12.5px; }
@media (min-width: 700px) {
	.feed .forum-block__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.feed .forum-block__list li:nth-child(2) { border-top: 1px solid var(--line-2); }
}
@media (min-width: 1100px) {
	.shell--site .feed .forum-block__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Подписаться ---------- */
.sub { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--soft); }
.sub__title { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.sub p { margin: 0; color: var(--muted-2); font-size: 14.5px; line-height: 1.45; }
.sub__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.sub__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--surface); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
a.sub__btn:hover { color: var(--ink); }
.sub__btn--vk svg { color: #0077FF; }
.sub__btn--max svg { color: #6A4DFF; }
.sub__btn--ok svg { color: #EE8208; }
.sub__btn.is-soon { opacity: .75; cursor: default; }
.sub__btn em { padding: 2px 7px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 11.5px; font-style: normal; font-weight: 500; }
.feed .sub { grid-column: 1 / -1; }
.sub--article { margin-top: 24px; }
.sub--sidebar .sub__title { font-size: 17px; }
.sub--sidebar .sub__btn { flex: 1 1 100%; }
.sub--drawer { padding: 14px 16px; border-top: 1px solid var(--line); border-radius: 0; background: none; gap: 10px; }
.sub--drawer .sub__title { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.sub--drawer .sub__btn { min-height: 40px; box-shadow: none; background: var(--bg); }
@media (min-width: 700px) {
	.feed .sub, .sub--article { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; }
	.feed .sub .sub__buttons, .sub--article .sub__buttons { flex-shrink: 0; }
}

/* ---------- Правая колонка ---------- */
.widget { padding: 16px; border-radius: var(--radius); background: var(--surface); }
.widget__kicker { color: var(--dtp); font-size: 12.5px; font-weight: 600; }
.widget__title { margin: 2px 0 8px; font-size: 17px; font-weight: 600; }
.widget__list { margin: 0; padding: 0; list-style: none; }
.widget__list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.widget__list a { font-size: 14.5px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.widget__list a:hover { color: var(--ink); }
.widget__list time { color: var(--muted); font-size: 12.5px; }
.widget__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.widget--forum p { margin: 0 0 12px; color: var(--muted-2); font-size: 14px; }
.widget--forum .btn { width: 100%; }

/* ---------- Новость ---------- */
.article { min-width: 0; margin-inline: calc(var(--gutter) * -1); padding: 20px var(--gutter) 28px; background: var(--surface); }
.article__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--muted); font-size: 13px; }
.article__crumbs a { color: var(--muted); text-decoration: none; }
.article__crumbs a:hover { text-decoration: underline; }
.article__crumbs .article__rubric { color: var(--rubric-fg); font-weight: 600; }
.article__title { margin: 10px 0 10px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13.5px; }
.article__meta a { color: var(--ink); }
.article__views { display: inline-flex; align-items: center; gap: 4px; }
.article__figure { margin: 20px calc(var(--gutter) * -1) 0; }
.article__figure img { display: block; width: 100%; height: auto; }
.article__figure figcaption { padding: 8px var(--gutter) 0; color: var(--muted); font-size: 12.5px; }
.article__figure figcaption a { color: var(--ink); }

.entry { margin-top: 20px; font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1em; }
.entry h2 { margin: 1.6em 0 .6em; font-size: 22px; font-weight: 700; }
.entry h3 { margin: 1.4em 0 .5em; font-size: 19px; font-weight: 700; }
.entry a { color: var(--ink); text-underline-offset: 2px; }
.entry img { border-radius: 12px; }
.entry figure { margin: 1.4em 0; }
.entry figcaption, .entry .wp-caption-text { margin-top: 6px; color: var(--muted); font-size: 13px; }
.entry .wp-caption { max-width: 100%; }
.entry blockquote { margin: 1.4em 0; padding: 14px 18px; border-radius: 12px; background: var(--bg); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry ul, .entry ol { margin: 0 0 1em; padding-left: 1.3em; }
.entry li { margin-bottom: .3em; }
.entry table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry iframe, .entry video, .entry embed { width: 100%; border: 0; border-radius: 12px; }
.entry iframe { aspect-ratio: 16 / 9; height: auto; }
.entry .wp-block-embed__wrapper iframe { aspect-ratio: auto; }

/* Блоки новости, которые пишет редакция (формат из plan.md). */
.entry .mf-lead { font-size: 18px; font-weight: 600; line-height: 1.5; }
.entry .mf-box { margin: 1.6em 0; padding: 16px 20px; border-radius: var(--radius); background: var(--bg); font-size: 15.5px; line-height: 1.5; }
.entry .mf-box > :last-child { margin-bottom: 0; }
.entry .mf-box h2 { margin: 0 0 10px; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.entry .mf-box--means { background: var(--soft); font-size: 16px; }
.entry .mf-box--means h2 { color: var(--ink); font-size: 16px; letter-spacing: 0; text-transform: none; }
.entry .mf-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; margin: 0; }
.entry .mf-facts dt { color: var(--muted); }
.entry .mf-facts dd { margin: 0; }
.entry .mf-timeline { margin: 0 0 1em; padding: 0; list-style: none; font-size: 15px; }
.entry .mf-timeline li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line-2); }
.entry .mf-timeline time { color: var(--muted); }
.entry .mf-video-credit { margin-top: -0.6em; color: var(--muted); font-size: 13px; }
.inline-related { display: flex; gap: 16px; margin: 1.6em 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--rubric, var(--accent)); border-radius: var(--radius); background: var(--surface); }
.inline-related__body { display: grid; flex: 1; align-content: center; gap: 4px; min-width: 0; }
.inline-related__body > span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.inline-related__body > a { color: var(--text); font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.inline-related__body > a:hover { color: var(--ink); text-decoration: underline; }
.inline-related__body time { color: var(--muted); font-size: 12.5px; }
.inline-related__thumb { flex: 0 0 112px; align-self: stretch; min-height: 76px; overflow: hidden; border-radius: 10px; }
.inline-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 520px) { .inline-related__thumb { flex-basis: 88px; } }

.card__comments { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; }
.card__comments:hover { color: var(--ink); }

/* ---------- Комментарии ---------- */
.comments { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.comments__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.comments__head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.comments__head h2 span { color: var(--muted); font-weight: 600; }
.comments__forum { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.comments__forum:hover { text-decoration: underline; }
.comments__empty { margin: 8px 0 0; color: var(--muted); }
.comments__list, .comments__list .children { margin: 0; padding: 0; list-style: none; }
.comments__list .children { margin-left: 22px; padding-left: 14px; border-left: 2px solid var(--line-2); }
.comment__body { display: flex; gap: 12px; padding: 14px 0; }
.comments__list > .comment + .comment > .comment__body, .comments__list .children .comment__body { border-top: 1px solid var(--line-2); }
.comment__avatar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: hsl(var(--hue) 55% 88%); color: hsl(var(--hue) 45% 30%); font-weight: 700; }
.comment__main { min-width: 0; flex: 1; }
.comment__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.comment__meta a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.comment__text { margin-top: 4px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.comment__text p { margin: 0 0 .6em; }
.comment__text p:last-child { margin: 0; }
.comment__pending { margin: 4px 0 0; color: var(--ink); font-size: 13px; }
.comment__reply a { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.comment__reply a:hover { color: var(--ink); }
.comment-respond { margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg); }
.comments__list .comment-respond { margin: 4px 0 12px; }
.comment-reply-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.comment-reply-title small a { color: var(--muted); font-size: 13px; font-weight: 500; }
.comments__rules { margin: 0 0 12px; color: var(--muted-2); font-size: 13.5px; line-height: 1.45; }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--muted-2); font-size: 14px; font-weight: 500; }
.comment-form label small { color: var(--muted); font-weight: 400; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 16px; }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.comment-form-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; }
.comment-form-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.comment-form .form-submit .btn { justify-self: start; }
.comment-auth { width: min(460px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 18px 60px rgba(18, 20, 23, .24); }
.comment-auth::backdrop { background: rgba(18, 20, 23, .55); }
.comment-auth h3 { margin: 0 32px 8px 0; font-size: 20px; }
.comment-auth p { margin: 0; color: var(--muted-2); line-height: 1.5; }
.comment-auth__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.comment-auth__close:hover { background: var(--bg); color: var(--text); }
.comment-auth__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.comment-auth__actions .btn { text-decoration: none; }
.comment-auth__actions .btn--secondary { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.comment-auth__actions .btn--secondary:hover { border-color: var(--hover-line); background: var(--bg); }
@media (min-width: 700px) {
	.comment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.comment-form .comments__rules, .comment-form .comment-form-comment, .comment-form .comment-form-consent, .comment-form .form-submit, .comment-form .comment-notes { grid-column: 1 / -1; }
}
:root[data-theme="dark"] .comment__avatar { background: hsl(var(--hue) 30% 26%); color: hsl(var(--hue) 60% 82%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .comment__avatar { background: hsl(var(--hue) 30% 26%); color: hsl(var(--hue) 60% 82%); } }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.share__btn[hidden] { display: none; }
.share__btn:hover { border-color: var(--hover-line); }
.share__btn svg { flex-shrink: 0; }
.share__btn--vk svg { color: #0077FF; }
.share__btn--ok svg { color: #EE8208; }
.share__btn--native { background: var(--btn); border-color: var(--btn); color: #fff; }
.share__btn--native:hover { background: var(--btn-hover); }
.share__btn.is-done { border-color: #0F6E66; color: #0F6E66; }
/* На телефоне со своим меню «Поделиться» оставляем его и «Скопировать» — остальные кнопки прячем. */
.share.has-native .share__btn:not(.share__btn--native):not(.share__btn--copy) { display: none; }
@media (max-width: 699px) { .share__btn { padding: 0 12px; } }

/* ---------- Реакции на новости ---------- */
.news-reactions { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.news-reactions__kicker { margin: 0 0 5px; color: var(--rubric, var(--accent)); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.news-reactions--dtp .news-reactions__kicker { color: var(--dtp); }
.news-reactions h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.news-reactions__note { margin: 7px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.news-reactions.has-reacted .news-reactions__note--before { display: none; }
.news-reactions__choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.news-reactions__choice { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.news-reactions__choice:hover { border-color: var(--rubric, var(--accent)); transform: translateY(-1px); }
.news-reactions--dtp .news-reactions__choice:hover { border-color: var(--dtp); }
.news-reactions__choice.is-selected { border-color: var(--rubric, var(--accent)); background: var(--rubric-soft, var(--soft)); color: var(--ink); font-weight: 600; }
.news-reactions--dtp .news-reactions__choice.is-selected { border-color: var(--dtp); }
.news-reactions__emoji { font-size: 18px; line-height: 1; }
.news-reactions__choice b { display: none; min-width: 1ch; color: var(--muted); font-size: 12px; }
.news-reactions.has-reacted .news-reactions__choice b { display: inline; }
.news-reactions[aria-busy="true"] .news-reactions__choice { opacity: .6; pointer-events: none; }
.news-reactions__summary { display: none; margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.news-reactions.has-reacted .news-reactions__summary { display: block; }
.news-reactions.has-error::after { content: "Не удалось сохранить реакцию. Попробуйте ещё раз."; display: block; margin-top: 10px; color: var(--dtp); font-size: 13px; }
@media (max-width: 540px) {
	.news-reactions { padding: 16px; }
	.news-reactions__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-reactions__choice { justify-content: flex-start; min-width: 0; padding: 8px 10px; border-radius: 12px; }
	.news-reactions__choice b { margin-left: auto; }
}

/* ---------- Голосование в новостях о ДТП ---------- */
.dtp-poll { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dtp-poll__kicker { margin: 0 0 5px; color: var(--dtp); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dtp-poll h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.dtp-poll__note { margin: 7px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.dtp-poll__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.dtp-poll__choice { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.dtp-poll__choice:hover { border-color: var(--rubric, var(--accent)); }
.dtp-poll__choice.is-selected { border-color: var(--rubric, var(--accent)); background: var(--rubric-soft, var(--soft)); color: var(--ink); font-weight: 600; }
.dtp-poll__choice b { display: none; color: var(--muted); font-size: 12px; }
.dtp-poll.has-voted .dtp-poll__choice b { display: inline; }
.dtp-poll[aria-busy="true"] .dtp-poll__choice { opacity: .6; pointer-events: none; }
.dtp-poll__results { display: none; margin-top: 18px; }
.dtp-poll.has-voted .dtp-poll__results { display: grid; gap: 9px; }
.dtp-poll__result { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 6px; overflow: hidden; font-size: 13px; }
.dtp-poll__result i { position: absolute; bottom: 0; left: 0; width: var(--poll-width); height: 3px; border-radius: 2px; background: var(--rubric, var(--accent)); transition: width .25s ease; }
.dtp-poll__result::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; z-index: -1; height: 3px; border-radius: 2px; background: var(--line-2); }
.dtp-poll__results p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.dtp-poll__explain { justify-self: start; color: var(--ink); font-size: 14px; font-weight: 600; }
.dtp-poll.has-error::after { content: "Не удалось сохранить голос. Попробуйте ещё раз."; display: block; margin-top: 10px; color: var(--dtp); font-size: 13px; }
@media (max-width: 540px) { .dtp-poll { padding: 16px; } .dtp-poll__choice { width: 100%; justify-content: space-between; border-radius: 11px; } }

.sources { margin-top: 24px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.sources > summary { margin: 0 -20px; padding: 13px 20px; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 6px; }
.sources > summary::-webkit-details-marker { display: none; }
.sources > summary::after { content: "▾"; margin-left: auto; color: var(--muted); font-weight: 400; }
.sources[open] > summary::after { content: "▴"; }
.sources[open] > summary { border-bottom: 1px solid var(--line-2); }
.sources .sources__count { font-weight: 400; color: var(--muted); font-size: 13px; }
.sources > .sources__list { margin-top: 12px; }
.sources > .sources__media:last-child { padding-bottom: 14px; }
.sources__list { margin: 0; padding: 0; list-style: none; }
.sources__list li { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.sources__list li:first-child { border-top: 0; }
.sources__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sources__list a:hover { text-decoration: underline; }
.sources__list span { color: var(--muted); font-size: 12.5px; }
.sources__also { margin-top: 6px; }
.sources__also summary { display: inline-block; padding: 7px 12px; border-radius: 10px; background: var(--bg); font-size: 13.5px; font-weight: 500; list-style: none; cursor: pointer; }
.sources__also summary::-webkit-details-marker { display: none; }
.sources__also summary::after { content: " ▾"; }
.sources__also[open] summary::after { content: " ▴"; }
.sources__also .sources__list a { font-weight: 500; }
.sources__media { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); color: var(--muted-2); font-size: 13px; }
.sources__media strong { color: var(--text); }
.sources__media a { color: var(--ink); }

.more { margin-top: 32px; }
.more h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }

/* ---------- Формы (Contact Form 7) ---------- */
.wpcf7 fieldset.hidden-fields-container { display: none; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form { display: grid; gap: 14px; margin-top: 12px; }
.wpcf7 p { margin: 0; }
.wpcf7 label { display: grid; gap: 6px; color: var(--muted-2); font-size: 14px; font-weight: 500; }
.wpcf7 br { display: none; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="url"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 16px; }
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.wpcf7 .wpcf7-acceptance input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input[type="submit"] { justify-self: start; min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--btn); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--btn-hover); }
.wpcf7 input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.wpcf7-not-valid-tip { color: var(--dtp); font-size: 13px; }
.wpcf7 .wpcf7-response-output { margin: 4px 0 0; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--bg); font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { background: #E6F4F2; color: #0F6E66; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { background: var(--soft); color: var(--ink); }
.wpcf7-spinner { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Список регионов (/region/) ---------- */
.region-index { margin: 0; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); list-style: none; columns: 1; column-gap: 24px; }
.region-index li { break-inside: avoid; padding: 6px 0; }
.region-index a { text-decoration: none; }
.region-index a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Подвал ---------- */
.site-footer { margin-top: 16px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted-2); font-size: 14px; }
.site-footer__inner { display: grid; gap: 16px; padding-block: 28px 36px; }
.site-footer__brand p { margin: 8px 0 0; }
.logo--footer { font-size: 14px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__nav a { color: var(--muted-2); text-decoration: none; }
.site-footer__nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer__service { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__service a { color: var(--muted-2); text-decoration: none; }
.site-footer__service a:hover { color: var(--text); text-decoration: underline; }
.site-footer__note, .site-footer__copy { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer__counters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Левая колонка (сайт и форум, template-parts/site-side.php) ----------
   Телефон и планшет: выезжающая панель (dialog, открывается кнопкой меню). От 1100px стоит в сетке страницы:
   1100–1279 — только значки, от 1280 — полностью. */
.shell { min-width: 0; }
.shell__main { min-width: 0; }
.shell .layout.container { max-width: none; padding-inline: 0; }

.side { text-align: left; width: min(360px, 90vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--surface); color: var(--text); font-size: 14px; line-height: 1.4; }
.side::backdrop, .region-dialog::backdrop { background: rgba(18, 20, 23, .45); }
.side__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.side__head .logo { order: 0; flex: 0 1 auto; font-size: 14px; }
.side__card { border-bottom: 1px solid var(--line); background: var(--surface); }
.side a { text-decoration: none; }

.side__me { padding: 14px 16px; }
.side-me__who { display: flex; align-items: center; gap: 10px; color: var(--text); }
.side-me__ava { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: var(--soft); color: var(--ink); font-weight: 700; }
.side-me__ava img { width: 100%; height: 100%; object-fit: cover; }
.side-me__text { display: grid; min-width: 0; }
.side-me__name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.side-me__sub { color: var(--muted); font-size: 12.5px; }
.side-me__links { display: grid; margin: 8px -8px 0; }
.side-me--guest { display: grid; gap: 10px; }
.side-me__hint { margin: 0; color: var(--muted-2); font-size: 13.5px; }
.side-me__login svg { flex-shrink: 0; }
.side-me__reg { color: var(--ink); font-size: 13.5px; font-weight: 500; text-align: center; }

.side__nav { padding: 6px 8px 10px; }
.side-group + .side-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.side-group__title { padding: 8px 8px 4px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.side-link { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.side-link svg { flex-shrink: 0; color: var(--muted); }
.side-link:hover { background: var(--bg); }
.side-link.is-active { background: var(--soft); color: var(--ink); font-weight: 600; }
.side-link.is-active svg { color: var(--ink); }
.side-link--quiet { color: var(--muted); }
.side-link--text:not(:has(.side-dot)) { padding-left: 38px; }
.side-dot { display: inline-grid; flex-shrink: 0; place-items: center; width: 20px; height: 20px; }
.side-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rubric, var(--accent)); }
.side-count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.side-more > summary { color: var(--muted-2); list-style: none; }
.side-more > summary::-webkit-details-marker { display: none; }
.side-more > summary::after { content: "▾"; margin-left: 6px; font-size: 11px; }
.side-more[open] > summary::after { content: "▴"; }
.side-sub { display: grid; margin: 0 0 4px 38px; }
.side-sub a { display: flex; align-items: center; min-height: 32px; padding: 0 8px; border-radius: 8px; color: var(--muted-2); font-size: 13.5px; }
.side-sub a:hover { background: var(--bg); }
.side-sub a.is-active { color: var(--ink); font-weight: 600; }
.side__all { display: none; }

.side__foot { border-bottom: 0; }
.side__foot .sub--drawer { border-top: 0; }
.side__service { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 16px 24px; color: var(--muted); font-size: 12.5px; }
.side__service a { color: var(--muted); }
.side__service a:hover { color: var(--text); text-decoration: underline; }

.sidebar__service { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.sidebar__service { padding: 0 4px; font-size: 12.5px; }
.sidebar__service a { color: var(--muted); text-decoration: none; }
.sidebar__service a:hover { color: var(--text); text-decoration: underline; }
.sidebar__service span { flex-basis: 100%; }

/* ---------- Выбор региона ---------- */
.region-dialog { width: min(560px, calc(100vw - 32px)); max-height: min(80dvh, 720px); padding: 20px; border: 0; border-radius: 20px; background: var(--surface); color: var(--text); }
.region-dialog[open] { display: flex; flex-direction: column; gap: 12px; }
.region-dialog__head { display: flex; align-items: center; justify-content: space-between; margin: -6px -8px 0 0; }
.region-dialog__head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.region-dialog__hint { margin: 0; color: var(--muted); font-size: 14px; }
.region-dialog__filter { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.region-dialog__list { flex: 1; min-height: 0; margin: 0 -8px; padding: 0; overflow-y: auto; list-style: none; }
.region-dialog__list button { width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; font-size: 15px; text-align: left; cursor: pointer; }
.region-dialog__list button:hover { background: var(--bg); }
.region-dialog__list button.is-current { background: var(--soft); color: var(--ink); font-weight: 600; }
.region-index__filter { width: 100%; height: 44px; margin: 0 0 14px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 16px; }
.region-index__empty { margin: 0 0 14px; padding: 14px; border-radius: 12px; background: var(--surface); color: var(--muted); text-align: center; }

/* ---------- Планшет ---------- */
@media (min-width: 700px) {
	:root { --gutter: 24px; }
	.feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.card--hero { grid-column: 1 / -1; }
	.card--hero .card__title { font-size: 24px; }
	.card--hero .card__lead { font-size: 15px; }
	.card--hero .cover__title { font-size: 28px; }
	.page-head h1 { font-size: 32px; }
	.article { margin-inline: 0; padding: 32px 40px 36px; border-radius: var(--radius); }
	.article__title { font-size: 34px; }
	.article__figure { margin: 24px 0 0; }
	.article__figure img { border-radius: 12px; }
	.article__figure figcaption { padding-inline: 0; }
	.region-index { columns: 2; }
	.site-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; }
	.site-footer__service, .site-footer__note, .site-footer__copy, .site-footer__counters { grid-column: 1 / -1; }
}

/* ---------- Компьютер ---------- */
@media (min-width: 1100px) {
	.header-bar { flex-wrap: nowrap; gap: 20px; min-height: 72px; padding-block: 0; }
	.header-bar::after, [data-search-toggle], [data-menu-open] { display: none; }
	.header-icons { order: 5; margin-right: -8px; }
	.logo { order: 1; flex: 0 0 auto; font-size: 18px; }
	.header-search { order: 2; display: flex; flex: 1 1 auto; flex-basis: auto; max-width: 440px; }
	.region-btn { order: 3; margin-left: auto; height: 40px; padding: 0 14px; }
	.header-link { order: 4; display: inline-flex; align-items: center; height: 40px; padding: 0 6px; font-size: 15px; font-weight: 500; text-decoration: none; }
	.header-link:hover { color: var(--ink); }
	.chips { padding-block: 0 14px; } /* одна строка с прокруткой, как на телефоне */
	.site-header.is-hidden { transform: none; }

	.layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; padding-block: 24px 48px; }
	.sidebar { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
	.admin-bar .sidebar { top: 182px; }
	/* С левой колонкой лента — 2 карточки в ряд (решение владельца 2026-09-26). */
	.feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--hero { grid-column: 1 / -1; }

	/* Левая колонка в сетке страницы: сначала узкая, только значки. */
	.shell { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; }
	.side:not(:modal) { position: sticky; top: 146px; display: grid; gap: 12px; width: auto; height: auto; max-height: calc(100vh - 162px); margin: 24px 0 0; overflow-y: auto; background: none; scrollbar-width: thin; }
	.admin-bar .side:not(:modal) { top: 178px; max-height: calc(100vh - 194px); }
	.side:not(:modal) .side__head { display: none; }
	.side:not(:modal) .side__card { border: 0; border-radius: var(--radius); }
	.side:not(:modal) :is(.side-link__label, .side-me__text, .side-me__hint, .side-me__reg, .side-group__title, .side-more, .side-group--cats, .side-link--text, .side__foot) { display: none; }
	.side:not(:modal) .side__me { display: grid; justify-items: center; padding: 10px 0; }
	.side:not(:modal) .side-me__who { justify-content: center; }
	.side:not(:modal) .side-me__links { justify-items: center; margin: 6px 0 0; }
	.side:not(:modal) .side__nav { display: grid; justify-items: center; padding: 6px 0; }
	.side:not(:modal) .side-group { display: grid; justify-items: center; }
	.side:not(:modal) .side-group + .side-group { width: 32px; }
	.side:not(:modal) .side-group + .side-group > .side-link { margin-inline: -6px; }
	.side:not(:modal) .side-link { justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; }
	.side:not(:modal) .side-me__login { width: 44px; min-height: 44px; padding: 0; }
	.side:not(:modal) .side-count { position: absolute; top: 3px; right: 1px; min-width: 16px; margin: 0; padding: 0 4px; font-size: 10px; line-height: 16px; }
	.side:not(:modal) .side__all { display: flex; }
	.side:not(:modal) .side-group.side-group--cats { display: none; }
	.card--hero .card__media { aspect-ratio: 16 / 9; }
	.layout--article .article { max-width: 820px; }
	.region-index { columns: 3; }
	.region-dialog__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header { transition: none; }
}

/* ---------- Компьютер от 1280px: левая колонка полностью; строка разделов под шапкой остаётся (решение владельца 2026-09-26) ---------- */
@media (min-width: 1280px) {
	.header-bar { min-height: 72px; }
	.sidebar { top: 150px; }
	.admin-bar .sidebar { top: 182px; }
	.shell { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
	.side:not(:modal) { top: 150px; max-height: calc(100vh - 166px); }
	.admin-bar .side:not(:modal) { top: 182px; max-height: calc(100vh - 198px); }
	.side:not(:modal) :is(.side-link__label, .side-me__text, .side-group__title, .side-more, .side-group--cats, .side-link--text, .side__foot) { display: revert; }
	.side:not(:modal) :is(.side-link--text, .side-me__text) { display: flex; }
	.side:not(:modal) .side-me__text { display: grid; }
	.side:not(:modal) .side-me--guest :is(.side-me__hint, .side-me__reg) { display: block; }
	.side:not(:modal) .side__me { display: block; padding: 14px; }
	.side:not(:modal) .side-me--guest { display: grid; }
	.side:not(:modal) .side-me__who { justify-content: flex-start; }
	.side:not(:modal) .side-me__links { justify-items: stretch; margin: 8px -6px 0; }
	.side:not(:modal) .side__nav { display: block; justify-items: normal; padding: 6px 6px 10px; }
	.side:not(:modal) .side-group { display: block; justify-items: normal; }
	.side:not(:modal) .side-group.side-group--cats { display: block; }
	.side:not(:modal) .side-group + .side-group { width: auto; }
	.side:not(:modal) .side-group + .side-group > .side-link { margin-inline: 0; }
	.side:not(:modal) .side-link { justify-content: flex-start; width: 100%; height: auto; min-height: 36px; padding: 0 8px; }
	.side:not(:modal) .side-link--text:not(:has(.side-dot)) { padding-left: 38px; }
	.side:not(:modal) .side-me__login { width: 100%; min-height: 40px; padding: 0 16px; }
	.side:not(:modal) .side-count { position: static; min-width: 22px; margin-left: auto; padding: 1px 7px; font-size: 12px; line-height: 18px; }
	.side:not(:modal) .side__all { display: none; }
	.side:not(:modal) .side__foot { display: block; padding-top: 4px; }
	.side:not(:modal) .side__foot .sub--drawer { padding: 12px 14px 8px; background: none; }
	.side:not(:modal) .side__foot .sub__buttons { flex-direction: column; }
	.side:not(:modal) .side__service { padding: 0 14px 14px; }
}

/* ---------- Сайт без левой колонки (решение владельца 2026-09-26): колонка только на форуме ----------
   На сайте <dialog class="side"> остаётся только меню телефона (☰); на компьютере — строка разделов и «Войти» в шапке. */
.header-login { display: none; }
@media (min-width: 1100px) {
	.shell--site { display: block; }
	.shell--site > .side:not(:modal) { display: none; }
	.shell--site .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.shell--site .card--hero { grid-column: span 2; }
	.header-login { order: 5; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--btn); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
	.header-login:hover { background: var(--btn-hover); }
	.header-icons { order: 6; }
}

/* ---------- Правая колонка: прокручивается со страницей, прилипает только нижний блок (реклама + ссылки) ---------- */
@media (min-width: 1100px) {
	.sidebar, .admin-bar .sidebar { position: static; top: auto; align-self: stretch; }
	.sidebar__sticky { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 16px; }
	.admin-bar .sidebar__sticky { top: 182px; }
}

/* ---------- Меню портала — первая строка под шапкой (сайт и форум) ---------- */
.portal-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.portal-nav::-webkit-scrollbar { display: none; }
.portal-nav__link { flex: 0 0 auto; padding: 10px 12px 11px; border-bottom: 2px solid transparent; color: var(--muted-2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.portal-nav__link:first-child { padding-left: 0; }
.portal-nav__link:hover { color: var(--text); }
.portal-nav__link.is-active { border-bottom-color: var(--accent); color: var(--text); }
.portal-nav + .chips { padding-top: 10px; border-top: 1px solid var(--line-2); }
@media (min-width: 1100px) {
	.portal-nav { gap: 8px; }
	.portal-nav__link { padding: 12px 14px 13px; font-size: 16px; }
	.portal-nav__link:first-child { padding-left: 0; }
	.sidebar__sticky { top: 206px; }
	.admin-bar .sidebar__sticky { top: 238px; }
}
@media (min-width: 1280px) {
	.side:not(:modal) { top: 206px; max-height: calc(100vh - 222px); }
	.admin-bar .side:not(:modal) { top: 238px; max-height: calc(100vh - 254px); }
}

/* ---------- Страница «Скоро» (незапущенный раздел) ---------- */
.soon { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); }
.soon__badge { display: inline-block; padding: 4px 10px; border-radius: 10px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; }
.soon h1 { margin: 12px 0 8px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.soon__lead { margin: 0 0 20px; color: var(--muted-2); font-size: 18px; line-height: 1.45; }
.soon h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.soon__list { margin: 0 0 24px; padding: 0; list-style: none; }
.soon__list li { position: relative; padding: 8px 0 8px 24px; border-top: 1px solid var(--line-2); font-size: 16px; }
.soon__list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.soon__now { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--bg); }
.soon__now p { margin: 0; color: var(--muted-2); }
.soon + .sub { margin-top: 16px; }

/* ---------- Сводка ДТП над лентой ---------- */
.dtp-sum { display: grid; gap: 14px; margin-bottom: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border-left: 0; }
.dtp-sum__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.dtp-sum__kicker { color: var(--dtp); font-size: 12.5px; font-weight: 600; }
.dtp-sum__scope { margin-top: 2px; font-size: 17px; font-weight: 700; }
.dtp-sum__tabs { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--tabs-bg); overflow-x: auto; scrollbar-width: none; }
.dtp-sum__tabs button { flex: 0 0 auto; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--muted-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dtp-sum__tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dtp-sum__nums { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; }
.dtp-sum__nums > div { display: flex; flex-direction: column; }
.dtp-sum__nums b { font: 700 34px/1 var(--font-display); letter-spacing: -.02em; }
.dtp-sum__nums .is-killed b { color: var(--dtp); }
.dtp-sum__nums span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.dtp-sum__note { align-self: flex-end; padding-bottom: 2px; color: var(--muted); font-size: 12.5px; }
.dtp-sum--sim .dtp-sum__kicker { color: #0B6A86; }
.dtp-sum__more { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.dtp-sum__more:hover { text-decoration: underline; }
@media (max-width: 699px) { .dtp-sum__more { margin-left: 0; flex-basis: 100%; } .dtp-sum__nums b { font-size: 30px; } }

.lenta-pogoda h1 { font-size: 22px; margin: 6px 0 14px; }
.lenta-pogoda__verdict { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--lenta-soft); margin-bottom: 18px; }
.lenta-pogoda__verdict b { display: block; font-size: 16px; }
.lenta-pogoda__verdict small { display: block; color: var(--lenta-muted); font-size: 13px; margin-top: 2px; }
.lenta-pogoda__dot { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px; background: #c8ccd1; }
.lenta-pogoda__verdict.is-green  .lenta-pogoda__dot { background: #27ae60; box-shadow: 0 0 0 5px rgba(39,174,96,.18); }
.lenta-pogoda__verdict.is-yellow .lenta-pogoda__dot { background: #e5a800; box-shadow: 0 0 0 5px rgba(229,168,0,.18); }
.lenta-pogoda__verdict.is-red    .lenta-pogoda__dot { background: #e74c3c; box-shadow: 0 0 0 5px rgba(231,76,60,.18); }
.lenta-pogoda__now { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 20px; padding: 0; }
.lenta-pogoda__now div { padding: 10px 12px; background: var(--lenta-surface); border: 1px solid var(--lenta-line); border-radius: 10px; }
.lenta-pogoda__now dt { color: var(--lenta-muted); font-size: 12px; margin: 0; }
.lenta-pogoda__now dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.lenta-pogoda__hours { width: 100%; border-collapse: collapse; font-size: 13px; }
.lenta-pogoda__hours th, .lenta-pogoda__hours td { padding: 6px 8px; border-bottom: 1px solid var(--lenta-line); text-align: left; }
.lenta-pogoda__hours th { color: var(--lenta-muted); font-weight: 500; }
.lenta-pogoda__src { margin: 16px 0 0; color: var(--lenta-muted); font-size: 12px; }

.lenta-all__head { margin: 0 0 10px; }
.lenta-all__head h1 { margin: 0; font-size: 22px; }
.lenta-all__count { margin: 2px 0 10px; color: var(--lenta-muted); font-size: 13px; }
.lenta-all__filters { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.lenta-all__row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lenta-all__row--selects { gap: 10px 14px; align-items: flex-end; }
.lenta-all__row--selects label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--lenta-muted); }
.lenta-all__row--selects select { height: 32px; padding: 0 10px; border: 1px solid var(--lenta-line); border-radius: 8px; background: var(--lenta-surface); color: var(--lenta-text); font-size: 13px; }
.lenta-all__chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--lenta-line); border-radius: 16px; color: var(--lenta-text); background: var(--lenta-surface); text-decoration: none; font-size: 13px; }
.lenta-all__chip.is-active { background: var(--lenta-yellow); border-color: var(--lenta-yellow); color: #fff; }
.lenta-all__rss { margin-left: auto; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--lenta-line); border-radius: 8px; color: var(--lenta-muted); text-decoration: none; font-size: 12px; }
.lenta-all__day { margin: 18px 0 6px; padding: 6px 0; display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--lenta-line); font-size: 16px; font-weight: 600; }
.lenta-all__day a { color: var(--lenta-text); text-decoration: none; }
.lenta-all__day span { color: var(--lenta-muted); font-size: 12px; font-weight: 400; }
.lenta-all__day-list { display: flex; flex-direction: column; }
.lenta-all__item { display: grid; grid-template-columns: 50px 1fr; column-gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--lenta-line); color: var(--lenta-text); text-decoration: none; }
.lenta-all__item:hover { background: var(--lenta-soft); }
.lenta-all__item time { color: var(--lenta-muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.lenta-all__title { font-size: 15px; line-height: 1.35; }
.lenta-all__meta { grid-column: 2; color: var(--lenta-muted); font-size: 12px; margin-top: 2px; display: flex; gap: 6px; }
.lenta-all__pager { margin: 16px 0 2px; display: flex; justify-content: space-between; gap: 8px; }
.lenta-all__pager a { padding: 8px 14px; border-radius: 10px; background: var(--lenta-soft); color: var(--lenta-text); text-decoration: none; font-size: 13px; }
@media (max-width: 760px) {
  .lenta-all__row--selects { flex-direction: column; align-items: stretch; }
  .lenta-all__rss { margin: 4px 0 0; }
}

/* Блоки по разделам в Ленте — показываем на главной и адаптируем под её палитру. */
.lenta-main .section-showcase { display: block; margin-top: 18px; padding: 14px 14px 8px; background: var(--lenta-surface); border-radius: 12px; }
.lenta-main .lenta-cards--group { margin-top: 14px; }
.lenta-main .section-showcase__card--inline { margin-top: 14px; background: var(--lenta-surface); }
.lenta-main .section-showcase__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; }
.lenta-main .section-showcase__head h2 { margin: 0; font-size: 17px; font-weight: 600; color: var(--lenta-text); }
.lenta-main .section-showcase__card { margin: 10px 0; padding: 12px 14px; border: 1px solid var(--lenta-line); border-radius: 10px; background: var(--lenta-surface); }
.lenta-main .section-showcase__card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.lenta-main .section-showcase__card h3 a { color: var(--rubric-fg, var(--lenta-text)); text-decoration: none; }
.lenta-main .section-showcase__card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.lenta-main .section-showcase__card li { font-size: 14px; line-height: 1.35; }
.lenta-main .section-showcase__card li a { color: var(--lenta-text); text-decoration: none; }
.lenta-main .section-showcase__card li.is-lead { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; font-size: 15px; font-weight: 500; }
.lenta-main .section-showcase__card li.is-lead .section-showcase__cover img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }
.lenta-main .section-showcase__card li.is-lead a:last-child { grid-column: 2; }
.lenta-main .section-showcase__more { display: inline-flex; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.lenta-main .section-showcase .lenta-ad { margin: 12px 0; }
@media (min-width: 920px) {
    .lenta-main .section-showcase__card ul { grid-template-columns: 1fr 1fr; }
    .lenta-main .section-showcase__card li.is-lead { grid-column: 1 / -1; }
}

.mf-season { background: var(--lenta-surface); border: 1px solid var(--lenta-line); border-radius: 10px; padding: 10px 12px; }
.mf-season h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--lenta-text); }
.mf-season__num { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.mf-season__num b { font-size: 24px; font-weight: 700; color: var(--accent); }
.mf-season__num span { font-size: 13px; color: var(--lenta-muted); }
.mf-season small { color: var(--lenta-muted); font-size: 12px; }
.mf-stats { background: var(--lenta-surface); border: 1px solid var(--lenta-line); border-radius: 10px; padding: 10px 12px; }
.mf-stats h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--lenta-text); }
.mf-stats__total { margin: 0 0 8px; display: flex; align-items: baseline; gap: 6px; }
.mf-stats__total b { font-size: 22px; font-weight: 700; color: var(--lenta-text); }
.mf-stats__total span { font-size: 13px; color: var(--lenta-muted); }
.mf-stats ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mf-stats li a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--lenta-text); text-decoration: none; font-size: 13px; }
.mf-stats li a:hover { color: var(--accent); }
.mf-stats li b { color: var(--lenta-muted); font-weight: 600; }
.dtp-side { background: var(--lenta-surface); border: 1px solid var(--lenta-line); border-radius: 10px; padding: 10px 12px; }
.dtp-side__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.dtp-side__head h2 { margin: 0; font-size: 13px; font-weight: 600; color: var(--lenta-text); }
.dtp-side { position: relative; }
.dtp-side__tabs { display: inline-flex; gap: 2px; }
.dtp-side__picker.is-active { background: var(--lenta-soft); }
.dtp-side__pop { position: absolute; right: 8px; top: 38px; z-index: 20; width: 220px; padding: 10px; background: var(--lenta-bg, #fff); border: 1px solid var(--lenta-line, #e3e3e3); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.dtp-side__pop[hidden] { display: none; }
.dtp-pop__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dtp-pop__head button { width: 26px; height: 26px; border: 0; border-radius: 6px; background: var(--lenta-soft); color: var(--lenta-text); cursor: pointer; font-size: 16px; line-height: 1; }
.dtp-pop__head button:disabled { opacity: .35; cursor: default; }
.dtp-pop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dtp-pop__grid button { padding: 6px 0; border: 0; border-radius: 6px; background: transparent; color: var(--lenta-text); font-size: 12px; cursor: pointer; }
.dtp-pop__grid button:hover:not(:disabled) { background: var(--lenta-soft); }
.dtp-pop__grid button.has { font-weight: 700; }
.dtp-pop__grid button:disabled { color: var(--lenta-muted); opacity: .4; cursor: default; }
.dtp-pop__year { width: 100%; margin-top: 8px; padding: 6px 0; border: 1px solid var(--lenta-line, #e3e3e3); border-radius: 6px; background: transparent; color: var(--lenta-text); font-size: 12px; cursor: pointer; }
.dtp-side__pop small { display: block; margin-top: 8px; color: var(--lenta-muted); font-size: 12px; line-height: 1.35; }
.dtp-side__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 8px; }
.dtp-side__badge { padding: 1px 7px; border-radius: 999px; background: var(--lenta-soft); color: var(--lenta-text); font-size: 11px; font-weight: 700; letter-spacing: .02em; cursor: help; }
.dtp-side__since { display: block; color: var(--lenta-muted); font-size: 12.5px; line-height: 1.35; }
.dtp-side__since.is-warn { padding: 2px 8px; border-radius: 6px; background: #FFF4D6; color: #6B4E00; }
@media (prefers-color-scheme: dark) { .dtp-side__since.is-warn { background: #3a2f10; color: #f1d98a; } }
:root[data-theme="dark"] .dtp-side__since.is-warn { background: #3a2f10; color: #f1d98a; }
:root[data-theme="light"] .dtp-side__since.is-warn { background: #FFF4D6; color: #6B4E00; }
.dtp-side__since[hidden] { display: none; }
.dtp-side__tabs button { padding: 2px 6px; border: 0; background: transparent; color: var(--lenta-muted); font-size: 11px; cursor: pointer; border-radius: 6px; }
.dtp-side__tabs button[aria-selected="true"] { background: var(--lenta-soft); color: var(--lenta-text); font-weight: 600; }
.dtp-side__nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: baseline; }
.dtp-side__num { display: flex; flex-direction: column; gap: 2px; text-align: left; color: var(--lenta-text); text-decoration: none; }
.dtp-side__num b { font-size: 22px; font-weight: 700; line-height: 1; }
.dtp-side__num span { font-size: 11px; color: var(--lenta-muted); }
a.dtp-side__num:hover b { color: #A61B2B; }
.dtp-side__src { display: block; margin-top: 6px; color: var(--lenta-muted); font-size: 12px; }

/* Копирование ссылки рядом с заголовком статьи */
.article__copy { display: inline-flex; vertical-align: middle; margin-left: .35em; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; line-height: 1; }
.article__copy:hover { color: var(--accent); }
.article__copy.is-done { color: #0F6E66; }

.share__title { align-self: center; margin-right: 4px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mf-stats__total a { display: flex; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; }
.mf-stats__total a:hover b { color: var(--accent); }

/* Предложение региона по IP */
.geo-offer { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.geo-offer__text { margin: 0; font-size: 14px; }
.geo-offer__actions { display: flex; gap: 8px; }
.geo-offer button { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.geo-offer .geo-offer__yes { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
.share__btn--max svg { color: #7B4DFF; }
.lenta-view-subtitle { margin: 6px 0 0; color: var(--lenta-muted); font-size: 15px; font-weight: 600; }

/* Выбор региона: вкладки «Россия / Другие страны» */
.region-dialog__tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.region-dialog__tabs button { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.region-dialog__tabs button.is-active { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
.region-dialog__list[hidden] { display: none; }

/* SEO: «Читайте также» и автоссылки на разделы */
.more__also-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.more__also-list a { color: inherit; text-decoration: none; font-weight: 600; }
.more__also-list a:hover { color: var(--accent, #F05A1A); text-decoration: underline; }
.mf-autolink { color: inherit; text-decoration: underline; text-decoration-color: var(--accent, #F05A1A); text-underline-offset: 3px; }

/* SEO: вступление рубрики/региона */
.lenta-intro { margin: 0 0 16px; max-width: 760px; color: var(--muted, #5B6470); font-size: 14px; line-height: 1.55; }
.lenta-intro p { margin: 0 0 8px; }
.lenta-intro a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lenta-view-subtitle:is(h1) { line-height: 1.25; }
