/* ==========================================================
   全局规范
   ========================================================== */
/* 重置：清零默认 margin/padding，全局 border-box */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* rem 只负责组件尺寸；正文不能继承几十像素的根字号。桌面保留设计基准，宽屏不继续放大。 */
html { font-size: 76.8px; }
body { font-size: var(--font-body); line-height: 1.6; }
@media screen and (max-width: 767px) {
  html { font-size: 100px; }
}
html, body {
  /* 整屏滚动（fullPage）已移除：恢复原生滚动，显示滚动条，鼠标滚轮可直接滚动页面。
     overflow-x 用 clip 而非 hidden：hidden 会把 body 变成滚动容器，
     导致后代 position:sticky（如期刊屏吸附 tab）失效 */
  overflow-x: clip;
  font-family: "Microsoft YaHei", Arial, sans-serif !important;
  letter-spacing: 0.01em;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
i,
input,
label,
li,
ol,
p,
select,
td,
textarea,
ul {
	font-family: "Microsoft YaHei", Arial, sans-serif !important;
}
a { text-decoration: none; color: #000000; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* 内容容器：1320 为内容区宽度，padding 在容器内部，总占用 1320px */
:root {
  /* 字号与 rem 几何尺寸解耦；同一角色在各页面共用同一标尺。 */
  --font-hero: 48px;
  --font-section: 32px;
  --font-card: 22px;
  --font-body: 16px;
  --font-small: 14px;
  --font-label: 18px;
  --font-stat: 40px;
  --font-stat-large: 56px;
  --font-stat-most: 86px;
  --font-article: 18px;
  /* 桌面内容最大 1320px；超宽屏保持字号、控件和内容宽度稳定。 */
  --content-width: 17.1875rem;  /* 后期统一修改宽度只需改这里 */
  --header-height: 68px;     /* Header 高度：每屏留白、抽屉导航位置均跟随此值 */
  --hover-color: #0f64ec;    /* 导航 hover 色 */
  --main-color: #0a93e1;     /* banner 下方主文字色 */
  --origin-w: 1720;
  --target-w: 1320;
  --scale: calc(var(--target-w) / var(--origin-w));
}

@media screen and (max-width: 767px) {
  :root {
    --font-hero: 28px;
    --font-section: 24px;
    --font-card: 18px;
    --font-body: 14px;
    --font-small: 12px;
    --font-label: 14px;
    --font-stat: 28px;
    --font-stat-large: 32px;
    --font-stat-most: 34px;
    --font-article: 16px;
  }
}

.container {
  width: calc(100% - 48px);
  max-width: var(--content-width);
  margin: 0 auto;
}
.relative{
  position: relative;
}

/* ==========================================================
   1. Header 导航（通栏，fixed 定位：每一屏都能看到）
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: var(--header-height);
  background: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header .container {
  height: 100%;
  display: flex;             /* flex 布局：左 logo 右导航 */
  align-items: center;
  justify-content: space-between;
}
/* 左侧 Logo 图片占位：宽 50px（切图时替换 src 即可） */
.logo img {
  width: calc(158 / 76.8 * 1rem);
  height: auto;
}
/* 图片占位说明：logo.png —— 顶部品牌 Logo，建议尺寸 50x50 */
.logo img[src=""] { /* src 为空时的灰色占位块，切图后可删 */
  width: calc(158 / 76.8 * 1rem); height: calc(36 / 76.8 * 1rem);
  background: #e0e0e0;
}

/* 右侧：导航菜单 + 红色联系按钮 */
.header-right {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-menu a {
  padding: calc(8 / 76.8 * 1rem) calc(14 / 76.8 * 1rem);
  font-size: 16px;
  color: #000000;
  transition: color .3s;
}
.nav-menu a:last-child { padding-right: 0; }
.nav-menu a:hover,
.nav-menu a.active {          /* hover / 当前屏 高亮 */
  color: var(--hover-color);
}
/* 红色联系按钮 */
.btn-contact {
  margin-left: calc(16 / 76.8 * 1rem);
  padding: calc(10 / 76.8 * 1rem) calc(24 / 76.8 * 1rem);
  background: #e02020;
  color: #ffffff;
  font-size: 16px;
  border-radius: 4px;
  transition: opacity .3s;
}
.btn-contact:hover { opacity: .85; }

/* 汉堡按钮（仅移动端显示） */
.menu-btn { display: none; width: 28px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: #333; margin: 6px 0; transition: .3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端抽屉导航 */
.wap-nav {
  position: fixed;
  top: var(--header-height); right: 0;
  width: 60%;
  background: #fff;
  box-shadow: -2px 2px 8px rgba(0,0,0,.1);
  transform: translateX(100%);
  transition: transform .3s;
  z-index: 99;
}
.wap-nav.open { transform: translateX(0); }
.wap-nav a { display: block; padding: 16px 24px; border-bottom: 1px solid #eee; font-size: 14px;;}
.wap-nav a.active { color: var(--hover-color); }
/* 平板起使用折叠菜单，避免整排导航挤出容器。 */
@media screen and (max-width: 991px) {
  :root { --header-height: 64px; }
  .header .container { width: calc(100% - 32px); max-width: none; padding: 0; }
  .nav-menu, .btn-contact { display: none; }
  .menu-btn { display: block; }
  .logo img { width: 120px; }
  .wap-nav {
    top: var(--header-height);
    width: min(360px, 85vw);
    height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }
}

/* fullPage 生成的单元格：顶部预留 Header 高度，内容不被遮挡 */
.section .fp-tableCell {
  padding-top: var(--header-height);
  vertical-align:top !important;
}
.section {
  color: #fff;
  display: flex;              /* 纵向：banner 在上，统计区在下 */
  flex-direction: column;
}
/* 注意：插件默认的 table-cell 布局下子元素百分比高度链不可靠，
   改为 flex 纵向容器：padding 计入总高(border-box)，子元素可正常伸缩。
   不要在此设 overflow-y:auto —— 会截获滚轮事件导致整屏翻页失效 */
.section .fp-tableCell {
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* 除首屏（banner）和最后一屏（about：版权需贴底）外，
   其余屏内容整体垂直居中，任何屏幕尺寸下都生效 */
.section:not(.index_banner):not(.about-section):not(.ppt-case-banner):not(.kxht-hero) .fp-tableCell {
  justify-content: center;
}

/* ==========================================================
   普通滚动布局（整屏滚动 fullPage 已移除）：
   除首屏外，各 section 不再限制为一屏高，高度随内容自适应，
   顶部让出固定导航高度；H5（<768px）沿用原有移动端适配
   ========================================================== */
@media screen and (min-width: 768px) {
  #fullpage > .section:not(:first-child) {
    height: auto;
    min-height: 0;
    padding-top: var(--header-height);
    padding-bottom: 0.4rem;
    box-sizing: border-box;
  }
  .about-section{
    padding-bottom: 0 !important;
  }
  /* 最后一屏（上海中研致合）：固定为一屏高 = 100vh - 顶部导航高度
     （选择器带 #fullpage，压过上面 :not(:first-child) 的 height:auto） */
  #fullpage > .section.about-section {
    height: calc(100dvh - var(--header-height));
    padding-top: 0 !important;
  }
  @media (min-resolution: 1.25dppx) {
    #fullpage > .section.about-section {
      height: auto;
    }
  }
  /* 一屏高度内：标题 / 表单 / 信息矩阵 / 底部版权四块内容之间的距离均等分
     （space-between：块与块之间间隔相等，首块贴顶、末块贴底） */
  #fullpage > .section.about-section .container {
    justify-content: space-between;
  }
  /* 注意：不要再给 .about-footer 设 margin-top:auto ——
     auto 会吃光剩余空间，space-between 无空间可分，前三块会挤在顶部。
     space-between 本身就把最后一块（footer）贴到区块底边，且四块间隔相等 */
  #fullpage > .section.about-section .about-footer {
    margin-top: 0;
  }
}

