@charset "UTF-8";
/* =============================================================================
 * news.css — 盛家房产 · 新闻资讯（列表页 /articles/list/{id} + 详情页 /articles/{key}.html）
 *
 * 数据源：广告位「新闻banner」+ 文章分类（地方动态 / 行业政策 / 行业关注 / 盛家最新动态）
 * 栅格：沿用 sjfc-core.css 的 .sj-wrap（1400px 居中），与 xiaoqu.css 同一套视觉语言
 * 断点：1200 / 992 / 768 / 480（PC 优先，逐级收敛到单栏）
 *
 * 版块索引
 *   一、共用      .sj-nw-hero-*   内页横幅（列表 / 详情同款）
 *   二、列表页    .sj-nwl-*       栏目切换 / 头条三卡 / 一一列条目 / 分页 / 空态
 *   三、详情页    .sj-nwd-*       正文排版 / 图 / 关键词 / 上下篇 / 侧栏
 *   四、底部 CTA  .sj-nw-cta-*    两页共用
 * ========================================================================== */

/* =============================================================================
 * 一、内页横幅（列表页 / 详情页共用）
 * ========================================================================== */
.sj-nw {
    --nw-blue: #01539c;
    --nw-blue-d: #08447f;
    --nw-navy: #0b2a4a;
    --nw-red: #cf0000;
    --nw-ink: #333333;
    --nw-gray: #666666;
    --nw-line: #e6e9ef;
    --nw-soft: #f5f8fb;
    --nw-ease: cubic-bezier(.22, .61, .36, 1);
    overflow: hidden;
}

.sj-nw-hero {
    position: relative;
    display: flex;
    align-items: center;
    /* 横幅是 1920×300 的成品图条：高度跟着背景图比例走，整幅按宽度等比缩放，
       不放大不裁切，图片底部的橙色分隔线完整露出；
       min-height 兜住图片原始高度（300px），窄屏时也不至于把文案挤爆 */
    aspect-ratio: 1920 / 300;
    /* width 必须写死 100%：只有宽度先定下来，aspect-ratio 才会按宽度算高度；
       否则浏览器会反过来用 min-height 去乘比例，得出 1920px 的宽度把横幅撑破 */
    width: 100%;
    min-height: 300px;
    background-color: #0b3f72;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

/* 左深右浅的横向渐变：文案压在深色一侧，图片右侧细节仍可见 */
.sj-nw-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 33, 61, .90) 0%, rgba(6, 33, 61, .72) 46%, rgba(6, 33, 61, .48) 100%);
}

.sj-nw-hero > .sj-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sj-nw-hero__inner {
    /* 横幅总高按图片比例锁定（1920 宽时正好 300px），内边距收紧，
       文案才落在图上的深色区里、不顶到图片下沿的橙色线 */
    padding: 34px 0 30px;
}

/* 详情页刊头同样压在 300px 横幅内，标题收紧一档 */
.sj-nw-hero--detail .sj-nw-hero__inner {
    padding: 34px 0 28px;
}

.sj-nw-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, .72);
}

.sj-nw-crumb a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s var(--nw-ease);
}

.sj-nw-crumb a:hover {
    color: #fff;
}

.sj-nw-crumb i {
    font-style: normal;
    opacity: .5;
}

.sj-nw-crumb span {
    max-width: 620px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sj-nw-hero__kicker {
    display: inline-block;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, .9);
}

.sj-nw-hero__kicker--plain {
    padding: 0;
    border: 0;
    font-size: 13px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.sj-nw-hero__title {
    margin: 14px 0 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    color: #fff;
}

.sj-nw-hero--detail .sj-nw-hero__title {
    max-width: 1000px;
    font-size: 30px;
    line-height: 1.32;
}

.sj-nw-hero__sub {
    max-width: 780px;
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.sj-nw-hero__desc {
    max-width: 720px;
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}

/* 详情页刊头元信息：日期 / 来源 / 浏览 */
.sj-nw-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

.sj-nw-hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sj-nw-hero__meta svg {
    width: 16px;
    height: 16px;
    flex: none;
    opacity: .82;
}

/* =============================================================================
 * 二、列表页
 * ========================================================================== */
.sj-nwl {
    padding: 44px 0 0;
    background: #fff;
}

/* ── 栏目切换条（吸顶：滚动时仍可换栏目） ───────────────────────────────── */
.sj-nwl-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--nw-line);
}

