/* ============================================================
   新闻内容页（单篇文章 / 对照设计稿：Blog 内页）
   结构：.page-crumb（复用 pages.css 青色面包屑）→ .ns-hero（深蓝标题区+meta+分享）
        → .ns-body（左正文 + 右侧栏：配图/两个按钮/推荐文章）→ .ns-pn（上下篇）
   配色：主青 #2aa9c4 / 深蓝 #17325c / Hero 深蓝 #131956 / 软底 #f3f9fb
   ============================================================ */

/* ---------- Hero ---------- */
.ns-hero {
    /*background: linear-gradient(115deg, #131956 0%, #1a2a6b 60%, #223a86 100%);*/
    background: linear-gradient(90deg, rgb(235 236 237 / 0%) 0%, rgb(248 244 244 / 0%) 60%, #19284c08 100%);
    border-bottom: 1px solid #c6c9ca3b;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 46px 0 40px;
}
.ns-hero::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 120px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(127, 212, 230, .8));
    transform: translateY(-50%);
    opacity: .5;
}
.ns-hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}
.ns-hero h1 {
    margin: 0 0 22px;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    max-width: 900px;
    color: #19284c;
}
.ns-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    font-size: 13px;
    /*color: rgba(255, 255, 255, .7);*/
	color:#19284c
}
.ns-meta b { color: #7fd4e6; font-weight: 600; margin-left: 4px; }
.ns-meta a { color: #7fd4e6; text-decoration: none; }
.ns-meta a:hover { text-decoration: underline; }
.ns-share { display: flex; gap: 12px; flex-shrink: 0; padding-top: 6px; }
.ns-share a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(127, 212, 230, .55);
    color: #cdeef5;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all .25s;
}
.ns-share a:hover { background: #2aa9c4; border-color: #2aa9c4; color: #fff; }

/* ---------- Body layout ---------- */
.ns-body { background: #fff; padding: 46px 0 60px; }
.ns-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 46px;
    align-items: start;
}

/* ---------- Article ---------- */
.ns-article { min-width: 0; }
.ns-article .ns-content { font-size: 15.5px; line-height: 1.9; color: #3a4a5a; }
.ns-article .ns-content p { margin: 0 0 20px; }
.ns-article .ns-content h2 { font-size: 23px; font-weight: 700; color: #17325c; margin: 34px 0 16px; }
.ns-article .ns-content h3 { font-size: 19px; font-weight: 700; color: #17325c; margin: 28px 0 14px; }
.ns-article .ns-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0 22px; display: block; }
.ns-article .ns-content ul,
.ns-article .ns-content ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.ns-article .ns-content li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ns-article .ns-content li::before {
    content: '\f14a'; /* font-awesome square-check */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'Font Awesome 6 Brands', sans-serif;
    font-weight: 900;
    position: absolute; left: 0; top: 1px;
    color: #2aa9c4; font-size: 16px;
}
.ns-article .ns-content ul ul li::before,
.ns-article .ns-content ol ol li::before { content: '\f111'; font-size: 8px; top: 8px; color: #7a8a99; }
.ns-article .ns-content blockquote {
    border-left: 4px solid #2aa9c4; margin: 24px 0; padding: 14px 22px;
    background: #f3f9fb; border-radius: 0 8px 8px 0; color: #556; font-style: italic;
}
.ns-article .ns-content a { color: #2aa9c4; text-decoration: none; }
.ns-article .ns-content a:hover { text-decoration: underline; }
.ns-article .ns-content iframe { max-width: 100%; }
.ns-embed-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; margin: 8px 0 22px; }
.ns-embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Prev / Next ---------- */
.ns-pn {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 34px; padding-top: 22px; border-top: 1px solid #eef2f4;
}
.ns-pn-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; min-width: 0; }
.ns-pn-links span { color: #2aa9c4; font-weight: 600; }
.ns-pn-links a { color: #3a4a5a; text-decoration: none; }
.ns-pn-links a:hover { color: #2aa9c4; }
.ns-pn-links em { font-style: normal; color: #9aa8b5; }
.ns-back-btn {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 8px;
    background: #2aa9c4; color: #fff;
    padding: 10px 22px; border-radius: 22px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: all .25s;
}
.ns-back-btn:hover { background: #1f8ba3; }

/* ---------- Sidebar ---------- */
.ns-side { display: flex; flex-direction: column; gap: 18px; }
.ns-side-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(20, 40, 90, .1); }
.ns-side-img img { width: 100%; display: block; }
.ns-side-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 20px; border-radius: 10px;
    font-size: 15px; font-weight: 600; text-decoration: none; color: #fff;
    transition: all .25s;
}
.ns-side-btn i { font-size: 16px; }
.ns-side-btn.expert { background: #7fc4d4; }
.ns-side-btn.expert:hover { background: #63b3c6; }
.ns-side-btn.subscribe { background: #17325c; }
.ns-side-btn.subscribe:hover { background: #12294b; }

.ns-reco {
    background: #f3f9fb; border-radius: 12px; padding: 22px 22px 10px;
}
.ns-reco h4 {
    margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #17325c;
    text-align: left; padding-left: 17px;
}
.ns-reco ul { list-style: none; margin: 0; padding: 0; }
.ns-reco li { position: relative; padding: 14px 0; }
/* 菱形图标之间的竖向连接线（时间轴） */
.ns-reco li::before {
    content: ''; position: absolute; left: 3px; top: 0; bottom: 0;
    width: 1px; background: #cfe0e6;
}
.ns-reco li:first-child::before { top: 23px; }
.ns-reco li:last-child::before { bottom: auto; height: 23px; }
.ns-reco li:only-child::before { display: none; }
.ns-reco-item { display: flex; gap: 10px; text-decoration: none; }
.ns-reco-item::before {
    content: ''; flex: 0 0 auto; margin-top: 6px; position: relative; z-index: 1;
    width: 7px; height: 7px; background: #2aa9c4;
    transform: rotate(45deg);
}
.ns-reco-txt { min-width: 0; }
.ns-reco-txt strong { display: block; font-size: 13.5px; font-weight: 600; color: #33475b; line-height: 1.5; }
.ns-reco-txt span { display: block; margin-top: 5px; font-size: 12px; color: #9aa8b5; }
.ns-reco-item:hover strong { color: #2aa9c4; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .ns-layout { grid-template-columns: 1fr; }
    .ns-side { order: 2; }
    .ns-hero h1 { font-size: 26px; }
    .ns-hero-inner { flex-direction: column; }
    .ns-share { padding-top: 0; }
}
@media (max-width: 600px) {
    .ns-hero { padding: 32px 0 28px; }
    .ns-hero h1 { font-size: 22px; }
    .ns-meta { gap: 14px 20px; }
    .ns-pn { flex-direction: column; align-items: flex-start; }
}
