/* Remboo — тема «Чертёж».
   Белый лист, тонкие чернильные линии, жёлтый — маркер: подчёркивает, отмечает, ведёт. Полей заливкой нет. */

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

:root {
	color-scheme: light;
	--y: #FFD500;        /* маркер */
	--y-soft: #FFF3B0;   /* след маркера: выбранная строка, вспышка результата */
	--o: #FF5A1F;        /* только предупреждения */
	--o-deep: #B23A0C;
	--ink: #111111;
	/* одна серая шкала в одиннадцать ступеней; других нейтральных нет */
	--g0: #FFFFFF; --g1: #F5F5F3; --g2: #E8E8E5; --g3: #D6D6D2; --g4: #BDBDB8; --g5: #9A9A94;
	--g6: #767671; --g7: #5A5A56; --g8: #3F3F3C; --g9: #262624; --g10: #111111;
	--font: "Golos", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 3vw, 32px);
	--mark: linear-gradient(transparent 52%, var(--y) 52%, var(--y) 92%, transparent 92%);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- База и поверхности браузера ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--g4) var(--g1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--g0); color: var(--ink); font: 400 17px/1.55 var(--font); font-feature-settings: "tnum"; caret-color: var(--ink); overflow-wrap: break-word; }
::selection { background: var(--y); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--g1); }
::-webkit-scrollbar-thumb { background: var(--g4); border: 3px solid var(--g1); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--y); }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--g4); transition: text-decoration-color .12s var(--ease), background-color .12s var(--ease); }
a:hover { text-decoration-color: var(--ink); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; text-wrap: balance; letter-spacing: -0.012em; }
p { margin: 0 0 1.1em; }
.vh, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; text-decoration: none; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
/* Маркер: жёлтая полоса по нижней половине строки */
.mk { background: var(--mark); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__title .mk { padding-right: 0; }

/* ---------- Подписи, кнопки, ссылки-стрелки ---------- */

/* Подпись зоны: капители с маркером снизу. Не табличка — надпись карандашом, подчёркнутая маркером */
.plate { display: inline-block; color: var(--ink); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: var(--mark); padding: 0 3px; }
.plate--sm { font-size: 11px; }
.plate--foot { margin: 0 0 14px; }
/* Ссылка-фишка: тонкая рамка, на hover — чернила */
.plate--link { background: none; border: 1.5px solid var(--g3); padding: 7px 10px 6px; letter-spacing: .06em; transition: border-color .12s var(--ease); }
.plate--link:hover { border-color: var(--ink); }
.plate__n { color: var(--g6); margin-left: 8px; font-weight: 500; letter-spacing: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px; border: 2px solid var(--ink); background: var(--g0); color: var(--ink); font: 700 15px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .12s var(--ease), color .12s var(--ease); }
.btn:hover { background: var(--y-soft); }
.btn--black { background: var(--ink); color: #fff; }
.btn--black:hover { background: var(--g8); }
.btn--yellow { background: var(--y); color: var(--ink); }
.btn--yellow:hover { background: var(--ink); color: #fff; }

.link-arrow { font-weight: 700; text-decoration: none; padding: 2px 0; background: var(--mark); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .2s var(--ease); }
.link-arrow::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.link-arrow:hover { background-size: 100% 100%; }

/* ---------- Шапка ---------- */

.site-head { background: var(--g0); border-bottom: 1px solid var(--g2); position: relative; z-index: 20; }
.site-head__row { display: flex; align-items: center; gap: 20px; min-height: 72px; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--ink); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.logo__mark { width: 40px; height: 44px; flex: none; }
.logo:hover .logo__word { background: var(--mark); }

.sitesearch { display: flex; flex: 1 1 auto; max-width: 420px; margin-left: auto; }
.sitesearch__input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-right: 0; background: var(--g0); font: 500 15px var(--font); color: var(--ink); }
.sitesearch__input::placeholder { color: var(--g6); }
.sitesearch__btn { width: 46px; height: 44px; border: 1.5px solid var(--ink); background: var(--g0); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .12s var(--ease); }
.sitesearch__btn:hover { background: var(--y); }
.sitesearch__icon { width: 20px; height: 20px; }

.nav-toggle { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); background: var(--g0); font: 700 14px var(--font); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.nav-toggle__bar { width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; box-shadow: none; position: relative; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before, .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

.nav__list, .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; flex-wrap: wrap; gap: 0 2px; margin-left: -9px; }
.nav__list > li { position: relative; }
.nav__list > li:not(.menu-item-has-children) > a[href="#"] { display: none; } /* пустые пункты-заглушки */
.nav__list a { display: block; padding: 12px 9px 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; position: relative; white-space: nowrap; }
.nav__list a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 8px; height: 4px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .15s var(--ease); }
.nav__list a:hover::after, .nav__list > .current-menu-item > a::after, .nav__list > .current-menu-ancestor > a::after, .nav__list > .current-menu-parent > a::after { transform: scaleX(1); }
.menu-item-has-children > a { padding-right: 26px; }
.menu-item-has-children > a::before { content: ""; position: absolute; right: 10px; top: 18px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--g0); border: 1.5px solid var(--ink); z-index: 30; padding: 6px 0; }
.sub-menu a { padding: 9px 16px; font-weight: 500; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: var(--y-soft); }
.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu, .nav__list > li.is-open > .sub-menu { display: block; }

