/* Shared layout for the article index and future long-form articles. */
.articles-page {
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.article-layout {
    max-width: 860px;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, .3);
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 700;
}

.article-meta,
.standfirst,
.source-note {
    color: #9ca3af;
}

.article-meta {
    font-size: .9rem;
}

.standfirst {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 1.125rem;
}

.article-body h2 {
    margin: 2.25em 0 .75em;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    line-height: 1.3;
}

.article-body p {
    margin: 1em 0;
}

.article-body li {
    margin: .5em 0;
}

.article-body blockquote,
.article-body .flow,
.article-body .checklist {
    margin: 1.5em 0;
    padding: 1rem 1.25rem;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: .75rem;
}

.article-body blockquote {
    border-left: 3px solid var(--primary-accent);
    color: #cbd5f5;
}

.article-body blockquote p {
    margin: 0;
}

.article-body .flow {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .95rem;
    white-space: normal;
}

.article-body .source-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, .3);
    font-size: .95rem;
}

.articles-page a {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.articles-page a:focus-visible,
.skip-link:focus-visible {
    outline: 3px solid var(--primary-accent);
    outline-offset: 4px;
}

.skip-link:focus {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 1100;
    padding: .75rem 1rem;
    background: #020617;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .articles-page .interest-card {
        transition: none;
    }

    .articles-page .interest-card:hover {
        transform: none;
    }
}
