@charset "utf-8";
/* ============================================================
   陕西中恒钛航 — 新闻/资讯详细页样式（排版优化版 v4）
   适用：公司动态 / 行业资讯 / 技术资料 等文章详情页
   配色：深空蓝 #0A2540 + 钛橙 #E67E22 + 钛银灰 #8B9DC3
   编码：UTF-8（勿转 GBK）

   ★ 本版修复（针对主内容区排版）
     1. 移除 Font Awesome 依赖：本页 <head> 未引入 FA，
        原 \f073 / \f06e / \f0da 全部渲染为豆腐块。
        改为内嵌 SVG data-URI 背景图，零外部依赖。
     2. <li><p>…</p></li> 重置：原 p 的 text-indent:2em +
        margin:14px 0 会命中列表内段落，导致列表错位、行距虚高。
     3. 修正文件头未闭合的 /* 注释块。
     4. 合并两套互相冲突的移动端「相关链接」规则，
        统一为 1024/768/480/360 四档，取消过度的 !important。
     5. 压掉模板内联 style="padding-top:2vw"（宽屏会撑到 51px）。
     6. 正文阅读区引入 --xwxx-measure 栏宽变量，
        从 1330px 通栏收至 1160px，行长降到约 72 字。
     7. 补齐：图片加载失败占位、长英文/URL 断行、iframe 自适应、
        分享条间距、hr、pre/code、嵌套列表。

   ★ v5 追加：主体区字号与「产品详细页 cp-xiangxi.css」全面同步
     以 .cpxx_page_content 为唯一基准，逐档对齐（见下表）。
     产品页未定义的 1401/1024/480/360 断点，按其 768 基准等比推导。

     ┌──────────┬────────────┬────────────┬────────────┬────────────┬────────────┐
     │ 元素      │ >1400      │ ≤1400(基准) │ ≤1024      │ ≤768       │ ≤480/≤360  │
     ├──────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
     │ 文章标题  │ 26px       │ 24px       │ 21px       │ 20px       │ 18 / 17px  │
     │ 正文 p    │ 16 / 1.95  │ 15 / 1.9   │ 14.5 /1.85 │ 14 / 1.85  │ 13.5 / 13  │
     │ 列表 li   │ 16 / 1.95  │ 15 / 1.9   │ 14.5 /1.85 │ 14 / 1.8   │ 13.5 / 13  │
     │ h2        │ 21px       │ 20px       │ 19px       │ 18px       │ 16 / 15px  │
     │ h3        │ 18px       │ 18px       │ 17px       │ 16px       │ 15 / 14px  │
     │ h4        │ 16px       │ 16px       │ 15px       │ 15px       │ 14 / 13px  │
     │ 表格 td/th│ 14px       │ 14px       │ 13px       │ 12.5px     │ 12 / 11.5  │
     │ 图注      │ 13px       │ 13px       │ 13px       │ 13px       │ 13px       │
     │ 打印      │ —          │ 11pt / 1.7 │ —          │ —          │ h2 14pt    │
     └──────────┴────────────┴────────────┴────────────┴────────────┴────────────┘
     正文色 #3A4756 → #444（与产品页 .cpxx_page_content 一致）

   ★ v4 追加（解决列表项不显示圆点/序号）
     8. 列表标记改为 ::before 自绘，不再依赖原生 list-style。
        彻底绕开：外部样式表的 list-style:none、UEditor 的
        .list-paddingleft-N 内边距、<li><p></p></li> 结构错位。
     9. 兼容 UEditor 实际产出结构：
        <ul start="1" class=" list-paddingleft-2"><li><p>…</p></li></ul>
     10. 无序用钛橙圆点，有序用钛橙序号，与整站强调色统一。
   ============================================================ */

