.news-archive-section {
    min-height: 520px;
}

.news-filter-bar {
    display: grid;
    grid-template-columns: minmax(230px, 1.5fr) minmax(190px, .85fr) minmax(150px, .65fr) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(211, 226, 226, .95);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow-sm);
}

.news-filter-bar label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.news-filter-bar input,
.news-filter-bar select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #c7d6d8;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.news-filter-bar input:focus,
.news-filter-bar select:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(8, 127, 130, .14);
    outline-offset: 1px;
}

.news-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-filter-actions .button {
    min-height: 46px;
    white-space: nowrap;
}

.news-filter-actions > a {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-archive-summary {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 12px;
}

.news-archive-summary strong {
    color: var(--navy);
    font-size: 20px;
}

.news-archive-grid {
    align-items: stretch;
}

.news-archive-card {
    display: flex;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    flex-direction: column;
}

.news-archive-media,
.news-archive-placeholder {
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.news-archive-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-archive-card:hover .news-archive-media img {
    transform: scale(1.035);
}

.news-archive-placeholder {
    position: relative;
    display: grid;
    place-items: end start;
    padding: 22px;
    background: linear-gradient(145deg, #07506a, #0f8d8b);
    color: #fff;
}

.news-archive-placeholder::before,
.news-archive-placeholder::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
}

.news-archive-placeholder::before {
    width: 190px;
    height: 190px;
    right: -48px;
    top: -74px;
}

.news-archive-placeholder::after {
    width: 115px;
    height: 115px;
    right: 45px;
    bottom: -70px;
}

.news-archive-placeholder span {
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(2, 43, 61, .66);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-archive-card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 25px 27px 27px;
    flex-direction: column;
}

.news-archive-card-body > span {
    color: var(--teal);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-archive-card-body time {
    display: block;
    margin-top: 7px;
    color: #7e9097;
    font-size: 10px;
}

.news-archive-card-body h2 {
    margin: 13px 0 11px;
    color: var(--navy);
    font-size: 22px;
    line-height: 1.28;
}

.news-archive-card-body p {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.news-archive-card-body .arrow-link {
    margin-top: auto;
}

.news-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.news-load-more {
    min-width: 205px;
}

.news-load-more[aria-busy="true"] {
    cursor: wait;
    opacity: .72;
}

.news-archive-end {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.news-load-status {
    min-height: 22px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.news-load-status.is-error {
    color: #9f2929;
}

.news-archive-empty {
    padding: 54px 28px;
}

.news-archive-empty h2 {
    margin: 0 0 8px;
    color: var(--navy);
}

.news-archive-empty .button {
    margin-top: 12px;
}

body.high-contrast .news-filter-bar,
body.high-contrast .news-archive-card {
    border: 2px solid #000;
}

@media (max-width: 980px) {
    .news-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .news-filter-actions {
        align-self: stretch;
    }
}

@media (max-width: 620px) {
    .news-filter-bar {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .news-filter-actions {
        justify-content: space-between;
    }

    .news-filter-actions .button {
        flex: 1;
    }

    .news-archive-media,
    .news-archive-placeholder {
        height: 205px;
    }

    .news-archive-card-body {
        padding: 22px;
    }

    .news-load-more {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-archive-media img {
        transition: none;
    }
}