@media (max-width: 899px) {
	/* Поиск свёрнут в кнопку-лупу рядом с «Меню»; по нажатию (или если запрос уже введён) разворачивается строкой ниже */
	.sitesearch { max-width: none; margin-left: auto; }
	.sitesearch:not(.is-open) { flex: none; }
	.sitesearch:not(.is-open) .sitesearch__input { display: none; }
	.sitesearch.is-open { order: 3; flex-basis: 100%; margin-left: 0; }
	.site-head__row { flex-wrap: wrap; gap: 12px 10px; }
	.nav-toggle { display: inline-flex; }
	.nav { display: none; border-top: 1px solid var(--g2); }
	.site-head.is-open .nav { display: block; }
	.nav__list { flex-direction: column; padding-block: 8px; gap: 0; }
	.nav__list a { padding: 12px 8px; white-space: normal; }
	.nav__list a::after { left: 8px; right: auto; width: 56px; bottom: 6px; }
	.sub-menu { display: block; position: static; border: 0; padding: 0 0 8px 16px; }
	.sub-menu a { font-size: 15px; color: var(--g7); }
	.menu-item-has-children > a::before { display: none; }
}

/* ---------- Главная: заголовок, поиск калькулятора, чертёж ---------- */

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr; gap: 32px 48px; align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hero__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero__lead { max-width: 48ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--g7); margin: 18px 0 26px; }

.finder { position: relative; max-width: 640px; }
.finder__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.finder__row { display: flex; }
.finder__input { flex: 1; min-width: 0; height: 58px; padding: 0 18px; border: 2px solid var(--ink); border-right: 0; background: var(--g0); font: 500 18px var(--font); color: var(--ink); }
.finder__input::placeholder { color: var(--g6); }
.finder .btn { height: 58px; flex: none; }
@media (max-width: 599px) { .finder__input { padding: 0 14px; font-size: 17px; } .finder .btn { padding: 0 16px; } }
/* Список калькуляторов под полем: раскрывается по фокусу, прокручивается, не выше половины экрана */
.finder__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 25; margin-top: -2px; max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain; background: var(--g0); border: 2px solid var(--ink); }
.finder__panel[hidden] { display: none; }
.finder__group { padding: 10px 0 4px; }
.finder__group + .finder__group { border-top: 1px solid var(--g2); }
.finder__group[hidden] { display: none; }
.finder__group-title { display: block; padding: 2px 16px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g6); }
.finder__panel .calc { padding: 8px 16px; border: 0; grid-template-columns: 24px 1fr; column-gap: 12px; }
.finder__panel .calc__icon { width: 22px; height: 22px; margin-top: 1px; }
.finder__panel .calc__name { font-size: 15px; }
.finder__panel .calc__meta { font-size: 13px; }
.finder__panel .calc.is-hot, .finder__panel .calc:hover { background: var(--y-soft); }
.finder__empty { margin: 0; padding: 14px 16px; font-size: 15px; color: var(--g7); }
.finder__empty[hidden] { display: none; }
.finder--hub { margin-top: 24px; max-width: 560px; }
.finder--hub .finder__panel { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border: 1.5px solid var(--g3); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.chip:hover { border-color: var(--ink); background: var(--y-soft); }
.chip svg { width: 20px; height: 20px; }
.hero__more { margin: 22px 0 0; font-size: 15px; }

/* Чертёж: линии рисуются по очереди, размеры набегают, наведение на деталь ведёт к калькулятору */
.blueprint { position: relative; }
.bp { display: block; width: 100%; height: auto; }
.bp .ln, .bp .dimln { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bp .ln--2 { stroke-width: 2.25; }
.bp .ln--thin { stroke-width: 1; }
.bp .dimln { stroke: var(--g6); stroke-width: 1; }
.bp .pat { stroke: var(--g6); stroke-width: 1; }
.bp .pat--soft { stroke: var(--g4); stroke-width: .8; }
.bp .dim { font: 600 13px var(--font); fill: var(--ink); font-variant-numeric: tabular-nums; }
.bp .dim--sm { font-size: 11px; fill: var(--g7); }
.bp .zone * { fill: transparent; transition: fill .15s var(--ease); }
.bp .zone:hover *, .bp .zone:focus-visible *, .bp .zone.is-lit * { fill: var(--y); fill-opacity: .6; }
.bp .zone:focus-visible { outline: none; }
.bp .zone:focus-visible * { stroke: var(--ink); stroke-width: 1.5; }
.blueprint__hint { display: flex; gap: 10px; align-items: baseline; margin: 10px 0 0; min-height: 24px; font-size: 14px; color: var(--g7); }
.blueprint__hint b { color: var(--ink); background: var(--mark); padding: 0 3px; }
.blueprint__hint[data-empty]::before { content: "Наведите на деталь — откроется нужный калькулятор"; }
@media (hover: none) { .blueprint__hint[data-empty]::before { content: "Нажмите на деталь — откроется нужный калькулятор"; } }
.bp--draw .ln, .bp--draw .dimln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bp-draw 1.1s var(--d, 0s) var(--ease) forwards; }
.bp--draw .dims .dimln { animation-delay: 1.7s; animation-duration: .7s; }
.bp--draw .dim, .bp--draw .fills { opacity: 0; animation: bp-fade .6s 1.5s forwards; }
.bp--draw .dim { animation-delay: 1.9s; }
@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
@media (max-width: 599px) { .bp .dim { font-size: 19px; } .bp .dim--sm { font-size: 15px; } .bp .ln, .bp .dimln { stroke-width: 1.25; } }

.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 32px; margin-top: 8px; }
.calc-grid--two { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.calc { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--g2); text-decoration: none; position: relative; transition: background-color .12s var(--ease); }
.calc:hover { background: var(--y-soft); }
.calc__icon { grid-row: 1 / 3; width: 28px; height: 28px; margin-top: 2px; }
.calc__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.calc__meta { font-size: 14px; color: var(--g7); line-height: 1.3; margin-top: 2px; }
.calc[hidden] { display: none; }
.calc-group { margin-top: 36px; }
.calc-group[hidden] { display: none; }
.calc-group__title { font-size: 22px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }

