/* Article styles are scoped so the academic homepage keeps its layout. */
.article-page { background: #fff; }
.article-shell { max-width: 820px; margin: 0 auto; padding: 0 32px 44px; }
.article-nav { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid #e7e9eb; font-size: 14px; }
.article-nav a { text-decoration: none; }
.article-nav .author-link { color: var(--ink-strong); font-weight: 700; }
.article-header { margin: 54px 0 34px; }
.eyebrow { color: var(--link); font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.article-header h1 { margin: 12px 0 16px; color: var(--ink-strong); font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.1; letter-spacing: -0.035em; }
.article-subtitle { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.article-meta { margin-top: 22px; color: var(--muted); font-size: 13px; }
.article-meta span { margin: 0 7px; }
.article-body { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 21px; }
.article-body h2 { margin: 42px 0 18px; font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 23px; line-height: 1.35; color: var(--ink-strong); letter-spacing: -0.015em; }
.article-body strong { color: var(--ink-strong); }
.article-body ul { margin: 0 0 24px; padding-left: 24px; }
.article-body li { padding-left: 3px; margin-bottom: 12px; }
.article-figure { margin: 32px 0 36px; }
.figure-image-link { display: block; border: 1px solid #e3e9ec; border-radius: 10px; overflow: hidden; background: #fff; }
.figure-image-link picture, .figure-image-link img { display: block; width: 100%; }
.figure-image-link img { height: auto; }
.article-figure figcaption { margin-top: 13px; color: #596b76; font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 14px; line-height: 1.65; }
.article-figure figcaption strong { font-weight: 700; }
.article-figure figcaption a { white-space: nowrap; }
.figure-data { margin-top: 14px; font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 14px; }
.figure-data summary { color: var(--link); cursor: pointer; }
.figure-data .table-scroll { margin: 12px 0 0; }
.figure-data table { font-size: 13px; }
.figure-data table caption { margin-bottom: 10px; text-align: left; color: var(--muted); }
.figure-data tbody th { width: auto; }
.figure-data td, .figure-data th { padding: 10px; }
.table-scroll { margin: 27px 0; overflow-x: auto; }
.article-body table { width: 100%; border-collapse: collapse; font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 15px; line-height: 1.6; }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid #e0e5e8; }
.article-body thead { background: #f2f5f7; color: var(--ink-strong); }
.article-body tbody th { width: 38%; color: var(--ink-strong); }
.article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; margin-top: 46px; border-top: 1px solid #e7e9eb; font-size: 14px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; transform: translateY(-200%); padding: 8px 14px; background: #fff; }
.skip-link:focus { transform: translateY(0); }
.article-page a:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.figure-data summary:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
@media (max-width: 560px) {
    .article-shell { padding: 0 20px 28px; }
    .article-header { margin-top: 36px; }
    .article-subtitle { font-size: 17px; }
    .article-body { font-size: 17px; line-height: 1.75; }
    .article-body h2 { font-size: 21px; }
    .article-body th, .article-body td { padding: 10px 8px; }
    .article-body table { font-size: 13px; }
    .article-figure { margin: 25px 0 29px; }
    .article-figure figcaption { font-size: 13px; }
}
@media print {
    .article-shell { max-width: none; padding: 0; }
    .article-nav, .article-footer, .skip-link { display: none; }
    .article-header { margin-top: 0; }
    .article-body { font-size: 11pt; line-height: 1.5; }
    .article-body h2 { break-after: avoid; }
    .article-body a { color: inherit; }
    .article-figure { break-inside: avoid; }
}
