.news-page {
    background: var(--color-wash);
    color: var(--color-text);
}

.news-page .container {
    width: min(calc(100% - 48px), var(--container));
}

.news-detail-page .container {
    width: min(calc(100% - 48px), var(--container));
}

.news-hero,
.news-detail-hero {
    position: relative;
    min-height: 350px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 26, 15, 0.86), rgba(7, 26, 15, 0.46) 58%, rgba(7, 26, 15, 0.12)),
        var(--news-hero-image) center / cover;
}

.news-hero::after,
.news-detail-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(7, 26, 15, 0.5));
    pointer-events: none;
}

.news-hero__inner,
.news-detail-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    gap: var(--space-3);
    min-height: 350px;
    padding-block: 76px var(--space-8);
}

.news-hero .eyebrow,
.news-detail-hero .news-meta {
    color: #a6ef8f;
}

.news-hero h1,
.news-detail-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.98;
}

.news-hero p,
.news-detail-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.55;
}

.news-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    width: min(100%, 560px);
    min-height: 58px;
    padding: 6px 7px 6px 17px;
    color: var(--color-muted);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.news-search input {
    min-width: 0;
    color: var(--color-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-weight: 700;
}

.news-search button,
.news-read-link,
.news-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding-inline: 16px;
    color: #fff;
    background: var(--color-forest-700);
    border: 0;
    border-radius: var(--radius-xs);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 850;
}

.news-layout,
.news-article-layout {
    padding-block: var(--space-8);
}

.news-main {
    display: grid;
    gap: var(--space-6);
}

.news-featured-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-5);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(17, 32, 22, 0.08);
}

.news-featured-card__image,
.news-card__image {
    display: block;
    overflow: hidden;
    background: var(--color-mint);
    border-radius: var(--radius-sm);
}

.news-featured-card__image {
    aspect-ratio: 1.45;
}

.news-featured-card img,
.news-card img,
.news-related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-meta,
.news-results-heading span,
.news-related-card span {
    margin: 0;
    color: var(--color-forest-700);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-featured-card h2,
.news-results-heading h2,
.news-related-section h2 {
    margin: 0;
}

.news-featured-card h2 {
    margin-block: 8px 10px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.03;
}

.news-featured-card p,
.news-card__body p {
    color: var(--color-muted);
    font-weight: 650;
    line-height: 1.6;
}

.news-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(17, 32, 22, 0.07);
}

.news-card__image {
    height: 190px;
    border-radius: 0;
}

.news-card__body {
    display: grid;
    gap: 8px;
    padding: var(--space-4);
}

.news-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.18;
}

.news-card p {
    margin: 0;
}

.news-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.news-pagination__ends,
.news-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.news-pagination__ends:last-child {
    justify-content: flex-end;
}

.news-pagination__pages {
    justify-content: center;
}

.news-pagination a,
.news-pagination__current,
.news-pagination__disabled {
    min-width: 44px;
    min-height: 44px;
    padding-inline: 13px;
}

.news-pagination__pages a,
.news-pagination__current {
    display: inline-grid;
    place-items: center;
    color: var(--color-forest-800);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xs);
    font-size: 0.92rem;
    font-weight: 850;
}

.news-pagination__current {
    color: #fff;
    background: var(--color-forest-700);
    border-color: var(--color-forest-700);
}

.news-pagination__disabled {
    display: inline-grid;
    place-items: center;
    color: #7b877c;
    background: #f2f4f1;
    border: 1px solid #e0e5df;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 800;
}

.news-pagination__ellipsis {
    padding-inline: 3px;
    color: var(--color-muted);
    font-weight: 850;
}

.news-filter-bar {
    position: relative;
    z-index: 8;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 8px 24px rgba(17, 32, 22, 0.06);
}

.news-filter-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-block: 18px;
}

.news-archive-filter {
    position: relative;
    min-width: 0;
}

.news-archive-filter summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 11px 14px;
    color: var(--color-ink);
    background: #f8faf7;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    list-style: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.news-archive-filter summary::-webkit-details-marker {
    display: none;
}

