/* 站点通用样式（原 header.php 内联样式） */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
    .lang-switch label { font-size: 13px; color: #6b7280; font-weight: 500; white-space: nowrap; }
    .lang-switch select {
      font-size: 13px; padding: 5px 10px; border: 1px solid #e5e7eb; border-radius: 6px;
      color: #374151; background: #fff; cursor: pointer; max-width: 130px; outline: none;
    }
    .lang-switch select:hover { border-color: #93c5fd; }
    /* ===== 一体化信息管理系统登录入口 ===== */
    .sys-entry {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 7px 12px; border: 1px solid #dbe3ee; border-radius: 8px;
      font-size: 13px; font-weight: 500; color: #334155; background: #fff;
      white-space: nowrap; text-decoration: none; line-height: 1;
      transition: border-color .18s, color .18s, background .18s;
    }
    .sys-entry:hover {
      border-color: #2563eb; color: #1d4ed8; background: #f5f9ff;
    }
    .sys-entry svg { width: 14px; height: 14px; flex: 0 0 auto; }
    .sys-entry.is-in { border-color: #bbf7d0; color: #15803d; background: #f2fdf6; }
    .sys-entry.is-in:hover { border-color: #22c55e; color: #15803d; background: #eafaf1; }
    /* 窄屏：跟随导航换行，保持完整可见（不右推，避开导航横向溢出） */
    @media (max-width: 900px) {
      .sys-entry { padding: 6px 10px; font-size: 12.5px; }
    }
    @media (max-width: 480px) {
      .sys-entry { padding: 6px 9px; font-size: 12px; }
    }
    body { top: 0 !important; }
    .goog-te-banner-frame.skiptranslate { display: none !important; }
    .skiptranslate iframe.skiptranslate { display: none !important; }
    #google_translate_element { display: none !important; }

    /* ===== 头部视觉升级：顶部信息条 + 加厚主栏 + 询价 CTA ===== */
    .topbar { background: #0b2a5b; color: #dbeafe; }
    .topbar-inner { display: flex; align-items: center; justify-content: flex-end; height: 40px; gap: 18px; }
    .topbar-tag { font-size: 12.5px; letter-spacing: .04em; color: #bfdbfe; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .topbar-links { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 12.5px; }
    .topbar-links a { color: #e0ecff; text-decoration: none; font-weight: 600; }
    .topbar-links a:hover { color: #fff; text-decoration: underline; }
    .topbar-sep { display: inline-block; width: 1px; height: 14px; background: rgba(255,255,255,.35); }

    .header { border-bottom: 3px solid #0b5ed7 !important; box-shadow: none !important; }
    .header-inner { min-height: 128px !important; }
    .header .logo, a.logo { max-width: min(680px, 52vw) !important; }
    .header .logo img, a.logo img { max-height: 108px !important; }

    .nav { gap: 34px !important; }
    .nav a:not(.sys-entry) { font-size: 18px !important; letter-spacing: .01em; color: #1e293b !important; }
    .nav a:not(.sys-entry):hover { color: #0b5ed7 !important; }

    @media (max-width: 1100px) {
      .nav { gap: 22px !important; }
      .nav a:not(.sys-entry) { font-size: 17px !important; }
    }
    @media (max-width: 900px) {
      .topbar { display: none; }
      .header-inner { min-height: 84px !important; }
      .nav { gap: 16px !important; }
      .nav a:not(.sys-entry) { font-size: 16px !important; }
    }
    @media (max-width: 560px) {
      /* 手机端：压缩导航与语言切换，避免整页被撑宽出现横向滚动 */
      .nav { gap: 10px 12px !important; }
      .nav a:not(.sys-entry) { font-size: 15px !important; }
      .lang-switch { margin-left: 2px; gap: 4px; }
      .lang-switch label { display: none; }
      .lang-switch select { max-width: 92px; font-size: 12px; padding: 4px 6px; }
      .sys-entry { font-size: 12px !important; padding: 5px 8px !important; }
      .header-inner { min-height: 0 !important; padding: 10px 0 !important; }
      .header .logo, a.logo { max-width: 62vw !important; }
      .header .logo img, a.logo img { max-height: 56px !important; }
    }
    @media (max-width: 560px) {
      /* 首页 hero 在手机端收敛字号，避免标题被裁切 */
      .hero h1 { font-size: 1.9rem !important; line-height: 1.25 !important; }
      .hero p { font-size: 14px !important; line-height: 1.6 !important; }
    }

    /* ===== 手机端：logo 紧凑 + 菜单全宽 ===== */
    @media (max-width: 860px) {
      .header-inner { min-height: 62px !important; }
      .header .logo, a.logo { max-width: 46vw !important; }
      .header .logo img, a.logo img { max-height: 40px !important; }
      .nav.m-open {
        left: -16px !important; right: -16px !important;
        padding: 8px 22px 18px !important;
        box-shadow: 0 18px 34px rgba(15,23,42,.16) !important;
      }
      .nav.m-open .sys-entry {
        align-self: stretch !important; justify-content: center;
        margin-top: 12px !important; padding: 11px 12px !important;
        font-size: 14px !important; border: 1px solid #dbe3ee !important;
        background: #f8fafc !important;
      }
      .nav.m-open .lang-switch { align-self: stretch; }
      .nav.m-open .lang-switch select { flex: 1 1 auto; max-width: none; }
    }

/* 视觉清理：内联覆盖，保证优先级 */
    .hero-search-row { box-shadow: none !important; }
    .hero-search-row button { box-shadow: none !important; }
    .cat-notice { border: 0 !important; background: #eef4ff !important; }
    .footer-bottom { border-top: 0 !important; }
    .news-card { border: 1px solid #e8eef6 !important; background: #fff !important; }
    .news-card-date, .news-grid time { color: #64748b !important; font-size: 13px !important; }
    .cas, .ps-cas, .feat-card .cas, .sg-cas, .ps-cas span { font-family: inherit !important; font-variant-numeric: tabular-nums; }
    .footer, .footer .container { padding-left: 16px; padding-right: 16px; }
    .product-card { border: 0 !important; box-shadow: none !important; }
    /* 小字下限 13px */
    .news-card-date, .hero-search-hint, .lang-switch label,
    .footer a, time, .meta { font-size: 13px !important; }
    .topbar-tag { font-size: 11.5px !important; letter-spacing: .035em !important; }
    .topbar-links, .topbar-links a { font-size: 12px !important; }
    .hero h1 { font-size: clamp(2rem, 3.6vw, 3.25rem) !important; line-height: 1.14 !important;
               letter-spacing: -.02em; max-width: 24ch; margin: 0 auto; }
    @media (max-width: 560px) {
      .hero h1 { font-size: 1.3rem !important; max-width: 26ch; }
      .hero p { font-size: 15px !important; }
    }
  
    @media (max-width: 900px) {
      .header-inner { padding-left: 16px !important; padding-right: 16px !important; }
      .nav { padding-left: 0 !important; padding-right: 0 !important; }
    }
    /* 小字下限：内联 11/12px 的元信息抬到 13px */
    [style*="font-size:12px"], [style*="font-size:11px"], [style*="font-size:12.5px"] { font-size: 13px !important; }

    /* 按钮不用 1px 描边，改色块分层 */
    /* hero 内的透明按钮（蓝底） */
    .hero .hero-btn-ghost {
      border: 0 !important;
      background: rgba(255,255,255,.14) !important;
      color: #fff !important;
    }
    .hero .hero-btn-ghost:hover { background: rgba(255,255,255,.24) !important; }
    /* 白底页面上的同类按钮：浅色底 + 深蓝字，避免白字白底看不见 */
    .btn.hero-btn-ghost {
      border: 0 !important;
      background: #eef2f7 !important;
      color: #0b3f8f !important;
      font-weight: 600;
    }
    .btn.hero-btn-ghost:hover { background: #e0e9f6 !important; }
    .sys-entry { border: 0 !important; background: #eef2f7 !important; }
    .lang-switch select { border: 0 !important; background: #eef2f7 !important; }
    @media (max-width: 900px) {
      .nav { padding: 0 12px !important; box-sizing: border-box; width: 100%; }
    }

    /* hero 段落与搜索框之间留白，避免文字压到输入框 */
    .hero p { margin-bottom: 22px !important; }
    .hero-search { margin-top: 6px; }
