/* ======================================================================
 *  资讯列表 + 详情页样式（news.css）
 *  风格对齐首页 / 笑话专区：渐变光斑、彩色胶囊、圆角卡片、悬停上浮
 *  全部使用 --c-* 主题变量，暗色模式在文末统一覆盖
 * ====================================================================== */

.news-wrap { padding: 20px 0 60px; }

/* ===== 阅读进度条（详情页） ===== */
.news-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-accent-cyan) 60%, var(--c-accent-purple) 100%);
    z-index: 200;
    border-radius: 0 3px 3px 0;
    pointer-events: none;
}

/* ===== 面包屑（共用：笑话页 / 更新日志 / 个人中心亦引用） ===== */
.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px 0;
    margin-bottom: 14px;
    font-size: 13px;
}
.news-breadcrumb a,
.news-breadcrumb .current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    transition: all 0.16s ease;
}
.news-breadcrumb a {
    color: var(--c-text-sub);
    background: var(--c-bg-soft);
}
.news-breadcrumb a:hover {
    color: var(--c-primary);
    background: color-mix(in srgb, var(--c-primary) 10%, var(--c-bg-soft));
}
.news-breadcrumb .current {
    color: var(--c-primary);
    background: color-mix(in srgb, var(--c-primary) 8%, transparent);
    font-weight: 600;
}
.news-breadcrumb .sep {
    color: var(--c-text-muted);
    opacity: 0.5;
    font-size: 12px;
}

/* ===== 焦点横幅区 ===== */
.news-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-bottom: 22px;
    background:
        radial-gradient(700px 340px at 12% -20%, color-mix(in srgb, var(--c-primary) 16%, transparent) 0%, transparent 60%),
        radial-gradient(560px 300px at 92% 0%, color-mix(in srgb, var(--c-accent-cyan) 22%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, var(--c-bg-soft) 0%, color-mix(in srgb, var(--c-primary-soft) 50%, var(--c-bg-soft)) 100%);
    border: 1px solid var(--c-border);
}
.news-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.55;
    pointer-events: none;
}
.nh-blob-1 { width: 240px; height: 240px; top: -80px; right: -40px; background: color-mix(in srgb, var(--c-accent-purple) 35%, transparent); }
.nh-blob-2 { width: 200px; height: 200px; bottom: -90px; left: 30%; background: color-mix(in srgb, var(--c-accent-cyan) 35%, transparent); }

.news-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
}
.news-hero-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 36px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
    box-shadow: 0 10px 26px color-mix(in srgb, var(--c-primary) 35%, transparent);
}
.news-hero-text { flex: 1; min-width: 0; }
.news-hero-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--c-text);
    line-height: 1.3;
}
.news-hero-sub {
    margin-top: 8px;
    font-size: 14px;
    color: var(--c-text-sub);
    line-height: 1.7;
}
.news-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--c-text-sub);
}
.news-hero-stat b {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-primary);
    margin-right: 3px;
}
.news-hero-dot { color: var(--c-text-muted); opacity: 0.6; }

.news-hero-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-purple) 100%);
    box-shadow: 0 10px 26px color-mix(in srgb, var(--c-primary) 35%, transparent);
    transition: all 0.2s ease;
}
.news-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--c-primary) 45%, transparent);
}

/* ===== 分类彩色胶囊 ===== */
.news-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}
.news-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-sub);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    transition: all 0.18s ease;
}
.news-cat-icon { font-size: 15px; }
.news-cat:hover {
    color: var(--news-color, var(--c-primary));
    border-color: var(--news-color, var(--c-primary));
    background: color-mix(in srgb, var(--news-color, var(--c-primary)) 8%, var(--c-bg-card));
    transform: translateY(-1px);
}
.news-cat.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--news-color, var(--c-primary)) 0%, color-mix(in srgb, var(--news-color, var(--c-primary)) 60%, #ffffff) 100%);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--news-color, var(--c-primary)) 35%, transparent);
}

/* ===== 双栏布局 ===== */
.news-layout,
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}