.news-archive-filter summary:hover,
.news-archive-filter[open] summary {
    background: #fff;
    border-color: rgba(21, 88, 34, 0.42);
    box-shadow: 0 0 0 3px rgba(21, 88, 34, 0.08);
}

.news-archive-filter summary > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.news-archive-filter__label {
    color: var(--color-forest-700);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.news-archive-filter summary strong {
    overflow: hidden;
    font-size: 0.97rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-archive-filter summary > svg {
    flex: 0 0 auto;
    color: var(--color-forest-700);
    transition: transform 160ms ease;
}

.news-archive-filter[open] summary > svg {
    transform: rotate(180deg);
}

.news-archive-filter__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: max(100%, 310px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 46px rgba(17, 32, 22, 0.18);
}

.news-archive-filter:last-child .news-archive-filter__menu {
    right: 0;
    left: auto;
}

.news-archive-filter__search {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 10px;
    padding: 9px 11px;
    color: var(--color-muted);
    background: #f7f9f6;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xs);
}

.news-archive-filter__search:focus-within {
    background: #fff;
    border-color: var(--color-forest-600);
    box-shadow: 0 0 0 3px rgba(21, 88, 34, 0.09);
}

.news-archive-filter__search input {
    min-width: 0;
    padding: 0;
    color: var(--color-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
}

.news-archive-filter ul {
    max-height: 310px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.news-archive-filter li[hidden] {
    display: none;
}

.news-archive-filter a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 43px;
    padding: 9px 13px;
    color: var(--color-forest-800);
    border-top: 1px solid #edf0ec;
    font-size: 0.9rem;
    font-weight: 780;
}

.news-archive-filter a:hover,
.news-archive-filter a:focus-visible {
    color: var(--color-forest-900);
    background: var(--color-mint);
}

.news-archive-filter a small {
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.news-archive-filter__empty {
    margin: 0;
    padding: 14px;
    color: var(--color-muted);
    border-top: 1px solid #edf0ec;
    font-size: 0.88rem;
    font-weight: 700;
}

.news-empty {
    padding-block: var(--space-8);
}

.news-empty--standalone {
    min-height: 52vh;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #fff;
    font-weight: 850;
}

.news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-6);
    align-items: start;
    justify-content: center;
    padding-block: clamp(32px, 5vw, 56px) var(--space-6);
}

.news-article,
.news-context-panel,
.news-related-section {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 32px rgba(17, 32, 22, 0.07);
}

.news-article {
    min-width: 0;
    padding: clamp(28px, 4vw, 56px);
}

.news-article__byline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-5);
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.news-article__content {
    color: var(--color-ink);
    font-size: 1.075rem;
    line-height: 1.72;
}

.news-article__content > * {
    margin-block: 0 1.15em;
}

.news-article__content h2,
.news-article__content h3,
.news-article__content h4 {
    margin-block: 1.9em 0.55em;
    color: var(--color-ink);
    line-height: 1.16;
}

.news-article__content h2 {
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.news-article__content h3 {
    font-size: 1.32rem;
}

.news-article__content p {
    margin-block: 0 1.1em;
}

.news-article__content p:empty {
    display: none;
}

.news-article__content a {
    color: var(--color-forest-700);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.news-article__content ul,
.news-article__content ol {
    padding-left: 1.35em;
}

.news-article__content li {
    margin-block: 0.35em;
    padding-left: 0.2em;
}

.news-article__content figure {
    margin: 1.8em 0;
}

.news-article__content figcaption {
    margin-top: 0.6em;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
}

.news-article__content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.news-article__content table {
    display: block;
    width: 100%;
    margin-block: 1.5em;
    overflow-x: auto;
    border-collapse: collapse;
}

.news-article__content th,
.news-article__content td {
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.news-article__content blockquote {
    margin: 1.5em 0;
    padding: var(--space-4);
    color: var(--color-forest-800);
    background: var(--color-mint);
    border-left: 4px solid var(--color-forest-700);
    border-radius: var(--radius-xs);
    font-weight: 750;
}

.news-article__content blockquote > :last-child,
.news-article__content > :last-child {
    margin-bottom: 0;
}

.news-context-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: var(--space-5);
    min-width: 0;
}

.news-context-grid > .news-context-panel:only-child {
    grid-column: 1 / -1;
}

.news-context-panel {
    display: grid;
    align-content: start;
    gap: var(--space-4);
    min-width: 0;
    padding: clamp(20px, 3vw, 30px);
}

.news-context-panel__heading {
    display: grid;
    gap: 6px;
}

.news-context-panel__heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
}

.news-civic-list,
.news-place-list {
    display: grid;
}

.news-civic-item,
.news-place-item {
    min-width: 0;
    padding-block: var(--space-4);
    border-top: 1px solid var(--color-line);
}

.news-civic-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: var(--space-3);
}

.news-civic-item__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--color-forest-700);
    background: var(--color-mint);
    border: 1px solid rgba(21, 88, 34, 0.16);
    border-radius: var(--radius-xs);
}

