/* ================================================
 * Corpsite - 设计系统
 * 工伤预防行业官网
 * ================================================ */

:root {
  /* 颜色 */
  --primary: #263D8F;
  --primary-mid: #EE7C4F;
  --primary-light: #F4946A;
  /* Auxiliary color used as the secondary stop in gradients.
   * Distinct from --primary-mid (#EE7C4F orange) which stays for hover
   * states, button colors, borders — only the gradient aux is #008FD7. */
  --gradient-aux: #008FD7;
  --accent: #EE7C4F;
  --accent-dark: #D56538;
  --success: #00C2A0;
  --warning: #FFB800;
  --text: #1A2347;
  --text-mid: #4A5578;
  --text-dim: #6B7390;
  --text-faint: #A0A8B8;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-card: #F0F4F9;
  --border: #E0E8F5;
  --shadow-sm: 0 2px 8px rgba(38,61,143,.06);
  --shadow: 0 4px 20px rgba(38,61,143,.08);
  --shadow-lg: 0 12px 40px rgba(38,61,143,.12);

  /* 字号 */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;
  --fs-64: 4rem;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  /* 缓动 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* 容器 */
  --container: 1280px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ================================================
 * 移动端导航（重写）
 * 设计：紧凑 + 大触摸区 + 清晰层级
 * ================================================ */

/* ===== 顶部条 ===== */
/* ===== 顶部条（基础 + Logo + 桌面菜单 + 桌面 CTA） ===== */
/* ================================================
 * 顶部导航条（共用，JS 动态注入）
 * 干净版本：顶部条 + Logo + 桌面菜单 + 桌面电话 + 汉堡按钮
 * ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* 透明背景，让下面的 Hero 透出来 */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 24px;
}

/* 滚出 Hero 后：白色背景 + 边框 + 阴影 */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(38, 61, 143, 0.08);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(38, 61, 143, 0.04), 0 8px 24px rgba(38, 61, 143, 0.05);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #263D8F;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 22px; }

/* settings-driven logo image variant — the source image is a
 * two-panel composite: left half = brand-blue background,
 * right half = white background. We display ONE half at a time and
 * pick which half based on the navbar state:
 *
 *   .navbar (transparent, sitting on hero)         → right half (white bg)
 *   .navbar.scrolled (solid white, after scroll)    → left half (blue bg)
 /* settings-driven logo image variant — the source image is a
  * two-panel composite: the LEFT half has a brand-blue background,
  * the RIGHT half has a white background (each half carries the
  * brand mark in the appropriate color for its background).
  *
  * Per spec, exactly ONE half is rendered at any time, picked by CSS:
  *
  *   .navbar                  (transparent over .hero) → RIGHT half (white)
  *   .navbar.scrolled         (solid white after scroll) → LEFT half (blue)
  *
  * All non-home pages render with .navbar.scrolled from the start
  * (no .hero to anchor the transparent state) so the LEFT (blue)
  * half is what users see everywhere except the home hero.
  *
  * Implementation: the <img> is rendered at its FULL natural width,
  * but the .nav-logo-icon--image container clips to HALF that width
  * with overflow:hidden. We shift the image horizontally with
  * transform: translateX(-50%) to switch which half is visible.
  */
 .nav-logo-icon--image {
   /* Match .nav-logo-icon's default 40x40 size — this is the SVG-icon
    * size the layout was designed around. The image fills this box
    * via object-fit:cover on the <img>, with translateX showing only
    * one panel at a time. */
   width: 40px;
   height: 40px;
   border-radius: 6px;
   background: transparent;
   padding: 0;
   overflow: hidden;
   position: relative;
 }
 .nav-logo-icon--image img {
   /* Scale the source 614x307 logo to fit the 40x40 viewport while
    * keeping the original aspect ratio. Height = 40px, width scales
    * proportionally to 80px. translateX shifts which half is visible.
    *
    * The source logo is composed as a 4:1 layout where the left 1/4
    * has a brand-blue background and the right 3/4 has a white
    * background. With image width 80 in a 40 viewport:
    *   translateX(20px)  → viewport shows columns 0..40   (left half = blue)
    *   translateX(-20px) → viewport shows columns 40..80  (right half = white)
    */
   width: 80px;             /* height-scaled at 2:1 */
   min-width: 80px;
   max-width: none;
   height: 40px;
   flex-shrink: 0;
   display: block;
   /* Default (hero, transparent navbar) = LEFT (blue) panel visible. */
   transform: translateX(-20px);
 }
 /* Scrolled (solid white navbar): shift the image RIGHT so the LEFT
  * (blue) panel slides into view. */
 .navbar.scrolled .nav-logo-icon--image img {
   transform: translateX(20px);
 }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  /* Reserve room for "易训|智能风险减量" so the nav doesn't reflow
   * when applySettingsToDom() fills the placeholders in. Without
   * this fixed width the text column collapses to 0 on first paint
   * (settings still loading) and the rest of the nav row shifts
   * right by ~66px once the name + tagline land. min-width matches
   * the widest plausible Chinese site name + tagline (≈6 chars
   * brand + 6 chars tagline at 17px) so the right-side nav-menu /
   * nav-search / nav-cta never have to reflow. */
  min-width: 132px;
}
.nav-logo-text .name {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  white-space: nowrap;
  transition: color 0.3s;
}
/* 透明状态（在 Hero 上方）— 文字白色 */
.navbar:not(.scrolled) .nav-logo-text .name { color: white; }
.navbar:not(.scrolled) .nav-logo-text .tagline { color: rgba(255,255,255,0.7); }
.nav-logo-text .tagline {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
  font-weight: 500;
}

