@charset "utf-8";
/* =========================================================================
   tpl-common.css · 香港模板公用件（第十二轮）
   -------------------------------------------------------------------------
   来源：offshore/hk.htm 页内 <style> + images/2026.css 未覆盖的部分。
   用途：所有套用香港模板的页面统一引用本文件，禁止再在页面内写 <style>。
   顺序：必须放在 images/2026.css 之后、/m/site.css 之前。

   为什么单独成文件：
   hk.htm 的面包屑样式原本写在页内 <style> 里，其他页面只引 2026.css
   就会拿到裸文本。抽出来才能保证「结构一致 + 样式一致」。
   ========================================================================= */

/* ===== 面包屑：1px 浅灰色条，与下方 4px 距离 ===== */
.breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #e8edf4;
    padding: 12px 24px;
    font-size: 13px;
    color: #8a9aa8;
    max-width: 1200px;
    margin: 0 auto 4px auto;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.breadcrumb-bar a {
    color: #2a5c8a;
    text-decoration: none;
}
.breadcrumb-bar a:hover {
    text-decoration: underline;
    color: #c0411b;
}
.breadcrumb-bar .current {
    color: #1e3b5a;
    font-weight: 500;
}
.breadcrumb-bar .meta-tag {
    display: inline-block;
    padding: 0 4px;
    font-size: 12px;
    color: #5a6a7a;
    background: transparent;
    border-radius: 0;
}
.breadcrumb-bar .meta-tag-publish { color: #4a6a8a; }
.breadcrumb-bar .meta-tag-revised { color: #b05a4a; }
.breadcrumb-bar .sep { margin: 0 6px; color: #d0d8e0; }
.breadcrumb-bar .meta-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 0;
}
/* 站内旧样式会给块级 div 挂 margin:0 auto，在 flex 容器里被解析成
   左右各 ~175px 的自动外边距，把左侧路径推到中间。这里强制归零。 */
.breadcrumb-bar > .breadcrumb-left,
.breadcrumb-bar > .meta-right {
    margin: 0 !important;
    float: none !important;
}

/* ===== 文章 H1 =====
   香港页原为内联 font-size:9.6pt（12.8px），在 1200px 容器里过小，
   与 h4(17px)/h5(15px) 几乎无层级差。统一提到 26px，手机 21px。
   下方加一条虚线，让标题与正文之间有明确的分界。 */
.custom-box h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2c3e;
    line-height: 1.4;
    margin: 0 0 18px 0;
    padding: 0 0 14px 0;
    letter-spacing: .2px;
    border-bottom: 1px dashed #cbd6e3;
}

/* ===== 标题色调与分割线 =====
   2026.css 原设定 h4 为 17px/#444、正文 15px/#333，标题比正文还浅、层级倒挂。
   这里 h4 收到 16px，并把 1px 实线换成虚线，作为「标题—正文」的分隔。 */
.custom-box h4 {
    font-size: 16px;
    line-height: 1.5;
    color: #1e3b5a;
    margin: 26px 0 14px 0;
    padding-bottom: 9px;
    border-bottom: 1px dashed #cbd6e3;
}
.custom-box h5 {
    color: #2c3e50;
}
/* h4 自带 15px 下边距，紧随其后的 h5 再加 20px 会空出 35px，
   两者是父子关系，收紧到 8px 更连贯 */
.custom-box h4 + h5 {
    margin-top: 8px;
}

/* ===== 正文补充件（2026.css 未定义的部分） ===== */
/* 列表编号：images/dljz.css 的 ul,li,dl,dt,dd{list-style:none} 直接落在 li 上，
   只给 ol 设 list-style 传不下去，必须压到 li 层。 */
.custom-box ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
    list-style: decimal;
}
.custom-box ol > li {
    list-style-type: decimal;
    margin-bottom: 8px;
    color: #444;
    padding-left: 2px;
}
.custom-box ul > li {
    list-style-type: disc;
}
.custom-box ul li > ul,
.custom-box ol li > ul {
    margin: 6px 0 6px 0;
    padding-left: 18px;
    list-style-type: circle;
}
.custom-box ul li > ul > li,
.custom-box ol li > ul > li {
    list-style-type: circle;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}
/* 正文里的强调：不做彩色，只加粗，避免与 h4/h5 抢视觉 */
.custom-box p b,
.custom-box p strong,
.custom-box li b,
.custom-box li strong {
    color: #2c3e50;
    font-weight: 600;
}
/* 正文小标题（章节内二级，如 (一)(二)） */
.custom-box h6 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 18px 0 8px 0;
    padding: 0;
}

/* 版权行：邮箱/备案号整体换行，不从中间断开。
   注意：m/site.css 有一条 body * 的 white-space:normal!important 兜底，
   单靠 white-space 压不住，必须让它先成为行内块（宽度收缩到内容）。 */
.footer-bottom .email-bottom,
.footer-bottom .icp {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breadcrumb-bar {
        padding: 10px 16px;
        font-size: 12px;
        gap: 4px 0;
    }
    .breadcrumb-bar .meta-right {
        width: 100%;
        justify-content: flex-start;
    }
    .breadcrumb-bar .meta-tag { font-size: 11px; padding: 0 3px; }
    .custom-box h1 { font-size: 21px; margin-bottom: 14px; padding-bottom: 11px; }
}