:root {
    --xw-navy: #0A2540;
    --xw-accent: #E67E22;
    --xw-accent-d: #d35400;
    --xw-tx: #444;   /* 与产品详细页 .cpxx_page_content 正文色一致 */
    --xw-tx-2: #5A6472;
    --xw-tx-3: #8B9DC3;
    --xw-line: #E6E9EE;
    --xw-soft: #F0F4F8;
    --xw-soft-2: #F8FAFC;

    /* ★ 正文阅读栏宽：改 none 即恢复通栏 */
    --xwxx-measure: none;

    /* 内嵌图标（SVG data-URI，不依赖 Font Awesome） */
    --ic-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E67E22'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm12 8v10H5V10h14z'/%3E%3C/svg%3E");
    --ic-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E67E22'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
    --ic-go:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E67E22'%3E%3Cpath d='M8.6 4.6 7.2 6l6 6-6 6 1.4 1.4L16 12z'/%3E%3C/svg%3E");
}

/* ============================================================
   一、主容器（白色卡片）
   ============================================================ */
.xwxx-body {
    background: #fff;
    padding: 32px 36px;
    border: 1px solid var(--xw-line);
    border-radius: 12px;
    margin: 20px auto 28px;
    box-shadow: 0 2px 12px rgba(10, 37, 64, .04);
    transition: box-shadow .3s ease;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}
.xwxx-body:hover {
    box-shadow: 0 6px 24px rgba(10, 37, 64, .08);
}

/* ============================================================
   二、文章标题
   ============================================================ */
.xwxx-body-tit {
    font-size: 24px;                 /* 产品页 .prod_features_tit h1: 24px */
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    color: var(--xw-navy);
    margin: 4px auto 16px;
    padding: 0 0 18px;
    border-bottom: 2px solid var(--xw-soft);
    position: relative;
    letter-spacing: .5px;
    max-width: var(--xwxx-measure);
    /* 长标题不破版 */
    overflow-wrap: break-word;
    word-break: break-word;
}
.xwxx-body-tit::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--xw-accent), var(--xw-accent-d));
    border-radius: 2px;
}

/* ============================================================
   三、元信息（发布时间 / 浏览）
   ★ 图标改用 data-URI SVG，不再依赖 Font Awesome
   ============================================================ */
.xwxx-body-sour {
    text-align: center;
    margin: 0 auto 26px;
    padding: 0;
    font-size: 13px;
    color: var(--xw-tx-3);
    line-height: 1.8;
    max-width: var(--xwxx-measure);
}
.xwxx-body-sour span {
    display: inline-flex;
    align-items: center;
    margin: 0 14px;
    padding: 0;
    vertical-align: middle;
}
.xwxx-body-sour span::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 auto;
}
.xwxx-body-sour span:first-child::before { background-image: var(--ic-cal); }
.xwxx-body-sour span:nth-child(2)::before { background-image: var(--ic-eye); }

/* ============================================================
   四、正文排版
   ============================================================ */