/* 桌面菜单 */
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s, background 0.3s;
}
.nav-menu a:hover {
  color: var(--primary);
  background: rgba(238, 124, 79, 0.04);
}
.nav-menu a.active {
  color: var(--primary);
  font-weight: 700;
}
/* 透明态（Hero 上方）— 菜单白色 */
.navbar:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.85); }
.navbar:not(.scrolled) .nav-menu a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}
.navbar:not(.scrolled) .nav-menu a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* 右侧 CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(238, 124, 79, 0.04);
  transition: background 0.3s, color 0.3s;
}
/* 透明态：白色背景胶囊 */
.navbar:not(.scrolled) .nav-phone {
  background: rgba(255,255,255,0.18);
  color: white;
  backdrop-filter: blur(10px);
}
.navbar:not(.scrolled) .nav-phone:hover { background: rgba(255,255,255,0.28); }
.nav-phone:hover { background: rgba(238, 124, 79, 0.08); }
.nav-phone svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* 搜索框（导航栏内） */
.nav-search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 4px 4px 4px 16px;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav-search:focus-within {
  border-color: var(--primary);
  background: #fff;
}
.navbar:not(.scrolled) .nav-search {
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.navbar:not(.scrolled) .nav-search:focus-within {
  background: rgba(255,255,255,0.96);
}
.nav-search-input {
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 14px;
  width: 200px;
  color: inherit;
  font-family: inherit;
}
.nav-search-input::placeholder { color: var(--text-dim); }
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-search-btn svg { width: 16px; height: 16px; }
.nav-search-btn:hover { background: #0055aa; }

/* 汉堡按钮（默认隐藏） */
.mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  /* 默认透明态：无边框 + 半透明白底 */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, border-color 0.3s;
}
/* 滚出后（scrolled 状态）：白底实心 + 浅灰边框 */
.navbar.scrolled .mobile-btn {
  background: #FFFFFF;
  border-color: rgba(38, 61, 143, 0.12);
}


.mobile-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.mobile-btn .line {
  transform-origin: 12px 12px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}


/* 激活态（菜单展开）：按钮外观完全不变，只靠线条 X 动画区分 */
.mobile-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.navbar.scrolled .mobile-btn.active {
  background: #FFFFFF;
  border-color: rgba(38, 61, 143, 0.12);
}

.mobile-btn.active .line-top { transform: translateY(5px) rotate(45deg); }
.mobile-btn.active .line-mid { opacity: 0; transform: scaleX(0); }
.mobile-btn.active .line-bot { transform: translateY(-5px) rotate(-45deg); }

/* ================================================
 * 响应式：单一断点（避免冲突）
 * ================================================ */
@media (max-width: 1024px) {
  /* 桌面菜单隐藏 */
  .nav-menu { display: none; }
  /* 电话隐藏 */
  .nav-phone { display: none; }
  /* 搜索隐藏（移动端用全屏搜索入口） */
  .nav-search { display: none; }
  /* 汉堡按钮显示 */
  .mobile-btn { display: flex; }
}

@media (max-width: 900px) {
  /* 紧凑布局 */
  .nav-inner { height: 60px; padding: 0 12px; gap: 0; }
  .nav-logo-icon { width: 36px; height: 36px; }
  .nav-logo-icon svg { width: 20px; height: 20px; }
  .nav-logo-text .name { font-size: 16px; }
  .nav-logo-text .tagline { font-size: 10px; }
  /* Same anti-reflow reservation as desktop, sized for the smaller
   * 16px brand and 10px tagline at the mobile viewport. */
  .nav-logo-text { min-width: 96px; }
  /* 抽屉菜单从 60px 开始（由 JS 设置） */
  /* Logo image variant — keep the desktop half-switch logic but at
   * the smaller 36x36 viewport: img is 72x36, translateX is ±18px
   * (half of the new container width). */
  .nav-logo-icon--image { width: 36px; height: 36px; }
  .nav-logo-icon--image img {
    width: 72px;
    min-width: 72px;
    height: 36px;
    /* default: right (white) panel */
    transform: translateX(-18px);
  }
  .navbar.scrolled .nav-logo-icon--image img {
    transform: translateX(18px);
  }
}

/* ================================================
 * 移动端菜单（抽屉式）
 * 结构：<div class="mobile-menu"> > <div class="mobile-menu-content">
 *         > <div class="nav-items"> + <a class="menu-phone">
 * ================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;                  /* 移动端导航高度 */
  left: 0;
  width: 100%;
  /* 用 height 而非 bottom：避免 fixed 嵌套 fixed 的高度 bug */
  height: calc(100vh - 60px);
  background: rgba(38, 61, 143, 0.5);    /* 半透明遮罩 */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  display: block;
  animation: menuFadeIn 0.25s var(--ease-out);
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 抽屉白色面板 */
.mobile-menu-content {
  background: #FFFFFF;
  padding: 12px 16px 24px;
  min-height: auto;
  box-shadow: 0 8px 24px rgba(38, 61, 143, 0.15);
}

/* 菜单项容器 */
.mobile-menu .nav-items {
  display: flex;
  flex-direction: column;
}

/* 单个菜单项 */
.mobile-menu .nav-item,
.mobile-menu .nav-items a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  margin: 2px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  border-bottom: 1px solid var(--border-light, #F0F4F9);
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu .nav-items a:last-child { border-bottom: none; }
.mobile-menu .nav-items a:active {
  background: rgba(238, 124, 79, 0.06);
}
.mobile-menu .nav-items a.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(238, 124, 79, 0.06);
}
.mobile-menu .nav-items a::after {
  content: '›';
  font-size: 22px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1;
}
.mobile-menu .nav-items a.active::after { color: var(--accent); }

/* 底部电话按钮 */
.mobile-menu .menu-phone {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px !important;
  background: var(--accent);
  color: white !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 12px;
  text-decoration: none;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu .menu-phone:active {
  background: var(--accent-dark);
}
.mobile-menu .menu-phone::after { content: '' !important; }
.mobile-menu .menu-phone svg { width: 18px; height: 18px; }



/* ================================================
 * Hero
 * ================================================ */
.hero {
  position: relative;
  /* Fill exactly one screen — use dvh on mobile so the address-bar
   * collapse doesn't shrink the hero below the fold. */
  min-height: 100vh;
  min-height: 100dvh;
  padding: 140px 0 96px;
  /* Smooth diagonal gradient: brand primary (#263D8F) dominant, with
   * the auxiliary blue (#008FD7) as a subtle accent at the far edge
   * (so the hero never feels like a different brand). */
  background: linear-gradient(135deg, #263D8F 0%, #1F4FA3 65%, #008FD7 100%);
  color: white;
  /* 完全禁止滚动条（内容溢出也裁剪） */
  overflow: hidden;
  display: flex;
  align-items: center;
  contain: layout style;
  min-width: 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    rgba(74,144,226,.25),
    rgba(238,124,79,.15),
    rgba(0,194,160,.1);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  /* Left:content narrower | Right:video wider.
   * Video gets ~25% more column space so its 16:9 stage grows vertically
   * in proportion, balancing the brand-thesis headline on the left. */
  grid-template-columns: 0.95fr 1.25fr;
  gap: 48px;
  align-items: center;
  min-width: 0;
}
/* Eyebrow — small-caps brand tag with a thin rule.
 * Replaces the templated "pill badge" with something quieter. */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.hero-eyebrow-rule {
  display: inline-block;
  width: 36px; height: 1px;
  background: rgba(255,255,255,.5);
}
.hero h1 {
  /* "易训" is the brand and the thesis — give it the dominant
   * typographic moment so the page reads top-down: brand → claim → proof.
   * Sized so it dominates without overpowering the video module to its right. */
  font-size: clamp(48px, 6vw, 84px); font-weight: 900;
  line-height: 1; margin-bottom: 20px; letter-spacing: -0.03em;
}
/* Signature accent rule under the headline — echoes the hero
 * gradient's endpoint color. Single memorable mark. */
.hero-rule {
  width: 64px; height: 3px;
  background: #008FD7;
  margin-bottom: 32px;
  border-radius: 2px;
}
.hero-lead {
  font-size: 19px; color: rgba(255,255,255,.92); margin-bottom: 12px;
  max-width: 560px; line-height: 1.65;
}
.hero-lead-en {
  font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 44px;
  max-width: 560px; line-height: 1.55;
  font-style: italic;
  letter-spacing: 0.01em;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.3s var(--ease-out),
              color 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 8px 24px rgba(238,124,79,.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(238,124,79,.45); }
.btn-secondary {
  background: rgba(255,255,255,.1); color: white;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.btn-outline {
  background: white; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

/* "Data row" stats: a single horizontal row with hairline dividers
 * between items, framed by a thin top rule. Reads as proof, not decoration. */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 100%;
  contain: layout paint;
  min-width: 0;
}
.stat-item {
  text-align: left;
  padding: 4px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,.12);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
/* 数字容器：等宽数字 + flex（自动居中），避免宽度变化影响外层布局。
 * line-height 1.15 而不是 1：给大号粗体字一点顶部留白，让字形视觉中心和
 * 下方 label 的视觉中心对齐（label 用 line-height: 1.6 在 20px 行盒里
 * 居中显示）。 */
.stat-num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  max-width: 100%;
  /* 关键：禁止内部换行。当 cell 紧张时 [data-counter] 内部
   * 文字会换行（"80,000" / "+" 各一行）。nowrap 强制单行。 */
  white-space: nowrap;
}
.stat-num [data-counter] {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
}
.stat-num .unit {
  font-size: 14px;
  opacity: .7;
  font-weight: 500;
  margin-left: 0.25em;
  flex-shrink: 0;
  white-space: nowrap;
}
.stat-label { font-size: 12.5px; color: rgba(255,255,255,.7); letter-spacing: 0.02em; }

/* Hero 右侧视觉 */
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
  padding: 32px;
}
.hero-card-title {
  font-size: 13px; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px;
}
.hero-metric { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-metric:last-child { border-bottom: none; }
.hero-metric-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-metric-name { font-size: 14px; color: rgba(255,255,255,.85); }
.hero-metric-bar {
  flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden;
}
.hero-metric-fill { height: 100%; background: var(--primary-light); border-radius: 3px; }
.hero-metric-val { font-size: 16px; font-weight: 700; min-width: 56px; text-align: right; }

/* Floating shape decorations (circle + square) removed per spec —
 * replaced with a CSS gradient on .hero (defined below under .hero). */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .hero { padding: 120px 0 64px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-width: 0;            /* 允许 grid 项收缩 */
  }
  .hero-grid > * {
    min-width: 0;            /* 防止子元素撑大 */
    max-width: 100%;
  }
  .hero h1,
  .hero p,
  .hero-lead,
  .hero-eyebrow {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-stats { margin-top: 40px; padding-top: 20px; }
  .stat-item { padding: 4px 16px; }
  .hero-visual { display: none; }
}

/* ================================================
 * Section 通用
 * ================================================ */
section { padding: 60px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(238,124,79,.08); color: var(--primary-mid);
  font-size: 13px; font-weight: 700; margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: var(--primary); line-height: 1.2; margin-bottom: 16px;
}
.section-head p { font-size: 18px; color: var(--text-mid); line-height: 1.7; }
.section-head .divider {
  width: 60px; height: 4px; background: var(--accent);
  margin: 20px auto 0; border-radius: 2px;
}

/* ================================================
 * 核心业务

.section-action { text-align: center; margin-top: 48px; }

/* ================================================
 * 行业资讯（含视频动态）
 * ================================================ */
.news-section { background: var(--bg); }
.news-filter {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 32px; flex-wrap: wrap;
}
.news-filter-btn {
  padding: 8px 20px; border-radius: 100px;
  background: white; color: var(--text-mid);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.news-filter-btn:hover { color: var(--primary); border-color: var(--primary-mid); }
.news-filter-btn.active {
  background: var(--primary); color: white; border-color: var(--primary);
}
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0; transform: translateY(40px);
}
.news-card.in-view { opacity: 1; transform: translateY(0); transition: all 0.6s var(--ease-out); }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

/* ===== 行业资讯自动切换 + 动画 ===== */
.news-grid {
  position: relative;
  /* Fixed height so category switching does not cause vertical jumps
     even when a category has fewer than 3 articles */
  min-height: 520px;
  /* Align grid items to start so empty cells don't expand the row height */
  align-items: stretch;
}

.news-grid .news-card {
  /* Fixed height for each card so row height stays constant
     across categories regardless of how many articles a category has */
  display: flex;
  flex-direction: column;
  height: 480px;
}

.news-grid .news-card {
  /* 默认隐藏（用于切换时的淡出） */
  animation-fill-mode: both;
}

.news-grid.is-switching .news-card {
  animation: newsCardOut 0.35s var(--ease-out) forwards;
}

.news-grid .news-card {
  animation: newsCardIn 0.55s var(--ease-out) both;
}

/* 错落进场：每张卡片延迟 0.06s */
.news-grid .news-card:nth-child(1) { animation-delay: 0s; }
.news-grid .news-card:nth-child(2) { animation-delay: 0.06s; }
.news-grid .news-card:nth-child(3) { animation-delay: 0.12s; }

@keyframes newsCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes newsCardOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-12px) scale(0.98); }
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.news-pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.news-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text, #1A2347);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.news-page-btn:hover:not(:disabled) {
  border-color: var(--primary, #263D8F);
  color: var(--primary, #263D8F);
}
.news-page-btn.is-current {
  background: var(--primary, #263D8F);
  border-color: var(--primary, #263D8F);
  color: white;
  cursor: default;
}
.news-page-btn:disabled {
  cursor: default;
}
.news-page-ellipsis {
  color: var(--text-dim, #5a6b80);
  padding: 0 4px;
  user-select: none;
}
@media (max-width: 480px) {
  .news-page-btn { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
  .news-pagination { margin-top: 32px; padding-top: 16px; }
}

/* 自动切换的进度指示 */
.news-filter {
  position: relative;
}

.news-filter-btn .progress-bar {
  position: absolute;
  left: 0; bottom: -3px;
  height: 2px;
  background: rgba(238, 124, 79, 0.25);
  border-radius: 1px;
  width: 0;
  transition: width 0.1s linear;
}

.news-filter-btn.auto-progress .progress-bar {
  background: rgba(238, 124, 79, 0.45);
}

.news-filter-btn.auto-progress .progress-bar {
  width: 100%;
  transition: width 5s linear;
}

.news-filter-btn.paused .progress-bar {
  width: 0;
  transition: none;
}

/* 按钮 hover 时暂停 */
.news-filter:hover .news-filter-btn.active .progress-bar {
  width: 0;
  transition: none;
}

.news-cover {
  /* 16:10 aspect ratio so every card uses the same proportions whether
   * the cover is a real photo (any aspect) or the placeholder SVG.
   * The container clips with overflow:hidden; the background image
   * uses cover so anything fills without distorting. */
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--primary);
  transition: transform 0.4s var(--ease-out);
}
.news-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card:hover .news-cover { transform: scale(1.04); }

/* 列表页：同比例 cover（aspect-ratio 自动） */
.news-grid-list .news-card h3 { font-size: 18px; }
.news-grid-list .news-card-body p { -webkit-line-clamp: 4; max-height: 6.4em; }

/* news-cover-content is rendered as a fallback SVG element overlaid
 * on top of the background-image. It only shows when the cover image
 * is missing (placeholder path). Real images cover the entire space
 * with object-fit:cover, so the inline SVG would be a redundant icon
 * on top. We hide it by default and show only when the cover has no
 * background image (set via data-has-cover="false" on the card). */
.news-cover-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; opacity: 0;
  pointer-events: none;
}
.news-cover-content svg { width: 60px; height: 60px; }
.news-card[data-has-cover="false"] .news-cover-content {
  opacity: .35;
}
.news-card-body { padding: 20px 24px; }
.news-card-body p { margin: 0; line-height: 1.6; max-height: 6.4em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.news-meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 12px; font-size: 12px; color: var(--text-dim);
}
.news-cat {
  padding: 3px 10px; border-radius: 100px;
  background: rgba(238,124,79,.08); color: var(--primary-mid);
  font-weight: 600;
}
.news-card h3 {
  font-size: 16px; font-weight: 700; color: var(--primary);
  line-height: 1.5; margin-bottom: 12px;
}
.news-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* 视频卡片特殊样式 */
.news-card.video .news-cover { background: #6E5BFF; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform 0.3s var(--ease-bounce);
}
.news-card.video:hover .video-play { transform: translate(-50%, -50%) scale(1.15); }
.video-play svg { width: 20px; height: 20px; color: var(--primary); margin-left: 3px; }
.video-duration {
  position: absolute; bottom: 12px; right: 12px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(0,0,0,.7); color: white;
  font-size: 12px; font-weight: 600;
}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}


/* ================================================
 * Footer
 * 设计：深色底收尾块、3 列布局 + 底部备案
 * ================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
  /* No margin-top: the .culture-section above ends flush with the
   * dark footer so the body's white background never shows through. */
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-brand {
  /* 公司简介块 (logo + 简介) */
}
.footer-brand-row {
  margin-bottom: 20px;
}
.footer-brand .name {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* footer 联系方式 (客户电话/邮箱/地址) */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}
.footer-contact-item {
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}
.ci-label {
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.ci-value {
  color: rgba(255, 255, 255, 0.78);
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover {
  color: #008FD7;
  text-decoration: underline;
}

/* footer 微信二维码 (右侧) */
.footer-qr-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-qr img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 6px;
}
.footer-qr-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: center;
}
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: white;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-qr-col { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}


/* ================================================
 * 文章详情页 /corpsite/news/article.html?id=…
 * 设计：现代资讯站（少数派 / 36kr 风格）
 *   - 阅读容器 880px，正文 17px / 行高 1.85
 *   - 标题前 + 装饰条 / 作者头像首字 / 标签 / 分享 / 上下篇
 *   - 响应式单列
 * ================================================ */

.article-detail {
  background: var(--bg);
  min-height: 100vh;
  padding-top: 100px;
}

.article-container {
  max-width: 880px;
  padding: 40px 24px 80px;
}

/* 返回链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary-mid); }
.back-link svg { transition: transform 0.2s; }
.back-link:hover svg { transform: translateX(-2px); }

/* ====== 文章头 ====== */
.article-header {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.article-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background: var(--primary-mid);
  border-radius: 2px;
}

.meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.meta-category {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(238, 124, 79, 0.08);
  color: var(--primary-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.meta-dot { color: var(--text-faint); }
.meta-readtime, .meta-date { color: var(--text-dim); }

.article-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin: 0 0 24px;
}

/* 作者条 */
.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-mid);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}
.meta-author-info { display: flex; flex-direction: column; gap: 2px; }
.meta-author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.meta-author-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ====== 封面图 ====== */
.article-cover {
  margin: 0 0 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ====== 文章正文（prose 风格） ====== */
.article-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  font-weight: 400;
  word-wrap: break-word;
}
.article-body p {
  margin: 24px 0;
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin: 1.6em 0 0.6em;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 24px;
  padding-left: 14px;
  border-left: 4px solid var(--primary-mid);
  position: relative;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 16px;
  color: var(--text);
}
.article-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-body strong { color: var(--primary); font-weight: 700; }
.article-body em { color: var(--text-mid); font-style: italic; }
.article-body a {
  color: var(--primary-mid);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 124, 79, 0.3);
  transition: all 0.2s;
}
.article-body a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.article-body ul, .article-body ol {
  margin: 20px 0;
  padding-left: 28px;
}
.article-body li {
  margin: 8px 0;
  line-height: 1.85;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  margin: 28px 0;
  padding: 16px 20px 16px 24px;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-mid);
  font-style: italic;
}
.article-body blockquote p { margin: 6px 0; }
.article-body blockquote p:first-child { margin-top: 0; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--bg-card);
  border-radius: 4px;
  color: var(--accent-dark);
}
.article-body pre {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--primary);
  color: #f6f8fb;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
}
.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.article-body table th,
.article-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body table th {
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 600;
}
.article-body hr {
  margin: 40px auto;
  width: 60px;
  border: none;
  border-top: 2px dashed var(--border);
}

