/* ==========================================================
   安阳市鑫达自控科技有限公司 · 静态站移动端适配
   断点：1200px 主容器流式 / 1024px 布局堆叠 / 900px 导航折叠 / 560px 小屏收紧
   ========================================================== */

/* ---------- 通用基础 ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  -webkit-tap-highlight-color: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  /* clip 而不是 hidden：hidden 会让 body 变成滚动容器（overflow-y 被算成 auto） */
  overflow-x: hidden;
  overflow-x: clip;
}
img, video, embed, object { max-width: 100% !important; height: auto !important; }
/* 栏目横幅的文字版（HTML 重绘），桌面端用原图，隐藏文字 */
.st-m { display: none !important; }
/* 侧栏小图的文字版（031「产品世界」），同上 */
.sd-m { display: none !important; }
table { max-width: 100%; }
a, button, input { touch-action: manipulation; }

/* ---------- 联系鑫达：原 820px 定宽富文本表格改成的结构化信息网格 ----------
   （list-28.html，由 .workbuddy/tools/ctablefix.py 生成，桌面/移动同一套结构） */
.ct-grid {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 820px;
  margin: 12px 0; padding: 0;
  border-top: 1px solid #c1c1c1; border-left: 1px solid #c1c1c1;
  background: #fff;
}
.ct-c {
  padding: 9px 12px; box-sizing: border-box;
  border-right: 1px solid #c1c1c1; border-bottom: 1px solid #c1c1c1;
  font-size: 14px; line-height: 1.7; color: #333;
}
.ct-c.ct-full { grid-column: 1 / -1; }
.ct-k { font-weight: 700; color: #333; }
.ct-k::after { content: "："; }
.ct-v { color: #444; }
.ct-company .ct-v { color: #d80017; font-size: 18px; font-weight: 700; }
.ct-hot .ct-v a, .ct-hot .ct-v { color: #d80017; font-weight: 700; }
.ct-c a { color: #1462c4; text-decoration: none; }
.ct-c a:hover { text-decoration: underline; }
/* 表格横向滚动容器（由 mobile.js 包裹） */
.m-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
.m-tip-scroll { display: none; }

/* ---------- 汉堡按钮（默认隐藏，≤900px 显示） ---------- */
.mnav-toggle {
  display: none;
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; margin: 0;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 6px; cursor: pointer; z-index: 100;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.mnav-toggle .mnav-bar {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.mnav-toggle.is-active .mnav-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav-toggle.is-active .mnav-bar:nth-child(2) { opacity: 0; }
.mnav-toggle.is-active .mnav-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 返回顶部按钮 ---------- */
.m-to-top {
  position: fixed; right: 14px; bottom: 20px; width: 42px; height: 42px;
  border: none; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 18px; text-align: center; cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 999;
}
.m-to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.m-to-top:hover { background: rgba(0, 0, 0, .65); }
.m-to-top span { display: block; line-height: 42px; }

/* ==========================================================
   ≤1200px：1200px 主容器改为流式，避免横向溢出
   ========================================================== */
@media screen and (max-width: 1200px) {
  .hd1, .hd2, .hd3, .m1, .m2_1, .m2_2, .m3, .m5n, .m6, .fn, .fmn, .m4 a, #nav {
    width: auto !important;
    max-width: 100% !important;
  }
  /* overflow-x:clip 而不是 hidden —— hidden 会连带裁掉底部内容，实测首页被切 22px */
  .header, .main, .fm, .footer, .banner { overflow-x: clip; overflow-y: visible; }
}

/* ==========================================================
   ≤1024px：平板 / 大屏手机，侧栏堆叠、网格降列、高度放开
   ========================================================== */
@media screen and (max-width: 1024px) {
  /* 固定高度一律放开 */
  .banner, .m1, .m1_li, .m2, .m3, .m3_3, .m5, .m6, .footer, .f,
  .hd2w, .hd3, .hd1w { height: auto !important; min-height: 0 !important; }
  /* #full-screen-slider 是 float:left，父盒 .banner 放开高度后会塌成 0，
     幻灯片就会盖住下面的「产品世界」标题。去掉浮动让它撑起父盒 */
  .banner > div, #full-screen-slider { float: none !important; }
  .banner::after { content: ""; display: block; clear: both; }
  .m2_1, .m3_2, .m6_l_title, .m6_r_title, .fmn_l1, .fmn_l2 { height: auto !important; }

  /* 面包屑 / 内容区：移动端把正文排到侧栏之前，首屏直接看到内容 */
  .fmn { padding: 0 12px; box-sizing: border-box; display: flex; flex-direction: column; }
  .fmn > .clear { display: none; }
  .fmn_l, .fmn_r {
    width: 100% !important; float: none !important;
    margin: 0 0 14px !important; box-sizing: border-box;
  }
  .fmn_r { order: 1; }
  .fmn_l { order: 2; }
  .fmn_l1ul ul li { height: 42px !important; line-height: 42px !important; margin-bottom: 1px; }
  .fmn_l1ul ul li a { height: 42px !important; line-height: 42px !important; }
  .fmn_r1 {
    width: auto !important; max-width: 100% !important; margin: 0 !important;
    height: auto !important; font-size: 19px !important; line-height: 1.5 !important;
    padding: 10px 12px !important; box-sizing: border-box; text-indent: 0;
  }
  .fmn_r1 span {
    display: block;
    float: none !important;
    margin: 6px 0 0 !important;
    font-size: 14px;
    line-height: 2em;
    color: #666;
  }
  .fmn_r2 {
    padding: 16px 12px !important; min-height: 0 !important; height: auto !important;
    line-height: 1.9 !important; word-wrap: break-word; overflow-wrap: break-word;
  }

  /* 联系鑫达信息网格：单列，每格变成「标签 | 值」两栏，电话/邮箱可点 */
  .ct-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }
  .ct-c {
    display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: start;
    padding: 11px 12px !important; font-size: 15px;
  }
  .ct-k { color: #777 !important; font-weight: 500 !important; }
  .ct-company .ct-v { font-size: 17px !important; line-height: 1.5; }
  .ct-c a { display: inline-block; padding: 4px 0; }

  /* 首页：多列网格降为两列。
     注意：不能再 overflow:hidden —— 源站 li 里有「定高容器 + 放大后的图」，
     隐藏溢出会把图片裁掉一截（实测 212px 容器装 294px 的图，被切掉 28%） */
  /* .news（新闻中心列表）不在此列：它是「左图 + 右文」的条目，应整条独占一行 */
  .m1_li ul li, .m2_2 ul li, .m3_3 ul li, .m5nli ul li, .cpsj ul li {
    width: 48% !important; float: left !important;
    margin: 8px 1% !important; height: auto !important; min-height: 0 !important;
    box-sizing: border-box; overflow: visible;
  }
  .m1_li ul li a p { width: auto !important; font-size: 14px !important; background: #f2f2f2 !important; }
  .m2_2 ul li img, .m3_3 ul li img, .cpsj ul li img, .m1_li ul li img {
    width: 100% !important; margin: 0 !important;
  }
  /* 图片外层的定高壳子一律放开（m5nli 除外：那 200px 是给背景图留的位置） */
  .m2_2 ul li div[style*="height"], .m1_li ul li div[style*="height"],
  .m3_3 ul li div[style*="height"] {
    height: auto !important; min-height: 0 !important;
  }
  .m1_li ul li > a, .m2_2 ul li > a, .m3_3 ul li > a {
    display: block; height: auto !important; min-height: 0 !important;
  }
  .m3_2r ul li { width: 32% !important; margin: 0 .6% !important; height: auto !important; }
  .m3_2r ul li a {
    width: 100% !important; height: auto !important; min-height: 104px;
    margin: 0 !important; box-sizing: border-box; padding: 14px 0;
  }
  .m6_l, .m6_r { width: 100% !important; float: none !important; margin: 0 0 14px !important; }
  .m6_l_title, .m6_r_title { text-indent: .6em; }

  /* 首页「新闻中心 / 常见问题」卡片化。
     源站每条是「33px 圆图标 + 99px 灰色日期列 + 文字」三个浮动块，窄屏下换行堆叠，
     每条高达 252px、中间大片空白，配上 #fafafa 底色和 #B0B0B0 的日期 → 观感发灰发空。
     改为：左侧红色日期 + 右侧标题/摘要的紧凑白卡片，圆图标钉在右侧垂直居中 */
  .m6_l_con ul li, .m6_r_con ul li {
    position: relative;
    width: auto !important; max-width: 100% !important; height: auto !important; min-height: 0 !important;
    margin: 0 0 10px !important; padding: 12px 46px 12px 12px !important;
    box-sizing: border-box; overflow: hidden;
    background: #fff !important;
    border: 1px solid #eaeaea; border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  }
  /* 常见问题条目：左侧红条强调；去掉源站那条多余的 18px 撑高 */
  .m6_r_con ul li { border-left: 3px solid #cb4141 !important; }
  .m6_r_con ul li > div[style*="height:18px"] { display: none !important; }
  .m6_r_con ul li > div[style*="font-weight:bold"] {
    font-size: 15px !important; line-height: 1.55 !important; color: #262626;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .m6_r_con ul li > div[style*="font-size:14px"] {
    font-size: 13px !important; line-height: 1.65 !important; color: #6f6f6f; margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  /* 右上角的圆形箭头图标：改为绝对定位垂直居中，不再跟着浮动乱跑 */
  .m6_l_con ul li > span {
    position: absolute !important; right: 10px; top: 50%; margin-top: -17px;
    float: none !important; display: block; line-height: 0;
  }
  /* 日期列：由「灰色大数字居中」改为左侧红色强调 */
  .m6_l_con ul li > div[style*="width:99px"] {
    float: left !important; width: 62px !important; padding: 8px 0 6px !important;
    box-sizing: border-box; background: #fdf1f1; border-radius: 5px;
    color: #cb4141 !important; text-align: center;
  }
  .m6_l_con ul li > div[style*="width:99px"] > div { width: auto !important; text-align: center !important; }
  .m6_l_con ul li > div[style*="width:99px"] > div:first-child {
    font-size: 26px !important; line-height: 32px !important; font-weight: 700;
  }
  .m6_l_con ul li > div[style*="width:99px"] > div:last-child {
    font-size: 12px !important; color: #9a9a9a !important; margin-top: 2px;
  }
  /* 右侧内容列：取消浮动，用 margin-left 让出日期列，不再换行到下一行 */
  .m6_l_con ul li > div[style*="padding-top:8px"] {
    float: none !important; padding-top: 0 !important; margin-left: 72px; overflow: hidden;
  }
  .m6_l_con ul li > div[style*="padding-top:8px"] > div[style*="font-weight:bold"] {
    font-size: 15px !important; line-height: 1.5 !important; color: #262626;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .m6_l_con ul li > div[style*="padding-top:8px"] > div:not([style*="font-weight"]) {
    font-size: 13px !important; line-height: 1.65 !important; color: #6f6f6f; margin-top: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* 这些区块用的是固定宽度的 no-repeat 背景图，窄屏下会露出半截，改为纯色 */
  .fmn_r1 { background: #f4f4f4 !important; }
  .fmn_l1ul ul li { background: #fff !important; }
  .fmn_l1ul ul li a:hover { background: #373737 !important; }

  /* 新闻中心列表（.fmn_r2.news）：条目整条独占一行，图片满宽单独占一行，文字在下 */
  .news ul li {
    width: 100% !important; float: none !important; margin: 0 0 18px !important;
    height: auto !important; min-height: 0 !important; overflow: hidden;
    padding-bottom: 16px !important; border-bottom: 1px dashed #ddd;
  }
  .news ul li > div[style*="height:35px"] { height: 12px !important; }
  .news ul li > div[style*="width:200px"] {
    float: none !important; width: 100% !important; height: auto !important;
    min-height: 0 !important; margin: 0 0 10px !important; overflow: hidden;
  }
  .news ul li > div[style*="width:600px"] {
    float: none !important; width: 100% !important; margin: 0 !important;
  }
  .news ul li > div[style*="width:200px"] img {
    display: block; width: 100% !important; height: auto !important; margin: 0 auto !important;
    /* 无图条目的「暂无图片」灰块：同步撑满，保持列表宽度一致 */
  }
  .news ul li div[style*="#EBEBEB"] {
    width: 100% !important; max-width: 420px !important; margin: 0 auto !important;
    box-sizing: border-box;
    /* 条目变宽后图会跟着放大，原图只有 387~494 宽，超过 420 就发虚；手机段再放开满宽 */
    max-width: 420px !important;
  }

  /* 「新闻中心 / 常见问题」标题条：标题文字就画在背景图左端，
     所以不能换成纯色（否则标题整个消失），按原比例平铺、只露左端即可 */
  .m6_l_title {
    height: 42px !important; min-height: 42px !important; overflow: hidden;
    background: #fff url(../statics/images/v9/024.jpg) repeat-x left center !important;
    background-size: auto 42px !important;
  }
  .m6_r_title {
    height: 46px !important; min-height: 46px !important; overflow: hidden;
    background: #fff url(../statics/images/v9/025.jpg) repeat-x left center !important;
    background-size: auto 46px !important;
  }

  /* 「公司实力」三张卡片：整张卡（标题+图+留白区）是一张 373x374 的背景图，
     按原比例撑开盒子，避免拉伸；按钮用 margin-top:auto 顶到底部 */
  .m5nli ul li {
    display: flex; flex-direction: column;
    aspect-ratio: 373 / 374; height: auto !important; min-height: 0 !important;
    overflow: visible !important;
    background-size: cover !important; background-position: center top !important;
  }
  .m5nli ul li > *:last-child { margin-top: auto; padding-bottom: 14px; }

  /* 页脚 */
  .fn { padding: 0 12px; box-sizing: border-box; }
  .f_r, .f_l { width: 100% !important; float: none !important; line-height: 1.9 !important; }
  .f_l { background: none !important; text-align: center; }
  .f_l img { margin: 0 auto 8px !important; }
  .link { height: auto !important; line-height: 1.8 !important; padding: 8px 0; text-indent: 0; }
  /* 页脚底色：源站用的是一张 1×199 的背景图（顶部红条 + #373737），repeat-x 只平铺一行，
     桌面 footer 正好 199px 所以看不出来；手机上内容堆到 400+px，
     图片盖不住的部分变透明 → 露出白色底，而文字是白色的，就成了底部一大片空白。
     补上与图片主体一致的背景色，并让页脚文字保持浅色。 */
  .footer {
    background-color: #373737 !important;
    background-repeat: repeat-x !important;
    padding-bottom: 10px !important;
  }
  .footer .link, .footer .f_r { color: #f2f2f2 !important; }
  /* 备案号等没有内联颜色的链接默认是蓝色，在深灰底上很突兀 */
  .footer a { color: #e3e8f2 !important; }

  .m-tip-scroll {
    display: block; color: #909399; font-size: 12px;
    padding: 4px 0 6px; text-align: center;
  }

  /* 用表格做图片排版时（无表头），移动端改为单列大图；数据表格保持结构横向滚动 */
  .m-table-wrap.is-gallery table,
  .m-table-wrap.is-gallery tbody,
  .m-table-wrap.is-gallery tr,
  .m-table-wrap.is-gallery td { display: block; width: 100% !important; }
  .m-table-wrap.is-gallery td { padding: 6px 0 !important; text-align: center !important; }
  .m-table-wrap.is-gallery img { max-width: 100% !important; height: auto !important; }

  /* 站点大量使用浮动列表 + 固定高度容器，放开高度后必须清除浮动，否则高度塌陷导致重叠 */
  .main ul::after, .fm ul::after { content: ""; display: block; clear: both; }
  .main div[style*="width:"], .fm div[style*="width:"] {
    width: 100% !important; max-width: 100% !important; box-sizing: border-box;
  }
  .m3 > div[style*="height:"] { height: auto !important; }
  .m3 .left, .m3 .right, .m6_l, .m6_r {
    width: 100% !important; float: none !important; margin: 0 0 14px !important;
  }
  /* 正文类区块留出门边，图片类保持通栏 */
  .m3 .left { padding: 0 12px !important; box-sizing: border-box; }
  .m1 > div[style*="text-align:center"] { padding: 0 14px; box-sizing: border-box; }
  /* 产品分类按钮行：桌面为 155px 定宽横排。
     用等宽两列网格而不是 inline-block —— 后者各按钮宽度不一，列边参差不齐 */
  .m1_ul {
    height: auto !important; padding: 10px 12px !important; box-sizing: border-box;
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px; text-align: center;
  }
  .m1_ul a {
    display: flex !important; align-items: center; justify-content: center;
    width: auto !important; min-width: 0 !important;
    min-height: 44px !important; height: auto !important; line-height: 1.25 !important;
    padding: 6px 8px !important; margin: 0 !important;
    font-size: 13px !important; box-sizing: border-box;
    white-space: normal; word-break: break-word;
  }
  .m1_ul a:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ==========================================================
   ≤900px：手机，导航折叠为汉堡菜单
   ========================================================== */
@media screen and (max-width: 900px) {
  .mnav-toggle { display: flex !important; }

  /* 顶部条 */
  .hd1 { padding: 0 12px; box-sizing: border-box; }
  .hd1 .right { display: none !important; }
  .hd1 > div:last-child { padding-left: 0 !important; font-size: 12px; }

  /* 第二行：logo + 汉堡
     注意 DOM 顺序是 .hd2r(导航) 在前、.hd2l(logo) 在后，
     直接堆叠会让展开的菜单把 logo 顶下去；所以让导航面板脱出文档流做浮层。 */
  .hd2w { position: relative; z-index: 1200; padding: 10px 0 !important; }
  .hd2 {
    position: relative; padding: 0 12px; box-sizing: border-box;
    display: flex !important; align-items: center; gap: 10px;
  }
  .hd2l {
    order: 1; flex: 1 1 auto; width: auto !important; float: none !important;
    margin: 0 !important; line-height: 0;
    display: flex; align-items: center; justify-content: space-between;
  }
  .hd2r {
    order: 2; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    width: auto !important; float: none !important; margin: 0 !important;
  }
  /* 只给 max-height 会把 350x102 的 logo 压成 350x56（压扁 82%）。
     百分比 max-width 在 inline-block 父级里解析不稳定，直接定高、宽度自动 */
  .hd2l img {
    width: auto !important; height: 50px !important;
    max-width: none !important; max-height: none !important;
  }
  .hd2r1 { display: none !important; }
  /* 汉堡按钮改为 logo 行内的普通 flex 项，不再按 .hd2w 的 50% 绝对定位
     —— 否则菜单展开把 .hd2w 撑高后，按钮会跟着往下跑 */
  .mnav-toggle {
    position: static !important; transform: none !important;
    flex: 0 0 auto; margin: 0 0 0 auto !important;
  }

  /* 第三行：保留搜索，隐藏热门关键词 */
  .hd3 { padding: 8px 12px !important; box-sizing: border-box; }
  .hd3 > div:not(.right) { display: none !important; }
  .hd3 .right { width: 100% !important; max-width: 360px; padding: 0 !important; float: none; }
  /* 搜索框：原为「输入框左浮动 + 图片按钮右浮动」，移动端改为 flex 单行 */
  .globalsearchformzone {
    width: 100%; height: auto !important; background: none !important; padding: 4px 0 !important;
  }
  #globalsearchform { display: flex; align-items: center; gap: 8px; }
  div.globalsearchformzone div.globalsearchform {
    float: none !important; flex: 1 1 auto; order: 1;
    height: auto !important; padding: 0 !important; margin: 0 !important;
  }
  div.globalsearchformzone div.globalsearchform1 {
    float: none !important; flex: 0 0 auto; order: 2;
    padding: 0 !important; margin: 0 !important; line-height: 1;
  }
  .globalsearchform .input {
    width: 100% !important; height: 34px !important; line-height: 34px !important;
    border: 1px solid #cfcfcf !important; border-radius: 3px;
    padding: 0 10px !important; box-sizing: border-box; font-size: 14px;
  }
  .globalsearchform1 .imgbutton { height: 34px !important; width: auto !important; }

  /* slidesjs 生成的 Previous / Next 文字链在窄屏会裸露，隐藏之（保留圆点分页） */
  .slidesjs-navigation { display: none !important; }
  /* 搜索结果页：顶部搜索框已移入正文，头部该行在手机端无需占位 */
  body.page-search .hd3 { display: none !important; }

  /* 导航面板 */
  #dh_bg { width: 100% !important; margin-top:10px }
  #daohang {
    width: 100% !important; height: auto !important; display: none;
    margin: 0; background: rgba(0, 0, 0, .32); border-radius: 6px; overflow: hidden;
  }
  body.nav-open #daohang { display: block; }
  /* 浮层状态：面板要压在 banner 之上，背景必须够实，否则和下面的图糊在一起 */
  #daohang {
    background: #141414 !important;          /* 浮层要完全遮住下层，半透明会透出图片 */
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
  }
  .dh_line { display: none !important; }
  #daohang .tab {
    float: none !important; width: 100% !important; text-align: left !important;
    line-height: 46px !important; height: auto !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  #daohang .tab .tablink {
    height: 46px !important; line-height: 46px !important; text-align: left;
    padding: 0 14px; font-size: 16px; color: #fff !important;
  }
  #daohang .dropdown .tablink::after {
    content: "+"; float: right; font-size: 18px; margin-left: 8px; font-weight: 300;
  }
  #daohang .dropdown.open .tablink::after { content: "\2013"; }
  #daohang .dropdown > ul {
    position: static !important; display: none !important;
    width: 100% !important; margin: 0 !important; padding: 2px 0 8px !important;
    border: none !important; background: rgba(0, 0, 0, .18) !important;
  }
  #daohang .dropdown.open > ul { display: block !important; }
  #daohang .subnav, #daohang .subnav2 { width: 100% !important; }
  #daohang .subnav a, #daohang .subnav2 a {
    width: 100% !important; float: none !important; text-align: left !important;
    color: #fff !important; border: none !important; line-height: 38px !important;
    font-size: 14px; padding: 0 14px 0 24px !important; box-sizing: border-box;
  }
  #daohang .subnav1 {
    width: 100% !important; padding: 2px 0 8px !important;
    border: none !important; background: rgba(0, 0, 0, .18) !important;
  }
  #daohang .snav_z1 { width: 100% !important; float: none !important; margin: 0 !important; }
  #daohang .snav_z1 dt {
    width: 100% !important; color: #fff !important; font-size: 15px;
    padding: 6px 14px !important; box-sizing: border-box; text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .15) !important;
  }
  #daohang .snav_z1 dd {
    width: 100% !important; padding: 0 14px 0 26px !important; box-sizing: border-box;
    line-height: 32px !important; font-size: 14px; text-align: left;
  }
  #daohang .snav_z1 a { color: #f0f0f0 !important; }

  /* banner 幻灯片：高度由 JS 按图片比例计算 */
  #full-screen-slider, #slides { height: auto !important; }
  #slides .slidesjs-container, #slides .slidesjs-control { height: auto !important; }
  #slides .slidesjs-control li {
    background-size: cover !important; background-position: center !important;
  }
  #slides .slidesjs-pagination { bottom: 8px; top: auto !important; left: 0; right: 0; }
  /* 圆点 z-index 是 9999，会浮在导航浮层之上并挡住菜单项的点击 */
  #slides .slidesjs-pagination { z-index: 5 !important; }

  /* ---------- 栏目横幅图 → 文字标题 ----------
     首页几张 1200×123 的通栏横幅是「图片里带字」（PRODUCTS/产品世界 等），
     等比缩到 390 宽只有 40px 高，文字彻底糊成一团。
     手机上隐藏原图，改用 HTML 文字重绘：清晰、可选中、还能被搜索引擎读到。
     （横幅外包着的 <a> 仍在，点击照旧跳转） */
  .st-img {display: none !important;}
  .st-m {
    display: block !important;
    padding: 22px 14px 18px !important;
    text-align: center !important;
    box-sizing: border-box;
    margin-top: 2em;
  }
  .st-m i { font-style: normal; }
  .st-m .st-en {
    display: block !important;
    font-size: 13px !important; letter-spacing: 3px; color: #666;
    line-height: 1.5 !important;
  }
  .st-m .st-cn {
    display: inline-block !important; position: relative;
    margin-top: 8px !important;
    font-size: 20px !important; font-weight: 700; letter-spacing: 4px;
    color: #333; line-height: 1.4 !important;
  }
  /* 中文两侧的短横线，照原图还原 */
  .st-m .st-cn::before, .st-m .st-cn::after {
    content: ""; position: absolute; top: 50%;
    width: 28px; height: 1px; background: #d9d9d9;
  }
  .st-m .st-cn::before { right: 100%; margin-right: 12px; }
  .st-m .st-cn::after { left: 100%; margin-left: 12px; }
  .st-m.is-red .st-cn {color: #f9f9f9;}

  /* 「研发中心」是黑底白字色块 + 下方一句灰色说明 */
  .st-m.is-band { padding: 0 !important; }
  .st-m.is-band .st-en {
    display: block !important;
    background: #1b1b1b; color: #fff !important;
    font-size: 16px !important; letter-spacing: 2px;
    padding: 11px 12px !important; line-height: 1.3 !important;
    border-bottom: 2px solid #CC0000;
    box-sizing: border-box;
  }
  .st-m.is-band .st-desc {
    display: block !important;
    margin-top: 10px !important; padding: 0 14px !important;
    font-size: 12px !important; color: #8a8a8a; line-height: 1.8 !important;
  }

  /* ---------- 侧栏两张小图（031 / 032）----------
     这两张只有 256/255 宽，手机上仍是原尺寸靠左，右边空一大片，图里的字也很小。
     031「产品世界」：换成整条可点的红色标题条（仍链到产品世界 list-13）。
     032 电话条：内容与下方联系信息块重复且包在 <a href="#"> 死链里，直接隐藏。 */
  .sd-img, .sd-deadlink { display: none !important; }
  .fmn_l1 > div[style*="width:"], .fmn_l2 > div[style*="width:"] {
    width: auto !important; height: auto !important; min-height: 0 !important;
  }
  .fmn_l2 > div[style*="width:"] { margin: 0 !important; padding: 0 !important; }
  /* 电话链接是 JS 从文本里识别出来后包上的 <a>，行内只有 20px 高，手指很难点中 */
  .fmn_l2 a[href^="tel:"], .footer a[href^="tel:"], .f_r a[href^="tel:"] {
    display: inline-block !important; padding: 6px 2px !important; margin: 0 !important;
  }
  .sd-cat {
    display: block !important; box-sizing: border-box;
    padding: 13px 14px !important;
    background: #CC0000; color: #fff !important;
    font-size: 17px !important; font-weight: 700; letter-spacing: 3px;
    text-align: center !important; line-height: 1.4 !important;
    border-radius: 3px; text-decoration: none;
  }
}

/* ==========================================================
   ≤560px：小屏手机，单列 + 收紧间距字号
   ========================================================== */
@media screen and (max-width: 560px) {
  body { font-size: 15px; }
  .m1_li ul li, .m2_2 ul li, .m5nli ul li, .cpsj ul li, .news ul li {
    width: 100% !important; float: none !important; margin: 10px 0 !important;
  }
  /* 工程案例的四张图：小屏也保持一排放两个（270x202，两列不会太小） */
  .m3_3 ul li {
    width: 48% !important; float: left !important; margin: 8px 1% !important;
    box-sizing: border-box;
  }
  /* 总经理致辞 / 企业文化 / 企业资质：只有图标 + 四个字，
     小屏也保持横排一行（此前 48% 会让第三个掉到第二行） */
  .m3_2r ul li { width: 32% !important; margin: 0 .6% !important; }
  .m3_2r ul li a { min-height: 92px !important; padding: 10px 0 !important; }
  .m3_2r ul li p { padding-top: 12px !important; font-size: 13px !important; }
  .fmn_r1 { font-size: 17px !important; }
  .fmn_r2 { font-size: 15px; padding: 14px 8px !important; }
  /* 手机段：新闻列表的图真正撑满整行（此时宽度 ≤ 原图 387，不会发虚） */
  .news ul li > div[style*="width:200px"] img { max-width: 100% !important; }
  .news ul li div[style*="#EBEBEB"] { max-width: 100% !important; }
  .hd1 { font-size: 12px; }
  .link { font-size: 14px; }
  .f_r { font-size: 13px; }
  #daohang .tab .tablink { font-size: 15px; }

  /* 触摸目标：源站行内链接只有 17~20px 高，手指很难点中 */
  .f_r a, .link a {
    display: inline-block !important; padding: 6px 4px !important; margin: 0 !important;
  }
  .m6_l_con ul li a, .m6_r_con ul li > div > a {
    display: inline-block !important; padding: 5px 0 !important;
  }
  /* 「更多」只有 50x19，加大可点区域（标题条有 42/46px 高，撑得下） */
  .m6_l_title a, .m6_r_title a { display: inline-block !important; padding: 8px 6px !important; }
  .m3_3 ul li a, .m6_r_con ul li a { display: block; }
  /* 幻灯片圆点只有 12x12，手指点不中；放大到 18px（纯 CSS 圆点，无背景图） */
  .slidesjs-pagination a {
    width: 18px !important; height: 18px !important; border-radius: 50% !important;
  }
  .slidesjs-pagination li { margin: 0 9px !important; }
  /* 搜索页（现为 Bing site: 中转页）：窄屏下输入框与按钮各占一行，
     否则 62% 的输入框 + 整行的按钮会一起撑出视口 */
  .sbox { padding: 14px 12px; }
  .sbox .sinput { width: 100% !important; max-width: none !important; box-sizing: border-box; }
  .sbox .sbtn { display: block; width: 100%; margin: 8px 0 0 !important; box-sizing: border-box; }
  .scard .sq { word-break: break-all; }
}

/* ==========================================================
   桌面端：slidesjs 只在能测到高度时才写 .slidesjs-container 的高度，
   而 li 是 position:absolute + height:100%，父级为 0 时它也是 0，
   结果整张 banner 是空白的。这里直接按设计高度 604px 钉死。
   ========================================================== */
@media screen and (min-width: 901px) {
  #full-screen-slider, #slides,
  #slides .slidesjs-container,
  #slides .slidesjs-control { height: 604px !important; }
  #slides .slidesjs-control li { height: 100% !important; }
}

/* ==========================================================
   正文/卡片内联 padding 收缩（≤900px）
   源站编辑器在正文容器上写死了 padding:2em（≈30px/边）和 padding:20px，
   390px 屏上两侧共吃掉 60px，正文图片被压到 290px 宽。这里按比例收缩，
   用属性选择器匹配内联样式，PC 端保持原样。
   ========================================================== */
@media (max-width: 900px) {
  [style*="padding:2em"], [style*="padding: 2em"],
  [style*="padding:2em 0"], [style*="padding: 2em 0"],
  [style*="padding:0 2em"], [style*="padding: 0 2em"] { padding: .7em !important; }
  [style*="padding:20px"], [style*="padding: 20px"],
  [style*="padding:20px 0"], [style*="padding: 20px 0"] { padding: 10px !important; }
  /* 正文图片：写死的宽高已由 imgfix.py 清理，这里保证满宽且不溢出 */
  .fmn_r img, .fmn_r2 img, .fmn_l img {/* display: block; */margin-left: auto;margin-right: auto;}
}

/* ---------- 打印 ---------- */
@media print {
  .mnav-toggle, #daohang, .banner { display: none !important; }
}
