/* =============================================
   中科普瑞官网 — 首页专用样式（编辑式 · 对齐"关于普瑞"）
   白底、墨色标题、细线分隔、蓝 #0066cc 唯一强调色
   挂载 <body class="ep">，配合 css/editorial.css 使用
   ============================================= */
:root {
  --ed-ink: #1d1d1f;
  --ed-body: #424245;
  --ed-mute: #86868b;
  --ed-line: #d2d2d7;
  --ed-line-2: #b8b8bf;
  --ed-blue: #0066cc;
  --ed-alt: #f5f5f7;
}

/* ---------- 通用章节头 ---------- */
body.ep .hm-sec { padding: 36px 0; }
body.ep .hm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ed-line);
}
body.ep .hm-sec-title {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ed-ink);
}
body.ep .hm-more { font-size: 13.5px; font-weight: 600; color: var(--ed-blue); }
body.ep .hm-more svg { width: 15px; height: 15px; transition: transform 0.3s; }
body.ep .hm-more:hover svg { transform: translateX(4px); }
body.ep .hm-lead { margin-top: 20px; font-size: 16px; line-height: 1.95; color: var(--ed-body); }
body.ep .hm-para { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ed-mute); }

/* ============================================================
   首屏 — 编辑式左文右图（网格堆叠轮播，内容自适应高度）
   ============================================================ */
body.ep .hm-hero {
  display: grid;
  height: auto;
  min-height: 0;
  max-height: none;
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
}
body.ep .hm-hero .hero-slide {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  grid-area: 1 / 1;
}
body.ep .hm-hero .hero-slide::after { display: none; }
body.ep .hm-hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0 84px;
}
body.ep .hm-hero-title {
  margin-top: 16px;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ed-ink);
}
body.ep .hm-hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ed-body);
}
body.ep .hm-hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
body.ep .hm-hero-actions .btn {
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
body.ep .btn-outline { border: 1px solid var(--ed-line); background: #fff; color: var(--ed-ink); }
body.ep .btn-outline:hover { border-color: var(--ed-blue); color: var(--ed-blue); background: #fff; }

body.ep .hm-hero-media { display: flex; flex-direction: column; }
body.ep .hm-hero-frame {
  height: 380px;
  background: linear-gradient(180deg, #fafafa 0%, var(--ed-alt) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
body.ep .hm-hero-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
body.ep .hm-hero-cap {
  margin-top: 13px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ed-mute);
}

/* 轮播入场动效 */
body.ep .hm-hero .hm-hero-text > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
body.ep .hm-hero .hero-slide.active .hm-hero-text > * { opacity: 1; transform: none; }
body.ep .hm-hero .hero-slide.active .hm-hero-text > :nth-child(2) { transition-delay: 0.08s; }
body.ep .hm-hero .hero-slide.active .hm-hero-text > :nth-child(3) { transition-delay: 0.18s; }
body.ep .hm-hero .hero-slide.active .hm-hero-text > :nth-child(4) { transition-delay: 0.28s; }
body.ep .hm-hero .hm-hero-media { opacity: 0; transform: translateX(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
body.ep .hm-hero .hero-slide.active .hm-hero-media { opacity: 1; transform: none; transition-delay: 0.12s; }

/* 底部切换条 */
body.ep .hm-hero-bar { position: relative; z-index: 6; border-top: 1px solid var(--ed-line); }
body.ep .hm-hero-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 20px; }
body.ep .hm-hero .hero-dots, body.ep .hm-hero .hero-arrows { position: static; }
body.ep .hm-hero .hero-dots { gap: 32px; }
body.ep .hm-hero .hero-dot {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0 8px;
  color: var(--ed-mute);
  font-size: 13px;
  letter-spacing: 0.1em;
  border-bottom: 2px solid transparent;
}
body.ep .hm-hero .hero-dot b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
body.ep .hm-hero .hero-dot:hover { color: var(--ed-ink); }
body.ep .hm-hero .hero-dot.active { color: var(--ed-ink); border-bottom-color: var(--ed-blue); }
body.ep .hm-hero .hero-arrows { gap: 8px; }
body.ep .hm-hero .hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ed-line);
  color: var(--ed-ink);
  background: #fff;
}
body.ep .hm-hero .hero-arrow:hover { background: var(--ed-blue); border-color: var(--ed-blue); color: #fff; }

/* 首页头图 — 直接使用已裁好的图片，仅在窄屏防止图片横向溢出 */
body.ep .hm-hero-photo {
  position: relative;
  background: var(--ed-alt);
}
body.ep .hm-hero-photo > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

/* ============================================================
   紧凑毛玻璃四联卡 — 图标、标题、补充信息分别对齐
   ============================================================ */
body.ep .hm-hero-trust {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  z-index: 2;
  width: var(--page-w);
  margin: 0 auto;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: 0 -2px 24px rgba(9, 36, 66, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
body.ep .hm-hero-trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.ep .hm-hero-trust-list li {
  display: grid;
  grid-template-rows: 22px 24px 20px;
  row-gap: 6px;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}
body.ep .hm-hero-trust-list li + li { border-left: 1px solid rgba(29, 29, 31, 0.12); }
body.ep .hm-credential-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  color: var(--ed-blue);
}
body.ep .hm-hero-trust-list b {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: var(--ed-ink);
}
body.ep .hm-hero-trust-list span {
  display: block;
  font-size: 12px;
  line-height: 20px;
  color: var(--ed-body);
}

@media (max-width: 1200px) {
  body.ep .hm-hero-trust-list b { font-size: 14px; }
}

/* ============================================================
   公司简介 — 浅灰带 + 实景图组（对应 about 实景图带）
   ============================================================ */
body.ep .hm-about { background: var(--ed-alt); border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
body.ep .hm-about-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: start; }
body.ep .hm-facts { margin: 32px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
body.ep .hm-facts li { border-top: 1px solid var(--ed-line-2); padding-top: 14px; }
body.ep .hm-facts b { display: block; font-size: 17px; font-weight: 600; color: var(--ed-ink); font-variant-numeric: tabular-nums; }
body.ep .hm-facts span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.7; color: var(--ed-mute); }

body.ep .hm-about-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
body.ep .hm-photo-lg { grid-column: 1 / -1; }
body.ep .hm-photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #e6e6ea;
}
body.ep .hm-photo-lg img { aspect-ratio: 16/8.4; }
body.ep .hm-photo figcaption {
  margin-top: 11px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ed-mute);
}

/* ============================================================
   智能制造设备
   ============================================================ */
body.ep .hm-eq { background: #fff; }
body.ep .hm-eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body.ep .hm-eq-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(9, 36, 66, 0.03);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
body.ep .hm-eq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 36px rgba(9, 36, 66, 0.10);
}
body.ep .hm-eq-img {
  height: 200px;
  background: linear-gradient(180deg, #fafafa 0%, var(--ed-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
body.ep .hm-eq-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.6s ease; }
body.ep .hm-eq-card:hover .hm-eq-img img { transform: scale(1.04); }
body.ep .hm-eq-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
body.ep .hm-eq-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ed-ink); }
body.ep .hm-eq-body p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--ed-mute); flex: 1; }
body.ep .hm-eq-meta {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 12px;
  color: var(--ed-blue);
  border: 1px solid rgba(0, 102, 204, 0.3);
  border-radius: 999px;
  padding: 3px 11px;
}

