@font-face{font-family:'Golos Text';font-weight:400;font-display:swap;src:url(/assets/golos-text-cyrillic-400-normal-C7us6pn1.woff2) format('woff2')}
@font-face{font-family:'Golos Text';font-weight:500;font-display:swap;src:url(/assets/golos-text-cyrillic-500-normal-BSLQUuP1.woff2) format('woff2')}
@font-face{font-family:'Golos Text';font-weight:600;font-display:swap;src:url(/assets/golos-text-cyrillic-600-normal-lpQ9rVRR.woff2) format('woff2')}
@font-face{font-family:'PT Serif';font-weight:400;font-display:swap;src:url(/assets/pt-serif-cyrillic-400-normal-B-euljER.woff2) format('woff2')}
@font-face{font-family:'PT Serif';font-weight:700;font-display:swap;src:url(/assets/pt-serif-cyrillic-700-normal-DvVvs_4R.woff2) format('woff2')}
/* Блог pravo-otvet.ru — те же цвета и шрифты, что у главной (site/src/index.css), светлый и с фото по темам */
:root {
  --ink: #152a43; --ink-soft: #284762; --night: #0f2133; --brass: #8c744b; --brass-light: #c9ab74; --brass-pale: #f6efe2;
  --paper: #f3f6f8; --sky: #e6eff6; --line: #d8dfe6; --muted: #526171; --white: #ffffff; --radius: 10px;
  --tg: #229ed9; --max: #6a4cff;
  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 18px 40px -22px rgba(21, 42, 67, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px;
  line-height: 1.65; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; flex-shrink: 0; vertical-align: -3px; }

/* шапка */
.top { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--brass-light); flex-shrink: 0; }
.brand-mark .ico { width: 22px; height: 22px; }
.brand-name { display: block; white-space: nowrap; font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.brand-cap { display: block; font-size: 12px; color: var(--muted); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px;
  border-radius: 8px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
  line-height: 1.25; transition: transform .15s, background-color .15s; }
.btn:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-tg { background: var(--tg); } .btn-tg:hover { background: #1b8cc1; }
.btn-max { background: var(--max); } .btn-max:hover { background: #5739e6; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--paper); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 !important; }

/* первый экран */
.hero { background: radial-gradient(120% 140% at 100% 0%, var(--sky) 0%, var(--paper) 45%, var(--brass-pale) 100%);
  border-bottom: 1px solid var(--line); }
.hero-index { padding-block: 44px 40px; }
.hero-article { padding-block: 22px 36px; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--brass); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--brass); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(32px, 5.4vw, 52px); margin: 10px 0 14px; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 40em; margin: 0 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.facts li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 8px;
  padding: 8px 14px; font-size: 15px; color: var(--muted); }
.facts b { color: var(--ink); font-size: 17px; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--sky); }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.meta { font-size: 14px; color: var(--muted); margin: 0; }
.meta .ico { margin-right: 4px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--brass); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.badge-inline { margin-top: 14px; }

/* список статей */
.list { padding-block: 28px 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips button { font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.chips button span { color: var(--muted); margin-left: 2px; }
.chips button:hover { border-color: var(--brass); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips button[aria-pressed="true"] span { color: var(--brass-light); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.card[hidden] { display: none; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brass-light); }
.card-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.card-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card a:hover .card-photo { transform: scale(1.04); }
.card-img .badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.card-text { font-size: 15px; color: var(--muted); flex: 1; }
.card-more { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.card-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--brass); font-weight: 600; }

/* статья */
.layout { display: grid; gap: 32px; padding-block: 32px 48px; }
.prose { max-width: 720px; min-width: 0; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { position: relative; font-size: clamp(24px, 3.4vw, 30px); margin: 40px 0 12px; padding-left: 16px; }
.prose h2::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--brass); }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--brass-pale) 62%); }
.prose a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass-light); box-shadow: 0 0 0 3px var(--brass-pale); }
.prose ol { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.prose ol li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; }
.prose ol li::before { content: counter(step); position: absolute; left: 14px; top: 12px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; }
.note { position: relative; background: var(--brass-pale); border: 1px solid #ead9b8; border-radius: 12px;
  padding: 16px 18px 16px 54px; }
.note::before { content: '!'; position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brass); color: var(--white); font-weight: 700; font-size: 15px; line-height: 1; }

.cta { margin: 40px 0; padding: 26px; border-radius: 16px; color: var(--white);
  background: radial-gradient(120% 140% at 100% 0%, #2c5274 0%, var(--ink) 55%, var(--night) 100%); box-shadow: var(--shadow); }
.cta-kicker { display: inline-block; margin: 0 0 10px !important; padding: 4px 12px; border-radius: 999px; background: var(--brass-light);
  color: var(--night); font-size: 13px; font-weight: 600; }
.cta-title { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; margin: 0 0 8px; }
.cta p:not(.cta-title):not(.cta-kicker) { color: #d6dee7; margin: 0; }
.cta .btn-line { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.cta .btn-line:hover { background: rgba(255,255,255,.1); }

.sources { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.sources h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0 0 12px; padding: 0; }
.sources h2::before { display: none; }
.sources h2 .ico { width: 24px; height: 24px; color: var(--brass); }
.sources li { font-size: 15px; }
.small { font-size: 14px; color: var(--muted); margin: 8px 0 0 !important; }

.side { display: none; }
.side-box { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brass);
  border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.side-box .side-title { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.side-box p { margin: 0; color: var(--muted); font-size: 15px; }
.side-box .cta-btns { flex-direction: column; }
.side-box .btn { width: 100%; }

.more { background: var(--paper); border-top: 1px solid var(--line); padding-block: 36px 48px; }
.more h2 { font-size: 28px; margin: 0 0 18px; }

.foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0 0 8px; }
.foot-name { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.foot-links a { text-decoration: underline; }

@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; }
  .side { display: block; }
}
@media (max-width: 560px) {
  .hide-sm, .brand-cap { display: none; }
  .top nav { gap: 12px; }
  .top .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .cta { padding: 22px 18px; }
  .cta-btns .btn { flex: 1 1 100%; }
  .prose ol li { padding-left: 54px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (max-width: 420px) { .hide-xs { display: none; } }