/* ==========================================================
   占位屏（其余模块，后续按设计稿逐屏替换）
   ========================================================== */
.section .placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.section .placeholder-box h1 { font-size: var(--font-hero); margin-bottom: calc(16 / 76.8 * 1rem); line-height: 1.35; }
.section .placeholder-box p  { font-size: var(--font-body); opacity: .85; }

/* ==========================================================
   11. 上海中研致合（通栏：表单 + 信息矩阵 + 三列图片列表 + 版权）
   ========================================================== */
.about-section {
  background: #ffffff;        /* 通栏白底 */
  box-sizing: border-box;     /* height 含 padding-top，确保正好 100vh - 导航高度 */
}
/* 旧页面在区块外套有 w1314；内容限宽只交给内部 container。 */
.about-section.w1314 { width: 100% !important; max-width: none; }
@media (min-width: 768px) and (max-width: 991px) {
  .about-section .container { width: calc(100% - 32px); max-width: none; }
}
.about-section .container {
  min-width: 0;
  display: flex;              /* 各内容块整体垂直居中 */
  flex-direction: column;
  justify-content: center;
  height: 100% !important;
}
/* 版权行始终贴住页面最底部 */
.about-section .about-footer {
  margin-top: auto;
  flex-direction: column;
}

/* 居中标题：40px #000000 */
.about-title {
  font-size: var(--font-section);
  color: #000000;
  text-align: center;
  margin-bottom: calc(40 / 76.8 * 1rem);
  margin-top: max(1rem, var(--mt, 0rem));          /* 标题上方吃掉剩余空间：与下方内容成组，整体在页脚以上垂直居中 */
  line-height: 1.35;
}
/* 中部主内容下方吃掉剩余空间：标题~主内容整体在页脚以上垂直居中 */