.sj-nwl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sj-nwl-tab {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 22px;
    border: 1px solid var(--nw-line);
    border-radius: 21px;
    background: #fff;
    font-size: 16px;
    color: var(--nw-ink);
    transition: color .22s var(--nw-ease), border-color .22s var(--nw-ease), background .22s var(--nw-ease);
}

.sj-nwl-tab em {
    margin-left: 8px;
    font-style: normal;
    font-size: 13px;
    color: #9aa4b2;
}

.sj-nwl-tab:hover {
    border-color: var(--nw-blue);
    color: var(--nw-blue);
}

.sj-nwl-tab:hover em {
    color: var(--nw-blue);
}

.sj-nwl-tab.is-on {
    border-color: var(--nw-blue);
    background: var(--nw-blue);
    font-weight: 700;
    color: #fff;
}

.sj-nwl-tab.is-on em {
    color: rgba(255, 255, 255, .72);
}

.sj-nwl-count {
    flex: none;
    font-size: 14px;
    color: #8a94a2;
}

.sj-nwl-count b {
    margin: 0 3px;
    font-size: 18px;
    font-weight: 700;
    color: var(--nw-blue);
}

/* ── 板块小标题（「本栏目头条」/「最新发布」） ──────────────────────────── */
.sj-nwl-cap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 38px 0 22px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--nw-ink);
}

.sj-nwl-cap::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--nw-red);
}

.sj-nwl-cap span {
    font-size: 14px;
    font-weight: 400;
    color: #9aa4b2;
}

/* ── 头条三卡：一行三列，大图 + 标题 + 摘要 ─────────────────────────────── */
.sj-nwl-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.sj-nwl-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nw-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .28s var(--nw-ease), box-shadow .28s var(--nw-ease), transform .28s var(--nw-ease);
}

.sj-nwl-card:hover {
    border-color: rgba(1, 83, 156, .32);
    box-shadow: 0 16px 34px rgba(1, 35, 66, .10);
    transform: translateY(-4px);
}

.sj-nwl-card__pic {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #eef2f7;
    overflow: hidden;
}

@supports not (aspect-ratio: 16 / 9) {
    .sj-nwl-card__pic::before {
        content: "";
        display: block;
        padding-top: 56.25%;
    }
}

.sj-nwl-card__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--nw-ease);
}

.sj-nwl-card:hover .sj-nwl-card__pic img {
    transform: scale(1.05);
}

/* 无图文章的兜底：蓝底 + 栏目名水印 */
.sj-nwl-card__pic--none {
    background: linear-gradient(135deg, #0b3f72, #01539c);
}

.sj-nwl-card__pic--none::after {
    content: attr(data-cate);
    position: absolute;
    left: 20px;
    bottom: 16px;
    font-size: 15px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .55);
}

.sj-nwl-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.sj-nwl-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 1;
    color: #9aa4b2;
}

.sj-nwl-meta i {
    font-style: normal;
    opacity: .5;
}

.sj-nwl-meta__cate {
    height: 24px;
    padding: 0 10px;
    border-radius: 12px;
    background: rgba(1, 83, 156, .08);
    font-size: 13px;
    line-height: 24px;
    color: var(--nw-blue);
}

