:root {
    --news-green: #4555ce;
    --news-green-dark: #273cae;
    --news-blue: #1677ff;
    --news-cyan: #08c9e8;
    --news-ink: #20263d;
    --news-text: #596078;
    --news-muted: #9299ae;
    --news-line: #e8ecf6;
    --news-bg: #f4f8ff;
}

.modern-news-page {
    position: relative;
    margin: 0;
    padding: 62px 0 90px;
    background:
        radial-gradient(circle at 7% 8%, rgba(69, 85, 206, .09), transparent 27%),
        radial-gradient(circle at 94% 30%, rgba(0, 122, 255, .07), transparent 24%),
        var(--news-bg);
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.modern-news-container {
    max-width: 1320px;
}

.modern-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.modern-news-main,
.modern-sidebar-card {
    background: #fff;
    border: 1px solid rgba(226, 231, 246, .95);
    box-shadow: 0 18px 54px rgba(69, 85, 206, .08);
}

.modern-news-main {
    overflow: hidden;
    border-radius: 20px;
}

.modern-news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 38px 25px;
    border-bottom: 1px solid var(--news-line);
}

.modern-news-eyebrow,
.modern-sidebar-card > header > span {
    display: block;
    margin-bottom: 7px;
    color: var(--news-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
}

.modern-news-heading h1,
.modern-sidebar-card h2 {
    margin: 0;
    color: var(--news-ink);
    font-weight: 650;
}

.modern-news-heading h1 {
    font-size: 30px;
    line-height: 1.25;
}

.modern-news-heading > p {
    margin: 0 0 4px;
    color: var(--news-muted);
    font-size: 13px;
}

.modern-news-list {
    padding: 0 38px;
}

.modern-news-item {
    margin: 0;
    border-bottom: 1px solid var(--news-line);
}

.modern-news-item:last-child {
    border-bottom: 0;
}

.modern-news-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 238px;
    gap: 34px;
    align-items: center;
    min-height: 216px;
    padding: 28px 0;
    color: inherit;
    text-decoration: none;
}

.modern-news-link:hover,
.modern-news-link:focus {
    color: inherit;
    text-decoration: none;
}

.modern-news-type {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--news-blue);
    font-size: 12px;
    font-weight: 600;
}

.modern-news-type i {
    width: 28px;
    height: 1px;
    background: #c7d2f7;
}

.modern-news-copy h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 11px;
    color: var(--news-ink);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .22s ease;
}

.modern-news-link:hover .modern-news-copy h2 {
    color: var(--news-green);
}

.modern-news-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--news-text);
    font-size: 14px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.modern-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
    margin-top: 19px;
    color: var(--news-muted);
    font-size: 12px;
}

.modern-news-meta time,
.modern-news-meta span,
.modern-news-meta em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-style: normal;
}

.modern-news-meta em {
    margin-left: auto;
    color: var(--news-blue);
    font-weight: 600;
}

.modern-news-meta em i {
    transition: transform .22s ease;
}

.modern-news-link:hover .modern-news-meta em i {
    transform: translateX(4px);
}

.modern-news-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.52;
    background:
        linear-gradient(135deg, rgba(69, 85, 206, .13), rgba(0, 122, 255, .10)),
        #edf3ff;
    border-radius: 13px;
}

.modern-news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: inherit;
    pointer-events: none;
}

.modern-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

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

.modern-news-pagination {
    padding: 26px 38px 34px;
    border-top: 1px solid var(--news-line);
}

.modern-news-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
}

.modern-news-pagination .pagination > li > a,
.modern-news-pagination .pagination > li > span {
    min-width: 39px;
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: #61726b;
    background: #fff;
    border: 1px solid #d8e4de;
    border-radius: 9px;
    font-size: 13px;
}

.modern-news-pagination .pagination > .active > a,
.modern-news-pagination .pagination > .active > span,
.modern-news-pagination .pagination > li > a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--news-green), var(--news-blue));
    border-color: var(--news-green);
    box-shadow: 0 8px 20px rgba(69, 85, 206, .22);
}

.modern-news-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.modern-sidebar-card {
    padding: 27px 25px;
    border-radius: 17px;
}

.modern-sidebar-card > header {
    position: relative;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--news-line);
}

.modern-sidebar-card > header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--news-green);
}

.modern-sidebar-card h2 {
    font-size: 21px;
}

.modern-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 20px;
}

.modern-topic-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    color: #5e6684;
    background: #f3f6ff;
    border: 1px solid #e4e9f9;
    border-radius: 18px;
    font-size: 12px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border .2s ease;
}

.modern-topic-tags a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--news-green), var(--news-blue));
    border-color: var(--news-green);
}

.modern-hot-list {
    margin: 0;
    padding: 7px 0 0;
    list-style: none;
}

.modern-hot-list li {
    border-bottom: 1px solid #edf2ef;
}

.modern-hot-list li:last-child {
    border-bottom: 0;
}

.modern-hot-list a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 15px 0;
    color: inherit;
    text-decoration: none;
}

.modern-hot-list a > em {
    color: #a8b7b0;
    font-size: 18px;
    font-style: normal;
    font-weight: 650;
    line-height: 1.25;
}

.modern-hot-list li:nth-child(-n+3) a > em {
    color: var(--news-blue);
}

.modern-hot-list a > span,
.modern-hot-list strong,
.modern-hot-list small {
    display: block;
    min-width: 0;
}

.modern-hot-list strong {
    display: -webkit-box;
    overflow: hidden;
    color: #343b56;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.modern-hot-list small {
    margin-top: 4px;
    overflow: hidden;
    color: #97a39e;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-hot-list a:hover strong {
    color: var(--news-green);
}

.modern-consult-card {
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(62, 229, 255, .30), transparent 42%),
        linear-gradient(145deg, #4555ce, #1677ff);
    border-color: transparent;
}

.modern-consult-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #dffbff;
    background: rgba(255, 255, 255, .1);
    border-radius: 12px;
    font-size: 20px;
}

.modern-consult-card h2 {
    color: #fff;
    font-size: 18px;
}

.modern-consult-card p {
    margin: 8px 0 19px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.75;
}

.modern-consult-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    color: #fff;
    background: linear-gradient(100deg, #4555ce, #09c9e8);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .modern-news-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .modern-news-link {
        grid-template-columns: minmax(0, 1fr) 210px;
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .modern-news-page {
        padding-top: 42px;
    }

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

    .modern-news-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modern-consult-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .modern-news-page {
        padding: 28px 0 58px;
    }

    .modern-news-main {
        border-radius: 15px;
    }

    .modern-news-heading {
        display: block;
        padding: 25px 20px 20px;
    }

    .modern-news-heading h1 {
        font-size: 25px;
    }

    .modern-news-heading > p {
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.65;
    }

    .modern-news-list {
        padding: 0 20px;
    }

    .modern-news-link {
        display: flex;
        flex-direction: column-reverse;
        gap: 18px;
        align-items: stretch;
        padding: 22px 0;
    }

    .modern-news-image {
        aspect-ratio: 16 / 9;
    }

    .modern-news-copy h2 {
        font-size: 19px;
    }

    .modern-news-summary {
        font-size: 13px;
    }

    .modern-news-meta {
        gap: 8px 13px;
        margin-top: 14px;
    }

    .modern-news-meta em {
        width: 100%;
        margin-left: 0;
    }

    .modern-news-pagination {
        padding: 22px 20px 27px;
    }

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

    .modern-consult-card {
        grid-column: auto;
    }

    .modern-sidebar-card {
        padding: 23px 20px;
        border-radius: 14px;
    }
}