/* --- 提交表单：姓名、手机号、提交按钮同一行 --- */
.about-form {
  display: flex;              /* 一行排列 */
  width: 80%;
  gap: calc(20 / 76.8 * 1rem);
  margin:0 auto calc(56 / 76.8 * 1rem);
}
.about-form input {
  flex: 1;                    /* 自适应平分剩余宽度 */
  min-width: 0;
  height: calc(44 / 76.8 * 1rem);
  padding: 0 calc(14 / 76.8 * 1rem);
  border: 1px solid #d9d9d9;
  font-size: 16px;
  outline: none;
  transition: border-color .3s;
}
.about-form input:focus { border-color: var(--hover-color); }
/* 提交按钮：蓝色底、白色字体 */
.about-form button {
  height: calc(44 / 76.8 * 1rem);
  padding: 0 calc(36 / 76.8 * 1rem);
  background: var(--hover-color);
  color: #ffffff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: opacity .3s;
}
.about-form button:hover { opacity: .85; }

/* --- 中部：左右两部分 --- */
.about-main {
  display: flex;              /* 左：四列信息；右：联系 + 二维码 */
  justify-content: space-between;
  gap: calc(40 / 76.8 * 1rem);
  margin-bottom: 56px;
}
/* 左侧四列：每列标题 + 多条文字 */
.about-cols {
  display: flex;              /* 四列横排 */
  gap: calc(48 / 76.8 * 1rem);
  flex: 1;
}
.about-col .col-title {
  font-size: var(--font-card);
  color: #1069f9;
  font-weight: bold;
  margin-bottom: calc(16 / 76.8 * 1rem);
  line-height: 1.4;
}
.about-col .col-text {
  font-size: var(--font-body);
  color: rgba(0,0,0,.7);
  line-height: 2;
}
.about-col .col-text a {      /* 每个链接独占一行 */
  display: block;
  color: #000000;
}
.about-col .col-text a:hover { color: #1069f9; }
/* 右侧：标题 + 联系我们 + 二维码图片 */
.about-contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-contact .col-title {
  font-size: var(--font-card);
  color: #1069f9;
  font-weight: bold;
  margin-bottom: calc(16 / 76.8 * 1rem);
  line-height: 1.4;
}
.about-contact .col-text {
  font-size: 24px;
  color: #c00000;
  line-height: 2;
}
.about-contact .col-tip {
  font-size: var(--font-body);
  color: rgba(0,0,0,.7);
  line-height: 2;
}
/* 二维码图片占位：images/qrcode.png，建议 120x120，切图替换 */
.qrcode {
  width: calc(120 / 76.8 * 1rem);
  height: calc(120 / 76.8 * 1rem);
  margin-top: calc(8 / 76.8 * 1rem);
  margin-bottom: calc(8 / 76.8 * 1rem);
}
.qrcode[src=""] {             /* src 为空时灰色占位块，切图后可删 */
  background: #e0e0e0;
}

/* --- 底部通栏公共类：图片列表 + 版权共用，背景色一致、宽度撑满屏幕 --- */
.fullbleed {
  /* 通栏背景：宽度撑满屏幕（负 margin 抵消容器限制），
     内部左右 padding 模拟 1320 容器，内容不贴边 */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: calc(24 / 76.8 * 1rem);
  padding-bottom: calc(24 / 76.8 * 1rem);
  padding-left: max(20px, calc(50vw - var(--content-width) / 2));
  padding-right: max(20px, calc(50vw - var(--content-width) / 2));
  margin-bottom: 0;
  /* background: linear-gradient(90deg, #02c6c2, #0e74f3); */
  color: #ffffff;
}

/* 底部图片列表：三列，图片左 + 文字右 */
.about-gallery {
  display: flex;              /* 三列横排 */
  gap: calc(40 / 76.8 * 1rem);
}
.about-gallery .gallery-item {
  flex: 1;                    /* 三等分 */
  display: flex;              /* 图片左、文字右 */
  gap: calc(16 / 76.8 * 1rem);
  align-items: flex-start;
}
/* 图片占位：images/footer-1.png ~ footer-3.png，建议 64x64 */
.gallery-item img {
  height: calc(80px * var(--scale));
  flex-shrink: 0;
}
.gallery-item img[src=""] {   /* src 为空时灰色占位块，切图后可删 */
  background: #e0e0e0;
  border-radius: 4px;
}
.gallery-item .g-title {
  font-size: var(--font-label);
  color: #000000;
  font-weight: bold;
  line-height: 2.4;
}
.gallery-item .g-text {
  font-size: var(--font-small);
  color: #000000;
  line-height: 1.8;
}

/* --- 最下方纯文字版权 --- */
.about-footer_info {
  color: #010101;
  display: flex;              /* 两部分：版权 / 备案号 */
  justify-content: center;
  align-items: center;        /* 图标与文字垂直居中 */
  gap: 1em;                   /* 两个 span 的间距（原 &emsp; 空格改为结构分隔） */

  padding-top: calc(20 / 76.8 * 1rem);
  font-size: var(--font-small);
}
.about-footer_info .icon_gongan {
  display: inline-block;      /* 行内图片与文字基线对齐问题改为垂直居中 */
  vertical-align: middle;
  width: calc(20px * var(--scale));
}
.white{
  background: #ffffff !important;
}

/* ==========================================================
   响应式断点
   ========================================================== */
/* 中屏：768px - 1199px，容器 92%，卡片一行 2 个 */
@media screen and (max-width: 767px) {
  .container { width: 100%; max-width: none; padding: 0 16px; }
  .nav-menu a { padding: 8px 8px; font-size: 15px; }

  /* 矩阵改为一行 2 个，合并卡片取消（占满首列一行高） */
  .matrix {
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }
  .card--tall { grid-row: auto; height: 200px; }

  /* 全程陪伴服务体系：区块高度自适应，右侧卡片一行 2 个 */
  .svc-section { height: auto; padding: 40px 0; }
  .svc-section .container { height: auto; }
  .svc-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .svc-matrix {
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }
  .svc-card--tall { grid-row: auto; height: 200px; }

  /* 最新动态：区块高度自适应，三栏改纵向堆叠 */
  .news-section { height: auto; padding: 40px 0; }
  .news-section .container { height: auto; }
  .news-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .news-layout { flex-direction: column; }
  .news-carousel { height: 240px; }

  /* 高校图片墙：区块高度自适应，一屏 3 列 */
  .school-section { height: auto; padding: 40px 0; }
  .school-section .container { height: auto; }
  .school-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }

  /* 培训屏：区块高度自适应，图片墙一行 4 列，数据换行 */
  .train-section { height: auto; padding: 40px 0; }
  .train-section .container { height: auto; }
  .train-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .train-stats { flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
  .train-main { flex-direction: column; }
  .train-big { width: 100%; height: 200px; }
  .train-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; grid-auto-rows: 90px; }

  /* 科研绘图：区块高度自适应，列表改 2 列 */
  .draw-section { height: auto; padding: 40px 0; }
  .draw-section .container { height: auto; }
  .draw-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .draw-list { flex-wrap: wrap; }
  .draw-item { max-width: calc(50% - 10px); }

  /* 学术PPT 轮播：一行显示 2 张卡片（2*330 + 20 = 680） */
  .ppt-window { width: 680px; margin: 0 auto; }
  .ppt-btn--prev { left: -50px; }
  .ppt-btn--next { right: -50px; }

  /* 尾部信息：左侧四列改两列，间距缩小 */
  .about-cols { flex-wrap: wrap; gap: 32px; }
  .about-col { width: calc(50% - 16px); }

  /* 科研动画：区块高度自适应，主图缩小 */
  .anim-section { height: auto; padding: 40px 0; }
  .anim-section .container { height: auto; }
  .anim-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .anim-poster { height: 220px; margin-bottom: 24px; }

  /* 尾部信息：全部单列 */
  .about-section .container { height: auto; }
  .about-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .about-form { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .about-form input { width: 100%; }
  .about-main { flex-direction: column; margin-bottom: 32px; }
  .about-cols { flex-direction: column; gap: 24px; }
  .about-gallery { flex-direction: column; gap: 24px; margin-bottom: 0; }
  .about-footer { flex-direction: column; gap: 8px; text-align: center; }
  /* 版权 / 备案号：wap 下每个 span 独占一行居中，不再挤在一行 */
  .about-footer_info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    line-height: 1.6;
  }
  /* 标题行：wap 下标题 + 「更多」链接同行展示（一左一右） */
  .news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .news-head .news-more {
    position: static;         /* 取消桌面端的绝对定位，参与同行排列 */
    flex-shrink: 0;
    padding: 4px 10px;
    gap: 8px;
  }
  .news-head .news-more .more-img { width: 28px; }
  .news-head h2 {
    font-size: var(--font-section);
    margin: 0;                /* 覆盖 mt10 等边距，保证垂直居中 */
    white-space: nowrap;      /* 标题过长时省略，不换行、不与更多重叠 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
  }
}

/* 移动端：<768px，全部单列，汉堡菜单 */
@media screen and (max-width: 767px) {
  /* 移动端只改这一处变量：Header 高度、每屏顶部留白、
     抽屉导航位置、各区块 calc 总高全部自动跟随 */
  :root { --header-height: 64px; }

  /* H5 不走 fullPage 整屏滚动，恢复原生滚动与滚动条 */
  html, body { height: auto; overflow: auto; }

  /* 导航隐藏，仅保留汉堡按钮（结构保留） */
  .nav-menu, .btn-contact { display: none; }
  .menu-btn { display: block; }

  /* 手机端 Logo：适配 64px 导航高度（根字号 100px 下 rem 计算会到 206px，过大） */
  .logo img { width: 120px; height: auto; }
  .logo img[src=""] { width: 120px; height: 28px; }

  /* Banner：高度自适应，文字单列 */
  .banner-bg { height: 380px; }
  .banner-text .title { font-size: var(--font-hero); line-height: 1.35; }
  .banner-text .subtitle { font-size: var(--font-body); }
  /* 数字统计：移动端单列，间距缩小 */
  .banner-below { padding: 24px 0; }
  .stats { flex-direction: column; }
  .stats .stat-item { padding: 10px 0; }
  .stats .stat-num { font-size: var(--font-stat); margin-bottom: 4px; line-height: 1.15; }
  .stats .stat-label { font-size: var(--font-small); }

  /* 矩阵：移动端单列，区块高度自适应 */
  .matrix-section { height: auto; padding: 40px 0; }
  .matrix-section .container { height: auto; }
  .matrix-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .matrix {
    grid-template-columns: 160px;
    grid-template-rows: none;
    grid-auto-rows: 200px;
    justify-content: center;
  }
  .card--tall { grid-row: auto; height: 200px; }

  /* 全程陪伴服务体系：移动端单列 */
  .svc-section { height: auto; padding: 40px 0; }
  .svc-section .container { height: auto; }
  .svc-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .svc-matrix {
    grid-template-columns: 160px;
    grid-template-rows: none;
    grid-auto-rows: 200px;
    justify-content: center;
  }
  .svc-card--tall { grid-row: auto; height: 200px; }

  /* 最新动态：移动端单列 */
  .news-section { height: auto; padding: 40px 0; }
  .news-section .container { height: auto; }
  .news-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .news-layout { flex-direction: column; }
  .news-carousel { height: 200px; }

  /* 高校图片墙：移动端一屏 2 列 */
  .school-section { height: auto; padding: 40px 0; }
  .school-section .container { height: auto; }
  .school-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }

  /* 培训屏：移动端图片墙一行 3 列 */
  .train-section { height: auto; padding: 40px 0; }
  .train-section .container { height: auto; }
  .train-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .train-stats { flex-direction: column; align-items: center; gap: 16px; margin-bottom: 24px; }
  .train-main { flex-direction: column; }
  .train-big { width: 100%; height: 180px; }
  .train-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; grid-auto-rows: 80px; }

  /* 科研绘图：移动端单列 */
  .draw-section { height: auto; padding: 40px 0; }
  .draw-section .container { height: auto; }
  .draw-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .draw-list { flex-direction: column; align-items: stretch; }
  .draw-item { max-width: 100%; }

  /* 学术PPT：标题缩小，轮播按钮贴屏幕两侧，卡片一行约 1.5 张，图片列表换行 */
  .ppt-section { height: auto; padding: 40px 0; }
  .ppt-section .container { height: auto; }
  .ppt-title { font-size: var(--font-section); margin-bottom: 24px; line-height: 1.35; }
  .ppt-btn--prev { left: -8px; }
  .ppt-btn--next { right: -8px; }
  .ppt-card { width: 260px; height: 420px; }
  .ppt-gallery img { height: 28px; }

  .section .placeholder-box h1 { font-size: var(--font-hero); line-height: 1.35; }
  .section .placeholder-box p { font-size: var(--font-body); }
}
/* 标题行：相对定位，右上角放「更多资讯动态」 */
.news-head {
  position: relative;
}
/* 右上角更多链接：文字 + 箭头图片，底部与标题文字对齐 */
.news-more {
  position: absolute;
  right: 0;
  top: calc(10 / 76.8 * 1rem);                /* 与标题基线大致对齐 */
  display: flex;
  align-items: center;
  gap: calc(14 / 76.8 * 1rem);
  color: #0f64ec;
  transition: color .3s;
  background: #fff;
  /* 底部柔和阴影，就是图里的悬浮阴影效果 */
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  font-size: 16px;
  padding: calc(6 / 76.8 * 1rem) calc(15 / 76.8 * 1rem);
  padding-left: calc(18 / 76.8 * 1rem);
  border-radius: 50px;
}
/* 悬浮：白底变品牌蓝实底，文字/箭头变白，轻微放大 */
.news-more { }
.news-more:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #00d1b2, #1677ff);
}