.sj-nwl-card__title {
    margin: 14px 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--nw-ink);
    /* 两行截断：三卡等高，标题长短不一时不会参差 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .22s var(--nw-ease);
}

.sj-nwl-card:hover .sj-nwl-card__title {
    color: var(--nw-blue);
}

.sj-nwl-card__brief {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--nw-gray);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sj-nwl-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--nw-blue);
}

.sj-nwl-go svg {
    width: 16px;
    height: 16px;
    transition: transform .28s var(--nw-ease);
}

.sj-nwl-card:hover .sj-nwl-go svg {
    transform: translateX(5px);
}

/* ── 其余条目：一列横向（图左文右） ─────────────────────────────────────── */
.sj-nwl-list {
    margin-top: 6px;
}

.sj-nwl-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px 4px;
    border-bottom: 1px solid var(--nw-line);
    transition: background .26s var(--nw-ease);
}

.sj-nwl-row:first-child {
    padding-top: 8px;
}

.sj-nwl-row:hover {
    background: linear-gradient(90deg, rgba(1, 83, 156, .05), rgba(1, 83, 156, 0) 62%);
}

.sj-nwl-row__pic {
    position: relative;
    flex: none;
    display: block;
    width: 268px;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    background: #eef2f7;
    overflow: hidden;
}

@supports not (aspect-ratio: 16 / 10) {
    .sj-nwl-row__pic::before {
        content: "";
        display: block;
        padding-top: 62.5%;
    }
}

.sj-nwl-row__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--nw-ease);
}

.sj-nwl-row:hover .sj-nwl-row__pic img {
    transform: scale(1.06);
}

.sj-nwl-row__pic--none {
    background: linear-gradient(135deg, #0b3f72, #01539c);
}

.sj-nwl-row__pic--none::after {
    content: attr(data-cate);
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-size: 14px;
    letter-spacing: 2.4px;
    color: rgba(255, 255, 255, .55);
}

.sj-nwl-row__body {
    flex: 1;
    min-width: 0;
}

.sj-nwl-row__title {
    margin: 12px 0 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--nw-ink);
    transition: color .22s var(--nw-ease);
}

.sj-nwl-row:hover .sj-nwl-row__title {
    color: var(--nw-blue);
}

.sj-nwl-row__brief {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--nw-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 分页 ─────────────────────────────────────────────────────────────── */
.sj-nwl-pager {
    margin: 44px 0 0;
    text-align: center;
}

.sj-nwl-pager ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sj-nwl-pager a,
.sj-nwl-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--nw-line);
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: var(--nw-ink);
    transition: border-color .22s var(--nw-ease), color .22s var(--nw-ease), background .22s var(--nw-ease);
}

.sj-nwl-pager a:hover {
    border-color: var(--nw-blue);
    color: var(--nw-blue);
}

.sj-nwl-pager span.is-on {
    border-color: var(--nw-blue);
    background: var(--nw-blue);
    font-weight: 700;
    color: #fff;
}

.sj-nwl-pager span.is-gap {
    border-color: transparent;
    color: #b4bcc8;
}

.sj-nwl-pager span.is-disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ── 空态 ─────────────────────────────────────────────────────────────── */
.sj-nwl-empty {
    padding: 88px 0 92px;
    text-align: center;
}

.sj-nwl-empty__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--nw-soft);
    color: #b8c4d2;
}

.sj-nwl-empty__ico svg {
    width: 34px;
    height: 34px;
}

.sj-nwl-empty b {
    display: block;
    margin: 20px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--nw-ink);
}

.sj-nwl-empty p {
    margin: 10px 0 0;
    font-size: 15px;
    color: #8a94a2;
}

.sj-nwl-empty__back {
    display: inline-flex;
    align-items: center;
    height: 44px;
    margin-top: 24px;
    padding: 0 26px;
    border-radius: 22px;
    background: var(--nw-blue);
    font-size: 15px;
    color: #fff;
    transition: background .24s var(--nw-ease);
}

.sj-nwl-empty__back:hover {
    background: var(--nw-blue-d);
}

/* =============================================================================
 * 三、详情页
 * ========================================================================== */
