/* Article pages (/resources/*, /case-studies/*) — built by scripts/build-articles.js */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-hero { background: var(--black); padding: 150px 0 56px; }
.article-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1; margin: 14px 0 18px; }
.article-crumbs { font-size: 0.8125rem; color: var(--text-on-dark-muted); }
.article-crumbs a { color: var(--gold); }
.article-crumbs span { margin: 0 6px; opacity: 0.5; }
.article-meta { color: var(--text-on-dark-muted); font-size: 0.9375rem; }
.article-body { background: var(--cream); padding: 56px 0 96px; }
.article-body article { font-size: 1.0625rem; line-height: 1.75; color: var(--text); }
.article-body article p { margin: 0 0 1.1em; color: var(--text); }
.article-body article h2 { font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1; margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
.article-body article h3 {
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin: 1.8em 0 0.5em; scroll-margin-top: 90px;
}
.article-body article ul, .article-body article ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.article-body article ul { list-style: disc; }
.article-body article ol { list-style: decimal; }
.article-body article li { margin-bottom: 0.5em; padding-left: 0.2em; }
.article-body article a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-body article strong { font-weight: 700; }
.article-answer {
  background: var(--white-true); border-left: 4px solid var(--gold);
  border-radius: var(--radius-md); padding: 20px 24px; margin: 0 0 2em; box-shadow: var(--shadow-card);
}
.article-answer p { margin: 0 !important; }
.article-table { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white-true); }
.article-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; min-width: 560px; }
.article-table th { background: var(--brand); color: var(--white); text-align: left; font-weight: 600; padding: 10px 14px; }
.article-table td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: top; }
.article-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.article-related h2 { font-size: 2rem; margin-bottom: 12px; }
.article-related ul { list-style: none; padding: 0; }
.article-related li { margin: 0 0 10px; }
.article-related a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-list { list-style: none; display: grid; gap: 16px; }
.article-card a {
  display: block; background: var(--white-true); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.article-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lifted); }
.article-card h2 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.article-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 600px) {
  .article-hero { padding: 120px 0 40px; }
  .article-body { padding: 36px 0 72px; }
  .article-body article { font-size: 1rem; }
}
