.portal-news-section {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.portal-news-heading,
.news-page-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.portal-news-eyebrow {
    display: inline-flex;
    margin-bottom: 6px;
    color: #635bff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.portal-news-heading h2,
.news-page-list-head h2 {
    margin: 0;
    color: #172033;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.portal-news-heading p,
.news-page-list-head p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 14px;
}

.portal-news-more,
.news-page-list-head > a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid #cfd9e8;
    border-radius: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.portal-news-more:hover,
.news-page-list-head > a:hover {
    border-color: #217ef6;
    color: #217ef6;
    transform: translateY(-1px);
}

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

.portal-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.portal-news-card:hover {
    border-color: #b9c9df;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .10);
    transform: translateY(-3px);
}

.portal-news-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eaf2ff;
}

.portal-news-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.portal-news-card:hover .portal-news-cover > img {
    transform: scale(1.035);
}

.portal-news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .85), transparent 32%),
        linear-gradient(135deg, #eef4ff 0%, #d9e8ff 48%, #e7e4ff 100%);
    color: #344054;
}

.portal-news-placeholder img {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 5px 14px rgba(29, 78, 216, .12);
}

.portal-news-placeholder strong {
    font-size: 18px;
    letter-spacing: .04em;
}

.portal-news-cover time {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(7px);
}

.portal-news-card-body {
    padding: 15px;
}

.portal-news-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
    color: #667085;
    font-size: 11px;
}

.portal-news-source span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-news-source em {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 5px;
    background: #eef4ff;
    color: #217ef6;
    font-style: normal;
}

.portal-news-card h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: #172033;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.portal-news-card h3 a:hover {
    color: #217ef6;
}

.portal-news-card-body > p {
    display: -webkit-box;
    min-height: 60px;
    margin: 10px 0 13px;
    overflow: hidden;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.portal-news-read {
    color: #217ef6;
    font-size: 12px;
    font-weight: 700;
}

.portal-news-empty {
    padding: 52px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #667085;
    text-align: center;
}

.portal-news-page {
    min-width: 0;
    background: #f3f6fb;
    color: #172033;
}

.news-site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid #dde4ee;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.news-site-header-inner,
.news-page-main,
.news-footer-inner {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
}

.news-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.news-site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-site-brand img {
    width: 118px;
    height: 36px;
    object-fit: contain;
}

.news-site-brand span {
    display: flex;
    flex-direction: column;
}

.news-site-brand strong {
    color: #172033;
    font-size: 15px;
}

.news-site-brand small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 10px;
}

.news-site-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-site-header nav a {
    padding: 9px 13px;
    border-radius: 8px;
    color: #475467;
    font-size: 14px;
}

.news-site-header nav a:hover,
.news-site-header nav a.is-active {
    background: #eef4ff;
    color: #217ef6;
}

.news-page-main {
    display: block;
    padding: 34px 0 48px;
}

.news-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 34px 38px;
    overflow: hidden;
    border: 1px solid #d8e2ef;
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 20%, rgba(99, 91, 255, .13), transparent 30%),
        linear-gradient(135deg, #fff 0%, #f6f9ff 64%, #edf4ff 100%);
    box-shadow: 0 15px 40px rgba(15, 23, 42, .07);
}

.news-page-hero h1 {
    margin: 2px 0 10px;
    color: #101828;
    font-size: 36px;
    font-weight: 850;
    line-height: 1.2;
}

.news-page-hero p {
    max-width: 760px;
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.75;
}

.news-page-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-page-title-row > span {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid #cfd9e8;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.news-page-hero-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #cfd9e8;
    border-radius: 9px;
    background: rgba(255, 255, 255, .76);
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.news-page-list {
    margin-top: 20px;
    padding: 26px;
    border: 1px solid #d9e2ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.portal-news-grid-page {
    row-gap: 20px;
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.news-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-pagination .pagination a,
.news-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d5deea;
    border-radius: 8px;
    background: #fff;
    color: #475467;
}

.news-pagination .pagination .active span,
.news-pagination .pagination a:hover {
    border-color: #217ef6;
    background: #217ef6;
    color: #fff;
}

.portal-news-page footer {
    margin-top: 0;
    background: #172033;
    color: #d0d5dd;
}

.portal-news-page footer .title {
    color: #fff;
}

.portal-news-page footer a {
    color: #d0d5dd;
}

.portal-news-page .copyright {
    border-top: 1px solid #d9e2ef;
    background: #eef2f7;
    color: #475467;
}

.news-footer-inner {
    padding-right: 0;
    padding-left: 0;
}

.news-footer-about {
    max-width: 520px;
}

.news-footer-about .desc {
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 1180px) {
    .portal-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-page-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 860px) {
    .portal-news-section,
    .news-page-list {
        padding: 18px;
    }

    .portal-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-site-header-inner,
    .news-page-main,
    .news-footer-inner {
        width: min(100% - 24px, 1480px);
    }

    .news-site-brand span {
        display: none;
    }

    .news-page-hero {
        padding: 26px;
    }

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

@media (max-width: 560px) {
    .portal-news-heading,
    .news-page-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .portal-news-heading h2,
    .news-page-list-head h2 {
        font-size: 21px;
    }

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

    .news-site-header-inner {
        min-height: 60px;
    }

    .news-site-brand img {
        width: 96px;
        height: 30px;
    }

    .news-site-header nav {
        gap: 2px;
    }

    .news-site-header nav a {
        padding: 8px;
        font-size: 12px;
    }

    .news-page-main {
        padding-top: 18px;
    }

    .news-page-hero {
        padding: 22px 18px;
    }

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

    .portal-news-card-body > p {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-news-card,
    .portal-news-cover > img,
    .portal-news-more,
    .news-page-list-head > a {
        transition: none;
    }
}
