/* Blog listing: one featured post, then 1 / 2 / 3 columns. */
.blog-list-grid > .blog-box {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

.blog-list-grid .blog-main-link {
    display: block;
}

.blog-list-grid .news-one__img img {
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}

@media (min-width: 768px) {
    .blog-list-grid > .blog-box {
        flex-basis: 50%;
        max-width: 50%;
    }

    .blog-list-grid > .blog-box.is-featured {
        flex-basis: 100%;
        max-width: 100%;
    }

    .blog-list-grid > .blog-box.is-featured .news-one__single {
        display: grid;
        grid-template-columns: 3fr 2fr;
    }

    .blog-list-grid > .blog-box.is-featured .news-one__img-box,
    .blog-list-grid > .blog-box.is-featured .news-one__img {
        height: 100%;
    }

    .blog-list-grid > .blog-box.is-featured .news-one__img img {
        height: 100%;
    }

    .blog-list-grid > .blog-box.is-featured .news-one__content {
        height: auto;
        padding: 24px;
    }

    .blog-list-grid > .blog-box.is-featured .news-one__title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .blog-list-grid > .blog-box {
        flex-basis: 33.333333%;
        max-width: 33.333333%;
    }
}

/* Refined cards, scoped to the listing so article pages keep their styling. */
.news-page {
    padding: 36px 0 12px;
   
}
.blog-list-grid { row-gap: 28px; margin-bottom: 40px; }
.blog-list-grid > .blog-box { display: flex; }
.blog-list-grid .blog-main-link {
    display: flex;
    width: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: 18px;
}
.blog-list-grid .news-one__single {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid #e1e8df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(28 61 39 / 5%);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-list-grid .news-one__img { background: #f4f7f1; }
.blog-list-grid .news-one__img::before { display: none; }
.blog-list-grid .news-one__img img {
    object-fit: contain;
    transition: transform .35s ease;
}
.blog-list-grid .news-one__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    height: auto;
    min-height: 184px;
    padding: 24px;
    background: #fff;
    box-shadow: none;
    text-align: left;
}
.blog-list-grid .news-one__title {
    margin: 0;
    color: #203c2b;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    text-transform: none;
    overflow-wrap: anywhere;
}
.blog-list-grid .news-one__content::after {
    content: 'Read article \2192';
    display: block;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #eaf0e6;
    color: #28603d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
}
.blog-list-grid .blog-main-link:focus-visible {
    outline: 3px solid #32744c;
    outline-offset: 5px;
}
.blog-list-grid .blog-main-link:hover .news-one__title,
.blog-list-grid .blog-main-link:focus-visible .news-one__title { color: #34734b; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .blog-list-grid .blog-main-link:hover .news-one__single {
        transform: translateY(-5px);
        border-color: #b4cbb0;
        box-shadow: 0 16px 32px rgb(28 61 39 / 11%);
    }
    .blog-list-grid .blog-main-link:hover .news-one__img img { transform: scale(1.025); }
}
@media (min-width: 768px) {
    .blog-list-grid > .blog-box.is-featured { margin-bottom: 10px; }
    .blog-list-grid > .blog-box.is-featured .news-one__single {
        display: grid;
        border: 0;
        border-radius: 22px;
        box-shadow: 0 12px 32px rgb(28 61 39 / 12%);
    }
    .blog-list-grid > .blog-box.is-featured .news-one__img-box,
    .blog-list-grid > .blog-box.is-featured .news-one__img { background: #edf3e7; }
    .blog-list-grid > .blog-box.is-featured .news-one__img img { min-height: 300px; }
    .blog-list-grid > .blog-box.is-featured .news-one__content {
        justify-content: center;
        gap: 24px;
        padding: clamp(28px, 3vw, 44px);
        background: linear-gradient(140deg, #204d35, #123c2a);
    }
    .blog-list-grid > .blog-box.is-featured .news-one__content::before {
        content: 'Featured article';
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid rgb(178 221 100 / 35%);
        border-radius: 999px;
        color: #d5edaf;
        background: rgb(178 221 100 / 8%);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .blog-list-grid > .blog-box.is-featured .news-one__title {
        color: #fff;
        font-size: clamp(22px, 2.1vw, 30px);
        line-height: 1.45;
    }
    .blog-list-grid > .blog-box.is-featured .news-one__content::after {
        border-color: rgb(255 255 255 / 18%);
        color: #d5edaf;
    }
}
@media (max-width: 767px) {
    .news-page { padding-top: 24px; }
    .blog-list-grid { row-gap: 22px; }
    .blog-list-grid .news-one__content { min-height: 0; padding: 22px; gap: 18px; }
}
.news-page .blog-pagination ul { gap: 10px; }
.news-page .blog-page-status {
    margin: 0 0 14px;
    color: #647364;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.news-page .blog-pagination .pagination-gap span {
    min-width: 18px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #758275;
}
.news-page .blog-pagination :is(a, button),
.news-page .blog-pagination span {
    border-color: #dfe8d9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgb(28 61 39 / 3%);
}
.news-page .blog-pagination :is(a, button) > span {
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    line-height: inherit;
}
.news-page .blog-pagination .active,
.news-page .blog-pagination :is(a, button):hover,
.news-page .blog-pagination :is(a, button):focus-visible {
    border-color: #204d35;
    background: #204d35;
    color: #fff;
}
@media (max-width: 575px) {
    .news-page .blog-pagination ul { gap: 4px; flex-wrap: nowrap; }
    .news-page .blog-pagination .pagination-label,
    .news-page .blog-pagination .pagination-neighbor { display: none; }
    .news-page .blog-pagination :is(a, button),
    .news-page .blog-pagination span { min-width: 36px; padding: 0 6px; }
    .news-page .blog-pagination :is(a, button) > span { min-width: 0; padding: 0; }
    .news-page .blog-pagination .pagination-gap span { min-width: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-list-grid .news-one__single,
    .blog-list-grid .news-one__img img { transition: none; }
    .blog-list-grid .news-one__single:hover .news-one__img img { transform: none; }
}

.blog-list-grid > .blog-box[hidden] { display: none; }
.blog-list-grid { scroll-margin-top: 100px; }
.news-page .blog-pagination button {
    display: inline-block;
    min-width: 44px;
    height: 44px;
    line-height: 42px;
    padding: 0 14px;
    border: 1px solid #dfe8d9;
    border-radius: 12px;
    background: #fff;
    color: var(--green);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 6px rgb(28 61 39 / 3%);
}
.news-page .blog-pagination button:hover,
.news-page .blog-pagination button:focus-visible {
    background: #204d35;
    border-color: #204d35;
    color: #fff;
}
.news-page .blog-pagination button:focus-visible { outline: 2px solid #32744c; outline-offset: 3px; }
@media (max-width: 575px) {
    .news-page .blog-pagination button { min-width: 36px; padding: 0 6px; }
}