/* ====== 标签 ====== */
.article-tags {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tags-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-right: 4px;
}
.article-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--primary-mid);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.article-tag:hover {
  background: var(--primary-mid);
  color: #fff;
  border-color: var(--primary-mid);
}

/* ====== 分享 ====== */
.article-share {
  margin: 32px 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.share-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.share-btn:hover {
  background: var(--primary-mid);
  color: #fff;
  border-color: var(--primary-mid);
  transform: translateY(-1px);
}
.share-btn svg { width: 16px; height: 16px; }

/* ====== 上下篇 ====== */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 48px;
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s var(--ease-out);
  min-height: 80px;
}
.article-nav-item:hover {
  border-color: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.article-nav-empty {
  cursor: default;
  color: var(--text-faint);
  background: transparent;
  border-style: dashed;
}
.article-nav-empty:hover { transform: none; box-shadow: none; border-color: var(--border); }
.article-nav-next { text-align: right; }
.article-nav-dir {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.article-nav-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav-item:hover .article-nav-title { color: var(--primary-mid); }

/* ====== 相关推荐 ====== */
.related-articles {
  margin-top: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 28px;
  position: relative;
  padding-left: 14px;
}
.related-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.related-grid .news-card { margin: 0; }

/* ====== 响应式 ====== */
@media (max-width: 768px) {
  .article-detail { padding-top: 80px; }
  .article-container { padding: 24px 16px 60px; }
  .article-title { font-size: 26px; line-height: 1.4; }
  .article-body { font-size: 16px; line-height: 1.8; }
  .article-body h2 { font-size: 22px; margin: 36px 0 18px; }
  .article-body h3 { font-size: 18px; margin: 28px 0 12px; }
  .article-nav { grid-template-columns: 1fr; gap: 12px; }
  .article-nav-next { text-align: left; }
  .related-grid { grid-template-columns: 1fr; }
  .article-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .article-share { padding: 16px 0; }
}


/* ===== Hero 视频展示区（电影放映厅） ===== */
.hero-video-showcase {
  position: relative;
  background: rgba(8, 22, 48, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}
.hero-video-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    rgba(255, 125, 0, 0.18),
    rgba(77, 139, 255, 0.22);
  pointer-events: none;
  z-index: 0;
}

.hero-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1530;
  overflow: hidden;
}
.hero-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-video-showcase[data-state="ready"] .hero-video-player { opacity: 1; }

.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* 之前是黑色顶/底渐变（让 SHOWCASE 文字和控件在任何视频帧上都可读）。
   * 用户反馈：初始化时这个渐变就是"暗罩"，看着不舒服，且入场动画完成后
   * 它也不会消失。直接去掉——文字和控件的位置离视频边缘远一点就够了，
   * cover 背景色 #0a1f3d（z=3）盖在它上面也提供对比。 */
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.hero-video-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  /* JS sets --cover-url on each playAt() so the actual video thumbnail shows
   * as the background. NO dark overlay here — the 64px pulse button has
   * its own `background: rgba(0,0,0,0.4)` + `backdrop-filter: blur(12px)`,
   * which is sufficient to keep it legible against any thumbnail without
   * darkening the whole image. This keeps the visual layout identical
   * between the initial state and the paused state. */
  background-color: #0a1f3d;
  background-image: var(--cover-url, #0a1f3d);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 64px;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Cover stays visible until the user actually clicks play.
 * Previously this rule was tied to [data-state="ready"] which hid the cover
 * as soon as the metadata list was fetched — with deferred loading we want
 * the cover to stay visible until playback really starts, so the `.is-playing`
 * class (added by startPlayback / play event) is the sole trigger. */
/* The 96px cover-icon (large circle with play triangle) was redundant with
 * the 64px .hero-video-play-center button. Hidden so the initial / paused
 * state shows ONE pulse button on the thumbnail, not two stacked icons. */
.hero-video-cover-icon { display: none; }

.hero-video-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 22px 14px;
  z-index: 4;
  color: white;
  pointer-events: none;
}
.hero-video-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin-bottom: 6px;
}
.hero-video-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1.35;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-video-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.hero-video-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}
.hero-video-duration,
.hero-video-index {
  font-variant-numeric: tabular-nums;
}

.hero-video-controls {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-video-showcase:hover .hero-video-controls {
  opacity: 1;
  transform: translateY(0);
}
.hero-video-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.hero-video-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.hero-video-btn svg { width: 16px; height: 16px; }

.hero-video-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 4;
  pointer-events: none;
}
.hero-video-progress::before {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: #FF7D00;
  transition: width 0.1s linear;
}

.hero-video-thumbs {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 12px 36px;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.hero-video-thumbs::-webkit-scrollbar { display: none; }

.hero-video-thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-video-thumbs-nav:hover {
  background: rgba(0, 102, 255, 0.85);
  border-color: rgba(0, 102, 255, 0.9);
  transform: translateY(-50%) scale(1.08);
}
.hero-video-thumbs-nav.is-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.hero-video-thumbs-nav--prev { left: 6px; }
.hero-video-thumbs-nav--next { right: 6px; }
.hero-video-thumbs-nav svg { width: 16px; height: 16px; }

.hero-video-thumb {
  /* 固定 1/3 宽, 即使只有 1-2 个视频, slot 宽度保持 (3 个 slot 一致) */
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  scroll-snap-align: start;
}
.hero-video-thumb:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.hero-video-thumb.is-active {
  border-color: var(--primary-light, #4D8BFF);
  box-shadow: 0 6px 18px rgba(77, 139, 255, 0.4);
}
.hero-video-thumb--placeholder {
  /* 占位 slot: 无 hover / 不可点击 / 无背景 */
  cursor: default;
  pointer-events: none;
  border: 2px dashed rgba(38, 61, 143, 0.10);
  background: rgba(38, 61, 143, 0.02);
}
.hero-video-thumb--placeholder:hover {
  border-color: rgba(38, 61, 143, 0.10); /* 不变色 */
}

.hero-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 4px 6px;
  color: white;
  font-size: 10px;
}
.hero-video-thumb-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.hero-video-thumb-num {
  font-weight: 700;
  opacity: 0.85;
}
.hero-video-thumb-empty {
  flex: 1 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hero-video-thumb-empty:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  background: rgba(255, 255, 255, 0.06);
}
.hero-video-thumb-empty-arrow { font-size: 14px; }


@media (max-width: 768px) {
  .hero-video-stage { aspect-ratio: 16 / 10; }
  .hero-video-title { font-size: 14px; -webkit-line-clamp: 1; }
  .hero-video-meta { display: none; }
  .hero-video-controls { opacity: 1; transform: none; }
  .hero-video-thumbs { padding: 8px 10px; gap: 6px; }
}

/* Central play button overlay — always present, only visible before play */
.hero-video-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 4;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: heroPlayPulse 2.2s ease-in-out infinite;
}
.hero-video-play-center:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 102, 255, 0.85);
  border-color: rgba(0, 102, 255, 0.9);
}
.hero-video-play-center svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  fill: #ffffff;
}
.hero-video-showcase.is-playing .hero-video-play-center {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
  animation: none;
}
/* Paused (user has played once then paused): cover STAYS visible so the
 * visual layout matches the initial pre-play state (thumbnail + 64px play-center
 * with pulse). The 64px play-center button stays shown with the pulse so the
 * user can click it to resume. */
.hero-video-showcase.is-paused .hero-video-play-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  animation: heroPlayPulse 2.2s ease-in-out infinite;
}
/* Cover stays visible until user plays; then fades out. */
.hero-video-showcase.is-playing .hero-video-cover { opacity: 0; pointer-events: none; }
@keyframes heroPlayPulse {
  /* Pulse opacity bumped from 0.45 → 0.7 so the white glow ring reads
   * clearly against bright video thumbnails (the cover is no longer a
   * solid dark gradient — it's the video's own cover image). */
  0%, 100% { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 255, 255, 0.7); }
  50%      { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 18px rgba(255, 255, 255, 0); }
}


/* ================================================
 * 右侧 section 锚点导轨（side-dock）
 * 8 个 dot 对应首页 8 个 section（hero 排除）
 * - 固定到 viewport 右侧，垂直居中
 * - 桌面端 ≥1024px 显示；<1024px 隐藏
 * - 当前 section 的 dot 用 IntersectionObserver 高亮
 * - hover 弹出 tooltip 显示 section 名称
 * ================================================ */
.side-dock {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;   /* 所有 dot 在水平方向居中对齐 — 解决 hover/active 变尺寸导致的偏移 */
  gap: 16px;
  z-index: 90;  /* 低于 navbar (100)，高于视频控件 (z-index 5) */
  pointer-events: auto;
}
.side-dock-dot {
  position: relative;
  display: block;
  /* 关键：所有 dot 同尺寸 12×12px — 状态变化不改变尺寸，
   * 配合容器 align-items:center，hover/active 永远居中对齐 */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 143, 215, 0.15);    /* 辅助蓝 #008FD7 15% 浅填充 */
  border: 2px solid #008FD7;             /* 辅助蓝实色边框 — 区别于 hero 主题蓝 */
  /* 白色 1px 外发光 — 深色背景下边框也清晰 */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease,
              transform 0.2s var(--ease-out),
              box-shadow 0.2s ease;
  text-decoration: none;
}
.side-dock-dot:hover {
  background: #008FD7;                    /* hover 时填充辅助蓝 */
  transform: translateX(-2px);            /* 往左轻微位移，提示可点 */
}
.side-dock-dot.is-active {
  background: #008FD7;                    /* 当前 section：辅助蓝填充（尺寸不变）*/
  width: 12px;
  height: 12px;
  /* No glow ring — just a clean 1px white outline so the active dot
   * reads on both light and dark backgrounds. */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}
