/* сайт: макет zhurnal, палитра bordo, пара 3 — собрано build.py из макетов Дизайна */
/* Пара 3 «Исток»: текст — Source Serif 4, заголовки и служебные — Source Sans 3. Обе — OFL. */
@font-face { font-family: "Source Serif 4"; src: url("/fonts/sourceserif4/sourceserif4-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/sourceserif4/sourceserif4-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/sourcesans3/sourcesans3-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/sourcesans3/sourcesans3-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
:root {
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-head: "Source Sans 3", system-ui, "Segoe UI", Arial, sans-serif;
  --font-ui: "Source Sans 3", system-ui, "Segoe UI", Arial, sans-serif;
  --fs-body: 18px; --lh-body: 1.62; --head-weight: 700; --head-tracking: -0.01em; --ui-weight: 600;
  --measure: 74ch;   /* ширина колонки текста: у этой гарнитуры ≈ 70 знаков в строке */
}

:root {         /* Бордо — тёплый белый, винный акцент */
  color-scheme: light;
  --bg: #FBF8F7; --surface: #FFFFFF; --surface-2: #F4ECEA;
  --text: #251C1D; --heading: #170F10; --muted: #665858; --line: #E9DDDB;
  --accent: #8A2335; --accent-hover: #6E1B2A; --accent-ink: #FFFFFF; --accent-soft: #F6E4E7;
}
p:where(.ttl) { font-size: 1.5em; font-weight: bold; margin-block: 0.83em; }
/* Макет «Журнал» — редакционная вёрстка: крупная подача главного материала, сетка карточек, рубрики плитками,
   статья с оглавлением сбоку на широком экране. Цвета — только переменные палитры (../variacii/palitry.css),
   шрифты — только переменные пары (../variacii/pary/para-N.css). Своих цветов и гарнитур в этом файле нет.
   Сетка 8 px; ширины: страница 1200, текст статьи 680 (≈ 65–72 знака в строке). */

/* ── Основа ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  font-kerning: normal; font-variant-numeric: lining-nums proportional-nums;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 {
  margin: 0; color: var(--heading); font-family: var(--font-head); font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking); line-height: 1.16; text-wrap: balance;
}
p:where(.ttl) {
  margin: 0; color: var(--heading); font-family: var(--font-head); font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking); line-height: 1.16; text-wrap: balance;
}
p { margin: 0; }
.wrap { --pad: 24px; max-width: 1248px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; padding: 8px 16px; background: var(--surface); color: var(--heading); }

.kicker {
  margin: 0 0 8px; font-family: var(--font-ui); font-size: 13px; line-height: 16px; font-weight: var(--ui-weight);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.meta {
  display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0;
  font-family: var(--font-ui); font-size: 14px; line-height: 20px; color: var(--muted);
}
.img { display: block; background: var(--surface-2); border-radius: 6px; overflow: hidden; }
.img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Шапка: общее ───────────────────────────────────────────────────────── */
.mast { background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { margin: 0; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); line-height: 1.1; }
.brand a { color: var(--heading); text-decoration: none; }
.brand a:hover { color: var(--accent); }
.brand__tag { display: block; margin-top: 4px; font-family: var(--font-ui); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
/* меню: на телефоне — кнопка «Меню» (флажок без скрипта), на компьютере — строка */
.nav-t { position: absolute; opacity: 0; pointer-events: none; }
.nav-b {
  display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px;
  font-family: var(--font-ui); font-size: 15px; font-weight: var(--ui-weight); color: var(--heading); cursor: pointer; user-select: none;
}
.nav-b::before { content: ""; width: 14px; height: 10px; border-block: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.nav-t:focus-visible + .nav-b { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--font-ui); font-size: 15px; font-weight: var(--ui-weight); }
.nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--heading); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }

/* Шапка A — словесный знак слева, рубрики справа */
.mast--a .mast__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; min-height: 80px; flex-wrap: wrap; }
.mast--a .brand { font-size: 28px; }
/* Шапка B — знак по центру, рубрики строкой между линейками (газетная) */
.mast--b .mast__top { padding-block: 32px 24px; text-align: center; }
.mast--b .brand { font-size: 44px; }
.mast--b .brand__tag { margin-top: 8px; font-size: 15px; }
.mast--b .mast__bar { border-top: 1px solid var(--line); }
.mast--b .mast__row { display: flex; justify-content: center; }
.mast--b .nav { justify-content: center; }
/* Шапка C — тонкая строка сверху (дата выпуска, о журнале), ниже знак и рубрики, акцентная линейка */
.mast--c { border-bottom: 3px solid var(--accent); }
.mast--c .mast__line { border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.mast--c .mast__line .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 32px; align-items: center; }
.mast--c .mast__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; min-height: 88px; flex-wrap: wrap; }
.mast--c .brand { font-size: 32px; }