.sj-nwd {
    padding: 44px 0 0;
    background: #fff;
}

.sj-nwd-layout {
    display: grid;
    /* 主栏给足行宽，正文读起来不费劲；侧栏固定 320px */
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 34px;
}

/* ── 正文主卡 ─────────────────────────────────────────────────────────── */
.sj-nwd-card {
    padding: 40px 44px 36px;
    border: 1px solid var(--nw-line);
    border-radius: 14px;
    background: #fff;
}

/* 导语：左侧红竖线 + 浅底，与正文段落区分开 */
.sj-nwd-lead {
    position: relative;
    margin: 0 0 30px;
    padding: 18px 22px 18px 24px;
    border-left: 3px solid var(--nw-red);
    border-radius: 0 10px 10px 0;
    background: var(--nw-soft);
    font-size: 16px;
    line-height: 1.9;
    color: #4a5563;
}

.sj-nwd-figure {
    margin: 0 0 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
}

.sj-nwd-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── 正文排版（TinyMCE 输出：p / h2-h4 / img / ul / ol / blockquote / table） ── */
.sj-nwd-body {
    font-size: 16px;
    line-height: 2;
    color: #3f4a58;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sj-nwd-body > *:first-child {
    margin-top: 0;
}

.sj-nwd-body > *:last-child {
    margin-bottom: 0;
}

.sj-nwd-body p {
    margin: 0 0 20px;
    text-align: justify;
}

.sj-nwd-body h2,
.sj-nwd-body h3,
.sj-nwd-body h4 {
    margin: 36px 0 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--nw-ink);
}

.sj-nwd-body h2 {
    position: relative;
    padding-left: 16px;
    font-size: 22px;
}

/* 小标题的红色短竖线：长文里一眼能扫到章节 */
.sj-nwd-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 18px;
    margin-top: -9px;
    border-radius: 2px;
    background: var(--nw-blue);
}

.sj-nwd-body h3 {
    font-size: 19px;
}

.sj-nwd-body h4 {
    font-size: 17px;
}

.sj-nwd-body strong {
    font-weight: 700;
    color: var(--nw-ink);
}

.sj-nwd-body a {
    color: var(--nw-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sj-nwd-body a:hover {
    color: var(--nw-blue-d);
}

.sj-nwd-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 26px auto;
    border-radius: 10px;
}

.sj-nwd-body ul,
.sj-nwd-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.sj-nwd-body li {
    margin-bottom: 10px;
}

.sj-nwd-body ul li {
    list-style: disc;
}

.sj-nwd-body ol li {
    list-style: decimal;
}

.sj-nwd-body blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--nw-blue);
    border-radius: 0 10px 10px 0;
    background: var(--nw-soft);
    font-size: 15px;
    line-height: 1.9;
    color: #556070;
}

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

.sj-nwd-body table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.sj-nwd-body th,
.sj-nwd-body td {
    padding: 12px 16px;
    border: 1px solid var(--nw-line);
    line-height: 1.7;
    text-align: left;
}

.sj-nwd-body th {
    background: var(--nw-soft);
    font-weight: 700;
    color: var(--nw-ink);
}

.sj-nwd-body hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid var(--nw-line);
}

/* ── 关键词标签 ───────────────────────────────────────────────────────── */
.sj-nwd-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--nw-line);
}

.sj-nwd-tags__label {
    font-size: 14px;
    color: #9aa4b2;
}

.sj-nwd-tag {
    height: 30px;
    padding: 0 14px;
    border-radius: 15px;
    background: var(--nw-soft);
    font-size: 14px;
    line-height: 30px;
    color: var(--nw-gray);
    transition: background .22s var(--nw-ease), color .22s var(--nw-ease);
}

.sj-nwd-tag:hover {
    background: rgba(1, 83, 156, .1);
    color: var(--nw-blue);
}