.xwxx-body .zhth_content {
    /* ★ padding-top 用 !important 压掉模板内联 style="padding-top:2vw" */
    padding-top: 8px !important;
    padding-right: 4px;
    padding-bottom: 16px;
    padding-left: 4px;
    max-width: var(--xwxx-measure);
    margin: 0 auto;
    color: var(--xw-tx);
    line-height: 1.9;                /* 产品页 .cpxx_page_content: 1.9 */
    /* 长英文 / URL / 牌号不撑破容器 */
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ---------- 段落 ---------- */
.xwxx-body .zhth_content p {
    font-size: 15px;                 /* 产品页 p: 15px */
    line-height: 1.9;                /* 产品页 p: 1.9   */
    color: var(--xw-tx);
    margin: 12px 0;                  /* 产品页 p: 12px 0 */
    text-indent: 2em;
    text-align: justify;
    text-justify: inter-ideograph;
}
.xwxx-body .zhth_content p:last-child { margin-bottom: 0; }
.xwxx-body .zhth_content p strong,
.xwxx-body .zhth_content p b {
    color: var(--xw-navy);
    font-weight: 700;
}
.xwxx-body .zhth_content p em {
    font-style: normal;
    color: var(--xw-accent-d);
}

/* 居中段落（图片说明等）不缩进 */
.xwxx-body .zhth_content p[style*="text-align: center"],
.xwxx-body .zhth_content p[style*="text-align:center"] {
    text-indent: 0;
    text-align: center;
    margin: 16px 0;
    font-size: 14px;
    color: var(--xw-tx-3);
}

/* ★★ 关键修复：列表内的 <p> 不能沿用正文段落样式
   否则 text-indent:2em + margin:18px 0 会让每个列表项
   首行缩进两字、上下各空 18px，正文所有 ul/ol 全部错位。 */
.xwxx-body .zhth_content li > p {
    margin: 0 !important;
    text-indent: 0 !important;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

/* ---------- 标题 ---------- */
.xwxx-body .zhth_content h2:not(.xwxx-xglj) {
    font-size: 20px;
    font-weight: 700;
    color: var(--xw-navy);
    margin: 34px 0 16px;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--xw-soft);
    position: relative;
    line-height: 1.45;
    text-indent: 0;
}
.xwxx-body .zhth_content h2:not(.xwxx-xglj)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--xw-accent), var(--xw-accent-d));
}

.xwxx-body .zhth_content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--xw-navy);
    margin: 26px 0 12px;
    padding: 0 0 0 12px;
    border-left: 4px solid var(--xw-accent);
    line-height: 1.5;
    text-indent: 0;
}

.xwxx-body .zhth_content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--xw-navy);
    margin: 20px 0 10px;
    line-height: 1.5;
    text-indent: 0;
}

/* ============================================================
   列表
   ★★★ v4 重写：标记由 ::before 自绘，不再依赖原生 list-style

   实际正文列表结构（UEditor 输出）：
   <ul start="1" class=" list-paddingleft-2">
     <li><p><strong>耐蚀性能优良</strong>：……</p></li>
   </ul>

   圆点/序号不显示的三种成因，本方案全部绕开：
     ① default.css / xw-mobile.css / ueditor.css 把 ul,ol 的
        list-style 置为 none（甚至带 !important）
     ② UEditor 的 .list-paddingleft-N 内边距把原生 marker 挤出可视区
     ③ <li><p>…</p></li> 中 p 的 margin / text-indent 使 marker 错位
   自绘标记用绝对定位，与以上三者均无关。
   ============================================================ */

/* 统一清掉原生 marker */
.xwxx-body .zhth_content ul,
.xwxx-body .zhth_content ol {
    list-style: none;
    margin: 12px 0;                  /* 产品页 ul/ol: 12px 0 */
    padding-left: 0;
}

/* 压掉 UEditor 注入的 .list-paddingleft-N 内边距（会挤走自绘标记） */
.xwxx-body .zhth_content ul[class*="list-paddingleft"],
.xwxx-body .zhth_content ol[class*="list-paddingleft"] {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* 列表项：左侧留出标记位置 */
.xwxx-body .zhth_content ul > li,
.xwxx-body .zhth_content ol > li {
    position: relative;
    margin: 6px 0;                   /* 产品页 li: 6px 0 */
    padding-left: 1.6em;
    font-size: 15px;                 /* 产品页 li: 15px */
    line-height: 1.9;                /* 产品页 li: 1.9   */
    color: var(--xw-tx);
    text-align: justify;
    text-justify: inter-ideograph;
}

/* ---------- 无序列表：钛橙圆点 ---------- */
.xwxx-body .zhth_content ul > li::before {
    content: "";
    position: absolute;
    left: .25em;
    top: calc(0.95em - 3px);    /* 行高 1.9em 中线 - 圆点半径 3px */
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xw-accent);
}