/* ============================================================
   气体纯化设备系列（h-* · 编辑式行卡）
   ============================================================ */
body.ep .h-sec { padding: 36px 0; }
body.ep .h-series { background: var(--ed-alt); border-top: 1px solid var(--ed-line); }
body.ep .h-link { color: var(--ed-blue); }
body.ep .h-series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.ep .h-series-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 20px 22px 20px 20px;
  box-shadow: 0 4px 14px rgba(9, 36, 66, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
body.ep .h-series-card:hover {
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 36px rgba(9, 36, 66, 0.10);
  transform: translateY(-3px);
}
body.ep .h-series-img {
  height: 158px;
  background: linear-gradient(180deg, #fafafa 0%, var(--ed-alt) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}
body.ep .h-series-img img { max-height: 138px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
body.ep .h-series-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ed-ink); margin-top: 6px; }
body.ep .h-series-body p { font-size: 13px; color: var(--ed-mute); line-height: 1.7; margin-top: 8px; }
body.ep .h-series-card:hover h3 { color: var(--ed-blue); }
body.ep .h-model { color: var(--ed-blue); }

/* ============================================================
   主要产品 — 净化机系列 + 科研级成套装备合并栏目
   ============================================================ */
body.ep .hm-products { background: var(--ed-alt); border-top: 1px solid var(--ed-line); }
body.ep .hm-products .hm-prod-sub {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin: 0 0 16px;
}
body.ep .hm-products .h-series-grid + .hm-prod-sub { margin-top: 28px; }
body.ep .hm-products .hm-prod-sub h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ed-ink);
}

/* ============================================================
   荣誉资质（照搬关于普瑞页面 ap-cert-grid 结构）
   ============================================================ */
