/* Focused information-architecture and readability improvements for news pages. */
.news-hub-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.news-hub-header h1 {
    margin: 10px 0 12px;
    color: #f8fafc;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: -.035em;
}

.news-hub-header p {
    margin: 0;
    color: #aab7c8;
    font-size: 16px;
    line-height: 1.7;
}

.news-category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 0 auto 22px;
}

.news-category-tabs .faq-tab {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-category-tabs .faq-tab:focus-visible,
.news-search :focus-visible,
.news-list-card:focus-visible,
.news-toc summary:focus-visible,
.news-evidence summary:focus-visible {
    outline: 3px solid #8bff68;
    outline-offset: 3px;
}

.news-search {
    max-width: 720px;
    margin: 0 auto 30px;
}

.news-search form {
    display: flex;
    gap: 10px;
}

.news-search input[type="search"] {
    min-width: 0;
    min-height: 48px;
    flex: 1;
    border-radius: 12px;
}

.news-search button {
    min-width: 92px;
    min-height: 48px;
    border-radius: 12px;
}

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

.news-list-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(150deg, rgba(24, 37, 48, .98), rgba(13, 23, 32, .98));
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: 16px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.news-list-card:hover {
    color: inherit;
    border-color: rgba(139, 255, 104, .55);
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
}

.news-list-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101a22;
}

.news-list-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.news-list-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 20px;
}

.news-list-card-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #95a5b7;
    font-size: 12px;
}

.news-list-card h2 {
    margin: 14px 0 9px;
    color: #f4f7fb;
    font-size: 19px;
    line-height: 1.45;
    letter-spacing: -.015em;
}

.news-list-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: #aebac8;
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-read-link {
    margin-top: auto;
    color: #9aff75;
    font-size: 13px;
    font-weight: 700;
}

.news-hub-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(139, 255, 104, .07);
    border: 1px solid rgba(139, 255, 104, .2);
    border-radius: 14px;
}

.news-hub-next-step p {
    margin: 0;
    color: #e5edf5;
    line-height: 1.6;
}

.news-detail-title {
    margin: 10px 0 16px;
    color: #f8fafc;
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.23;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
    color: #96a5b6;
    font-size: 13px;
}

.news-cover {
    overflow: hidden;
    margin: 0 0 22px;
    background: #101a22;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 16px;
}

.news-cover img {
    width: 100%;
    max-height: 490px;
    display: block;
    object-fit: cover;
}

.news-cover figcaption {
    padding: 9px 14px;
    color: #9aa9b8;
    font-size: 12px;
}

.news-reading-summary {
    margin: 0 0 20px;
    padding: 18px 20px;
    color: #dce7f0;
    background: rgba(139, 255, 104, .07);
    border-left: 3px solid #8bff68;
    border-radius: 0 12px 12px 0;
}

.news-reading-summary strong {
    display: block;
    margin-bottom: 7px;
    color: #a4ff85;
    font-size: 13px;
}

.news-reading-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.news-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 20px;
    padding: 20px 22px;
    background: linear-gradient(110deg, rgba(33, 66, 46, .8), rgba(20, 36, 42, .92));
    border: 1px solid rgba(139, 255, 104, .25);
    border-radius: 14px;
}

.news-inline-cta-kicker {
    color: #a4ff85;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.news-inline-cta h2 {
    margin: 5px 0 5px;
    color: #f7fbff;
    font-size: 18px;
    line-height: 1.45;
}

.news-inline-cta p {
    margin: 0;
    color: #b6c4d1;
    font-size: 13px;
    line-height: 1.65;
}

