/* ============================================================
   内容页版式变体（archetype）
   目的：拆掉「全站同一套骨架」的模板感。
   现状（2026-11 体检）：97% 页面有「常见问题」、77.5% 有同一个
   「想了解更多新加坡留学资讯？」CTA、73% 用同一张背景图 hero、
   H2 数量众数是 15——页面之间可替换，百度按模板站处理。

   用法：在原有 class 后面追加一个变体类，不改变既有样式。
     <section class="page-hero content-hero hero-exam cp-hero--light">
     <section class="page-hero content-hero hero-exam cp-hero--split">
   配套：hero 之后的 .cp-data-strip（关键数字），页尾的 .cp-cta-inline。
   ============================================================ */

/* --- 变体 1：轻 hero（数据页 / 解释型页） ---------------------
   去掉大图，白底、细下边线，把注意力交给正文的表格。
   用于：题量结构、录取分、费用对照这类「来查数据」的页面。 */
.cp-hero--light {
  background: #fff !important;
  color: var(--ink, #1f2328) !important;
  border-bottom: 1px solid var(--line, #e6e0d6);
  min-height: 0;
  padding-top: clamp(26px, 3.6vw, 40px);
  padding-bottom: clamp(22px, 3vw, 34px);
}
.cp-hero--light h1 {
  color: var(--ink, #1f2328);
  max-width: 20em;
}
.cp-hero--light .hero-subtitle,
.cp-hero--light > p:not(.eyebrow) {
  color: #5b5b5b !important;
  max-width: 46em;
}
.cp-hero--light .eyebrow {
  color: var(--brand-strong, #c62828) !important;
  background: rgba(198, 40, 40, .08) !important;
  backdrop-filter: none;
}

/* --- 变体 2：左右分栏 hero（指南型页） ------------------------
   左边标题与导语，右边三个「先记住这几条」的要点卡。
   让页面第一屏就说清楚它和其它页的区别。 */
.cp-hero--split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
  justify-content: initial;
}
.cp-hero--split .cp-hero-copy { min-width: 0; }
.cp-hero--split .cp-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cp-hero--split .cp-hero-points li {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
}
.cp-hero--split .cp-hero-points b {
  display: block;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .78;
  margin-bottom: 2px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .cp-hero--split { grid-template-columns: 1fr; align-items: start; }
}

/* --- 关键数字条（紧跟 hero，数据页专用） ---------------------- */
.cp-data-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px auto 0;
  max-width: 1240px;
  padding-left: max(clamp(20px, 6vw, 56px), calc((100% - 1240px) / 2 + 80px));
  padding-right: max(clamp(20px, 6vw, 56px), calc((100% - 1240px) / 2 + 80px));
}
.cp-stat {
  flex: 1 1 180px;
  background: #fbf8f2;
  border: 1px solid #eee4d6;
  border-radius: 12px;
  padding: 14px 18px;
}
.cp-stat b {
  display: block;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.15;
  font-weight: 850;
  color: var(--brand-strong, #c62828);
  font-variant-numeric: tabular-nums;
}
.cp-stat span {
  display: block;
  font-size: 13px;
  color: #6b6b6b;
  margin-top: 4px;
  line-height: 1.5;
}

/* --- 紧凑 CTA（替代全站同一句的大 CTA） ---------------------- */
.cp-cta-inline {
  max-width: 1240px;
  margin: 44px auto 0;
  padding-left: max(clamp(20px, 6vw, 56px), calc((100% - 1240px) / 2 + 80px));
  padding-right: max(clamp(20px, 6vw, 56px), calc((100% - 1240px) / 2 + 80px));
}
.cp-cta-inline .cp-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  background: #fbf8f2;
  border: 1px solid #eee4d6;
  border-radius: 14px;
  padding: 16px 20px;
}
.cp-cta-inline p {
  margin: 0;
  font-size: 15px;
  color: #3c3c3c;
  line-height: 1.7;
  flex: 1 1 320px;
}
.cp-cta-inline a.cp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-strong, #c62828);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.cp-cta-inline a.cp-cta-btn:hover { filter: brightness(.94); }

/* --- 问答折叠（替代「常见问题」大段罗列） -------------------- */
.cp-qa { margin: 8px 0 0; }
.cp-qa details {
  border-bottom: 1px solid #eee4d6;
  padding: 14px 0;
}
.cp-qa summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink, #1f2328);
  list-style: none;
}
.cp-qa summary::-webkit-details-marker { display: none; }
.cp-qa summary::before {
  content: "＋";
  color: var(--brand-strong, #c62828);
  margin-right: 8px;
  font-weight: 800;
}
.cp-qa details[open] summary::before { content: "－"; }
.cp-qa details p {
  margin: 10px 0 0;
  color: #4a4a4a;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .cp-data-strip { gap: 10px; }
  .cp-stat { flex: 1 1 100%; }
}
