.latest-news {
    background: #ffffff;
}

.latest-news__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.latest-news__heading > div:first-child > span {
    display: block;
    margin-bottom: 5px;
    color: #079447;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.latest-news__heading h2 {
    margin: 0 0 8px;
    color: #17332a;
    font-size: clamp(1.55rem, 2.7vw, 2.15rem);
    font-weight: 700;
}

.latest-news__heading p {
    max-width: 620px;
    margin: 0;
    color: #64746d;
}

.latest-news__actions,
.latest-news__navigation {
    display: flex;
    align-items: center;
    gap: 9px;
}

.latest-news__navigation button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #075b35;
    background: #ffffff;
    border: 1px solid #9bcab0;
    border-radius: 9px;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.latest-news__navigation button:hover,
.latest-news__navigation button:focus-visible {
    color: #ffffff;
    background: #087443;
    border-color: #087443;
    outline: none;
}

.latest-news__all {
    display: inline-flex;
    padding: 11px 16px;
    align-items: center;
    gap: 9px;
    color: #075b35 !important;
    font-size: .84rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #9bcab0;
    border-radius: 9px;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.latest-news__all:hover {
    color: #ffffff !important;
    background: #087443;
    border-color: #087443;
}

.latest-news__highlights {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
    gap: 20px;
}

.latest-news-highlight {
    flex: 0 0 calc((min(1110px, 100vw - 30px) - 20px) / 2);
    width: calc((min(1110px, 100vw - 30px) - 20px) / 2);
    scroll-snap-align: start;
}

.latest-news-highlight > a {
    display: flex;
    overflow: hidden;
    height: 100%;
    color: inherit;
    background: #ffffff;
    border: 1px solid #dfe9e3;
    border-radius: 16px;
    box-shadow: 0 9px 28px rgba(23, 51, 42, .07);
    flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.latest-news-highlight > a:hover {
    color: inherit;
    border-color: #079447;
    box-shadow: 0 16px 34px rgba(7, 91, 53, .12);
    transform: translateY(-3px);
}

.latest-news-highlight__image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: #eaf6ef;
}

.latest-news-highlight__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.latest-news-highlight > a:hover .latest-news-highlight__image img {
    transform: scale(1.04);
}

.latest-news-highlight__content {
    display: flex;
    min-width: 0;
    min-height: 255px;
    padding: 25px 27px;
    flex-direction: column;
}

.latest-news-highlight__content time,
.latest-news__content time {
    margin-bottom: 10px;
    color: #079447;
    font-size: .78rem;
    font-weight: 600;
}

.latest-news-highlight__content time i,
.latest-news__content time i {
    margin-right: 5px;
}

.latest-news-highlight__content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #17332a;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-news-highlight__content > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: #64746d;
    font-size: .88rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-news-highlight__content > div {
    display: flex;
    margin-top: auto;
    padding-top: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #74827c;
    font-size: .74rem;
    border-top: 1px solid #edf2ef;
}

.latest-news-highlight__content > div span i {
    margin-right: 5px;
    color: #079447;
}

.latest-news-highlight__content strong {
    color: #087443;
    font-size: .76rem;
    white-space: nowrap;
}

.latest-news-highlight__content strong i {
    margin-left: 5px;
}

.latest-news__subheading {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    justify-content: space-between;
}

.latest-news__subheading > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.latest-news__subheading h3 {
    margin: 0;
    color: #17332a;
    font-size: 1.12rem;
    font-weight: 700;
}

.latest-news__subheading span {
    color: #74827c;
    font-size: .78rem;
}

.latest-news__viewport {
    overflow-x: auto;
    padding: 3px 2px 16px;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.latest-news__viewport--featured {
    margin-bottom: 38px;
}

.latest-news__viewport::-webkit-scrollbar {
    display: none;
}

.latest-news__viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.latest-news__viewport.is-dragging a {
    pointer-events: none;
}

.latest-news__viewport:focus-visible {
    border-radius: 12px;
    outline: 3px solid rgba(7, 148, 71, .22);
    outline-offset: 4px;
}

.latest-news__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
    gap: 18px;
}

.latest-news__card {
    flex: 0 0 calc((min(1110px, 100vw - 30px) - 54px) / 4);
    width: calc((min(1110px, 100vw - 30px) - 54px) / 4);
    scroll-snap-align: start;
}

.latest-news__card > a {
    display: flex;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    color: inherit;
    background: #ffffff;
    border: 1px solid #dfe9e3;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(23, 51, 42, .05);
    flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.latest-news__card > a:hover {
    color: inherit;
    border-color: #079447;
    box-shadow: 0 14px 30px rgba(7, 91, 53, .11);
    transform: translateY(-3px);
}

.latest-news__image {
    overflow: hidden;
    height: 190px;
    background: #eaf6ef;
}

.latest-news__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .45s ease;
}

.latest-news__card > a:hover .latest-news__image img {
    transform: scale(1.04);
}

.latest-news__content {
    display: flex;
    min-width: 0;
    padding: 19px;
    flex: 1;
    flex-direction: column;
}

.latest-news__content time {
    margin-bottom: 8px;
    font-size: .74rem;
}

.latest-news__content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 9px;
    color: #17332a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-news__content > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 15px;
    color: #64746d;
    font-size: .84rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.latest-news__footer {
    display: flex;
    margin-top: auto;
    padding-top: 13px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #74827c;
    font-size: .72rem;
    border-top: 1px solid #edf2ef;
}

.latest-news__footer > span:first-child i {
    margin-right: 5px;
    color: #079447;
}

.latest-news__read {
    color: #087443;
    font-weight: 700;
    white-space: nowrap;
}

.latest-news__read i {
    margin-left: 4px;
}

.latest-news__hint {
    margin: 7px 0 0;
    color: #64746d;
    font-size: .78rem;
    text-align: center;
}

.latest-news__hint i {
    margin-right: 6px;
    color: #079447;
}

.latest-news__empty {
    padding: 26px;
    color: #64746d;
    text-align: center;
    background: #f6faf7;
    border: 1px solid #dfe9e3;
    border-radius: 12px;
}

@media (max-width: 1199.98px) {
    .latest-news__card {
        flex-basis: calc((min(930px, 100vw - 30px) - 36px) / 3);
        width: calc((min(930px, 100vw - 30px) - 36px) / 3);
    }
}

@media (max-width: 991.98px) {
    .latest-news-highlight__image {
        height: 270px;
    }

    .latest-news__card {
        flex-basis: calc((min(690px, 100vw - 30px) - 18px) / 2);
        width: calc((min(690px, 100vw - 30px) - 18px) / 2);
    }

    .latest-news-highlight {
        flex-basis: calc((min(690px, 100vw - 30px) - 20px) / 2);
        width: calc((min(690px, 100vw - 30px) - 20px) / 2);
    }
}

@media (max-width: 767.98px) {
    .latest-news {
        padding: 46px 0;
    }

    .latest-news__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .latest-news__actions {
        width: 100%;
        justify-content: space-between;
    }

    .latest-news__viewport--featured {
        margin-bottom: 32px;
    }

    .latest-news-highlight {
        flex-basis: 88vw;
        width: 88vw;
        max-width: 420px;
    }

    .latest-news-highlight__image {
        height: 250px;
    }

    .latest-news-highlight__content {
        min-height: 230px;
        padding: 20px;
    }

    .latest-news__card {
        flex-basis: 84vw;
        width: 84vw;
        max-width: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-news__viewport {
        scroll-behavior: auto;
    }
}
