.news-section {
    padding-top: 10px;
    position: relative;
}

.news-section h2 {
    margin: 8px auto 0;
    max-width: 900px;
    text-align: center;
    font-size: clamp(34px, 3.2vw, 48px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-weight: 600;
}

.news-stack {
    position: relative;
    margin-top: 30px;
    max-height: 1160px;
    overflow: hidden;
    border-radius: 24px;
    padding-bottom: 118px;
}

.news-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(92px, auto);
    align-items: start;
}

.news-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 18px;
    overflow: clip;
    border: 1px solid #e2e6ee;
    background: #ffffff;
    box-shadow: 0 14px 32px -30px rgba(22, 40, 86, 0.45);
    opacity: 0;
    transform: translate3d(0, 44px, 0) scale(0.98);
    transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.62s ease, box-shadow 0.34s ease, border-color 0.34s ease, background-color 0.34s ease;
}

.news-card::after {
    content: "";
    position: absolute;
    inset: auto -22% -58% -22%;
    height: 64%;
    background: radial-gradient(closest-side, rgba(27, 67, 148, 0.22), transparent 72%);
    opacity: 0;
    transition: opacity 0.34s ease;
    pointer-events: none;
}

.news-card[data-news-enter="left"] {
    transform: translate3d(-56px, 42px, 0) scale(0.97) rotate(-0.8deg);
}

.news-card[data-news-enter="right"] {
    transform: translate3d(56px, 42px, 0) scale(0.97) rotate(0.8deg);
}

.news-card[data-news-enter="up"] {
    transform: translate3d(0, 68px, 0) scale(0.97);
}

.news-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.news-card:hover {
    transform: translate3d(0, -7px, 0) scale(1.012);
    border-color: #d0d8e7;
    background: #ffffff;
    box-shadow: 0 24px 44px -30px rgba(18, 35, 79, 0.45);
}

.news-card:hover::after {
    opacity: 0.8;
}

.news-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.news-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 19, 42, 0) 48%, rgba(9, 19, 42, 0.18) 100%);
    z-index: 1;
    pointer-events: none;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.news-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.12) contrast(1.04);
}

.news-content {
    padding: 12px 14px 14px;
    display: grid;
    gap: 8px;
}

.news-pill {
    width: max-content;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid #d7dfec;
    color: #20305d;
    background: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-transform: uppercase;
}

.news-meta,
.news-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #91949c;
    font-size: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-card h3 {
    font-size: clamp(19px, 1.25vw, 23px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    min-height: 72px;
    font-weight: 600;
    color: #101a32;
    transition: transform 0.34s ease, color 0.34s ease;
}

.news-foot {
    margin-top: 2px;
    align-items: center;
}

.news-foot a {
    color: #18397f;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-weight: 600;
    transition: transform 0.28s ease, color 0.28s ease;
}

.news-card:hover .news-meta {
    transform: translateY(-1px);
}

.news-card:hover h3 {
    transform: translateY(-1px);
    color: #0d214b;
}

.news-card:hover .news-foot {
    transform: translateY(-1px);
}

.news-card:hover .news-foot a {
    transform: translateX(4px);
    color: #0f2f73;
}

.news-card--feature {
    grid-column: 1 / span 8;
    grid-row: 1 / span 2;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr;
}

.news-card--feature .news-media {
    height: 100%;
    min-height: 300px;
}

.news-card--feature .news-content {
    padding: 16px;
    align-content: start;
}

.news-card--feature h3 {
    font-size: clamp(24px, 1.9vw, 32px);
    min-height: 126px;
}

.news-card--tall {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
}

.news-card--tall .news-media {
    height: 260px;
}

.news-card--wide {
    grid-column: span 6;
}

.news-card--c {
    grid-column: 1 / span 6;
    grid-row: 3;
}

.news-card--d {
    grid-column: 7 / span 3;
    grid-row: 3;
}

.news-card--e {
    grid-column: 10 / span 3;
    grid-row: 3;
}

.news-card--f {
    grid-column: 1 / span 8;
    grid-row: 4;
}

.news-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 320px;
    background:
        linear-gradient(180deg, rgba(241, 242, 244, 0) 0%, rgba(241, 242, 244, 0.54) 28%, rgba(241, 242, 244, 0.86) 56%, rgba(241, 242, 244, 0.98) 100%),
        radial-gradient(120% 80% at 50% 100%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 68%);
    backdrop-filter: blur(5px) saturate(1.06);
    -webkit-backdrop-filter: blur(5px) saturate(1.06);
    pointer-events: none;
}

.news-more {
    position: absolute;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    z-index: 4;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 17px;
    border-radius: 999px;
    border: 1px solid #d4dbeb;
    background: rgba(255, 255, 255, 0.92);
    color: #17377a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 18px 30px -24px rgba(17, 37, 82, 0.45);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.news-more-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #bcc9e1;
    background: #ffffff;
    box-shadow: 0 24px 38px -22px rgba(17, 37, 82, 0.52);
}

.news-more-btn span {
    transition: transform 0.24s ease;
}

.news-more-btn:hover span {
    transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
    .news-section h2 {
        font-size: 30px;
    }

    .news-stack {
        max-height: 1060px;
        border-radius: 18px;
        padding-bottom: 102px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        grid-auto-rows: auto;
    }

    .news-card,
    .news-card[data-news-enter="left"],
    .news-card[data-news-enter="right"],
    .news-card[data-news-enter="up"] {
        transform: translate3d(0, 30px, 0) scale(0.985);
    }

    .news-media {
        height: 206px;
    }

    .news-card--feature {
        grid-column: span 2;
        grid-template-columns: 1fr;
        grid-row: auto;
    }

    .news-card--tall,
    .news-card--wide,
    .news-card--c,
    .news-card--d,
    .news-card--e,
    .news-card--f {
        grid-column: span 1;
        grid-row: auto;
    }

    .news-card--feature .news-media {
        min-height: 220px;
    }

    .news-fade {
        height: 250px;
    }

    .news-more {
        bottom: 26px;
    }

    .news-card h3,
    .news-card--feature h3 {
        font-size: 21px;
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .news-stack {
        max-height: 960px;
    }

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

    .news-card--feature,
    .news-card--tall,
    .news-card--wide,
    .news-card--c,
    .news-card--d,
    .news-card--e,
    .news-card--f {
        grid-column: auto;
    }

    .news-fade {
        height: 220px;
    }
}