/* ---------- 有序列表：钛橙序号 ---------- */
.xwxx-body .zhth_content ol {
    counter-reset: xwol;
}
.xwxx-body .zhth_content ol > li {
    padding-left: 1.9em;
    counter-increment: xwol;
}
.xwxx-body .zhth_content ol > li::before {
    content: counter(xwol) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.55em;
    text-align: right;
    line-height: inherit;
    color: var(--xw-accent);
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

/* 嵌套列表 */
.xwxx-body .zhth_content ul ul,
.xwxx-body .zhth_content ol ol,
.xwxx-body .zhth_content ul ol,
.xwxx-body .zhth_content ol ul {
    margin: 6px 0;
    padding-left: 1.2em;
}
/* 二级无序列表换空心点，层次更清楚 */
.xwxx-body .zhth_content ul ul > li::before {
    background: transparent;
    border: 1.5px solid var(--xw-accent);
    width: 5px;
    height: 5px;
    top: calc(0.95em - 4px);
}

/* 列表项内 strong（如「耐蚀性能优良：」） */
.xwxx-body .zhth_content li strong,
.xwxx-body .zhth_content li b {
    color: var(--xw-navy);
    font-weight: 700;
}

/* ★ 说明：相关链接的 ul.list 若嵌在 .zhth_content 内，
   它自己的 li::before（钛橙装饰条）特异性为 (0,3,2)，
   高于本处 (0,2,3)，会自动胜出，不会被误加圆点，无需额外保护。 */

/* ---------- 引用 ---------- */
.xwxx-body .zhth_content blockquote {
    margin: 20px 0;
    padding: 16px 22px;
    background: var(--xw-soft-2);
    border-left: 4px solid var(--xw-accent);
    border-radius: 0 8px 8px 0;
    color: var(--xw-tx-2);
}
.xwxx-body .zhth_content blockquote p {
    text-indent: 0;
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.9;
}

/* ---------- 链接 ---------- */
.xwxx-body .zhth_content a {
    color: var(--xw-accent);
    text-decoration: none;
    transition: color .3s ease;
    overflow-wrap: break-word;
}
.xwxx-body .zhth_content a:hover {
    color: var(--xw-accent-d);
    text-decoration: underline;
}

/* ---------- 图片 / 图注 ---------- */
.xwxx-body .zhth_content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(10, 37, 64, .06);
    transition: box-shadow .3s ease;
    margin: 20px auto;
    display: block;
    /* 图片加载失败时保留占位，不塌陷 */
    min-height: 24px;
    background: var(--xw-soft-2);
}
.xwxx-body .zhth_content img:hover {
    box-shadow: 0 4px 18px rgba(10, 37, 64, .1);
}

.xwxx-body .zhth_content figure {
    margin: 22px 0;
    text-align: center;
}
.xwxx-body .zhth_content figure img { margin: 0 auto; }
.xwxx-body .zhth_content figcaption {
    font-size: 13px;
    color: var(--xw-tx-3);
    text-align: center;
    margin-top: 8px;
    text-indent: 0;
    line-height: 1.7;
}

/* ---------- 分隔线 / 代码 ---------- */
.xwxx-body .zhth_content hr {
    border: none;
    border-top: 1px solid var(--xw-line);
    margin: 28px 0;
}
.xwxx-body .zhth_content pre,
.xwxx-body .zhth_content code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    background: var(--xw-soft-2);
    border: 1px solid var(--xw-line);
    border-radius: 6px;
}
.xwxx-body .zhth_content code {
    padding: 2px 6px;
    color: var(--xw-accent-d);
    word-break: break-all;
}
.xwxx-body .zhth_content pre {
    padding: 14px 16px;
    overflow-x: auto;
    line-height: 1.7;
    margin: 18px 0;
}
.xwxx-body .zhth_content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

/* ---------- 上标 / 下标 ---------- */
.xwxx-body .zhth_content sup,
.xwxx-body .zhth_content sub {
    font-size: 12px;
    line-height: 0;
}

/* ---------- 嵌入视频 / iframe 自适应 ---------- */
.xwxx-body .zhth_content video,
.xwxx-body .zhth_content iframe {
    display: block;
    max-width: 100%;
    margin: 20px auto;
    border: 0;
    border-radius: 8px;
}
.xwxx-body .zhth_content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* ============================================================
   五、表格
   ============================================================ */
