.news-article {
    --news-article-blue: #00386f;
    --news-article-blue-dark: #00294f;
    --news-article-blue-light: #edf4fa;
    --news-article-border: #d8e1ea;
    --news-article-border-light: #e8edf2;
    --news-article-text: #263746;

    width: 100%;
    max-width: 62rem;
    margin: 0 auto;
    padding-bottom: 3rem;
    color: var(--news-article-text);
}

.news-article-header {
    padding: 0.5rem 0 1.75rem;
    border-bottom: 1px solid var(--news-article-border);
}

.news-article-staff-links a:hover,
.news-article-staff-links a:focus-visible,
.news-article-body a:hover,
.news-article-body a:focus-visible {
    color: var(--news-article-blue-dark);
}

.news-article-title {
    margin: 0;
    color: var(--news-article-blue);
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.25rem;
    color: #617487;
}

.news-article-meta-item {
    display: inline-flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.news-article-meta-item i {
    flex: 0 0 auto;
    color: var(--news-article-blue);
}

.news-article-meta-item time {
    color: var(--news-article-blue);
}

.news-article-staff-links a {
    color: var(--news-article-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.news-article-staff-links a:focus-visible {
    border-radius: 0.2rem;
    outline: 2px solid var(--news-article-blue);
    outline-offset: 0.2rem;
}

.news-article-staff-avatars .news-staff-avatar__tooltip {
    right: 0;
    left: auto;
}

.news-article-staff-avatars .news-staff-avatar__tooltip::after {
    right: 1rem;
    left: auto;
}

.news-article-gallery {
    margin: 2rem 0 0;
}

.news-article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.news-article-gallery--single .news-article-gallery-grid {
    grid-template-columns: 1fr;
}

.news-article-gallery--multiple .news-article-image:first-child {
    grid-column: 1 / -1;
}

.news-article-image {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--news-article-border);
    border-radius: 0.875rem;
    background: var(--news-article-blue-light);
}

.news-article-image img {
    display: block;
    width: 100%;
    height: 20rem;
    object-fit: contain;
}

.news-article-gallery--single .news-article-image img,
.news-article-gallery--multiple .news-article-image:first-child img {
    height: auto;
    max-height: 38rem;
}

.news-article-caption {
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 0.25rem solid var(--news-article-blue);
    color: #617487;
}

.news-article-body {
    max-width: 52rem;
    margin: 2rem auto 0;
    overflow-wrap: anywhere;
}

.news-article-body > :last-child {
    margin-bottom: 0;
}

.news-article-body a {
    color: var(--news-article-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.news-article-body blockquote {
    padding: 1rem 1.25rem;
    border-left: 0.25rem solid var(--news-article-blue);
    background: #f8fafc;
}

.news-article-body table {
    width: 100%;
}

@media (max-width: 600px) {
    .news-article {
        padding-bottom: 2rem;
    }

    .news-article-header {
        padding-top: 0;
        padding-bottom: 1.25rem;
    }

    .news-article-meta-item {
        flex: 0 0 100%;
        width: 100%;
    }

    .news-article-gallery {
        margin-top: 1.5rem;
    }

    .news-article-gallery-grid {
        grid-template-columns: 1fr;
    }

    .news-article-gallery--multiple .news-article-image:first-child {
        grid-column: auto;
    }

    .news-article-image img,
    .news-article-gallery--single .news-article-image img,
    .news-article-gallery--multiple .news-article-image:first-child img {
        height: auto;
        max-height: none;
    }

    .news-article-body {
        margin-top: 1.5rem;
    }
}

@media (min-width: 601px) and (max-width: 1200px) {
    .news-article-image img {
        height: 18rem;
    }
}
