/* 420n.cz demo fonts — inlined subsets (latin + cyrillic) */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/golos-text-400-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;
  font-display: swap;
  src: url(/assets/fonts/golos-text-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-600-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: 600;
  font-display: swap;
  src: url(/assets/fonts/golos-text-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/golos-text-700-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: 700;
  font-display: swap;
  src: url(/assets/fonts/golos-text-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/unbounded-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/unbounded-800-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{
  --frame:#0F1B37; /* тёмная боковина за гранями сайта («сундук») */
  --bg:#FDF8F1; --bg-alt:#F7F0E5; --surface:#fff; --sunken:#F5EEE3;
  --text:#3C3325; --strong:#241B12; --muted:#6E604C; --subtle:#9A8975;
  --brand:#F5811E; --brand-hover:#E06E12; --brand-soft:#FFF3E6; --brand-line:#F6C9A0; --brand-ink:#B9560D;
  --navy:#16264A; --gold:#F7B500;
  --border:#E7DBC9; --divider:#EFE6D6; --on-gold:#4A3500;
  --shadow-sm:0 2px 6px rgba(22,38,74,.08); --shadow-md:0 10px 24px rgba(22,38,74,.12);
  --shadow-lg:0 22px 50px rgba(22,38,74,.16);
  --ring:0 0 0 3px rgba(245,129,30,.45);
  --sans:"Golos Text",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --display:"Unbounded","Golos Text",sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
*{box-sizing:border-box}
/* сброс отступов браузера: убирает белые полоски по краям и заливает углы цветом рамки */
html,body{margin:0;padding:0;background:var(--frame)}
.pg{background:var(--frame);color:var(--text);font-family:var(--sans);line-height:1.5;
  min-height:100vh;-webkit-font-smoothing:antialiased;padding:22px;
  background-image:radial-gradient(120% 60% at 50% -10%, rgba(245,129,30,.10), transparent 60%)}
.pg a{color:inherit;text-decoration:none}
:where(a,button):focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* центральная колонка сайта — «поле» со скруглёнными углами и гранями на тёмном фоне */
.sheet{max-width:1200px;margin:0 auto;min-height:calc(100vh - 44px);background:var(--bg);
  padding-bottom:72px;border-radius:26px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(10,18,38,.6), 0 0 60px rgba(0,0,0,.42);position:relative}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
@media (max-width:640px){.pg{padding:10px}.sheet{border-radius:18px}}

/* header */
.hd{background:var(--surface);border-bottom:1px solid var(--border)}
.hd-in{max-width:1120px;margin:0 auto;padding:11px 20px;display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap}
.brand{order:1;flex:none}
.hd .hd-phone{order:2;margin-left:auto}
.hd .lang{order:3}
.hd .tabs{order:4;flex-basis:100%}
@media (min-width:880px){.hd .tabs{order:2;flex:1 1 auto;flex-basis:auto;justify-content:center}.hd .hd-phone{order:3;margin-left:0}.hd .lang{order:4}}
.brand{display:flex;align-items:center;gap:11px}
.logo{width:36px;height:36px;border-radius:10px;object-fit:cover;box-shadow:var(--shadow-sm);flex:none}
.brand-tx{display:flex;flex-direction:column;line-height:1.1}
.mark{font-family:var(--display);font-weight:800;font-size:19px;color:var(--strong);letter-spacing:-.02em}
.mark b{color:var(--brand)}
.tagline{font-size:12px;color:var(--muted);margin-top:2px}
.tagline .accent{color:var(--brand);font-weight:700}
.hd-sp{flex:1}
.hd-phone{display:inline-flex;align-items:center;gap:8px;font:700 14px var(--sans);color:var(--navy);
  padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);
  transition:border-color .18s,color .18s,background .18s}
.hd-phone:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.hd-phone svg{width:16px;height:16px;color:var(--brand);flex:none}
@media (max-width:560px){.hd-phone span{display:none}.hd-phone{padding:9px}}
.lang{position:relative}
.lang-toggle{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--surface);
  font:700 13px var(--sans);color:var(--navy);padding:8px 11px;border-radius:999px;cursor:pointer}
.lang-toggle .lang-caret{width:13px;height:13px;color:var(--subtle);transition:transform .18s}
.lang.open .lang-toggle{border-color:var(--brand)}
.lang.open .lang-caret{transform:rotate(180deg)}
.lang-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:112px;display:none;
  flex-direction:column;gap:2px;padding:5px;background:var(--surface);border:1px solid var(--border);
  border-radius:12px;box-shadow:var(--shadow-md)}
.lang.open .lang-menu{display:flex}
.lang-menu button{border:0;background:transparent;text-align:left;font:600 13px var(--sans);color:var(--text);
  padding:8px 10px;border-radius:8px;cursor:pointer}
.lang-menu button:hover{background:var(--sunken)}
.lang-menu button[aria-pressed="true"]{color:var(--brand);background:var(--brand-soft)}

/* hero */
.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center;
  padding:46px 0 34px;border-bottom:1px solid var(--divider)}