/* ===== 焦点大卡（第一条） ===== */
.news-feature {
    position: relative;
    display: block;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    isolation: isolate;
}
.news-feature-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.4s ease;
}
.news-feature:hover .news-feature-bg { transform: scale(1.05); }
.news-feature-mask {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 16, 40, 0.05) 0%, rgba(10, 16, 40, 0.42) 55%, rgba(10, 16, 40, 0.82) 100%);
}
.news-feature-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 28px;
    color: #fff;
}
.news-feature-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
    margin-bottom: 10px;
}
.news-feature-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-feature-desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-feature-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== 文章卡片网格 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border));
    box-shadow: var(--shadow-hover);
}
.news-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--c-bg-soft);
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-cat {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}
.news-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
    flex: 1;
}
.news-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-title a { color: var(--c-text); transition: color 0.16s; }
.news-card-title a:hover { color: var(--c-primary); }
.news-card-desc {
    font-size: 13px;
    color: var(--c-text-sub);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--c-border);
    font-size: 12px;
    color: var(--c-text-muted);
}
.news-card-meta .views { margin-left: auto; }

/* ===== 空态 ===== */
.news-empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--c-text-muted);
    background: var(--c-bg-card);
    border: 1px dashed var(--c-border);
    border-radius: var(--radius-md);
}
.news-empty-emoji { font-size: 52px; margin-bottom: 12px; }
.news-empty-btn {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 22px;
    margin-top: 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    border: 1px solid color-mix(in srgb, var(--c-primary) 40%, var(--c-border));
    transition: all 0.16s ease;
}
.news-empty-btn:hover {
    background: var(--c-primary);
    color: #fff;
}

/* ===== 分页（共用：笑话页亦引用） ===== */
.news-pager { margin-top: 30px; }
.news-pager .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    justify-content: center;
}
.news-pager .pagination li { display: inline-flex; }
.news-pager .pagination a,
.news-pager .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
    color: var(--c-text-sub);
    transition: all 0.16s;
}
.news-pager .pagination a:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: translateY(-1px);
}
.news-pager .pagination .active span,
.news-pager .pagination .active a {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--c-primary) 35%, transparent);
}
.news-pager .pagination .disabled { opacity: 0.4; }
.news-pager .pagination .dots span {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

.pager-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.pager-info {
    font-size: 13px;
    color: var(--c-text-sub);
    opacity: 0.85;
}

@media (max-width: 640px) {
    .pager-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .news-pager .pagination a,
    .news-pager .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* ===== 侧栏 ===== */
.news-aside {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.aside-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 18px;
}
.aside-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-border);
    position: relative;
}
.aside-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 44px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent-cyan));
}

