.news-page {
    background: #f5f7fb;
    color: #172432;
}

.news-page .container {
    position: relative !important;
}

.news-hero {
    padding: 58px 0 42px;
    background: #fff;
    border-bottom: 1px solid #dce5f0;
    text-align: center;
}

.news-hero h1 {
    max-width: 840px;
    margin: 16px auto 0;
    color: #021b3b;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.news-hero p {
    max-width: 780px;
    margin: 16px auto 0;
    color: #5d6875;
    font-size: 17px;
    line-height: 1.65;
}

.news-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(680px, 100%);
    margin: 28px auto 0;
}

.news-search .form-control {
    min-height: 46px;
    border-color: #cbd9eb;
    border-radius: 8px;
}

.news-search .btn {
    min-width: 124px;
}

.news-list-section {
    padding: 44px 0 72px;
}

.news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid #dfe8f2;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

.news-filter-bar a {
    color: #0500d1;
    text-decoration: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe8f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(13, 32, 55, 0.09);
}

.news-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce5f0;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.news-card:hover .news-card-media img {
    transform: scale(1.025);
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.news-card-body > span {
    color: #0500d1;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.news-card h2 {
    margin: 12px 0 0;
    color: #021b3b;
    font-size: 24px !important;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.news-card h2 a {
    color: inherit;
    text-decoration: none;
}

.news-card h2 a:hover {
    color: #0500d1;
}

.news-card-body p {
    margin: 12px 0 0;
    color: #5d6875;
    font-size: 15px;
    line-height: 1.6;
}

.news-card-subtitle {
    color: #334155 !important;
    font-weight: 700;
}

.news-card-body .btn {
    align-self: flex-start;
    margin-top: auto;
}

.news-empty {
    max-width: 620px;
    padding: 54px 28px;
    margin: 0 auto;
    border: 1px solid #dfe8f2;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.news-empty i {
    color: #0500d1;
    font-size: 42px;
}

.news-empty h2 {
    margin: 14px 0 8px;
    color: #172432;
    font-size: 26px;
    font-weight: 800;
}

.news-empty p {
    margin: 0;
    color: #5d6875;
}

.news-empty .btn {
    margin-top: 20px;
}

@media only screen and (max-width: 991.98px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 575.98px) {
    .news-hero {
        padding: 38px 0 30px;
    }

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

    .news-hero p {
        font-size: 15px;
    }

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

    .news-search .btn {
        width: 100%;
    }

    .news-list-section {
        padding: 30px 0 52px;
    }

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

    .news-card-body {
        padding: 20px;
    }

    .news-card h2 {
        font-size: 21px !important;
    }
}
