:root {
    --news-bg: #edf3f8;
    --news-paper: #ffffff;
    --news-paper-soft: #f4f8fc;
    --news-ink: #18283a;
    --news-muted: #708198;
    --news-line: #d6e1eb;
    --news-primary: #1673ff;
    --news-primary-deep: #0f4fc0;
    --news-primary-soft: #ebf3ff;
    --news-gold: #f0b85c;
    --news-cyan: #19c3d1;
    --news-dark: #0a1422;
    --news-shadow: 0 18px 42px rgba(11, 24, 41, 0.08);
    --news-radius: 22px;
    --news-max-width: 1660px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--news-ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(22, 115, 255, 0.1), transparent 26%),
        radial-gradient(circle at top right, rgba(25, 195, 209, 0.08), transparent 20%),
        linear-gradient(180deg, #f8fbff 0%, var(--news-bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.news-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.news-container {
    width: min(calc(100% - 24px), var(--news-max-width));
    margin: 0 auto;
}

.news-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(215, 225, 236, 0.92);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
}

.news-topbar::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--news-gold), var(--news-primary), var(--news-cyan));
}

.news-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.news-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.news-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, #1ac2cf 0%, #166df1 100%);
    box-shadow: 0 12px 24px rgba(22, 109, 241, 0.22);
}