.xwxx-body .p_biaoge,
.xwxx-body .zhth_content table {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}
.xwxx-body .zhth_content th,
.xwxx-body .zhth_content td,
.xwxx-body .p_biaoge td,
.xwxx-body .p_biaoge th {
    padding: 10px 16px;              /* 产品页 td/th: 10px 16px */
    text-align: center;
    font-size: 14px;                 /* 产品页 td/th: 14px */
    vertical-align: middle;
    border: 1px solid var(--xw-line);
    background: #fff;
    color: var(--xw-tx);
    line-height: 1.6;                /* 产品页 td/th: 1.6 */
}
.xwxx-body .zhth_content th,
.xwxx-body .p_biaoge th,
.xwxx-body .p_biaoge tr:first-child td {
    background: var(--xw-soft);
    font-weight: 700;
    color: var(--xw-navy);
}
.xwxx-body .zhth_content tbody th {
    background: var(--xw-soft-2);
    text-align: left;
}
.xwxx-body .p_biaoge tr:hover td,
.xwxx-body .zhth_content tr:hover td {
    background: var(--xw-soft-2);
}
.xwxx-body .p_biaoge tr:first-child:hover td,
.xwxx-body .zhth_content thead:hover th {
    background: var(--xw-soft);
}
.xwxx-body .zhth_content td strong,
.xwxx-body .p_biaoge td strong {
    color: var(--xw-navy);
    font-weight: 700;
}

/* ============================================================
   六、分享条
   ============================================================ */
.xwxx-body .bdsharebuttonbox {
    margin: 28px 0 8px;
    padding-top: 18px;
    border-top: 1px solid var(--xw-soft);
    overflow: hidden;
    max-width: 100%;
}
.xwxx-body .bdsharebuttonbox a {
    text-decoration: none !important;
}

/* ============================================================
   七、清除浮动
   ============================================================ */
.xwxx-body .clear,
.xwxx-body .zhth_content .clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   八、相关链接
   HTML: h2.xwxx-xglj + div.news-content > div.mainContainer
         > div.main-right > ul.list > li > span.date + a
   ============================================================ */
.xwxx-xglj {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--xw-navy);
    margin: 38px auto 14px;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--xw-soft);
    position: relative;
    line-height: 1.45;
    letter-spacing: 1px;
    max-width: var(--xwxx-measure);
}
.xwxx-xglj::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--xw-accent), var(--xw-accent-d));
}

/* 容器：强制通栏，压掉 xinwen.css 的 float + 百分比宽度 */
.news-content,
.news-content .mainContainer,
.news-content .main-right {
    position: relative;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
.news-content {
    width: 100%;
    margin: 0 auto;
    max-width: var(--xwxx-measure);
}

/* 列表 */
.news-content .main-right .list {
    display: block;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

/* 列表项：PC 单行 flex（标题左 / 日期右）
   显式重置 line-height / font-size / text-indent，
   切断 .xwxx-body .zhth_content li 的样式泄漏。 */
.news-content .main-right .list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0 !important;
    padding: 11px 4px 11px 18px;
    line-height: 1.5;
    font-size: 15px;
    text-indent: 0;
    color: var(--xw-navy);
    border-bottom: 1px solid var(--xw-soft);
    box-sizing: border-box;
    overflow: hidden;
    transition: background .3s ease;
}
.news-content .main-right .list li:hover { background: var(--xw-soft-2); }
.news-content .main-right .list li:last-child { border-bottom: none; }

/* 左侧钛橙装饰条（hover 显示） */
.news-content .main-right .list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--xw-accent), var(--xw-accent-d));
    opacity: 0;
    transition: opacity .3s ease;
}
.news-content .main-right .list li:hover::before { opacity: 1; }