/* 排行式推荐 */
.aside-rank-list { list-style: none; padding: 0; margin: 0; }
.aside-rank-item {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--c-border);
}
.aside-rank-item:last-child { border-bottom: none; padding-bottom: 0; }
.aside-rank-num {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--c-text-muted);
}
.aside-rank-num.rank-1 { background: linear-gradient(135deg, #ff9f43, #ffb86b); box-shadow: 0 4px 10px rgba(255, 159, 67, 0.35); }
.aside-rank-num.rank-2 { background: linear-gradient(135deg, var(--c-primary), #4d94ff); box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3); }
.aside-rank-num.rank-3 { background: linear-gradient(135deg, var(--c-accent-purple), #a188ff); box-shadow: 0 4px 10px rgba(124, 92, 255, 0.3); }
.aside-rank-body { flex: 1; min-width: 0; }
.aside-rank-body a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-sub);
    line-height: 1.45;
    transition: color 0.16s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aside-rank-body a:hover { color: var(--c-primary); }
.aside-rank-meta {
    font-size: 11px;
    color: var(--c-text-muted);
}

/* 小贴士卡 */
.aside-tip {
    background:
        radial-gradient(180px 120px at 90% 0%, color-mix(in srgb, var(--c-accent-cyan) 14%, transparent) 0%, transparent 70%),
        var(--c-bg-soft);
}
.aside-tip-text {
    font-size: 13px;
    color: var(--c-text-sub);
    line-height: 1.8;
}

/* ===== 老板键 / 伪装按钮 ===== */
.news-boss-key,
.news-disguise-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}
.news-boss-key {
    color: #fff;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    border: none;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.25);
}
.news-boss-key:hover { filter: brightness(1.2); transform: translateY(-1px); }
.news-disguise-btn {
    color: var(--c-text);
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
}
.news-disguise-btn:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: translateY(-1px);
}

/* ======================================================================
 *  详情页
 * ====================================================================== */
.news-article {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 26px;
}

/* 头部：品牌渐变横幅 */
.news-article-head {
    position: relative;
    padding: 38px 40px 32px;
    color: #fff;
    background:
        radial-gradient(500px 260px at 88% -30%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-purple) 100%);
}
.news-article-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    margin-bottom: 14px;
    transition: background 0.16s;
}
.news-article-badge:hover { background: rgba(255, 255, 255, 0.3); }
.news-article-head h1 {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 12px;
}
.news-article-lead {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
}
.news-article-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}
.news-article-info .author { font-weight: 600; color: #fff; }

/* 封面图 */
.news-article-cover {
    max-height: 380px;
    overflow: hidden;
}
.news-article-cover img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

/* 正文排版（v5 升级） */
.news-article-body {
    padding: 36px 44px;
    font-size: 16px;
    line-height: 2.05;
    color: var(--c-text);
    counter-reset: nb-h3;
}
.news-article-body p {
    margin: 1.15em 0;
    text-indent: 2em;
    color: var(--c-text-sub);
}
.news-article-body p:has(img) { text-indent: 0; }
.news-article-body strong { color: var(--c-text); font-weight: 700; }
.news-article-body h2 {
    margin: 1.6em 0 0.6em;
    font-size: 20px;
    font-weight: 700;
    padding-left: 12px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, var(--c-primary), var(--c-accent-cyan)) 1;
    scroll-margin-top: 90px;
}
.news-article-body h3 {
    counter-increment: nb-h3;
    position: relative;
    margin: 2em 0 0.9em;
    padding: 13px 18px 13px 54px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    background:
        radial-gradient(240px 70px at 0% 0%, color-mix(in srgb, var(--c-primary) 10%, transparent), transparent 70%),
        var(--c-bg-soft);
    scroll-margin-top: 90px;
}
.news-article-body h3::before {
    content: counter(nb-h3, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-cyan));
    box-shadow: 0 4px 10px color-mix(in srgb, var(--c-primary) 35%, transparent);
}
.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.2em auto;
    display: block;
    box-shadow: var(--shadow-md);
}
.news-article-body a { color: var(--c-primary); text-decoration: underline; }
.news-article-body ul {
    list-style: none;
    margin: 1em 0;
    padding-left: 2em;
}
.news-article-body ol { margin: 1em 0; padding-left: 2em; }
.news-article-body ol li::marker { color: var(--c-primary); font-weight: 700; }
.news-article-body li { margin: 0.45em 0; color: var(--c-text-sub); }
.news-article-body ul li { position: relative; }
.news-article-body ul li::before {
    content: '';
    position: absolute;
    left: -1.15em;
    top: 0.8em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-cyan));
}
.news-article-body blockquote {
    margin: 1.2em 0;
    padding: 14px 18px;
    border-left: 4px solid var(--c-primary);
    background: color-mix(in srgb, var(--c-primary) 5%, var(--c-bg-soft));
    border-radius: 0 12px 12px 0;
    color: var(--c-text-sub);
}
.news-article-body blockquote p { text-indent: 0; margin: 0.4em 0; }
.news-article-body hr {
    border: none;
    height: 1px;
    margin: 2em auto;
    width: 60%;
    background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}
.news-article-body pre {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.7;
}
.news-article-body code {
    color: var(--c-primary);
    background: color-mix(in srgb, var(--c-primary) 8%, transparent);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
}
.news-article-body table {
    width: 100%;
    margin: 1.2em 0;
    border-collapse: collapse;
    font-size: 14px;
}
.news-article-body th,
.news-article-body td {
    border: 1px solid var(--c-border);
    padding: 10px 12px;
    text-align: left;
}
.news-article-body th {
    background: var(--c-bg-soft);
    font-weight: 700;
}

/* 字号档位 */
body.news-fs-sm .news-article-body { font-size: 15px; }
body.news-fs-lg .news-article-body { font-size: 18px; }

/* 标签 */
.news-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 40px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--c-border);
}
.news-tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-sub);
}
.news-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-primary);
    background: var(--c-primary-soft);
    border: 1px solid color-mix(in srgb, var(--c-primary) 20%, transparent);
    transition: all 0.16s ease;
}
.news-tag:hover {
    background: var(--c-primary);
    color: #fff;
}

