:root {
	--nd-red: #0ea5e9;
	--nd-red-dark: #0288d1;
	--nd-ink: #1b2025;
	--nd-text: #383e44;
	--nd-muted: #737a81;
	--nd-line: #dfe3e6;
	--nd-soft: #f3f5f6;
	--nd-white: #fff;
}

.news-detail-site { background: var(--nd-white); color: var(--nd-text); }
.nd-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* 2026-11-10 详情页以正文开篇：无顶部大图/面包屑，顶部只留固定头部高度的空白，
   点击新闻列表卡片直接进入标题+正文（与应用行业详情页 case.html 一致）。 */
/* 2026-11-14 客户要求：两侧空白加底色，让中间正文栏一眼可辨 */
.nd-main { background: #eaeff5; padding-top: calc(100rem + 44px); }
.nd-article { max-width: 980px; padding: 60px 64px 72px; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(20,27,32,.06); }
.nd-article-header { position: relative; text-align: center; padding-left: 0; }
.nd-section-label { margin: 0 0 14px; color: var(--nd-red); font-size: 14px; font-weight: 600; }
.nd-article-header h1 { max-width: 900px; margin: 0; color: var(--nd-ink); font-size: 32px; line-height: 1.45; font-weight: 600; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.nd-date { display: block; margin: 18px 0 0; color: var(--nd-muted); font-size: 13px; }
.nd-rule { display: flex; align-items: center; height: 1px; margin: 42px 0 52px; background: var(--nd-line); }
.nd-rule span { width: 88px; height: 3px; background: var(--nd-red); }
/* 2026-11-14 客户要求：封面图去掉灰底留白，改为贴图尺寸 + 细边框 */
.nd-cover { max-width: 620px; margin: 0 auto 38px; text-align: center; }
/* 2026-11-16 客户要求：封面图统一尺寸(3:2)，外框改参考新闻列表卡（#dce3ea 细描边/6px 圆角/柔和投影） */
.nd-cover img { display: block; width: 100%; max-width: 620px; aspect-ratio: 3 / 2; height: auto; margin: 0 auto; object-fit: cover; object-position: center; background: #ffffff; border: 2px solid #a7b4c1; border-radius: 8px; box-shadow: 0 14px 34px rgba(22,43,62,.16); }

.nd-richtext { max-width: 820px; margin: 0 auto; color: var(--nd-text); font-size: 17px; line-height: 2; overflow-wrap: anywhere; }
.nd-richtext > :first-child { margin-top: 0 !important; }
.nd-richtext > :last-child { margin-bottom: 0 !important; }
.nd-richtext p { margin: 0 0 24px; }
.nd-richtext h2,
.nd-richtext h3,
.nd-richtext h4 { margin: 42px 0 18px; color: var(--nd-ink); line-height: 1.5; font-weight: 600; }
.nd-richtext h2 { font-size: 26px; }
.nd-richtext h3 { font-size: 22px; }
.nd-richtext h4 { font-size: 19px; }
.nd-richtext img { display: block; max-width: 100%; height: auto !important; margin: 32px auto; }
.nd-richtext table { display: block; width: 100% !important; max-width: 100%; margin: 28px 0; overflow-x: auto; border-collapse: collapse; }
.nd-richtext th,
.nd-richtext td { min-width: 110px; padding: 12px 14px; border: 1px solid var(--nd-line); text-align: left; }
.nd-richtext ul,
.nd-richtext ol { margin: 0 0 24px 24px; }
.nd-richtext a { color: var(--nd-red); text-decoration: underline; text-underline-offset: 3px; }
.nd-richtext blockquote { margin: 30px 0; padding: 20px 24px; border-left: 3px solid var(--nd-red); background: var(--nd-soft); color: #555c62; }

.nd-article-footer { max-width: 820px; margin: 64px auto 0; padding-top: 30px; border-top: 1px solid var(--nd-line); }
.nd-sibling-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.nd-sibling-nav > div { min-width: 0; color: var(--nd-muted); font-size: 14px; }
.nd-sibling-nav > div:last-child { text-align: right; }
.nd-sibling-nav span { display: block; margin-bottom: 8px; color: #0879c9; font-size: 12px; font-weight: 600; }
.nd-sibling-nav a { display: block; color: #0879c9; line-height: 1.6; overflow-wrap: anywhere; }
.nd-sibling-nav a:hover { color: #0669b0; }
/* 2026-11-13 客户要求：返回按钮改为亮蓝圆角胶囊 #0879c9，与应用行业案例详情页 .case-back-link 一致（撤销 11-12 的深蓝直角 #144ca1）。 */
.nd-back-link { display: block; width: max-content; margin: 34px auto 0; padding: 0 26px; height: 42px; line-height: 42px; border: 1px solid #0f3d84; border-radius: 999px; background:#0f3d84!important; color: #fff!important; font-size: 14px; font-weight: 600; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.nd-back-link:hover { background: #144ca1!important; border-color:#144ca1!important; color: #fff!important; transform: translateY(-2px); }

.nd-related { padding: 66px 0 76px; background: var(--nd-soft); }
.nd-related-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.nd-related-heading p { margin: 0 0 5px; color: var(--nd-red); font-size: 11px; font-weight: 700; }
.nd-related-heading h2 { margin: 0; color: var(--nd-ink); font-size: 28px; line-height: 1.3; font-weight: 600; }
.nd-related-heading > a { padding-bottom: 3px; border-bottom: 1px solid #0879c9; color: #0879c9; font-size: 14px; }
/* 2026-11-14 客户要求：更多资讯卡片样式/hover 与首页 .home-news-card 对齐 */
.nd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: nd-news-card; }
.nd-related-item { counter-increment: nd-news-card; position: relative; display: flex; min-width: 0; background: #ffffff; border-radius: 8px; border: 1px solid rgba(100,162,255,.16); box-shadow: 0 2px 12px rgba(0,0,0,.08); overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease; }
/* 编号水印 01/02/03 */
.nd-related-item::after { content: counter(nd-news-card, decimal-leading-zero); position: absolute; top: 12px; right: 20px; z-index: 1; font-family: 'Arial','Helvetica',sans-serif; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -1px; color: rgba(100,162,255,.12); pointer-events: none; transition: color .4s ease, transform .4s ease; }
.nd-related-item:hover::after { color: rgba(74,144,255,.28); transform: scale(1.1); }
/* 光晕扫过 */
.nd-related-item::before { content: ''; position: absolute; top: 0; left: -120%; z-index: 1; width: 72%; height: 100%; background: linear-gradient(120deg, transparent 0%, rgba(100,162,255,.18) 38%, rgba(255,255,255,.55) 50%, rgba(100,162,255,.18) 62%, transparent 100%); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
.nd-related-item:hover::before { animation: ndNewsHaloSweep .9s ease-out; }
@keyframes ndNewsHaloSweep { 0% { left: -120%; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { left: 220%; opacity: 0; } }
.nd-related-item:hover { transform: translateY(-8px); border-color: rgba(100,162,255,.45); box-shadow: 0 14px 32px rgba(0,0,0,.18), 0 0 0 1px rgba(100,162,255,.35), 0 8px 26px rgba(74,144,255,.28), inset 0 -3px 0 #64a2ff; }
.nd-related-item a { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; min-height: 236px; padding: 22px 26px; text-decoration: none; }
.nd-related-item h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 10px; padding-right: 46px; color: #1a1a1a; font-size: 17px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; transition: color .3s ease; }
.nd-related-item:hover h3 { background: linear-gradient(90deg, #1a3a6e 0%, #4a90ff 55%, #1a3a6e 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: ndNewsTitleFlow 2.5s linear infinite; }
@keyframes ndNewsTitleFlow { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.nd-related-item p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; flex: 1; margin: 0 0 14px; color: #666666; font-size: 14px; line-height: 1.7; }
.nd-related-footer { display: flex; align-items: center; justify-content: space-between; }
.nd-related-footer time { color: #999999; font-size: 13px; }
.nd-related-more { position: relative; color: rgb(20,76,161); font-size: 13px; font-weight: 600; letter-spacing: 1px; transition: color .3s ease, transform .3s ease; }
.nd-related-more::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1.5px; background: linear-gradient(90deg, #f89300, #4a90ff); transition: width .35s ease; }
.nd-related-item:hover .nd-related-more { color: rgb(248,147,0); transform: translateX(4px); }
.nd-related-item:hover .nd-related-more::after { width: 100%; }

@media (max-width: 1200px) {
	.nd-main { padding-top: calc(60px + 40px); }
}

@media (max-width: 1024px) {
	.nd-article-header h1 { font-size: 32px; }
	.nd-article { padding: 48px 44px 64px; }
	.nd-related-grid { gap: 16px; }
}

@media (max-width: 767px) {
	.nd-container { width: min(100% - 30px, 1180px); }
	.nd-main { padding-top: calc(60px + 36px); }
	.nd-article { padding: 30px 20px 52px; border-radius: 6px; }
	.nd-article-header { padding-left: 0; }
	.nd-article-header h1 { font-size: 26px; line-height: 1.45; }
	.nd-rule { margin: 30px 0 34px; }
	.nd-cover { margin-bottom: 28px; }
	.nd-richtext { font-size: 16px; line-height: 1.9; }
	.nd-richtext p { margin-bottom: 20px; }
	.nd-richtext h2 { font-size: 22px; }
	.nd-richtext h3 { font-size: 20px; }
	.nd-richtext img { margin: 24px auto; }
	.nd-article-footer { margin-top: 46px; }
	.nd-sibling-nav { grid-template-columns: 1fr; gap: 22px; }
	.nd-sibling-nav > div:last-child { text-align: left; }
	.nd-related { padding: 48px 0 56px; }
	.nd-related-heading { align-items: center; }
	.nd-related-heading h2 { font-size: 24px; }
	.nd-related-grid { grid-template-columns: 1fr; }
	.nd-related-item a { min-height: 0; padding: 20px 22px; }
	.nd-related-item::after { top: 10px; right: 16px; font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.nd-related-item,
	.nd-related-item a { transition: none; }
	.nd-related-item::before { display: none; }
	.nd-related-item:hover { transform: none; }
	.nd-related-item:hover h3 { animation: none; }
	.nd-related-item:hover .nd-related-more { transform: none; }
}
