/* ================= 行业资讯详情页 ================= */
.news-detail-page {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 40px;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 文章卡片 */
.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    padding: 32px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.article-meta-bar .meta-class {
    color: var(--primary, #1565c0);
    font-weight: 500;
}

.article-title {
    font-size: 28px;
    line-height: 1.4;
    color: #111827;
    margin-bottom: 18px;
    font-weight: 700;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.article-tags .tag {
    display: inline-block;
    padding: 5px 12px;
    background: #e8f0fe;
    color: var(--primary, #1565c0);
    border-radius: 16px;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.article-tags .tag:hover {
    background: var(--primary, #1565c0);
    color: #fff;
}

/* 工具按钮 */
.article-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}

.tool-btn:hover {
    background: var(--primary, #1565c0);
    color: #fff;
    border-color: var(--primary, #1565c0);
}

.top-tools {
    margin-bottom: 22px;
}

.bottom-tools {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eef2f7;
}

/* ================= 来源条 ================= */
.article-source {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 11px 16px;
    margin: 0 0 20px;
    background: #f7fafd;
    border: 1px solid #e8f0f9;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #5a6b7c;
}

.article-source .src-name {
    color: #33404d;
    font-weight: 500;
}

.article-source .src-name i {
    color: var(--primary, #1565c0);
    margin-right: 5px;
}

.article-source .src-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 14px;
    background: #e8f1fd;
    color: var(--primary, #1565c0);
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.article-source .src-link:hover {
    background: var(--primary, #1565c0);
    color: #fff;
}

.article-source .src-link i {
    font-size: 10px;
}

.article-source .src-note {
    flex: 1 1 100%;
    font-size: 12px;
    color: #9aa7b5;
}

/* 导读 */
.article-lead {
    background: #f5f9fd;
    border-left: 3px solid var(--primary, #1565c0);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 15.5px;
    line-height: 1.9;
    color: #3a4a5c;
    margin-bottom: 26px;
}

.article-lead strong {
    color: var(--primary, #1565c0);
}

/* ================= 正文排版规范（阅读优先） =================
 * 版式基准：正文 17px / 行高 1.95 / 段间距 1.35em / 两端对齐
 * 层次靠「左侧色条小标题 + 圆形序号列表」建立，不用重边框，保持简约
 */
.article-body {
    font-size: 17px;
    line-height: 1.95;
    color: #33404d;
    letter-spacing: .01em;
    word-break: break-word;
    text-align: justify;
    text-justify: inter-ideograph;
}

.article-body p {
    margin: 0 0 1.35em;
}

.article-body p:last-child {
    margin-bottom: 0;
}

/* 首段（导语段）稍作强调 */
.article-body > p:first-of-type {
    font-size: 1.03em;
    color: #1d2a38;
}

.article-body strong,
.article-body b {
    color: #16202c;
    font-weight: 600;
}

/* 小标题：左侧色条，无重边框 */
.article-body h2 {
    position: relative;
    font-size: 1.18em;
    line-height: 1.5;
    color: #111c2a;
    font-weight: 700;
    margin: 2.2em 0 1em;
    padding: 0 0 0 14px;
    border: 0;
}

.article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .22em;
    width: 4px;
    height: 1.05em;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary, #1565c0), #5aa2f0);
}

.article-body h3 {
    position: relative;
    font-size: 1em;
    color: #1e3a5f;
    margin: 1.7em 0 .75em;
    padding-left: 13px;
}

.article-body h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #1565c0);
}

.article-body h4 {
    font-size: .94em;
    color: #33404d;
    margin: 1.4em 0 .6em;
}

/* 列举：圆形序号 / 圆点，正文里最影响观感的一环 */
.article-body ol,
.article-body ul {
    margin: 1.1em 0 1.5em;
    padding-left: 0;
    list-style: none;
    counter-reset: artli;
}

.article-body ol > li {
    position: relative;
    padding-left: 34px;
    margin-bottom: .55em;
    line-height: 1.9;
}

.article-body ol > li::before {
    counter-increment: artli;
    content: counter(artli);
    position: absolute;
    left: 0;
    top: .34em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8f1fd;
    color: var(--primary, #1565c0);
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

.article-body ul > li {
    position: relative;
    padding-left: 24px;
    margin-bottom: .5em;
}

.article-body ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .78em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9db8d4;
}

.article-body .art-lead-line {
    margin-bottom: .7em;
    color: #1d2a38;
}

.article-body .art-list {
    margin-top: .4em;
}

/* 引用 */
.article-body blockquote {
    margin: 1.5em 0;
    padding: 14px 20px;
    background: #f6f9fc;
    border-left: 3px solid #c3d8f0;
    border-radius: 0 8px 8px 0;
    color: #45596e;
    font-size: .94em;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/* 图片 */
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.6em auto;
    border-radius: 8px;
}

.article-body figure {
    margin: 1.6em 0;
}

.article-body figcaption,
.article-body .img-caption {
    margin-top: .7em;
    font-size: .78em;
    color: #8593a3;
    text-align: center;
}

/* 链接与分隔线 */
.article-body a {
    color: var(--primary, #1565c0);
    text-decoration: none;
    border-bottom: 1px solid rgba(21, 101, 192, .28);
}

.article-body a:hover {
    border-bottom-color: var(--primary, #1565c0);
}

.article-body .art-src-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .92em;
    border-bottom: 0;
    padding: 0 2px;
}

.article-body .art-src-link i {
    font-size: .78em;
}

.article-body hr {
    border: 0;
    border-top: 1px solid #eef2f7;
    margin: 2em 0;
}

/* 表格 */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: .88em;
    line-height: 1.7;
    text-align: left;
}

.article-body th,
.article-body td {
    border: 1px solid #e5ecf4;
    padding: 11px 14px;
    text-align: left;
}

.article-body th {
    background: #f4f8fd;
    color: #22364c;
    font-weight: 600;
}

.article-body tr:nth-child(even) {
    background: #fafcff;
}

/* 关键信息高亮 */
.hl {
    background: #fff3cd;
    padding: 1px 4px;
    border-radius: 3px;
    color: #7c4a03;
}

/* 影响等级标签 */
.impact {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.impact-high {
    background: #fee2e2;
    color: #991b1b;
}

.impact-medium {
    background: #fef3c7;
    color: #92400e;
}

.impact-low {
    background: #d1fae5;
    color: #065f46;
}

/* 中部转化入口 */
.mid-conversion {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border: 1px dashed #93c5fd;
    border-radius: 10px;
    padding: 22px 24px;
    margin: 28px 0;
    text-align: center;
}

.mid-conversion p {
    margin-bottom: 14px;
    color: #1e3a5f;
    font-weight: 500;
}

.mid-conversion .btn {
    margin: 0 6px 6px;
}

/* 文末资料申领 */
.resource-cta {
    display: flex;
    gap: 18px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 22px;
    margin: 28px 0;
}

.resource-cta-icon {
    width: 56px;
    height: 56px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.resource-cta-main h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #92400e;
}

.resource-cta-main p {
    color: #78350f;
    font-size: 14px;
    margin-bottom: 12px;
}

.resource-tip {
    color: #b45309;
    font-size: 13px;
    margin-bottom: 10px;
}

.resource-login .btn {
    margin-right: 8px;
}

/* 文末转化入口 */
.bottom-conversion {
    background: #f8fafc;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    margin: 24px 0;
}

.bottom-conversion p {
    margin-bottom: 14px;
    color: #334155;
}

.bottom-conversion .btn-accent {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
    margin: 0 6px 6px;
}

.bottom-conversion .btn-accent:hover {
    background: #c2410c;
}

/* 免责声明 */
.article-disclaimer {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 16px 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-top: 22px;
}

/* 右侧边栏组件 */
.widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-hd {
    background: var(--primary, #1565c0);
    color: #fff;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-bd {
    padding: 16px;
}

/* 目录 */
.toc-widget {
    position: sticky;
    top: 20px;
}

.toc-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    color: var(--primary, #1565c0);
    font-weight: 600;
    cursor: pointer;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 460px;
    overflow-y: auto;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 8px 10px;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: .15s;
}

.toc-list a:hover,
.toc-list a.active {
    background: #eff6ff;
    color: var(--primary, #1565c0);
}

.toc-l2 a {
    font-weight: 500;
}

.toc-l3 a {
    padding-left: 22px;
    font-size: 13px;
}

/* 企业服务 */
.conversion-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #334155;
    text-decoration: none;
    transition: .2s;
}

.conversion-card:last-child {
    margin-bottom: 0;
}

.conversion-card i {
    width: 36px;
    height: 36px;
    background: #eff6ff;
    color: var(--primary, #1565c0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conversion-card:hover {
    background: #f8fafc;
    border-color: var(--primary, #1565c0);
}

/* 相关推荐 */
.related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list a {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.related-list a:hover {
    color: var(--primary, #1565c0);
}

.related-date {
    font-size: 12px;
    color: #94a3b8;
}

.empty {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}

/* ================= 列表页 ================= */
.news-list-page {
    padding-top: 24px;
    padding-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-nav a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
}

.sub-nav a.active,
.sub-nav a:hover {
    background: var(--primary, #1565c0);
    color: #fff;
    border-color: var(--primary, #1565c0);
}

.list-layout {
    display: flex;
    gap: 24px;
}

.list-main {
    flex: 1;
    min-width: 0;
}

.list-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.news-list-item {
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: .2s;
}

.news-list-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.list-class {
    display: inline-block;
    padding: 3px 10px;
    background: #eff6ff;
    color: var(--primary, #1565c0);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-list-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-list-item h3 a {
    color: #111827;
    text-decoration: none;
}

.news-list-item h3 a:hover {
    color: var(--primary, #1565c0);
}

.list-summary {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
}

.empty-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: #94a3b8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

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

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary, #1565c0);
    color: #fff;
    border-color: var(--primary, #1565c0);
}

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

.news-search-form input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.news-search-form button {
    width: 40px;
    background: var(--primary, #1565c0);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 16px;
    font-size: 13px;
    text-decoration: none;
}

.tag-cloud a:hover {
    background: var(--primary, #1565c0);
    color: #fff;
}

/* ================= 政策法规专题页 ================= */
.policy-topic-page {
    padding-top: 24px;
    padding-bottom: 40px;
}

.topic-hero {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 14px;
    color: #fff;
    padding: 48px;
    margin-bottom: 32px;
}

.topic-label {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 14px;
}

.topic-hero h1 {
    font-size: 34px;
    margin-bottom: 14px;
}

.topic-hero p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 760px;
    opacity: 0.92;
    margin-bottom: 22px;
}

.topic-actions .btn {
    margin-right: 10px;
}

.topic-actions .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.topic-actions .btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.topic-core {
    margin-bottom: 32px;
}

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

.core-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
    transition: .2s;
}

.core-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.core-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 38px;
    font-weight: 800;
    color: #eff6ff;
    line-height: 1;
}

.core-badge {
    display: inline-block;
    background: #fff3cd;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.core-card h3 {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.core-card h3 a {
    color: #111827;
    text-decoration: none;
}

.core-card h3 a:hover {
    color: var(--primary, #1565c0);
}

.core-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.core-meta {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: #94a3b8;
}

.policy-layout {
    display: flex;
    gap: 24px;
}

.policy-main {
    flex: 1;
    min-width: 0;
}

.policy-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.policy-item {
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.policy-item h3 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.policy-item h3 a {
    color: #111827;
    text-decoration: none;
}

.policy-item h3 a:hover {
    color: var(--primary, #1565c0);
}

.policy-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .list-layout,
    .policy-layout {
        flex-direction: column;
    }
    .list-sidebar,
    .policy-sidebar {
        width: 100%;
    }
    .core-grid {
        grid-template-columns: 1fr;
    }
    .topic-hero {
        padding: 28px;
    }
    .topic-hero h1 {
        font-size: 26px;
    }
}

/* 分享浮层 */
.share-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.share-modal.active {
    display: flex;
}

.share-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    width: 90%;
    max-width: 420px;
    position: relative;
    text-align: center;
}

.share-box h3 {
    margin-bottom: 14px;
    color: #111827;
}

.share-url {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 6px;
    word-break: break-all;
    font-size: 13px;
    color: #475569;
    margin-bottom: 14px;
}

.share-tip {
    font-size: 13px;
    color: #64748b;
    margin-top: 14px;
}

.share-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: .2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary, #1565c0);
    color: #fff;
}

.btn-primary:hover {
    background: #0d47a1;
}

.btn-outline {
    background: #fff;
    color: var(--primary, #1565c0);
    border-color: var(--primary, #1565c0);
}

.btn-outline:hover {
    background: #eff6ff;
}

/* 打印优化 */
@media print {
    .topbar, .header, .nav, .breadcrumb, .detail-sidebar, .article-tools, .mid-conversion, .bottom-conversion, .resource-cta, .share-modal {
        display: none !important;
    }
    .article-card {
        box-shadow: none;
        padding: 0;
    }
    .news-detail-page {
        display: block;
    }
    .article-disclaimer {
        border: 1px solid #ccc;
    }
}

/* 移动端 */
@media (max-width: 992px) {
    .news-detail-page {
        flex-direction: column;
    }
    .detail-sidebar {
        width: 100%;
    }
    .toc-widget {
        position: static;
    }
    .toc-toggle {
        display: block;
    }
    .toc-body {
        display: none;
    }
    .toc-widget.open .toc-body {
        display: block;
    }
    .article-title {
        font-size: 22px;
    }
    .article-card {
        padding: 20px;
    }
}

/* ================= 正文排版 · 移动端与打印适配 ================= */
@media (max-width: 992px) {
    .article-body {
        font-size: 16px;
        line-height: 1.9;
        /* 窄屏两端对齐会拉出大空隙，改左对齐 */
        text-align: left;
    }
    .article-body p {
        margin-bottom: 1.15em;
    }
    .article-body h2 {
        font-size: 1.13em;
        margin: 1.8em 0 .8em;
    }
    .article-body ol > li {
        padding-left: 30px;
    }
    .article-source {
        padding: 10px 13px;
        font-size: 13px;
    }
    .article-source .src-link {
        padding: 3px 10px;
    }
}

@media print {
    .article-source {
        border: 0;
        background: none;
        padding: 0;
        margin-bottom: 12px;
    }
    .article-body {
        font-size: 12pt;
        line-height: 1.8;
        color: #000;
        text-align: left;
    }
    .article-body a {
        border: 0;
        color: #000;
    }
    .article-body ol > li::before {
        background: none;
        color: #000;
    }
}

/* ================= 资讯详情页 · 高级简约改版（带点颜色） ================= */
/* 阅读进度条 */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #0d47a1, #1565c0 50%, #ef6c00);
    z-index: 1200;
    transition: width .12s linear;
    box-shadow: 0 0 8px rgba(21, 101, 192, .4);
}

/* 文章卡片：渐变顶条 + 柔和阴影 + 细描边 */
.news-detail-page .article-card {
    position: relative;
    padding-top: 30px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 40px rgba(13, 71, 161, .08);
    overflow: hidden;
}

.news-detail-page .article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d47a1, #1565c0 55%, #1976d2);
}

/* 分类徽章 + 精致 meta */
.news-detail-page .article-meta-bar {
    border-bottom: 1px solid #f0f3f8;
    color: #8a97a8;
    font-size: 13.5px;
}

.news-detail-page .article-meta-bar .meta-class {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    margin-right: 4px;
    background: linear-gradient(135deg, #e3f2fd, #e8f1fd);
    color: #1565c0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.news-detail-page .article-meta-bar .meta-class i {
    margin-right: 5px;
}

/* 标题 */
.news-detail-page .article-title {
    font-size: 30px;
    line-height: 1.38;
    letter-spacing: -.01em;
    color: #0d1b2a;
}

/* 标签 → 渐变胶囊 */
.news-detail-page .article-tags .tag {
    background: #f1f6fd;
    border: 1px solid #e2ecf9;
    color: #2f6bb0;
}

.news-detail-page .article-tags .tag:hover {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-color: transparent;
    color: #fff;
}

/* 工具条按钮 → 精致悬浮 */
.news-detail-page .tool-btn {
    background: #fbfcfe;
    border-color: #e6edf5;
    color: #5b6b7e;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.news-detail-page .tool-btn:hover {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(21, 101, 192, .25);
}

/* 来源条 → 渐变 + 左色条 */
.news-detail-page .article-source {
    background: linear-gradient(180deg, #f3f8ff, #eef5ff);
    border: 1px solid #dbe9fb;
    border-left: 4px solid #1565c0;
}

.news-detail-page .article-source .src-name i {
    color: #1565c0;
}

.news-detail-page .article-source .src-link {
    background: #1565c0;
    color: #fff;
}

.news-detail-page .article-source .src-link:hover {
    background: #0d47a1;
}

/* 导读 → 橙色强调 */
.news-detail-page .article-lead {
    background: linear-gradient(180deg, #f5f9fd, #f0f6fc);
    border-left: 4px solid #ef6c00;
    color: #3a4a5c;
}

.news-detail-page .article-lead strong {
    color: #ef6c00;
}

/* 正文首段强调 */
.news-detail-page .article-body > p:first-of-type {
    color: #16202c;
    font-weight: 500;
}

/* 文末资料申领 → 高级橙 */
.news-detail-page .resource-cta {
    background: linear-gradient(135deg, #fff7ed, #fff3e0);
    border: 1px solid #fed7aa;
    box-shadow: 0 6px 20px rgba(239, 108, 0, .08);
}

.news-detail-page .resource-cta-icon {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 4px 12px rgba(239, 108, 0, .3);
}

.news-detail-page .resource-cta-main h3 {
    color: #b45309;
}

.news-detail-page .resource-cta .btn-primary {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-color: transparent;
}

.news-detail-page .resource-cta .btn-primary:hover {
    filter: brightness(1.05);
}

.news-detail-page .resource-cta .btn-outline {
    color: #c2410c;
    border-color: #fb923c;
}

.news-detail-page .resource-cta .btn-outline:hover {
    background: #fff1e6;
}

/* 转化入口 → 渐变卡片 */
.news-detail-page .bottom-conversion {
    background: linear-gradient(135deg, #f0f6ff, #eaf2ff);
    border: 1px solid #dbe9fb;
}

.news-detail-page .bottom-conversion .btn-accent {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    border-color: transparent;
}

.news-detail-page .bottom-conversion .btn-accent:hover {
    filter: brightness(1.05);
}

.news-detail-page .bottom-conversion .btn-primary {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-color: transparent;
}

.news-detail-page .bottom-conversion .btn-primary:hover {
    filter: brightness(1.05);
}

/* 侧栏 widget 轻量化 */
.news-detail-page .widget {
    box-shadow: 0 4px 20px rgba(13, 71, 161, .06);
    border: 1px solid #eef2f7;
}

.news-detail-page .widget-hd {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
}

/* 分享浮层按钮也走品牌色 */
.news-detail-page .share-box .btn-primary {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-color: transparent;
}

/* ================= 阅读体验补全：时长 / 字号 / 回顶 / 平滑滚动 ================= */
/* 预计阅读时长（meta 行内chip，不抢眼） */
.news-detail-page .article-meta-bar .meta-read i {
    margin-right: 4px;
    color: var(--primary, #1565c0);
}

/* 字号调节组（顶部工具条内嵌） */
.fs-adjust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
}

.fs-adjust .fs-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #8a97a8;
}

.fs-btn {
    min-width: 42px;
    justify-content: center;
    padding: 8px 10px;
    font-weight: 600;
    letter-spacing: .02em;
}

/* 回到顶部（滚动 600px 后由 JS 加 .show 浮现） */
.back-top {
    position: fixed;
    right: 22px;
    bottom: 32px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(21, 101, 192, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s, box-shadow .2s;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    box-shadow: 0 8px 24px rgba(21, 101, 192, .42);
}

/* 目录锚点跳转：平滑滚动 + 预留顶部间距，标题不被裁切 */
html {
    scroll-behavior: smooth;
}

.article-body h2,
.article-body h3 {
    scroll-margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .back-top { transition: none; }
}

@media print {
    .fs-adjust, .back-top, .reading-progress { display: none !important; }
}

/* ================= 暗色模式补全（详情页专属） =================
 * news.css 先于母版 fanglei.css 加载，此处用 .news-detail-page 提升特异度，
 * 保证正文/标题/来源条/申领卡/侧栏在暗色下与母版变量一致，不漏光、不糊眼。
 */
[data-theme="dark"] .news-detail-page .article-card {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .news-detail-page .article-title { color: var(--text); }

[data-theme="dark"] .news-detail-page .article-meta-bar {
    border-bottom-color: var(--border-light);
    color: var(--text-3);
}

[data-theme="dark"] .news-detail-page .article-meta-bar .meta-class {
    background: var(--surface-2);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .article-meta-bar .meta-read i { color: var(--primary); }

[data-theme="dark"] .news-detail-page .article-body { color: var(--text); }

[data-theme="dark"] .news-detail-page .article-body > p:first-of-type { color: var(--text); }

[data-theme="dark"] .news-detail-page .article-body .art-lead-line { color: var(--text); }

[data-theme="dark"] .news-detail-page .article-body strong,
[data-theme="dark"] .news-detail-page .article-body b { color: #fff; }

[data-theme="dark"] .news-detail-page .article-body h2 { color: var(--text); }

[data-theme="dark"] .news-detail-page .article-body h3 { color: var(--primary); }

[data-theme="dark"] .news-detail-page .article-body h4 { color: var(--text-2); }

[data-theme="dark"] .news-detail-page .article-body blockquote {
    background: var(--surface-2);
    border-left-color: var(--primary);
    color: var(--text-2);
}

[data-theme="dark"] .news-detail-page .article-body th {
    background: var(--surface-2);
    color: var(--text);
}

[data-theme="dark"] .news-detail-page .article-body th,
[data-theme="dark"] .news-detail-page .article-body td { border-color: var(--border); }

[data-theme="dark"] .news-detail-page .article-body tr:nth-child(even) { background: var(--surface-2); }

[data-theme="dark"] .news-detail-page .article-body hr { border-top-color: var(--border); }

[data-theme="dark"] .news-detail-page .article-body figcaption,
[data-theme="dark"] .news-detail-page .article-body .img-caption { color: var(--text-3); }

[data-theme="dark"] .news-detail-page .article-body a {
    color: var(--primary);
    border-bottom-color: rgba(78, 161, 243, .35);
}

[data-theme="dark"] .news-detail-page .article-body ol > li::before {
    background: var(--surface-2);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .article-body ul > li::before { background: var(--text-3); }

[data-theme="dark"] .news-detail-page .article-body .hl {
    background: rgba(255, 179, 0, .18);
    color: #ffd54f;
}

[data-theme="dark"] .news-detail-page .article-source {
    background: var(--surface-2);
    border-color: var(--border);
    border-left-color: var(--primary);
}

[data-theme="dark"] .news-detail-page .article-source .src-name { color: var(--text); }
[data-theme="dark"] .news-detail-page .article-source .src-name i { color: var(--primary); }
[data-theme="dark"] .news-detail-page .article-source .src-note { color: var(--text-3); }
[data-theme="dark"] .news-detail-page .article-source .src-link { background: var(--primary); color: #fff; }

[data-theme="dark"] .news-detail-page .article-lead {
    background: var(--surface-2);
    border-left-color: var(--accent);
    color: var(--text-2);
}

[data-theme="dark"] .news-detail-page .article-lead strong { color: var(--accent); }

[data-theme="dark"] .news-detail-page .article-tags .tag {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .article-tags .tag:hover {
    background: var(--primary);
    color: #fff;
}

[data-theme="dark"] .news-detail-page .tool-btn {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--text-2);
}

[data-theme="dark"] .news-detail-page .tool-btn:hover {
    background: var(--primary);
    border-color: transparent;
    color: #fff;
}

[data-theme="dark"] .news-detail-page .fs-adjust .fs-label { color: var(--text-3); }

[data-theme="dark"] .news-detail-page .resource-cta {
    background: var(--surface-2);
    border-color: var(--border);
}

[data-theme="dark"] .news-detail-page .resource-cta-main h3 { color: var(--accent); }
[data-theme="dark"] .news-detail-page .resource-cta-main p { color: var(--text-2); }
[data-theme="dark"] .news-detail-page .resource-tip { color: var(--accent); }

[data-theme="dark"] .news-detail-page .bottom-conversion {
    background: var(--surface-2);
    border-color: var(--border);
}

[data-theme="dark"] .news-detail-page .bottom-conversion p { color: var(--text-2); }

[data-theme="dark"] .news-detail-page .article-disclaimer {
    background: var(--surface-2);
    color: var(--text-3);
}

[data-theme="dark"] .news-detail-page .widget {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .news-detail-page .toc-toggle {
    background: var(--surface-2);
    border-bottom-color: var(--border);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .toc-list a { color: var(--text-2); }

[data-theme="dark"] .news-detail-page .toc-list a:hover,
[data-theme="dark"] .news-detail-page .toc-list a.active {
    background: var(--surface-2);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .conversion-card {
    border-color: var(--border);
    color: var(--text-2);
}

[data-theme="dark"] .news-detail-page .conversion-card i {
    background: var(--surface-2);
    color: var(--primary);
}

[data-theme="dark"] .news-detail-page .conversion-card:hover {
    background: var(--surface-2);
    border-color: var(--primary);
}

[data-theme="dark"] .news-detail-page .related-list li { border-bottom-color: var(--border-light); }
[data-theme="dark"] .news-detail-page .related-list a { color: var(--text-2); }
[data-theme="dark"] .news-detail-page .related-list a:hover { color: var(--primary); }
[data-theme="dark"] .news-detail-page .related-date { color: var(--text-3); }
[data-theme="dark"] .news-detail-page .empty { color: var(--text-3); }

[data-theme="dark"] .news-detail-page .back-top {
    background: linear-gradient(135deg, #1976d2, #4ea1f3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

/* ================= 封面图（后台「封面缩略图」titlepic → 前台展示） ================= */
.article-cover {
    margin: 22px 0 18px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    line-height: 0;
}
.article-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
}
.news-list-item.has-thumb {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.news-list-item.has-thumb .news-list-body {
    flex: 1 1 auto;
    min-width: 0;
}
.news-list-thumb {
    flex: 0 0 176px;
    width: 176px;
    height: 112px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: block;
}
.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.news-list-thumb:hover img {
    transform: scale(1.06);
}
@media (max-width: 768px) {
    .article-cover { margin: 16px 0 14px; border-radius: 8px; }
    .article-cover img { max-height: 240px; }
    .news-list-item.has-thumb { gap: 12px; }
    .news-list-thumb { flex: 0 0 112px; width: 112px; height: 80px; }
}

/* 文章附件下载（后台「附件上传」维护） */
.article-attachments {
    margin: 22px 0 4px;
    border: 1px solid #e6ecf3;
    border-radius: 12px;
    background: #f8fafc;
    padding: 16px 18px;
}
.article-attachments .aa-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}
.article-attachments .aa-head i { color: var(--primary, #1565c0); }
.article-attachments .aa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.article-attachments .aa-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid #e6ecf3;
    border-radius: 9px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.article-attachments .aa-item:hover { border-color: var(--primary, #1565c0); box-shadow: 0 2px 10px rgba(21,101,192,.08); }
.article-attachments .aa-icon { color: var(--primary, #1565c0); font-size: 17px; flex-shrink: 0; }
.article-attachments .aa-link {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-attachments .aa-link:hover { color: var(--primary, #1565c0); text-decoration: underline; }
.article-attachments .aa-size { font-size: 12px; color: #94a3b8; flex-shrink: 0; margin-left: auto; padding-left: 10px; }