/* 上一篇 / 下一篇 */
.news-pnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0 40px 32px;
    padding-top: 22px;
    border-top: 1px solid var(--c-border);
}
.news-pnav-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--c-bg-soft);
    border: 1px solid transparent;
    transition: all 0.18s ease;
}
.news-pnav-item:hover {
    border-color: color-mix(in srgb, var(--c-primary) 30%, var(--c-border));
    background: color-mix(in srgb, var(--c-primary) 6%, var(--c-bg-soft));
    transform: translateY(-1px);
}
.news-pnav-item.is-disabled {
    opacity: 0.45;
    cursor: default;
}
.news-pnav-next { text-align: right; }
.news-pnav-label {
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 600;
}
.news-pnav-title {
    font-size: 14px;
    color: var(--c-text);
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-pnav-item:not(.is-disabled):hover .news-pnav-title { color: var(--c-primary); }

/* ===== 相关阅读 ===== */
.news-related { margin-top: 8px; }
.news-related h2 {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, var(--c-primary), var(--c-accent-cyan)) 1;
}
.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.news-related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-related-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-border));
    box-shadow: var(--shadow-hover);
}
.news-related-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--c-bg-soft);
}
.news-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.news-related-card:hover .news-related-thumb img { transform: scale(1.06); }
.news-related-cat {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-cyan) 100%);
}
.news-related-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.45;
    padding: 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-related-card:hover h3 { color: var(--c-primary); }
.news-related-meta {
    font-size: 12px;
    color: var(--c-text-muted);
    padding: 0 14px 14px;
}

/* ===== 底部 CTA 横幅 ===== */
.news-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 30px 36px;
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(400px 200px at 90% -30%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-purple) 100%);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--c-primary) 28%, transparent);
}
.news-cta-text h2 {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
}
.news-cta-text p {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}
.news-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.news-cta-btn {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.news-cta-primary {
    background: #fff;
    color: var(--c-primary);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.news-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2); }
.news-cta-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.news-cta-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* ===== 分类页新闻列表入口（共用：分类页引用） ===== */
.cat-news-more { text-align: center; margin-top: 20px; }
.cat-news-more-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--c-border);
    color: var(--c-primary);
    transition: all 0.16s ease;
}
.cat-news-more-btn:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--c-primary) 30%, transparent);
}

/* ======================================================================
 *  摸鱼隐蔽 · 标题伪装开关
 * ====================================================================== */
body.news-title-disguise-on [data-disguise] {
    color: transparent;
    position: relative;
}
body.news-title-disguise-on [data-disguise]::after {
    content: attr(data-disguise);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.news-title-disguise-on .news-card-desc,
body.news-title-disguise-on .news-feature-desc,
body.news-title-disguise-on .news-article-body,
body.news-title-disguise-on .news-hero-title {
    /* 正文/摘要/焦点标题隐藏 */
}
body.news-title-disguise-on .news-card-desc,
body.news-title-disguise-on .news-feature-desc,
body.news-title-disguise-on .news-article-body {
    display: none;
}

/* ======================================================================
 *  详情页增强（v5）：阅读操作栏 / 侧栏大纲 / toast
 * ====================================================================== */
.news-actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 40px;
    padding: 18px 20px;
    border-radius: 14px;
    background:
        radial-gradient(320px 90px at 0% 0%, color-mix(in srgb, var(--c-primary) 8%, transparent), transparent 70%),
        var(--c-bg-soft);
    border: 1px solid var(--c-border);
}
.na-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.na-font-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-sub);
}
.na-font-group {
    display: flex;
    gap: 6px;
}
.na-font {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    border-radius: 9px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
    color: var(--c-text-sub);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s;
}
.na-font[data-fs="sm"] { font-size: 12px; }
.na-font[data-fs="md"] { font-size: 14px; }
.na-font[data-fs="lg"] { font-size: 16px; }
.na-font:hover { border-color: var(--c-primary); color: var(--c-primary); }
.na-font.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent-cyan));
    box-shadow: 0 4px 10px color-mix(in srgb, var(--c-primary) 30%, transparent);
}
.na-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.na-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
    color: var(--c-text-sub);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s;
}
.na-btn b { color: var(--c-primary); font-size: 14px; }
.na-btn:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-1px); }
.na-btn.on-like {
    border-color: color-mix(in srgb, #f59e0b 55%, transparent);
    background: rgba(245, 158, 11, 0.08);
    color: #b45309;
}
.na-btn.on-fav {
    border-color: color-mix(in srgb, var(--c-accent-pink) 55%, transparent);
    background: color-mix(in srgb, var(--c-accent-pink) 10%, transparent);
    color: var(--c-accent-pink);
}

/* 侧栏大纲 */
.aside-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 340px;
    overflow-y: auto;
}
.aside-toc-item a {
    display: block;
    padding: 8px 10px;
    border-left: 2px solid var(--c-border);
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text-sub);
    text-decoration: none;
    transition: all 0.16s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aside-toc-item.lv2 a { font-weight: 700; color: var(--c-text); }