/* hover tooltip：左侧弹出 section 名 */
.side-dock-dot::before {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(26, 35, 71, 0.92);  /* --text 深蓝 */
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s var(--ease-out);
}
.side-dock-dot:hover::before,
.side-dock-dot:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
/* 键盘 focus 环 */
.side-dock-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
/* 响应式：<1024px 完全隐藏（顶部 nav 已经够用） */
@media (max-width: 1023px) {
  .side-dock { display: none; }
}
/* Respect reduced motion：smooth scroll 改成 jump */
@media (prefers-reduced-motion: reduce) {
  .side-dock-dot { transition: none; }
}


/* ============================================================
 *  站内搜索页


/* ============================================================
 *  站内搜索页
 *  设计：sticky search bar + 左侧筛选 sidebar + 右侧结果列
 *  风格：克制、专业、Notion / Linear 风
 * ============================================================ */

/* Sticky search bar that overlays the navbar area */
.search-bar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  /* Sits below the navbar (which is sticky at top:0 too, ~64px tall).
     Push the search bar below the navbar so they don't overlap. */
  margin-top: 64px;
}
.search-bar-sticky .search-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  /* Match the navbar height (nav-inner: 72px desktop, 60px ≤900px)
     so the sticky bar slots cleanly into the same row. */
  padding-top: 0;
  padding-bottom: 0;
  min-height: 72px;
}
@media (max-width: 900px) {
  .search-bar-sticky .search-bar-inner { min-height: 60px; }
}
.search-bar-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-mid);
  background: var(--bg-soft);
  transition: all 0.2s;
}
.search-bar-logo a:hover {
  background: rgba(238, 124, 79, 0.1);
  color: var(--primary);
}
.search-bar-form {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  max-width: 720px;
}
.search-bar-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  pointer-events: none;
}
.search-bar-form input {
  width: 100%;
  padding: 11px 40px 11px 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.search-bar-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 124, 79, 0.12);
}
.search-bar-form input::-webkit-search-cancel-button {
  display: none;
}
.search-bar-clear {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.search-bar-clear:hover {
  background: var(--bg-soft);
  color: var(--text);
}
.search-bar-filter-toggle {
  display: none; /* shown on mobile only */
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.search-bar-filter-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Page layout: sidebar + main */
.search-page {
  padding: 32px 0 80px;
  min-height: 60vh;
}
.search-page-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.search-sidebar {
  position: sticky;
  top: 152px; /* navbar(64) + search bar(~76) */
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: calc(100vh - 168px);
  overflow-y: auto;
}
.search-filter-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-filter-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px;
}
.search-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-filter-checkbox,
.search-filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 14px;
  color: var(--text);
}
.search-filter-checkbox:hover,
.search-filter-radio:hover {
  background: var(--bg-soft);
}
.search-filter-checkbox input,
.search-filter-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-mark,
.radio-mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: white;
  position: relative;
  transition: all 0.15s;
}
.search-filter-radio .radio-mark {
  border-radius: 50%;
}
.checkbox-mark::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}
.radio-mark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 0.15s;
}
.search-filter-checkbox input:checked + .checkbox-mark,
.search-filter-radio input:checked + .radio-mark {
  background: var(--primary);
  border-color: var(--primary);
}
.search-filter-checkbox input:checked + .checkbox-mark::after,
.search-filter-radio input:checked + .radio-mark::after {
  opacity: 1;
}
.filter-label {
  flex: 1;
}
.filter-count {
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
  text-align: right;
}
.search-filter-reset {
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text-mid);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.search-filter-reset:hover {
  border-color: var(--text-mid);
  color: var(--text);
}

/* Results column */
.search-results-col {
  min-width: 0;
}
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-results-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.search-results-title #searchResultsKeyword {
  color: var(--primary);
  font-weight: 800;
}
.search-results-meta {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
}
.search-results-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-results-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.search-results-sort-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Result list */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.search-result-item {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  transition: all 0.2s;
}
.search-result-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(238, 124, 79, 0.08);
  transform: translateY(-1px);
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.search-result-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.type-article  { background: rgba(238, 124, 79, 0.12); color: var(--primary); }
.type-case     { background: rgba(255, 107, 53, 0.12); color: var(--accent); }
.type-service  { background: rgba(0, 194, 160, 0.12); color: #00805f; }
.type-faculty  { background: rgba(108, 92, 231, 0.12); color: #6c5ce7; }
.type-video    { background: rgba(214, 48, 49, 0.12); color: #d63031; }
.search-result-date {
  font-size: 12px;
  color: var(--text-dim);
}
.search-result-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.45;
}
.search-result-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.search-result-title a:hover {
  color: var(--primary);
}
.search-result-summary {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-summary mark,
.search-results-keyword {
  background: rgba(255, 235, 59, 0.55);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}
.search-result-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.search-result-link:hover {
  text-decoration: underline;
}
.search-result-link svg {
  width: 14px;
  height: 14px;
}

/* Skeleton (loading) */
.search-result-skeleton {
  background: #f0f2f5;
  background-size: 200% 100%;
  animation: skeletonShimmer 1.2s infinite;
  border-radius: 6px;
  margin: 8px 0;
  height: 14px;
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Pagination */
.search-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.search-pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.search-pagination button:hover:not(:disabled):not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
}
.search-pagination button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.search-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Empty state */
.search-empty {
  text-align: center;
  padding: 80px 24px 40px;
  color: var(--text-mid);
}
.search-empty-illustration {
  color: var(--text-dim);
  opacity: 0.5;
  margin-bottom: 20px;
}
.search-empty h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}
.search-empty p {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0 0 28px;
}
.search-suggestions {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  background: var(--bg-soft);
  padding: 20px 24px;
  border-radius: 12px;
}
.search-suggestions-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.search-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.search-suggestions-list a {
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}
.search-suggestions-list a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Responsive — sidebar collapses into a drawer on mobile */
@media (max-width: 900px) {
  .search-page-grid {
    grid-template-columns: 1fr;
  }
  .search-bar-filter-toggle {
    display: inline-flex;
  }
  .search-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-height: none;
    border-radius: 0;
    border: none;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 64px;
  }
  .search-sidebar.is-open {
    transform: translateX(0);
  }
  .search-sidebar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .search-sidebar.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 600px) {
  .search-bar-inner { gap: 8px; }
  .search-bar-logo { display: none; }
  .search-results-title { font-size: 18px; }
  .search-result-item { padding: 16px 18px; }
  .search-result-title { font-size: 16px; }
}

/* ================================================
 *  Lead paragraph inside .section-head
 * ================================================ */
.section-lead { font-size: 17px; color: var(--text); font-weight: 500; line-height: 1.65; max-width: 720px; margin: 0 auto; }

/* ================================================
 * 全国布局 (global-section) — 数据大屏风格
 *
 * 设计：
 *   - 暗 navy → aux blue 渐变背景（大屏感）
 *   - 4 张数据卡片横向并列（28省 / 180+地市 / 12分公司 / 9区域中心）
 *   - 大数字 mono 字体 + SVG 图标 + 简短注解
 *   - IntersectionObserver 触发数字滚动（沿用 initNumberCounter）
 *   - hover: 卡片上浮 + 数字微缩放
 *   - 下方文字叙述 + 5 大区域 tag
 * ================================================ */
.global-section {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 60%, #008FD7 100%);
  color: #FFFFFF;
  overflow: hidden;
}

/* 装饰: 角落 faint glow */
.global-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 143, 215, 0.30) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.global-section::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(38, 61, 143, 0.40) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* eyebrow 在暗底上用白色版本（参考 SKILL 15a） */
.global-section .section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}
.global-section .section-head h2 { color: #FFFFFF; }
.global-section .section-lead { color: rgba(255, 255, 255, 0.78); }

.global-section .container {
  position: relative;
  z-index: 1;
}

/* 数据大屏: 4 列卡片 */
.global-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

/* 顶部 3px phase 装饰条 */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #008FD7 0%, #FFFFFF 100%);
  opacity: 0.6;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.20);
}

/* hover 时数字微缩放 */
.stat-card:hover .stat-value {
  transform: scale(1.05);
  transition: transform 0.25s ease;
}

.stat-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  margin-bottom: 16px;
}
.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-value {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-plus {
  font-size: 48px;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
}

.stat-unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.stat-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  min-height: 36px;
}

/* 下方叙述: 文字 + 5 大区域 tags */
.global-narrative {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.global-text p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  letter-spacing: 0.01em;
}
.global-text strong {
  color: #FFFFFF;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 143, 215, 0.35) 60%);
  padding: 0 2px;
}

.global-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.region-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #008FD7;
  box-shadow: 0 0 0 3px rgba(0, 143, 215, 0.25);
}

.region-tag:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  transform: translateY(-1px);
}
.region-tag:hover .region-marker {
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.30);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .global-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .global-narrative {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .global-regions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .global-section { padding: 64px 0 48px; }
  .global-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .stat-card { padding: 22px 16px; }
  .stat-value { font-size: 52px; }
  .stat-plus { font-size: 32px; }
  .stat-hint { min-height: 0; font-size: 11px; }
  .global-narrative { margin-top: 36px; padding-top: 28px; }
  .region-tag { font-size: 12px; padding: 6px 12px; }
}

/* ================================================
 * 12355 精准治理模式 (method-section)
 * 设计：5 张卡片水平排列，顶部数字 stripe，Notion/Linear 风格
 * ================================================ */
.method-section { background: var(--bg); }

/* Entrance: .fade-up adds .in-view via initScrollReveal.
 * 5 stages cascade in via --stagger CSS var (0–4 × 130ms). */
.method-stage.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s var(--ease-out),
              transform 0.65s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 130ms);
}
.method-stage.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.method-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  padding: 24px 0 0;
}

/* Each stage — pure layout, no card */
.method-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}

/* Vertical stem below each number — the only visual connector.
 * Brand primary at top, fading to transparent. Subtle, not a heavy line. */
.method-stage-stem {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  margin: 8px 0 12px 0;
  opacity: 0.6;
  transform: scaleY(0.6);
  transform-origin: top;
  transition: opacity 0.4s var(--ease-out),
              height 0.4s var(--ease-out),
              background 0.3s ease,
              margin 0.4s var(--ease-out),
              transform 0.4s var(--ease-out);
  transition-delay: calc(0.3s + var(--stagger, 0) * 130ms);
}
.method-stage.fade-up.in-view .method-stage-stem {
  opacity: 1;
  transform: scaleY(1);
}

/* Mega-number — the visual hero. Soft halo behind it for the
 * "lifted off the page" feel on hover. */
.method-stage-num {
  position: relative;
  /* Number acts as a module identifier, not the primary visual
   * hero. Reduced ~50% so it stays in proportion with the body
   * text below. Was clamp(72px, 9vw, 152px); now ~50% smaller. */
  font-size: clamp(36px, 4.5vw, 76px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
  margin-bottom: 0;
  height: 1.1em;
  overflow: visible;
  display: inline-block;
  transform-origin: center bottom;
  transition: color 0.3s ease,
              transform 0.4s var(--ease-out);
}
/* Soft blue halo behind the number — fades in on hover for a
 * "lifted off the page" feel */
.method-stage-num::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at center,
              var(--gradient-aux) 0%,
              transparent 65%);
  opacity: 0;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
  pointer-events: none;
}
.method-stage:hover .method-stage-num {
  color: var(--gradient-aux);
  -webkit-text-fill-color: var(--gradient-aux);
  transform: scale(1.06);
}
.method-stage:hover .method-stage-num::before {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(1);
}

/* Stage label */
.method-stage-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.3;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}
.method-stage:hover .method-stage-label {
  color: var(--gradient-aux);
  transform: translateY(-2px);
}
/* Stem on hover: extend + color shift to gradient-aux */
.method-stage:hover .method-stage-stem {
  height: 48px;
  margin: 14px 0 16px 0;
  background: linear-gradient(180deg, var(--gradient-aux) 0%, transparent 100%);
}

/* Single sub-item (card 1) — icon + text inline */
.method-stage-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* List sub-items (cards 2, 3) — icon + text vertical list */
.method-stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.method-stage-list li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Item icon — small inline SVG wrapper, 16x16, brand-color */
.method-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
  transition: color 0.2s ease;
}
.method-item-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.method-stage:hover .method-item-icon { color: var(--gradient-aux); }

