/* ============================================================
   ZCJ Industrial — 轻量视觉补丁层
   布局与配色由各页面专属 CSS + tokens/fonts/header-v2 主导
   （均为品牌蓝 #103488 设计体系）。本文件只做少量安全增强，
   不覆盖任何结构性 class，避免与旧 CSS 冲突导致错位。
   ============================================================ */

/* 1) 防止浮动栏 / 导航里的 SVG 图标失控撑大布局 */
svg { max-width: 100%; }
.float-bar svg, .fb-btn svg, .fb-panel svg { width: 20px; height: 20px; flex: none; }
.fb-p-tel svg { width: 15px; height: 15px; }
.nav-main svg, .header-middle svg, .topbar svg, .site-footer svg { width: 18px; height: 18px; flex: none; }

/* 2) 平滑滚动与更稳的交互反馈（不改动尺寸/布局） */
html { scroll-behavior: smooth; }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }

/* 3) 图片默认不溢出容器 */
img { max-width: 100%; height: auto; }

/* 4) hero 标题强调词用品牌蓝（原 CSS 写死黑色，弱化了品牌感） */
.home-hero .nn-hero-copy h1 em,
.home-hero .nn-hero-copy .nn-hero-title em { color: #103488 !important; font-style: normal; }

/* 5) 新圆形 logo 尺寸自适应，避免拉伸 */
.site-header .logo img,
.mobile-panel .m-head .logo img { height: auto; max-height: 52px; width: auto; }

/* 6) 咨询悬浮面板：二维码居中且清晰 */
.fb-panel img[alt="WeChat QR Code"] { width: 132px; height: 132px; object-fit: contain; margin: 6px auto 2px; display: block; image-rendering: auto; }

/* 7) 顶部品牌语居左显示（原 header-v2.css 用 left:50% 强制居中） */
@media (min-width:1025px){
  .site-header.site-header .topbar-left{
    left:40px !important;
    transform:translateY(-50%) !important;
  }
}

/* 8) 应用中心 Hero 副标题排版修复（new-energy-vehicles / hpc-ai-server /
   embodied-intelligence / carbon-fiber 等 23 个 sk-hero 页面）
   根因：shared-2a3dd86e.css 与 channel-embodied-intelligence-2.css 把
   h1 em span 设为 display:block + white-space:nowrap，使副标题继承 40px 大字
   且强制单行，溢出右侧图片并与主标题粘连。
   修复：副标题独立成行、缩小为描述性文字、允许换行；多指标用 · 分隔；隐藏竖线。 */
.sk-hero h1 em,
.cat-hero h1 em {
  display: block !important;
  font-style: normal !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  color: #3d5cb8 !important;
  margin-top: 10px !important;
  max-width: 100% !important;
}
.sk-hero h1 em span,
.cat-hero h1 em span {
  display: inline !important;
  white-space: normal !important;
  font-size: inherit !important;
}
.sk-hero h1 em span + span::before,
.cat-hero h1 em span + span::before {
  content: " · ";
  color: #8a97a3;
  margin: 0 2px;
}
.sk-hero h1 .ch-divider,
.cat-hero h1 .ch-divider {
  display: none !important;
}

/* 9) 新圆形 logo 显示高度：覆盖 404-12.css 的 max-height:34px !important，
   让放大后的 ZCJ / INDUSTRIAL 两行文字完整显示且不裁切 */
.site-header.site-header .logo img{
  height:46px !important;
  max-height:46px !important;
  width:auto !important;
}
