/* Статьи блога: спокойная читаемая колонка, тёплые блоки, кот живёт на карточках. */
.a-wrap { max-width: 760px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 32px) 40px; }
.a-crumbs { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.a-crumbs a { color: var(--muted); text-decoration: none; }
.a-crumbs a:hover { color: var(--accent); }
.a-body h1 { font: 700 clamp(38px, 6vw, 56px)/1.04 Caveat, cursive; margin: 6px 0 10px; }
.a-meta { color: var(--muted); font-weight: 700; font-size: 14px; margin: 0 0 22px; }
.a-body { font-size: 17.5px; line-height: 1.7; }
.a-body p, .a-body li { font-weight: 550; }
.a-body p { margin: 0 0 16px; }
.a-body h2 { font-size: clamp(23px, 3.2vw, 28px); font-weight: 900; line-height: 1.25; margin: 44px 0 12px; scroll-margin-top: 80px; }
.a-body h3 { font-size: 19px; font-weight: 900; margin: 28px 0 8px; }
.a-body ul, .a-body ol { padding-left: 22px; margin: 0 0 18px; }
.a-body li { margin: 6px 0; }
.a-body a { color: var(--accent); font-weight: 750; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.a-body strong, .a-body b { font-weight: 850; }
.a-lead { font-size: 19.5px; line-height: 1.6; color: var(--ink); font-weight: 650 !important; }
.a-toc { margin: 0 0 30px; padding: 18px 22px; }
.a-toc b { display: block; margin-bottom: 6px; }
.a-toc ol { margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.5; }
.a-toc a { color: var(--ink); font-weight: 700; text-decoration: none; }
.a-toc a:hover { color: var(--accent); }
.a-tip, .a-example { background: var(--card); border-radius: 18px; padding: 16px 20px; margin: 22px 0; box-shadow: 0 8px 22px rgba(var(--shadow), .07); border-left: 5px solid var(--good); }
.a-tip.warn { border-left-color: #d98b4f; }
.a-example { border-left-color: var(--accent2); }
.a-tip > b, .a-example > b { display: block; margin-bottom: 4px; }
.a-tip p:last-child, .a-example p:last-child { margin-bottom: 0; }
.a-tpl { position: relative; background: #fffdf8; border: 2px dashed var(--line); border-radius: 18px; padding: 34px 18px 14px; margin: 16px 0; }
.a-tpl::before { content: attr(data-label); position: absolute; top: 10px; left: 18px; font-size: 13px; font-weight: 850; color: var(--muted); text-transform: none; }
.a-tpl p { margin: 0 0 8px; font-weight: 600; white-space: pre-line; }
.a-copy { position: absolute; top: 8px; right: 10px; border: 0; background: var(--soft); color: var(--accent); font: 800 13px Nunito, sans-serif; padding: 6px 12px; border-radius: 10px; cursor: pointer; }
.a-copy:hover { background: var(--accent); color: #fff; }
.a-copy.ok { background: var(--good); color: #fff; }
.a-steps { list-style: none; counter-reset: st; padding: 0 !important; }
.a-steps li { counter-increment: st; position: relative; padding: 2px 0 10px 46px; }
.a-steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 900; display: grid; place-items: center; }
.a-steps li b { display: block; }
.a-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 24px; font-size: 15px; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(var(--shadow), .07); display: block; overflow-x: auto; }
.a-table th, .a-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.a-table th { background: var(--soft); font-weight: 900; white-space: nowrap; }
.a-table tr:last-child td { border-bottom: 0; }
.a-chart { margin: 24px 0; background: var(--card); border-radius: 18px; padding: 16px 16px 12px; box-shadow: 0 8px 22px rgba(var(--shadow), .07); }
.a-chart svg { width: 100%; height: auto; display: block; }
.a-chart figcaption { font-size: 14px; color: var(--muted); font-weight: 650; margin-top: 8px; line-height: 1.45; }
.c-bar { fill: var(--accent2); opacity: .7; }
.c-bar.hi { fill: var(--accent); opacity: 1; }
.c-lab { font: 700 14px Nunito, sans-serif; fill: var(--ink); }
.c-val { font: 800 14px Nunito, sans-serif; fill: var(--muted); }
.c-axis { stroke: var(--line); stroke-width: 2; }
.a-cta { margin: 36px 0; padding: 22px 24px; text-align: center; background: var(--soft); }
.a-cta h3 { margin: 0 0 6px; font-size: 21px; }
.a-cta p { margin: 0 0 14px; }
.a-faq details { margin: 10px 0; padding: 14px 18px; }
.a-faq summary { font-weight: 850; cursor: pointer; }
.a-faq details p { margin: 8px 0 0; }
.a-src ol { font-size: 14.5px; line-height: 1.5; }
.a-src a { word-break: break-word; }
.a-more { margin-top: 30px; }
.a-more h2 { font: 700 34px Caveat, cursive; margin: 0 0 12px; }
.a-cards { display: grid; gap: 14px; }
.a-card { display: grid; gap: 6px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.a-card:hover { transform: translateY(-2px); }
.a-card b { font-size: 18px; }
.a-card span { color: var(--muted); font-weight: 650; line-height: 1.45; }
.a-card small { color: var(--muted); font-weight: 700; }
.a-index h1 { font: 700 clamp(44px, 6vw, 60px)/1 Caveat, cursive; margin: 8px 0 8px; }
.a-index .l-lead { margin: 0 0 26px; }
.art .lang-menu a { display: block; padding: 9px 12px; border-radius: 10px; font: 750 14.5px Nunito, sans-serif; color: var(--ink); text-decoration: none; }
.art .lang-menu a:hover { background: var(--bg); }
.art .lang-menu a.on { background: var(--soft); color: var(--accent); }
@media (max-width: 860px) { .a-body { font-size: 16.5px; } .a-lead { font-size: 18px; } .c-lab, .c-val { font-size: 16px; } }
