/* AnonHaven, редизайн: стили новых частей сайта. Файл собран автоматически (port/build_port.py) из стилей наброска.
   Все правила действуют только внутри элементов с классом .ah2. */
.ah2 { display: contents; }                 /* обёртка без собственной рамки: шапка прилипает к верху, как и раньше */
/* Tailwind делает значки и картинки блочными, а в новых частях значки стоят в строке с текстом */
.ah2 svg { display: inline; vertical-align: baseline; }
/* Tailwind (forms) рисует синее кольцо вокруг поля в фокусе */
.ah2 input:focus, .ah2 select:focus, .ah2 textarea:focus { box-shadow: none; --tw-ring-shadow: 0 0 #0000; }
.ah2 input, .ah2 select, .ah2 textarea { line-height: inherit; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/ah2/golos-text-cyrillic-ext.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: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/ah2/golos-text-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/ah2/golos-text-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/ah2/golos-text-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; }
.ah2 { --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --wrap: 1240px; --sheet: 1288px; --head-h: 60px; --accent: #f35132; --accent-strong: #cc3b1c; --accent-ink: #ffffff; --bg: #ffffff; --text: #1b1b1d; --heading: #0b0b0c; --muted: #6c6d72; --line: #e6e6e8; --rule: #0b0b0c; --field: #ffffff; --soft: #f5f5f6; --band-bg: #0b0b0c; --img-filter: saturate(0.88); --sev-crit: #b83224; --sev-high: #a8660f; --sev-med: #7d6f10; --sev-low: #2f7a45; --head-bg: #000000; --dark-text: #e7e7e7; --dark-heading: #ffffff; --dark-muted: #9a9ba0; --dark-line: #2a2b2f; --dark-sev-high: #d99a3d; --dark-sev-crit: #e2604f; --brand-bg: #ffffff; }
.ah2 * { box-sizing: border-box; }
.ah2 { -webkit-text-size-adjust: 100%; }
.ah2 { color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.ah2 a { color: inherit; text-decoration: none; }
.ah2 img { display: block; max-width: 100%; }
.ah2 h1, .ah2 h2, .ah2 h3, .ah2 h4, .ah2 p, .ah2 ul, .ah2 ol { margin: 0; padding: 0; }
.ah2 ul, .ah2 ol { list-style: none; }
.ah2 button, .ah2 input, .ah2 select { font: inherit; color: inherit; }
.ah2 svg { width: 18px; height: 18px; flex: none; }
.ah2 time, .ah2 .num { font-variant-numeric: tabular-nums; }
.ah2 [hidden] { display: none !important; }
.ah2 .wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.ah2 .t { text-decoration: underline transparent; text-underline-offset: 0.16em; text-decoration-thickness: 1px; transition: text-decoration-color .15s; }
.ah2 a:hover > .t, .ah2 a.t:hover, .ah2 a:hover .t { text-decoration-color: currentColor; }
.ah2 .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ah2 .kicker b { color: var(--accent-strong); font-weight: 700; }
.ah2 .by { font-size: 13px; color: var(--muted); }
.ah2 .h { display: flex; align-items: center; gap: 10px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--heading); }
.ah2 .h::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }
.ah2 .h-s { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; gap: 8px; }
.ah2 .h-s::before { width: 7px; height: 7px; }
.ah2 .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ah2 .more { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.ah2 .more:hover { color: var(--heading); }
.ah2 .btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--accent-strong); background: var(--accent-strong); color: var(--accent-ink); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.ah2 .btn:hover { filter: brightness(1.08); }
.ah2 .btn-line { background: transparent; border-color: var(--line); color: var(--heading); }
.ah2 .btn-line:hover { filter: none; border-color: var(--heading); }
.ah2 .top { position: sticky; top: 0; z-index: 60; background: var(--head-bg); color: var(--dark-text); }
.ah2 .top-in { display: flex; align-items: center; gap: 34px; height: var(--head-h); }
.ah2 .logo img { height: 27px; width: auto; filter: invert(1) brightness(1.5); }
.ah2 .nav { display: flex; align-items: stretch; gap: 26px; height: 100%; margin-right: auto; font-weight: 600; font-size: 15px; }
.ah2 .nav > a, .ah2 .mm > button { display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; }
.ah2 .nav > a:hover, .ah2 .mm > button:hover, .ah2 .mm.open > button, .ah2 .nav .on { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.ah2 .mm { position: relative; height: 100%; }
.ah2 .mm > button svg { width: 10px; height: 10px; opacity: 0.7; transition: transform .15s; }
.ah2 .mm.open > button svg { transform: rotate(180deg); }
.ah2 .mm-panel { display: none; position: absolute; top: 100%; left: -22px; min-width: 264px; padding: 8px 22px 16px; background: var(--head-bg); border-top: 1px solid var(--dark-line); border-radius: 0 0 6px 6px; font-weight: 500; font-size: 14.5px; }
.ah2 .mm.open .mm-panel { display: grid; }
.ah2 .mm-panel.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; min-width: 470px; }
.ah2 .mm-panel a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--dark-text); white-space: nowrap; }
.ah2 .mm-panel a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.ah2 .mm-panel a svg { width: 16px; height: 16px; color: var(--dark-muted); }
.ah2 .mm-panel .all { grid-column: 1 / -1; padding: 10px 0; margin-bottom: 4px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--dark-line); }
.ah2 .mm-panel hr { grid-column: 1 / -1; width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--dark-line); }
.ah2 .top-actions { display: flex; align-items: center; gap: 18px; font-size: 14.5px; font-weight: 500; }
.ah2 .icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: inherit; cursor: pointer; }
.ah2 .icon-btn:hover { color: #fff; }
.ah2 .top-actions .quiet:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.ah2 .top .btn { height: 34px; padding: 0 14px; font-size: 14px; }
.ah2 .burger { display: none; }
.ah2 .burger .x, .ah2 .top.menu-open .burger .bars { display: none; }
.ah2 .top.menu-open .burger .x { display: block; }
.ah2 .search-bar { display: none; position: absolute; inset: 0; background: var(--head-bg); }
.ah2 .top.searching .search-bar { display: block; }
.ah2 .top.searching .top-in { visibility: hidden; }
.ah2 .search-bar .wrap { display: flex; align-items: center; gap: 14px; height: 100%; }
.ah2 .search-bar > .wrap > svg { color: var(--dark-muted); width: 20px; height: 20px; }
.ah2 .search-bar input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: none; color: #fff; font-size: 18px; outline: none; }
.ah2 .search-bar input::placeholder { color: var(--dark-muted); }
.ah2 .search-bar .btn { height: 34px; }
.ah2 .shade { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.45); }
.ah2 .mnav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--head-h)); overflow-y: auto; padding: 0 0 26px; background: var(--head-bg); border-top: 1px solid var(--dark-line); }
.ah2 .top.menu-open .mnav { display: block; }
.ah2 .mnav details, .ah2 .mnav .m-link { border-bottom: 1px solid var(--dark-line); }
.ah2 .mnav summary, .ah2 .mnav .m-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.ah2 .mnav summary::-webkit-details-marker { display: none; }
.ah2 .mnav summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.ah2 .mnav details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ah2 .m-sub { display: grid; padding: 0 0 12px; }
.ah2 .m-sub > a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 15.5px; }
.ah2 .m-sub > a svg { width: 16px; height: 16px; color: var(--dark-muted); }
.ah2 .m-sub > a.all { font-weight: 600; color: #fff; }
.ah2 .m-sub details { border: 0; }
.ah2 .m-sub summary { padding: 9px 0; font-size: 15.5px; font-weight: 500; }
.ah2 .m-sub .m-sub { margin: 2px 0 8px; padding: 0 0 0 14px; border-left: 1px solid var(--dark-line); }
.ah2 .m-sub .m-sub > a { padding: 7px 0; font-size: 14px; line-height: 1.35; color: var(--dark-muted); }
.ah2 .ad-mark { position: absolute; top: 6px; right: max(6px, calc(50% - var(--sheet) / 2 + 6px)); padding: 3px 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.78); color: rgba(0, 0, 0, 0.55); font-size: 10px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.ah2[data-brand="full"] { --brand-bg: #fdfdfd; }
.ah2[data-brand="full-tint"] { --brand-bg: #e6eef8; }
.ah2 .stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--sheet)) minmax(0, 1fr); align-items: start; }
.ah2 .sheet { grid-column: 2; grid-row: 1; min-width: 0; background: var(--bg); }
.ah2 .sub { border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ah2 .sub-in { display: flex; align-items: center; gap: 22px; height: 42px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ah2 .sub-in::-webkit-scrollbar { display: none; }
.ah2 .sub a:hover { color: var(--heading); }
.ah2 .sub .today { margin-left: auto; padding-left: 22px; }
.ah2 .first { padding: 30px 0 34px; }
.ah2 .mosaic { display: grid; grid-template-columns: 250px minmax(0, 1fr) 316px; gap: 0 34px; align-items: start; }
.ah2 .side { display: grid; gap: 26px; }
.ah2 .side .kicker { margin-top: 12px; }
.ah2 .side h3 { margin-top: 5px; font-size: 17px; line-height: 1.28; font-weight: 600; letter-spacing: -0.012em; color: var(--heading); }
.ah2 .side .by { margin-top: 6px; }
.ah2 .lead .kicker { margin-top: 18px; }
.ah2 .lead h1 { margin-top: 8px; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.026em; color: var(--heading); text-wrap: balance; }
.ah2 .lead .dek { margin-top: 12px; font-size: 17px; line-height: 1.5; }
.ah2 .lead .by { margin-top: 12px; }
.ah2 .feed .sec-head { margin-bottom: 4px; }
.ah2 .feed li a { display: grid; grid-template-columns: 68px 1fr; gap: 0 14px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.ah2 .feed li:first-child a { border-top: 0; }
.ah2 .feed time { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.ah2 .feed .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.32; font-weight: 600; color: var(--heading); }
.ah2 .mosaic > .feed { border-left: 1px solid var(--line); padding-left: 34px; }
.ah2 .sec { padding: 38px 0 46px; border-top: 1px solid var(--line); }
.ah2 .cols { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 0 56px; align-items: start; }
.ah2 .river-more { margin-top: 10px; }
.ah2 .aside-home { gap: 38px; }
.ah2 .rank li a { display: grid; grid-template-columns: 20px 60px 1fr; gap: 0 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.ah2 .rank li:first-child a { border-top: 0; }
.ah2 .rank .n { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 1px; }
.ah2 .rank .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.32; font-weight: 600; color: var(--heading); }
.ah2 .box form { display: grid; gap: 8px; margin-top: 14px; }
.ah2 .box input { height: 42px; padding: 0 12px; min-width: 0; border-radius: 6px; border: 1px solid var(--line); background: var(--field); outline: none; }
.ah2 .box input:focus { border-color: var(--heading); }
.ah2 .box small { font-size: 12.5px; color: var(--muted); }
.ah2 .box small a { border-bottom: 1px solid var(--line); }
.ah2 .band .h { color: var(--dark-heading); }
.ah2 .band-top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 0; align-items: end; }
.ah2 .band-intro { padding-right: 32px; }
.ah2 .band-intro p { margin-top: 10px; font-size: 15px; color: var(--dark-muted); max-width: 30em; }
.ah2 .fig { padding-left: 24px; border-left: 1px solid var(--dark-line); }
.ah2 .fig b { display: block; font-size: 34px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--dark-heading); }
.ah2 .fig span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.3; color: var(--dark-muted); }
.ah2 .band-foot { margin-top: 26px; }
.ah2 .band .btn-line { border-color: var(--dark-line); color: var(--dark-heading); }
.ah2 .band .btn-line:hover { border-color: var(--dark-heading); }
.ah2 .filters { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14.5px; color: var(--muted); }
.ah2 .filters a:hover { color: var(--heading); }
.ah2 .filters .on { color: var(--heading); border-bottom: 1px solid var(--heading); }
.ah2 .feature { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 0 34px; align-items: start; }
.ah2 .big .kicker { margin-top: 16px; }
.ah2 .big h3 { margin-top: 6px; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.022em; color: var(--heading); text-wrap: balance; }
.ah2 .big .by { margin-top: 10px; }
.ah2 .quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 26px; }
.ah2 .quad .kicker { margin-top: 11px; }
.ah2 .quad h3 { margin-top: 4px; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ah2 .quad .by { margin-top: 6px; font-size: 12.5px; }
.ah2 .who { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); }
.ah2 .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.ah2 .who b { font-weight: 500; color: var(--text); }
.ah2 .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.ah2 .grid-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 30px; }
.ah2 .rubric { border-top: 2px solid var(--rule); }
.ah2 .rubric-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.ah2 .rubric-head h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--heading); }
.ah2 .rubric-head h3 svg { width: 17px; height: 17px; color: var(--muted); }
.ah2 .rubric-head span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ah2 .rubric-head:hover span { color: var(--heading); }
.ah2 .rubric .first-item { display: grid; grid-template-columns: 124px 1fr; gap: 0 14px; align-items: start; padding-bottom: 14px; }
.ah2 .rubric .first-item .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; line-height: 1.3; font-weight: 600; color: var(--heading); }
.ah2 .rubric .first-item time { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.ah2 .rubric li a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.ah2 .rubric li .t { font-size: 14.5px; line-height: 1.35; font-weight: 500; }
.ah2 .rubric li time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ah2 .grid-topics .rubric .first-item { grid-template-columns: 1fr; }
.ah2 .river li + li { border-top: 1px solid var(--line); }
.ah2 .river a { display: grid; grid-template-columns: 250px 1fr; gap: 0 24px; align-items: start; padding: 20px 0; }
.ah2 .river li:first-child a { padding-top: 0; }
.ah2 .river h3 { margin-top: 6px; font-size: 21px; line-height: 1.22; font-weight: 700; letter-spacing: -0.018em; color: var(--heading); }
.ah2 .river .ex { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--text); opacity: 0.86; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ah2 .river .by { margin-top: 8px; }
.ah2 .aside { display: grid; gap: 30px; }
.ah2 .aside .sec-head { margin-bottom: 6px; }
.ah2 .box { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.ah2 .box h3 { font-size: 18px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: var(--heading); }
.ah2 .box p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ah2 .band { background: var(--band-bg); color: var(--dark-text); padding: 44px 0 46px; }
.ah2 .vulns { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ah2 .vulns a { display: grid; grid-template-columns: 40px 1fr auto; gap: 2px 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--dark-line); }
.ah2 .vulns .score { font-size: 15px; font-weight: 700; color: var(--dark-sev-high); }
.ah2 .vulns .id { font-size: 14.5px; font-weight: 600; color: var(--dark-heading); }
.ah2 .vulns time { font-size: 12.5px; color: var(--dark-muted); white-space: nowrap; }
.ah2 .vulns .txt { grid-column: 2 / -1; font-size: 14px; line-height: 1.4; color: var(--dark-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ah2 .vulns a:hover .id { text-decoration: underline; text-underline-offset: 0.16em; }
.ah2 .foot { background: var(--head-bg); color: var(--dark-text); padding: 44px 0 0; font-size: 14.5px; }
.ah2 .foot-in { display: grid; grid-template-columns: 1.25fr 1fr 1.45fr; gap: 44px; }
.ah2 .foot-logo { height: 24px; width: auto; filter: invert(1) brightness(1.5); margin-bottom: 14px; }
.ah2 .foot h4 { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); }
.ah2 .foot p { color: var(--dark-muted); max-width: 34em; }
.ah2 .foot nav { display: grid; gap: 8px; justify-items: start; }
.ah2 .foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.16em; }
.ah2 .foot form { display: flex; gap: 8px; margin-top: 14px; }
.ah2 .foot input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--dark-line); background: #101012; color: #fff; outline: none; }
.ah2 .foot input:focus { border-color: var(--dark-muted); }
.ah2 .foot-contacts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; color: var(--dark-muted); }
.ah2 .foot-contacts a { color: var(--dark-text); }
.ah2 .foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 38px; padding: 16px 0 20px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-muted); }
.ah2 .foot-bottom .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
@media (max-width: 1120px) {
  .ah2 .top-in { gap: 24px; }
  .ah2 .nav { gap: 20px; }
  .ah2 .top-actions .quiet { display: none; }
  .ah2 .mosaic { grid-template-columns: minmax(0, 1fr) 300px; }
  .ah2 .mosaic > .lead { grid-column: 1; grid-row: 1; }
  .ah2 .mosaic > .feed { grid-column: 2; grid-row: 1 / span 2; }
  .ah2 .mosaic > .side { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
  .ah2 .cols { gap: 0 36px; grid-template-columns: minmax(0, 1fr) 290px; }
  .ah2 .river a { grid-template-columns: 200px 1fr; }
  .ah2 .band-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 0; }
  .ah2 .band-intro { grid-column: 1 / -1; }
  .ah2 .band-intro + .fig { border-left: 0; padding-left: 0; }
  .ah2 .grid3, .ah2 .grid-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah2 .grid-topics .rubric .first-item { grid-template-columns: 124px 1fr; }
}
@media (max-width: 960px) {
  .ah2 .nav { display: none; }
  .ah2 .burger { display: grid; }
  .ah2 .top-in { justify-content: space-between; }
}
@media (max-width: 820px) {
  .ah2 .mosaic, .ah2 .cols, .ah2 .feature { grid-template-columns: 1fr; }
  .ah2 .mosaic > .lead, .ah2 .mosaic > .feed, .ah2 .mosaic > .side { grid-column: 1; grid-row: auto; }
  .ah2 .mosaic > .lead { order: 1; }
  .ah2 .mosaic > .side { order: 2; }
  .ah2 .mosaic > .feed { order: 3; border-left: 0; padding-left: 0; margin-top: 34px; }
  .ah2 .aside { margin-top: 40px; }
  .ah2 .aside-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
  .ah2 .aside-home > :first-child { grid-row: span 2; }
  .ah2 .quad { margin-top: 30px; }
  .ah2 .vulns { grid-template-columns: 1fr; }
  .ah2 .foot-in { grid-template-columns: 1fr 1fr; }
  .ah2 .foot-in > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .ah2 { --head-h: 54px; }
  .ah2 .wrap { width: calc(100% - 36px); }
  .ah2 .top-in { gap: 12px; }
  .ah2 .top .btn { display: none; }
  .ah2 .sub .today { display: none; }
  .ah2 .ad-mark { top: 3px; right: 3px; padding: 2px 4px; font-size: 8.5px; }
  .ah2 .first { padding: 20px 0 30px; }
  .ah2 .lead h1 { font-size: 28px; }
  .ah2 .lead .dek { font-size: 16px; }
  .ah2 .mosaic > .side { grid-template-columns: 1fr; }
  .ah2 .side a { display: grid; grid-template-columns: 120px 1fr; gap: 0 14px; align-items: start; }
  .ah2 .side .kicker { margin-top: 0; }
  .ah2 .side h3 { font-size: 16px; }
  .ah2 .sec { padding: 30px 0 36px; }
  .ah2 .sec-head { flex-wrap: wrap; }
  .ah2 .river a { grid-template-columns: 112px 1fr; gap: 0 14px; padding: 16px 0; }
  .ah2 .river h3 { margin-top: 3px; font-size: 16.5px; }
  .ah2 .river .ex { display: none; }
  .ah2 .aside-home { grid-template-columns: 1fr; }
  .ah2 .band { padding: 34px 0 36px; }
  .ah2 .band-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah2 .band .fig:nth-of-type(even) { border-left: 0; padding-left: 0; }
  .ah2 .fig b { font-size: 30px; }
  .ah2 .big h3 { font-size: 23px; }
  .ah2 .quad { gap: 22px 16px; }
  .ah2 .quad h3 { font-size: 15px; }
  .ah2 .grid3, .ah2 .grid-topics { grid-template-columns: 1fr; gap: 30px; }
  .ah2 .foot-in { grid-template-columns: 1fr; gap: 30px; }
  .ah2 .foot-bottom .links { margin-left: 0; }
}
.ah2 .bars li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.ah2 .bars li:first-child { border-top: 0; }
.ah2 .bars b { color: var(--heading); }
.ah2 .bars i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: currentColor; margin-top: 6px; }
.ah2 .bars span { color: var(--text); }
.ah2 .bars li { color: var(--muted); }
@media (max-width: 620px) {
  .ah2 .burger { display: grid; }
  .ah2 .top .btn { display: none; }
}
.ah2 .cols > *, .ah2 .mosaic > *, .ah2 .feature > * { min-width: 0; }
.ah2 .tw-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--line); color: var(--heading); }
.ah2 .tw-icon svg { width: 20px; height: 20px; }
.ah2 [data-more-box] li:nth-child(n+4) { display: none; }
.ah2 [data-more-box].all li { display: block; }
.ah2 .mark { padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.ah2 .who > span { display: flex; flex-wrap: wrap; gap: 0 6px; min-width: 0; }
.ah2 .who b { white-space: nowrap; }
.ah2 .who i { font-style: normal; white-space: nowrap; }
.ah2 .who b::after { content: " ·"; color: var(--muted); }
@media (max-width: 620px) {
  .ah2 .who > span { display: grid; line-height: 1.3; }
  .ah2 .who b::after { content: none; }
}
.ah2 .grid-topics .rubric li a { grid-template-columns: 1fr; gap: 3px; }
@media (max-width: 1120px) {
  .ah2 .grid-topics .rubric li a { grid-template-columns: 1fr auto; gap: 16px; }
}
@media (max-width: 620px) {
  .ah2 .band-top { align-items: start; }
}
.ah2 .picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; }
.ah2 .pick { display: flex; flex-direction: column; }
.ah2 .pick .kicker { margin-top: 12px; }
.ah2 .pick h3 { margin-top: 5px; font-size: 17px; line-height: 1.28; font-weight: 600; letter-spacing: -0.012em; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1120px) {
  .ah2 .picks { gap: 30px 22px; }
  .ah2 .pick h3 { font-size: 16px; }
}
@media (max-width: 820px) {
  .ah2 .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ah2 .picks { gap: 26px 16px; }
  .ah2 .pick h3 { font-size: 15px; }
  .ah2 .who { font-size: 12px; }
}
.ah2 .promo-wrap { display: none; }
.ah2 .promo { display: none; position: relative; margin: 0 auto 34px; line-height: 0; }
.ah2 .promo img { width: 100%; height: auto; border-radius: 6px; }
.ah2 .promo .ad-mark { right: 6px; }
.ah2[data-home-ad="mid"] .promo-wrap { display: block; }
.ah2[data-brand="top"] .promo.b-top { display: block; }
@media (max-width: 620px) {
  .ah2 .promo { margin-bottom: 26px; }
}
.ah2 .ad-300 { aspect-ratio: 6 / 5; min-height: 0; }
.ah2 .ad-wide-wrap { margin-bottom: 46px; }
.ah2 .ad-wide { aspect-ratio: 1240 / 150; min-height: 0; }
@media (max-width: 820px) {
  .ah2 .ad-wide { aspect-ratio: auto; height: 100px; }
}
.ah2 .river .native .kicker { color: var(--muted); }
@media (max-width: 620px) {
  .ah2 .ad-wide-wrap { margin-bottom: 34px; }
}
.ah2 .tools-box { padding: 4px 20px 8px; }
.ah2 .tools-box .sec-head { align-items: center; margin: 16px 0 4px; }
.ah2 .tool-list li + li { border-top: 1px solid var(--line); }
.ah2 .tool-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 11px 0; }
.ah2 .tool-list .tw-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--soft); color: var(--heading); transition: background .15s; }
.ah2 .tool-list b { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; color: var(--heading); }
.ah2 .tool-list small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.ah2 .tool-list a::after { content: "→"; font-size: 14px; color: #b4b5ba; transition: color .15s, transform .15s; }
.ah2 .tool-list a:hover .tw-icon { background: var(--line); }
.ah2 .tool-list a:hover b { text-decoration: underline; text-underline-offset: 0.16em; }
.ah2 .tool-list a:hover::after { color: var(--heading); transform: translateX(2px); }
.ah2 .tool-list a.on .tw-icon { background: var(--accent); color: #fff; }
.ah2 .tool-list a.on b { color: var(--accent-strong); }
.ah2 .tool-list a.on::after { content: none; }
.ah2 .who b:last-child::after { content: none; }
@media (max-width: 620px) {
  .ah2 .rubric li:nth-child(n+3) { display: none; }
}
.ah2 [data-fold]:not(.open) .fold-x { display: none; }
.ah2 .fold-btn { margin-top: 30px; }
.ah2 .fold-btn.m-only { display: none; }
@media (max-width: 620px) {
  .ah2 [data-fold]:not(.open) .fold-m { display: none; }
  .ah2 .fold-btn { margin-top: 24px; }
  .ah2 .fold-btn.m-only { display: inline-flex; }
}
.ah2 { --meta: #55565b; }
.ah2 .by, .ah2 .kicker, .ah2 .feed time, .ah2 .rubric .first-item time, .ah2 .rubric li time { color: var(--meta); }
.ah2 .by { font-size: 13.5px; }
.ah2 .quad .by, .ah2 .feed time, .ah2 .rubric .first-item time, .ah2 .rubric li time { font-size: 13px; }
.ah2 .sub { position: relative; }
.ah2 .sub.more::after { content: "›"; position: absolute; top: 0; right: 0; bottom: 1px; width: 58px; padding: 0 14px 2px 0; display: flex; align-items: center; justify-content: flex-end; font-size: 21px; line-height: 1; color: var(--heading); background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg) 52%); pointer-events: none; }
.ah2 { --dark-sev-med: #c9b548; --dark-sev-low: #6db27c; }
.ah2 .band .vulns a { grid-template-columns: 82px 1fr auto; }
.ah2 .band .vulns .lv { font-size: 12px; line-height: 1.4; font-weight: 600; }
.ah2 .band .vulns .score, .ah2 .band .vulns .lv { color: var(--dark-muted); }
.ah2 .band .vulns .lv-critical .score, .ah2 .band .vulns .lv-critical .lv { color: var(--dark-sev-crit); }
.ah2 .band .vulns .lv-high .score, .ah2 .band .vulns .lv-high .lv { color: var(--dark-sev-high); }
.ah2 .band .vulns .lv-medium .score, .ah2 .band .vulns .lv-medium .lv { color: var(--dark-sev-med); }
.ah2 .band .vulns .lv-low .score, .ah2 .band .vulns .lv-low .lv { color: var(--dark-sev-low); }
.ah2 .band-intro p { max-width: 34em; }
.ah2 .band-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.ah2 .band-foot .q { font-size: 14px; color: var(--dark-text); text-decoration: underline; text-decoration-color: #55565b; text-underline-offset: 0.2em; }
.ah2 .band-foot .q:hover { color: #fff; text-decoration-color: currentColor; }
.ah2 .river .native, .ah2 .river .native + li { border-top: 0; }
.ah2 .river .native { padding: 4px 0 8px; }
.ah2 .river .native a { padding: 16px; border-radius: 8px; background: var(--soft); }
.ah2 .river .native .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--meta); }
.ah2 .river .native .mark { background: var(--bg); border-color: #d6d6da; color: var(--text); }
@media (max-width: 620px) {
  .ah2 .river .native a { padding: 12px; }
}
.ah2 .promo { max-width: 920px; }
@media (min-width: 621px) and (max-width: 820px) {
  .ah2 .aside-home > :first-child { grid-row: auto; }
  .ah2 .aside-home > .ad-300 { grid-column: 2; grid-row: 2; }
  .ah2 .aside-home > .box:not(.tools-box) { grid-column: 1; grid-row: 2; align-self: start; }
}
@media (max-width: 1120px) {
  .ah2 .band-top { align-items: start; }
}
@media (max-width: 620px) {
  .ah2 .river a { grid-template-columns: 128px 1fr; }
}
.ah2 .river .native { padding: 4px 0; }
.ah2 .river .native a { margin: 0 -12px; padding: 16px 12px; }
@media (max-width: 620px) {
  .ah2 .river .native a { margin: 0 -8px; padding: 12px 8px; }
}
.ah2 .river-partner { margin-top: 30px; }
.ah2 .river.river-partner .native { padding: 0; }
.ah2 .river.river-partner li.native a { padding: 16px 12px; }
@media (max-width: 620px) {
  .ah2 .river-partner { margin-top: 24px; }
  .ah2 .river.river-partner li.native a { padding: 12px 8px; }
}
/* место новых частей среди старых: шапка выше всего остального, подвал выше боковых баннеров кампании */
.ah2 .top { z-index: 60; }
.ah2 .foot { position: relative; z-index: 20; }
.ah2 .foot-msg { margin-top: 8px; font-size: 13.5px; }
/* полоса рубрик на страницах со старым оформлением: колонка уже листа новой главной, поля у неё свои */
.ah2-inner .sub .wrap { width: 100%; }
.ah2-inner .sub .today { display: none; }

/* на новой главной прежний шрифт сайта не грузится: плашка cookie и окно подписки берут шрифт новой главной */
#cookie-consent-banner, #nl-popup-overlay { font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* баннеры главной из админки (позиции «Главная: …»): высоту задаёт сама картинка */
.ah2 .adslot, .ah2 .adslot.ad-300, .ah2 .adslot.ad-wide, .ah2 .adslot-text.ad-300, .ah2 .adslot-text.ad-wide { aspect-ratio: auto; height: auto; min-height: 0; }
.ah2 .adslot { position: relative; display: block; line-height: 0; border-radius: 6px; overflow: hidden; }
.ah2 .adslot img { width: 100%; height: auto; }
.ah2 .adslot .ad-mark { right: 6px; }
.ah2 .adslot-text .ad-label { margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--meta); }
.ah2 .adslot-text .btn { margin-top: 14px; }
@media (max-width: 620px) { .ah2 .hide-m { display: none; } }