/* 5大手段 — 5 SVG icons inside .method-icon also shift color
 * when the parent .method-stage is hovered (matching the small
 * item-icon pattern in cards 1/2/3). */
.method-stage:hover .method-icon svg { color: var(--gradient-aux); }
.method-stage:hover .method-icon { background: var(--bg); transform: translateY(-2px); }

/* 5年预防 — timeline nodes (dot / year / text) shift color and
 * the dot picks up a gradient-aux inner fill when the parent
 * .method-stage is hovered. Matches the icon-color-shift pattern
 * of cards 1/2/3/4. */
.method-stage:hover .method-timeline-node .dot {
  border-color: var(--gradient-aux);
  background: var(--gradient-aux);
}
.method-stage:hover .method-timeline-node .year { color: var(--primary); }
.method-stage:hover .method-timeline-node .text { color: var(--text); }

/* Description text fallback (when no icon) */
.method-stage-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}
.method-stage:hover .method-stage-desc {
  color: var(--text);
  transform: translateY(-2px);
}

/* 5大手段 — 2 列紧凑布局 (经济/法律 上, 技术居中, 行政/管理 下)
   桌面: 3 行 2 列 (gap 更紧凑); 移动: 5 行 1 列 */
.method-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0px;
  width: 100%;
  margin-top: 2px;
  transition: transform 0.3s var(--ease-out);
}
/* 第 3 个 icon (技术) 跨 2 列居中 */
.method-icons > :nth-child(3) {
  grid-column: 1 / 3;
  max-width: 200px;
  justify-self: center;
  width: 100%;
}
.method-stage:hover .method-icons { transform: translateY(-2px); }
.method-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 2px 3px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s var(--ease-out);
}
.method-icon:hover {
  background: var(--bg);
  transform: translateY(-2px);
}
.method-icon svg {
  width: 22px; height: 22px;
  color: var(--primary);
  transition: color 0.2s ease;
}
.method-icon:hover svg { color: var(--gradient-aux); }
.method-icon span {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 500;
  white-space: nowrap;
}

/* 5年预防 — horizontal timeline at the bottom of the stage.
 * 视觉契约：连线 y 中心 = 圆点 y 中心。
 * 圆点实际渲染：cssHeight 10px + box-sizing:border-box + border 2px + scale(1.15) → 11.5px
 * 圆点 css top: 12, css 高度中心 = 17。
 * line 渲染：css top + height 2 → 中心 = top + 1。
 * 设 line top:16px → line 中心 = 17 (与 dot css 中心一致)。
 * 注：实测时因 padding/margin 累积，line top:28 才是真正中心对线对齐。 */
.method-timeline {
  position: relative;
  padding: 24px 0 0;
  margin-top: 6px;
  width: 100%;
  transition: transform 0.3s var(--ease-out);
}
.method-stage:hover .method-timeline { transform: translateY(-2px); }
.method-timeline-line {
  position: absolute;
  /* 测量修正：dot 真实渲染 top=615.59 (css 12 + padding), scale1.15 后中心 y≈621.34
   * 同一容器内 line 中心要对齐 621.34。
   * 当前 line css top:16, 真实 top:608.34, 中心 609.34 → 差 12px，需 top:28 */
  top: 28px; left: 4px; right: 4px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 1px;
}
.method-timeline-fill {
  position: absolute;
  top: 28px; left: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gradient-aux) 100%);
  border-radius: 1px;
  transition: width 1.4s var(--ease-out) 0.3s;
}
.method-stage.fade-up.in-view .method-timeline-fill {
  width: calc(100% - 8px);
}
.method-timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.method-timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}
.method-timeline-node .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid #cbd5e1;
  margin-bottom: 6px;
  margin-top: 0;
  transition: all 0.35s var(--ease-out);
  transition-delay: calc(0.5s + var(--i) * 0.1s);
}
.method-stage.fade-up.in-view .method-timeline-node .dot {
  border-color: var(--primary);
  background: var(--primary);
  transform: scale(1.15);
}
.method-timeline-node .year {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.method-timeline-node .text {
  font-size: 10px;
  color: var(--text-faint);
  line-height: 1.3;
  transition: color 0.35s ease;
  transition-delay: calc(0.6s + var(--i) * 0.1s);
}
.method-stage.fade-up.in-view .method-timeline-node .text { color: var(--text-mid); }

/* Responsive */
@media (max-width: 1024px) {
  .method-pipeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
    padding: 16px 0 0;
  }
  .method-stage-num { font-size: clamp(56px, 8vw, 96px); }
  .method-stage-label { font-size: 15px; }
  .method-icons { grid-template-columns: repeat(5, 1fr); }
  .method-timeline { padding: 16px 0 0; }
  .method-timeline-node .text { display: none; }
}
@media (max-width: 600px) {
  .method-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .method-stage-num { font-size: clamp(48px, 12vw, 80px); }
  .method-icons { grid-template-columns: repeat(5, 1fr); }
  .method-timeline-node .text { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .method-stage,
  .method-stage-num,
  .method-stage-num::before,
  .method-stage-stem,
  .method-stage-label,
  .method-stage-item,
  .method-stage-list,
  .method-timeline,
  .method-timeline-fill,
  .method-timeline-node .dot,
  .method-timeline-node .text,
  .method-item-icon,
  .method-icon,
  .method-icon svg { transition: none !important; }
  .method-stage.fade-up { opacity: 1; transform: none; }
  .method-stage.fade-up.in-view .method-timeline-fill { width: 100%; }
}







/* ============================================================
 * 关于易训（重构单页 - 2026 v3）
 * ============================================================ */

/* 通用：page hero（用于所有新顶层页面） */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 60%, #008FD7 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(238,124,79,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
/* Page-hero 上英文 eyebrow 专用样式：在深蓝渐变背景上必须用半透明白底 + 白字 */
.page-hero .section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-hero-sub {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 24px;
  color: rgba(255,255,255,0.92);
}
.page-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0;
}
.page-hero-stats {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.page-hero-stats .stat-grid {
  display: grid;
  /* auto-fit 自适应 2-6 个 stat-cell 等宽列, 间距平均 */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.page-hero-stats .stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.page-hero-stats .stat-num {
  font-size: 38px;
  font-weight: 700;
  color: white;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.page-hero-stats .stat-num::after {
  content: attr(data-suffix);
  font-size: 0.55em;
  color: rgba(238,124,79,1);
  font-weight: 600;
  margin-left: 0.1em;
}
.page-hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 40px; }
  .page-hero-title { font-size: 32px; }
  .page-hero-sub { font-size: 18px; }
  .page-hero-stats .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .page-hero-stats .stat-num { font-size: 30px; }
}

/* About: intro cards 4-up */
.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.about-intro-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.about-intro-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(38,61,143,0.08);
}
.about-intro-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,143,215,0.12) 0%, rgba(38,61,143,0.12) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s, color 0.25s;
}
.about-intro-icon svg { width: 28px; height: 28px; }
.about-intro-card:hover .about-intro-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--gradient-aux) 100%);
  color: white;
}
.about-intro-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.about-intro-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0;
}
@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; }
}

/* About: 2026 strategy cards */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.strategy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px 40px;
  position: relative;
  overflow: hidden;
}
.strategy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gradient-aux) 100%);
}
.strategy-card-alt::before {
  background: linear-gradient(90deg, var(--accent) 0%, #D56538 100%);
}
.strategy-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(38,61,143,0.08);
  color: var(--primary);
  margin-bottom: 16px;
}
.strategy-card-alt .strategy-tag {
  background: rgba(238,124,79,0.12);
  color: var(--accent);
}
.strategy-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.strategy-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0;
}
.strategy-marker {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 56px;
  font-weight: 800;
  color: rgba(38,61,143,0.06);
  line-height: 1;
  pointer-events: none;
}
.strategy-card-alt .strategy-marker { color: rgba(238,124,79,0.08); }
@media (max-width: 768px) {
  .strategy-grid { grid-template-columns: 1fr; }
}

/* About: timeline — vertical timeline with year labels + cards.
 * 视觉契约：连线垂直贯穿所有圆点；圆点紧贴 year 右侧居中；
 * year 标签、内容卡片与圆点水平对齐。
 *
 * 桌面布局（默认）：
 *   [year w=80]   [dot w=16]                    [content]
 *   x=0..80       x=88..104（中心 x=96）         x=144..
 *   连线 left=95 w=2 → 中心 x=96（穿过 dot 中心）
 *   year 和 dot 紧贴（gap=8px），视觉上是一个"标签+节点"组合
 *
 * 移动端布局（<=768px）：
 *   [dot]   [year w=44]    [content]
 *    14..28   32..76          88..
 *   year 完全在圆点右侧，避免遮挡 */
.timeline {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  position: relative;
}
/* 中央纵向连线：贯穿 timeline 第一项到末尾 */
.timeline::before {
  content: '';
  position: absolute;
  left: 95px;           /* 96 (dot 中心) - 1 (2px 线宽一半) */
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--gradient-aux) 100%);
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 144px;  /* 96 (dot center) + 48 gap = 144 content 起点 */
  min-height: 80px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  width: 80px;
  background: var(--bg-soft);
  padding: 10px 0;
  text-align: center;
  border-radius: 100px;
  z-index: 2;
  line-height: 1.4;
}
/* 圆点紧贴 year 右侧 (year 宽 80，圆点 left=88 中心 96)，与连线对齐
 * 关键：box-sizing:border-box 让 CSS width=16px 包含 3px*2 border，
 * 否则 content-box 下 width=16 + border=6 → 实际渲染 22px，中心偏移 3px。 */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--gradient-aux);
  box-sizing: border-box;
  box-shadow: 0 0 0 4px var(--bg-soft),
              0 0 0 6px white;
  z-index: 3;
}
.timeline-content {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  top: 4px;
  z-index: 1;
}
.timeline-content:hover {
  border-color: var(--gradient-aux);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,143,215,0.1);
}
.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.timeline-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  /* 移动端布局：year 完全在圆点右侧，避免被遮挡
   *   [dot]   [year]    [content]
   *    14..28   32..76   88..
   * 圆点 left:14 w:14 → 中心 x=21
   * 连线 left:20 w:2  → 中心 x=21（穿过圆点中心）
   * year  left:32 w:44（圆点右侧 4px gap）*/
  .timeline::before { left: 20px; }
  .timeline-item { padding: 0 0 28px 64px; }
  .timeline-year {
    font-size: 14px;
    width: 44px;
    padding: 6px 0;
    margin-left: 0;
    position: absolute;
    left: 32px;
  }
  .timeline-item::before {
    left: 14px; top: 10px; width: 14px; height: 14px;
    box-sizing: border-box;
  }
}

/* About: 党建引领 (party-section) — 3 卡片
   移自首页, 拆 2 段原文为 3 个核心观点卡:
   ① 人民至上、生命至上  ② 党的全面领导  ③ 争做排头兵
   每卡: 大编号 + SVG图标 + 金句 + 高亮 + 详细描述 */
.party-section {
  position: relative;
  /* 与首页 2026 战略规划 (global-section) 一致的 navy 渐变 */
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 60%, #008FD7 100%);
  color: #FFFFFF;
  overflow: hidden;
}
.party-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 143, 215, 0.30) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.party-section .section-head h2 { color: #FFFFFF; }
.party-section .section-head .section-lead {
  color: rgba(255, 255, 255, 0.78);
}
.party-section .section-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.party-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}


.party-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
/* 顶部 3px phase 装饰条 */
.party-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--party-color, #263D8F);
}
.party-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38, 61, 143, 0.10);
  border-color: #C7D2FE;
}

