.afd-news-section {
    padding: 80px 40px 76px;
    background: #ffffff;
}

.afd-news-section__inner {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.afd-news-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    min-height: 65px;
    margin-bottom: 48px;
}

.afd-news-section__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.afd-news-section__line {
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #e2001a 0%, #8a000f 100%);
    border-radius: 2px;
}

.afd-news-section h2 {
    margin: 0;
    color: #0d1f3c;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 44.8px;
    font-weight: 700;
    line-height: 44.8px;
    text-transform: uppercase;
}

.afd-news-section__link {
    color: #0057a8;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.72px;
    line-height: 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.afd-news-section__link:hover,
.afd-news-section__link:focus {
    color: #0d1f3c;
}

.afd-news-archive {
    background: #ffffff;
}

.afd-news-archive__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 40px 52px;
    background: #f0f5fc;
    border-bottom: 1px solid #dce8f4;
}

.afd-news-archive__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, #f0f5fc 0%, rgba(240, 245, 252, 0.98) 36%, rgba(240, 245, 252, 0.8) 62%, rgba(240, 245, 252, 0.52) 100%),
        var(--afd-hero-image, none);
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.afd-news-archive__inner {
    position: relative;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.afd-news-archive__eyebrow {
    margin: 18px 0 12px;
    color: #0057a8;
    font-family: "Barlow", sans-serif;
    font-size: 10.4px;
    font-weight: 600;
    letter-spacing: 2.6px;
    line-height: 15.6px;
    text-transform: uppercase;
}

.afd-news-archive h1 {
    margin: 0;
    color: #0d1f3c;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 60.8px;
    text-transform: uppercase;
}

.afd-news-archive__intro {
    max-width: 680px;
    margin: 18px 0 0;
    color: #5a6a85;
    font-family: "Barlow", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28.8px;
}

.afd-news-archive__body {
    padding: 64px 40px 96px;
}

.afd-news-list--archive {
    border-top: 1px solid #dce8f4;
}

.afd-news-archive__empty {
    margin: 0;
    color: #5a6a85;
    font-family: "Barlow", sans-serif;
    font-size: 16px;
    line-height: 28px;
}

.afd-news-pagination {
    margin-top: 42px;
}

.afd-news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.afd-news-pagination a,
.afd-news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #dce8f4;
    color: #0d1f3c;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.72px;
    line-height: 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.afd-news-pagination .current,
.afd-news-pagination a:hover,
.afd-news-pagination a:focus {
    border-color: #0057a8;
    background: linear-gradient(90deg, #0057a8 0%, #14a0d7 100%);
    color: #ffffff;
}

.afd-news-list {
    width: 100%;
}

.afd-news-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 36px;
    align-items: flex-start;
    min-height: 121px;
    padding: 32px 24px;
    border-bottom: 1px solid #dce8f4;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.afd-news-item:hover {
    background-color: #f4f8fd;
    border-bottom-color: transparent;
    box-shadow: 0 8px 24px rgba(13, 31, 60, 0.04);
    transform: translateY(-2px);
}

.afd-news-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.afd-news-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 10px;
    background: linear-gradient(90deg, #0d1f3c 0%, #14a0d7 100%);
    color: #ffffff;
    font-family: "Barlow", sans-serif;
    font-size: 9.28px;
    font-weight: 600;
    letter-spacing: 1.299px;
    line-height: 13.92px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 87, 168, 0.15);
}

.afd-news-pill:hover,
.afd-news-pill:focus {
    color: #ffffff;
    filter: brightness(0.95);
}

.afd-news-pill.is-important {
    background: linear-gradient(90deg, #e2001a 0%, #8a000f 100%);
    box-shadow: 0 2px 6px rgba(226, 0, 26, 0.15);
}

.afd-news-meta time {
    color: #5a6a85;
    font-family: "Barlow", sans-serif;
    font-size: 11.68px;
    font-weight: 500;
    letter-spacing: 0.467px;
    line-height: 17.52px;
}

.afd-news-copy h3 {
    margin: 0 0 8px;
}

.afd-news-copy h3 a {
    color: #0d1f3c;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 19.2px;
    font-weight: 700;
    letter-spacing: 0.384px;
    line-height: 23.04px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.afd-news-copy h3 a:hover,
.afd-news-copy h3 a:focus,
.afd-news-item:hover .afd-news-copy h3 a {
    color: #0057a8;
}

.afd-news-copy p {
    margin: 0;
    color: #5a6a85;
    font-family: "Barlow", sans-serif;
    font-size: 14.4px;
    font-weight: 400;
    line-height: 25.2px;
}

@media (max-width: 767px) {
    .afd-news-section {
        padding: 64px 24px;
    }

    .afd-news-archive__hero {
        padding: 64px 24px 40px;
    }

    .afd-news-archive h1 {
        font-size: 44px;
        line-height: 42px;
    }

    .afd-news-archive__body {
        padding: 40px 24px 64px;
    }

    .afd-news-section__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .afd-news-section h2 {
        font-size: 40px;
    }

    .afd-news-item {
        grid-template-columns: 1fr;
        row-gap: 18px;
        align-items: flex-start;
        padding: 20px 0;
    }

    .afd-news-pill {
        width: 100%;
    }
}
