.news-feature,
.news-list {
    border-radius: 8px;
}

.news-feature__body {
    padding: 1.2rem 1.3rem 1.5rem;
}

.news-feature__eyebrow {
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.news-feature__body h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.news-feature__body p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0.8rem 0 1.15rem;
}

.news-item {
    border-radius: 8px;
}

.news-item__meta a,
.news-link {
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

.news-item__meta a:hover,
.news-link:hover {
    text-decoration: underline;
}

.news-item--empty {
    color: var(--muted);
}

.public-news {
    max-width: 1040px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.public-news__heading {
    max-width: 680px;
    margin-bottom: 2rem;
}

.public-news__heading h1 {
    font-size: 2.25rem;
    margin: 0.45rem 0 0.75rem;
}

.public-news__heading p {
    color: var(--muted);
    margin: 0;
}

.news-archive-grid {
    display: grid;
    gap: 1rem;
}

.news-archive-item,
.news-empty-state {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.news-archive-item__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.news-pin {
    color: var(--green);
    font-weight: 800;
}

.news-archive-item h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.news-archive-item__summary {
    color: var(--muted);
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

.news-archive-item__content {
    line-height: 1.75;
}

.news-archive-item__author {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 1.2rem;
    padding-top: 0.9rem;
}

@media (max-width: 575.98px) {
    .public-news {
        padding: 2.5rem 1rem;
    }

    .public-news__heading h1 {
        font-size: 1.8rem;
    }

    .news-archive-item__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}
/* News media and priority enhancements. */
.news-feature--priority {
    border: 1px solid rgba(183, 221, 40, .72);
    box-shadow: 0 18px 38px rgba(7, 59, 42, .14);
}

.news-feature__media {
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0d6b47;
}

.news-feature__media::before {
    display: none;
}

.news-feature__media img,
.news-item__image,
.news-archive-item__image,
.news-admin-thumbnail,
.news-image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feature__media--placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%, rgba(183, 221, 40, .92) 0 9%, transparent 9.4%),
        linear-gradient(135deg, #073b2a, #128454);
}

.news-feature__media--placeholder i {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: #f7b928;
}

.news-feature--priority .news-feature__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    color: #073b2a;
    background: #b7dd28;
    border-radius: 999px;
}

.news-link i { margin-left: .35rem; font-size: .82em; }

.news-item {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.news-item__image {
    flex: 0 0 92px;
    width: 92px;
    height: 72px;
    border-radius: .65rem;
}

.news-item__body { min-width: 0; flex: 1; }

.news-priority-notice {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem 1rem;
    color: #073b2a;
    background: linear-gradient(100deg, #ecf8df, #fff9e8);
    border: 1px solid #cce6a5;
    border-radius: .8rem;
}

.news-priority-notice > i {
    display: grid;
    flex: 0 0 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    color: #fff;
    background: #ec6b2d;
    border-radius: 50%;
}

.news-priority-notice span { display: block; font-size: .9rem; }

.news-editor__options {
    display: grid;
    gap: .7rem;
    padding: .85rem 1rem;
    background: #f4f9f1;
    border: 1px solid #d9e6df;
    border-radius: .7rem;
}

.news-editor__options .form-check-label span {
    display: block;
    color: #61746d;
    font-size: .88rem;
    font-weight: 500;
}

.news-image-preview {
    display: grid;
    min-height: 150px;
    overflow: hidden;
    place-items: center;
    color: #61746d;
    background: #f4f8f2;
    border: 1px dashed #9dbbab;
    border-radius: .75rem;
}

.news-image-preview img {
    aspect-ratio: 16 / 9;
}

.news-image-preview:not(.is-visible) img { display: none; }
.news-image-preview.is-visible { border-style: solid; }

.news-admin-thumbnail {
    flex: 0 0 48px;
    width: 48px;
    height: 40px;
    border-radius: .42rem;
}

.news-priority-label {
    display: inline-flex;
    margin-right: .35rem;
    padding: .12rem .42rem;
    color: #073b2a;
    background: #b7dd28;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.news-archive-item--priority {
    border-color: #b7dd28;
    box-shadow: 0 16px 32px rgba(7, 59, 42, .11);
}

.news-archive-item__image {
    max-height: 520px;
    aspect-ratio: 16 / 9;
    margin: -1.4rem -1.4rem 1.25rem;
    border-radius: .45rem .45rem 0 0;
}

@media (max-width: 575.98px) {
    .news-feature__body { padding: 1rem; }
    .news-item { gap: .7rem; }
    .news-item__image { flex-basis: 76px; width: 76px; height: 64px; }
    .news-image-preview { min-height: 128px; }
    .news-archive-item__image { margin: -1.4rem -1.4rem 1rem; }
}
/* Natural-ratio News images: preserve every uploaded image without cropping or distortion. */
.news-section,
.news-grid,
.news-feature,
.news-list,
.news-item,
.news-item__body,
.news-archive-item,
.news-image-preview {
    min-width: 0;
    max-width: 100%;
}

.news-feature__media {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    background: #f4f8f2;
}

.news-feature__media img,
.news-item__image,
.news-archive-item__image,
.news-admin-thumbnail,
.news-image-preview img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.news-feature__media img,
.news-image-preview img {
    width: 100%;
    max-height: none;
}

.news-feature__media--placeholder {
    min-height: 180px;
    aspect-ratio: 16 / 9;
}

.news-item__image {
    flex: 0 1 96px;
    width: 96px;
    max-width: 30%;
    height: auto;
    max-height: 180px;
    align-self: flex-start;
    background: #f4f8f2;
    object-fit: contain;
}

.news-item__body,
.news-item h3,
.news-item p,
.news-archive-item h2,
.news-archive-item__summary,
.news-archive-item__content {
    overflow-wrap: anywhere;
}

.news-image-preview {
    width: 100%;
    min-height: 140px;
    max-height: none;
}

.news-image-preview.is-visible {
    display: block;
    min-height: 0;
}

.news-image-preview img {
    aspect-ratio: auto;
}

.news-admin-thumbnail {
    flex: 0 1 48px;
    width: 48px;
    height: auto;
    max-height: 80px;
    background: #f4f8f2;
    object-fit: contain;
}

.news-archive-item__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    margin: 0 0 1.25rem;
    border-radius: .55rem;
    background: #f4f8f2;
}

@media (max-width: 575.98px) {
    .news-section,
    .public-news {
        overflow-x: clip;
    }

    .news-feature__media--placeholder {
        min-height: 150px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item__image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        max-height: none;
    }

    .news-archive-item__image {
        margin-bottom: 1rem;
    }
}