.news-civic-item small,
.news-place-item small {
    display: block;
    margin-bottom: 5px;
    color: var(--color-forest-700);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.news-civic-item strong,
.news-place-item strong {
    display: block;
    min-width: 0;
    color: var(--color-ink);
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.news-civic-item em,
.news-place-item em {
    display: block;
    margin-top: 7px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 720;
    line-height: 1.35;
}

.news-civic-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--space-3) 0 0;
    padding: 0;
    list-style: none;
}

.news-civic-facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 9px;
    background: #f8fbf7;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xs);
}

.news-civic-facts li span {
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-civic-facts li strong {
    color: var(--color-forest-800);
    font-size: 0.84rem;
    line-height: 1.15;
}

.news-place-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
    color: inherit;
}

.news-place-item img {
    width: 92px;
    aspect-ratio: 1.2;
    object-fit: cover;
    background: var(--color-mint);
    border-radius: var(--radius-xs);
}

.news-place-item span {
    min-width: 0;
}

.news-place-item:not(.news-place-item--static):hover strong {
    color: var(--color-forest-700);
}

.news-related-section {
    display: grid;
    gap: var(--space-4);
    margin-bottom: clamp(32px, 5vw, 64px);
    padding: clamp(20px, 3vw, 30px);
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.news-related-card {
    display: grid;
    grid-template-rows: 140px auto 1fr;
    gap: 10px;
    min-width: 0;
    color: inherit;
}

.news-related-card img {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-xs);
    object-fit: cover;
}

.news-related-card span {
    color: var(--color-forest-700);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}

.news-related-card strong {
    min-width: 0;
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.25;
}

@media (max-width: 980px) {
    .news-featured-card,
    .news-article-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-context-grid {
        grid-template-columns: 1fr;
    }

    .news-pagination {
        grid-template-columns: 1fr;
    }

    .news-pagination__ends,
    .news-pagination__ends:last-child {
        justify-content: center;
    }

    .news-pagination__pages {
        grid-row: 1;
    }

    .news-filter-bar__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-archive-filter:nth-child(even) .news-archive-filter__menu {
        right: 0;
        left: auto;
    }
}

@media (max-width: 680px) {
    .news-page .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .news-hero,
    .news-detail-hero,
    .news-hero__inner,
    .news-detail-hero__inner {
        min-height: 390px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-related-grid {
        grid-template-columns: 1fr;
    }

    .news-context-panel {
        padding: var(--space-4);
    }

    .news-civic-item {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .news-civic-item__icon {
        width: 36px;
        height: 36px;
    }

    .news-place-item {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .news-place-item img {
        width: 76px;
    }

    .news-featured-card {
        padding: 0;
        overflow: hidden;
    }

    .news-featured-card > div {
        padding: 0 var(--space-4) var(--space-4);
    }

    .news-search {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .news-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .news-pagination {
        padding: var(--space-3);
    }

    .news-pagination__ends,
    .news-pagination__pages {
        gap: 6px;
    }

    .news-pagination__ends a,
    .news-pagination__disabled {
        flex: 1 1 120px;
    }

    .news-filter-bar__inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-block: 12px;
    }

    .news-archive-filter summary {
        min-height: 56px;
    }

    .news-archive-filter .news-archive-filter__menu {
        right: 0;
        left: 0;
        width: 100%;
    }
}