body.ep .hm-cert { background: #fff; }
body.ep .hm-cert .ap-cert-frame img { border-radius: 12px; }
/* 放开高度上限：max-height 压缩高度后 object-fit: contain 会在图片两侧留白 */
body.ep .hm-cert .ap-cert-frame.landscape img { max-height: 300px; }
/* 竖版证书：卡片改为块级排版（纵向 flex 会让 aspect-ratio 高度被内容反向撑开），
   外框以统一宽高比撑出等高区域，图片拉伸到等高、宽度随各自比例自适应（内容零裁切） */
body.ep .hm-cert .ap-cert-card { display: block; }
body.ep .hm-cert .ap-cert-frame.portrait {
  aspect-ratio: 555 / 754;
}
body.ep .hm-cert .ap-cert-frame.portrait img {
  max-height: none;
  width: auto;
  height: auto;
  align-self: stretch;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* 专利与创新：复用 about 页的 .ab-patent-* 横向证书带，仅补首页底色 */
body.ep .hm-patent { background: #fff; }

/* ============================================================
   公司要闻 — 头条大卡 + 要闻列表
   ============================================================ */
body.ep .hm-news { background: var(--ed-alt); border-top: 1px solid var(--ed-line); }
body.ep .hm-news-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 22px; align-items: stretch; }
body.ep .hm-news-year {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--ed-blue);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
body.ep .hm-news-tag { font-size: 12px; color: var(--ed-mute); letter-spacing: 0.02em; }

body.ep .hm-news-feat {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(9, 36, 66, 0.03);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
body.ep .hm-news-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.09);
}
body.ep .hm-news-feat-media { overflow: hidden; }
body.ep .hm-news-feat-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1080 / 620;
  max-height: 264px;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s ease;
}
body.ep .hm-news-feat:hover .hm-news-feat-media img { transform: scale(1.045); }
body.ep .hm-news-feat-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; flex: 1; min-height: 0; padding: 14px 30px 16px; }
body.ep .hm-news-feat h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ed-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
body.ep .hm-news-feat:hover h3 { color: var(--ed-blue); }
body.ep .hm-news-fresh { color: #d0342c; }
body.ep .hm-news-more { align-self: flex-start; margin-top: 0; padding-top: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ed-blue); }
body.ep .hm-news-more svg { width: 15px; height: 15px; transition: transform 0.3s; }
body.ep .hm-news-feat:hover .hm-news-more svg { transform: translateX(4px); }

body.ep .hm-news-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: auto;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(9, 36, 66, 0.03);
}
body.ep .hm-news-item {
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  transition: background 0.25s;
}
body.ep .hm-news-item + .hm-news-item { border-top: 1px solid rgba(0, 0, 0, 0.06); }
body.ep .hm-news-item:hover { background: var(--ed-alt); }
body.ep .hm-news-item-body { flex: 1; min-width: 0; }
body.ep .hm-news-item h3 {
  margin-top: 6px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ed-ink);
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ep .hm-news-item:hover h3 { color: var(--ed-blue); }
body.ep .hm-news-item-meta { display: flex; align-items: center; gap: 10px; }
body.ep .hm-news-item-meta .hm-news-tag { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ep .hm-news-desc {
  margin: 9px 0 0;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--ed-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.ep .hm-news-arrow { width: 16px; height: 16px; color: var(--ed-mute); transition: transform 0.3s, color 0.3s; }
body.ep .hm-news-item:hover .hm-news-arrow { transform: translateX(4px); color: var(--ed-blue); }

/* ============================================================
   四大业务（ap-hm-* · 对齐 about 页 ap-biz-card）
   ============================================================ */
body.ep .ap-hm-sec { padding: 36px 0; }
body.ep .ap-hm-alt { background: #fff; }
body.ep .ap-hm-title {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ed-ink);
}
body.ep .ap-hm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ed-line);
}
body.ep .ap-hm-head-desc { max-width: 420px; color: var(--ed-mute); font-size: 13.5px; line-height: 1.8; }