.hero h1{font-family:var(--display);font-weight:800;color:var(--strong);
  font-size:clamp(27px,3.6vw,42px);line-height:1.1;letter-spacing:-.02em;margin:0;text-wrap:balance}
.hero .accent{color:var(--brand)}
.hero .lead{margin:16px 0 0;font-size:16px;color:var(--muted);max-width:44ch}
.hero .stat{margin-top:20px;display:flex;flex-wrap:wrap;gap:8px}
.stat-chip{display:inline-flex;align-items:center;gap:6px;font:600 13px var(--sans);color:var(--muted);
  background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:7px 13px;box-shadow:var(--shadow-sm)}
.stat-chip b{font-family:var(--display);font-weight:700;font-size:13px;color:var(--brand);letter-spacing:-.01em}
.banner{border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg);border:1px solid var(--border);
  background:var(--navy);aspect-ratio:1/1;width:46%;margin-inline:auto} /* высота белки подогнана под высоту текста */
.banner img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:760px){.hero{grid-template-columns:1fr;gap:0;padding:34px 0 28px}.banner{display:none}} /* на мобильной белку убираем */
@media (max-width:480px){.wrap{padding:0 15px}.hero{padding:26px 0 22px}.join{padding:24px 20px}.tabs{padding:18px 0 22px}}

/* tabs */
.tabs{display:flex;gap:6px;flex-wrap:wrap;padding:0}
.tab{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);
  color:var(--text);font:600 14px var(--sans);padding:9px 15px;border-radius:999px;cursor:pointer}
.tab[aria-pressed="true"]{background:var(--navy);color:var(--surface);border-color:var(--navy)}
.tab .n{font-family:var(--mono);font-size:12px;opacity:.7}
/* вкладка-действие «Хочу к вам на сайт» — выделена по палитре (оранжевый CTA) */
.tab--cta{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand-ink);font-weight:700}
.tab--cta:hover{background:#FFE7CE;border-color:var(--brand)}
.tab--cta[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 6px 16px rgba(245,129,30,.30)}
.tab--cta .tico{display:inline-flex}
.tab--cta .tico svg{width:14px;height:14px}

/* group heading */
.grp{display:flex;align-items:center;gap:11px;margin:10px 0 18px}
.grp:not(:first-child){margin-top:40px}
.grp::before{content:"";width:4px;height:19px;border-radius:2px;background:var(--brand);flex:none} /* акцент-ярлык раздела */
.grp h2{font-size:19px;font-weight:700;color:var(--strong);margin:0;white-space:nowrap;letter-spacing:-.01em}
.grp .n{font-family:var(--mono);font-size:11px;font-weight:600;color:var(--muted);background:var(--sunken);border-radius:999px;padding:2px 8px}
.grp .rule{flex:1;height:1px;background:linear-gradient(90deg,var(--divider),transparent)}

/* grid + cards */
/* карточки уменьшены на 20%: минимальная ширина 300→240px, отступ 20→16px */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;
  transition:transform .18s cubic-bezier(.2,0,0,1),box-shadow .18s cubic-bezier(.2,0,0,1),border-color .18s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--brand-line)}
.card:focus-visible{outline:none;box-shadow:var(--ring)}
/* превью 16:9 — показывает верх сайта (шапку и первый экран), а не всю страницу */
.thumb{position:relative;aspect-ratio:16/9;background:var(--sunken);border-bottom:3px solid var(--tc)}
.thumb img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
/* Telegram — квадратный аватар; Instagram — широкое превью профиля 2:1 (у сайтов 16:9) */
.card--telegram .thumb{aspect-ratio:1/1}
.card--instagram .thumb{aspect-ratio:2/1}
.card--telegram .thumb img,.card--instagram .thumb img{object-position:center}
.badge-rec{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;gap:5px;
  background:var(--gold);color:var(--on-gold);font:700 11px var(--sans);letter-spacing:.02em;
  padding:5px 10px;border-radius:999px;box-shadow:var(--shadow-sm)}
