/* Unbounded, Onest, JetBrains Mono — SIL OFL 1.1, see fonts/OFL.txt */
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(../fonts/unbounded-cyrillic-ext-wght-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(../fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(../fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-display:swap;font-weight:200 900;src:url(../fonts/unbounded-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/onest-cyrillic-ext-wght-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/onest-cyrillic-wght-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/onest-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/onest-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/jetbrains-mono-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/jetbrains-mono-cyrillic-ext-700-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/jetbrains-mono-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/jetbrains-mono-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/jetbrains-mono-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Tarantas News 1.1 — site theme «Гоночный зелёный».
   Tokens: racing green + signal yellow on a cool light ground, ink for the heavy rules.
   Type: Unbounded (logo, headlines), Onest (text), JetBrains Mono (time, rubrics, captions). */

:root {
  --ink: #111417;        /* text, heavy rules, footer */
  --text2: #2C3136;      /* standfirsts */
  --grey: #5A6168;       /* secondary text: 5.6:1 on paper */
  --line: #DADDD6;       /* thin rules */
  --line2: #C9CDC5;      /* chip and input borders */
  --paper: #F4F5F1;      /* page */
  --white: #FFFFFF;
  --green: #0B5D45;      /* accent: rubrics, links, buttons */
  --green-deep: #073D2E;
  --yellow: #FFCF33;     /* signal: «Только что», «Главное», progress, focus */
  --wrap: 1280px;
  --gutter: 32px;
  --disp: "Unbounded", "Arial Black", sans-serif;
  --sans: "Onest", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { top: 8px; }

/* ── shared bits ── */
.rub { font: 700 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
a.rub:hover, .rub a:hover { color: var(--ink); }
.meta { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--grey); }
.meta a:hover { color: var(--green); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line2); background: var(--white); color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn b { font: 700 13px/1 var(--mono); }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  background: var(--green); color: var(--white); border: 0; font: 600 15px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--green-deep); color: var(--white); }
.btn-line { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; }
.btn-line:hover { border-color: var(--green); }
.only-m { display: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); font-weight: 700; }
.btn-yellow:hover { background: #F2C11F; color: var(--ink); }

/* section header: Unbounded title, thick rule, mono link */
.sec-h { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.sec-h h2 { font: 800 28px/1 var(--disp); letter-spacing: -.01em; white-space: nowrap; }
.sec-h i { flex: 1; height: 3px; background: var(--ink); min-width: 24px; }
.sec-h > a { font: 700 13px/1 var(--mono); color: var(--green); white-space: nowrap; }
.sec-h > a:hover { color: var(--ink); }
.sec-h-s { margin-bottom: 4px; }
.sec-h-s h2 { font-size: 22px; }
.sec-h-xs { margin-bottom: 16px; }
.sec-h-xs h2 { font-size: 20px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; font: 500 13px/1 var(--mono);
  border: 1px solid var(--line2); background: var(--white); color: var(--ink); white-space: nowrap; }
a.chip:hover { border-color: var(--green); color: var(--green); }
.chip-ink { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; }
a.chip-ink:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ── top bar + header ── */
.topbar { background: var(--ink); color: #E8EAE6; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 40px; font: 500 12px/1 var(--mono); letter-spacing: .02em; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover { color: var(--yellow); }
.topbar-app { color: var(--yellow); }

.site-head { background: var(--white); border-bottom: 3px solid var(--ink); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 96px; }
.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-wheel { width: 44px; height: 44px; display: block; }
.logo-word { font: 800 32px/1 var(--disp); letter-spacing: -.02em; }
.logo-tag { font: 700 13px/1 var(--mono); letter-spacing: .12em; background: var(--yellow); color: var(--ink); padding: 5px 8px; }
.head-tools { display: flex; align-items: center; gap: 12px; }
.head-search { display: flex; align-items: center; gap: 10px; width: 300px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line2); background: var(--paper); color: var(--grey); }
.head-search:focus-within { border-color: var(--green); }
.head-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 15px/1 var(--sans); color: var(--ink); outline: none; }
.head-search input::placeholder { color: var(--grey); }
.head-search-link, .burger { display: none; }

.nav { display: flex; align-items: center; gap: 28px; height: 52px; font: 600 15px/1 var(--sans); white-space: nowrap; }
.nav > a { display: flex; align-items: center; height: 52px; }
.nav > a[aria-current] { color: var(--green); box-shadow: inset 0 -3px var(--green); }
.nav .nav-rest, .more .more-mid { display: none; }
.more { position: relative; }
.more summary { display: flex; align-items: center; gap: 6px; height: 52px; }
.more summary:hover, .more[open] summary { color: var(--green); }
.more[open] summary svg { transform: rotate(180deg); }
.more-list { position: absolute; top: 52px; left: -16px; min-width: 220px; background: var(--white); border: 1px solid var(--line2);
  border-top: 3px solid var(--ink); padding: 8px 0; display: flex; flex-direction: column; box-shadow: 0 12px 28px rgba(17, 20, 23, .12); }
.more-list a { padding: 10px 16px; }
.more-list a:hover { background: var(--paper); }

/* burger menu (phones) */
.burger:not([open]) .menu, .more:not([open]) .more-list { display: none; }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--ink); padding: 8px 16px 20px; box-shadow: 0 16px 32px rgba(17, 20, 23, .14); }
.menu nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.menu nav a { display: flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font: 500 13px/1.6 var(--mono); }
.menu-foot a { color: var(--green); }

/* ── home ── */
.ticker { background: var(--yellow); }
.ticker-in { display: flex; align-items: center; gap: 28px; height: 48px; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: 15px; }
.ticker-flag { flex: none; font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 6px 8px; }
.ticker a { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticker a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ticker time { font: 700 13px/1 var(--mono); margin-right: 8px; }
.ticker-sep { flex: none; }

.home { display: flex; flex-direction: column; gap: 64px; padding-top: 40px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
.lead-pic { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; }
.lead-pic img, .lead-pic picture { width: 100%; height: 100%; object-fit: cover; }
.flag { position: absolute; left: 0; top: 0; background: var(--yellow); color: var(--ink); font: 700 12px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; }
.lead .rub { display: inline-block; margin-top: 20px; }
.lead-t { font: 700 44px/1.12 var(--disp); letter-spacing: -.02em; margin-top: 12px; text-wrap: balance; }
.lead-sf { font-size: 19px; line-height: 1.5; color: var(--text2); margin-top: 16px; max-width: 760px; }
.lead .meta { margin-top: 12px; }

.feed { list-style: none; padding: 0; }
.feed li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed time { font: 700 13px/1.35 var(--mono); color: var(--green); padding-top: 1px; white-space: nowrap; }
.feed a { font-size: 16px; line-height: 1.35; font-weight: 500; }

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-pic { display: block; aspect-ratio: 3 / 2; background: var(--line); overflow: hidden; margin-bottom: 14px; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; }
.card .rub { display: inline-block; }
.card-t { font-weight: 700; font-size: 19px; line-height: 1.25; margin-top: 10px; }
.card .meta { margin-top: 10px; }
.card-sf { font-size: 15px; line-height: 1.45; color: var(--text2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; }
.card-text { border-top: 3px solid var(--ink); padding-top: 14px; }
.card-big .card-pic { aspect-ratio: 16 / 10; margin-bottom: 16px; }
.card-big .card-t { font: 700 24px/1.2 var(--disp); letter-spacing: -.01em; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.wide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wide-text { grid-template-columns: minmax(0, 1fr); }
.wide-pic { display: block; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.wide-pic img { width: 100%; height: 100%; object-fit: cover; }
.wide h3 { font-weight: 700; font-size: 21px; line-height: 1.25; }
.wide p { font-size: 15px; line-height: 1.45; color: var(--text2); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.wide .meta { margin-top: 10px; }
.two > section:first-child:not(.box) { padding-top: 29px; }   /* headings in line with the boxed neighbour */
.box { background: var(--white); border: 1px solid var(--line); padding: 28px 32px; }
.box-s { padding: 24px; }
.pop { list-style: none; padding: 0; }
.pop li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pop li:first-child { padding-top: 0; }
.pop li:last-child { border-bottom: 0; padding-bottom: 0; }
.pop-n { font: 800 34px/1 var(--disp); color: var(--green); }
.pop a { font-weight: 600; font-size: 17px; line-height: 1.35; }
.box-s .pop li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
.box-s .pop li:first-child { padding-top: 0; }
.box-s .pop li:last-child { padding-bottom: 0; }
.box-s .pop-n { font-size: 26px; }
.box-s .pop a { font-size: 15px; }

/* green band: articles */
.band { background: var(--green); color: var(--white); padding: 64px 0; }
.band .sec-h i { background: var(--yellow); }
.band .sec-h > a { color: var(--yellow); }
.band .sec-h > a:hover, .band a:hover { color: var(--yellow); }
.band-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; align-items: start; }
.band .card-pic { aspect-ratio: 4 / 3; background: #13765A; }
.band .card-big .card-pic { aspect-ratio: 16 / 9; }
.band .rub { color: var(--yellow); }
.band .card-t { font-size: 20px; }
.band .card-big .card-t { font: 700 28px/1.18 var(--disp); letter-spacing: -.01em; }
.band .meta { color: #CFE3DA; }
.band .card-sf { color: #DCEBE4; }
.band .card-text { border-top-color: var(--yellow); }

.sec-last { padding-top: 64px; padding-bottom: 72px; }
.rub-grid .sec-h h2 a:hover { color: var(--green); }
.rub-grid .card-t { font-size: 17px; }
.rub-grid .card-text .card-t { margin-top: 0; }
.mini { list-style: none; padding: 0; margin-top: 8px; }
.mini li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; font-weight: 500; }
.mini li:last-child { border-bottom: 0; }
.rub-grid .card-text { border-top: 0; padding-top: 0; }

/* ── lists: sections, types, tags, makes, authors, search ── */
.list-hero { background: var(--ink); color: var(--white); }
.list-hero .wrap { padding-top: 48px; padding-bottom: 40px; }
.list-hero .crumbs { color: #9DA3A8; }
.list-hero .crumbs span:last-child { color: var(--yellow); }
.list-hero a:hover { color: var(--yellow); }
.lh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 20px; }
.lh-main { display: flex; align-items: flex-start; gap: 28px; min-width: 0; }
.lh-ava { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.list-hero h1 { font: 800 72px/1 var(--disp); letter-spacing: -.03em; overflow-wrap: anywhere; text-wrap: balance; }
.lh-main p, .lh-bio { font-size: 19px; line-height: 1.5; color: #D5D9D3; margin-top: 18px; max-width: 680px; }
.lh-bio p + p { margin-top: 10px; }
.lh-main .lh-role { font: 500 13px/1.5 var(--mono); color: var(--yellow); margin-top: 14px; }
.lh-page { font: 500 13px/1.5 var(--mono); color: #9DA3A8; margin-top: 14px; }
.lh-count { font: 500 13px/1.4 var(--mono); color: var(--yellow); white-space: nowrap; padding-bottom: 6px; }
.chips-dark { margin-top: 32px; }
.chips-dark .chip { background: transparent; color: var(--white); border-color: #3A4046; }
.chips-dark a.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.chips-dark .chip-on { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 700; }

.list-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 40px; padding-bottom: 72px; }
.list-grid-1 { grid-template-columns: minmax(0, 860px); }
.list-main { min-width: 0; }
.top2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 32px; border-bottom: 3px solid var(--ink); }
.rows { list-style: none; padding: 0; }
.row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row-pic { display: block; aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.row-pic img { width: 100%; height: 100%; object-fit: cover; }
.row-t { font-weight: 700; font-size: 21px; line-height: 1.28; }
.row p { font-size: 16px; line-height: 1.5; color: var(--text2); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.row .meta { margin-top: 10px; }
.row-arch { grid-template-columns: 120px minmax(0, 1fr); padding: 20px 0; }
.row-arch > time { font: 700 13px/1.4 var(--mono); color: var(--green); padding-top: 3px; }
.row-arch .row-t { font-size: 18px; line-height: 1.3; }
.row-arch p { font-size: 15px; margin-top: 6px; -webkit-line-clamp: 2; }
.row-arch .rub { display: inline-block; margin-top: 8px; font-size: 11px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 40px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line2); background: var(--white); font: 700 14px/1 var(--mono); }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pager .gap { border: 0; background: none; min-width: 0; padding: 0 6px; color: var(--grey); }
.pager .pager-next { margin-left: auto; background: var(--green); border-color: var(--green); color: var(--white); }
.pager .pager-next:hover { background: var(--green-deep); color: var(--white); }
.empty { padding: 8px 0 40px; font-size: 18px; color: var(--grey); }
.ad-feed { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rail { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.list-main > .rows:first-child > li:first-child { padding-top: 0; }
.list-grid .rail > .box-s:first-child { margin-top: -25px; }   /* «Популярное» in line with the first story */

.search-form { display: flex; gap: 10px; max-width: 680px; margin-top: 24px; }
.search-form input { flex: 1; min-width: 0; height: 52px; font: 400 18px/1 var(--sans); padding: 0 16px; border: 1px solid #3A4046;
  background: var(--white); color: var(--ink); }
.search-form input:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.search-form .btn { height: 52px; }
.list-hero > .wrap > h1 { margin-top: 20px; }

/* ── article ── */
.progress { position: sticky; top: 0; z-index: 30; height: 4px; background: var(--line); }
.progress i { display: block; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 32px; padding-bottom: 72px; }
.a-main { min-width: 0; max-width: 800px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 13px/1.4 var(--mono); color: var(--grey); }
.crumbs a:hover { color: var(--green); }
.story .crumbs { margin-bottom: 24px; }
.story .crumbs a:last-child { color: var(--green); }
.s-rub a { color: var(--green); }
.s-title { font: 700 44px/1.12 var(--disp); letter-spacing: -.02em; margin-top: 14px; text-wrap: balance; }
.s-alt { font-style: italic; font-size: 19px; line-height: 1.45; color: var(--grey); margin-top: 14px; }
.s-lead { font-size: 22px; line-height: 1.5; font-weight: 500; margin-top: 24px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }
.byline-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.byline-who a { font-weight: 700; font-size: 15px; }
.byline-who span { font: 500 12px/1.4 var(--mono); color: var(--grey); }
.share { display: flex; gap: 8px; }
.hero { margin-top: 28px; }
.hero img, .hero picture { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--line); }
.hero figcaption { font: 500 12px/1.5 var(--mono); color: var(--grey); margin-top: 10px; }
.pref { margin-top: 24px; display: none; }
.pref a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--line2); background: var(--white); }
.pref a:hover { border-color: var(--green); }
.pref svg { width: 18px; height: 18px; flex: none; }
.ad { margin: 28px 0; }
.ad:empty { display: none; }
.body { font-size: 19px; line-height: 1.65; color: #1C2024; margin-top: 28px; overflow-wrap: anywhere; }
.body > * + * { margin-top: 22px; }
.body h2 { font: 700 26px/1.25 var(--disp); letter-spacing: -.01em; margin: 40px 0 18px; }
.body h3 { font-weight: 700; font-size: 22px; line-height: 1.3; margin: 32px 0 14px; }
.body h2 + *, .body h3 + * { margin-top: 0; }
.body a { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yellow); }
.body a:hover { text-decoration-color: var(--green); }
.body strong, .body b { font-weight: 700; }
.body ul, .body ol { padding-left: 1.3em; }
.body li + li { margin-top: .4em; }
.body li::marker { color: var(--green); font-weight: 700; }
.body blockquote { margin: 36px 0; padding: 0; font: 500 22px/1.45 var(--disp); }
.body blockquote::before { content: "\201C"; display: block; font: 800 64px/.6 var(--disp); color: var(--yellow); margin-bottom: 8px; }
.body blockquote p + p { margin-top: 12px; }
.body blockquote cite, .body blockquote footer { display: block; font: 500 13px/1.4 var(--mono); font-style: normal; color: var(--grey); margin-top: 12px; }
.body figure img { width: 100%; }
.body figcaption { font: 500 12px/1.5 var(--mono); color: var(--grey); margin-top: 10px; }
.body table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.body th, .body td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.body th { font: 700 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--grey); }
.facts { margin: 36px 0; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.facts-h { display: block; font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.facts dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 24px; margin-top: 16px; }
.facts dt { font: 500 13px/1.4 var(--mono); color: var(--grey); padding-top: 2px; }
.facts dd { font-weight: 600; }
.embed, .embedWrapper { position: relative; aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; }
.embed iframe, .embedWrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tags { margin-top: 32px; }
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; margin-top: 40px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--line); }
.author-box-k { display: block; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.author-box-n { display: block; font-weight: 700; font-size: 18px; margin-top: 6px; }
.author-box-bio { font-size: 15px; line-height: 1.5; color: var(--text2); margin-top: 6px; }
.dzen { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 28px; padding: 0 20px;
  background: var(--green); color: var(--white); font-weight: 700; font-size: 15px; }
.dzen:hover { background: var(--green-deep); color: var(--white); }
.dzen svg { width: 22px; height: 22px; flex: none; }
.related { margin-top: 64px; }
.lane { display: flex; align-items: center; gap: 16px; margin: 56px 0 40px; font: 700 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.lane::before, .lane::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.lane + .story .s-rub { margin-top: 0; }
.rail .feed li { padding: 13px 0; }
.rail .feed a { font-size: 15px; }
.promo { position: sticky; top: 24px; display: flex; flex-direction: column; background: var(--green); color: var(--white); padding: 24px; }
.promo:hover { color: var(--white); }
.promo-k { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.promo-t { font: 700 20px/1.3 var(--disp); margin: 12px 0 18px; }
.promo .btn { width: 100%; }
.promo:hover .btn { background: #F2C11F; }

/* ── static pages, 404, preview ── */
.page { background: var(--white); border: 1px solid var(--line); padding: 40px 48px 48px; margin: 40px 0 72px; max-width: 880px; }
.page h1 { font: 700 40px/1.12 var(--disp); letter-spacing: -.02em; margin-bottom: 28px; }
.page .body { margin-top: 0; font-size: 18px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.team h2 { grid-column: 1 / -1; font: 800 22px/1 var(--disp); }
.team-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); }
.team-card:hover { border-color: var(--green); }
.team-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-card b { display: block; font-weight: 700; }
.team-card span span { font: 500 12px/1.4 var(--mono); color: var(--grey); }
.notfound { padding: 72px 0 104px; max-width: 680px; }
.nf-code { display: block; font: 800 120px/1 var(--disp); letter-spacing: -.04em; color: var(--green); }
.notfound h1 { font: 700 36px/1.15 var(--disp); letter-spacing: -.02em; margin-top: 24px; }
.notfound p { font-size: 18px; color: var(--text2); margin-top: 14px; }
.notfound .btn { margin-top: 28px; }
.preview-bar { background: var(--yellow); color: var(--ink); font-weight: 600; text-align: center; padding: 10px 16px; }
.preview-bar a { text-decoration: underline; }

/* ── footer ── */
.site-foot { background: var(--ink); color: #C9CDC5; padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.logo-foot { gap: 12px; color: var(--white); }
.logo-foot:hover { color: var(--white); }
.logo-foot .logo-wheel { width: 34px; height: 34px; }
.logo-foot .logo-word { font-size: 26px; }
.logo-foot .logo-tag { font-size: 12px; padding: 4px 7px; }
.foot-brand p { font-size: 15px; line-height: 1.5; margin-top: 16px; max-width: 320px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.foot-col b { font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.site-foot a:hover { color: var(--yellow); }
.foot-legal { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid #2E3338; font: 500 12px/1.6 var(--mono); color: #9DA3A8; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal .wrap { padding: 0; }

/* ── cookie, share sheet, toast ── */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: 420px; background: var(--white); border: 1px solid var(--line2);
  border-top: 3px solid var(--ink); padding: 16px 18px; font-size: 14px; line-height: 1.5; display: none; box-shadow: 0 8px 28px rgba(17, 20, 23, .16); }
.cookie.show { display: block; }
.cookie a { color: var(--green); text-decoration: underline; }
.cookie .btn { margin-top: 12px; }
.share-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(17, 20, 23, .5); display: none; align-items: flex-end; justify-content: center; }
.share-sheet.open { display: flex; }
.share-box { background: var(--white); width: min(480px, 100%); border-top: 3px solid var(--ink); padding: 22px 22px 26px; }
.share-box h2 { font: 800 20px/1 var(--disp); display: flex; justify-content: space-between; align-items: center; }
.share-box h2 button { background: none; border: 0; width: 44px; height: 44px; font-size: 28px; line-height: 1; cursor: pointer; color: var(--grey); }
.share-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.share-list a, .share-list button { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--line2);
  background: var(--white); font-weight: 600; cursor: pointer; }
.share-list a:hover, .share-list button:hover { border-color: var(--green); color: var(--green); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 10px 16px;
  font-size: 14px; z-index: 70; display: none; }
.toast.show { display: block; }

/* ── responsive ── */
@media (max-width: 1240px) {
  .nav { gap: 24px; }
  .nav .nav-mid { display: none; }
  .more .more-mid { display: block; }
}
@media (max-width: 1100px) {
  .head-search { width: 240px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .lead-t, .s-title { font-size: 38px; }
  .a-grid, .list-grid { grid-template-columns: minmax(0, 1fr); }
  .a-main { max-width: 800px; }
  .rail { display: none; }
  .pref { display: block; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .two > section:first-child:not(.box) { padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .topbar, .hide-m { display: none; }
  .only-m { display: flex; }
  .feed-col .feed li:nth-child(n+6) { display: none; }
  .feed-col .feed li:nth-child(5) { border-bottom: 0; }
  .feed-col .btn-line { margin-top: 8px; }
  .sec-h h2 { white-space: normal; }
  .head-row { height: 60px; gap: 12px; }
  .logo { gap: 8px; }
  .logo-wheel { width: 28px; height: 28px; }
  .logo-word { font-size: 19px; }
  .logo-tag { font-size: 10px; padding: 3px 5px; letter-spacing: .1em; }
  .head-tools { gap: 0; margin-right: -10px; }
  .head-search, .btn-sub { display: none; }
  .head-search-link, .burger { display: block; }
  .head-search-link, .burger summary { display: flex; border: 0; background: transparent; }
  .nav { height: 44px; gap: 20px; font-size: 14px; overflow-x: auto; scrollbar-width: none; padding-right: 32px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav > a { height: 44px; flex: none; }
  .nav .nav-mid, .nav .nav-rest { display: flex; }
  .more { display: none; }
  .ticker-in { height: auto; min-height: 44px; gap: 10px; padding-top: 10px; padding-bottom: 10px; white-space: normal; font-size: 14px; }
  .ticker-flag { display: none; }
  .ticker a:not(:first-of-type), .ticker-sep { display: none; }
  .ticker time { font-size: 10px; background: var(--ink); color: var(--yellow); padding: 4px 6px; letter-spacing: .08em; }
  .home { gap: 36px; padding-top: 0; padding-bottom: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .lead-pic { margin: 0 calc(-1 * var(--gutter)); }
  .lead .rub { margin-top: 16px; font-size: 11px; }
  .lead-t { font-size: 25px; line-height: 1.18; letter-spacing: -.01em; margin-top: 10px; }
  .lead-sf { font-size: 16px; margin-top: 12px; }
  .lead .meta { font-size: 11px; margin-top: 8px; }
  .sec-h { gap: 12px; margin-bottom: 14px; }
  .sec-h h2, .sec-h-s h2, .sec-h-xs h2 { font-size: 20px; }
  .sec-h-s { margin-bottom: 0; }
  .feed li { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
  .feed time { font-size: 12px; }
  .rub, .meta { font-size: 11px; }
  /* cards become rows: text left, square picture right */
  .cards-m { display: block; }
  .cards-m .card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "r p" "t p" "m p"; grid-template-rows: auto auto 1fr;
    column-gap: 14px; padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .cards-m .card:last-child { border-bottom: 0; }
  .cards-m .card-pic { grid-area: p; aspect-ratio: 1 / 1; margin: 0; align-self: start; }
  .cards-m .rub { grid-area: r; }
  .cards-m .card-t { grid-area: t; font-size: 16px; line-height: 1.3; margin-top: 6px; }
  .cards-m .meta { grid-area: m; margin-top: 6px; }
  .cards-m .card-text { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
  .cards-m .card-sf { display: none; }
  .two { gap: 36px; }
  .wide { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding-bottom: 14px; }
  .wide-pic { order: 2; aspect-ratio: 1 / 1; }
  .wide-text { grid-template-columns: minmax(0, 1fr); }
  .wide h3 { font-size: 17px; line-height: 1.3; }
  .wide p { display: none; }
  .box { padding: 0; background: none; border: 0; }
  .pop li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
  .pop-n { font-size: 26px; }
  .pop a { font-size: 16px; }
  .band { padding: 28px 0; }
  .band-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .band .card { padding: 16px 0 0; margin-top: 16px; border-top: 1px solid #2B7A61; }
  .band .card-big { padding: 0; margin: 0; border: 0; }
  .band .card:not(.card-big) .card-pic, .band .card:not(.card-big) .rub, .band .card:not(.card-big) .meta, .band .card:not(.card-big) .card-sf { display: none; }
  .band .card:not(.card-big) .card-t { font-size: 16px; line-height: 1.3; margin-top: 0; }
  .band .card-big .card-t { font-size: 20px; line-height: 1.25; }
  .band .card-big .card-pic { margin-bottom: 14px; }
  .sec-last { padding-top: 36px; padding-bottom: 40px; }
  .rub-grid { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .list-hero .wrap { padding-top: 24px; padding-bottom: 24px; }
  .lh-row { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; }
  .lh-main { gap: 16px; }
  .lh-ava { width: 64px; height: 64px; }
  .list-hero h1 { font-size: 36px; }
  .lh-main p, .lh-bio { font-size: 16px; margin-top: 12px; }
  .lh-count { padding-bottom: 0; }
  .chips-dark { margin-top: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .chips-dark::-webkit-scrollbar { display: none; }
  .list-grid { padding-top: 20px; padding-bottom: 40px; }
  .top2 { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
  .card-big .card-t { font-size: 20px; }
  .row { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 16px 0; }
  .row-pic { order: 2; aspect-ratio: 1 / 1; }
  .row-t { font-size: 17px; line-height: 1.3; }
  .row p { display: none; }
  .row .meta { margin-top: 6px; }
  .row-arch { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .row-arch > time { font-size: 12px; padding-top: 0; }
  .row-arch .row-t { font-size: 17px; }
  .row-arch p { display: -webkit-box; }
  .pager { margin-top: 28px; gap: 6px; }
  .pager .pager-next { margin-left: 0; flex-basis: 100%; }
  .search-form .btn { padding: 0 16px; }
  .a-grid { padding-top: 20px; padding-bottom: 40px; }
  .story .crumbs { font-size: 12px; margin-bottom: 14px; }
  .s-title { font-size: 26px; line-height: 1.18; letter-spacing: -.01em; margin-top: 10px; }
  .s-alt { font-size: 16px; margin-top: 10px; }
  .s-lead { font-size: 18px; margin-top: 16px; }
  .byline { margin-top: 18px; padding: 12px 0; gap: 10px; }
  .byline img { width: 36px; height: 36px; }
  .byline-who a { font-size: 14px; }
  .byline-who span { font-size: 11px; }
  .share .icon-btn:not(button) { display: none; }
  .hero { margin: 20px calc(-1 * var(--gutter)) 0; }
  .hero figcaption { font-size: 11px; margin: 8px var(--gutter) 0; }
  .body { font-size: 18px; line-height: 1.6; margin-top: 20px; }
  .body > * + * { margin-top: 18px; }
  .body h2 { font-size: 21px; line-height: 1.3; margin: 30px 0 14px; }
  .body blockquote { font-size: 18px; }
  .facts { margin: 24px 0; padding: 20px; font-size: 15px; }
  .facts dl { grid-template-columns: 110px minmax(0, 1fr); gap: 10px 14px; margin-top: 14px; }
  .facts dt { font-size: 12px; }
  .author-box { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px; margin-top: 28px; }
  .author-box img { width: 56px; height: 56px; }
  .related { margin-top: 36px; }
  .lane { margin: 32px 0 24px; font-size: 12px; }
  .page { margin: 0 calc(-1 * var(--gutter)) 40px; padding: 24px var(--gutter) 32px; border: 0; }
  .page h1 { font-size: 28px; margin-bottom: 20px; }
  .notfound { padding: 40px 0 64px; }
  .nf-code { font-size: 80px; }
  .notfound h1 { font-size: 26px; }
  .site-foot { padding: 28px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .logo-foot .logo-wheel { width: 26px; height: 26px; }
  .logo-foot .logo-word { font-size: 18px; }
  .logo-foot .logo-tag { font-size: 10px; padding: 3px 5px; }
  .foot-brand p { font-size: 14px; margin-top: 12px; }
  .foot-col { font-size: 14px; }
  .foot-legal { flex-direction: column; margin-top: 24px; padding-top: 14px; font-size: 11px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .lead-t, .s-title { font-size: 32px; }
  .list-hero h1 { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
