/* 融宏实业官网 · 静态布局加固（R119）
 * 来源：data/i18n.js ensureStyle() 中的布局规则（原为运行时注入 CSSOM，
 * 导致首帧之后才生效 ⇒ 每次打开页面产生 756→1440px 的宽度跳变，CLS 0.15）。
 * 现将同一份规则抽为静态文件，由各页 <head> 引入，使首帧即按最终版式渲染。
 * 规则内容与 i18n.js 完全一致（i18n.js 侧保留原样，平台端共用不受影响）。
 */
.hero>.con.wrap,.hero .con.wrap{max-width:none!important;width:100%;padding-left:clamp(20px,3.4vw,64px)!important;padding-right:clamp(20px,3.4vw,64px)!important}
.page-hero>.wrap,.page-hero .wrap{max-width:none!important;width:100%;padding-left:clamp(20px,3.4vw,64px)!important;padding-right:clamp(20px,3.4vw,64px)!important}
.hero .cn,.hero>.con{max-width:none}
@media(min-width:1600px){.hero h1{max-width:min(900px,60vw)!important}.hero .sub{max-width:min(720px,50vw)!important}}
.hero .btns,.hero .datas{max-width:none}
.top>.wrap,.top .wrap,header.top .wrap{max-width:none!important;width:100%;padding-left:clamp(20px,3.4vw,64px)!important;padding-right:clamp(20px,3.4vw,64px)!important}
.top .wrap{flex-wrap:nowrap!important;row-gap:0}
.top .nav{flex:1 1 auto!important;min-width:0;flex-wrap:nowrap!important;justify-content:center;overflow:visible;gap:clamp(2px,0.5vw,6px)}
.top .ent,.top #rhLang{flex:0 0 auto!important}
@media(max-width:1180px){.top .wrap{flex-wrap:nowrap!important;row-gap:0;gap:8px}.top .nav{flex:1 1 auto!important;order:0;justify-content:center}.top .nav>a,.top .nav .rhn-item>.rhn-top{padding-left:5px!important;padding-right:5px!important}.top .nav a{font-size:12.5px!important;letter-spacing:-.2px}}
.top .wrap{flex-wrap:wrap;row-gap:6px}
.top .nav{flex-wrap:nowrap!important;justify-content:center;row-gap:0}
.top .nav>a,.top .nav .rhn-item{flex-shrink:1;min-width:0}
.top .nav a{padding-left:clamp(6px,1.1vw,20px)!important;padding-right:clamp(6px,1.1vw,20px)!important;font-size:clamp(12.5px,1.05vw,15.5px)!important}
.top{position:sticky}
.rhn-top,nav a,.rhn-sub a,button,.btn,a.btn{white-space:nowrap}
.rhn-item{flex-shrink:1;min-width:0}
.rhn-sub{min-width:180px}
#rhDrawer a{line-height:1.35}
th{white-space:nowrap}
.rh-nowrap{white-space:nowrap}
.rh-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rh-clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1180px){.rh-lang-btn{padding:6px 10px 6px 9px;font-size:12.5px}}
@media(max-width:1000px){.top .wrap{height:auto;min-height:60px;padding-top:8px;padding-bottom:8px}nav{gap:10px}.rhn-top{font-size:.94em}}
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:760px){.fg,.footer .fg,.footer-grid{grid-template-columns:1fr!important}.fg>*,.footer .fg>*{min-width:0;max-width:100%}.chips,.tabs,.cat-bar,.cats,.filter-bar{flex-wrap:wrap!important;gap:8px!important}.page-hero,.hero .con,.hero>.con.wrap,.page-hero>.wrap{padding-left:18px!important;padding-right:18px!important}img,table,pre{max-width:100%!important}.card,.prod,.item,.news-item,.sol-box{max-width:100%!important;min-width:0}h1,h2,h3,h4,p,span,a{overflow-wrap:anywhere}}
/* ===== R121 · 移动端触控目标尺寸（WCAG 2.2 SC 2.5.8 最小 24×24 CSS px）=====
   实测缺陷：面包屑链接 28×14、同类产品列表链接 70×15、新闻「阅读全文」268×20，
   均低于 24px 最低线 —— 手指命中率低、易误触相邻项（44 个页面受影响）。
   手法：纵向 padding 扩大命中区，配等量负 margin 抵消，视觉盒尺寸不变；
        列表内链接改为 display:block（占满整行、行高沿用 li 的 2.1，换行时行距不变），
        既让命中区达到整行高 28px，又避免 inline-block 把盒子撑到 40px 盖住下一行。
        已逐条实测文字坐标零位移（textY 与原版完全相同）。仅窄屏生效。 */
@media (max-width:1000px){
  .crumbs a{display:inline-block!important;padding:6px 2px!important;margin:-6px -2px!important}
  .pd-box li a{display:block!important}
  .nfeature .go{padding:6px 0!important;margin-top:16px!important;margin-bottom:-6px!important}
}

