/* 正文链接的下划线间距；继承到编辑器生成的 span、strong 等内层文字。 */
#article a{ text-underline-offset:6px; }

/* 数据库中的主要章节改为 H2，保持原 H3 的外观；不影响其它页面。 */
:is(.hh-product-detail,.hh-article-detail,.hh-download-detail) .ArticleTencont h2.hh-main-chapter{
  margin:10px 0;
  font-weight:bold;
  padding:11px .5em;
  line-height:2.3;
  border-left:9px solid #f00;
  background-color:#193b75;
  box-sizing:border-box;
  border-radius:5px;
  font-size:19px;
  color:#fffffff2;
}
:is(.hh-product-detail,.hh-article-detail,.hh-download-detail) .ArticleTencont h2.hh-main-chapter a{color:#fff}
/* 覆盖旧模板的内联 font-weight:inherit，与正文的章节标题保持相同字重。 */
.hh-product-detail .hh-product-related>h2.ktit{font-weight:bold!important}
@media(max-width:767px){
  .hh-product-detail .hh-product-related>h2.ktit{line-height:1.5!important;padding:10px 12px!important;border-radius:6px}
}
@media(min-width:1200px){
  /* 列表本身有 -10px 外边距，补偿后留出 12px 可见间距。 */
  .hh-product-detail .hh-product-related>.main_pd{padding-top:22px}
}
@media(min-width:768px) and (max-width:1199px){
  :is(.hh-product-detail,.hh-article-detail,.hh-download-detail) #article>h2.hh-main-chapter:first-of-type{margin-top:0!important}
}

/* 本地下载：原 H3 外观。 */
.hh-download-detail .c-hd h2.hh-download-heading{margin:10px 1px;font-weight:bold;padding:11px .5em;line-height:2.3;border-left:9px solid #f00;background-color:#193b75;box-sizing:border-box;border-radius:5px;font-size:19px;color:#fffffff2}
@media(max-width:1199px){
.hh-download-detail .c-hd h2.hh-download-heading{background:#193b75!important;color:#fff!important;border-left:4px solid #f36b21!important;height:auto!important;min-height:0;line-height:1.7!important;padding:12px!important;margin:18px 0 12px!important;white-space:normal;overflow-wrap:anywhere}
.hh-download-detail .c-hd h2.hh-download-heading *{color:#fff!important;background:transparent!important;line-height:inherit!important}
}