.badge-rec svg{width:12px;height:12px}
.body{padding:16px 17px 17px;display:flex;flex-direction:column;gap:8px;flex:1}
/* фиксируем высоту заголовка (2 строки) — чтобы все карточки были одного размера */
.card h3{margin:0;font-size:17px;font-weight:600;color:var(--strong);line-height:1.25;transition:color .18s;
  min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card:hover h3{color:var(--brand)}
.url{font-family:var(--mono);font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:6px}
.dot{width:8px;height:8px;border-radius:50%;background:var(--tc);flex:none}
/* фиксируем высоту описания (3 строки) — карточки выравниваются по высоте */
.desc{margin:0;font-size:13.5px;color:var(--text);opacity:.92;line-height:1.5;min-height:4.5em;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* нижняя строка карточки — кнопка «Перейти» на всю ширину (языки RU/UA убраны) */
.meta{margin-top:auto;padding-top:12px;display:block}
.go{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;
  padding:10px 12px;border-radius:11px;font-size:13.5px;font-weight:700;
  background:var(--brand-soft);color:var(--brand-ink);border:1px solid var(--brand-line);
  transition:background .18s,color .18s,border-color .18s}
.card:hover .go{background:var(--brand);color:#fff;border-color:var(--brand)}

/* handle cards */
.card--h .chip{aspect-ratio:auto;height:120px;display:flex;align-items:center;justify-content:center;
  background:var(--tc-soft);border-bottom:3px solid var(--tc)}
.card--h .chip svg{width:52px;height:52px;color:var(--tc)}

/* join page */
.join{max-width:720px;margin:6px auto 0;background:var(--surface);border:1px solid var(--border);
  border-radius:22px;box-shadow:var(--shadow-sm);padding:34px;border-top:4px solid var(--gold)}
.join h2{font-family:var(--display);font-weight:800;color:var(--strong);font-size:26px;margin:0 0 12px;letter-spacing:-.02em}
.join p{margin:0 0 22px;font-size:16px;color:var(--text);max-width:52ch}
.contacts{display:grid;gap:12px;margin-bottom:24px}
.crow{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--strong)}
.crow svg{width:20px;height:20px;color:var(--brand);flex:none}
.crow .mono{font-family:var(--mono);font-size:14px}
.crow small{color:var(--muted);font-size:13px}
.cta{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:14px;
  font:600 15px var(--sans);cursor:pointer;border:1px solid transparent}
.btn svg{width:18px;height:18px}
.btn--p{background:var(--brand);color:#fff}
.btn--p:hover{background:var(--brand-hover)}
.btn--s{background:var(--surface);color:var(--navy);border-color:var(--border)}
.btn--s:hover{border-color:var(--navy)}

/* подвал с картой сайта */
.foot{margin-top:48px;border-top:1px solid var(--divider)}
.foot .accent{color:var(--brand);font-weight:600}
.foot-map{display:grid;grid-template-columns:1.4fr .9fr 1.15fr 1.25fr 1.15fr;gap:24px;padding:28px 0 26px}
.foot-col h4{margin:0 0 11px;font:700 11px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--subtle)}
.foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.foot-col a{color:var(--text);font-size:13.5px;transition:color .15s}
.foot-col a:hover{color:var(--brand)}
.foot-col li{color:var(--muted);font-size:13.5px;line-height:1.35}
.foot-brand .mark{font-family:var(--display);font-weight:800;font-size:18px;color:var(--strong);letter-spacing:-.02em}
.foot-brand .mark b{color:var(--brand)}
.foot-brand p{margin:9px 0 0;font-size:13px;color:var(--muted);max-width:24ch}
.foot-contacts a{font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.foot-contacts a:hover{color:var(--brand)}
.foot-legal{border-top:1px solid var(--divider);padding:16px 0;color:var(--subtle);font-size:12.5px;text-align:center}
@media (max-width:1000px){.foot-map{grid-template-columns:1.4fr 1fr 1fr}}
@media (max-width:640px){.foot-map{grid-template-columns:1fr 1fr;gap:22px 20px}}
@media (max-width:380px){.foot-map{grid-template-columns:1fr}}
#main{padding-top:12px;min-width:0}
/* Размещение виджета «последние посты» (.main-layout/.lp-rail) вынесено в
   /widget/widget.css — грузится свежим вместе с виджетом (не зависит от кэша). */
@media (prefers-reduced-motion:reduce){.card{transition:none}}

/* ── Баннер новостей 24N.cz (крупный, карточки с фото, под шапкой) ─────── */
.nt{display:flex;align-items:stretch;background:linear-gradient(120deg,#0F1B37 0%,#16264A 55%,#1B2F5C 100%);
  color:#fff;overflow:hidden;border-bottom:3px solid var(--brand);box-shadow:var(--shadow-md)}
.nt-brand{flex:0 0 auto;display:flex;flex-direction:column;justify-content:center;gap:6px;
  padding:22px 36px 22px 34px;text-decoration:none;color:#fff;position:relative;z-index:2;
  background:rgba(8,15,34,.55);border-right:1px solid rgba(255,255,255,.09)}
.nt-brand b{font:800 34px/1 var(--display,Unbounded,var(--sans));letter-spacing:.02em}
.nt-brand b i{font-style:normal;color:var(--brand)}
.nt-brand span{font-size:13px;opacity:.78;text-transform:uppercase;letter-spacing:.13em;white-space:nowrap}
.nt-brand em{font-style:normal;margin-top:9px;font-size:15px;font-weight:700;color:#fff;
  background:var(--brand);border-radius:999px;padding:8px 18px;white-space:nowrap;align-self:flex-start;
  transition:background .15s ease}
.nt-brand:hover em{background:var(--brand-hover)}
.nt-viewport{flex:1 1 auto;overflow:hidden;display:flex;align-items:center;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 30px,#000 calc(100% - 30px),transparent);
  mask-image:linear-gradient(90deg,transparent,#000 30px,#000 calc(100% - 30px),transparent)}
/* Перемотка идёт НЕПРЕРЫВНО всегда: анимацию не отключаем даже при системном
   «уменьшении движения» (владелец требует живую ленту); пауза — при наведении. */
.nt-move{display:inline-flex;align-items:stretch;gap:16px;white-space:normal;
  padding:16px 0 16px 24px;animation:nt-scroll 90s linear infinite;will-change:transform}
.nt:hover .nt-move{animation-play-state:paused}
.nt-card{flex:0 0 auto;display:flex;align-items:center;gap:16px;width:520px;
  padding:12px 20px 12px 12px;border-radius:18px;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);color:#EEF2FB;text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease}
.nt-card:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);transform:translateY(-1px)}
.nt-thumb{flex:0 0 150px;height:100px;border-radius:12px;overflow:hidden;background:#0B1530;
  display:flex;align-items:center;justify-content:center}
.nt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.nt-thumb-ph{color:var(--brand);font:800 22px/1 var(--display,Unbounded,var(--sans));letter-spacing:.04em}
.nt-t{flex:1 1 auto;min-width:0;font-size:17px;line-height:1.4;font-weight:600;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@keyframes nt-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 8px))}}
@media (max-width:640px){
  .nt-brand{padding:14px 18px}
  .nt-brand b{font-size:22px}
  .nt-brand em{display:none}
  .nt-card{width:330px;gap:12px;border-radius:14px}
  .nt-thumb{flex-basis:100px;height:70px}
  .nt-t{font-size:14px}
}
/* Лента 24N стоит НИЖЕ каталога (партнёрский, то есть чужой контент, не должен
   занимать первый экран) — поэтому у неё грань и сверху, и снизу. */
.nt--mid{margin:44px 0;border-top:3px solid var(--brand)}

/* ── Смысловые блоки главной: интро, критерии отбора, FAQ ──────────────── */
.sect{padding:38px 0 0}
.sect h2{font-family:var(--display);font-weight:800;color:var(--strong);letter-spacing:-.02em;
  font-size:clamp(21px,2.4vw,27px);line-height:1.2;margin:0 0 14px}
.sect p{margin:0 0 14px;font-size:16px;line-height:1.65;color:var(--text);max-width:74ch}
.sect a{color:var(--brand-ink);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.sect a:hover{color:var(--brand)}
.sect .grp h2{margin:0}
.sect .grp{margin-bottom:16px}
.sect-lead{color:var(--muted)}
/* интро идёт сразу под hero — отделяем его от каталога линией */
.sect--intro{padding:30px 0 32px;border-bottom:1px solid var(--divider)}
.sect--intro h2{font-size:clamp(20px,2.2vw,24px)}

/* критерии отбора — нумерованный список в две колонки */
.crit{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:700px){.crit{grid-template-columns:1fr 1fr}} /* 4 пункта — ровно 2×2, без сироты в ряду */
.crit-item{display:flex;gap:14px;background:var(--surface);border:1px solid var(--border);
  border-radius:16px;padding:18px 19px;box-shadow:var(--shadow-sm)}
.crit-n{flex:none;width:28px;height:28px;border-radius:9px;background:var(--brand-soft);
  border:1px solid var(--brand-line);color:var(--brand-ink);
  font:800 14px var(--display),var(--sans);display:flex;align-items:center;justify-content:center}
.crit-item h3{margin:2px 0 6px;font-size:16px;font-weight:700;color:var(--strong);line-height:1.3}
.crit-item p{margin:0;font-size:14.5px;line-height:1.55;color:var(--text);opacity:.92}

/* FAQ — открытым текстом, без аккордеона: ответы должны читаться сразу */
.faq{display:grid;gap:2px}
.faq-item{padding:18px 0;border-bottom:1px solid var(--divider)}
.faq-item:first-child{padding-top:4px}
.faq-item h3{margin:0 0 7px;font-size:17px;font-weight:700;color:var(--strong);line-height:1.35}
.faq-item p{margin:0;font-size:15.5px;line-height:1.6;color:var(--text);max-width:80ch}

/* ── Текстовые страницы (/about/, /privacy/, /terms/, статьи) ──────────── */
.page{max-width:820px;margin:0 auto;padding-top:26px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;color:var(--subtle);margin-bottom:16px}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--brand)}
.crumbs-sep{color:var(--border)}
.pagehead{padding-bottom:20px;border-bottom:1px solid var(--divider);margin-bottom:26px}
.pagehead h1{font-family:var(--display);font-weight:800;color:var(--strong);letter-spacing:-.02em;
  font-size:clamp(26px,3.4vw,38px);line-height:1.12;margin:0;text-wrap:balance}
.pagehead .lead{margin:14px 0 0;font-size:17px;line-height:1.6;color:var(--muted);max-width:60ch}
.prose-upd{margin:14px 0 0;font-size:13px;color:var(--subtle)}

.prose{font-size:16.5px;line-height:1.7;color:var(--text)}
.prose h2{font-family:var(--display);font-weight:800;color:var(--strong);letter-spacing:-.01em;
  font-size:clamp(19px,2.2vw,23px);line-height:1.25;margin:34px 0 12px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:17px;font-weight:700;color:var(--strong);margin:26px 0 8px}
.prose p{margin:0 0 15px}
.prose ul,.prose ol{margin:0 0 18px;padding-left:22px;display:flex;flex-direction:column;gap:9px}
.prose li{line-height:1.6}
.prose a{color:var(--brand-ink);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.prose a:hover{color:var(--brand)}
.prose b{color:var(--strong);font-weight:700}
.prose code{font-family:var(--mono);font-size:.88em;background:var(--sunken);
  border:1px solid var(--divider);border-radius:6px;padding:1px 5px}
.prose-note{background:var(--brand-soft);border:1px solid var(--brand-line);border-left-width:4px;
  border-radius:12px;padding:14px 16px;margin:0 0 18px;font-size:15.5px;line-height:1.6}

/* ── Карточки статей (главная и /blog/) ───────────────────────────────── */
.grp-more{margin-left:auto;flex:none;font-size:13.5px;font-weight:700;color:var(--brand-ink);white-space:nowrap}
.grp-more:hover{color:var(--brand)}
.arts{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.arts--list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.art-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);
  border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm);
  transition:transform .18s cubic-bezier(.2,0,0,1),box-shadow .18s,border-color .18s}
.art-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--brand-line)}
.art-thumb{aspect-ratio:16/9;background:var(--sunken);border-bottom:3px solid var(--brand)}
.art-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.art-body{padding:16px 17px 18px;display:flex;flex-direction:column;gap:7px}
.art-body time{font-family:var(--mono);font-size:12px;color:var(--subtle)}
.art-body h3{margin:0;font-size:17px;font-weight:600;color:var(--strong);line-height:1.3;transition:color .18s}
.art-card:hover h3{color:var(--brand)}
.art-body p{margin:0;font-size:14px;line-height:1.5;color:var(--text);opacity:.9}

@media (max-width:480px){.sect{padding-top:30px}.page{padding-top:18px}.nt--mid{margin:32px 0}}
