/* Shared article details. */
.news-article {
    padding-block: 45px 100px;
}

.article-header {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(32px, 3.6vw, 54px);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    color: var(--muted);
    margin: 25px 0;
}

.article-meta button {
    font-size: 13px;
    color: var(--copper);
}

.share-status {
    font-size: 13px;
    color: var(--copper);
}

.share-status:empty {
    display: none;
}

.article-header .lead {
    font-size: 18px;
    color: var(--muted);
}

.article-cover {
    margin-top: 50px;
}

.article-cover img {
    max-height: 650px;
    aspect-ratio: 2.15;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 850px);
    justify-content: space-between;
    gap: 7vw;
    margin-top: 70px;
}

.article-toc {
    position: sticky;
    top: 135px;
    align-self: start;
}

.article-toc a {
    display: block;
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.article-toc a.active {
    color: var(--copper);
}

.article-body section {
    margin-bottom: 45px;
}

.article-note {
    background: var(--sand);
    padding: 35px;
    margin: 50px 0;
}

.article-note h3 {
    margin-top: 0;
}

.article-note .button {
    margin-top: 25px;
}

/* Page surface and material contrast. */
.article-note {
    background: #eeede9;
    border-left: 4px solid #98714d;
}

.article-toc {
    background: #f5f4f1;
    padding: 24px;
}

@media (max-width: 767px) {
    .news-article {
        padding-top: 25px;
    }

    .article-header {
        text-align: left;
    }

    .article-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .article-header .lead {
        font-size: 16px;
    }

    .article-cover {
        margin-top: 30px;
    }

    .article-cover img {
        aspect-ratio: 1.25;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 35px;
    }

    .article-toc {
        position: static;
    }

    .article-toc a {
        font-size: 13px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-note {
        padding: 25px;
    }

}