.news-inline-cta .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.news-client-download-button {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 17px 0 19px;
    border: 1px solid #c3ffe0;
    border-radius: 11px;
    background: #8bf3c2;
    color: #092319;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(95, 226, 157, .18);
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.news-client-download-button:hover,
.news-client-download-button:focus {
    color: #092319;
    background: #a5ffd0;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(95, 226, 157, .28);
}
.news-client-download-button:focus-visible,
.news-2000mb-promo-link:focus-visible {
    outline: 3px solid #ffd36b;
    outline-offset: 3px;
}

@property --news-promo-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
@keyframes newsPromoFrameOrbit { to { --news-promo-angle: 360deg; } }
.news-promo-motion {
    --news-promo-angle: 0deg;
    border: 1px solid rgba(139, 243, 194, .58);
    animation: newsPromoFrameOrbit 12s linear infinite;
    box-shadow: 0 0 18px rgba(76, 175, 150, .09);
}
@supports (background: conic-gradient(from 0deg, #123, #8bf3c2)) {
    .news-client-cta.news-promo-motion {
        background:
            linear-gradient(145deg, rgba(35, 75, 50, .42), rgba(20, 32, 46, .72)) padding-box,
            conic-gradient(from var(--news-promo-angle), rgba(76, 175, 80, .38), #8bf3c2, #4ddbe0, rgba(76, 175, 80, .38)) border-box;
    }
    .news-2000mb-promo.news-promo-motion {
        padding: 8px;
        background:
            linear-gradient(145deg, rgba(13, 28, 39, .96), rgba(20, 36, 42, .98)) padding-box,
            conic-gradient(from var(--news-promo-angle), rgba(76, 175, 80, .38), #8bf3c2, #4ddbe0, rgba(76, 175, 80, .38)) border-box;
    }
}
.news-2000mb-promo-link,
.news-2000mb-promo picture { display: block; }
.news-2000mb-promo-link { overflow: hidden; border-radius: 8px; }
.news-2000mb-promo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.news-2000mb-promo-link:hover img { filter: brightness(1.04); }

.news-toc,
.news-evidence {
    margin: 0 0 20px;
    color: #c5d1de;
    background: rgba(148, 163, 184, .06);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 12px;
}

.news-toc summary,
.news-evidence summary {
    padding: 13px 16px;
    color: #e5edf5;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.news-toc[open] summary,
.news-evidence[open] summary {
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.news-toc ol,
.news-evidence ul {
    margin: 0;
    padding: 12px 20px 16px 38px;
}

.news-toc li,
.news-evidence li {
    margin: 7px 0;
    color: #9eacba;
    line-height: 1.6;
}

.news-toc a,
.news-evidence a {
    color: #b8d8ff;
    overflow-wrap: anywhere;
}

.news-article-content {
    color: #d2dbe5;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.news-article-content h2,
.news-article-content h3 {
    color: #f3f7fb;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.news-article-content h2 {
    margin: 38px 0 14px;
    font-size: clamp(22px, 3vw, 28px);
}

.news-article-content h3 {
    margin: 28px 0 10px;
    font-size: 20px;
}

.news-article-content p,
.news-article-content ul,
.news-article-content ol {
    margin-top: 0;
    margin-bottom: 18px;
}

.news-article-content img,
.news-article-content video,
.news-article-content iframe {
    max-width: 100%;
}

.news-article-content img {
    height: auto;
    border-radius: 10px;
}

.news-article-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.news-article-content th,
.news-article-content td {
    padding: 9px 12px;
    border: 1px solid rgba(148, 163, 184, .25);
}

.news-article-content blockquote {
    margin: 22px 0;
    padding: 10px 18px;
    color: #b8c8d7;
    background: rgba(148, 163, 184, .07);
    border-left: 3px solid #7895a8;
}

/* 来源清单等围栏块：markdownToSafeHtml 输出 <pre class="og-code-block">。
   长来源行必须能换行，避免窄屏横向溢出。 */
.news-article-content .og-code-block {
    margin: 20px 0;
    padding: 14px 16px;
    background: rgba(15, 23, 42, .62);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 10px;
    overflow-x: auto;
}

.news-article-content .og-code-block code {
    display: block;
    color: #c7d2dd;
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.news-article-content code {
    color: #a7f3b8;
    background: rgba(76, 175, 80, .12);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.news-evidence {
    margin-top: 26px;
    font-size: 13px;
}

.news-evidence li span {
    color: #8999a9;
}

.news-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

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

@media (max-width: 640px) {
    .news-hub-header {
        margin-bottom: 22px;
        text-align: left;
    }

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

    .news-hub-header p {
        font-size: 14px;
    }

    .news-category-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-right: -16px;
        padding: 2px 16px 8px 2px;
        scrollbar-width: thin;
    }

    .news-category-tabs .faq-tab {
        flex: 0 0 auto;
    }

    .news-search form {
        gap: 7px;
    }

    .news-search button {
        min-width: 72px;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-list-card {
        display: grid;
        grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
        align-items: stretch;
    }

    .news-list-card-image {
        height: 100%;
        min-height: 132px;
        aspect-ratio: auto;
    }

    .news-list-card-body {
        padding: 13px 13px 14px;
    }

    .news-list-card h2 {
        margin: 9px 0 6px;
        font-size: 16px;
        line-height: 1.4;
    }

    .news-list-card p {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.55;
        -webkit-line-clamp: 2;
    }

    .news-list-card-meta {
        font-size: 10px;
    }

    .news-hub-next-step,
    .news-inline-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 17px;
    }

    .news-inline-cta .btn {
        width: 100%;
        text-align: center;
    }

    .news-detail-title {
        font-size: 30px;
    }

    .news-meta {
        gap: 7px 12px;
        font-size: 12px;
    }

    .news-cover img {
        max-height: 280px;
    }

    .news-reading-summary {
        padding: 15px 16px;
    }

    .news-article-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .news-article-content h2 {
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-list-card {
        transition: none;
    }
    .news-promo-motion {
        animation: none;
    }
    .news-client-download-button {
        transition: none;
    }
    .news-2000mb-promo-link:hover img {
        filter: none;
    }
}