/* ── Хлебные крошки ─────────────────────────────────────────────────────── */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-family: var(--font-ui); font-size: 14px; line-height: 20px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ── Главная ────────────────────────────────────────────────────────────── */
.home { padding-block: 40px 16px; }
.sect { margin-top: 64px; }
.sect__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-top: 16px; border-top: 2px solid var(--heading); }
.sect__title { font-size: 28px; }
.sect__more { font-family: var(--font-ui); font-size: 15px; font-weight: var(--ui-weight); white-space: nowrap; }

/* главный материал + колонка «ещё» */
.top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; }
.lead__media { aspect-ratio: 3 / 2; }
.lead__body { margin-top: 24px; max-width: 720px; }
.lead__title { font-size: clamp(30px, 1.6vw + 18px, 44px); line-height: 1.1; }
.lead__title a, .side__title a, .card__title a, .band__list a, .pop a { color: inherit; text-decoration: none; }
.lead__title a:hover, .side__title a:hover, .card__title a:hover, .band__list a:hover, .pop a:hover { color: var(--accent); }
.lead__dek { margin-top: 16px; font-size: calc(var(--fs-body) + 2px); color: var(--text); }
.lead .meta { margin-top: 16px; }
.side { display: flex; flex-direction: column; }
.side__item { padding-block: 24px; border-top: 1px solid var(--line); }
.side__item:first-child { padding-top: 0; border-top: 0; }
.side__title { font-size: 21px; line-height: 1.25; }
.side__item .meta { margin-top: 8px; }
.side__media { aspect-ratio: 3 / 2; margin-bottom: 16px; }

