footer {
    margin-top: 0;
}

.news-page {
    background: #f4f7f5;
    color: #1a3856;
}

.news-content {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1240px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.news-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.news-list-banner {
    background-position: center 58%;
}

.news-content {
    padding-bottom: 104px;
    padding-top: 72px;
}

.news-list-heading h2 {
    color: #1a3856;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 14px;
}

.news-feature,
.news-card {
    background: #ffffff;
    border: 1px solid #dbe5dd;
    border-radius: 8px;
    overflow: hidden;
}

.news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
}

.news-feature__media,
.news-card__media {
    display: block;
    overflow: hidden;
}

.news-feature__media {
    min-height: 375px;
}

.news-feature__media img,
.news-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
    width: 100%;
}

.news-feature:hover img,
.news-card:hover img {
    transform: scale(1.035);
}

.news-feature__body,
.news-card__body {
    display: flex;
    flex-direction: column;
}

.news-feature__body {
    justify-content: center;
    padding: 46px;
}

.news-meta {
    color: #5a9b22;
}

.news-feature h3,
.news-card h3 {
    color: #1a3856;
    font-weight: 700;
    line-height: 1.26;
}

.news-feature h3 {
    font-size: 31px;
    margin-top: 16px;
}

.news-title-link {
    color: inherit;
    transition: color 200ms ease;
}

.news-title-link:hover {
    color: #5a9b22;
}

.news-feature p,
.news-card p {
    color: #587086;
    line-height: 1.72;
    margin-top: 17px;
}

.news-link {
    align-items: center;
    align-self: flex-start;
    color: #5a9b22;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 5px;
    margin-top: 28px;
    transition: color 200ms ease;
}

.news-link span {
    font-size: 18px;
    line-height: 1;
    transition: transform 200ms ease;
}

.news-link:hover {
    color: #ef8201;
}

.news-link:hover span {
    transform: translateX(4px);
}

.news-list-heading {
    border-top: 1px solid #d6e1d7;
    margin-top: 72px;
    padding-top: 28px;
}

.news-list-heading h2 {
    font-size: 28px;
}

.news-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-card__media {
    aspect-ratio: 16 / 9;
}

.news-card__media--product {
    align-items: center;
    background: #eaf1ea;
    display: flex;
    justify-content: center;
}

.news-card__media--product img {
    height: 82%;
    object-fit: contain;
    width: 72%;
}

.news-card__body {
    flex: 1;
    padding: 30px;
}

.news-card h3 {
    font-size: 24px;
    margin-top: 15px;
}

.news-card .news-link {
    margin-top: auto;
    padding-top: 28px;
}

.news-feature__media:focus-visible,
.news-card__media:focus-visible,
.news-title-link:focus-visible,
.news-link:focus-visible {
    outline: 3px solid #ef8201;
    outline-offset: 4px;
}

@media screen and (max-width: 768px) {
    .news-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .news-content {
        padding-bottom: 68px;
        padding-top: 58px;
    }

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

    .news-feature__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .news-feature__body {
        padding: 28px;
    }

    .news-feature h3 {
        font-size: 27px;
    }

    .news-list-heading {
        margin-top: 52px;
    }

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

@media screen and (max-width: 420px) {
    .news-feature__body,
    .news-card__body {
        padding: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-feature__media img,
    .news-card__media img,
    .news-title-link,
    .news-link,
    .news-link span {
        transition: none;
    }
}