/* 日期 */
.news-content .main-right .list li .date {
    order: 2;
    flex: 0 0 auto;
    float: none !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
    color: var(--xw-tx-3);
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.news-content .main-right .list li .date::before {
    content: "";
    width: 13px;
    height: 13px;
    margin-right: 6px;
    background: var(--ic-cal) no-repeat center / contain;
    flex: 0 0 auto;
}

/* 标题链接 */
.news-content .main-right .list li a {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--xw-navy);
    text-decoration: none;
    text-indent: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .3s ease;
}
.news-content .main-right .list li a::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 8px;
    background: var(--ic-go) no-repeat center / contain;
    vertical-align: -1px;
    transition: transform .3s ease;
}
.news-content .main-right .list li:hover a {
    color: var(--xw-accent);
    text-decoration: none;
}
.news-content .main-right .list li:hover a::before { transform: translateX(3px); }

/* 翻页（若模板存在） */
.fanye {
    font-size: 15px;
    line-height: 2;
    text-align: center;
    margin: 20px 0 0;
}
.fanye a {
    display: inline-block;
    padding: 0 10px;
    margin: 0 4px;
    color: var(--xw-tx-2);
    text-decoration: none;
}
.fanye a:hover { color: var(--xw-accent); }

/* ============================================================
   九、响应式
   ============================================================ */

/* ---------- 大屏 (>1400px) ---------- */
@media screen and (min-width: 1401px) {
    .xwxx-body { padding: 40px 48px; }
    .xwxx-body-tit { font-size: 26px; }
    .xwxx-body .zhth_content p { font-size: 16px; line-height: 1.95; }
    .xwxx-body .zhth_content ul > li,
    .xwxx-body .zhth_content ol > li { font-size: 16px; line-height: 1.95; }
    .xwxx-body .zhth_content ul > li::before { top: calc(0.975em - 3px); }
    .xwxx-body .zhth_content ul ul > li::before { top: calc(0.975em - 4px); }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) { font-size: 21px; }
}

/* ---------- 平板 (≤1024px) ---------- */
@media screen and (max-width: 1024px) {
    .xwxx-body { padding: 24px 28px; margin: 16px auto 22px; }
    .xwxx-body-tit { font-size: 21px; padding-bottom: 14px; margin-bottom: 14px; }
    .xwxx-body-sour { font-size: 12px; margin-bottom: 20px; }
    .xwxx-body .zhth_content p { font-size: 14.5px; line-height: 1.85; }
    .xwxx-body .zhth_content ul > li,
    .xwxx-body .zhth_content ol > li { font-size: 14.5px; line-height: 1.85; }
    .xwxx-body .zhth_content ul > li::before { top: calc(0.925em - 3px); }
    .xwxx-body .zhth_content ul ul > li::before { top: calc(0.925em - 4px); }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) { font-size: 19px; margin: 28px 0 14px; }
    .xwxx-body .zhth_content h3 { font-size: 17px; }
    .xwxx-body .zhth_content h4 { font-size: 15px; }
    .xwxx-body .zhth_content th,
    .xwxx-body .zhth_content td,
    .xwxx-body .p_biaoge td,
    .xwxx-body .p_biaoge th { font-size: 13px; padding: 9px 12px; }
    .xwxx-xglj { font-size: 18px; margin: 30px auto 12px; }
    .news-content .main-right .list li { padding: 10px 4px 10px 16px; gap: 12px; }
    .news-content .main-right .list li .date { font-size: 12px; }
    .news-content .main-right .list li a { font-size: 14px; }
}