/* ---------- Блоки главной ---------- */

.block { padding-block: clamp(40px, 6vw, 72px) 0; }
.block__head { margin-bottom: 24px; }
.block__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.block__tag { vertical-align: middle; margin-left: 12px; position: relative; top: -4px; }
.block__lead { color: var(--g7); font-size: 17px; max-width: 60ch; margin: 8px 0 0; }
/* Лента «Сейчас важно»: лид во всю ширину с большим фото, под ним три карточки в ряд */
.lane { display: grid; grid-template-columns: 1fr; gap: 32px 32px; }
@media (min-width: 600px) { .lane { grid-template-columns: 1fr 1fr; } .lane .card--lead { grid-column: 1 / -1; } }
@media (min-width: 900px) { .lane { grid-template-columns: repeat(3, 1fr); } }

.block--sections { padding-bottom: clamp(48px, 7vw, 96px); }
.sections { display: grid; grid-template-columns: 1fr; gap: 56px; }
.section-block__head { margin-bottom: 18px; }
.section-block__title { font-size: 26px; font-weight: 800; }
.section-block__title a { text-decoration: none; }
.section-block__title a:hover { background: var(--mark); }
.section-block__subs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.section-block__subs a { color: var(--g7); }
.section-block__subs a:hover { color: var(--ink); }
.section-block__all { margin: 18px 0 0; }

/* ---------- Строки материалов ---------- */

