/* Общие стили открытых страниц (главная, SEO-страницы и статьи) */
html { scrollbar-gutter: stable; } /* место под полосу прокрутки всегда занято — шапка не прыгает между страницами */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.logo b { color: var(--accent); }
.top nav { display: flex; gap: 14px; align-items: center; }
.top nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.top nav a:hover { color: var(--text); }
.top nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.btn-link { display: inline-block; text-decoration: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14.5px; }
.btn-link--primary { background: var(--accent); color: #1a1200 !important; }
.btn-link { transition: filter .15s, border-color .15s, background .15s; }
.btn-link--primary:hover { background: #FF8236; color: #fff !important; }
.btn-link--ghost { border: 1px solid var(--line) !important; color: var(--text) !important; padding: 9px 18px !important; }
.btn-link--ghost:hover { border-color: var(--accent) !important; background: var(--panel); }
.crumbs { font-size: 13px; color: var(--text-muted); margin: 8px 0 18px; }
.crumbs a { color: var(--text-muted); }
article { max-width: 760px; padding-bottom: 40px; }
article h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin-bottom: 16px; }
article h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 34px 0 12px; }
article p, article li { font-size: 16px; line-height: 1.65; color: #D6D8DC; }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }
article a { color: var(--accent); }
article .lead { font-size: 18px; color: var(--text-muted); }
article code { font-size: 0.95em; }
.cta-box { background: var(--panel); border: 1px solid var(--accent); border-radius: 12px; padding: 22px; margin: 30px 0; }
.cta-box p { margin: 0 0 14px; }
.cmp { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.cmp th { background: var(--panel-raised); }
.table-wrap { overflow-x: auto; }
.related { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--text-muted); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--text-muted); }
@media (max-width: 820px) { .top nav a.hide-m { display: none; } }
/* Номера и коды в тексте — оранжевым, как акцент страницы (тёмная подложка из shared.css на тёмном фоне не видна) */
main code { color: var(--accent); background: rgba(255, 106, 26, 0.12); border-radius: 4px; padding: 0.1em 0.35em; white-space: nowrap; }