/* ── 上一篇 / 下一篇 ──────────────────────────────────────────────────── */
.sj-nwd-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.sj-nwd-nav__item {
    padding: 16px 20px;
    border: 1px solid var(--nw-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .24s var(--nw-ease), box-shadow .24s var(--nw-ease);
}

.sj-nwd-nav__item:hover {
    border-color: rgba(1, 83, 156, .30);
    box-shadow: 0 10px 24px rgba(1, 35, 66, .07);
}

.sj-nwd-nav__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1;
    color: #9aa4b2;
}

.sj-nwd-nav__item a,
.sj-nwd-nav__item em {
    display: block;
    font-size: 15px;
    font-style: normal;
    line-height: 1.6;
    color: var(--nw-ink);
    /* 一行截断：标题长短悬殊时两卡仍等高 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sj-nwd-nav__item a:hover {
    color: var(--nw-blue);
}

.sj-nwd-nav__item em {
    color: #b4bcc8;
}

.sj-nwd-nav__item--next {
    text-align: right;
}

.sj-nwd-back {
    margin-top: 22px;
    text-align: center;
}

.sj-nwd-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 26px;
    border: 1px solid var(--nw-line);
    border-radius: 23px;
    font-size: 15px;
    color: var(--nw-ink);
    transition: border-color .24s var(--nw-ease), color .24s var(--nw-ease);
}

.sj-nwd-back a:hover {
    border-color: var(--nw-blue);
    color: var(--nw-blue);
}

.sj-nwd-back svg {
    width: 16px;
    height: 16px;
}

/* ── 侧栏 ─────────────────────────────────────────────────────────────── */
.sj-nwd-side {
    position: relative;
}

.sj-nwd-side__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.sj-nwd-side__box {
    padding: 24px 22px;
    border: 1px solid var(--nw-line);
    border-radius: 14px;
    background: #fff;
}

/* 侧栏两块之间的竖向间距（当前顺序：顾问卡在上、相关资讯在下；反向顺序亦生效） */
.sj-nwd-side__box + .sj-nwd-side__box,
.sj-nwd-side__box + .sj-nwd-side__cta,
.sj-nwd-side__cta + .sj-nwd-side__box {
    margin-top: 20px;
}

.sj-nwd-side__title {
    position: relative;
    margin: 0 0 18px;
    padding-left: 13px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--nw-ink);
}

.sj-nwd-side__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    margin-top: -8px;
    border-radius: 2px;
    background: var(--nw-blue);
}

/* 侧栏推荐条目：序号 + 标题 + 日期 */
.sj-nwd-side__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-nwd-side__list li + li {
    margin-top: 4px;
    border-top: 1px dashed var(--nw-line);
}

.sj-nwd-side__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.sj-nwd-side__no {
    flex: none;
    width: 22px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    color: #c3ccd8;
    font-style: italic;
}

.sj-nwd-side__item:hover .sj-nwd-side__no {
    color: var(--nw-blue);
}

.sj-nwd-side__txt {
    flex: 1;
    min-width: 0;
}

.sj-nwd-side__txt b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--nw-ink);
    transition: color .22s var(--nw-ease);
}

.sj-nwd-side__item:hover .sj-nwd-side__txt b {
    color: var(--nw-blue);
}

.sj-nwd-side__txt time {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #9aa4b2;
}

.sj-nwd-side__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    color: var(--nw-blue);
}

.sj-nwd-side__more svg {
    width: 15px;
    height: 15px;
    transition: transform .28s var(--nw-ease);
}

.sj-nwd-side__more:hover svg {
    transform: translateX(4px);
}

/* 侧栏顾问卡：深蓝实底，与白卡侧栏拉开层次 */
.sj-nwd-side__cta {
    position: relative;
    padding: 26px 22px 24px;
    border-radius: 14px;
    background: linear-gradient(150deg, #0b3f72 0%, #01539c 62%, #08447f 100%);
    color: #fff;
    overflow: hidden;
}

/* 右下角的柔光：避免整块死平 */
.sj-nwd-side__cta::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.sj-nwd-side__cta > * {
    position: relative;
    z-index: 1;
}

.sj-nwd-side__cta h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.sj-nwd-side__cta p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

.sj-nwd-side__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    margin-top: 18px;
    border-radius: 12px;
    background: var(--nw-red);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
    transition: background .24s var(--nw-ease);
}