.aside-toc-item.lv3 a { padding-left: 22px; }
.aside-toc-item a:hover { color: var(--c-primary); border-left-color: var(--c-primary); }
.aside-toc-item.active a {
    color: var(--c-primary);
    border-left-color: var(--c-primary);
    background: color-mix(in srgb, var(--c-primary) 8%, transparent);
    font-weight: 700;
}

/* toast */
.news-toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%) translateY(16px);
    z-index: 9999;
    max-width: 80vw;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 14px;
    background: #1f2937;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.news-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ======================================================================
 *  v6 沉浸阅读升级：深色氛围 Hero / 衬线正文 / 印章章节 / 胶囊信息 / 卡片流
 * ====================================================================== */
:root {
    --news-ink: #1e2b4a;
    --news-ink-2: #264783;
    --news-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', SimSun, Georgia, serif;
}

/* ----- 列表页：沉浸式 Hero ----- */
.news-hero-v6 {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg, 24px);
    margin: 14px 0 20px;
    padding: 64px 40px 56px;
    text-align: center;
    background: linear-gradient(150deg, var(--news-ink) 0%, var(--news-ink-2) 58%, #2f5aa8 100%);
}
.nhv-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.nhv-blob-1 {
    top: -28%;
    left: -12%;
    width: 52%;
    height: 60%;
    background: rgba(255, 255, 255, 0.10);
    filter: blur(90px);
    animation: nhv-float 9s ease-in-out infinite alternate;
}
.nhv-blob-2 {
    top: 18%;
    right: -10%;
    width: 42%;
    height: 70%;
    background: rgba(0, 0, 0, 0.22);
    filter: blur(90px);
    animation: nhv-float 11s ease-in-out infinite alternate-reverse;
}
@keyframes nhv-float {
    from { transform: translateY(-12px) scale(1); }
    to { transform: translateY(16px) scale(1.06); }
}
.nhv-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.nhv-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.nhv-title {
    font-family: var(--news-serif);
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    line-height: 1.4;
    margin-bottom: 14px;
}
.nhv-sub {
    font-family: var(--news-serif);
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 26px;
}
.nhv-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.nhv-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.06);
}
.nhv-pill.nhv-btn {
    cursor: pointer;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    transition: all 0.25s ease;
}
.nhv-pill.nhv-btn:hover {
    background: #fff;
    color: var(--news-ink-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ----- 列表页：卡片流（v6） ----- */
.news-list-v6 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nlc {
    position: relative;
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    box-shadow: 0 4px 6px -1px rgba(30, 43, 74, 0.05), 0 2px 4px -2px rgba(30, 43, 74, 0.04);
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s cubic-bezier(.4, 0, .2, 1), border-color 0.3s;
    animation: nhv-rise 0.5s ease backwards;
}
.nlc:nth-child(1) { animation-delay: 0.03s; }
.nlc:nth-child(2) { animation-delay: 0.08s; }
.nlc:nth-child(3) { animation-delay: 0.13s; }
.nlc:nth-child(4) { animation-delay: 0.18s; }
.nlc:nth-child(5) { animation-delay: 0.23s; }
@keyframes nhv-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.nlc:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-border));
    box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--c-primary) 28%, transparent);
}
.nlc-thumb {
    flex: 0 0 auto;
    width: 172px;
    height: 116px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--c-bg-soft);
}
.nlc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.nlc:hover .nlc-thumb img { transform: scale(1.07); }
.nlc-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.nlc-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nlc-title a { color: var(--news-ink); text-decoration: none; transition: color 0.16s; }
.nlc-title a:hover { color: var(--c-primary); }
.nlc-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--c-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}
.nlc-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--c-text-muted);
}
.nlc-meta .nlc-cat {
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--c-primary) 10%, transparent);
    color: var(--c-primary);
    font-weight: 600;
}
.nlc-meta .sep-dot { opacity: 0.5; }