/* ==========================================================
   PC 端：未滚动到的带动画元素暂停其动画（配合 js/anim-on-view.js：
   初始给每个带 CSS 动画的元素加 .anim-hold 暂停，该元素自身进入
   视口后移除该类开始播放；.anim-hold 同时作用于元素自身与后代）
   ========================================================== */
.anim-hold, .anim-hold *, .anim-hold *::before, .anim-hold *::after {
  animation-play-state: paused !important;
}
/* 跑马灯是环境型循环动画：即使所在区块还在 .anim-hold 中也保持自动循环 */
.anim-hold .marquee-ul {
  animation-play-state: running !important;
}

/* PC：.wow 元素（wow fadeInUp 等）滚入视口后 fadeInUp 到位
   （js/anim-on-view.js 检测到进入视口后加 .animate-in）；
   html.anim-onview 由脚本添加——脚本未运行时不隐藏，内容正常显示 */
@media screen and (min-width: 768px) {
  html.anim-onview .wow {
    opacity: 0;
    transform: translateY(0.3rem);
    transition: opacity .6s ease, transform .6s ease;
  }
  html.anim-onview .wow.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  /* 优势列表（6申报书辅导）：五张卡片逐张淡入上移（JS 依次加 .animate-in） */
  html.anim-onview .advantageList ul > li {
    opacity: 0;
    transform: translateY(0.3rem);
    transition: opacity .6s ease, transform .6s ease;
  }
  html.anim-onview .advantageList ul > li.animate-in {
    opacity: 1;
    transform: translateY(0);
  }
  /* 新闻轮播（news-carousel）：与 index 屏7 news-layout 一致，条目从右依次滑入
     （slideFromRight 关键帧定义在 index.css，相关页面均已引入） */
  html.anim-onview .news-carousel .news-items { opacity: 0; }
  html.anim-onview .news-carousel.animate-in .news-items {
    animation: slideFromRight .6s ease both;   /* both：结束后保持 to 状态，避免回到初始 opacity:0 消失 */
  }
  html.anim-onview .news-carousel.animate-in .news-items:nth-child(1) { animation-delay: .05s; }
  html.anim-onview .news-carousel.animate-in .news-items:nth-child(2) { animation-delay: .15s; }
  html.anim-onview .news-carousel.animate-in .news-items:nth-child(3) { animation-delay: .25s; }
  html.anim-onview .news-carousel.animate-in .news-items:nth-child(4) { animation-delay: .35s; }
  /* 品牌大事件（8.关于我们 events-section）：与 index 屏7 一致，焦点图 + 条目从右依次滑入 */
  html.anim-onview .events-section .events-featured,
  html.anim-onview .events-section .event-item { opacity: 0; }
  html.anim-onview .events-section .events-featured.animate-in,
  html.anim-onview .events-section .event-item.animate-in {
    animation: slideFromRight .6s ease both;
  }
}
.news-more .more-img1_con{
  display: none;
}
.news-more:hover .more-img1_con{
  display: block;
}
.news-more:hover .more-img { display: none; }  /* 箭头同步变白 */
.news-more .more-img { transition: filter .3s ease; }
.news-more .more-img1_con{
  width: calc(44px * var(--scale))
}