/* Карточки: фото во всю ширину карточки сверху, три в ряд на десктопе, одна на телефоне */
.rows { display: grid; grid-template-columns: 1fr; gap: 32px 32px; }
@media (min-width: 600px) { .rows { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .rows--two, .rows--three { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0 0 20px; border-bottom: 1px solid var(--g2); align-items: start; }
.card__img { display: block; aspect-ratio: 3 / 2; background: var(--g1); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { min-width: 0; }
.card__title { font-size: 19px; line-height: 1.25; margin: 0 0 6px; text-wrap: pretty; hyphens: auto; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; hyphenate-limit-chars: 10 4 4; }
.card__title a { text-decoration: none; background: var(--mark); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .2s var(--ease); }
.card__title a:hover { background-size: 100% 100%; }
.card__text { color: var(--g7); font-size: 15px; margin: 0 0 8px; }
.meta { font-size: 13px; color: var(--g7); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-variant-numeric: tabular-nums; }
.meta__i { display: inline-flex; align-items: center; }
.meta__i:not(:first-child)::before { content: "·"; display: inline-block; padding: 0 7px; color: var(--g5); }
.meta a { text-decoration-color: var(--g3); }
.meta__cat { font-weight: 700; color: var(--ink); text-decoration: none; }
.meta__cat:hover { background: var(--mark); }
.meta__author { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); text-decoration: none; }
.meta__author:hover { text-decoration: underline; }
.meta__ava { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.card--lead .card__title { font-size: clamp(22px, 2.4vw, 32px); }
.card--lead .card__text { font-size: 17px; }
@media (min-width: 900px) { .card--lead { grid-template-columns: 2fr 1fr; gap: 32px; align-items: end; } .card--lead .card__body { padding-bottom: 8px; } }
@media (max-width: 599px) { .card__title { font-size: 18px; } .card--lead .card__title { font-size: 22px; } }

/* ---------- Статья ---------- */

.article, .archive, .hub, .calc-page, .people { padding-block: 20px clamp(48px, 7vw, 96px); }
.article__head { max-width: 900px; }
.crumbs { font-size: 13px; color: var(--g6); margin: 0 0 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px; border-top: 1.5px solid var(--g5); border-right: 1.5px solid var(--g5); transform: rotate(45deg); }
.crumbs a { text-decoration-color: var(--g3); }
.crumbs a:hover { color: var(--ink); }
.crumbs li:first-child a { display: inline-flex; align-items: center; min-height: 20px; text-decoration: none; color: var(--g6); }
.crumbs li:first-child a:hover { color: var(--ink); }
.crumbs__home { width: 15px; height: 15px; display: block; }
.article__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; hyphens: auto; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; hyphenate-limit-chars: 12 5 5; }
.article__head .meta { margin-top: 18px; font-size: 14px; }
.meta--plate { gap: 6px 0; }
.meta--plate .meta__ava { width: 28px; height: 28px; }
.article__lead { font-size: 19px; color: var(--g7); max-width: 62ch; margin: 14px 0 0; }
/* «Коротко»: ответ отчёркнут маркером слева */
.short { position: relative; padding: 4px 0 4px 22px; margin-top: 26px; max-width: 760px; }
.short::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--y); }
.short p { margin: 8px 0 0; font-size: 18px; font-weight: 500; line-height: 1.45; }
.article__grid { display: grid; grid-template-columns: 1fr; gap: 32px 56px; margin-top: 28px; }
@media (min-width: 1180px) { .article__grid { grid-template-columns: minmax(0, 1fr) 236px; } .article__rail { order: 1; position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
.article__body { min-width: 0; }
/* Текст держит меру 760 px, картинки, галереи, таблицы и видео выходят за неё на всю колонку (до 960) */
.entry > * { max-width: 760px; }
.entry > .figure, .entry > .wp-caption, .entry > .rb-figure, .entry > .gallery, .entry > .photos, .entry > .tablewrap, .entry > .rb-tablewrap, .entry > .embed, .entry > .wp-block-embed { max-width: 960px; }

.toc__details { margin: 0; }
.toc__summary { list-style: none; cursor: pointer; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--mark); padding: 0 3px; }
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.toc__details[open] .toc__summary::after { transform: rotate(-135deg); margin-bottom: 0; }
.toc__list { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; line-height: 1.35; border-left: 1px solid var(--g2); }
.toc__item { position: relative; padding: 5px 0 5px 14px; }
.toc__item--3 { padding-left: 28px; font-size: 13px; }
.toc__item a { color: var(--g7); text-decoration: none; }
.toc__item a:hover { color: var(--ink); }
.toc__item::before { content: ""; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 3px; background: var(--y); opacity: 0; transition: opacity .15s var(--ease); }
.toc__item.is-current::before { opacity: 1; }
.toc__item.is-current a { color: var(--ink); font-weight: 600; }
.toc__foot { margin: 10px 0 0; padding: 8px 0 0 14px; font-size: 14px; border-top: 1px solid var(--g2); }
.toc__foot a { color: var(--g7); text-decoration: none; }
.toc__foot a:hover { color: var(--ink); }
.rail-calcs { margin-top: 28px; }
.rail-calcs .plate { margin-bottom: 4px; }
.calc--rail { grid-template-columns: 26px 1fr; padding: 12px 4px 12px 0; }
.calc--rail .calc__icon { width: 24px; height: 24px; }
.calc--rail .calc__name { font-size: 15px; }
.calc--rail .calc__meta { font-size: 13px; }
@media (max-width: 1179px) { .toc__details { margin-bottom: 8px; } .toc__list { max-width: 640px; } .rail-calcs { display: none; } }
.after-calcs { margin-top: 40px; }
.after-calcs .plate { margin-bottom: 4px; }
.tags { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.tags a { border: 1px solid var(--g3); padding: 4px 9px; text-decoration: none; color: var(--g7); }
.tags a:hover { border-color: var(--ink); color: var(--ink); }
.related { margin-top: clamp(40px, 6vw, 64px); }
.related .plate { margin-bottom: 4px; }
/* Четыре карточки: 2+2 или 4 в ряд, но не 3+1 */
@media (min-width: 900px) { .related .rows { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .related .rows { grid-template-columns: repeat(4, 1fr); } }

/* Автор под статьёй */
.byline { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--g2); max-width: 760px; }
.byline__ava { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--g1); }
.byline__name { font-size: 17px; font-weight: 700; text-decoration: none; }
.byline__name:hover { background: var(--mark); }
.byline__role { font-size: 14px; color: var(--g7); margin: 2px 0 6px; }
.byline__bio { font-size: 15px; color: var(--g8); margin: 0; max-width: 60ch; }

/* Страница автора и список авторов */
.person { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; max-width: 760px; margin-top: 12px; }
.person__ava { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--g1); }
.person__role { font-size: 16px; color: var(--g7); margin: 6px 0 10px; }
.person__bio { font-size: 17px; margin: 0; }
.person__n { font-size: 14px; color: var(--g6); margin: 10px 0 0; }
.people__grid { display: grid; grid-template-columns: 1fr; gap: 28px 40px; margin-top: 32px; }
@media (min-width: 700px) { .people__grid { grid-template-columns: 1fr 1fr; } }
.people__grid .person { margin: 0; grid-template-columns: 72px 1fr; }
.people__grid .person__ava { width: 72px; height: 72px; }
.people__grid .person__bio { font-size: 15px; color: var(--g8); }
.person__name { font-size: 20px; }
.person__name a { text-decoration: none; }
.person__name a:hover { background: var(--mark); }

