@CHARSET "UTF-8";
/* =========================================================================
   zbzb-gov  国立政务风模板  gov.css
   -------------------------------------------------------------------------
   · 版面参照 www.huainan.gov.cn 政务门户结构（顶条/头部/红底导航/通栏轮播/
     模块化栏目/服务图标矩阵/多栏页脚）
   · 主色沿用 zbzb 原有大红色 #ff0000，不使用淮南的蓝色 #487bc5
   · 单一套响应式：PC 与手机共用本文件，手机端靠 @media 自动降级
   · 兼容原模板全部类名（内页 newslist/newsshow/product/photo/down/guest/
     user/vote 等均按原名保留，只做配色的版式升级）
   -------------------------------------------------------------------------
   修改日期：2026-11-27
   ========================================================================= */

/* ---------- 1. 全局变量 ---------- */
:root{
    --c-main:   #ff0000;   /* 主色：大红色（zbzb 沿用） */
    --c-main-d: #cc0000;   /* 主色深调：hover / 边线 */
    --c-main-l: #fff3f3;   /* 主色浅调：底纹 / 标签底 */
    --c-text:   #222222;   /* 正文 */
    --c-sub:    #666666;   /* 辅助文字 */
    --c-line:   #e4e5e7;   /* 分隔线 */
    --c-bg:     #f4f5f7;   /* 页面底色 */
    --c-gold:   #c9a227;   /* 点缀金 */
    --w:        1200px;    /* 版心宽度（淮南为 1200~1300） */
    --nav-h:    54px;      /* 导航条高度（仿淮南的 51~54px） */
}

