/* News category tags and edge-to-edge list covers. Scoped to the about news panel. */
.abt-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}
.abt-news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    min-width: 0;
}
.abt-news-categories button {
    min-height: 44px;
    padding: 10px 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--abt-muted, #65747c);
    font: inherit;
    font-size: 16px;
    cursor: pointer;
    touch-action: manipulation;
    transition: color .18s, border-color .18s;
}
.abt-news-categories button:hover { color: #25808e; }
.abt-news-categories button[aria-pressed='true'] {
    color: #25808e;
    border-bottom-color: #25808e;
}
.abt-news-categories button[aria-pressed='true'] { font-weight: 600; }
.abt-news-categories button:focus-visible {
    outline: 2px solid #25808e;
    outline-offset: 3px;
}
.abt-news-toolbar .abt-news-search {
    flex: 0 1 320px;
    margin: 0;
}
.abt-news-section .abt-news-count {
    margin: 0 0 20px;
    color: var(--abt-muted, #65747c);
    font-size: 14px;
    line-height: 1.5;
}
.abt-news-list .news-image {
    position: relative;
    align-self: stretch;
    aspect-ratio: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
}
.abt-news-list .news-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
.abt-news-list .news-card[hidden] { display: none; }
@media (max-width: 1000px) {
    .abt-news-toolbar { flex-wrap: wrap; gap: 16px; }
    .abt-news-toolbar .abt-news-search { margin-left: auto; }
}
@media (max-width: 750px) {
    .abt-news-toolbar { align-items: stretch; }
    .abt-news-categories { width: 100%; gap: 4px 16px; }
    .abt-news-categories button { font-size: 15px; }
    .abt-news-toolbar .abt-news-search { flex: 1 0 100%; width: 100%; }
    .abt-news-list .news-image {
        width: 100%;
        height: auto;
        aspect-ratio: 506 / 320;
        justify-self: stretch;
    }
}
@media (prefers-reduced-motion: reduce) {
    .abt-news-categories button { transition: none; }
}

.abt-news-section { scroll-margin-top: 110px; }