/* 侧栏：每日一句卡（衬线引言风） */
.aside-quote {
    background:
        radial-gradient(200px 120px at 100% 0%, color-mix(in srgb, var(--news-ink-2) 14%, transparent), transparent 70%),
        var(--c-bg-card);
}
.aside-quote-text {
    font-family: var(--news-serif);
    font-size: 14.5px;
    line-height: 2;
    color: var(--c-text-sub);
}
.aside-quote-by {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--c-text-muted);
    text-align: right;
}

/* ----- 详情页：氛围 Hero 头部（v6） ----- */
.news-hero-head {
    position: relative;
    overflow: hidden;
    padding: 64px 44px 52px;
    text-align: center;
    color: #fff;
    background: linear-gradient(150deg, var(--news-ink) 0%, var(--news-ink-2) 58%, #2f5aa8 100%);
}
.news-hero-head .nhv-blob-1,
.news-hero-head .nhv-blob-2 { position: absolute; }
.nhh-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}
.nhh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 12.5px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.nhh-badge:hover { background: rgba(255, 255, 255, 0.24); }
.nhh-title {
    font-family: var(--news-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.nhh-lead {
    font-family: var(--news-serif);
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 24px;
    max-width: 620px;
}
.nhh-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.nhh-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 12.5px;
}

/* ----- 详情页：衬线正文 + 印章标题（v6） ----- */
.news-article-body {
    font-family: var(--news-serif);
    letter-spacing: 0.5px;
}
.news-article-body p {
    text-indent: 2em;
    color: #333;
}
:root[data-theme="dark"] .news-article-body p { color: var(--c-text-sub); }
.news-article-body p:has(img) { text-indent: 0; }
.news-article-body h2 {
    display: inline-block;
    margin: 1.8em 0 1em;
    padding: 6px 14px;
    font-family: var(--news-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, var(--news-ink-2), var(--c-primary));
    border-left: none;
    border-image: none;
    border-radius: 6px;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--news-ink-2) 35%, transparent);
}
.news-article-body h3 {
    font-family: var(--news-serif);
    color: var(--news-ink-2);
    background:
        radial-gradient(240px 70px at 0% 0%, color-mix(in srgb, var(--news-ink-2) 10%, transparent), transparent 70%),
        var(--c-bg-soft);
}
:root[data-theme="dark"] .news-article-body h3 { color: var(--c-accent-cyan); }
.news-article-body h3::before {
    background: linear-gradient(135deg, var(--news-ink-2), var(--c-accent-cyan));
}
.news-article-body blockquote {
    font-family: var(--news-serif);
    border-left: 5px solid var(--news-ink-2);
    background: color-mix(in srgb, var(--news-ink-2) 6%, var(--c-bg-soft));
}
.news-article-body strong { color: var(--news-ink-2); }
:root[data-theme="dark"] .news-article-body strong { color: var(--c-accent-cyan); }

/* 封面图圆角收窄，贴合书卷风 */
.news-article-cover { padding: 20px 40px 0; }
.news-article-cover img { border-radius: 14px; }

/* 操作栏胶囊化微调 */
.news-actionbar {
    margin-top: 26px;
}

/* 沉浸专注模式 */
body.news-zen-mode .nav-header,
body.news-zen-mode .news-breadcrumb,
body.news-zen-mode .news-aside,
body.news-zen-mode .news-related,
body.news-zen-mode .news-cta,
body.news-zen-mode .footer {
    display: none;
}
body.news-zen-mode .news-detail-layout { grid-template-columns: 1fr; }
body.news-zen-mode .news-article { box-shadow: 0 20px 60px -20px rgba(30, 43, 74, 0.25); }
.news-zen-exit {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9990;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-card);
    color: var(--c-text-sub);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: none;
}
body.news-zen-mode .news-zen-exit { display: block; }

/* 打字机光标点 */
.nhv-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: rgba(255, 255, 255, 0.85);
    margin-left: 2px;
    vertical-align: -0.15em;
    animation: nhv-blink 0.9s steps(1) infinite;
}
@keyframes nhv-blink {
    50% { opacity: 0; }
}

/* ======================================================================
 *  暗色模式覆盖
 * ====================================================================== */
