/* 标题层级修正补偿表 2026-10-16
   作用：把 h1/h2/h5 标签改成语义正确的层级后，视觉保持与改前完全一致。
   生成方式：自动克隆 base.css / index.css 中对应规则（含全部 @media 断点）。
   不要手改本文件；要改请重新运行 _gen_fix_css.py。 */

.s-banner .wp .n-text h1 { color: #000;
	font-size:56px;
	line-height: 1.3; }
.s-banner .wp .n-text p.bn-sub { color: #000;
	font-size:56px;
	line-height: 1.3; }
.nybanner .wp .n-text h1 { color: #fff; font-size: 50px; }
.nybanner .wp .n-text p.bn-sub { color: #fff; font-size: 50px; }
.n-need .wp-cont>.sibox li h2 { margin-bottom: 20px; }
.n-need .wp-cont>.sibox li h2 { font-size: 22px; }
.n-zhead h2 { color: #000000;
	font-weight: bold;
	font-size: var(--f39);
	line-height: 1.5; }
.bipbg1 .n-zhead h2 { color: #e31924; }
.n-wzjs .wp-cont .ulxcx li a h3 { color: #2a2a2a;
    font-size: var(--f24);
    line-height: 1.5; }
.hkjliu li h3 { font-weight: bold; }
.hkjliu li h4 { margin-bottom: 20px; }
@media (max-width: 768px) {
.n-zhead h2 { font-size: 24px; }
.n-wzjs .wp-cont .ulxcx li a h3 { font-size: 16px; }
.hkjliu li h3 { font-size: 18px; }
.n-need .wp-cont>.sibox li h2 { font-size: 20px; }
.s-banner .wp .n-text h1 { font-size: 16px; }
.s-banner .wp .n-text p.bn-sub { font-size: 16px; }
.hkjliu li h4 { font-size: 16px; }
.n-need .wp-cont>.sanbox li h2 { font-size: 15px; }
}
/* em 兜底：这几处的字号原本来自标签默认值（h1=2em、h2=1.5em），
   CSS 中没有可克隆的显式规则，用 em 还原才能跟随各断点的父级字号。
   限定 >768px，因为 <=768px 已有显式 px 规则（在上方 @media 内）。 */
@media (min-width: 769px) {
.hkjliu li h3 { font-size: 2em; }
.hkjliu li h4 { font-size: 1.5em; }
.n-need .wp-cont>.sanbox li h2 { font-size: 2em; }
}

/* 副标语：原为第二个 h5，改标签为 p 后必须消掉 p 的默认 margin */
.s-banner .wp .n-text p.bn-sub, .nybanner .wp .n-text p.bn-sub { margin: 0; }

/* 副标语强制还原：原本是第二个 h5（56/50px 大字），改成 p 后会被 .n-text p 规则压住，
   这里按断点分别强制还原，index 首页用 s-banner(#000)，子页用 nybanner(#fff) */
@media (min-width: 769px) {
.s-banner .wp .n-text p.bn-sub { font-size: 56px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 !important; color: #000 !important; }
.nybanner .wp .n-text p.bn-sub { font-size: 50px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 !important; color: #fff !important; }
}
@media (max-width: 768px) {
.s-banner .wp .n-text p.bn-sub { font-size: 16px !important; font-weight: 700 !important; line-height: 20.8px !important; margin: 0 !important; color: #000 !important; }
.nybanner .wp .n-text p.bn-sub { font-size: 16px !important; font-weight: 700 !important; line-height: 20.8px !important; margin: 0 !important; color: #fff !important; }
}

/* 页脚新增栏目链接 */
.ft-links{margin-top:6px;}
.ft-links a{color:inherit;text-decoration:none;}
.ft-links a:hover{text-decoration:underline;}
