/* Accessible helper 
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}*/

.news-page {
    padding: calc(var(--header-h) + 28px) 18px 64px;
    background: var(--offwhite);
    color: var(--ink);
  
}

.news-wrap {
    margin: 0 auto;
    max-width: var(--max);
}

.news-header {
    margin-bottom: 18px;
}

.news-title {
    margin: 0;
    color: var(--navy2);
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: .2px;
}

.news-subtitle {
    margin: 8px 0 0;
    color: rgba(13, 19, 33, .76);
    line-height: 1.55;
    max-width: 62ch;
}

.news-toolbar {
    margin: 18px 0 18px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 9px 12px;
    background: var(--offwhite);
    color: var(--navy2);
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    appearance: none;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.filter-btn:hover {
    border-color: rgba(11, 35, 71, .28);
    transform: translateY(-1px);
}

.filter-btn.is-active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 10px 22px rgba(11, 42, 74, .18);
}

.news-search {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    min-width: min(360px, 100%);
}

.news-search-input {
    padding: 10px 12px;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: min(420px, 100%);
    outline: none;
}

.news-search-input:focus {
    border-color: rgba(243, 196, 59, .75);
    box-shadow: 0 0 0 4px rgba(243, 196, 59, .22);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.news-card {
    padding: 14px 14px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    grid-column: span 6;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.news-card:hover {
    border-color: rgba(11, 35, 71, .26);
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0,0,0,.12);
}

.news-card[hidden] {
    display: none !important;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.news-pill {
    padding: 6px 10px;
    background: rgba(243, 196, 59, .18);
    color: var(--navy2);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .2px;
    border: 1px solid rgba(243, 196, 59, .38);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-date {
    color: rgba(13, 19, 33, .62);
    font-size: 12px;
}

.news-headline {
    margin: 0;
    color: var(--navy2);
    font-size: 18px;
}

.news-statement {
    margin: 0;
    color: rgba(13, 19, 33, .82);
    line-height: 1.55;
}

.news-meta {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-source {
    color: rgba(13, 19, 33, .7);
    font-size: 13px;
    font-weight: 700;
}

.news-link {
    padding: 8px 10px;
    background: rgba(11, 42, 74, .04);
    color: var(--navy);
    text-decoration: none;
    font-weight: 900;
    border-radius: 12px;
    border: 1px solid rgba(11, 42, 74, .18);
    transition: background .12s ease, transform .12s ease, border-color .12s ease;
}

.news-link:hover {
    background: rgba(243, 196, 59, .16);
    border-color: rgba(243, 196, 59, .45);
    transform: translateY(-1px);
}

.news-empty {
    margin: 18px 0 0;
    padding: 14px;
    background: var(--white);
    color: rgba(13, 19, 33, .74);
    border: 1px dashed rgba(11, 35, 71, .32);
    border-radius: var(--radius);
}

/* Responsive */
@media (max-width: 900px) {
    .news-card {
        grid-column: span 12;
    }
    .news-search {
        justify-content: flex-start;
        width: 100%;
    }
}