/* карточки */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.card__media { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.card__title { font-size: 21px; line-height: 1.25; }
.card__text { margin-top: 8px; font-size: calc(var(--fs-body) - 1px); line-height: 1.55; color: var(--muted); }
.card .meta { margin-top: 12px; }

/* рубрики плитками */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tile a {
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px; height: 100%; min-height: 152px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.tile a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.tile__name { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: 22px; line-height: 1.2; color: var(--heading); }
.tile__desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tile__count { font-family: var(--font-ui); font-size: 13px; line-height: 16px; letter-spacing: 0.04em; color: var(--accent); }

/* тема номера — полоса во всю ширину */
.band { margin-top: 72px; padding-block: 56px; background: var(--surface-2); }
.band__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.band__title { font-size: clamp(28px, 1.2vw + 18px, 36px); }
.band__text { margin-top: 16px; color: var(--text); }
.band__list { margin: 0; padding: 0; list-style: none; counter-reset: b; }
.band__list li { counter-increment: b; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.band__list li:first-child { border-top: 0; padding-top: 0; }
.band__list li::before { content: counter(b, decimal-leading-zero); font-family: var(--font-head); font-weight: var(--head-weight); font-size: 22px; line-height: 1.25; color: var(--accent); }
.band__list h3 { font-size: 21px; line-height: 1.25; }
.band__list p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* свежее + «читают чаще» */
.split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; }
.split .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pop { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.pop li { counter-increment: p; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-top: 1px solid var(--line); }
.pop li:first-child { border-top: 0; padding-top: 0; }
.pop li::before { content: counter(p); font-family: var(--font-head); font-weight: var(--head-weight); font-size: 32px; line-height: 1; color: var(--accent); }
.pop h3 { font-size: 18px; line-height: 1.3; }
.pop .meta { margin-top: 6px; }

/* ── Статья ─────────────────────────────────────────────────────────────── */
.story { padding-block: 32px 0; }
.story__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(680px, var(--measure, 64ch))) minmax(0, 1fr); gap: 48px; }
.story__head { grid-column: 2 / 4; max-width: 848px; }   /* левый край — общий с текстом статьи */
.story__head .crumbs { margin-bottom: 32px; }
.story__title { font-size: clamp(32px, 2.4vw + 18px, 54px); line-height: 1.08; }
.story__dek { margin-top: 20px; font-size: calc(var(--fs-body) + 3px); line-height: 1.5; color: var(--text); }
.story__head .meta { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.story__cover { margin-top: 40px; margin-bottom: 0; }
.story__cover .img { aspect-ratio: 16 / 9; border-radius: 0; }
.story__cover figcaption, .prose figcaption { margin-top: 8px; font-family: var(--font-ui); font-size: 14px; line-height: 20px; color: var(--muted); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(680px, var(--measure, 64ch))) minmax(0, 1fr); gap: 48px; margin-top: 48px; }   /* колонка текста — в знаках: у узких гарнитур строка не длиннее ~75 */
.story__body { grid-column: 2; min-width: 0; }
/* оглавление: на широком экране — колонка слева, липкая; на узком — раскрывающийся блок над текстом */
.toc { grid-column: 1; justify-self: end; width: 100%; max-width: 232px; }
.toc__in { position: sticky; top: 24px; }
.toc__title, .toc-m summary { font-family: var(--font-ui); font-size: 13px; line-height: 16px; font-weight: var(--ui-weight); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc ol, .toc-m ol { margin: 12px 0 0; padding: 0; list-style: none; font-family: var(--font-ui); font-size: 15px; line-height: 1.4; }
.toc li a, .toc-m li a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; }
.toc li a:hover, .toc-m li a:hover { border-left-color: var(--accent); color: var(--accent); }
.toc-m { display: none; margin-bottom: 32px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.toc-m summary { cursor: pointer; min-height: 24px; }

/* текст статьи */
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(25px, 0.8vw + 18px, 32px); line-height: 1.2; scroll-margin-top: 24px; }
.prose p:where(.ttl) { margin-top: 1.8em; font-size: clamp(25px, 0.8vw + 18px, 32px); line-height: 1.2; scroll-margin-top: 24px; }
.prose h3 { margin-top: 1.8em; font-size: clamp(21px, 0.4vw + 17px, 24px); line-height: 1.25; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose p:where(.ttl) + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; color: var(--heading); }
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--accent);
  font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking);
  font-size: clamp(22px, 0.6vw + 17px, 27px); line-height: 1.35; color: var(--heading);
}
.prose blockquote p + p { margin-top: 0.6em; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--font-ui); font-size: 14px; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.prose figure { margin: 2em 0; }
.prose figure .img { aspect-ratio: 3 / 2; }
.prose .table { margin: 2em 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; }
.prose caption { caption-side: top; padding-bottom: 12px; text-align: left; font-weight: var(--ui-weight); color: var(--heading); }
.prose th { padding: 10px 16px 10px 0; text-align: left; vertical-align: bottom; border-bottom: 2px solid var(--heading); color: var(--heading); font-weight: 700; }
.prose td { padding: 12px 16px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose td:first-child { white-space: nowrap; }   /* первая колонка — название строки, не рвать по дефису */
.note { margin: 2em 0; padding: 20px 24px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; }
.note__label { display: block; margin-bottom: 6px; font-family: var(--font-ui); font-size: 13px; line-height: 16px; font-weight: var(--ui-weight); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.note p + p { margin-top: 0.6em; }

/* после статьи */
.story__foot { grid-column: 2; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; font-family: var(--font-ui); font-size: 14px; color: var(--text); text-decoration: none; }
.tags a:hover { border-color: var(--accent); color: var(--accent); }
.byline { display: grid; gap: 4px; margin-top: 24px; font-family: var(--font-ui); font-size: 15px; line-height: 1.45; color: var(--muted); }
.byline b { color: var(--heading); font-weight: var(--ui-weight); }
.related { margin-top: 80px; padding-bottom: 16px; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.nf { padding-block: 72px 32px; }
.nf__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.nf__code { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(96px, 10vw, 168px); line-height: 0.9; color: var(--accent); }
.nf h1 { font-size: clamp(30px, 1.6vw + 18px, 42px); }
.nf__text { margin-top: 16px; max-width: 560px; }
.nf__links { margin-top: 32px; }
.nf__links h2 { font-size: 18px; margin-bottom: 12px; }
.nf__links p:where(.ttl) { font-size: 18px; margin-bottom: 12px; }
.nf .tags { margin-top: 0; }

/* ── Подвал ─────────────────────────────────────────────────────────────── */
.foot { margin-top: 80px; background: var(--surface); border-top: 1px solid var(--line); font-family: var(--font-ui); font-size: 15px; line-height: 1.5; color: var(--muted); }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot__name { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); color: var(--heading); }
.foot__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: 14px; }
.foot__bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--line); }   /* линия — по краю содержимого, не по полям */
/* Подвал A — три колонки */
.foot--a .foot__cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-block: 48px 40px; }
.foot--a .foot__name { font-size: 22px; }
.foot--a h2 { margin-bottom: 12px; font-family: var(--font-ui); font-size: 13px; line-height: 16px; font-weight: var(--ui-weight); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot--a p:where(.ttl) { margin-bottom: 12px; font-family: var(--font-ui); font-size: 13px; line-height: 16px; font-weight: var(--ui-weight); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot--a li + li { margin-top: 6px; }
.foot--a .foot__about p { margin-top: 12px; max-width: 420px; }
/* Подвал B — одна строка */
.foot--b .foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; }
.foot--b .foot__name { font-size: 20px; }
.foot--b ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* Подвал C — крупный знак */
.foot--c { background: var(--surface-2); }
.foot--c .foot__big { padding-block: 56px 32px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.foot--c .foot__name { font-size: clamp(36px, 3vw + 16px, 64px); line-height: 1; }
.foot--c .foot__about { margin-top: 16px; max-width: 520px; }
.foot--c ul { columns: 2; column-gap: 32px; }
.foot--c li { break-inside: avoid; padding-block: 3px; }

/* ── Ширины ─────────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .story__grid, .story__top { grid-template-columns: minmax(0, 1fr); max-width: min(728px, calc(var(--measure, 64ch) + 48px)); margin-inline: auto; gap: 0; }
  .story__head { grid-column: 1; }
  .story__body, .story__foot { grid-column: 1; }
  .toc { display: none; }
  .toc-m { display: block; }
}
@media (max-width: 1023px) {
  .top, .split, .band__in, .nf__in { grid-template-columns: minmax(0, 1fr); }
  .side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .side__item { padding-top: 24px; border-top: 1px solid var(--line); }
  .side__item:first-child { padding-top: 24px; border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot--a .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot--a .foot__about { grid-column: 1 / -1; }
  .foot--c .foot__big { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .wrap { --pad: 16px; }
  .nav-b { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav a { min-height: 48px; border-top: 1px solid var(--line); box-shadow: none; }
  .nav-t:checked ~ .nav { display: flex; }
  .mast--a .mast__row, .mast--c .mast__row { min-height: 64px; padding-block: 12px; }
  .mast--a .brand, .mast--c .brand { font-size: 24px; }
  .mast--b .mast__top { padding-block: 24px 16px; }
  .mast--b .brand { font-size: 32px; }
  .mast--b .mast__row { flex-wrap: wrap; justify-content: center; padding-block: 8px; }
  .mast--b .nav-t:checked ~ .nav { align-items: stretch; }
  .mast--c .mast__line .wrap > :last-child { display: none; }
  .home { padding-top: 24px; }
  .sect { margin-top: 48px; }
  .sect__title { font-size: 24px; }
  .side, .cards, .split .cards, .tiles { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 32px; }
  .band { margin-top: 56px; padding-block: 40px; }
  .story { padding-top: 16px; }
  .story__head .crumbs { margin-bottom: 20px; }
  .story__cover { margin-top: 28px; }
  .story__cover figcaption { padding-inline: 16px; }
  .story__grid { margin-top: 32px; }
  .prose blockquote { padding-left: 16px; }
  .prose td:first-child { white-space: normal; }
  .crumbs li[aria-current] { display: none; }   /* на телефоне текущая страница в крошках повторяет заголовок */
  .note { padding: 16px 18px; }
  .foot--a .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 32px; }
  .foot--c ul { columns: 1; }
  .foot li a { display: inline-flex; align-items: center; min-height: 40px; }   /* палец: цель не ниже 40 px */
  .tags a { min-height: 40px; }
  .foot--a li + li { margin-top: 0; }
  .foot--c li { padding-block: 0; }
}