/* 箭头图片占位：切图替换 images/icon_more.png，建议 16x16 */
.news-more .more-img {
  width: calc(44px * var(--scale));
  object-fit: contain;
}
.news-more .more-img[src=""] {   /* src 为空时灰色占位块，切图后可删 */

  border-radius: 50%;
}
.grey{
  background: #FAFAFA !important;
}
.btn-contact_button{
  position: absolute;
  bottom: 30%;
  right: 0.56rem;
  width: 0.9rem;
  height: 3rem;
  z-index: 90;
  /* 默认隐藏：滚动到 about-section（尾部表单屏）时由 js 加 .show 显示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0.3rem);
  transition: transform .3s ease, filter .3s ease, opacity .3s ease, visibility .3s ease;
}
.btn-contact_button.show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
/* 悬浮：轻微放大提亮 + 呼吸浮动动画，提示可点击 */
.btn-contact_button:hover{
  transform: scale(1.06);
  filter: brightness(1.08) drop-shadow(0 8px 18px rgba(16, 105, 249, 0.35));
  animation: contactFloat 1.6s ease-in-out infinite;
}
@keyframes contactFloat {
  0%, 100% { transform: scale(1.06) translateY(0); }
  50%      { transform: scale(1.06) translateY(-8px); }
}
.btn-contact_button img{
  width: 0.9rem;
  display: block;
}
/* ==========================================================
   移动端（wap，<768px）：默认关闭所有动态效果
   动画 / 过渡时长全部归零并只播一次——入场动画瞬时到位（元素直接呈现
   最终状态，不会停留在透明度 0 的初始帧），无限循环动画（跑马灯等）
   也随 iteration-count:1 停止。JS 里的触发逻辑无需改动，各页面通用。
   例外：html 上加 .anim-keep 的页面（如 ppt.html）保留动态效果。
   ========================================================== */
@media screen and (max-width: 767px) {
  /* :not() 排除 Swiper 的 wrapper/slide：Swiper 依赖内联 transition-duration
     （正常 300ms，拖拽瞬间 0ms 保证跟手）。若被 0s !important 覆盖：
     1) 拖拽带 300ms 缓动导致跟手性差；2) transitionend 不触发导致自动播放停摆 */
  html:not(.anim-keep) *:not(.swiper-wrapper):not(.swiper-slide),
  html:not(.anim-keep) *:not(.swiper-wrapper):not(.swiper-slide)::before,
  html:not(.anim-keep) *:not(.swiper-wrapper):not(.swiper-slide)::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  /* 无限循环类动画（跑马灯 / 无缝滚动）：直接静止在起始位置，避免
     0s + 1 次后停在中间偏移量上出现空档
     （注意：.ppt-gallery .marquee-track 不在此列——首页 index.css 移动端
     显式恢复其 pptMarquee 动画，若保留此处的 transform:none !important
     会压过 keyframe 声明导致轨道被钉死不动） */
  html:not(.anim-keep) .ppt-case-banner .img_bottom img,
  html:not(.anim-keep) .marquee-ul {
    animation: none !important;
    transform: none !important;
  }
}

/* 表单提交提示浮层（.about-form 提交校验用） */
#formToast {
  position: fixed;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -10px);
  z-index: 999;
  padding: 12px 28px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, transform .3s, visibility .3s;
}
#formToast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ==========================================================
   视频播放弹窗（.ad-video-modal，多页面共用）：
   点击带 data-video 的元素打开，全屏遮罩 + 居中播放器；
   由 js/main.js（index ad-list）与 js/kxht.js（通用 data-video）触发
   ========================================================== */
.ad-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .75);
  display: none;
  align-items: center;
  justify-content: center;
}
.ad-video-modal.open { display: flex; }
.ad-video-modal .avm-box {
  position: relative;
  width: min(72vw, 1280px);
  max-height: 84vh;
}
.ad-video-modal video {
  display: block;
  width: 100%;
  max-height: 84vh;
  background: #000;
}
.ad-video-modal .avm-close {
  position: absolute;
  top: -0.44rem;
  right: 0;
  width: 0.32rem;
  height: 0.32rem;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.28rem;
  line-height: 0.32rem;
  padding: 0;
  background: none;
}

/* ==========================================================
   视口外的环境型循环动画暂停（跑马灯 / 聊天记录滚动条带）：
   js/kxht.js 用 IntersectionObserver 给离开视口的元素加 .env-paused，
   暂停其无限位移动画 —— 不可见时不再持续合成/重绘，滚动更流畅；
   重新接近视口（上下各预留 80px）时自动恢复
   （放在文件末尾：与 .anim-hold .marquee-ul 等同优先级规则按顺序取胜）
   ========================================================== */
.env-paused .marquee-ul,
.env-paused .chat-ul {
  animation-play-state: paused !important;
}