.news-brand-copy strong {
    display: block;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.news-brand-copy span {
    display: block;
    margin-top: 5px;
    color: var(--news-muted);
    font-size: 13px;
    font-weight: 600;
}

.news-mast-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-home-link {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(47, 103, 182, 0.14);
    color: var(--news-primary);
    background: linear-gradient(180deg, #ffffff, #f3f8ff);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.news-primary-nav,
.news-topic-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.news-primary-nav {
    gap: 24px;
    min-height: 46px;
    border-top: 1px solid rgba(215, 225, 236, 0.75);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.news-primary-nav::-webkit-scrollbar {
    display: none;
}

.news-primary-link {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    color: var(--news-muted);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.news-primary-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
}

.news-primary-link:hover,
.news-primary-link.is-active {
    color: var(--news-primary-deep);
}

.news-primary-link.is-active::after,
.news-primary-link:hover::after {
    background: linear-gradient(90deg, var(--news-primary), var(--news-cyan));
}

.news-main {
    padding: 14px 0 28px;
}

.news-home-intro {
    margin-bottom: 14px;
    padding: 0 2px;
}

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

.news-main-column {
    min-width: 0;
}

.news-panel {
    background: var(--news-paper);
    border: 1px solid var(--news-line);
    border-radius: var(--news-radius);
    box-shadow: var(--news-shadow);
}

.news-panel + .news-panel {
    margin-top: 14px;
}

.news-home-hero {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.news-home-hero .news-section-head {
    padding: 0 2px;
    margin-bottom: 12px;
}

.news-section,
.news-topic-hero,
.news-article-header,
.news-article-body,
.news-aside-card,
.news-promo,
.news-ticker {
    padding: 18px;
}

.news-section-head,
.news-side-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.news-section-head {
    margin-bottom: 16px;
}

.news-side-head {
    margin-bottom: 14px;
}

.news-section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f3f8ff, #eaf3ff);
    color: var(--news-primary-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.news-section-title,
.news-side-title {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.news-section-copy,
.news-subtle {
    color: var(--news-muted);
}

.news-section-copy {
    margin-top: 8px;
    max-width: 720px;
    font-size: 14px;
    line-height: 1.75;
}

.news-subtle {
    font-size: 13px;
    font-weight: 700;
}

.news-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.66fr);
    gap: 16px;
    align-items: start;
}

.news-story-carousel {
    overflow: hidden;
    border-radius: 20px;
    background: var(--news-dark);
    align-self: start;
    box-shadow: 0 20px 46px rgba(10, 20, 34, 0.16);
}

.news-story-slide {
    position: relative;
    display: block;
    height: 100%;
    min-height: clamp(420px, 34vw, 620px);
}

.news-story-media,
.news-card-media,
.news-article-cover {
    height: 100%;
    background:
        radial-gradient(circle at top, rgba(25, 195, 209, 0.22), transparent 34%),
        linear-gradient(135deg, #0b1930, #133a73 62%, #145392 100%);
}

.news-story-media img,
.news-card-media img,
.news-article-cover img {
    height: 100%;
    object-fit: cover;
}

.news-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 16, 28, 0.06) 0%, rgba(8, 16, 28, 0.86) 100%);
}

.news-story-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px;
    color: #fff;
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--news-muted);
    font-size: 12px;
    font-weight: 600;
}

.news-card-meta-light {
    color: rgba(255, 255, 255, 0.86);
}

.news-badge,
.news-chip {
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.news-badge {
    color: #9a6916;
    background: rgba(240, 184, 92, 0.18);
}

.news-chip {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.news-chip-dark {
    color: var(--news-primary-deep);
    background: linear-gradient(180deg, #f3f8ff, #e8f1ff);
}

.news-story-title,
.news-article-title,
.news-topic-hero h1 {
    margin-top: 12px;
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.news-story-summary,
.news-article-summary,
.news-topic-intro {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.9;
}

.news-story-summary {
    color: rgba(255, 255, 255, 0.84);
    max-width: 88%;
}

.news-article-summary,
.news-topic-intro {
    color: var(--news-muted);
}

.news-story-link,
.news-link-row {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--news-primary);
    font-weight: 800;
}

.news-story-link {
    color: #fff;
}

.news-side-column {
    display: grid;
    gap: 16px;
    align-self: start;
    align-content: start;
}

.news-fast-list,
.news-aside-group,
.news-related-grid,
.news-article-grid,
.news-list-grid {
    display: grid;
    gap: 14px;
}

.news-fast-item {
    display: grid;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--news-line);
}

.news-fast-item:last-child,
.news-link-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.news-fast-item strong,
.news-link-item strong,
.news-list-card strong,
.news-card-title {
    font-weight: 760;
}

.news-fast-item strong,
.news-link-item strong {
    font-size: 18px;
    line-height: 1.5;
}

.news-fast-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-fast-item span,
.news-link-item span,
.news-card-summary,
.news-list-card span {
    color: var(--news-muted);
    font-size: 14px;
    line-height: 1.72;
}

.news-fast-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-ticker {
    height: auto;
    align-self: start;
}

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

.news-topic-pill,
.news-list-card,
.news-editor-card,
.news-related-card {
    border: 1px solid var(--news-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff, #f8fbff),
        linear-gradient(135deg, rgba(22, 115, 255, 0.03), rgba(25, 195, 209, 0.03));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-topic-pill:hover,
.news-topic-pill.is-active,
.news-list-card:hover,
.news-editor-card:hover,
.news-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 115, 255, 0.22);
    box-shadow: 0 16px 34px rgba(14, 38, 77, 0.1);
}

.news-topic-pill {
    min-height: 110px;
    padding: 14px;
    display: grid;
    align-content: start;
    gap: 6px;
}

.news-topic-pill strong {
    font-size: 17px;
    line-height: 1.3;
    font-weight: 850;
}

.news-topic-pill span {
    color: var(--news-muted);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.news-list-card {
    overflow: hidden;
    padding: 0;
    display: grid;
    gap: 0;
}

.news-list-card strong {
    padding: 0 16px;
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-card .news-card-meta,
.news-list-card > span,
.news-list-card .news-link-row {
    padding-left: 16px;
    padding-right: 16px;
}

.news-list-card > span {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-media {
    aspect-ratio: 16 / 9;
}

.news-article-grid,
.news-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-editor-card,
.news-related-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.news-card-media {
    aspect-ratio: 16 / 8.6;
}

.news-card-copy {
    padding: 16px;
}

.news-card-title {
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.news-promo {
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(25, 195, 209, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff, #f6faff);
    border-color: rgba(22, 115, 255, 0.1);
}

.news-promo-head {
    margin-bottom: 0;
}

.news-promo h3 {
    margin: 8px 0 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.news-promo-copy {
    margin-top: 10px;
    color: var(--news-muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-promo-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.news-promo .layui-btn {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, var(--news-primary), var(--news-cyan));
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(22, 115, 255, 0.18);
}

.news-promo .layui-btn-primary {
    color: var(--news-primary);
    background: #fff;
    border-color: rgba(22, 115, 255, 0.2);
    box-shadow: none;
}

.news-chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-chip-cloud a {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--news-line);
    background: #fff;
    color: var(--news-muted);
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.news-chip-cloud a:hover,
.news-chip-cloud a.is-active {
    color: var(--news-primary);
    background: var(--news-primary-soft);
    border-color: rgba(22, 115, 255, 0.24);
}

.news-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.news-page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--news-line);
    background: #fff;
    color: var(--news-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.news-page-btn:hover,
.news-page-btn.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(90deg, var(--news-primary), #3f90ff);
}

.news-page-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.news-page-btn.is-gap {
    border-color: transparent;
    background: transparent;
    color: var(--news-muted);
    pointer-events: none;
    min-width: 28px;
    padding: 0 4px;
}

.news-topic-hero {
    background:
        radial-gradient(circle at top right, rgba(25, 195, 209, 0.08), transparent 24%),
        linear-gradient(135deg, rgba(22, 115, 255, 0.08), rgba(240, 184, 92, 0.08)),
        #fff;
}

.news-topic-hero h1 {
    font-size: clamp(30px, 3vw, 46px);
}

.news-topic-intro {
    max-width: 1000px;
    font-size: 16px;
}

.news-topic-keywords {
    margin-top: 18px;
}

.news-article-shell {
    overflow: hidden;
}

.news-article-header {
    border-bottom: 1px solid var(--news-line);
    background:
        linear-gradient(180deg, rgba(22, 115, 255, 0.05), rgba(255, 255, 255, 0) 70%),
        #fff;
}

.news-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--news-muted);
    font-size: 13px;
    font-weight: 700;
}

.news-divider {
    color: #97a6b8;
}

.news-article-lead {
    margin-top: 18px;
    max-width: 960px;
}

.news-article-cover-shell {
    margin-top: 20px;
}

.news-article-cover {
    aspect-ratio: 16 / 8.8;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--news-line);
}

.news-divider-block {
    border-top: 1px solid var(--news-line);
}

.news-prose {
    color: #33455a;
    font-size: 19px;
    line-height: 2;
}

.news-prose-narrow {
    max-width: 840px;
}

.news-prose section + section {
    margin-top: 28px;
}

.news-prose h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.news-prose p {
    margin: 0;
}

.news-prose p + p {
    margin-top: 12px;
}

.news-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top, rgba(25, 195, 209, 0.26), transparent 38%),
        linear-gradient(135deg, #0a1830, #143c72);
}

.layui-carousel[lay-arrow="always"] .layui-carousel-arrow {
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(12, 23, 38, 0.44);
    z-index: 1001;
}

.layui-carousel[lay-arrow="always"] .layui-carousel-arrow[lay-type="add"] {
    left: auto;
    right: 16px;
}

.layui-carousel-ind ul {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(12, 23, 38, 0.32);
    position: relative;
    z-index: 1001;
}

.layui-carousel-ind li {
    background-color: rgba(255, 255, 255, 0.52);
}

.layui-carousel-ind li.layui-this {
    background-color: var(--news-cyan);
}

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

    .news-home-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(250px, 0.62fr);
    }
}

@media (max-width: 1280px) {
    .news-grid,
    .news-home-grid,
    .news-topic-strip,
    .news-list-grid,
    .news-related-grid {
        grid-template-columns: 1fr;
    }

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

    .news-sidebar {
        position: static;
    }
}

@media (max-width: 1360px) {
    .news-home-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .news-container {
        width: min(calc(100% - 20px), var(--news-max-width));
    }

    .news-header {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .news-primary-nav {
        gap: 16px;
    }

    .news-primary-link {
        min-height: 42px;
    }

    .news-section,
    .news-topic-hero,
    .news-article-header,
    .news-article-body,
    .news-aside-card,
    .news-promo,
    .news-ticker {
        padding: 18px;
    }

    .news-story-slide {
        min-height: 540px;
    }

    .news-story-title,
    .news-article-title,
    .news-topic-hero h1 {
        font-size: 34px;
    }

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

@media (max-width: 640px) {
    .news-brand-copy strong {
        font-size: 28px;
    }

    .news-section-title,
    .news-side-title {
        font-size: 24px;
    }

    .news-story-summary,
    .news-article-summary,
    .news-topic-intro,
    .news-prose {
        font-size: 16px;
    }

    .news-list-card strong,
    .news-card-title,
    .news-topic-pill strong {
        font-size: 19px;
    }
}