:root[data-theme="dark"] .news-hero {
    background:
        radial-gradient(700px 340px at 12% -20%, rgba(0, 102, 255, 0.22) 0%, transparent 60%),
        radial-gradient(560px 300px at 92% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, var(--c-bg-soft) 0%, #16233f 100%);
}
:root[data-theme="dark"] .news-feature-mask {
    background: linear-gradient(180deg, rgba(5, 9, 20, 0.1) 0%, rgba(5, 9, 20, 0.5) 55%, rgba(5, 9, 20, 0.88) 100%);
}
:root[data-theme="dark"] .news-tag {
    background: color-mix(in srgb, var(--c-primary) 16%, transparent);
}
:root[data-theme="dark"] .news-boss-key {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
    .news-layout,
    .news-detail-layout { grid-template-columns: 1fr; }
    .news-aside { position: static; }
    .news-related-grid { grid-template-columns: repeat(2, 1fr); }
    .news-hero { padding: 28px 24px; }
    .news-hero-btn { display: none; }
}
@media (max-width: 640px) {
    .news-wrap { padding: 12px 0 40px; }
    .news-hero-icon { flex-basis: 56px; width: 56px; height: 56px; font-size: 28px; border-radius: 16px; }
    .news-hero-title { font-size: 21px; }
    .news-hero-inner { gap: 14px; }
    .news-feature { height: 230px; }
    .news-feature-title { font-size: 18px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-article-head { padding: 26px 20px; }
    .news-article-head h1 { font-size: 20px; }
    .news-article-body { padding: 22px 20px; font-size: 15px; }
    .news-actionbar { margin: 0 20px 8px; padding: 14px; justify-content: center; }
    .news-article-body h3 { padding-left: 46px; font-size: 16px; }
    .news-article-body h3::before { left: 12px; }
    .news-hero-v6 { padding: 42px 20px 38px; }
    .nhv-title { font-size: 27px; letter-spacing: 2px; }
    .nhv-sub { font-size: 13.5px; }
    .nhv-pills { gap: 8px; }
    .nhv-pill { padding: 7px 13px; font-size: 12px; }
    .nlc { flex-direction: column; gap: 12px; padding: 16px; }
    .nlc-thumb { width: 100%; height: 150px; }
    .news-hero-head { padding: 44px 20px 38px; }
    .nhh-title { font-size: 23px; letter-spacing: 1px; }
    .news-article-cover { padding: 16px 20px 0; }
    .news-article-tags { margin: 0 20px; }
    .news-pnav { grid-template-columns: 1fr; margin: 0 20px 24px; }
    .news-pnav-next { text-align: left; }
    .news-related-grid { grid-template-columns: 1fr; }
    .news-cta { padding: 24px 20px; }
}

/* ===== 分类页卡片网格（共用：分类页引用） ===== */
.cat-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.cat-news-card {
    display: flex;
    flex-direction: column;
    background: var(--c-bg-card, #fff);
    border: 1px solid var(--c-border, #eee);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.22s ease;
    color: inherit;
}
.cat-news-card:hover {
    border-color: var(--c-primary, #6366f1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    transform: translateY(-3px);
}
.cat-news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--c-bg-soft, #f9fafb);
}
.cat-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cat-news-card:hover .cat-news-thumb img { transform: scale(1.05); }
.cat-news-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    flex: 1;
}
.cat-news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--c-text, #1f2937);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s;
}
.cat-news-card:hover .cat-news-title { color: var(--c-primary, #6366f1); }
.cat-news-desc {
    font-size: 13px;
    color: var(--c-text-sub, #6b7280);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.cat-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--c-text-muted, #9ca3af);
}
@media (max-width: 640px) {
    .cat-news-grid { grid-template-columns: 1fr; }
}

/* ===== 搜索结果条（v7）===== */
.news-searchbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    font-size: 13px;
    color: var(--c-text-sub);
}
.news-searchbar-kw { color: var(--c-text); font-weight: 600; }
.news-searchbar-kw b { color: var(--c-primary, #6366f1); }
.news-searchbar-count { color: var(--c-text-muted); }
.news-searchbar-sort { font-size: 12px; color: var(--c-text-muted); }
.news-searchbar-clear {
    margin-left: auto;
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color .16s;
}
.news-searchbar-clear:hover { color: var(--c-primary, #6366f1); }
@media (max-width: 640px) {
    .news-searchbar-clear { margin-left: 0; width: 100%; }
}