/* ---------- Текст статьи ---------- */

.entry { font-size: 17px; line-height: 1.6; hyphens: auto; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 3; hyphenate-limit-chars: 8 3 3; }
.entry a, .entry .rb-sources, .entry table { overflow-wrap: anywhere; hyphens: manual; }
.entry a { text-decoration-color: var(--ink); text-decoration-thickness: 1px; }
.entry a:hover { background: var(--mark); }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: clamp(24px, 2.6vw, 29px); margin: 2.1em 0 .6em; scroll-margin-top: 24px; }
.entry h3 { font-size: 21px; margin: 1.7em 0 .5em; scroll-margin-top: 24px; }
.entry h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.entry p, .entry ul, .entry ol { margin: 0 0 1.2em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: square; }
.entry li { margin: 0 0 .35em; }
.entry li::marker { color: var(--ink); }
.entry ul ul, .entry ol ol, .entry ul ol, .entry ol ul { margin: .35em 0 .5em; }
.entry li[style] { list-style: square !important; }
/* Старая вёрстка: пункт, в котором только вложенный список, — без своего маркера и с одним уровнем отступа */
.entry li:has(> ul:only-child), .entry li:has(> ol:only-child) { list-style: none !important; margin-left: -1.4em; }
.entry li:has(> ul:only-child) > ul, .entry li:has(> ol:only-child) > ol { margin-top: 0; }
.entry strong, .entry b { font-weight: 700; }
.entry img { display: block; height: auto; margin: 1.6em 0; max-width: 100%; }
.entry img.alignleft, .entry img.alignright, .entry .alignleft, .entry .alignright { float: none; }
/* Фигура: картинка во всю колонку, подпись как выноска на чертеже — номер, жёлтый штрих слева */
.entry { counter-reset: fig; }
.entry > br { display: none; } /* переносы между фигурами из старых статей — пустые дыры */
.entry .figure, .entry .wp-caption, .entry figure { margin: 2em 0; max-width: 100%; }
.entry .figure img, .entry .wp-caption img, .entry figure img { width: 100%; max-height: 720px; object-fit: cover; margin: 0; background: var(--g1); } /* потолок высоты держит и битые картинки старых статей */
.entry .figure a, .entry .wp-caption a { display: block; }
.entry .figure--tall img { width: auto; max-height: 640px; }
.entry .wp-caption, .entry .figure:has(figcaption) { counter-increment: fig; }
.entry figcaption, .entry .wp-caption-text { font-size: 14px; line-height: 1.45; color: var(--g7); margin: 10px 0 0; padding-left: 14px; border-left: 3px solid var(--y); text-align: left; }
.entry .wp-caption-text::before, .entry .figure figcaption::before { content: "Рис. " counter(fig) ". "; font-weight: 700; color: var(--ink); }
/* Несколько фото: сетка с зазором 12 px, кадры выровнены 4:3; подпись под каждым без номера.
   Старые [gallery] дают .gallery-columns-N, статьи фабрики — .photos.photos--N (сравнение «до/после» — .photos--2) */