/* 每卡配色 (3-tone palette) */
.party-card-1 { --party-color: #263D8F; }
.party-card-2 { --party-color: #008FD7; }
.party-card-3 { --party-color: #EE7C4F; }

/* SVG 图标 (现内联在标题左侧, 卡片内不再单独放) */
.party-title {
  font-size: 22px;
  font-weight: 800;
  color: #1A2347;
  /* Generous gap below the title — separates "人民至上、生命至上"
   * from the descriptive line below ("守护好人民群众每一分…"). */
  margin: 0 0 28px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
/* Inline wrapper that holds icon + quote on one row, both
 * vertically centered. inline-flex (not flex) means the wrapper
 * itself shrinks to its content, so .party-quote keeps its
 * intrinsic text width — its background gradient tracks the
 * text length instead of stretching across the whole row. */
.party-title-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.party-title-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(38, 61, 143, 0.08);
  color: var(--party-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.party-title-icon svg {
  width: 24px;
  height: 24px;
}
.party-quote {
  display: inline-block;
  position: relative;
  /* Same underline recipe as .party-hl ("养老钱、保命钱"): a soft
   * gradient that drops in under the bottom ~35% of the line.
   * Wraps the text width exactly via inline-block — no
   * full-row extension. 2px horizontal padding matches .party-hl
   * so the two highlight styles look like one system. */
  background: linear-gradient(180deg, transparent 65%, rgba(238, 124, 79, 0.30) 65%);
  padding: 0 2px;
}

/* 金句主体 (大字描述) */
.party-quote-main {
  font-size: 16px;
  font-weight: 600;
  color: #1A2347;
  margin: 0 0 18px;
  line-height: 1.5;
}
.party-hl {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 143, 215, 0.25) 60%);
  padding: 0 2px;
  font-weight: 700;
}

/* 详细描述 */
.party-desc {
  font-size: 14px;
  color: #4A5573;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 1024px) {
  .party-cards { grid-template-columns: 1fr; gap: 18px; }
}

/* About: culture cards */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.culture-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.culture-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
}
.culture-card-mission::before {
  background: linear-gradient(90deg, var(--primary) 0%, var(--gradient-aux) 100%);
}
.culture-card-vision::before {
  background: linear-gradient(90deg, var(--accent) 0%, #D56538 100%);
}
.culture-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.culture-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}
.culture-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}
.culture-en {
  font-style: italic;
  font-size: 13px;
  color: var(--gradient-aux);
}
@media (max-width: 768px) {
  .culture-grid { grid-template-columns: 1fr; }
}

/* About: value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.value-card:hover {
  border-color: var(--gradient-aux);
  transform: translateY(-2px);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,143,215,0.1);
  color: var(--gradient-aux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.value-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
.value-card-wide {
  grid-column: span 4;
}
.value-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.value-subgrid > div {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.value-subgrid strong {
  display: block;
  color: var(--gradient-aux);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card-wide { grid-column: span 1; }
  .value-subgrid { grid-template-columns: 1fr; }
}

/* About: culture 重设计 (第 1 行 4 张价值观, 第 2 行 简单·阳光·自省 + 员工风采) */
.values-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* 响应式: 移动端 ≤768px, 4 张价值观改成 2x2 (避免宽度溢出) */
@media (max-width: 768px) {
  .values-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* 第 2 行: 左 简单·阳光·自省 (窄) + 右 员工风采滚动 (宽)
   左 1fr, 右 2.5fr — 员工风采占用更多空间, 且两侧高度相同 (stretch) */
.culture-row-2 {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.5fr;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}

/* 简单·阳光·自省 */
.value-triple {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.value-triple-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(38, 61, 143, 0.12);
}
.value-triple-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(38, 61, 143, 0.08);
}
.value-triple-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.value-triple-item strong {
  flex-shrink: 0;
  width: 36px;
  color: var(--gradient-aux);
  font-size: 14px;
  font-weight: 700;
}

/* 员工风采 (右) */
.culture-right {
  min-width: 0; /* 防止 grid overflow */
}
.culture-photos {
  /* 去外框, 无 border/background, 只为 marquee 提供布局 */
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.culture-photos-marquee {
  display: flex;
  overflow: hidden;
  position: relative;
}
.culture-photos-track {
  display: flex;
  gap: 12px;
  animation: marquee-scroll 40s linear infinite;
  flex-shrink: 0;
}
.culture-photos-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.culture-photo-item {
  /* 固定高度 240 (跟左侧 value-triple 等高), 宽度按 4:3 = 320 */
  flex: 0 0 auto;
  width: 320px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f0f2f7;
}
.culture-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.culture-photo-item:hover img {
  transform: scale(1.05);
}

.culture-photos-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--text-mid);
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .culture-row-2 {
    grid-template-columns: 1fr; /* 移动端单列 */
  }
  .culture-photo-item {
    flex: 0 0 180px;
    height: 220px;
  }
}

/* About: qualification cards */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.qual-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.qual-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.qual-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gradient-aux);
  background: rgba(0,143,215,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.qual-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.qual-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .qual-grid { grid-template-columns: 1fr; }
}

/* About: CTA section */

/* About: CTA section (浅色背景版 — 期待与您合作) */
.section-dark {
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 100%);
  color: white;
}

/* About: CTA section (浅色背景版 — 期待与您合作) */
.section-cta {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  color: #1A2347;
  border-top: 1px solid rgba(38, 61, 143, 0.10);
  border-bottom: 1px solid rgba(38, 61, 143, 0.10);
}

/* 期待与您合作 - intro 块 (标题+邮箱) 居中 880px */
.cta-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.cta-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.section-eyebrow-light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.cta-block {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-block h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0 16px;
  color: #1A2347;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  max-width: 600px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.cta-mail,
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.cta-mail {
  /* 邮箱: 绿底深绿字 (email green 配色) — div flex 容器 */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 100px;
  background: rgba(0, 194, 160, 0.15);
  border: 1px solid rgba(0, 194, 160, 0.40);
  color: #00885C;
}
.cta-mail:hover {
  background: rgba(0, 194, 160, 0.25);
}
.cta-mail-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.cta-mail-text {
  color: #00885C;
  text-decoration: none;
  /* 文本可选 (用户要求) */
  user-select: text;
  -webkit-user-select: text;
  cursor: pointer;
}
.cta-mail-text:hover {
  text-decoration: underline;
}

.cta-phone {
  background: rgba(238,124,79,0.15);
  border: 1px solid rgba(238,124,79,0.4);
}
.cta-phone:hover {
  background: rgba(238,124,79,0.25);
  transform: translateY(-1px);
}
.cta-mail svg,
.cta-phone svg {
  width: 18px;
  height: 18px;
}

/* ====== About: 期待与您合作 — 双总部 + 五大区域 ====== */
.cta-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #1A2347;
  margin: 48px 0 24px;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.cta-block-bar {
  display: inline-block;
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, #263D8F 0%, #008FD7 100%);
}

/* 双总部: 2 列等宽, 撑满 section container */
.hq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.hq-card {
  /* 双总部: 辅助蓝渐变 (主蓝 → sky blue #008FD7) + 白字, 反差突出 */
  background: linear-gradient(135deg, #263D8F 0%, #008FD7 100%);
  border: 1px solid #008FD7;
  border-radius: 12px;
  padding: 24px 22px;
  text-align: left;
  color: #ffffff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(38, 61, 143, 0.35);
}
.hq-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hq-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}
.hq-card-tag {
  /* HQ 标签: 橙色渐变 (#EE7C4F → #FF6B35) */
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  background: linear-gradient(135deg, #EE7C4F 0%, #FF6B35 100%);
  color: #ffffff;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(238, 124, 79, 0.30);
}
.hq-card-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}
.hq-card-info svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* 五大区域: 5 列等宽, 撑满 section container */
.region-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.region-card {
  background: rgba(38, 61, 143, 0.04);
  border: 1px solid rgba(38, 61, 143, 0.10);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.region-card:hover {
  background: rgba(38, 61, 143, 0.08);
  border-color: rgba(38, 61, 143, 0.22);
  transform: translateY(-2px);
}
.region-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #1A2347;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(38, 61, 143, 0.10);
}
.region-card-info {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: rgba(26, 35, 71, 0.72);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}
.region-card-info svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hq-card-name {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .region-grid {
    grid-template-columns: 1fr;
  }
}

/* legacy contact-grid 仍保留 (其他页可能用) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: left;
  transition: background  0.25s, border-color 0.25s, transform 0.25s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.contact-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,107,53,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-card-icon svg { width: 18px; height: 18px; }
.contact-card-title {
  font-weight: 700;
  font-size: 15px;
  color: white;
}
.contact-card-addr {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 12px;
  min-height: 44px;
}
.contact-card-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: #FF6B35;
  font-weight: 600;
}
.contact-card-phone svg { flex-shrink: 0; }
.contact-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
/* 客服热线条 */
.cta-hotline {
  margin-top: 48px;
  text-align: center;
  padding: 24px;
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 14px;
}
.cta-hotline-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-hotline-item svg { flex-shrink: 0; }
.cta-hotline-label {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.cta-hotline-num {
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.cta-hotline-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  margin: 0 12px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .cta-block h2 { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* section utility */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  text-align: center;
  margin-bottom: 16px;
}
.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(38,61,143,0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 16px;
  color: var(--text-mid);
  margin: 0;
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
}
/* ============================================================
 * 数智安全（safety）页面专属样式
 * ============================================================ */

/* AI 三模型大卡 */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.ai-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.ai-card-kunlun::before { background: linear-gradient(90deg, #263D8F 0%, #008FD7 100%); }
.ai-card-tianwen::before { background: linear-gradient(90deg, #008FD7 0%, #00C2A0 100%); }
.ai-card-haina::before { background: linear-gradient(90deg, #EE7C4F 0%, #D56538 100%); }

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(38,61,143,0.12);
  border-color: var(--primary);
}

.ai-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0,143,215,0.08);
  color: var(--gradient-aux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ai-card-kunlun .ai-card-icon { background: rgba(38,61,143,0.1); color: var(--primary); }
.ai-card-tianwen .ai-card-icon { background: rgba(0,143,215,0.1); color: var(--gradient-aux); }
.ai-card-haina .ai-card-icon { background: rgba(238,124,79,0.12); color: var(--accent); }
.ai-card-icon svg { width: 40px; height: 40px; }

.ai-card-name {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ai-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.ai-card-kunlun .ai-card-tag { background: rgba(38,61,143,0.1); color: var(--primary); }
.ai-card-tianwen .ai-card-tag { background: rgba(0,143,215,0.1); color: var(--gradient-aux); }
.ai-card-haina .ai-card-tag { background: rgba(238,124,79,0.12); color: var(--accent); }

.ai-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 12px;
}
.ai-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 20px;
}
.ai-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-card-list li {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--text-mid);
}
@media (max-width: 1024px) {
  .ai-grid { grid-template-columns: 1fr; }
}

/* 合规备案 */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.compliance-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.compliance-card:hover {
  transform: translateY(-2px);
  border-color: var(--gradient-aux);
}
.compliance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,194,160,0.12);
  color: var(--success);
  margin-bottom: 16px;
}
.compliance-badge-pending {
  background: rgba(255,184,0,0.15);
  color: var(--warning);
}
.compliance-badge svg { width: 30px; height: 30px; }
.compliance-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.compliance-card p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0;
}
@media (max-width: 768px) {
  .compliance-grid { grid-template-columns: 1fr; }
}

/* 数智产品矩阵 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(38,61,143,0.08);
}
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,143,215,0.12) 0%, rgba(38,61,143,0.12) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.product-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}/* ============================================================
 * 宣教赋能（training）页面专属样式
 * ============================================================ */

/* 宣传矩阵：三级覆盖 */
.media-coverage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.coverage-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.coverage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.coverage-card-national::before { background: linear-gradient(90deg, #263D8F 0%, #008FD7 100%); }
.coverage-card-province::before { background: linear-gradient(90deg, #008FD7 0%, #00C2A0 100%); }
.coverage-card-city::before { background: linear-gradient(90deg, #EE7C4F 0%, #FFB800 100%); }
.coverage-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.coverage-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.coverage-card-national .coverage-num { color: var(--primary); }
.coverage-card-province .coverage-num { color: var(--gradient-aux); }
.coverage-card-city .coverage-num { color: var(--accent); }
.coverage-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.coverage-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .media-coverage { grid-template-columns: 1fr; }
}

/* 媒体合作 */
.media-partners {
  margin-top: 56px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
.media-partners-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  text-align: center;
  letter-spacing: 0.05em;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.media-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.media-chip:hover {
  border-color: var(--gradient-aux);
  color: var(--gradient-aux);
  background: rgba(0,143,215,0.04);
}
@media (max-width: 1024px) { .media-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }

/* 师资双体系 */
.faculty-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.faculty-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.faculty-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.faculty-block-internal::before { background: linear-gradient(90deg, #263D8F 0%, #008FD7 100%); }
.faculty-block-external::before { background: linear-gradient(90deg, #008FD7 0%, #00C2A0 100%); }
.faculty-block-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,143,215,0.1);
  color: var(--gradient-aux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.faculty-block-icon svg { width: 28px; height: 28px; }
.faculty-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.faculty-block-stat {
  font-size: 36px;
  font-weight: 800;
  color: var(--gradient-aux);
  line-height: 1;
  margin: 12px 0;
  letter-spacing: -0.02em;
}
.faculty-block-internal .faculty-block-stat { color: var(--primary); }
.faculty-block p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 16px;
}
.faculty-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faculty-block-list li {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--text-mid);
}
@media (max-width: 768px) { .faculty-matrix { grid-template-columns: 1fr; } }

/* 师资饼图由下方 faculty-chart CSS 控制 */
.faculty-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.faculty-stat-item {
  text-align: center;
}
.faculty-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gradient-aux);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.faculty-stat-label {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .faculty-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* 新闻报道占位 */
.news-coverage-placeholder {
  background: white;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 60px 24px;
  text-align: center;
  margin-top: 24px;
}
.news-coverage-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0,143,215,0.1);
  color: var(--gradient-aux);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.news-coverage-icon svg { width: 32px; height: 32px; }
.news-coverage-placeholder h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.news-coverage-placeholder p {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0 0 24px;
}
.news-coverage-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gradient-aux);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(0,143,215,0.08);
  transition: background 0.25s;
}
.news-coverage-link:hover {
  background: rgba(0,143,215,0.15);
}
.news-coverage-link svg { width: 16px; height: 16px; }/* ============================================================
 * 工伤预防（prevention）页面专属样式
 * ============================================================ */

/* prevention 专色：主题色微调 */
.page-hero-prevention {
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 60%, #008FD7 100%);
}

/* 介绍 lead */
.intro-block {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}
.intro-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0;
}
.intro-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* 三大意义 */
.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.meaning-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.meaning-card:hover {
  transform: translateY(-2px);
  border-color: var(--gradient-aux);
  box-shadow: 0 12px 32px rgba(0,143,215,0.08);
}
.meaning-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gradient-aux);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.meaning-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.meaning-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .meaning-grid { grid-template-columns: 1fr; }
}

/* 政策块（左侧橙边条）*/
.policy-block {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 32px;
  margin-top: 24px;
}
.policy-lead {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.policy-lead-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(238,124,79,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-lead-icon svg { width: 26px; height: 26px; }
.policy-lead p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}
.policy-lead strong { color: var(--accent); }

.policy-targets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.policy-target {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.policy-target-num {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.policy-target-name {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}
@media (max-width: 768px) {
  .policy-targets { grid-template-columns: 1fr; }
}

/* 易训角色 */
.yixun-role {
  margin-top: 56px;
}
.yixun-role h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.role-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.role-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(38,61,143,0.08);
  color: var(--primary);
  margin-bottom: 12px;
}
.role-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) { .role-grid { grid-template-columns: 1fr; } }

/* 案例大卡 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.case-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--gradient-aux);
  box-shadow: 0 16px 36px rgba(0,143,215,0.1);
}
.case-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(238,124,79,0.12);
  color: var(--accent);
}
.case-stat {
  text-align: right;
}
.case-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--gradient-aux);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  max-width: 140px;
}
.case-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1024px) { .case-grid { grid-template-columns: 1fr; } }

/* 数据汇总 */
.prevention-summary {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #F0F7FF 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 32px;
}
.prevention-summary h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.summary-item {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 20px 12px;
  border: 1px solid var(--border);
}
.summary-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.summary-unit {
  font-size: 14px;
  color: var(--gradient-aux);
  font-weight: 600;
}
.summary-label {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}
@media (max-width: 1024px) { .summary-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .summary-grid { grid-template-columns: repeat(2, 1fr); } }/* ============================================================
 * 安责险（insurance）页面专属样式
 * ============================================================ */

.page-hero-insurance {
  background: linear-gradient(135deg, #1A2347 0%, #263D8F 60%, #008FD7 100%);
}

/* 定义块 */
.definition-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin-top: 24px;
}
.definition-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0 0 14px;
}
.definition-content p:last-child { margin-bottom: 0; }
.definition-content strong { color: var(--text); font-weight: 600; }
.definition-coverage {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--gradient-aux);
}
.definition-coverage h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gradient-aux);
  margin: 0 0 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.definition-coverage ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.definition-coverage li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
}
.definition-coverage li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-aux);
}
@media (max-width: 768px) { .definition-block { grid-template-columns: 1fr; } }

