/* 全站统一字体规范（site-type）：标题/副标题/正文统一，标题一行 */
:root {
  --st-h1: 44px;
  --st-h2: 30px;
  --st-h3: 20px;
  --st-body: 16px;
  --st-eyebrow: 13px;
}
/* 主标题 h1 —— 正式专业，响应式（桌面一行，移动端小字号、允许换行防溢出） */
h1 {
  font-size: clamp(28px, 3.2vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}
h1[id*="-title"], section[class*="hero"] h1 {
  white-space: normal !important;
  overflow-wrap: break-word !important;
}
/* section 标题 h2 —— 短标题一行，长标题平衡换行防溢出 */
h2 {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.005em !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  text-wrap: balance !important;
}
/* 卡片/子标题 h3 */
h3 { font-size: clamp(18px, 1.6vw, 20px) !important; font-weight: 600 !important; line-height: 1.3 !important; }
h4 { font-size: 18px !important; font-weight: 600 !important; }

/* 正文 —— 强制 16px/400（提高特异性，覆盖页面类选择器） */
body p, body li, body .section-desc, body .section-header p,
body div[class*="__summary"], body div[class*="__lead"], body div[class*="__copy"] p,
main p, article p {
  font-size: var(--st-body) !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
/* eyebrow 副标题/标签 —— 一行（只作用于 eyebrow 类，作者/日期这类小 meta 不 here） */
[class*="eyebrow"], .section-header .eyebrow {
  font-size: var(--st-eyebrow) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
/* 文章正文段（bl-article__body p）保持正文 */
.bl-article__body p, .bl-article__lead {
  font-size: var(--st-body) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

/* 案例卡片标题：按原始设计稿单行省略 + 小字号（不被全局 h3 换成多行大字号） */
.cs-case-card h3, .cd-case-card h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

/* 首页 Global Case Studies 案例卡片标题：单行省略 + 小字号（覆盖全局 h3 多行大字号） */
.case-card h3 {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