/* ---------- 手机 (≤768px) ---------- */
@media screen and (max-width: 768px) {
    .xwxx-body {
        padding: 18px 16px;
        margin: 12px auto 18px;
        border-radius: 10px;
    }
    /* 标题左对齐，装饰线跟到左边 */
    .xwxx-body-tit {
        font-size: 20px;
        line-height: 1.45;
        padding-bottom: 12px;
        margin-bottom: 12px;
        text-align: left;
    }
    .xwxx-body-tit::after { left: 0; transform: none; width: 60px; }

    .xwxx-body-sour {
        text-align: left;
        margin-bottom: 18px;
    }
    .xwxx-body-sour span { display: inline-flex; margin: 2px 14px 2px 0; }

    .xwxx-body .zhth_content { padding: 4px 0 12px; }
    /* 产品页 768 基准：正文 14px */
    .xwxx-body .zhth_content p {
        font-size: 14px;
        line-height: 1.85;
        text-indent: 0;      /* 手机端取消首行缩进，改用段间距分段 */
        margin: 12px 0;
        text-align: left;
    }
    .xwxx-body .zhth_content ul > li,
    .xwxx-body .zhth_content ol > li {
        padding-left: 1.5em;
        font-size: 14px;
        line-height: 1.8;
        margin: 6px 0;
        text-align: left;
    }
    .xwxx-body .zhth_content ul > li::before {
        width: 5px;
        height: 5px;
        top: calc(0.9em - 2.5px);     /* 行高 1.8em 中线 */
        left: .3em;
    }
    .xwxx-body .zhth_content ol > li { padding-left: 1.8em; }
    .xwxx-body .zhth_content ol > li::before {
        width: 1.5em;
        font-size: 13px;
    }
    .xwxx-body .zhth_content ul ul > li::before {
        width: 4.5px;
        height: 4.5px;
        top: calc(0.9em - 3.75px);
    }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) {
        font-size: 18px;
        margin: 26px 0 12px;
    }
    .xwxx-body .zhth_content h3 { font-size: 16px; padding-left: 10px; }
    .xwxx-body .zhth_content h4 { font-size: 15px; }
    .xwxx-body .zhth_content img { border-radius: 6px; margin: 16px auto; }
    .xwxx-body .zhth_content blockquote { padding: 12px 16px; }
    .xwxx-body .zhth_content blockquote p { font-size: 14px; line-height: 1.8; }

    /* 表格横滑 */
    .xwxx-body .zhth_content table,
    .xwxx-body .p_biaoge {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .xwxx-body .zhth_content th,
    .xwxx-body .zhth_content td,
    .xwxx-body .p_biaoge td,
    .xwxx-body .p_biaoge th {
        font-size: 12.5px;           /* 产品页 768 表格: 12.5px */
        padding: 8px 10px;
        white-space: nowrap;
        min-width: 56px;
    }

    /* 相关链接：日期独占一行，标题两行截断 */
    .xwxx-xglj { font-size: 17px; margin: 26px auto 10px; }
    .news-content .main-right .list li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 11px 10px 11px 14px;
        line-height: 1.6;
    }
    .news-content .main-right .list li .date {
        order: 0;
        display: flex;
        margin: 0 0 2px !important;
        font-size: 12px;
    }
    .news-content .main-right .list li a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        font-size: 15px;
        line-height: 1.65;
        word-break: break-word;
    }
}