.entry .gallery, .entry .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 2em 0; }
.entry .gallery-columns-1 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
	.entry .gallery-columns-3, .entry .gallery-columns-5, .entry .gallery-columns-6, .entry .gallery-columns-7, .entry .gallery-columns-8, .entry .gallery-columns-9, .entry .photos--3, .entry .photos--5, .entry .photos--6 { grid-template-columns: repeat(3, 1fr); }
	.entry .gallery-columns-4, .entry .photos--4 { grid-template-columns: repeat(4, 1fr); }
}
.entry .gallery-item, .entry .photos > figure { margin: 0; min-width: 0; }
.entry .gallery-item::before, .entry .photos > figure::before { display: none; }
.entry .gallery-icon { margin: 0; }
.entry .gallery-icon a, .entry .photos a { display: block; }
.entry .gallery img, .entry .photos img { width: 100%; aspect-ratio: 4 / 3; max-height: 480px; object-fit: cover; margin: 0; background: var(--g1); }
.entry .gallery-columns-1 img { aspect-ratio: auto; }
.entry .gallery-caption, .entry .photos figcaption { font-size: 13px; margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--y); }
.entry .gallery-caption::before, .entry .photos figcaption::before { content: none; }
/* На телефоне фото до краёв экрана */
@media (max-width: 599px) {
	.entry .figure, .entry .wp-caption, .entry .rb-figure, .entry .gallery, .entry .photos { margin-inline: calc(-1 * var(--gutter)); max-width: none; }
	.entry .figure figcaption, .entry .wp-caption-text, .entry .rb-figure figcaption { margin-inline: var(--gutter); }
	.entry .gallery, .entry .photos { padding-inline: var(--gutter); }
}
.entry a[data-lightbox] { display: block; }
.entry a[data-lightbox]:hover { background: none; }
/* Выноска: цитата — чернильная черта, «Важно/Внимание» — жёлтый штрих с меткой-капителью (метку ставит фильтр контента) */
.entry blockquote, .entry .callout, .entry .alert, .entry div[style*="border"] { position: relative; margin: 1.8em 0; padding: 2px 0 2px 24px; border: 0 !important; border-left: 3px solid var(--ink) !important; font-size: 17px; background: none !important; color: inherit !important; }
.entry blockquote p:last-child, .entry .callout p:last-child { margin-bottom: 0; }
.entry .callout--warn { border-left-width: 6px !important; border-left-color: var(--y) !important; padding-left: 22px; }
.entry .callout__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 6px; }
.entry .callout__label::before { content: ""; display: inline-block; width: 8px; height: 8px; border: 1.5px solid var(--ink); margin-right: 8px; vertical-align: 0; }
.entry .callout--warn .callout__label::before { background: var(--y); border-color: var(--ink); }
.entry .callout em { font-style: normal; } /* старые статьи заворачивали весь блок в курсив — здесь курсив не подчёркивание, а оформление */
.entry .callout > strong:first-child, .entry .callout > p > strong:first-child { font-weight: 700; }
.entry iframe { max-width: 100%; }
.entry .embed, .entry .embed-responsive, .entry .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; }
.entry .embed iframe, .entry .embed-responsive iframe, .entry .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry hr { border: 0; border-top: 1px solid var(--g3); margin: 2em 0; }
.entry .note { position: relative; padding: 2px 0 2px 22px; margin: 1.8em 0; border-left: 6px solid var(--y); }
/* Таблицы: линейки, не заливки. Шапка — капители с чернильной чертой */
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.entry th, .entry td { padding: 9px 12px 9px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--g2); }
.entry th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--g7); border-bottom: 1.5px solid var(--ink); }
.entry tbody tr:hover td { background: var(--g1); }
.tablewrap, .rb-tablewrap { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.tablewrap table, .rb-tablewrap table { margin: 0; min-width: 480px; }
.entry .rb-toc, .entry #toc_container { display: none; }

.yt { position: relative; display: block; aspect-ratio: 16 / 9; margin: 0; background: var(--ink); overflow: hidden; }
.entry .yt:hover { background: var(--ink); } /* иначе побеждает маркер .entry a:hover и просвечивает сквозь обложку */
.yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; background: var(--g0); color: var(--ink); border: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; padding: 12px 18px; }
.yt__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.yt:hover .yt__play { background: var(--y-soft); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Статьи с разметкой rb-article: их кремовую палитру перебиваем своей ---------- */

.entry .rb-figure { margin: 2em 0; }
.entry .rb-figure img, .entry .rb-figure svg { border-radius: 0; }
.entry .rb-zoomhint { border-radius: 0; background: var(--ink); color: #fff; }
/* Расшифровка аббревиатуры (кнопка): пунктир снизу, раскрытая — след маркера; всплывашка .rb-note вешается на body */
.entry .rb-abbr { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help; border-bottom: 1px dashed var(--g6); text-decoration: none; }
.entry .rb-abbr:hover { border-bottom-color: var(--ink); }
.entry .rb-abbr[aria-expanded="true"] { background: var(--y-soft); box-shadow: 0 0 0 3px var(--y-soft); }
.rb-note { background: var(--g0); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; box-shadow: none; font-family: var(--font); font-size: 14px; }
.rb-note__t { color: var(--g7); }
.entry .rb-sources { border-top: 1.5px solid var(--ink); padding-top: 12px; font-size: 14px; color: var(--g7); }
.entry .rb-src { color: var(--g7); }
.entry .rb-updated { display: none; } /* дата уже в шапке статьи */
.rb-lightbox { background: rgba(17, 17, 17, .92); }
.rb-lightbox img { border-radius: 0; background: transparent; padding: 0; }

/* ---------- Рубрика ---------- */

.subs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subs .plate--link { font-size: 12px; }
.archive__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.archive__count { margin: 0 0 16px; font-size: 14px; color: var(--g6); }
.block + .archive__count { margin-top: 40px; }
.sorts { display: flex; flex-wrap: wrap; gap: 2px; font-size: 14px; }
.sorts__item { text-decoration: none; padding: 6px 10px; color: var(--g7); position: relative; }
.sorts__item:hover { color: var(--ink); }
.sorts__item.is-active { color: var(--ink); font-weight: 700; }
.sorts__item.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 4px; background: var(--y); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--g3); text-align: center; text-decoration: none; font-weight: 600; line-height: 1; }
.pagination .page-numbers.current { position: relative; border-color: var(--ink); color: var(--ink); }
.pagination .page-numbers.current::after { content: ""; position: absolute; left: -1.5px; right: -1.5px; bottom: -1.5px; height: 4px; background: var(--y); }
.pagination .page-numbers.dots { border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.hub__text { margin-top: 48px; max-width: 760px; }

/* ---------- Калькулятор ---------- */

.entry--calc { margin-top: 20px; }
.entry--calc > * { max-width: none; } /* мера 760 — для текста статьи, калькулятору нужна вся колонка */
.calc-page .article__head { max-width: none; }

/* ---------- Подсказка, реакции, поделиться ---------- */

/* Подсказка (.tip): всплывает над элементом при наведении и фокусе; родитель — position: relative */
/* Скрытая подсказка — display: none, а не opacity: иначе её невидимый бокс вылезает за край экрана и даёт горизонтальный скролл */
.tip { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 20; padding: 5px 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; white-space: nowrap; pointer-events: none; opacity: 1; transition: opacity .12s var(--ease); }
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
:hover > .tip, :focus-visible > .tip, .is-tip > .tip { display: block; }
@starting-style { :hover > .tip, :focus-visible > .tip, .is-tip > .tip { opacity: 0; } }
@media (hover: none) { :hover > .tip { display: none; } .is-tip > .tip { display: block; } }
/* У крайних правых кнопок подсказка прижимается к правому краю */
.share__btn:nth-last-child(-n+2) > .tip { left: auto; right: 0; transform: none; }
.share__btn:nth-last-child(-n+2) > .tip::after { left: auto; right: 14px; }

/* Мета — цифры пиктограммами */
.meta__ic { position: relative; display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; outline: none; }
.meta__ic .icon { width: 16px; height: 16px; color: var(--g6); }
.meta__ic:hover, .meta__ic:focus-visible { color: var(--ink); }
.meta__ic:hover .icon, .meta__ic:focus-visible .icon { color: var(--ink); }
.meta--plate .meta__ic .icon { width: 17px; height: 17px; }

/* «Полезно / не помогло» */
.react { display: inline-flex; gap: 6px; }
.react__btn { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border: 1.5px solid var(--g3); background: var(--g0); color: var(--ink); font: 600 14px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.react__btn .icon { width: 20px; height: 20px; }
.react__btn:hover { border-color: var(--ink); }
.react__btn[aria-pressed="true"] { border-color: var(--ink); background: var(--y-soft); }
.react__btn[aria-pressed="true"][data-kind="down"] { background: var(--g1); }
.react__btn.is-bump .icon { animation: react-bump .3s var(--ease); }
@keyframes react-bump { 40% { transform: scale(1.25) rotate(-8deg); } }
.react__n:empty { display: none; }
.react--sm .react__btn { min-height: 32px; padding: 0 9px; font-size: 13px; border-color: transparent; }
.react--sm .react__btn:hover { border-color: var(--g3); }
.react--sm .react__btn .icon { width: 17px; height: 17px; }
.react--sm .react__btn:first-child { margin-left: -9px; }

/* Поделиться */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
@media (max-width: 599px) { .share__label { flex-basis: 100%; margin: 0 0 2px; } }
.share__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--g3); background: var(--g0); color: var(--ink); cursor: pointer; text-decoration: none; padding: 0; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.share__btn .icon { width: 20px; height: 20px; }
.share__btn:hover { border-color: var(--ink); background: var(--y-soft); }
.share__btn[hidden] { display: none; }

/* Полоса под текстом: слева вопрос с реакциями, справа шеринг */
.after-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; max-width: 760px; margin-top: 40px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.after-bar__ask { display: inline-flex; align-items: center; gap: 14px; }
.after-bar__q { font-weight: 700; font-size: 17px; }
.entry--calc + .after-bar { max-width: none; }

/* ---------- Комментарии ---------- */

.comments { margin-top: clamp(40px, 6vw, 64px); max-width: 760px; scroll-margin-top: 24px; }
.comments__list { list-style: none; margin: 8px 0 0; padding: 0; }
.comments__list .children { list-style: none; margin: 0; padding-left: 24px; }
.comment__body { padding: 18px 0; border-bottom: 1px solid var(--g2); }
.comment__head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14px; }
.comment__author { font-size: 16px; }
.comment__date { color: var(--g6); text-decoration: none; }
.comment__date:hover { color: var(--ink); }
.comment__text { margin-top: 6px; font-size: 16px; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__await { color: var(--o-deep); font-size: 14px; margin: 6px 0 0; }
.comment__foot { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.comment__reply { margin: 0; font-size: 14px; }
.comment__reply a { text-decoration-color: var(--g3); font-weight: 600; }
.comments__reply-title { font-size: 22px; margin-top: 36px; }
.comments__reply-title small { font-size: 14px; font-weight: 400; margin-left: 10px; }
.comments__lead { font-size: 16px; color: var(--g7); max-width: 60ch; margin: 6px 0 20px; }
.f { margin: 0 0 14px; }
.f label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.f__hint { font-weight: 400; color: var(--g6); margin-left: 6px; }
.f input, .f textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--ink); background: var(--g0); font: 400 16px var(--font); color: var(--ink); }
.f textarea { resize: vertical; min-height: 120px; }
.comment-form .form-submit { margin: 4px 0 0; }
.comment-navigation .nav-links { display: flex; justify-content: space-between; font-size: 14px; margin-top: 16px; }

/* ---------- Лайтбокс ---------- */

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(17, 17, 17, .92); }
.lightbox img { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; }
.lightbox__close { position: fixed; top: 16px; right: 16px; }

/* ---------- Подвал: тот же лист, отчёркнут линией ---------- */

.site-foot { background: var(--g1); color: var(--ink); border-top: 1.5px solid var(--ink); }
.site-foot__grid { display: grid; grid-template-columns: 1fr; gap: 32px 40px; padding-block: 44px 32px; }
@media (min-width: 700px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-foot__brand p { font-size: 15px; max-width: 34ch; margin: 16px 0 0; color: var(--g7); }
.site-foot__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.site-foot__list li { margin: 0 0 8px; }
.site-foot__list a { color: var(--g8); text-decoration-color: var(--g3); }
.site-foot__list a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.site-foot__bottom { padding-block: 18px 26px; border-top: 1px solid var(--g2); font-size: 13px; color: var(--g7); display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-foot__bottom p { margin: 0; }

/* ---------- Печать ---------- */

@media print {
	.site-head, .site-foot, .article__rail, .after-calcs, .related, .comments, .tags, .crumbs, .byline { display: none !important; }
	body { font-size: 12pt; }
	.short { border-left: 4pt solid #000; }
}
