/* 速动科技 - 布局结构修复 v2（site-fix.css）
   源站首页结构：body > header.he_pc_hd > ... > .he_pcnli > .page(外层) > .page(内层) > 内容
   外层 .page 被错放在 header 导航容器内，导致：
     1) 主内容区被计入 header 高度（撑到 4872px）
     2) 外层 width 解析成 3818px，远超视口 → 视觉空白 + 横向溢出
   修复：把「外层 .page」提出为 body 下的正常流块，并让「内层 .page」保持 static，
        从而 header 只占导航高度、主内容按原设计正常渲染。
   不改动任何原有 CSS 规则与页面内容。 */

/* ---- 1. header 及其各层只保留导航自身高度 ---- */
#pc_header {
  position: relative;
  height: auto;
  overflow: visible;
}

#pc_header .he_pcbx,
#pc_header .he_pcbxn,
#pc_header .head_meda_center,
#pc_header .he_pcnli,
#pc_header .he_pcnav {
  height: auto;
  overflow: visible;
}

/* ---- 2. 外层 .page（直接位于 .he_pcnli 内的那个）提出到正常文档流 ---- */
/* 用 :not 排除嵌套的内层 .page，只定位外层 */
#pc_header .page:not(.page .page) {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

/* 让外层 .page 之后的内容（页脚等）回到文档流 */
#pc_header + .page,
body > .page {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ---- 3. 内层 .page 恢复为正常块级流，由内容撑开高度 ---- */
#pc_header .page .page {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
}

/* ---- 4. 主内容关键容器禁止超出视口 ---- */
body {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.page .page,
.box_2s,
.block_1_zyyw,
.zc_box_1,
.container-custom {
  max-width: 100%;
}

/* ---- 5. 移动端维持原 pc/wap 切换 ---- */
@media screen and (max-width: 961px) {
  #pc_header {
    display: none !important;
  }
}