/* ---------- 小屏手机 (≤480px) ---------- */
@media screen and (max-width: 480px) {
    .xwxx-body { padding: 14px 12px; margin: 10px auto 16px; border-radius: 8px; }
    .xwxx-body-tit { font-size: 18px; padding-bottom: 10px; margin-bottom: 10px; }
    .xwxx-body-tit::after { width: 48px; }
    .xwxx-body-sour { font-size: 11px; margin-bottom: 14px; }
    .xwxx-body .zhth_content p { font-size: 13.5px; line-height: 1.8; margin: 11px 0; }
    .xwxx-body .zhth_content ul > li,
    .xwxx-body .zhth_content ol > li {
        padding-left: 1.45em;
        font-size: 13.5px;
        line-height: 1.75;
    }
    .xwxx-body .zhth_content ul > li::before {
        width: 5px;
        height: 5px;
        top: calc(0.875em - 2.5px);   /* 行高 1.75em 中线 */
    }
    .xwxx-body .zhth_content ol > li { padding-left: 1.75em; }
    .xwxx-body .zhth_content ol > li::before {
        width: 1.45em;
        font-size: 12.5px;
    }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) { font-size: 16px; margin: 22px 0 10px; }
    .xwxx-body .zhth_content h3 { font-size: 15px; padding-left: 8px; border-left-width: 3px; }
    .xwxx-body .zhth_content h4 { font-size: 14px; }
    .xwxx-body .zhth_content img { border-radius: 6px; margin: 14px auto; }
    .xwxx-body .zhth_content blockquote p { font-size: 13px; line-height: 1.75; }
    .xwxx-body .bdsharebuttonbox { margin-top: 22px; padding-top: 14px; }

    .xwxx-xglj { font-size: 16px; margin: 22px auto 8px; }
    .news-content .main-right .list li { padding: 10px 8px 10px 12px; }
    .news-content .main-right .list li a { font-size: 14px; }
    .news-content .main-right .list li .date { font-size: 11px; }
    .fanye { font-size: 14px; }
    .fanye a { padding: 0 7px; margin: 0 3px; }
}

/* ---------- 超小屏 (≤360px) ---------- */
@media screen and (max-width: 360px) {
    .xwxx-body-tit { font-size: 17px; }
    .xwxx-body .zhth_content p { font-size: 13px; line-height: 1.75; }
    .xwxx-body .zhth_content ul > li,
    .xwxx-body .zhth_content ol > li { font-size: 13px; line-height: 1.7; }
    .xwxx-body .zhth_content ul > li::before { top: calc(0.85em - 2.5px); }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) { font-size: 15px; }
    .xwxx-body .zhth_content h3 { font-size: 14px; }
    .xwxx-body .zhth_content h4 { font-size: 13px; }
    .news-content .main-right .list li a { font-size: 13px; }
    .news-content .main-right .list li .date { font-size: 10.5px; }
    .xwxx-body .zhth_content th,
    .xwxx-body .zhth_content td,
    .xwxx-body .p_biaoge td,
    .xwxx-body .p_biaoge th { font-size: 11.5px; padding: 6px 8px; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    .xwxx-body,
    .xwxx-body .zhth_content img,
    .xwxx-body .zhth_content a,
    .news-content .main-right .list li,
    .news-content .main-right .list li a,
    .news-content .main-right .list li::before,
    .news-content .main-right .list li a::before {
        transition: none !important;
    }
}

/* ============================================================
   十、打印（B 端技术资料常打印 / 存 PDF）
   ============================================================ */
@media print {
    .site-header, .sxzh_ban_list, #sxzh_ban_layout,
    [class*="sousuo"], .kefu, .gotop, .xwxx-xglj,
    .news-content, .site-footer .footer-links,
    .bdsharebuttonbox { display: none !important; }

    .xwxx-body {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100%;
    }
    .xwxx-body .zhth_content,
    .xwxx-body .zhth_content p { color: #000 !important; font-size: 11pt; line-height: 1.7; }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj) { font-size: 14pt !important; color: #000 !important; }
    .xwxx-body .zhth_content h3 { font-size: 12pt !important; color: #000 !important; }
    .xwxx-body .zhth_content th,
    .xwxx-body .zhth_content td,
    .xwxx-body .p_biaoge td,
    .xwxx-body .p_biaoge th {
        font-size: 9pt !important;
        white-space: normal !important;
        color: #000 !important;
        background: #fff !important;
    }
    .xwxx-body .zhth_content a { color: #000 !important; text-decoration: none; }
    .xwxx-body .zhth_content a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    .xwxx-body .zhth_content table,
    .xwxx-body .p_biaoge {
        display: table !important;
        white-space: normal !important;
    }
    .xwxx-body .zhth_content h2:not(.xwxx-xglj),
    .xwxx-body .zhth_content h3 { page-break-after: avoid; }
    .xwxx-body .zhth_content img,
    .xwxx-body .zhth_content table { page-break-inside: avoid; }
}