/* 全站横向溢出修复（2026-10-30）
 *
 * 作用范围：含 noray-faq / dt_test_area / bobo-indicator 的 24 个页面
 *   （12 个语言首页 + 12 个 pla/petg 类目页）。
 * 三处溢出都是模板自身的老问题，与导航栏改动无关：
 *
 * ① 客户评价 slick 轮播箭头外挂（仅首页）
 *    slick.min.css 默认 `.slick-next{right:-65px}` / `.slick-prev{left:-65px}`，
 *    轮播本体宽 1170（容器 1200 - 左右 15 内边距），1280 视口下
 *    箭头右缘 = 1225 + 65 = 1290 > 1280 → 页面出现 10px 横向滚动条。
 *    处理：箭头往里收 15px；.dt_test_area 加 overflow-x: clip 兜底
 *    （clip 不会像 hidden 那样破坏 sticky/fixed 后代，也不产生滚动容器）；
 *    ≤1200px 时容器几乎占满屏幕、外挂必然溢出，改成贴在轮播内部。
 *
 * ② 数据指标区（.bobo-indicator）数字撑破卡片（仅首页）
 *    `<h5><span class="counter">10000</span><span class="icon">m²</span></h5>`
 *    是 inline-flex（flex 不换行），≤768px 时 li 宽 calc(50%-20px)≈157px，
 *    而内容宽 191px → 右侧溢出（375 视口下页面横向滚动 23px）。
 *    注意 .counter 的字号来自 type/index.css 的
 *    `.counter{font-size:var(--nf-stat)!important}`（首页 --nf-stat:46px），
 *    权重比 h5 高，必须单独覆盖。
 *
 * ③ FAQ 答案里的长 URL 撑破列表（类目页 + 首页）
 *    答案里直接写了 https://www.noraymaterials.com/contact/ 这样的裸链接，
 *    长串不可断行 → min-content 宽度就是整条 URL → 320 视口下溢出 44px。
 *    处理：给答案加 overflow-wrap: anywhere。
 *
 * 两条都加了 body 前缀提特异性 —— 模板的 bobo_indicator / slick.min.css
 * 是在 <body> 里加载的（晚于 </head>），不加前缀会因同权重 + 后加载而失效。
 */

body .dt_test_area { overflow-x: clip; }
body .dt_test_area .slick-next { right: -50px; }
body .dt_test_area .slick-prev { left: -50px; }

@media screen and (max-width: 1200px) {
  body .dt_test_area .slick-next { right: 8px; }
  body .dt_test_area .slick-prev { left: 8px; }
}

@media screen and (max-width: 768px) {
  body .bobo-indicator ul li h5 { font-size: clamp(20px, 7vw, 30px) !important; }
  body .bobo-indicator ul li h5 .icon {
    font-size: clamp(12px, 4.2vw, 20px) !important;
    margin-left: 4px;
  }
  body .bobo-indicator ul li h5 .counter {
    font-size: clamp(20px, 6.4vw, 30px) !important;
  }
}

/* ③ FAQ 长链接 / 长英文串允许断行 */
body .noray-faq .faq-a p,
body .noray-faq .faq-a li,
body .noray-faq .faq-q {
  overflow-wrap: anywhere;
  word-break: break-word;
}

