﻿@charset "utf-8";

/* =========================================================
   手机站样式（仅作用于 max-width:768px）
   本文件不改变任何桌面端规则；手机专属元素在桌面端默认隐藏。
   ========================================================= */

/* 桌面端：手机专属元素一律不显示，确保电脑端零影响 */
.m-toggle,
.m-menu { display: none; }

@media all and (max-width: 768px) {

  /* 基础：放大字号、禁止溢出、图片自适应 */
  body { font-size: 14px; }
  img { max-width: 100%; height: auto; }
  * { box-sizing: border-box; }

  /* ===== 去除固定宽度容器，改为流式 ===== */
  .cen,
  .wenhua,
  .Hfooterk,
  .Hfooterbq,
  .divBox,
  .p_list,
  .p_detail,
  .jyln,
  .nynr,
  .index_about .about_zm {
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .m-stack {
    width: 100% !important;
    display: block !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* ===== 顶部导航：隐藏桌面菜单，改汉堡 ===== */
  .top_nav {
    height: auto !important;
    min-height: 56px;
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px !important;
  }
  .tlogo {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding-left: 0 !important;
    text-align: left !important;
  }
  .tlogo img { margin-top: 0 !important; height: 38px !important; width: auto !important; }
  .nav1,
  a.topan { display: none !important; }

  /* 汉堡按钮 */
  .m-toggle {
    display: block;
    width: 44px;
    height: 38px;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
  }
  .m-toggle span,
  .m-toggle span::before,
  .m-toggle span::after {
    content: "";
    position: absolute;
    left: 9px;
    width: 26px;
    height: 3px;
    background: #1d9ff5;
    border-radius: 2px;
    transition: all .3s;
  }
  .m-toggle span { top: 18px; }
  .m-toggle span::before { top: -8px; }
  .m-toggle span::after { top: 8px; }
  .m-toggle.active span { background: transparent; }
  .m-toggle.active span::before { top: 0; transform: rotate(45deg); }
  .m-toggle.active span::after { top: 0; transform: rotate(-45deg); }

  /* ===== 手机下拉菜单 ===== */
  .m-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    z-index: 9999;
    max-height: 82vh;
    overflow-y: auto;
  }
  .m-menu.open { display: block; }
  .m-list { list-style: none; }
  .m-li { position: relative; border-bottom: 1px solid #eee; }
  .m-top {
    display: block;
    position: relative;
    padding: 15px 50px 15px 16px;
    font-size: 16px;
    font-weight: bold;
    color: #212121 !important;
    background: #fff;
  }
  .m-top:hover { color: #1d9ff5 !important; }
  .m-caret {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    line-height: 50px;
    text-align: center;
    color: #1d9ff5;
    font-size: 13px;
    cursor: pointer;
    transition: transform .3s;
  }
  .m-caret.open { transform: rotate(180deg); }
  .m-sub { display: none; background: #f5f7f9; }
  .m-sub.open { display: block; }
  .m-sub li { border-bottom: 1px solid #e8e8e8; }
  .m-sub a {
    display: block;
    padding: 13px 16px 13px 34px;
    font-size: 15px;
    color: #555 !important;
    background: #f5f7f9;
  }
  .m-sub a:hover { color: #1d9ff5 !important; }

  /* ===== 首页 Banner ===== */
  .indexBanner,
  .indexBanner .bd li { height: 240px !important; }
  .indexBanner .bd li .cont { padding: 14% 6% 0 !important; }
  .indexBanner .bd li .cont .tit { font-size: 24px !important; }
  .indexBanner .bd li .cont .title {
    font-size: 13px !important;
    line-height: 22px !important;
    margin-top: 8px !important;
  }
  .indexBanner .hd { display: none !important; }

  /* ===== 首页产品中心按钮 ===== */
  .dh4 {
    width: 48% !important;
    height: 54px !important;
    line-height: 54px !important;
    font-size: 15px !important;
    margin-bottom: 12px !important;
    border-radius: 10px 0 10px 0 !important;
  }

  /* ===== 首页公司简介区块 ===== */
  .index_about .about_zm { display: block !important; }
  .about_txt { width: 100% !important; padding: 22px 0 !important; }
  .about_txt h2 { font-size: 22px !important; line-height: 30px !important; width: 90% !important; }
  .about_nr {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 25px 18px !important;
    box-shadow: none !important;
  }
  .about_nr h2 { font-size: 24px !important; }
  .about_nr ul { flex-direction: row !important; }
  .about_nr ul li { width: 50% !important; }
  .about_nr ul > li > div:first-child { font-size: 32px !important; }

  /* ===== 首页文化/实力区块 ===== */
  .wenhua { flex-direction: column !important; }
  .whnr { width: 100% !important; height: auto !important; }
  .whbt { margin-top: 28px !important; font-size: 22px !important; }
  .whsm { padding: 15px 20px 30px !important; font-size: 14px !important; line-height: 28px !important; }

  /* ===== 首页新闻 ===== */
  .syxw {
    width: 100% !important;
    height: auto !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
  }

  /* ===== 首页 滚动图 iframe ===== */
  .cen iframe { height: 320px !important; }

  /* ===== 内页 Banner ===== */
  .nybnaner { height: auto !important; padding-top: 50px !important; padding-bottom: 25px !important; }
  .nybnaner span { font-size: 28px !important; line-height: 40px !important; }
  .nybnaner p { font-size: 13px !important; }

  /* 内页标题（覆盖 cn.css 中移动端隐藏 .bti 的规则） */
  .bti { display: block !important; padding-top: 30px !important; padding-bottom: 20px !important; }
  .btiwz { font-size: 16px !important; }
  .btiwz span { font-size: 26px !important; }

  /* ===== 内页正文 ===== */
  .nynr {
    width: 100% !important;
    padding: 0 15px 30px !important;
    font-size: 15px !important;
    line-height: 28px !important;
    text-align: justify !important;
  }
  .nynr img { width: 100% !important; height: auto !important; margin-top: 15px !important; }

  /* 表格/图片自适应 */
  table { width: 100% !important; max-width: 100% !important; }
  table td { table-layout: fixed; word-break: break-all; overflow: hidden; }

  /* ===== 页脚 ===== */
  .Hfooter { padding-bottom: 30px !important; }
  .Hfooterk { flex-direction: column !important; padding-top: 40px !important; padding-bottom: 30px !important; }
  .Hfooterlx,
  .Hfooterdh,
  .Hfooterm { width: 100% !important; margin-left: 0 !important; }
  .Hfooterdh ul li { width: 50% !important; }
  .Hfooterbt {
    font-size: 20px !important;
    height: auto !important;
    line-height: 30px !important;
    padding-left: 45px !important;
    background-size: 30px !important;
  }
  .Hfooterm { display: none !important; }
  .Hfooterbq {
    width: 100% !important;
    font-size: 12px !important;
    line-height: 22px !important;
    padding: 25px 15px 0 !important;
  }
}

@media all and (max-width: 450px) {
  .about_nr ul li { width: 100% !important; }
  .dh4 { width: 100% !important; }
}