body.ep .ap-hm-biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
body.ep .ap-hm-biz-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(9, 36, 66, 0.04);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
body.ep .ap-hm-biz-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.28);
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.09);
}
body.ep .ap-hm-biz-img {
  position: relative;
  width: 100%;
  /* 四张卡图（images/biz-card-*.webp）均为 3:2 统一构图，与容器比例一致，完整显示不裁切 */
  aspect-ratio: 3 / 2;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
body.ep .ap-hm-biz-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
body.ep .ap-hm-biz-card:hover .ap-hm-biz-img img { transform: scale(1.03); }
body.ep .ap-hm-biz-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
body.ep .ap-hm-biz-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ed-ink); transition: color 0.3s; }
body.ep .ap-hm-biz-card:hover h3 { color: var(--ed-blue); }
body.ep .ap-hm-biz-body p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ed-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ep .ap-hm-biz-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ed-blue); }
body.ep .ap-hm-biz-more svg { width: 15px; height: 15px; transition: transform 0.3s; }
body.ep .ap-hm-biz-card:hover .ap-hm-biz-more svg { transform: translateX(4px); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  body.ep .hm-sec, body.ep .ap-hm-sec, body.ep .h-sec { padding: 30px 0; }
  body.ep .hm-head, body.ep .ap-hm-head, body.ep .h-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  body.ep .hm-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 56px; }
  body.ep .hm-hero-frame { height: 300px; }
  /* 窄屏资质卡转为常规排布，只保留 22px 的底部悬出，避免压住头图 */
  body.ep .hm-hero-trust {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: -22px auto 0;
  }
  body.ep .hm-hero-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ep .hm-hero-trust-list li { padding: 14px 12px; }
  body.ep .hm-hero-trust-list li:nth-child(3) { border-left: none; }
  body.ep .hm-hero-trust-list li:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, 0.08); }
  body.ep .hm-about-grid { grid-template-columns: 1fr; gap: 44px; }
  body.ep .hm-eq-grid { grid-template-columns: repeat(2, 1fr); }
  body.ep .hm-news-grid { grid-template-columns: 1fr; }
  body.ep .hm-news-feat, body.ep .hm-news-list { height: auto; }
  body.ep .ap-hm-biz-grid { grid-template-columns: repeat(2, 1fr); }
  body.ep .h-series-grid { grid-template-columns: repeat(2, 1fr); }
  body.ep .hm-products .h-series-grid + .hm-prod-sub { margin-top: 24px; }
}
@media (max-width: 640px) {
  body.ep .hm-sec, body.ep .ap-hm-sec, body.ep .h-sec { padding: 26px 0; }
  body.ep .hm-head, body.ep .ap-hm-head, body.ep .h-head { margin-bottom: 20px; }
  body.ep .hm-hero-title { font-size: 30px; }
  body.ep .hm-hero-inner { padding: 40px 0 44px; gap: 30px; }
  body.ep .hm-hero-frame { height: 240px; padding: 18px; }
  body.ep .hm-hero .hero-dots { gap: 14px; }
  body.ep .hm-hero .hero-dot span { display: none; }
  body.ep .hm-hero .hero-arrows { display: none; }
  /* 窄屏用紧凑文字行，保留底部略微悬出的效果 */
  body.ep .hm-hero-trust {
    width: calc(100% - 16px);
    padding: 4px 8px;
    border-radius: 8px;
  }
  body.ep .hm-hero-trust-list { grid-template-columns: 1fr; }
  body.ep .hm-hero-trust-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    column-gap: 6px;
    padding: 2px 0;
    text-align: left;
  }
  body.ep .hm-hero-trust-list li + li {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  body.ep .hm-credential-icon { display: none; }
  body.ep .hm-hero-trust-list b { justify-content: flex-start; font-size: 12px; line-height: 22px; white-space: nowrap; }
  body.ep .hm-hero-trust-list span { font-size: 11px; line-height: 22px; text-align: right; white-space: nowrap; }
  body.ep .hm-facts { grid-template-columns: 1fr; gap: 14px; }
  body.ep .hm-about-media { grid-template-columns: 1fr; }
  body.ep .hm-photo-lg img, body.ep .hm-photo img { aspect-ratio: 16/10; }
  body.ep .hm-eq-grid { grid-template-columns: 1fr; }
  body.ep .hm-news-feat { min-height: 0; }
  body.ep .hm-news-feat-media img { max-height: 195px; }
  body.ep .hm-news-feat-body { padding: 14px 22px 17px; }
  body.ep .hm-news-feat h3 { font-size: 18px; white-space: normal; overflow: visible; text-overflow: clip; }
  body.ep .hm-news-item { padding: 14px 20px; gap: 14px; }
  body.ep .hm-news-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }
  body.ep .ap-hm-biz-grid { grid-template-columns: 1fr; }
  body.ep .h-series-grid { grid-template-columns: 1fr; }
  body.ep .h-series-card { grid-template-columns: 96px 1fr; }
  body.ep .h-series-img { height: 130px; }
  body.ep .h-series-img img { max-height: 110px; }
  body.ep .hm-products .h-series-grid + .hm-prod-sub { margin-top: 20px; }
  body.ep .hm-products .hm-prod-sub h3 { font-size: 18px; }
}