.sj-nwd-side__tel:hover {
    background: #b30000;
}

.sj-nwd-side__tel svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.sj-nwd-side__go {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: background .24s var(--nw-ease), border-color .24s var(--nw-ease);
}

.sj-nwd-side__go:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .14);
}

.sj-nwd-side__go svg {
    width: 18px;
    height: 18px;
    transition: transform .28s var(--nw-ease);
}

.sj-nwd-side__go:hover svg {
    transform: translateX(4px);
}

/* =============================================================================
 * 四、底部 CTA（列表页 / 详情页共用）
 * ========================================================================== */
.sj-nw-cta {
    --nwc-ease: cubic-bezier(.22, .61, .36, 1);
    position: relative;
    margin-top: 64px;
    padding: 56px 0;
    background: var(--nw-navy);
    overflow: hidden;
}

/* 斜向拉一道浅蓝光带，深底不至于闷 */
.sj-nw-cta::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 83, 156, .55) 0%, rgba(1, 83, 156, 0) 70%);
}

.sj-nw-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sj-nw-cta__kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.sj-nw-cta__title {
    margin: 14px 0 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.sj-nw-cta__desc {
    max-width: 620px;
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .72);
}

.sj-nw-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    flex: none;
}

.sj-nw-cta__tel {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    padding: 0 28px;
    border-radius: 14px;
    background: var(--nw-red);
    color: #fff;
    transition: background .24s var(--nwc-ease), box-shadow .24s var(--nwc-ease);
}

.sj-nw-cta__tel:hover {
    background: #b30000;
    box-shadow: 0 12px 26px rgba(207, 0, 0, .32);
}

.sj-nw-cta__tel-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.sj-nw-cta__tel-ico svg {
    width: 19px;
    height: 19px;
}

.sj-nw-cta__tel-txt {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sj-nw-cta__tel-txt b {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .5px;
}

.sj-nw-cta__tel-txt i {
    margin-top: 2px;
    font-size: 12px;
    font-style: normal;
    line-height: 1.2;
    color: rgba(255, 255, 255, .72);
}

.sj-nw-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 64px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    transition: background .24s var(--nwc-ease), border-color .24s var(--nwc-ease);
}

.sj-nw-cta__ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .14);
}

.sj-nw-cta__ghost svg {
    width: 19px;
    height: 19px;
    transition: transform .28s var(--nwc-ease);
}

.sj-nw-cta__ghost:hover svg {
    transform: translateX(4px);
}

.sj-nw-cta__link {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    transition: color .22s var(--nwc-ease);
}

.sj-nw-cta__link:hover {
    color: #fff;
}

/* =============================================================================
 * 五、响应式
 * ========================================================================== */

/* ── ≤1200：栅格收窄，头条仍保持三列（1400 → 1140 时每卡仍有 ~360px） ── */
@media (max-width: 1200px) {
    .sj-nw-hero__inner {
        padding: 30px 0 26px;
    }

    .sj-nw-hero--detail .sj-nw-hero__inner {
        padding: 30px 0 26px;
    }

    .sj-nw-hero__title {
        font-size: 36px;
    }

    .sj-nw-hero--detail .sj-nw-hero__title {
        font-size: 28px;
    }

    .sj-nwl-top {
        gap: 22px;
    }

    .sj-nwl-card__title {
        font-size: 18px;
    }

    .sj-nwl-row__pic {
        width: 238px;
    }

    .sj-nwd-layout {
        grid-template-columns: minmax(0, 1fr) 296px;
        gap: 28px;
    }

    .sj-nwd-card {
        padding: 34px 34px 30px;
    }

    .sj-nw-cta__title {
        font-size: 28px;
    }
}

