@charset "utf-8";
/* ==============================================================
   p/cn-index.css · cn/view/index/index.html
   --------------------------------------------------------------
   来源：cn/view/index/index.html 里原有的 <style> 块，原样搬出（批次571 / 2026-11-23）
   引用：该模板里原 <style> 的位置，因此层叠顺序与迁移前一致
   说明：本文件只作用于上面这一个页面，不影响其它页
   提醒：规则基本没有 !important，优先级靠「写在后面」，调换顺序会盖掉别人
   ============================================================== */

.overview-intro {
  max-width: 960px;
  margin: 18px auto 28px;
  text-align: left;
}
.overview-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #4a515b;
}
.overview-intro p strong {
  color: #3d29a4;
  font-weight: 600;
}
.overview-intro + .owl-carousel,
.overview-intro + div.owl-carousel {
  margin-top: 0;
}
@media (max-width: 600px) {
  .overview-intro { margin: 14px auto 22px; }
  .overview-intro p { font-size: 16px; line-height: 1.75; }
}

/* 只作用于正文段落；容器本身不设字体，Read Full Text 链接保持原样（继承不被污染）。 */
.kp-apps .box-minimal-text p:not(.quote-boxed-small),
.kp-apps .box-minimal-text li:not(.quote-boxed-small) {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  font-weight: 300;
}

/* 批次一百一十五：没有封面图的稿件不再裂图，用品牌浅色块 + 栏目名占位。
   卡片模板在新闻列表页也有一份，两处规则保持一致。 */
