/* Дополнения для практических руководств и их индекса. Общие токены — в styles.css. */
.content-page main { position: relative; z-index: 1; }
.content-page header.hero { position: relative; padding: 20px 0 8px; }
.content-page .skip-link { position: absolute; left: 22px; top: -80px; z-index: 3; background: var(--text); color: var(--bg); border-radius: 8px; padding: 10px 14px; }
.content-page .skip-link:focus { top: 10px; }
.content-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.article-meta { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.article-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 28px 0 0; }
.article-toc h2 { font-size: 17px; margin-bottom: 10px; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { padding: 4px 0; color: var(--muted); font-size: 15px; }
.article-toc a { text-underline-offset: 3px; }
.article-body { margin-top: 34px; }
.article-body h2 { font-size: clamp(24px, 4vw, 30px); margin: 42px 0 18px; scroll-margin-top: 24px; }
.article-body h3 { line-height: 1.3; }
.article-body p, .article-body ul, .article-body ol { color: var(--text); font-size: 17px; line-height: 1.75; }
.article-body p { margin: 16px 0; }
.article-body ol, .article-body ul { padding-left: 24px; }
.article-body li { margin: 10px 0; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body li::marker { color: var(--accent); }
.article-body .example { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.article-body .example-label { color: var(--accent); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.article-body .example h3 { font-size: 19px; margin: 0 0 10px; }
.article-body .example p:last-child { margin-bottom: 0; }
.article-body blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); }
.article-body blockquote p { margin: 8px 0; }
.article-body .checklist { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 8px 0; margin: 22px 0; }
.article-body .checklist ul { margin: 0; padding-left: 24px; }
.article-body .table-scroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
.article-body .table-hint { color: var(--muted); font-size: 14px; line-height: 1.6; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 440px; }
.article-body caption { text-align: left; padding: 14px 16px; color: var(--muted); }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--border); }
.article-body th { background: var(--surface); font-weight: 600; }
.article-body td:last-child { font-variant-numeric: tabular-nums; }
.article-body .faq-item p { font-size: 17px; line-height: 1.75; color: var(--text); }
.guide-list { grid-template-columns: 1fr; }
.guide-list a { padding: 24px; }
.guide-list strong { font-size: 21px; line-height: 1.3; }
.guide-list span { display: block; font-size: 16px; line-height: 1.65; }
.guide-list .guide-kind { color: var(--accent); font-size: 13px; margin-bottom: 8px; }
.guide-list .guide-date { font-size: 13px; margin-top: 12px; }
.content-page .related strong { line-height: 1.35; }
.content-page footer { position: relative; z-index: 1; }
@media (max-width: 560px) {
  .article-body p, .article-body ul, .article-body ol, .article-body .faq-item p { font-size: 16px; }
  .article-body .example, .article-toc { padding: 18px; }
  .guide-list a { padding: 20px; }
  .guide-list strong { font-size: 19px; }
  .content-page .crumbs { line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .content-page { scroll-behavior: auto; }
  html:has(.content-page) { scroll-behavior: auto; }
  .content-page .cta, .content-page .related a { transition: none; }
}