/* ===== R199 · 吸顶导航恢复 + 锚点定位 =====
   根因：html,body overflow-x:hidden 给 body 建滚动容器 ⇒ position:sticky 顶栏在滚动后完全滚出视口（rectTop=-scrollY）。
   补 clip（不创建滚动容器）恢复 sticky；老内核不支持 clip 时自动沿用上面的 hidden（无回归）。
   同时将锚点定位补偿统一到此：导航高 ~75px + 间距 9px = 84px，避免锚点跳转后被吸顶栏遮挡。
   ★必须 !important：各页内联 <style> 里另有 html,body{overflow-x:hidden}，同权重且在内联样式表中后出现会盖掉本文件。 */
html,body{overflow-x:clip!important}
html{scroll-padding-top:84px}

/* ===== R212 · 全站「减少动态效果」兜底（prefers-reduced-motion）
   实测缺陷（以「减少动态效果」偏好直连生产逐页实测）：
     ① 62 个内容页原本【无任何】reduced-motion 规则 ⇒ 悬停位移/缩放/淡入等过渡照常播放；
     ② index.html 的 8 个无限动画全部挂在【伪元素】(::after/::before) 上 ——
        CSS 的 * 选择器不匹配伪元素，故 R206 那条 *{animation:none!important} 对它们【完全无效】；
     ③ contact.html 的 .map .mrd 脉冲在 reduce 下仍以 2.6s 无限循环（transform 持续变化，
        该元素在自动化测量中始终处于「不稳定」状态）。
   修法（单点收敛到本文件，62 页共用）：
     ★用 animation-duration:0.01ms + animation-iteration-count:1 而【不是】animation:none ——
        index.html 有 6 处「基础 opacity:0 + animation ... forwards」的入场元素
        （.s-in>* 的 fadeUp 等），animation:none 会让它们停在 opacity:0 ⇒ 标题永久隐形。
        缩短时长并只播 1 次，动画瞬时抵达终态且 forwards 终态保留 ⇒ 内容照常可见。
     ★必须显式列出 ::before/::after/::marker 伪元素，否则伪元素动画漏网（R206 的教训）。
     ★!important：各页内联 <style> 同权重且在本文件之后出现会盖掉它。 */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after,*::marker{
    animation-duration:.01ms!important;
    animation-delay:0s!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    transition-delay:0s!important;
    scroll-behavior:auto!important;
  }
}

/* ===== R234 · 联系方式一键拨号 / 一键发信（tel: / mailto:）=====
   缺陷：全站 101 处「独立成行」的电话与邮箱是纯文本 —— 手机端点按无任何反应，
   访客必须手抄号码再拨（与老钱「手机端可用」硬要求冲突）。
   修法：整节点文本包成 <a class="tel-link|mail-link">，文案与词典键零改动；
   ★各页内联 .footer a{display:block;padding:5px 0} 会把行内链接变成块级 ⇒
   此处以更高特异性恢复 inline 并给常显下划线反馈；触控命中区沿用
   .footer .fd p 的行盒（13.5px × 2.1 ≈ 28px ≥ 24px，R121 判据）。 */
a.tel-link,a.mail-link{display:inline;color:inherit;text-decoration:underline;text-decoration-color:rgba(196,0,0,.25);text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
a.tel-link:hover,a.mail-link:hover{text-decoration-color:currentColor}
.footer a.tel-link,.footer a.mail-link{display:inline;font-size:inherit;padding:5px 2px;margin:0 -2px;color:rgba(255,255,255,.85);text-decoration-color:rgba(255,255,255,.3)}
.footer a.tel-link:hover,.footer a.mail-link:hover{color:#fff;padding-left:2px;text-decoration-color:#fff}
.cta .ph a.tel-link{display:inline-block;color:inherit;text-decoration:none;padding:5px 4px;margin:-5px -4px}

/* ===== R235 · 触控命中区收口（R234 宣称复核不成立后补齐）=====
   R234 注释称「命中区沿用父级行盒 ≈28px ≥ 24px」—— elementFromPoint 逐点实测不成立：
   浏览器只把 <a> 自身盒子算作可点区域，inline 盒实高 15px（CTA 大号 20px），
   父级行盒上下各 ~6px 点按无反应；94 处 footer 内链接更被上行 padding:0 缩回 15px。
   实测修前 17/17 抽样命中带仅 16~21px，全部低于 WCAG 2.5.8 的 24px 底线。
   修法沿用 R121 判据：inline 元素垂直 padding 只扩大命中区、不撑行盒（版式零变化）；
   水平 padding 用等量负 margin 抵消（不影响换行位置）。
   改后命中带 = 15+10 = 25px（CTA 20+10 = 30px），均 ≥ 24px。 */
a.tel-link,a.mail-link{padding:5px 2px;margin:0 -2px}

/* ===== R238 · 表格可访问名（caption 视觉隐藏 + 首列行表头样式）===== */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;clip-path:inset(50%)}
.ptab caption.sr-only{caption-side:top;text-align:left;font-size:12.5px;font-weight:700;color:var(--ink2);padding:0 0 7px;letter-spacing:.02em}
.pd .bd table caption.sr-only{caption-side:top;text-align:left;font-size:12.5px;font-weight:700;color:var(--ink2);padding:0 0 6px;letter-spacing:.02em}
/* 首列行表头：视觉与原 td 一致（零回退硬证据） */
.pd .bd table th.rn-th,.ptab th.rn-th{font-weight:inherit;text-align:left;background:transparent;color:inherit;border:inherit;padding:inherit;font-size:inherit}