/* 8 大行业 */
.industries-block {
  margin-top: 56px;
}
.industries-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  text-align: center;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color 0.25s, transform 0.25s;
}
.industry-card:hover {
  border-color: var(--gradient-aux);
  transform: translateY(-2px);
}
.industry-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,143,215,0.12) 0%, rgba(38,61,143,0.12) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.industry-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* 核心特色 4 卡 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--gradient-aux);
  box-shadow: 0 12px 32px rgba(0,143,215,0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,143,215,0.1);
  color: var(--gradient-aux);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon-money { background: rgba(0,194,160,0.12); color: var(--success); }
.feature-icon-service { background: rgba(38,61,143,0.1); color: var(--primary); }
.feature-icon-trace { background: rgba(238,124,79,0.12); color: var(--accent); }
.feature-icon-law { background: rgba(0,143,215,0.1); color: var(--gradient-aux); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
.feature-card strong {
  color: var(--gradient-aux);
  font-weight: 700;
}
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

/* 易训实践 */
.practice-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  margin-top: 24px;
}
.practice-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 32px;
}
.practice-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 卡片一行 */
  gap: 20px;
  margin-bottom: 24px;
}
.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: 12px;
  transition: background 0.25s;
}
.highlight-item:hover {
  background: rgba(0,143,215,0.06);
}
.highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  color: var(--gradient-aux);
  display: flex;
  align-items: center;
  justify-content: center;
}
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.highlight-content p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) { .practice-highlights { grid-template-columns: 1fr; } }

/* 工具框 */
.practice-tool {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #F0F7FF 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.tool-name {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--primary);
  color: white;
  margin-bottom: 12px;
}
.practice-tool p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* 实战案例 */
.practice-cases {
  margin-top: 48px;
}
.practice-cases h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}
.practice-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.practice-case {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.practice-case-region {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(238,124,79,0.12);
  color: var(--accent);
  margin-bottom: 16px;
}
.practice-case-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.case-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gradient-aux);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case-label {
  font-size: 13px;
  color: var(--text-mid);
}
.practice-case p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) { .practice-cases-grid { grid-template-columns: 1fr; } }

/* 合作保险公司 */
.practice-partners {
  margin-top: 48px;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 32px;
}
.practice-partners h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  text-align: center;
  letter-spacing: 0.05em;
}
.partners-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.partner-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.25s, color 0.25s;
}
.partner-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
@media (max-width: 1024px) { .partners-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .partners-list { grid-template-columns: repeat(2, 1fr); } }/* ============================================================
 * 师资饼图 (training)
 * ============================================================ */
.faculty-chart {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.chart-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-svg {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 8px 20px rgba(38, 61, 143, 0.08));
}
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chart-legend h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.legend-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.25s, transform 0.2s;
}
.legend-item:hover {
  border-color: var(--border);
  transform: translateX(4px);
}
.legend-dot {
  grid-row: 1 / 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.legend-dot-primary { background: var(--primary); }
.legend-dot-aux     { background: var(--gradient-aux); }
.legend-dot-accent  { background: var(--accent); }
.legend-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.legend-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.legend-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  font-feature-settings: 'tnum';
}
.legend-desc {
  grid-column: 2;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .faculty-chart {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .chart-svg { width: 220px; height: 220px; }
}/* ============================================================
 * 合作伙伴幻灯片（头部合作媒体 / 合作保险公司）
 * ============================================================ */
.partner-carousel {
  position: relative;
  /* No frame, no background, no shadow — let the image dictate its own
     aspect ratio (4:1 logos, 16:9 banners, 16:5 partner walls all fit). */
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  display: block;
}

.partner-carousel__slides {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.partner-carousel__slide {
  display: none;
  background: transparent;
}

.partner-carousel__slide.is-active {
  display: block;
  /* Show the image at its natural aspect ratio. No fixed aspect-ratio
     on the slide — let the <img height="auto"> decide the height. */
}

.partner-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;            /* Height tracks the image's natural ratio */
  max-width: 100%;
  object-fit: cover;       /* fallback if browser ignores height: auto */
  border-radius: 0;
}

.partner-carousel__caption {
  /* Captions intentionally not rendered (see main.js — caption element
     is no longer created). Class kept for backwards compatibility. */
  display: none;
}

/* No dots — auto-rotate only, no clickable indicators. */
.partner-carousel__dots {
  display: none;
}

.partner-carousel__dot {
  display: none;
}

.partner-carousel.is-empty {
  display: none;
}

/* ============================================================
 * 新闻报道卡片网格（训练赋能页面）
 * ============================================================ */
.news-coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.news-coverage-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.news-coverage-card:hover {
  border-color: #008FD7;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(38, 61, 143, 0.1);
}

.news-coverage-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #f0f3f9;
}

.news-coverage-card__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.news-coverage-card__cover--placeholder svg {
  width: 48px;
  height: 48px;
}

.news-coverage-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-coverage-card__media {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(0, 143, 215, 0.08);
  color: #008FD7;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  margin-bottom: 8px;
}

.news-coverage-card__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-coverage-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: #6b7891;
}

.news-coverage-card__outlink {
  color: #263D8F;
  font-weight: 500;
}

.news-coverage-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: #6b7891;
  font-size: 14px;
}

@media (max-width: 768px) {
  /* Mobile: images keep their natural aspect ratio. No fixed aspect-ratio. */
  .news-coverage-grid { grid-template-columns: 1fr; }
}
/* ============================================
/* ============================================
 * 发展历程 — 2 排波浪时间线 (方案 A)
 *
 * 排 1 (2011-2020): 5 个节点
 * 排 2 (2021-2026): 6 个节点 (2026 突出)
 * 节点间用 SVG 弧线连接, 跨排用大弧平滑过渡
 * ============================================ */
.milestones {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
  overflow: hidden;
}

/* SVG 弧线背景层
 * position: relative 在 .zt-rows 容器上, 让 SVG 限制在容器内 (max-width 1280)
 * 而不是 .milestones 跨整个 viewport — 高分辨率下线长不会变 */
.zt-rows-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 500px; /* 桌面端最小高度 */
}


/* 排布局 */
.zt-row {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

/* SVG 弧线背景层
 * overflow: visible 让弧线控制点可以超出 viewBox,
 * 视觉上弧线凸出右边界, 不被裁剪 */
.zt-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 1280px;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}

