.news-page-hero {
    position: relative;
    overflow: hidden;
    background: #0b365e url('../images/IMG20191102135258.jpg') center 38% / cover no-repeat;
}

.news-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 31, 56, .82), rgba(4, 31, 56, .43));
}

.news-page-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 390px;
    padding-top: 92px;
    padding-bottom: 45px;
}

.news-page-hero-content > div {
    max-width: 720px;
}

.news-page-eyebrow,
.news-directory-kicker,
.news-category-heading span {
    color: #3d96df;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.news-page-hero h1 {
    margin: 8px 0 13px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(38px, 4.2vw, 54px);
    font-weight: 700;
    line-height: 1.12;
}

.news-page-hero p {
    max-width: 650px;
    margin: 0;
    color: #e1ebf3;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.news-directory {
    padding: clamp(54px, 6vw, 82px) 0;
    background: linear-gradient(180deg, #f6f9fb, #fff 48%, #f7f9fb);
}

.news-directory-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}

.news-directory-heading h2,
.news-category-heading h2 {
    margin: 4px 0 0;
    color: #17324d;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.news-directory-heading h2 {
    font-size: clamp(27px, 2.5vw, 34px);
}

.news-result-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid #dbe6ee;
    border-radius: 18px;
    color: #536a7d;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(16, 76, 153, .06);
}

.news-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe8ef;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(16, 55, 90, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover {
    border-color: #c3d8e8;
    box-shadow: 0 16px 36px rgba(16, 55, 90, .14);
    transform: translateY(-4px);
}

.news-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #dfe7ed;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.045);
}

.news-card-category {
    position: absolute;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 5px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 5px;
    color: #fff;
    background: rgba(9, 57, 103, .9);
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.news-card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 20px 19px 18px;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #65798a;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.news-card-date svg {
    width: 15px;
    height: 15px;
    stroke: #1768b3;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.news-card h3 {
    margin: 0 0 11px;
    color: #17324d;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.news-card h3 a {
    color: inherit;
}

.news-card h3 a:hover {
    color: #104C99;
}

.news-card p {
    display: -webkit-box;
    margin-bottom: 18px;
    overflow: hidden;
    color: #536879;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    color: #104C99;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.news-card-link svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.news-card-link:hover svg {
    transform: translateX(3px);
}

.news-category-panel {
    position: sticky;
    top: 105px;
    overflow: hidden;
    margin-top: 1px;
    border: 1px solid #dfe8ef;
    border-top: 3px solid #104C99;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 55, 90, .09);
}

.news-category-heading {
    padding: 23px 21px 17px;
    border-bottom: 1px solid #e7edf2;
    background: linear-gradient(135deg, #fff, #f3f7fa);
}

.news-category-heading h2 {
    font-size: 21px;
}

.news-category-panel nav {
    padding: 10px;
}

.news-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 3px;
    padding: 11px 12px;
    border-radius: 6px;
    color: #344c60;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s ease, background .2s ease;
}

.news-category-link strong {
    flex: 0 0 auto;
    min-width: 27px;
    padding: 3px 7px;
    border-radius: 14px;
    color: #104C99;
    background: #eaf2f9;
    font-size: 11px;
    text-align: center;
}

.news-category-link:hover,
.news-category-link.active {
    color: #fff;
    background: #104C99;
}

.news-category-link:hover strong,
.news-category-link.active strong {
    color: #104C99;
    background: #fff;
}

.news-pagination {
    margin-top: 16px;
}

.news-pagination .pagination {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}

.news-pagination .page-link {
    min-width: 38px;
    border: 1px solid #d9e4ec;
    border-radius: 6px !important;
    color: #104C99;
    text-align: center;
    box-shadow: none;
}

.news-pagination .page-item.active .page-link {
    border-color: #104C99;
    background: #104C99;
}

.news-empty-state {
    padding: 55px 25px;
    border: 1px dashed #c7d6e1;
    border-radius: 10px;
    color: #536879;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.news-empty-state svg {
    width: 45px;
    height: 45px;
    margin-bottom: 13px;
    stroke: #104C99;
    stroke-width: 1.4;
}

.news-empty-state h3 {
    margin-bottom: 7px;
    color: #17324d;
    font-size: 21px;
}

.news-empty-state a {
    color: #104C99;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .news-category-panel {
        position: static;
        margin-top: 27px;
    }

    .news-category-panel nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .news-category-link {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .news-page-hero-content {
        min-height: 330px;
        padding-top: 104px;
        padding-bottom: 38px;
    }

    .news-page-hero h1 {
        font-size: 38px;
    }

    .news-page-hero p {
        font-size: 15px;
        line-height: 1.55;
    }

    .news-directory {
        padding: 48px 0;
    }

    .news-directory-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .news-card-body {
        padding: 18px 17px 17px;
    }
}

@media (max-width: 479.98px) {
    .news-category-panel nav {
        grid-template-columns: 1fr;
    }

    .news-page-hero h1 {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card,
    .news-card-image img,
    .news-card-link svg {
        transition: none;
    }
}
