/* Article content only. Global tokens, navigation, footer and buttons belong to style.css. */
.article-main { margin-top: 34px; padding-bottom: 72px; }
.article-main > article, .article-main > .breadcrumb, .article-main > .article-back { max-width: 860px; margin-left: auto; margin-right: auto; }
.article-main > .breadcrumb { margin-bottom: 32px; overflow-wrap: anywhere; }
.article-main h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.18; margin: 16px 0 24px; overflow-wrap: anywhere; }
.article-main h2 { scroll-margin-top: 120px; }
.article-main .article-description { font-size: 20px; color: var(--muted); max-width: none; }
.article-date { font-size: 13px; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-body { background: var(--surface-strong); padding: 28px 38px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 32px; overflow-wrap: anywhere; line-height: 1.8; }
.article-body h2 { font-size: 27px; line-height: 1.35; margin: 34px 0 18px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 21px; }
.article-body p { margin: 0 0 22px; }
.article-body a, .article-date a, .article-toc a, .article-back { text-decoration: underline; text-underline-offset: 3px; }
.article-main figure { margin: 24px 0; background: var(--surface-strong); }
.article-main figure img { max-height: 480px; width: auto; height: auto; margin: auto; object-fit: contain; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-table { overflow-x: auto; margin: 24px 0; }
.article-table table { border-collapse: collapse; min-width: 100%; font-size: 14px; }
.article-table th, .article-table td { padding: 12px; border: 1px solid var(--line); text-align: left; min-width: 125px; }
.article-table th { background: var(--bg-soft); }
.article-toc, .article-cta { background: var(--surface-strong); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.article-toc ul { padding-left: 22px; }
.article-main > .article-back { display: block; margin-top: 36px; }
@media (max-width: 600px) {
  .article-body { padding: 22px 18px; }
  .article-body h2 { font-size: 23px; }
  .article-main .article-description { font-size: 18px; }
}