/* ── ≤992：正文与侧栏改上下排列（侧栏下移后不再吸顶） ─────────────────── */
@media (max-width: 992px) {
    .sj-nw-hero__inner,
    .sj-nw-hero--detail .sj-nw-hero__inner {
        padding: 26px 0 24px;
    }

    .sj-nw-hero__title {
        font-size: 32px;
    }

    .sj-nw-hero--detail .sj-nw-hero__title {
        font-size: 26px;
        line-height: 1.36;
    }

    .sj-nw-hero__sub {
        font-size: 16px;
    }

    /* 头条三卡 → 两列（12 条一页时正好 3 行，末行两张也不会太孤） */
    .sj-nwl-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sj-nwd-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 单栏后侧栏在正文下方，吸顶反而会把内容顶住 */
    .sj-nwd-side__sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .sj-nw-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
}

/* ── ≤768：头条改单列，横向条目图缩小 ────────────────────────────────── */
@media (max-width: 768px) {
    /* 窄屏横幅被 min-height 兜在 300px：图片走 cover 裁两侧，
       文案靠左侧遮罩压住，字体同步收紧保证不越出横幅 */
    .sj-nw-hero__inner,
    .sj-nw-hero--detail .sj-nw-hero__inner {
        padding: 24px 0 22px;
    }

    .sj-nw-hero__title {
        font-size: 30px;
    }

    .sj-nw-hero--detail .sj-nw-hero__title {
        font-size: 24px;
    }

    .sj-nw-hero__desc {
        font-size: 14px;
    }

    .sj-nw-hero__meta {
        font-size: 14px;
    }

    .sj-nwl {
        padding: 32px 0 0;
    }

    .sj-nwl-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .sj-nwl-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sj-nwl-row {
        gap: 16px;
        padding: 18px 0;
    }

    .sj-nwl-row__pic {
        width: 170px;
    }

    .sj-nwl-row__title {
        margin-top: 8px;
        font-size: 17px;
    }

    .sj-nwl-row__brief {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .sj-nwl-row .sj-nwl-meta__cate {
        display: none;
    }

    .sj-nwd {
        padding: 30px 0 0;
    }

    .sj-nwd-card {
        padding: 26px 20px 22px;
    }

    .sj-nwd-body {
        font-size: 15px;
        line-height: 1.95;
    }

    .sj-nwd-body h2 {
        font-size: 19px;
    }

    .sj-nwd-body h3 {
        font-size: 17px;
    }

    .sj-nwd-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .sj-nwd-nav__item--next {
        text-align: left;
    }

    .sj-nw-cta {
        margin-top: 46px;
        padding: 42px 0;
    }

    .sj-nw-cta__title {
        font-size: 24px;
    }

    .sj-nw-cta__actions {
        width: 100%;
        gap: 14px;
    }

    .sj-nw-cta__tel,
    .sj-nw-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ── ≤480：小屏把横向条目也改上下排列 ────────────────────────────────── */
@media (max-width: 480px) {
    .sj-nw-hero__inner,
    .sj-nw-hero--detail .sj-nw-hero__inner {
        padding: 20px 0 18px;
    }

    .sj-nw-hero__title {
        font-size: 26px;
    }

    .sj-nw-hero--detail .sj-nw-hero__title {
        font-size: 21px;
    }

    .sj-nw-hero__desc {
        display: none;
    }

    .sj-nw-row,
    .sj-nwl-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .sj-nwl-row__pic {
        width: 100%;
    }

    .sj-nwl-row .sj-nwl-meta__cate {
        display: inline-block;
    }

    .sj-nwl-tabs {
        gap: 8px;
    }

    .sj-nwl-tab {
        height: 38px;
        padding: 0 16px;
        font-size: 15px;
    }

    .sj-nwl-tab em {
        display: none;
    }
}