/* ---------- 2. 基础重置 ---------- */
*{ -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
/* 始终给页面留出纵向滚动条的位置：这样首页、列表页、详情页的版心左右边界完全一致，
   不会出现“短页面没滚动条、版心偏右 7px”的错位（用户反馈的详情页/列表页右侧不齐就是这个原因） */
html{ overflow-y:scroll; }
body{
    margin:0; padding:0;
    font:14px/1.7 "Microsoft YaHei","微软雅黑","PingFang SC","Hiragino Sans GB",Arial,sans-serif;
    color:var(--c-text);
    background:var(--c-bg);
    text-align:left;
    -webkit-font-smoothing:antialiased;
}
p{ margin:0; padding:0; }
img{ border:0; max-width:100%; vertical-align:middle; }
ul,ol{ margin:0; padding:0; list-style:none; }
a{ color:var(--c-text); text-decoration:none; -webkit-tap-highlight-color:transparent; }
a:hover{ color:var(--c-main-d); }
h1,h2,h3,h4{ margin:0; font-weight:normal; }
.clearfix:after{ content:""; display:block; clear:both; }

/* 版心容器：所有区块统一用 1200 居中 */
.w1200{ width:var(--w); max-width:100%; margin:0 auto; }

/* ---------- 3. 顶部工具条（淮南式 40px 灰条） ---------- */
.topbar{
    height:38px; line-height:38px; background:#fafbfc;
    border-bottom:1px solid var(--c-line); font-size:13px; color:var(--c-sub);
}
.topbar .w1200{ display:flex; justify-content:space-between; align-items:center; }
.topbar a{ color:var(--c-sub); margin-left:18px; }
.topbar a:hover{ color:var(--c-main); }
.topbar .tb-date{ color:#999; }

/* ---------- 4. 站点头部（仿淮南：居中 logo + 居中搜索，logo 位置压一块浅红弧形色块） ---------- */
/* logo 后面那块弧度色块用“居中的椭圆径向渐变”画：椭圆中心在版心正中、贴着底部，
   边缘自然虚化，看上去就是 logo 底下浮着一块弧形红斑（淮南头部同样的视觉手法）。 */
.hd{
    position:relative; overflow:hidden;
    padding:18px 0 16px; border-bottom:3px solid var(--c-main);
    background-color:#fff;
    background-image:
        radial-gradient(ellipse 470px 122px at 50% 97%, #ffd2d2 0%, #ffe6e6 50%, rgba(255,255,255,0) 100%),
        linear-gradient(180deg, #fffafa 0%, #ffffff 72%);
    background-repeat:no-repeat;
    background-size:100% 100%;
}
/* 头部整体竖排两行：第一行「手掌 logo + 站名」，第二行「大搜索」，都居中 */
.hd-inner{ display:flex; flex-direction:column; align-items:center; gap:16px; position:relative; z-index:2; }
.hd-brand{ display:flex; align-items:center; gap:18px; }
.hd-mark{ flex:0 0 auto; display:block; line-height:0; }
.hd-mark img{ width:74px; height:74px; object-fit:contain; display:block; }
.hd-title{ min-width:0; }
.hd-title .h-name{
    font-size:28px; font-weight:700; color:#1a1a1a; letter-spacing:1px;
    line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hd-title .h-sub{
    font-size:13px; color:var(--c-sub); letter-spacing:.4px; margin-top:5px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
/* 搜索：居中，最大 560px（淮南的搜索框同样居中放在 logo 下面） */
.hd-search{ width:100%; max-width:560px; margin:0 auto; display:flex; }
.hd-search form{
    display:flex; width:100%; border:2px solid var(--c-main); border-radius:24px;
    overflow:hidden; background:#fff; box-shadow:0 4px 14px rgba(255,0,0,.08);
}
.hd-search .ss_input{
    flex:1 1 auto; height:42px; border:0; outline:none; padding:0 18px;
    font-size:14px; color:#333; background:transparent;
}
/* 搜索按钮：原来调用 ss_btn.png（模板里没有这张图，会 404 变纯红块），
   改成纯色 + “搜索”二字，扁平风且不依赖图片 */
.hd-search .ss_btn{
    flex:0 0 76px; height:42px; border:0; cursor:pointer;
    background:var(--c-main); color:#fff; font-size:15px; letter-spacing:2px;
    border-radius:0 22px 22px 0;
}
.hd-search .ss_btn:hover{ background-color:var(--c-main-d); }

/* ---------- 4b. 头部叠加层（仿淮南 banbox：切换大图当底，logo/站名/搜索居中压在图中间） ---------- */
/* 叠加层：logo / 站名 / 副标题 / 搜索 竖排在 banner 正中 */
.ban-inner{
    position:absolute; left:0; right:0; top:0; bottom:0; z-index:25;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:14px; text-align:center; pointer-events:none;
}
/* 2026-11-28 按用户要求移除：中间那层白色拱形托底色块（原 .ban-inner:before 规则）。*/

.ban-inner > *{ pointer-events:auto; position:relative; }

/* 2026-11-28 按用户要求移除：logo 周围的三道弧线装饰（原 .ban-arc / .ban-arc i 规则）。*/

/* 内页 banner 高度只有 286（手机 206），弧要收一档，避免弧顶贴边被切 */
@media screen and (max-width:768px){
    }
.ban-mark{ display:block; line-height:0; }
/* 手掌 logo（用户提供的 D:\手.jpg 抠成透明底，512×512，竖长构图，这里按高度控制、宽度自适应） */
.ban-mark img{ height:108px; width:auto; display:block; filter:drop-shadow(0 4px 10px rgba(140,0,0,.22)); }
/* 站名：多个名称轮播切换（文字与间隔由后台「插件管理 > 新版幻灯片 > 站名轮播」控制）
   ★ 容器定高 1.15em：多个名字叠在同一行，不撑高、不顶下方副标题
   ★ 每个名字绝对定位叠放，切换由 gov.js 的 initBanName 控制（.on 显示），过渡 0.35s */
.ban-name{
    position:relative; display:block; width:100%; height:1.15em; text-align:center;
    font-size:44px; font-weight:800; line-height:1.15; letter-spacing:10px;
    color:#8f0f0f; pointer-events:none;   /* 站名不可点，别挡住 banner 的点击区域 */
    text-shadow:0 2px 16px rgba(255,255,255,.95), 0 0 3px rgba(255,255,255,.9);
}
.ban-name .bn-i{
    position:absolute; left:0; right:0; top:0;
    padding-left:10px;              /* 抵消字距造成的右侧空隙，视觉更居中 */
    white-space:nowrap;
    opacity:0;
    /* 与 banner 同策略：离场瞬灭，只有入场淡入，避免两个站名叠字（手机上尤其明显） */
    -webkit-transition:none; transition:none;
    -webkit-backface-visibility:hidden; backface-visibility:hidden;
}
.ban-name .bn-i.on{
    opacity:1;
    -webkit-transition:opacity .3s ease; transition:opacity .3s ease;
}
.ban-sub{ font-size:15px; letter-spacing:5px; color:#8a4a4a; text-shadow:0 1px 10px rgba(255,255,255,.95); }

/* ---------- 5. 主导航（红底白字：从深红到亮红的渐变条，选中项压一层深红 + 白色下划线） ---------- */
.nav_ctr{
    height:var(--nav-h); position:relative; z-index:1000;
    background:#ff0000;                 /* 老浏览器兜底 */
    background:-webkit-linear-gradient(180deg, #ff2b2b 0%, #ff0000 42%, #e30000 100%);
    background:linear-gradient(180deg, #ff2b2b 0%, #ff0000 42%, #e30000 100%);
    border-bottom:1px solid #c40000;
    box-shadow:0 2px 6px rgba(150,0,0,.18);
}
.nav_ctt{
    width:var(--w); max-width:100%; margin:0 auto; height:var(--nav-h);
    display:flex; align-items:stretch; overflow:hidden; position:relative;
}
/* 导航条中间被「色块」剪开的那道口子（仿淮南：白块从导航条中间垂下，把左右两段导航隔开）
   ★ 用显式元素 .nav-notch（head.html 里放一个 <i>），不占用 .nav_ctr 的伪元素——
     手机端 .nav_ctr:after 已经用来放"网站导航"文字标签了。
   ★ 放在 .nav_ctt 外面、.nav_ctr 内部，才能压住导航条自己那 1px 底边框不留缝。
   只咬住最下面 12px（导航文字底在 38px 处，不切字），
   与下面 .ban-inner:before 那块白拱同宽（620）同中心 → 上下相接成"开口 + 垂下的白拱" */
/* 2026-11-28 已移除：原导航条中间白色开口 .nav-notch（随白色托底色块一起去掉，避免白条悬空） */
.nav_cell1,.nav_cell{
    flex:1 1 0; min-width:0; position:relative; text-align:center;
    display:flex; align-items:center; justify-content:center;
}
.nav_cell a,.nav_cell1 a{
    display:block; width:100%; line-height:var(--nav-h); height:var(--nav-h);
    color:#fff; font-size:15px; font-weight:700; letter-spacing:0;
    white-space:nowrap; padding:0 3px; overflow:hidden; text-overflow:ellipsis;
    border-bottom:3px solid transparent; transition:.15s;
}
/* 悬停/当前栏目：压一层更深的红 + 底部白色实线（红底上用白线最醒目） */
.nav_cell a:hover,.nav_cell1 a:hover,.nav_cell.on > a,.nav_cell1.on > a{
    color:#fff; border-bottom-color:#fff; background:rgba(0,0,0,.17);
}
/* 当前栏目：foot.html 会把当前栏目 li 的 class 换成 nav_cell1（首页默认就是 nav_cell1） */
.nav_cell1 a{ color:#fff; border-bottom-color:#fff; background:rgba(0,0,0,.2); }
/* 项与项之间用一道极淡的白色细线分隔（红底上比红线看得清） */
.nav_cell:before{
    content:""; position:absolute; left:0; top:19px; width:1px; height:16px;
    background:rgba(255,255,255,.26);
}
/* 二级下拉 */
.ej_navctr{
    position:absolute; left:0; top:var(--nav-h); min-width:150px; width:auto;
    background:#fff; border:1px solid var(--c-line); border-top:2px solid var(--c-main);
    box-shadow:0 6px 16px rgba(0,0,0,.12); padding:6px 0; display:none; z-index:9999;
}
.ej_nav{ display:block; float:none; }
.ej_nav a{
    display:block; line-height:34px; height:34px; padding:0 18px; font-size:14px;
    font-weight:400; color:#444; background:#fff; text-align:left;
}
.ej_nav a:hover{ background:var(--c-main-l); color:var(--c-main); }

/* ---------- 6. 通栏轮播 ---------- */
.banner_ctr{
    width:100%; height:340px; position:relative; overflow:hidden;
    background:#fdfaf6 url(../images/banner1.jpg) center/cover no-repeat;
}
.banner_ctr .w1200{ height:100%; position:relative; }
#banner{
    width:100% !important; height:340px !important; position:relative; overflow:hidden;
    background:#f4ecdf;                                   /* 与 banner 图底色接近，淡入过程中不露白 */
}
#banner .loading{ display:none !important; }              /* myfocus 的 loading 层 */
#banner ul{ position:relative; height:100%; margin:0; padding:0; }
#banner .pic ul li,
#banner ul li{
    width:100% !important; height:340px !important;
    position:absolute; left:0; top:0; opacity:0; z-index:1;
    /* 2026-11-28 修切换残影：离场帧不过渡，瞬间归零；只有入场帧淡入（见 .on）
       原来是两帧同时做 0.6s 交叉淡变，中途两图各半透明叠在一起 → 手机上肉眼可见“残影/重影” */
    -webkit-transition:none; transition:none;
    -webkit-backface-visibility:hidden; backface-visibility:hidden;
}
/* 当前帧：由 gov.js 打上 .on。过渡只挂在 .on 上，所以只有“入场”淡入，“离场”直接消失 */
#banner ul li.on{
    opacity:1; z-index:2;
    -webkit-transition:opacity .32s ease; transition:opacity .32s ease;
    -webkit-transform:translateZ(0); transform:translateZ(0);
}
#banner ul li img,
#banner .pic ul li img{
    width:100% !important; height:340px !important;
    object-fit:cover; object-position:center; display:block;
}
/* myfocus 标题条：置于左下角，红底白字
   ★ 单行省略：轮播标题是文章真标题，长度不可控。原来不设省略，
     手机上（375 宽）长标题会折到第二行、被 38px 的固定高度裁掉一半。 */
#banner .txt{
    position:absolute; left:0; bottom:0; width:100%; height:44px; line-height:44px;
    background:linear-gradient(90deg,rgba(204,0,0,.92),rgba(255,0,0,.55) 60%,transparent);
    color:#fff; font-size:17px; padding-left:26px; padding-right:86px; z-index:20;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#banner .txt a{
    color:#fff; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* 轮播圆点（自定义，放右下） */
.hero-dots{
    position:absolute; right:26px; bottom:16px; z-index:30; display:flex; gap:8px;
}
.hero-dots i{
    width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.55);
    cursor:pointer; display:block; transition:.2s;
}
.hero-dots i.on{ background:var(--c-main); box-shadow:0 0 0 3px rgba(255,255,255,.75); }

/* 2026-11-28 按用户要求恢复：内页（列表页/详情页）顶部同样显示「切换大图」。
   原设计是内页把 #banner 与圆点 display:none、外层压到 286 高，只留白底叠加层省一屏；
   现连高度覆盖一并去掉，内页直接沿用与首页相同的高度（PC 340 / 手机 250 / 小屏 215），
   叠加层（logo/站名/搜索）位置不变，图片与首页同一套裁切比例。 */

/* ---------- 7. 快捷入口条（扁平按钮：红底白图标白字，和导航连成一片红） ---------- */
.quick-entry{
    background:#ff0000;
    background:-webkit-linear-gradient(180deg, #ff1818 0%, #ff0000 55%, #ed0000 100%);
    background:linear-gradient(180deg, #ff1818 0%, #ff0000 55%, #ed0000 100%);
    border-bottom:1px solid #c40000;
    box-shadow:0 3px 10px rgba(150,0,0,.22);
    position:relative; z-index:10;
}
.quick-entry .w1200{ display:flex; }
.qe-item{
    flex:1 1 0; text-align:center; padding:15px 6px 14px;
    border-right:1px solid rgba(255,255,255,.22); position:relative; transition:.2s;
}
.qe-item:last-child{ border-right:0; }
.qe-item:hover{ background:rgba(0,0,0,.15); }
.qe-item .qe-ico{ display:block; margin:0 auto 6px; width:40px; height:40px; }
/* 图标本身是内联 SVG（stroke 写成 #ff0000），红底上要反白——CSS 覆盖 presentation 属性即可 */
.qe-item .qe-ico path,
.qe-item .qe-ico circle{ stroke:#fff; }
.qe-item .qe-t1{ display:block; font-size:15px; font-weight:700; color:#fff; }
.qe-item .qe-t2{ display:block; font-size:12px; color:rgba(255,255,255,.78); margin-top:2px; }
.qe-item:hover .qe-t1{ color:#fff; }

/* ---------- 8. 主体 ---------- */
#main{ width:var(--w); max-width:100%; margin:0 auto; padding:22px 0 10px; overflow:hidden; zoom:1; }

/* 8.1 通用模块外壳（白卡 + 红线标题，政务风核心） */
.m-mod{ background:#fff; border:1px solid var(--c-line); margin-bottom:20px; overflow:hidden; }
/* 栏目标题栏：红底白字（横向从深红推到亮红的渐变，避免死板的大红块） */
.m-mod-hd{
    height:50px; line-height:50px; padding:0 16px; position:relative;
    border-bottom:1px solid #b30000;
    display:flex; align-items:center; justify-content:space-between;
    background:-webkit-linear-gradient(90deg, #d60000 0%, #ff0000 46%, #ff2e2e 100%);
    background:linear-gradient(90deg, #d60000 0%, #ff0000 46%, #ff2e2e 100%);
    color:#fff;
}
.m-mod-hd:after{   /* 红底上的一道白色短绒线，保留原来“标题下有短线”的骨架 */
    content:""; position:absolute; left:16px; bottom:0; width:56px; height:2px;
    background:#fff; opacity:.62;
}
.m-mod-hd h2{
    font-size:18px; font-weight:700; color:#fff; padding-left:14px; position:relative;
    letter-spacing:1px;
}
.m-mod-hd h2:before{   /* 左侧白色竖条 */
    content:""; position:absolute; left:0; top:50%; margin-top:-9px;
    width:4px; height:18px; background:#fff; border-radius:2px; opacity:.92;
}
.m-more{ font-size:13px; color:rgba(255,255,255,.85); }
.m-more a{ color:rgba(255,255,255,.85); }
.m-more a:hover{ color:#fff; }
.m-mod-bd{ padding:16px; }

/* 8.2 顶部头条区：左大图 + 右公告 */
.headline{ display:flex; gap:20px; margin-bottom:20px; align-items:stretch; }
.headline-left{ flex:1 1 62%; min-width:0; display:flex; }
.headline-right{ flex:0 0 36%; display:flex; flex-direction:column; }
/* 头条大图：高度跟随右侧「党建动态」自动拉伸，两边始终齐平（原来固定 270px 会偏矮）
   2026-11-28 按需求加边框：与右侧 .m-mod 卡同一规格（1px solid #e4e5e7 直角），
   全局是 border-box，所以加这一圈不会改变外尺寸、与右列的高度对齐不受影响 */
.hl-pic{ position:relative; display:block; overflow:hidden; flex:1 1 auto; min-height:270px; background:#000; border:1px solid var(--c-line); }
.hl-pic img{ position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; display:block; transition:.4s; }
.hl-pic:hover img{ transform:scale(1.04); }
.hl-mask{
    position:absolute; left:0; right:0; bottom:0; padding:14px 18px 16px;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.78));
    color:#fff;
}
/* 大图上的头条标题：最多两行，多出的用省略号 ——
   原来不设上限，手机上 375 宽的长标题会折到三四行，把图盖掉一半 */
.hl-mask .hl-t{
    font-size:19px; font-weight:700; line-height:1.4; color:#fff;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
    overflow:hidden;
}
.hl-mask .hl-d{ font-size:12px; color:#ddd; margin-top:4px; display:block; }
/* 公告列表（日期块 + 标题） */
.notice-list li{
    height:44px; line-height:44px; border-bottom:1px dashed var(--c-line);
    padding-left:14px; position:relative; overflow:hidden;
}
.notice-list li:before{
    content:""; position:absolute; left:0; top:19px; width:5px; height:5px;
    background:var(--c-main); border-radius:50%;
}
.notice-list li a{
    display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    font-size:15px; padding-right:76px;
}
.notice-list li .nt-date{
    position:absolute; right:0; top:0; font-size:12px; color:#999;
}

/* 8.3 双栏 8:4
   用 grid 而不是 flex：grid 的行高天然等高（align-items:stretch 更可靠），
   右栏做成内部 flex 列、最后一张卡片 flex:1 撑满，右侧卡片底边永远和左侧列表底边齐平。 */
.col2{ display:grid; grid-template-columns:1fr 360px; gap:20px; margin-bottom:20px; align-items:stretch; }
/* 左右两列的最后一张卡都撑到同一个底边（col2 的底），这样两列的“下边距”完全一致。
   原来左侧 .m-mod 是内容高度 + margin-bottom:20，右列末卡是 flex:1 撑到底，
   结果右卡底边比左卡底边高 17~37px，看起来就是“右边比左边高一点”。 */
.col-main{ min-width:0; display:flex; flex-direction:column; }
.col-main > .m-mod{ flex:1 1 auto; margin-bottom:0; }
.col-main > .m-mod + .m-mod{ margin-top:20px; }
.col-side{ display:flex; flex-direction:column; }
.col-side > .m-mod{ flex:0 0 auto; }
.col-side > .m-mod:last-child{ flex:1 1 auto; margin-bottom:0; }

/* 卡底对齐了还不算完：卡内部“最后一行内容”到卡底的距离也要一样，
   否则会出现左列新闻下面一大片空白、右列联系方式文字几乎贴底的情况。
   做法：让 .col2 里每张卡的正文区撑满卡片高度，列表用 space-between 把多余空间平均分配到条目之间
   （只分配空隙，不压缩条目本身，所以带缩略图的新闻行不会被压扁）。 */
.col2 .m-mod{ display:flex; flex-direction:column; }
.col2 .m-mod .m-mod-bd{ flex:1 1 auto; display:flex; flex-direction:column; }
.col2 .m-mod .m-mod-bd > ul{ flex:1 1 auto; display:flex; flex-direction:column; justify-content:space-between; }
/* 联系方式卡的文字块：下内边距压到 8px，末行与左侧新闻末条同高 */
.ct-bd{ padding-bottom:8px !important; }

/* 8.4 新闻列表（带日期徽标） */
.news-list li{
    display:flex; align-items:flex-start; gap:12px; padding:13px 0;
    border-bottom:1px dashed var(--c-line);
}
.news-list li:last-child{ border-bottom:0; }
.news-list .nl-date{
    flex:0 0 54px; text-align:center; line-height:1.15; padding:4px 0 5px;
    background:var(--c-main-l); border:1px solid #ffd9d9; color:var(--c-main);
}
.news-list .nl-date b{ display:block; font-size:18px; font-weight:700; }
.news-list .nl-date span{ display:block; font-size:11px; color:#b36666; }
.news-list .nl-txt{ flex:1 1 auto; min-width:0; }
.news-list .nl-txt a{
    display:block; font-size:15px; line-height:1.6;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.news-list .nl-txt p{
    font-size:13px; color:#999; line-height:1.6; margin-top:2px;
    display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}
/* 带缩略图的行 */
.news-list .nl-thumb{ flex:0 0 118px; height:80px; overflow:hidden; }
.news-list .nl-thumb img{ width:118px; height:80px; object-fit:cover; display:block; }

/* 8.5 图文卡片网格（栏目配图 / 服务矩阵） */
.card-grid{ display:flex; flex-wrap:wrap; gap:16px; }
.card-item{
    flex:1 1 calc(25% - 16px); min-width:0; background:#fff; border:1px solid var(--c-line);
    overflow:hidden; transition:.25s; display:block;
}
.card-item:hover{ border-color:var(--c-main); box-shadow:0 6px 18px rgba(204,0,0,.12); transform:translateY(-2px); }
.card-item .ci-pic{ height:150px; overflow:hidden; background:#f0f0f0; }
.card-item .ci-pic img{ width:100%; height:150px; object-fit:cover; display:block; transition:.4s; }
.card-item:hover .ci-pic img{ transform:scale(1.05); }
.card-item .ci-t{ padding:12px 12px 6px; font-size:15px; font-weight:700; color:#222; }
.card-item .ci-d{ padding:0 12px 14px; font-size:12px; color:#999; line-height:1.6; }

/* 8.6 服务图标矩阵（扁平 SVG 图标，2×2 / 3×2） */
.service-grid{ display:flex; flex-wrap:wrap; }
.service-grid .sv-item{
    flex:1 1 33.33%; min-width:0; text-align:center; padding:24px 8px;
    border-right:1px solid var(--c-line); border-bottom:1px solid var(--c-line);
    transition:.2s;
}
.service-grid .sv-item:hover{ background:var(--c-main-l); }
.service-grid .sv-ico{ width:52px; height:52px; margin:0 auto 10px; display:block; }
.service-grid .sv-t{ font-size:15px; font-weight:700; color:#222; display:block; }
.service-grid .sv-d{ font-size:12px; color:#999; display:block; margin-top:3px; }

/* 8.7 侧栏：关于我们 */
/* 2026-11-28 这张插图改为自动跟随「关于我们」正文的首图（模板里用 [about:pic]），
   图片比例可能随后台换图而变化；这里用原 800:520 的固定比例 + cover 裁切把卡片高度锁死，
   避免换一张竖图就把右栏撑高、与左侧新闻列表错位。IE11 不支持 aspect-ratio 时退回 height:auto。 */
.about-box .ab-logo{ width:100%; height:auto; aspect-ratio:800 / 520; object-fit:cover; display:block; border-bottom:1px solid var(--c-line); }
@supports not (aspect-ratio: 1 / 1){ .about-box .ab-logo{ aspect-ratio:auto; } }
.about-box .ab-txt{ padding:14px 16px; font-size:14px; line-height:1.9; color:#444; }
.about-box .ab-btn{
    display:block; margin:0 16px 16px; height:38px; line-height:38px; text-align:center;
    background:var(--c-main); color:#fff; font-size:14px; border-radius:4px;
}
.about-box .ab-btn:hover{ background:var(--c-main-d); color:#fff; }

/* 8.8 视频小格 */
.video-grid{ display:flex; flex-wrap:wrap; gap:16px; }
.video-grid .vg-item{ flex:1 1 calc(25% - 16px); min-width:0; position:relative; overflow:hidden; }
.video-grid .vg-pic{ height:140px; overflow:hidden; background:#000; position:relative; }
.video-grid .vg-pic img{ width:100%; height:140px; object-fit:cover; display:block; opacity:.92; }
.video-grid .vg-item:hover .vg-pic img{ opacity:1; }
.video-grid .vg-play{
    position:absolute; left:50%; top:50%; margin:-19px 0 0 -19px; width:38px; height:38px;
    border-radius:50%; background:rgba(255,0,0,.82); z-index:5;
}
.video-grid .vg-play:after{
    content:""; position:absolute; left:14px; top:11px;
    border-left:13px solid #fff; border-top:8px solid transparent; border-bottom:8px solid transparent;
}
.video-grid .vg-t{ padding:10px 2px 0; font-size:14px; line-height:1.5; }

/* ---------- 9. 页脚 ---------- */
.foot-link{
    background:#fff; border-top:1px solid var(--c-line); padding:14px 0; font-size:13px; color:#888;
}
.foot-link a{ color:#777; margin-right:16px; }
.foot-link a:hover{ color:var(--c-main); }
/* 页脚：原为 #2b2b2b 深灰黑，按“全站红彤彤”改为深红渐变底 + 白字
   —— 不用导航那种亮红（#ff0000 太跳，会让最底部抢视线），用 d40000→a80000 的深一档红，
      与导航的亮红形成“上亮下沉”的层次，同时保证 13px 小字的可读性。 */
#foot{
    background:linear-gradient(180deg,#d40000 0%,#b80000 55%,#a00000 100%);
    color:#ffe6e6; padding:26px 0 22px;
    font-size:13px; line-height:2; text-align:center;
    border-top:2px solid rgba(255,255,255,.28);
}
#foot a{ color:#ffe6e6; text-decoration:underline; text-decoration-color:rgba(255,255,255,.35); }
#foot a:hover{ color:#fff; text-decoration-color:#fff; }
#foot .foot-name{ font-size:16px; color:#fff; font-weight:700; margin-bottom:6px; letter-spacing:1px; }
#foot .foot-line{ color:#ffdede; }
/* 手机窄屏下，地址/电话/邮箱三块各自整块换行，不带半个字拆开（配合 foot.html 里的 <span>） */
#foot .foot-line span{ white-space:nowrap; }
#foot .foot-line .sep{ color:rgba(255,255,255,.45); }
/* ≤768：地址/电话/邮箱各占一行，分隔符隐藏（否则竖线会孤零零留在行尾） */
@media screen and (max-width:768px){
    #foot .foot-line > span{ display:block; }
    #foot .foot-line .sep{ display:none; }
}
/* ≤400（iPhone SE 320 一类）：地址整句 24 字 nowrap 会顶出右边界。
   只在最后一档允许折行，374 以上仍然是整块一行。 */
@media screen and (max-width:400px){
    #foot .foot-line span{ white-space:normal; overflow-wrap:anywhere; }
}

/* ---------- 10. 内页通用（沿用原模板类名，只改观感） ---------- */
/* 10.1 列表页框架：左内容 + 右栏 */
.ej_ctr{
    float:left; width:74%; max-width:100%; background:#fff;
    border:1px solid var(--c-line); padding:0 0 18px; overflow:hidden;
}
.ej_ctt{
    width:auto; min-height:400px; height:auto !important;
    padding:16px 22px; overflow:visible;
}
.ej_rctr{
    float:right; width:24%; max-width:100%; background:#fff;
    border:1px solid var(--c-line); padding:0 0 10px; overflow:hidden;
}
/* 右栏列表：无子栏目时不留大片空白（原模板 min-height:80 会撑出空档） */
.ej_rctt{ width:auto; min-height:0; height:auto !important; padding:6px 10px 10px; }
.ej_t2{
    height:50px; line-height:50px; padding:0 18px; text-align:left;
    color:#1a1a1a; font-size:18px; font-weight:700;
    border-bottom:1px solid var(--c-line); background:#fff; position:relative;
}
.ej_t2:after{
    content:""; position:absolute; left:18px; bottom:-1px; width:56px; height:2px; background:var(--c-main);
}
.ej_t2 a{ color:#1a1a1a; }
/* 右侧栏目导航 */
.ej_rnav1,.ej_rnav2{
    float:none; display:block; margin:0; line-height:44px; font-size:15px;
    border-bottom:1px dashed var(--c-line);
}
.ej_rnav1 a,.ej_rnav2 a{
    display:block; width:auto; height:44px; padding-left:14px;
    background:none; color:#333;
}
.ej_rnav1 a:hover,.ej_rnav2 a,.ej_rnav2 a:hover{
    background:var(--c-main-l); color:var(--c-main);
}

/* 10.2 面包屑 */
.read_ctr{
    margin:0 auto 12px; width:100%; height:40px; line-height:40px;
    border:0; border-bottom:1px solid var(--c-line); background:transparent;
    font-size:13px; color:#888;
}
.read_ctr a{ color:#888; }
.read_ctr a:hover{ color:var(--c-main); }
.read_ctr span{ color:var(--c-main); }

/* 10.3 新闻列表 / 详情 */
.newslist_ctr{
    width:100%; height:auto; min-height:46px; line-height:1.6; padding:14px 0;
    border-bottom:1px dashed var(--c-line); font-size:15px;
    display:flex; align-items:center;
}
/* 列表行：标题 + 点击数。
   原来 .newslist_title 是 block + white-space:nowrap + overflow:hidden，
   窄屏（360/375/414）下“标题 + 【点击数】”总宽超容器，尾部被裁成半个字符。
   改成 flex：标题可收缩并显示省略号，点击数整块完整保留。 */
.newslist_title{
    float:none; flex:1 1 auto; min-width:0; padding-right:16px; overflow:hidden;
    display:flex; align-items:baseline; gap:6px;
}
.newslist_title a{
    flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.newslist_title span{ flex:0 0 auto; white-space:nowrap; font-size:12px; color:#aaa; }
.newslist_title a:hover{ color:var(--c-main); }
.newslist_date{ float:none; flex:0 0 92px; text-align:right; color:#999; font-size:13px; }

.newsshow_title{
    width:100%; height:auto; padding:6px 0 12px; font-size:24px; font-weight:700;
    text-align:center; line-height:1.45; color:#1a1a1a;
}
/* 发布信息行：原来用 &emsp; 连成一句话，手机窄屏会在“发布时/间:”中间硬断。
   改成 flex 换行 + 每个信息块 nowrap，手机上整齐分成两行而不是把字拆开。 */
.newsshow_sm{
    width:100%; height:auto; padding:0 0 12px; line-height:1.8; text-align:center;
    border-bottom:1px solid var(--c-line); color:#999; font-size:13px;
    display:flex; flex-wrap:wrap; justify-content:center;
    column-gap:18px; row-gap:2px;
}
.newsshow_sm span{ white-space:nowrap; }
.newsshow_ctt{
    width:100%; height:auto; padding:18px 0; line-height:2; font-size:16px; text-indent:2em;
    color:#333;
}
.newsshow_ctt img{ display:block; margin:14px auto; width:auto; max-width:100%; height:auto; }
.newsshow_ctt span a{ border-bottom:1px dashed var(--c-main); }
.newsshow_xg,.newsshow_fx{
    width:100%; height:auto; padding:12px 0 0; line-height:1.9; font-size:14px; color:#666;
    border-top:1px dashed var(--c-line); margin-top:10px;
}
.newsshow_fx{ text-align:right; border:0; float:none; }
.newsshow_xg a{ color:var(--c-main-d); }
.slidectr{ width:100%; height:auto; }

/* 10.4 产品 / 图库 */
.product_ctr{
    width:23%; max-width:100%; height:auto; margin:0 1% 18px;
    float:left; display:block; position:relative; background:#fff;
    border:1px solid var(--c-line); padding-bottom:8px; transition:.2s;
}
.product_ctr:hover{ border-color:var(--c-main); box-shadow:0 6px 16px rgba(204,0,0,.1); }
.product_ctt{ width:auto; height:150px; border:0; padding:0; overflow:hidden; }
.product_ctt img{ width:100%; height:150px; object-fit:cover; display:block; }
.product_title{ width:auto; height:34px; line-height:34px; text-align:center; font-size:14px; padding:0 6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.video_btn{ top:62px; right:10px; }

.photo_ctr{
    width:23%; max-width:100%; height:auto; margin:0 1% 18px; float:left; display:block;
    position:relative; background:#fff; border:1px solid var(--c-line); padding-bottom:8px;
}
.photo_ctt{ width:auto; height:130px; border:0; padding:0; overflow:hidden; }
.photo_ctt img{ width:100%; height:130px; object-fit:cover; display:block; }
.photo_title{ width:auto; height:32px; line-height:32px; text-align:center; font-size:14px; }

.productshow_picctr{ float:left; width:38%; max-width:100%; height:auto; margin:0 20px 12px 0; border:1px solid var(--c-line); padding:6px; }
.productshow_picctr img{ width:100%; height:auto; display:block; }
.productshow_titlectr{ float:left; width:58%; max-width:100%; height:auto; }
.productshow_title{ float:none; width:100%; height:auto; padding:6px 0 12px; font-size:20px; font-weight:700; border-bottom:1px dashed var(--c-line); }
.productshow_id,.productshow_order{ float:none; width:100%; height:auto; line-height:2.2; color:#555; }
.productshow_order{ padding-top:8px; }

/* 10.5 信息页（about / 单一栏目） */
.info_title{ width:100%; height:auto; border-bottom:2px solid var(--c-main); margin-bottom:14px; }
.info_tcell{ display:inline-block; height:40px; line-height:40px; padding:0 20px; background:var(--c-main); color:#fff; font-size:16px; font-weight:700; }
.info_ctt{ width:100%; min-height:200px; height:auto !important; padding:6px 0; line-height:2; font-size:15px; }
.info_ctt a{ border-bottom:1px dashed var(--c-main); }
.info_ctt img{ max-width:100%; height:auto; }

/* 10.6 视频详情 */
.videoshow_ctr{ width:100%; height:auto; margin:12px 0; border:1px solid var(--c-line); padding:6px; background:#000; }

/* 10.7 招聘 */
.jobshow_cell{ float:left; width:35%; height:auto; min-height:34px; line-height:1.8; padding:6px 0; }
.jobshow_yp{ float:none; width:100%; height:auto; border-top:1px dashed var(--c-line); padding:10px 0; }

/* 10.8 下载 */
.downlist_ctr{ width:100%; height:42px; line-height:42px; border-bottom:1px solid var(--c-line); background:var(--c-main-l); font-weight:700; color:#7a0000; padding:0 10px; }
.downlist_ctt{ width:100%; height:auto; min-height:44px; line-height:1.7; padding:12px 0; border-bottom:1px dashed var(--c-line); font-size:15px; display:flex; align-items:center; }
.downshow_pic{ float:left; width:28%; max-width:100%; height:auto; margin:0 18px 12px 0; border:1px solid var(--c-line); padding:4px; }
.downshow_pic img{ width:100%; height:auto; display:block; }
.downshow_title{ float:left; width:66%; height:auto; line-height:1.6; font-size:18px; font-weight:700; padding:4px 0 10px; }
.downshow_txt{ float:left; width:66%; height:auto; line-height:1.9; color:#555; }
.downshow_fg{ float:none; width:100%; height:auto; padding:14px 0 6px; font-weight:700; border-bottom:1px dashed var(--c-line); }
.downshow_jsctt{ float:none; width:100%; min-height:100px; height:auto !important; padding:8px 0; line-height:1.9; font-size:15px; }
.downshow_jsctt a{ border-bottom:1px dashed var(--c-main); }
.downshow_dz{ float:none; width:100%; height:auto; padding:8px 0 0 20px; background:url(../images/ico_zlxz.gif) 0 12px no-repeat; }

/* 10.9 留言板 */
.guest_ctr{ float:none; width:100%; height:auto; margin:0 0 14px; padding-bottom:12px; border-bottom:1px dashed var(--c-line); position:relative; }
.guest_left{ float:left; width:54px; margin-right:16px; }
.guest_pic{ width:54px; height:54px; border-radius:50%; display:block; }
.guest_right{ float:left; width:calc(100% - 70px); height:auto; min-height:54px; border:1px solid var(--c-line); background:#fafafa; padding:10px 14px; }
.guest_rt1{ float:none; width:100%; height:auto; padding-bottom:8px; border-bottom:1px dashed var(--c-line); }
.guest_rt11{ float:left; width:50%; font-weight:700; color:#333; }
.guest_rt12{ float:left; width:50%; text-align:right; color:#aaa; font-size:12px; }
.guest_rctr{ float:none; width:100%; height:auto; padding:8px 0 0; line-height:1.8; }
.guest_fg{ display:none; }

.fguest_ctr{ float:none; width:100%; height:auto; padding:24px; border:1px solid var(--c-line); background:#fff; color:var(--c-text); }
.fguest_title{ float:none; width:100%; height:auto; padding-bottom:10px; margin-bottom:14px; border-bottom:1px solid var(--c-line); font-size:16px; font-weight:700; }

.input_textarea,.input_text{ border:1px solid #d8d8d8; border-radius:4px; padding:6px 10px; font-size:14px; font-family:inherit; color:#333; outline:none; }
.input_textarea:focus,.input_text:focus{ border-color:var(--c-main); }
.input_text{ height:40px; line-height:40px; width:220px; }
.input_textarea{ padding:8px 10px; }
.input_btn{ float:none; display:inline-block; border:0; height:40px; line-height:40px; width:110px;
    background:var(--c-main); color:#fff; cursor:pointer; border-radius:4px; font-size:14px; text-align:center; }
.input_btn:hover{ background:var(--c-main-d); }

/* 10.10 评论 */
.pl_ctr{ float:none; width:100%; height:auto; margin-top:16px; border:1px solid var(--c-line); background:#fff; }
.pl_title{ float:none; width:100%; height:auto; padding:12px 16px; border-bottom:1px solid var(--c-line); background:var(--c-main-l); font-weight:700; }
.pl_ctt{ float:none; width:100%; min-height:50px; height:auto !important; padding:12px 16px; border-bottom:1px dashed var(--c-line); text-align:left; }
.pl_titlectr{ width:100%; height:auto; }
.pl_titleleft{ float:left; width:70%; font-weight:700; }
.pl_titleright{ float:left; width:30%; text-align:right; color:#aaa; font-size:12px; }
.pl_cell{ width:100%; height:auto; }

/* 10.11 产品图放大 */
#preview{ float:none; margin:0 auto; width:300px; max-width:100%; }
.jqzoom{ width:100%; max-width:300px; height:auto; position:relative; }
.list-h li{ float:left; }
#spec-n5{ width:100%; max-width:300px; height:auto; padding-top:8px; overflow:hidden; }
#spec-left{ background:url(../images/left.gif) no-repeat; width:10px; height:45px; float:left; cursor:pointer; margin-top:5px; }
#spec-right{ background:url(../images/right.gif) no-repeat; width:10px; height:45px; float:left; cursor:pointer; margin-top:5px; }
#spec-list{ width:calc(100% - 30px); float:left; overflow:hidden; position:relative; }
#spec-list ul li{ float:left; width:19%; margin-right:1%; }
#spec-list ul li img{ width:100%; height:auto; padding:2px; border:1px solid #ddd; }
.zoomdiv{ z-index:100; position:absolute; top:1px; left:0; width:400px; height:400px;
    background:#fff; border:1px solid #e4e4e4; display:none; text-align:center; overflow:hidden; }
.bigimg{ width:100%; height:auto; }
.jqZoomPup{ z-index:10; visibility:hidden; position:absolute; top:0; left:0; width:50px; height:50px;
    border:1px solid #aaa; background:#FEDE4F; opacity:.5; filter:alpha(Opacity=50); cursor:move; }

/* 10.12 投票 */
#vote_ctr{ float:none; width:100%; height:auto; line-height:1.9; }
#vote_ctr .vote_title{ float:none; width:100%; font-size:16px; font-weight:700; line-height:2; }
#vote_ctr input{ margin:4px 6px 0 0; float:none; display:inline-block; }
#vote_ctr .vote_btn{ float:none; display:inline-block; border:0; width:110px; height:40px; line-height:40px;
    background:var(--c-main); color:#fff; cursor:pointer; border-radius:4px; }
#vote_ctr .vote_jg0,#vote_ctr .vote_jg1,#vote_ctr .vote_jg2,#vote_ctr .vote_jg3,#vote_ctr .vote_jg4{
    float:none; width:100%; height:auto; min-height:22px; line-height:22px; background:#db2726; color:#fff;
    padding-left:8px; margin:4px 0;
}
#vote_ctr .vote_jg1{ background:#de9546; } #vote_ctr .vote_jg2{ background:#479dac; }
#vote_ctr .vote_jg3{ background:#7cb300; } #vote_ctr .vote_jg4{ background:#3c8142; }

/* 10.13 会员区 */
.u_picctr{ float:left; width:126px; height:auto; margin:0 10px 12px 0; }
.u_pic{ width:120px; height:120px; border:1px solid var(--c-line); padding:2px; display:block; }
.u_pictxt{ width:126px; height:24px; line-height:24px; text-align:center; font-size:13px; }
.u_picright{ float:left; width:calc(100% - 150px); height:auto; }

/* 10.14 分页 */
.pages{ clear:both; margin:18px 0 6px; text-align:center; font-size:14px; }
.pages .nolink,.pages a{ display:inline-block; margin:0 3px 6px; padding:5px 11px; border:1px solid #ddd; border-radius:3px; background:#fff; color:#555; }
.pages a:hover{ border-color:var(--c-main); background:var(--c-main); color:#fff; }

/* 滚动公告（原 m_ctt11 走马灯） */
.m_ctr1{ float:none; width:100%; height:auto; margin:0 0 14px; background:#fff; border:1px solid var(--c-line); display:flex; align-items:center; }
.m_ctt11{
    float:none; flex:1 1 auto; width:auto; height:44px; line-height:44px;
    background:url(../images/notice.gif) 14px center no-repeat; padding-left:42px;
    font-size:14px; overflow:hidden;
}
.m_ctt12{ display:none; }
.m_ctr5{ float:none; width:100%; height:auto; padding:14px 0; line-height:1.9; color:#888; font-size:13px; }

/* 10.15 内页栏目标题条（沿用原模板 .m_ctitle / .m_ct11~.m_ct51 旧类名）
   列表页 about / newslist / newsshow / productlist 等都用这套类名，
   红底白字，和首页各栏目标题栏完全一致。                              */
.m_ctitle{
    display:flex; align-items:center; justify-content:space-between;
    height:50px; padding:0 16px; position:relative; color:#fff;
    background:#ff0000;
    background:-webkit-linear-gradient(90deg,#d60000 0%,#ff0000 46%,#ff2e2e 100%);
    background:linear-gradient(90deg,#d60000 0%,#ff0000 46%,#ff2e2e 100%);
    border-bottom:1px solid #b30000;
}
.m_ctitle:after{   /* 红底上的白色短绒线 */
    content:""; position:absolute; left:16px; bottom:0; width:56px; height:2px;
    background:#fff; opacity:.62;
}
.m_ct11,.m_ct21,.m_ct31,.m_ct41,.m_ct51{
    padding-left:14px; font-size:18px; font-weight:700; color:#fff; position:relative;
    letter-spacing:1px; flex:0 0 auto;
}
.m_ct11:before,.m_ct21:before,.m_ct31:before,.m_ct41:before,.m_ct51:before{
    content:""; position:absolute; left:0; top:50%; margin-top:-9px; width:4px; height:18px;
    background:#fff; border-radius:2px; opacity:.92;
}

/* 内页“当前位置”面包屑：原模板把它写成 .ej_t2（白底黑字、50px 高、带下沿红线）。
   25 个内页模板里它全部位于 .m_ctitle 内部，所以这里直接改成“透明小字 + 白字右对齐” */
.m_ctitle .ej_t2{
    height:auto; line-height:1.5 !important; padding:0; margin:0;
    background:none; border:0; text-align:right;
    color:rgba(255,255,255,.88); font-size:13px; font-weight:400;
    flex:1 1 auto; min-width:0; overflow:hidden;
    white-space:nowrap; text-overflow:ellipsis;
}
.m_ctitle .ej_t2:after{ display:none; }              /* 去掉原来标题下那道红短横 */
.m_ctitle .ej_t2 a{ color:rgba(255,255,255,.88); }
.m_ctitle .ej_t2 a:hover{ color:#fff; }
/* 内页标题条右侧的“更多/数量”小字（原 .m_ct12） */
.m_ctitle .m_ct12{ font-size:13px; color:rgba(255,255,255,.85); }
.m_ctitle .m_ct12 a{ color:rgba(255,255,255,.85); }
.m_ctitle .m_ct12 a:hover{ color:#fff; }

/* 原首页 float 容器的兼容定义（复件 index.html 与个别老页面仍引用）
   ★ 内页（列表/详情）的外层结构是 .m_ctr > .m_ctr31 + .m_ctr32，
   里面再套一层 .ej_ctr(74%) / .ej_rctr(24%)。
   如果不把内层改成 100%，就会二次压缩成 74%×74% ≈ 55%、24%×24% ≈ 5.8%，
   右侧栏会窄成一条、列表文字错位——详情页右侧错位就是这个原因。 */
.m_ctr{ width:100%; margin:0 0 16px; overflow:hidden; }
.m_ctr21,.m_ctr22,.m_ctr23{ float:left; }
.m_ctr21{ width:23%; } .m_ctr22{ width:48%; margin:0 2%; } .m_ctr23{ width:23%; }
.m_ctr31{ float:left; width:74%; }
.m_ctr32{ float:right; width:24%; margin-left:2%; }
.m_ctr31 > .ej_ctr{ width:100%; float:none; }
.m_ctr32 > .ej_rctr{ width:100%; float:none; }
.m_ctr32 img{ display:block; max-width:100%; height:auto; margin:12px auto 0; }
/* 右栏底部三张入口图（r1/r2/r3.jpg）：原来 HTML 里写死 width="242"，
   比上方卡片窄 46px，看着右边缘一截一截不齐。改为跟随右栏宽度等比缩放。 */
.m_ctr32 > a{ display:block; margin:12px 0 0; }
.m_ctr32 > a img{ display:block; width:100%; height:auto; margin:0; }

/* 10.16 补漏兜底：原模板遗留的几处类名，避免个别内页出现裸样式 */
.hero-slider{ position:relative; overflow:hidden; }               /* 轮播容器（head.html 里 #banner 兼带的类） */
.bdsharebuttonbox{ margin:18px 0 0; padding-top:14px; border-top:1px dashed var(--c-line); min-height:12px; }
.bdsharebuttonbox a{ display:inline-block; margin-right:6px; color:#999; font-size:13px; }
.Wdate{ border:1px solid var(--c-line); height:32px; padding:0 8px; width:100%; font-size:14px; box-sizing:border-box; }

/* ---------- 11. 移动端导航按钮与抽屉 ---------- */
.m-toggle{
    display:none; width:44px; height:44px; position:absolute; right:14px; top:50%; margin-top:-22px;
    z-index:1001; cursor:pointer; border:0; background:transparent;
}
.m-toggle span{
    display:block; width:24px; height:2px; background:#fff; margin:5px auto;
    transition:.25s;
}
.m-drawer{
    display:none; position:fixed; left:0; top:0; bottom:0; width:78%; max-width:320px;
    background:#fff; z-index:9000; padding:16px 0; overflow-y:auto;
    box-shadow:4px 0 20px rgba(0,0,0,.2);
}
.m-drawer.on{ display:block; }
.m-drawer .md-hd{ padding:0 18px 14px; border-bottom:1px solid var(--c-line); font-size:18px; font-weight:700; color:var(--c-main); }
.m-drawer li{ border-bottom:1px dashed var(--c-line); }
.m-drawer li a{ display:block; padding:13px 18px; font-size:15px; color:#333; }
.m-drawer li a:active{ background:var(--c-main-l); }
.m-mask{ display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:8999; }
.m-mask.on{ display:block; }
/* 返回顶部 */
.back-top{
    display:none; position:fixed; right:16px; bottom:70px; width:44px; height:44px; line-height:44px;
    text-align:center; background:var(--c-main); color:#fff; border-radius:4px; z-index:800;
    font-size:12px; box-shadow:0 4px 14px rgba(204,0,0,.35); cursor:pointer;
}

/* ---------- 12. 响应式：1200 / 992 / 768 / 480 四档 ---------- */

/* 12.1 1200 以下：版心随屏收缩 */
@media screen and (max-width:1240px){
    .w1200,#main,.nav_ctt{ width:100%; padding-left:16px; padding-right:16px; }
    #main{ padding-left:16px; padding-right:16px; }
    .banner_ctr,#banner,#banner ul li,#banner ul li img{ height:320px !important; }
}

/* 12.2 平板 992 以下：双栏转单栏，导航字号收小 */
@media screen and (max-width:992px){
    .hd-title .h-name{ font-size:22px; }
    .hd-search{ max-width:480px; }
    /* 平板：大图上的站名/logo 适当缩小 */
    .ban-name{ font-size:30px; letter-spacing:6px; }
    .ban-mark img{ height:76px; width:auto; }
    .nav_cell a,.nav_cell1 a{ font-size:13px; padding:0 6px; }
    /* 手机/平板：双栏转单栏（grid 改一列；原来 flex-start 会按内容撑宽，新闻列表顶出屏幕） */
    .col2{ grid-template-columns:1fr; gap:16px; }
    /* 单列后左右两栏之间的 gap 会变成“多出来的一段空当”，这里压到 16，
       并让卡片间距也统一为 16，避免 20+20 叠成 40 看着空 */
    .m-mod{ margin-bottom:16px; }
    .col-main > .m-mod + .m-mod{ margin-top:16px; }
    .col-main > .m-mod, .col-side > .m-mod, .col-side > .m-mod:last-child{ flex:0 0 auto; }
    .headline{ margin-bottom:16px; gap:16px; }
    .col-main{ width:100%; min-width:0; }
    .col-side{ width:100%; }
    .headline{ flex-direction:column; }
    .headline-right{ flex:0 0 auto; }
    .card-item{ flex:1 1 calc(33.33% - 16px); }
    .video-grid .vg-item{ flex:1 1 calc(50% - 16px); }
    .service-grid .sv-item{ flex:1 1 33.33%; }
    /* 内页旧版 float 容器：一并改为整行，否则内层全宽也会被外层 74% 卡住 */
    .m_ctr21,.m_ctr22,.m_ctr23,.m_ctr31,.m_ctr32{ float:none; width:100%; margin:0 0 14px; }
    .ej_ctr,.ej_rctr{ float:none; width:100%; }
    .ej_rctr{ margin-top:16px; }
    .product_ctr,.photo_ctr{ width:31.3%; }
    .banner_ctr,#banner,#banner ul li,#banner ul li img{ height:280px !important; }
    .quick-entry .w1200{ flex-wrap:wrap; }
    .qe-item{ flex:1 1 50%; border-bottom:1px solid rgba(255,255,255,.22); }
}

/* 12.3 手机 768 以下：汉堡菜单 + 单列 + 放大点击区 */
@media screen and (max-width:768px){
    body{ font-size:15px; }
    /* 头部重排：左 logo+站名占整行，搜索换到第二行整宽，右侧电话隐藏 */
    .hd{ padding:12px 0; }
    .hd .w1200{ flex-wrap:wrap; gap:10px 12px; }
    /* 头部：logo+站名 居中一行，搜索居中第二行 */
    .hd{ padding:12px 0 10px; background-image:radial-gradient(ellipse 240px 70px at 50% 97%, #ffe0e0 0%, #fff4f4 50%, rgba(255,255,255,0) 100%), linear-gradient(180deg,#fffafa,#fff); }
    .hd-inner{ gap:10px; }
    .hd-brand{ gap:12px; }
    .hd-mark img{ width:54px; height:54px; }
    .hd-title .h-name{ font-size:18px; letter-spacing:0; }
    .hd-title .h-sub{ font-size:11px; }
    .ban-inner > *{ pointer-events:auto; }
    .ban-inner{ gap:8px; }
    .ban-mark img{ height:60px; width:auto; }
    .ban-name{ font-size:21px; letter-spacing:3px; pointer-events:none; }
    .ban-name .bn-i{ padding-left:3px; }
    .ban-sub{ display:none; }
    .hd-search{ width:100%; max-width:92%; }
    .hd-search .ss_input{ height:36px; font-size:13px; padding:0 12px; }
    .hd-search .ss_btn{ height:36px; flex:0 0 58px; font-size:13px; letter-spacing:1px; }
    .topbar{ display:none; }               /* 手机隐藏顶部工具条，节省首屏 */
    /* 导航：白底红字 + 汉堡 */
    .nav_ctr{ height:46px; }
    .nav-notch{ display:none; }            /* 手机上导航被汉堡菜单取代，中间的白色开口不需要 */
    .nav_ctt{ display:none; }
    .m-toggle{ display:block; }
    .nav_ctr:after{
        content:"网站导航"; position:absolute; left:16px; top:0; line-height:46px;
        color:#fff; font-size:16px; font-weight:700; letter-spacing:1px;
    }
    /* 轮播：手机端抬高到 250px，给叠加的 logo/站名/搜索留出空间 */
    .banner_ctr,#banner,#banner ul li,#banner ul li img{ height:250px !important; }
    #banner .txt{ height:38px; line-height:38px; font-size:14px; padding-left:14px; }
    .hero-dots{ right:12px; bottom:10px; }
    /* 快捷入口 2×2 */
    /* 2026-11-28 手机端压矮：5 个入口原来 3 行共约 297px，占掉近半屏，这里压缩内边距与图标 */
    .qe-item{ flex:1 1 50%; padding:9px 6px 8px; }
    .qe-item .qe-ico{ width:26px; height:26px; margin-bottom:4px; }
    .qe-item .qe-t1{ font-size:13px; line-height:1.25; }
    .qe-item .qe-t2{ display:none; }
    /* 头条图降高（单栏后不再需要与右栏等高，用 min-height 控制）
       ★ 必须给 width:100%：flex:0 0 auto 时宽度由内容决定，
         而图是 position:absolute，撑不开宽度 → 宽变 0，只剩一条 200px 的空白条 */
    /* 2026-11-28 手机端头条图改为按原图比例 3:2 自适应（原来固定 200px 高，551 宽下被裁成 2.52:1 的扁条） */
    .hl-pic{ min-height:0; height:auto; flex:0 0 auto; width:100%; aspect-ratio:3 / 2; }
    /* 老浏览器（IE11 等无 aspect-ratio）兜底给一个固定高度，避免绝对定位的图塌成 0 */
    @supports not (aspect-ratio: 1 / 1){ .hl-pic{ height:240px; } }
    .hl-mask .hl-t{ font-size:16px; }
    /* 模块标题 */
    .m-mod-hd{ height:44px; line-height:44px; padding:0 12px; }
    .m-mod-hd h2{ font-size:16px; }
    .m-mod-bd{ padding:12px; }
    /* 卡片单列/双列 */
    .card-item{ flex:1 1 calc(50% - 12px); }
    .card-item .ci-pic,.card-item .ci-pic img{ height:110px; }
    .video-grid .vg-item{ flex:1 1 calc(50% - 12px); }
    .service-grid .sv-item{ flex:1 1 50%; }
    /* 列表行触控高度 */
    .news-list li{ padding:12px 0; }
    .news-list .nl-thumb{ flex:0 0 96px; height:66px; }
    .news-list .nl-thumb img{ width:96px; height:66px; }
    .notice-list li{ height:auto; min-height:46px; line-height:1.6; padding:10px 0 10px 14px; }
    .notice-list li a{ padding-right:0; }
    .notice-list li .nt-date{ position:static; display:block; color:#aaa; font-size:12px; }
    /* 内页 */
    .ej_t2{ font-size:16px; height:44px; line-height:44px; }
    .newsshow_title{ font-size:19px; }
    .newsshow_ctt{ font-size:15px; line-height:1.85; }
    .newslist_ctr{ min-height:44px; padding:11px 0; font-size:14px; }
    .newslist_date{ flex:0 0 76px; font-size:12px; }
    .product_ctr,.photo_ctr{ width:48%; margin:0 1% 14px; }
    .product_ctt,.product_ctt img{ height:130px; }
    /* 按钮至少 44px 便于点按 */
    .input_btn,.about-box .ab-btn,#vote_ctr .vote_btn{ height:44px; line-height:44px; }
    .pages a,.pages .nolink{ padding:9px 13px; }
    #foot{ font-size:12px; padding:20px 16px; }   /* 左右 16px，与上方“友情链接”条(.w1200 padding 16)对齐；原来 12px 会差 4px */
    .back-top{ display:block; }
    /* 右侧栏在手机上排到内容下方 */
    .col-side{ margin-top:12px; }
    /* 手机端间距再压一档：卡片 12、头条区 12，避免“一块接一块的大空” */
    .m-mod{ margin-bottom:12px; }
    .col2{ gap:12px; margin-bottom:12px; }
    .col-main > .m-mod + .m-mod{ margin-top:12px; }
    .headline{ margin:12px 0 12px; gap:12px; }   /* 2026-11-28 上方 12px：与红色入口条拉开一点缝 */
    .m-mod-bd{ padding:12px 12px 14px; }
}

/* 12.4 小屏 480 以下：进一步压缩 */
@media screen and (max-width:480px){
    .hd-mark img{ width:44px; height:44px; }
    .hd-title .h-name{ font-size:15px; }
    .hd-title .h-sub{ display:none; }
    /* 小屏：大图上的站名/logo 再缩一档 */
    .ban-name{ font-size:17px; letter-spacing:2px; pointer-events:none; }
    .ban-name .bn-i{ padding-left:2px; }
    .ban-mark img{ height:48px; width:auto; }
    /* 2026-11-28 已随白色托底色块一并移除：原 .nav-notch 与 .ban-inner::before 的小屏覆盖规则 */
    .banner_ctr,#banner,#banner ul li,#banner ul li img{ height:215px !important; }
    .card-item{ flex:1 1 100%; }
    .card-item .ci-pic,.card-item .ci-pic img{ height:150px; }
    .video-grid .vg-item{ flex:1 1 100%; }
    .qe-item{ flex:1 1 50%; }
    .product_ctr,.photo_ctr{ width:100%; margin:0 0 14px; }
    .m-mod-hd h2{ font-size:15px; }
    .newsshow_title{ font-size:17px; }
}

/* ---------- 13. 小屏防溢出兜底（长文本 / 宽表格 / 大图）
   手机上一旦内容比屏幕宽，body 就会横向滚动、文字被迫折行错位。
   这里只在小屏生效，不改变 PC 版式。                                  */
@media screen and (max-width:768px){
    /* 栏目标题条：标题再长也不换行，超出用省略号，右侧“更多”永远有位 */
    .m-mod-hd h2{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    /* 正文/列表容器允许在任意字符处断行（只影响超长英文串或长数字） */
    .m-mod-bd, .ej_ctt, .newsshow_ctt, .newslist_ctr{ overflow-wrap:anywhere; word-break:break-word; }
    .news-list li a, .newslist_title a, .notice-list li a{ overflow-wrap:anywhere; }
    /* 老文章里写死的宽表格、带 width 属性的图：一律压进屏幕 */
    .newsshow_ctt table{ width:100% !important; table-layout:auto; }
    .newsshow_ctt table td, .newsshow_ctt table th{ word-break:break-word; }
    .newsshow_ctt img{ max-width:100% !important; height:auto !important; }
}

/* ---------- 14. 图片悬停分享条（百度分享动态注入 .sr-bdimgshare）显示不全 修复 ---------- */
/* 实测（1440 视口 / show-2-20-673）：浮层容器写死 height:36px + overflow:hidden，
   内部 .bdimgshare-content 实测 38px → 底部被裁；内容又右对齐贴图片右边缘（222px 宽、右端正好等于图片右端），
   窄窗口下只露出一半图标。这里放开裁切、内容在窄屏改成左对齐。 */
.sr-bdimgshare{
    height:auto !important; min-height:36px; overflow:visible !important;
    max-width:100% !important; z-index:99999 !important;
}
.sr-bdimgshare .bdimgshare-bg{ height:100% !important; }
.sr-bdimgshare .bdimgshare-content{
    height:36px !important; line-height:36px !important; max-width:100%;
}
.sr-bdimgshare .bdimgshare-lbl{ line-height:36px !important; }
.sr-bdimgshare .bdimgshare-content a{ vertical-align:middle; }
@media screen and (max-width:768px){
    .sr-bdimgshare .bdimgshare-content{ float:left !important; margin-left:4px !important; }
}