.post-blog .post-blog-image.is-noimg { display:flex; align-items:center; justify-content:center; background:#f1eefb; }
.post-blog .post-blog-image.is-noimg::after { content:attr(data-ph); color:#8d86b8; font-size:14px; letter-spacing:.06em; }

.home-news-block { margin:26px 0 0; }
.home-news-list {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-auto-flow:row;
  column-gap:52px;
}
.hn-item {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  column-gap:10px;
  min-width:0;
  padding:11px 0;
  border-bottom:1px dashed #e8e7f0;
  text-decoration:none;
}
.hn-item:hover .hn-title { color:#3d29a4 !important; }
.hn-tag {
  display:inline-block;
  padding:4px 7px 5px;
  background:#3d29a4;
  color:#fff !important;
  font-size:12px;
  line-height:1;
  border-radius:15px 15px 0 15px;
  white-space:nowrap;
}
.hn-title {
  min-width:0;
  font-size:16px;
  line-height:1.6;
  color:#33363d !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hn-date { white-space:nowrap; font-size:13px; color:#6e7280; }
.hn-more { margin:12px 0 0; }
.hn-more a { font-size:16px; color:#3d29a4 !important; text-decoration:none; }
.hn-more a:hover { text-decoration:underline; }
@media (max-width:767px) {
  .home-news-list {
    grid-template-columns:minmax(0,1fr);
  }
  .hn-item { padding:10px 0; column-gap:8px; }
  .hn-title { font-size:14px; }
  .hn-tag { padding:3px 5px 4px; font-size:11px; }
  .hn-date { font-size:12px; }
}

  /* 批次四百一十五（P1115-geo-75 方案A / P1115-geo-76 中英同步）：首页「常见问题」+「技术指南」
     合并为一个 TAB 区块。改前两区块各自 160px / 120px 上内边距 + 各一组标题头，
     移动端合计 1,918px（中文）/ 2,016px（英文）；合并后省掉一整组标题与一份内边距，
     两栏又都从「网格 / 轮播」改为一屏一卡的横滑。

     为什么两栏都不用 owl：TAB 面板在 display:none 时宽度为 0，owl 每次切换都得 refresh，
     是这里最容易埋 bug 的地方。原生 scroll-snap 与面板显隐完全解耦，移动端是系统级惯性滑动。
     为什么标题用 JS 切文本而不塞两个 h3：双 h3 靠 grid 叠放要处理中英行盒差 4px，
     且无 JS 时会叠字；「技术指南」这个短词在 6 张卡的 h4 与「全部指南」锚文本里都有。 */
  .home-hub-sec { background:#ffffff; padding:160px 0 110px; }
  .home-hub-sec .hub-head {
    display:flex; align-items:flex-end; justify-content:space-between;
    gap:26px; flex-wrap:wrap;
  }
  /* 与新闻中心一致：标题缩进，让大号英文水印有溢出空间 */
  /* TAB 组紧挨标题右侧，而不是飘到整行最右：视线从「常见问题」自然右移就落到切换器上，
     右侧那条长空白留给水印（它本来就是装饰层），控件与标题不再被中间的空档拉开。 */
  .home-hub-sec .hub-head-main {
    margin-left:120px; position:relative; z-index:1;
    display:flex; align-items:center; gap:30px;
  }
  .home-hub-sec .parallax-text-wrap { margin-bottom:0; flex:0 0 auto; }
  .home-hub-sec .hub-ctrl {
    display:flex; align-items:center; gap:14px; padding-bottom:2px;
    position:relative; z-index:3;
  }
  /* 胶囊要盖在超大号水印之上：head-main 内部再抬一层 */
  .home-hub-sec .hub-tabs {
    display:inline-flex; background:#f2effb; border-radius:999px; padding:4px; gap:4px;
    position:relative; z-index:3; flex:0 0 auto;
  }
  .home-hub-sec .hub-tab {
    border:0; background:transparent; padding:9px 20px; border-radius:999px;
    cursor:pointer; font:600 13.5px/1 inherit; color:#5a5470; white-space:nowrap;
    transition:background .22s, color .22s;
  }
  .home-hub-sec .hub-tab:hover { color:#3d29a4; }
  .home-hub-sec .hub-tab.is-on {
    background:#3d29a4; color:#fff; box-shadow:0 6px 16px rgba(61,41,164,.25);
  }
  .home-hub-sec .hf-more {
    font-size:16px; color:#3d29a4 !important; text-decoration:none;
    margin-right:6px; white-space:nowrap;
  }
  .home-hub-sec .hf-more:hover { text-decoration:underline; }
  .home-hub-sec .hf-nav {
    width:42px; height:42px; border-radius:50%; border:1px solid #dcd8ee;
    background:#fff; position:relative; cursor:pointer; padding:0; flex:0 0 auto;
    transition:background .22s, border-color .22s;
  }
  .home-hub-sec .hf-nav:hover { background:#3d29a4; border-color:#3d29a4; }
  .home-hub-sec .hf-nav::after {
    content:''; position:absolute; top:50%; left:50%; width:7px; height:7px;
    border-top:1.6px solid #3d29a4; border-right:1.6px solid #3d29a4;
    transform:translate(-60%,-50%) rotate(45deg);
  }
  .home-hub-sec .hf-prev::after { transform:translate(-40%,-50%) rotate(-135deg); }
  .home-hub-sec .hf-nav:hover::after { border-color:#fff; }
  .home-hub-sec .hub-pane { display:none; }
  .home-hub-sec .hub-pane.is-on { display:block; }
  /* overflow-x:auto 会把 overflow-y 一起算成 auto，hover 上浮 4px + 向下 29px 的投影
     都会被裁掉。用上 8 / 下 36 的 padding 留出空间，再用等量负 margin 抵消，
     卡片底到区块底的距离与改造前完全一致（110px）。 */
  .home-hub-sec .hub-strip {
    display:flex; gap:24px; overflow-x:auto; overflow-y:hidden;
    scroll-snap-type:x mandatory; overscroll-behavior-x:contain;
    padding:8px 2px 36px; margin-top:56px; margin-bottom:-36px;
    scrollbar-width:none; -ms-overflow-style:none;
  }
  .home-hub-sec .hub-strip::-webkit-scrollbar { display:none; }
  .home-hub-sec .hub-strip > * {
    flex:0 0 calc((100% - 48px)/3); scroll-snap-align:start; min-width:0;
  }
  /* 两栏卡片同一套视觉语言：16px 圆角 / 1px #e7e5f1 边线 / 上浮 4px / 等高 286px */
  .home-hub-sec .hf-card,
  .home-hub-sec .hg-card {
    display:flex; flex-direction:column; box-sizing:border-box;
    min-height:286px; padding:24px 24px 20px;
    background:#fff; border:1px solid #e7e5f1; border-radius:16px;
    box-shadow:0 2px 10px rgba(61,41,164,.035); text-decoration:none;
    transition:box-shadow .28s, transform .28s, border-color .28s;
  }
  .home-hub-sec .hf-card:hover,
  .home-hub-sec .hg-card:hover {
    transform:translateY(-4px); border-color:#cfc7ec;
    box-shadow:0 14px 30px rgba(61,41,164,.10);
  }
  .home-hub-sec .hf-meta { display:flex; align-items:center; justify-content:space-between; margin-bottom:15px; }
  .home-hub-sec .hf-tag,
  .home-hub-sec .hg-tag {
    font-size:14px; line-height:1; color:#fff; background:#3d29a4;
    border-radius:20px 20px 0px 20px; padding:6px 11px 7px; white-space:nowrap;
  }
  .home-hub-sec .hg-tag { align-self:flex-start; }
  .home-hub-sec .hf-no { font-size:11.5px; letter-spacing:.1em; color:#bdc0cb; font-family:Georgia,'Times New Roman',serif; }
  .home-hub-sec .hf-q,
  .home-hub-sec .hg-t {
    font-size:18px; line-height:1.55; font-weight:600; color:#1f2430;
    margin:0 0 13px;
  }
  .home-hub-sec .hg-t { margin:15px 0 12px; }
  .home-hub-sec .hf-a,
  .home-hub-sec .hg-d {
    font-size:14px; line-height:1.88; color:#5c6371; margin:0;
  }
  .home-hub-sec .hf-a {
    display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
  }
  .home-hub-sec .hf-go,
  .home-hub-sec .hg-go {
    margin-top:auto; padding-top:18px; font-size:14px; color:#a6abb8;
    transition:color .22s;
  }
  .home-hub-sec .hg-go { padding-top:16px; }
  .home-hub-sec .hf-go::after,
  .home-hub-sec .hg-go::after { content:' →'; }
  .home-hub-sec .hf-card:hover .hf-go,
  .home-hub-sec .hg-card:hover .hg-go { color:#3d29a4; }
  /* 英文站右侧有 fixed 悬浮标签（Become a Distributor，right:0 / 56px / z-index 9980），
     会把最右的箭头压住，这里给控件留出避让距离。中文站没有该元素，不受影响。 */
  @media (min-width:1200px) {
    .home-hub-sec--en .hub-ctrl { margin-right:64px; }
  }
  @media (max-width:1199px) {
    .home-hub-sec .hub-head-main { margin-left:78px; }
    .home-hub-sec .hub-strip > * { flex-basis:calc((100% - 24px)/2); }
  }
  @media (max-width:991px) {
    .home-hub-sec { padding:66px 0 60px; }
    .home-hub-sec .hub-head-main { margin-left:0; }
    .home-hub-sec .parallax-text { font-size:62px !important; left:0 !important; }
    .home-hub-sec .hub-strip { margin-top:44px; }
  }
  @media (max-width:767px) {
    .home-hub-sec { padding:44px 0 44px; }
    .home-hub-sec .parallax-text-wrap h3 { font-size:24px !important; }
    .home-hub-sec .hub-head-main { flex-wrap:wrap; gap:10px 14px; }
    .home-hub-sec .hub-ctrl { gap:10px; padding-bottom:0; }
    /* 手机端固定两行：第一行「标题 …… 查看全部」，第二行胶囊。
       不靠 flex 自动换行——中文实测离一行只差 20px，线上字体渲染一变就
       把「查看全部」挤成孤零零的第三行（本机 47px / 线上 95px 就是这么差出来的）。
       grid 的列宽与行数都写死，中英两边行为一致、可预期。 */
    .home-hub-sec .hub-head {
      display:grid; grid-template-columns:1fr auto; row-gap:12px; align-items:center;
      grid-template-areas:"title more" "tabs tabs";
    }
    .home-hub-sec .hub-head-main { display:contents; }
    .home-hub-sec .parallax-text-wrap { grid-area:title; }
    .home-hub-sec .hub-tabs { grid-area:tabs; justify-self:start; }
    .home-hub-sec .hub-ctrl { grid-area:more; justify-self:end; }
/* 英文两个 pill（Common questions / Technical Guides）比中文长得多，
       390 宽下原来的 15px 内边距会把「View all》」挤到贴着屏幕右缘，
       收紧到 13px / 12px 后整行还留 20px 余量，中英都不会挤。 */
    .home-hub-sec .hub-tab { padding:8px 13px; font-size:12px; }
    .home-hub-sec .hf-nav { display:none; }
    .home-hub-sec .hub-strip { gap:16px; margin-top:36px; padding:6px 2px 30px; margin-bottom:-30px; }
    .home-hub-sec .hub-strip > * { flex-basis:84%; }
    /* 移动端不取消 286 的最小高度：指南卡内容本来就短（tag + 标题 + 一句 + Read），
       一旦放成内容高度会比问答卡矮 76px，两个面板看起来像两套组件；
       保留 286 后两栏只差 17px（中文）/ 41px（英文），切换 TAB 的位移基本察觉不到。 */
    .home-hub-sec .hf-card,
    .home-hub-sec .hg-card { padding:22px 20px 18px; }
    .home-hub-sec .hf-q,
    .home-hub-sec .hg-t { font-size:15.5px; }
    .home-hub-sec .hf-a,
    .home-hub-sec .hg-d { font-size:13px; }
    .home-hub-sec .hf-a { -webkit-line-clamp:5; }
  }
  /* 模板 style.css 在 ≥1600px 把 .parallax-text 的 left 推到 -150px。本板块的
     .hub-head-main 已经右移 120px，两者叠加后水印盒左落到卡片左线以外 30px，
     1600~1800 还会被屏幕左缘切掉一截。这里只在本板块内把 left 收回 -120px。 */
  @media (min-width:1600px) {
    .home-hub-sec .parallax-text { left:-120px; }
  }
  /* 英文标题走 Helvetica Neue，墨迹在同一个行盒里比中文低 4.3px，同样的 margin-top
     会让英文看起来更贴卡片。按断点把差值补回去（桌面 +4 / 平板 +1 / 手机 +2）。 */
  .home-hub-sec--en .hub-strip { margin-top:60px; }
  @media (max-width:991px) { .home-hub-sec--en .hub-strip { margin-top:45px; } }
  @media (max-width:767px) { .home-hub-sec--en .hub-strip { margin-top:38px; } }
  /* P1115-geo-77：推荐产品 8 卡竖排要 4,268px（手机）/ 2,489px（平板 990），
     占整页 1/3 以上。≤991px 改成一屏 1~2 卡的横滑，8 张全留、可滑。
     只动布局不动内容，桌面 4 列 2 行完全不受影响。 */
  @media (max-width:991px) {
    .kp-prod-strip {
      display:flex; flex-wrap:nowrap; gap:0;
      overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;
      overscroll-behavior-x:contain; scrollbar-width:none; -ms-overflow-style:none;
      /* .row 自带 margin:0 -15px，container 的 15px 内边距被它抵消，
         所以横滑容器左边缘就在 x=0，卡片自己的 15px 内边距正好还原竖排版
         的图片留白。这里不能再给 padding-left，否则图片会被推到 x=30。 */
      margin-left:-15px; margin-right:-15px; padding:4px 0 26px;
    }
    .kp-prod-strip::-webkit-scrollbar { display:none; }
    /* 不改 col 的内边距：卡片图片原有的左右 15px 留白必须保住，
       否则图会贴到屏幕边缘，跟竖排版的观感不一致。
       卡间距靠各自的 15px padding 撑开（30px），不再叠加 gap。 */
    /* 平板一屏 2 张多一点，手机一屏 1.2 张；两种都是「露出下一张」的暗示 */
    .kp-prod-strip > [class*="col-"] {
      flex:0 0 46%; max-width:46%; width:46%;
      scroll-snap-align:start;
    }
    /* 滑到最右时最后一张卡不贴屏幕边 */
    .kp-prod-strip > [class*="col-"]:last-child { margin-right:15px; }
  }
  @media (max-width:767px) {
    .kp-prod-strip > [class*="col-"] {
      flex-basis:84%; max-width:84%; width:84%;
    }
  }

/* ============================================================================
   批次573 · 首屏标题（P1123-geo-37 体检 no-title / late-title）
   ----------------------------------------------------------------------------
   原来全页唯一的 h1 是 sr-only（盒子 1×1），体检据此判两项 FAIL：
   「页面没有可见 h1」「1.2s 后仍没有可读标题」。
   现在 h1 是首屏第一行，但**放在轮播外面**（.kp-hero-head 绝对定位盖在轮播上）：
   轮播开着 loop，会把第一页复制一份插到 DOM 最前面，副本里也带一个 h1 ——
   页面就出现两个 h1，而 document.querySelector('h1') 拿到的是屏幕外那份副本，
   体检于是判「标题被挡住」。移到轮播之上，两个问题一起消失，换页时标题也不动。
   轮播页的文字（副标题 / 说明 / 按钮）靠 .swiper-main-section 的 padding-top 让开 h1，
   数值 = 原 padding-top + h1 高度 + 8px 间距，按断点写死（注释里是算式）。
   ============================================================================ */
.swiper-form-wrap { position: relative; }
.kp-hero-head {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 3;
    padding-top: 60px;          /* = .swiper-main-section 的 padding-top */
    pointer-events: none;       /* 这条横带不吃点击，手势照常落到轮播上 */
}
.kp-hero-h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 700;
    color: #fff;
    pointer-events: auto;       /* 标题本身可选可读 */
}
.kp-hero-h1 > span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .78);
}
.swiper-slide-caption .swiper-main-section { padding-top: 124px; }  /* 60 + 56 + 8 */
.swiper-slide-caption .kp-hero-promo {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: #fff;
}
.swiper-slide-caption .kp-hero-info {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, .76);
}
.swiper-slide-caption .kp-hero-btn { margin-top: 12px; }

@media (min-width: 768px) {
    .kp-hero-h1 { font-size: 28px; }
    .kp-hero-h1 > span { font-size: 14px; }
    .swiper-slide-caption .swiper-main-section { padding-top: 128px; }  /* 60 + 60 + 8 */
    .swiper-slide-caption .kp-hero-promo { font-size: 19px; }
    .swiper-slide-caption .kp-hero-info { font-size: 15px; }
    .swiper-slide-caption .kp-hero-btn { margin-top: 18px; }
}
@media (min-width: 992px) {
    .kp-hero-head { padding-top: 200px; }
    .swiper-slide-caption .swiper-main-section { padding-top: 268px; }  /* 200 + 60 + 8 */
}
@media (min-width: 1200px) {
    .kp-hero-head { padding-top: 100px; }
    .kp-hero-h1 { font-size: 34px; }
    .kp-hero-h1 > span { font-size: 16px; }
    .swiper-slide-caption .swiper-main-section { padding-top: 178px; }  /* 100 + 70 + 8 */
    .swiper-slide-caption .kp-hero-promo { font-size: 22px; }
    .swiper-slide-caption .kp-hero-info { font-size: 15px; }
    .swiper-slide-caption .kp-hero-btn { margin-top: 22px; }
}
@media (min-width: 1600px) {
    .kp-hero-head { padding-top: 200px; }
    .kp-hero-h1 { font-size: 48px; }
    .kp-hero-h1 > span { font-size: 20px; }
    .swiper-slide-caption .swiper-main-section { padding-top: 301px; }  /* 200 + 93 + 8 */
    .swiper-slide-caption .kp-hero-promo { font-size: 28px; }
    .swiper-slide-caption .kp-hero-info { font-size: 17px; }
    .swiper-slide-caption .kp-hero-btn { margin-top: 26px; }
}

/* app.css 在 ≤767.98 用 !important 把所有 section 内的 h2 压成 20px，
   副标题会和 h1 撞成同一级，这里只能同样带 !important 拿回来。 */
@media (max-width: 767.98px) {
    .swiper-slide .swiper-slide-caption .kp-hero-promo {
        font-size: 17px !important;
        line-height: 1.5 !important;
        font-weight: 600 !important;
    }
}