/* 排布局 */
.zt-row {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.zt-row-1 {
  height: 160px;
  margin-bottom: 80px; /* 跨排过渡空间 */
}

.zt-row-2 {
  height: 140px;
  flex-direction: row-reverse; /* 2021 在最右, 2026 在最左 */
}

/* 单个节点 */
.zt-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

/* 圆点 (中心) */
/* 描述拆成 title + body */
.zt-desc-title {
  font-size: 13px;
  font-weight: 700;
  color: #1A2347;
  margin: 0 0 4px 0;
  line-height: 1.35;
}
.zt-desc-body {
  font-size: 11px;
  color: #4A5578;
  line-height: 1.55;
  margin: 0;
}

/* 节点状态 (JS 切换) */
.zt-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #263D8F;
  box-sizing: border-box;
  box-shadow: 0 0 0 4px rgba(38, 61, 143, 0.08);
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  transition: transform 0.4s ease-out, background 0.4s,
              border-color 0.4s, box-shadow 0.4s;
}

/* 已过: dot 蓝色实心 + 略淡 */
.zt-node.is-past .zt-dot {
  background: #263D8F;
  box-shadow: 0 0 0 3px rgba(38, 61, 143, 0.18);
}
.zt-node.is-past .zt-year,
.zt-node.is-past .zt-chip {
  opacity: 0.7;
}
/* 描述淡显 */
.zt-node.is-past .zt-desc {
  opacity: 0.55;
  background: rgba(38, 61, 143, 0.02);
  border-color: rgba(38, 61, 143, 0.06);
}

/* 移动端: 全部显示, 不需要 JS 隐藏 */
@media (max-width: 768px) {
  .zt-desc {
    opacity: 1 !important;
    transform: none !important;
  }
  .zt-node.is-past .zt-desc {
    opacity: 0.85 !important;
  }
}

/* 当前: dot 蓝色脉动 + 放大, 卡片高亮 */
.zt-node:not(.zt-current).is-current .zt-dot {
  background: #008FD7;
  border-color: #008FD7;
  box-shadow: 0 0 0 5px rgba(0, 143, 215, 0.30),
              0 0 16px rgba(0, 143, 215, 0.55);
  transform: scale(1.35);
  animation: zt-pulse-blue 1.4s ease-in-out infinite;
}
.zt-node.is-current .zt-desc {
  opacity: 1;
  background: #FFFFFF;
  border-color: #008FD7;
  border-width: 2px;
  box-shadow: 0 6px 18px rgba(0, 143, 215, 0.20);
  transform: scale(1.05);
  border-left: 3px solid #EE7C4F;
}
.zt-node.is-current .zt-desc-title {
  color: #008FD7;
}
.zt-node.is-current .zt-year {
  color: #008FD7;
}
.zt-node.is-current .zt-chip {
  background: #008FD7;
  color: #FFFFFF;
}

@keyframes zt-pulse-blue {
  0%, 100% { box-shadow: 0 0 0 5px rgba(0, 143, 215, 0.30),
                          0 0 16px rgba(0, 143, 215, 0.55); }
  50% { box-shadow: 0 0 0 12px rgba(0, 143, 215, 0.05),
                     0 0 22px rgba(0, 143, 215, 0.3); }
}

/* 中后期圆点用 aux blue */
.zt-row-2 .zt-dot {
  border-color: #008FD7;
  box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.08);
}

/* mid-phase 圆点 navy→aux blue */
.zt-node[data-phase="reposition"] .zt-dot,
.zt-node[data-phase="sail"] .zt-dot,
.zt-node[data-phase="metamorphosis"] .zt-dot {
  border-color: #008FD7;
}

/* 年号 */
.zt-year {
  font-size: 26px;
  font-weight: 800;
  color: #263D8F;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 8px;
}

.zt-row-2 .zt-year {
  color: #008FD7;
}

/* phase chip */
.zt-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(38, 61, 143, 0.08);
  color: #263D8F;
  margin-bottom: 6px;
}

.zt-row-2 .zt-chip {
  background: rgba(0, 143, 215, 0.10);
  color: #008FD7;
}

.zt-node[data-phase="metamorphosis"] .zt-chip,
.zt-node[data-phase="restart"] .zt-chip {
  background: rgba(238, 124, 79, 0.12);
  color: #EE7C4F;
}

/* 描述 */
.zt-desc {
  font-size: 12px;
  color: #6B7390;
  line-height: 1.5;
  margin: 6px 0 0 0;
  padding: 10px 12px;
  background: rgba(38, 61, 143, 0.04);
  border: 1px solid rgba(38, 61, 143, 0.10);
  border-radius: 8px;
  max-width: 168px;
  /* 默认隐藏 (opacity 0) — 动画启动后才显示 */
  opacity: 0;
  transform: translateY(8px);
  /* 切换时整体缩放 + 边框颜色, 动画明显 */
  transition: transform 0.45s ease-out, background 0.4s ease,
              border-color 0.4s ease, box-shadow 0.4s ease,
              opacity 0.4s ease;
}

/* 2026 突出 */
.zt-current .zt-dot {
  width: 20px;
  height: 20px;
  border-color: #EE7C4F;
  background: #EE7C4F;
  box-shadow: 0 0 0 4px rgba(238, 124, 79, 0.20),
              0 0 12px rgba(238, 124, 79, 0.50);
  animation: zt-pulse 2.4s ease-in-out infinite;
  /* 2026 dot 上移 3px, 让橙色脉冲更靠上, 与排2线视觉对齐 */
  margin-top: -3px;
}

.zt-year-current {
  color: #EE7C4F;
  font-size: 28px;
}

.zt-chip-current {
  background: linear-gradient(135deg, #EE7C4F 0%, #008FD7 100%);
  color: #FFFFFF;
}

@keyframes zt-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(238, 124, 79, 0.20),
                          0 0 12px rgba(238, 124, 79, 0.50); }
  50% { box-shadow: 0 0 0 10px rgba(238, 124, 79, 0.05),
                     0 0 16px rgba(238, 124, 79, 0.30); }
}

<<<<<<< Updated upstream
=======
/* 发展历程 — 累加动画 (JS 控制, CSS 视觉)
   节点状态: .is-past (已过), .is-current (当前), 默认 (未来)
   事迹区: 默认 opacity 0, .is-past 0.55, .is-current 1.0 (脉动强调) */
.zt-node.is-past .zt-dot {
  background: #263D8F;
  box-shadow: 0 0 0 3px rgba(38, 61, 143, 0.2);
}
.zt-node.is-past .zt-year,
.zt-node.is-past .zt-chip {
  opacity: 0.7;
}
.zt-node:not(.zt-current).is-current .zt-dot {
  background: #008FD7;
  border-color: #008FD7;
  box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.25),
              0 0 12px rgba(0, 143, 215, 0.5);
  animation: zt-pulse-blue 1.6s ease-in-out infinite;
  transform: scale(1.2);
}
@keyframes zt-pulse-blue {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 143, 215, 0.25),
                          0 0 12px rgba(0, 143, 215, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(0, 143, 215, 0.05),
                     0 0 16px rgba(0, 143, 215, 0.3); }
}

.zt-narratives {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.zt-narrative-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  background: #FFFFFF;
  border: 1px solid rgba(38, 61, 143, 0.15);
  border-radius: 12px;
  padding: 18px 22px;
  position: relative;
  box-shadow: 0 2px 6px rgba(38, 61, 143, 0.04);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
}
.zt-narrative-item.is-past {
  opacity: 0.55;
  transform: translateY(0);
  border-color: rgba(38, 61, 143, 0.20);
  background: rgba(255, 255, 255, 0.85);
}
.zt-narrative-item.is-current {
  opacity: 1;
  transform: translateY(0);
  border-color: #008FD7;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 143, 215, 0.15);
}
.zt-narrative-item.is-current::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #008FD7, #EE7C4F);
  border-radius: 10px 0 0 10px;
}
.zt-narrative-item[data-phase="restart"].is-current {
  border-color: #EE7C4F;
  box-shadow: 0 4px 12px rgba(238, 124, 79, 0.2);
}
.zt-narrative-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-right: 1px solid rgba(38, 61, 143, 0.1);
  padding-right: 16px;
}
.zt-narrative-year {
  font-size: 17px;
  font-weight: 800;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  color: #263D8F;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.zt-narrative-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(38, 61, 143, 0.08);
  color: #263D8F;
  letter-spacing: 0.06em;
}
.zt-narrative-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A2347;
  margin: 4px 0 6px 0;
  line-height: 1.35;
}
.zt-narrative-desc {
  font-size: 14px;
  color: #4A5578;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .zt-narratives {
    max-width: 100%;
    padding: 0 12px;
  }
  .zt-narrative-item {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    gap: 10px;
  }
  .zt-narrative-head {
    border-right: none;
    border-bottom: 1px solid rgba(38, 61, 143, 0.1);
    padding-right: 0;
    padding-bottom: 8px;
  }
}

>>>>>>> Stashed changes
/* Responsive */

/* tablet: 字号略小 */
@media (max-width: 1024px) {
  .zt-year { font-size: 22px; }
  .zt-year-current { font-size: 24px; }
  .zt-desc { font-size: 11px; max-width: 100px; }
}

/* mobile (≤640px): 11 个里程碑单列垂直堆叠 */
@media (max-width: 640px) {
  .milestones { padding: 48px 0 40px; }
  /* 隐藏 SVG 弧线 (移动端不画曲线) */
  .zt-curve { display: none; }

  /* wrap 自适应高度, 让所有 11 个里程碑可见 */
  .zt-rows-wrap {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 16px;
  }

  /* 两排合并成单列 (但保持 row-reverse 让 2021→2026 顺序) */
  .zt-row {
    flex-direction: column;
    height: auto !important;
    margin-bottom: 0 !important;
    gap: 0;
  }
  /* 排 2 移动端: 按时间正向显示 2021→2026 (覆盖桌面的 row-reverse) */
  .zt-row-2 {
    flex-direction: column;
  }

  /* 节点: 横向布局 (dot 左, .zt-content 内部垂直堆叠) */
  .zt-node {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 16px 0;
    gap: 14px;
    position: relative;
    border-bottom: 1px solid rgba(38, 61, 143, 0.08);
  }
  /* zt-content 容器: 垂直堆叠 year + chip + desc */
  .zt-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
  }
  /* 最后一个不要分隔线 */
  .zt-row-2 .zt-node:last-child { border-bottom: none; }
  .zt-row-1 .zt-node:last-child { border-bottom: 1px dashed rgba(38, 61, 143, 0.15); }

  /* 用 ::after 给节点提供一个 column wrapper — 不行, 改用 selector
     让 year+chip+desc 排成 column: 隐藏原 DOM, 把它们用 ::before/::after?
     真正方案: 改 HTML 结构 + wrap 内容 div */
  /* 这里简单做法: dot 固定宽, 其余 flex 1 column */
  .zt-dot {
    margin-bottom: 0;
    margin-top: 4px;
    flex-shrink: 0;
    width: 14px;
  }
  .zt-current .zt-dot { margin-top: 4px; }

  /* zt-meta: 年号 + chip 同行 (row) */
  .zt-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  /* year: 大字, 与 chip 同行左侧 */
  .zt-year {
    font-size: 22px;
    margin-bottom: 0;
    line-height: 1.1;
  }
  .zt-year-current { font-size: 24px; }

  /* phase chip: 与 year 同行右侧 */
  .zt-chip {
    display: inline-block;
    margin-bottom: 0;
  }

  /* desc: 在 year/chip 行下方, 占满 */
  .zt-desc {
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: none;
    margin-top: 0;
    font-size: 12px;
    padding: 10px 12px;
    opacity: 1 !important;
    transform: none !important;
  }
  .zt-desc-title { font-size: 13px; }
  .zt-desc-body { font-size: 11px; }
  .zt-node.is-past .zt-desc {
    opacity: 0.85 !important;
    background: rgba(38, 61, 143, 0.02);
  }
  .zt-node.is-current .zt-desc {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 143, 215, 0.18);
  }

  /* 节点 hover/click 区域, 整体节点可点击 */
  .zt-node {
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .zt-node:active { background: rgba(38, 61, 143, 0.04); }

  /* 删掉旧 dot 下方的渐变竖线 (单列已经由 border-bottom 替代) */
  .zt-node::after { display: none; }

}
