/* ============================================================
   香港药物及医疗器械注册登记服务中心 - 官网 Demo 样式系统
   设计语言：官方 · 权威 · 精密 · 可信赖
   主色：#0c4a6e → #0891b2 医疗蓝-青 渐变
   布局：大块留白 · 少边框 · 软阴影 · 圆角
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 — 医疗蓝青体系（信任 · 权威 · 专业） */
  --c-primary: #0c4a6e;
  --c-primary-deep: #082f49;
  --c-primary-soft: #e0f2fe;
  --c-primary-soft-2: #bae6fd;
  --c-grad: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
  --c-grad-soft: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);

  /* 辅助色 */
  --c-accent: #0891b2;
  --c-success: #059669;
  --c-warning: #d97706;
  --c-danger: #dc2626;

  /* 中性色 */
  --c-ink: #0f172a;
  --c-text: #334155;
  --c-muted: #64748b;
  --c-line: #e2e8f0;
  --c-bg: #f8fafc;
  --c-card: #ffffff;
  --c-bg-soft: #f1f5f9;

  /* 字体 */
  --ff-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ff-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
  --ff-display: "Noto Serif SC", "Songti SC", "PingFang SC", serif;

  /* 字号 */
  --fs-hero: clamp(2.4rem, 5vw, 3.6rem);
  --fs-h1: clamp(1.9rem, 3.5vw, 2.6rem);
  --fs-h2: clamp(1.5rem, 2.4vw, 1.9rem);
  --fs-h3: 1.2rem;
  --fs-body: 0.95rem;
  --fs-sm: 0.85rem;
  --fs-xs: 0.78rem;

  /* 间距 */
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-xxl: 72px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --sh-md: 0 8px 24px rgba(12, 74, 110, 0.08);
  --sh-lg: 0 18px 48px rgba(12, 74, 110, 0.14);
  --sh-hover: 0 16px 40px rgba(8, 145, 178, 0.18);

  /* 容器 */
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 内联 SVG 图标默认尺寸 ---------- */
/* 防止模板中大量未声明 width/height 的 inline SVG 撑破布局。
   未显式声明 width/height 的 SVG 默认按 1.2em 显示；大图/图表 SVG 应显式声明尺寸
   或通过更高特异性的选择器覆盖。 */
svg:not([width]):not([height]) {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  flex-shrink: 0;
}
/* 保留旧规则以保证向后兼容，新规则已覆盖全部 viewBox */
svg[viewBox="0 0 24 24"]:not([width]):not([height]),
svg[viewBox="0 0 1024 1024"]:not([width]):not([height]) {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-xxl) 0; }
.section-sm { padding: var(--sp-xl) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-grad { background: var(--c-grad-soft); }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--sp-xl); }
.mt-md { margin-top: var(--sp-lg); }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.3; font-weight: 700; }
h1, h2, .sec-title, .slide h1 { font-family: var(--ff-display); letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--c-text); }
.lead { font-size: 1.08rem; color: var(--c-muted); line-height: 1.8; }

/* 区块标题 */
.sec-head { max-width: 720px; margin: 0 auto var(--sp-xl); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-primary);
  background: var(--c-primary-soft); padding: 6px 16px;
  border-radius: var(--r-pill); margin-bottom: var(--sp-md);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-primary);
}
.sec-title { font-family: var(--ff-display); font-size: var(--fs-h2); font-weight: 800; margin-bottom: var(--sp-sm); letter-spacing: -.01em; }
.sec-sub { color: var(--c-muted); font-size: 1.02rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-pill); font-weight: 600;
  font-size: var(--fs-body); transition: all .28s cubic-bezier(.4,0,.2,1);
  white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary { background: var(--c-grad); color: #fff; box-shadow: 0 8px 20px rgba(12, 74, 110, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8, 145, 178, .38); }
.btn-light { background: #fff; color: var(--c-primary-deep); box-shadow: var(--sh-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary-soft-2); }
.btn-outline:hover { background: var(--c-primary-soft); border-color: var(--c-primary); }
.btn-sm { padding: 9px 20px; font-size: var(--fs-sm); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.ico {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  flex-shrink: 0;
}
.ico-spin { animation: ico-spin 1s linear infinite; }
@keyframes ico-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.btn .ico { width: 18px; height: 18px; }
.pagination__link .ico { width: 16px; height: 16px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--sh-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: 1400px;}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 42px; height: 42px;
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; overflow: hidden; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--c-ink); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.brand-en { font-size: .68rem; color: var(--c-muted); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; white-space: nowrap; gap: 5px; padding: 10px 16px;
  font-size: var(--fs-body); font-weight: 600; color: var(--c-text);
  border-radius: var(--r-pill); transition: all .25s;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--c-primary); background: var(--c-primary-soft); }
.nav-link.active { color: var(--c-primary); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .25s; opacity: .6; }
.nav-item:hover > .nav-link .caret { transform: rotate(180deg); }

/* 下拉菜单（悬停 + 点击双模式，桥接避免丢失悬停） */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: 10px; min-width: 220px; opacity: 0; visibility: hidden;
  transition: all .28s; pointer-events: none; z-index: 50;
}
/* 透明桥接区：鼠标从导航移入下拉时不会丢失 hover */
.nav-item:has(.dropdown)::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown a {
  display: block; padding: 10px 16px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-text);
}
.dropdown a:hover, .dropdown a.active { background: var(--c-primary-soft); color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-text); border: 1px solid var(--c-line); transition: all .25s;
}
.lang-toggle:hover { border-color: var(--c-primary); color: var(--c-primary); }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--c-ink); }
.menu-btn svg { width: 24px; height: 24px; }

/* ---------- 移动端抽屉 ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; background: rgba(26,19,38,.5);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: all .3s;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(86%, 360px);
  background: #fff; padding: 24px; transform: translateX(100%); transition: transform .35s;
  overflow-y: auto;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.drawer-nav > .nav-link { padding: 14px 16px; border-radius: var(--r-md); }
.drawer-sub { padding-left: 16px; display: none; flex-direction: column; gap: 2px; }
.drawer-nav .nav-item.open .drawer-sub { display: flex; }

/* ---------- 轮播 Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-carousel { position: relative; }
.slide {
  position: relative; min-height: 560px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,47,73,.92) 0%, rgba(12,74,110,.78) 45%, rgba(8,145,178,.55) 100%);
}
.slide-inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-lg);
  backdrop-filter: blur(6px);
}
.slide h1 { font-family: var(--ff-display); color: #fff; font-size: var(--fs-hero); font-weight: 800; line-height: 1.18; margin-bottom: var(--sp-md); max-width: 720px; letter-spacing: -.01em; }
.slide p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 580px; margin-bottom: var(--sp-xl); }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 轮播控件 */
.carousel-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.dot.active { width: 32px; border-radius: var(--r-pill); background: #fff; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: all .25s; cursor: pointer;
}
.carousel-arrow:hover { background: rgba(255,255,255,.32); }
.carousel-arrow.prev { left: 28px; }
.carousel-arrow.next { right: 28px; }
.carousel-arrow svg { width: 22px; height: 22px; }

/* 图片占位（无图时优雅占位） */
.placeholder {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: var(--c-grad-soft); color: var(--c-primary-deep);
}
.placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(8,145,178,.12), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(12,74,110,.1), transparent 50%);
}
.placeholder .ph-icon { width: 48px; height: 48px; opacity: .5; position: relative; z-index: 1; }
.placeholder .ph-label { position: relative; z-index: 1; font-size: var(--fs-xs); color: var(--c-primary); font-weight: 600; margin-top: 8px; letter-spacing: .08em; }

/* 装饰图（hero 右侧大图占位） */
.hero-visual { position: relative; z-index: 2; }
.hero-visual .placeholder { border-radius: var(--r-lg); aspect-ratio: 4/3; box-shadow: var(--sh-lg); }

/* ---------- 通用网格 ---------- */
.grid { display: grid; gap: var(--sp-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--c-card); border-radius: var(--r-lg); padding: var(--sp-lg);
  box-shadow: var(--sh-sm); transition: all .3s cubic-bezier(.4,0,.2,1);
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-hover); }

/* 特性卡片 */
.feature-card { padding: var(--sp-xl) var(--sp-lg); text-align: left; }
.feature-ico {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-grad-soft); color: var(--c-primary); margin-bottom: var(--sp-md);
}
.feature-ico svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--c-muted); font-size: var(--fs-sm); }

/* 信任/服务承诺项（contact/index 服务承诺等） */
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.trust-ico {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-grad-soft); color: var(--c-primary);
}
.trust-ico svg { width: 32px; height: 32px; }
.trust-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.trust-item p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.7; }

/* 服务卡片（带图） */
.service-card { overflow: hidden; padding: 0; }
.service-card .card-img { aspect-ratio: 16/10; }
.service-card .card-body { padding: var(--sp-lg); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-md); }
.service-card .card-img .ph-label { font-size: var(--fs-sm); }

/* 标签/胶囊 */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
  border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.tag-light { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.tag-success { background: #e7f8ee; color: #15803d; }
.tag-warning { background: #fef3e2; color: #b45309; }
.tag-muted { background: var(--c-bg-soft); color: var(--c-muted); }

/* 统计数字 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }
.stat { text-align: center; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1;
  background: var(--c-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 8px;white-space: nowrap;
}
.stat-label { color: var(--c-muted); font-size: var(--fs-sm); font-weight: 500; }

/* 深色统计带 */
.stat-band { background: var(--c-grad); color: #fff; border-radius: var(--r-lg); padding: var(--sp-xl); }
.stat-band .stat-num { background: #fff; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;white-space: nowrap; }
.stat-band .stat-label { color: rgba(255,255,255,.8); }

/* ---------- 团队卡片 ---------- */
.team-card { text-align: center; padding: var(--sp-lg); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto var(--sp-md); overflow: hidden; background: var(--c-grad-soft); }
.team-avatar .placeholder { width: 100%; height: 100%; border-radius: 50%; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-role { color: var(--c-primary); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 10px; }
.team-bio { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 文章卡片 ---------- */
.article-card { padding: 0; overflow: hidden; }
.article-card .card-img { aspect-ratio: 16/9; }
.article-card .card-body { padding: var(--sp-lg); }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 10px; }
.article-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.4; }
.article-card p { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 视频卡片（首页/文章列表页视频专区） ---------- */
.video-card .card-img { position: relative; }
.video-card .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 74, 110, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
  pointer-events: none;
}
.video-card .play-btn svg { width: 22px; height: 22px; margin-left: 2px; }
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(8, 145, 178, 0.9);
}
.video-duration {
  position: absolute; right: 10px; bottom: 10px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: var(--fs-xs);
  border-radius: var(--r-xs);
  line-height: 1.4;
  pointer-events: none;
}
.video-meta {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.video-meta svg { width: 14px; height: 14px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-lg); position: relative; }
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto var(--sp-md);
  background: #fff; border: 2px solid var(--c-primary-soft-2); color: var(--c-primary);
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; position: relative; z-index: 2;
  transition: all .3s;
}
.step:hover .step-num { background: var(--c-grad); color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: var(--sh-md); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 双入口大卡 ---------- */
.dual-entry { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.entry-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: var(--sp-xxl) var(--sp-xl);
  color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
}
.entry-card .entry-bg { position: absolute; inset: 0; z-index: 0; }
.entry-card .entry-bg::after { content: ""; position: absolute; inset: 0; }
.entry-card.overseas .entry-bg { background: linear-gradient(135deg, #0c4a6e, #0891b2); }
.entry-card.inbound .entry-bg { background: linear-gradient(135deg, #082f49, #0e7490); }
.entry-card .entry-content { position: relative; z-index: 2; }
.entry-flag { font-size: 2.4rem; margin-right: var(--sp-sm); display: inline-flex; align-items: center; color: #fff; }
.entry-flag svg { width: 1em; height: 1em; }
div.entry-flag { display: flex; margin-right: 0; margin-bottom: 14px; }
.entry-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.entry-card p { color: rgba(255,255,255,.9); margin-bottom: var(--sp-lg); }

/* ---------- 资源卡片 ---------- */
.resource-card { display: flex; gap: var(--sp-md); align-items: flex-start; padding: var(--sp-lg); }
.res-ico {
  width: 52px; height: 52px; border-radius: var(--r-md); flex-shrink: 0;
  display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary);
}
.res-ico svg { width: 26px; height: 26px; }
.resource-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.resource-card p { color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: 10px; }
.res-meta { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- FAQ 手风琴 ---------- */
.faq-item { background: var(--c-card); border-radius: var(--r-md); margin-bottom: var(--sp-sm); box-shadow: var(--sh-sm); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); padding: var(--sp-lg); cursor: pointer; font-weight: 600; color: var(--c-ink); }
.faq-q .ico,
.faq-q .faq-icon { width: 22px; height: 22px; color: var(--c-primary); transition: transform .3s; flex-shrink: 0; }
.faq-q .faq-icon { width: 24px; height: 24px; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-item.open .faq-q .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 var(--sp-lg) var(--sp-lg); color: var(--c-muted); }

/* ---------- 空列表提示 ---------- */
.empty-list { text-align: center; padding: 48px 20px; color: var(--c-muted); }
.empty-list__icon { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--c-muted); opacity: .55; }
.empty-list__icon svg { width: 100%; height: 100%; }
.empty-list__text { font-size: var(--fs-body); }

/* 营业时间/权益卡片（contact/index、form/membership 右侧栏共用） */
.hours-card { padding: var(--sp-lg); }
.hours-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; color: var(--c-ink); }
.hours-card h4 svg { width: 20px; height: 20px; color: var(--c-primary); flex-shrink: 0; }
.hours-list { display: flex; flex-direction: column; gap: 10px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.hours-row .day { color: var(--c-text); font-weight: 600; }
.hours-row .time { color: var(--c-muted); text-align: right; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); }
.form-label .req { color: var(--c-danger); }
.input, .textarea, .select {
  padding: 8px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--c-line);
  background: #fff; transition: all .25s; font-size: var(--fs-body); color: var(--c-text);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.textarea { resize: vertical; min-height: 120px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--c-muted); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--c-ink); font-weight: 600; }

/* ---------- 页面横幅 ---------- */
.page-banner {
  position: relative; padding: var(--sp-xxl) 0; color: #fff; overflow: hidden;
  background: var(--c-grad);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(255,255,255,.1), transparent 40%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: var(--sp-sm); }
.page-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 640px; }
.page-banner .breadcrumb { color: rgba(255,255,255,.7); margin-bottom: var(--sp-md); }
.page-banner .breadcrumb a, .page-banner .breadcrumb .current { color: #fff; }
.page-banner .breadcrumb .current { opacity: .9; }

/* ---------- 页面列表 ---------- */
.page-list__content{margin-top: 32px;display: flex;flex-direction: column;gap: 16px;}
.page-list__sidebar{margin-top: 32px;}

/* ---------- 引用/评价 ---------- */
.review-card { padding: var(--sp-lg); }
.stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: var(--sp-sm); }
.stars svg { width: 18px; height: 18px; }
.review-text { color: var(--c-text); font-size: 1rem; line-height: 1.8; margin-bottom: var(--sp-md); font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-grad-soft); display: grid; place-items: center; color: var(--c-primary); font-weight: 700; }
.review-name { font-weight: 600; color: var(--c-ink); }
.review-from { font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- 组织架构树 ---------- */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: var(--sp-xl); }
.org-node {
  background: #fff; border-radius: var(--r-md); padding: var(--sp-md) var(--sp-xl);
  box-shadow: var(--sh-md); text-align: center; min-width: 200px;
}
.org-node.root { background: var(--c-grad); color: #fff; }
.org-node.root h3 { color: #fff; }
.org-row { display: flex; gap: var(--sp-lg); flex-wrap: wrap; justify-content: center; }
.org-node h3 { font-size: 1.05rem; margin-bottom: 4px; }
.org-node p { font-size: var(--fs-xs); color: var(--c-muted); }
.org-node.root p { color: rgba(255,255,255,.85); }

/* ---------- 章程 ---------- */
.constitution-chapter { background: #fff; border-radius: var(--r-md); padding: var(--sp-xl); margin-bottom: var(--sp-lg); box-shadow: var(--sh-sm); }
.constitution-chapter h3 { color: var(--c-primary); margin-bottom: var(--sp-md); padding-bottom: var(--sp-sm); border-bottom: 1px solid var(--c-line); }
.constitution-chapter h4 { margin: var(--sp-md) 0 8px; color: var(--c-ink); }
.constitution-chapter p { margin-bottom: 10px; }
.constitution-chapter ol { padding-left: 22px; }
.constitution-chapter ol li { margin-bottom: 8px; color: var(--c-text); }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: var(--sp-xl); }
.pagination a, .pagination span {
  width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center;
  font-weight: 600; color: var(--c-text); background: #fff; box-shadow: var(--sh-sm); transition: all .25s;
}
.pagination a:hover { color: var(--c-primary); }
.pagination .active { background: var(--c-grad); color: #fff; }

/* ---------- 浮动 CTA ---------- */
.float-cta { position: fixed; right: 24px; bottom: 32px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-grad); color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-lg); transition: all .3s; position: relative;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn .tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--c-ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm);
  font-size: var(--fs-xs); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.float-btn:hover .tip { opacity: 1; }
.float-btn.secondary { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-primary-soft-2); }

/* ---------- 页脚 ---------- */
.site-footer { background: #082f49; color: rgba(255,255,255,.7); padding: var(--sp-xxl) 0 var(--sp-lg); overflow-wrap: break-word; word-break: break-word; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--sp-xl); margin-bottom: var(--sp-xl); }
.footer-grid > * { min-width: 0; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: var(--fs-sm); margin-top: var(--sp-md); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-md); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,.6); margin-bottom: 12px; min-width: 0; }
.footer-contact__text { min-width: 0; flex: 1; overflow-wrap: break-word; word-break: break-word; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-primary); margin-top: 2px; }
.qr-box { display: flex; gap: var(--sp-md); margin-top: var(--sp-md); }
.qr { text-align: center; }
.qr .qr-img { width: 88px; height: 88px; border-radius: var(--r-sm); background: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.qr .qr-img svg { width: 60px; height: 60px; color: var(--c-ink); }
.qr span { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.footer-links { display: flex; flex-wrap: wrap;gap: var(--sp-md); }
.footer-links a{ white-space: nowrap; }
.footer-links a:hover { color: #fff; }
/* ---------- 友情链接区 ---------- */
.footer-friend-links { border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-lg); margin-bottom: var(--sp-lg); }
.footer-friend-links__title { display: block; color: #fff; font-size: 1rem; margin-bottom: var(--sp-md); }
.footer-friend-links__list { display: flex; flex-wrap: wrap; gap: var(--sp-md) var(--sp-lg); }
.footer-friend-links__item { font-size: var(--fs-sm); color: rgba(255,255,255,.6); white-space: nowrap; }
.footer-friend-links__item:hover { color: #fff; }

/* ---------- 工具类 ---------- */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }
.flex-wrap { flex-wrap: wrap; }
.text-primary { color: var(--c-primary); }
.text-muted { color: var(--c-muted); }
.bg-white { background: #fff; }
.rounded { border-radius: var(--r-md); }
.shadow { box-shadow: var(--sh-md); }
.hidden { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --sp-xxl: 48px; --header-h: 64px; }
  .main-nav, .header-actions .lang-dropdown, .header-actions .btn { display: none; }
  .menu-btn { display: flex; }
  .header-actions .search-btn { display: grid; }
  .slide { min-height: 480px; }
  .slide h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .dual-entry { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-arrow { display: none; }
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: var(--sp-lg); }
  /* logo 文字移动端优化：缩小字号 + 缩短间距，避免中文长标题拥挤 */
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: .92rem; letter-spacing: 0; }
  .brand-en { font-size: .58rem; letter-spacing: .08em; }
  /* CTA 横幅：紧凑化 */
  .cta-banner { padding: var(--sp-xl) var(--sp-lg); }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: var(--fs-sm); margin-bottom: var(--sp-md); }
  /* 分页：紧凑化并允许换行 */
  .pagination { gap: 6px; flex-wrap: wrap; }
  .pagination a, .pagination span { padding: 6px 10px; font-size: var(--fs-xs); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  /* 极窄屏：进一步压缩 logo，给导航留空间；英文简称字号更小但保持可见 */
  .brand { gap: 6px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name { font-size: .82rem; }
  .brand-en { font-size: .52rem; letter-spacing: .04em; }
  /* CTA 横幅：进一步紧凑 */
  .cta-banner { padding: var(--sp-lg) var(--sp-md); }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner .btn { width: 100%; }
  /* 分页：进一步紧凑 */
  .pagination a, .pagination span { padding: 5px 8px; }
}

/* ============================================================
   增强组件 v2
   搜索浮层 · 语言下拉 · 侧边工具栏(回到顶部) · 图表
   兄弟页导航 · 标签云 · 胶囊子页入口 · 时间轴 · 文章排版
   CTA 背景图 · 滚动入场动画 · 合作伙伴墙 · 资源行
   ============================================================ */

/* ---------- 头部搜索按钮 ---------- */
.search-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--c-text); transition: all .25s;
}
.search-btn:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.search-btn svg { width: 20px; height: 20px; }

/* 全屏搜索浮层（PC + 移动统一入口） */
.search-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(22,10,43,.94);
  backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center;
  padding-top: 16vh; opacity: 0; visibility: hidden; transition: all .3s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { width: min(680px, 92%); position: relative; }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-pill);
  padding: 6px 6px 6px 24px; box-shadow: var(--sh-lg);
}
.search-input-wrap input {
  flex: 1; border: none; background: none; font-size: 1.1rem; color: var(--c-ink); padding: 14px 0;
}
.search-input-wrap input:focus { outline: none; }
.search-submit {
  width: 48px; height: 48px; border-radius: 50%; background: var(--c-grad); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.search-submit svg { width: 22px; height: 22px; }
.search-hot { margin-top: 28px; color: rgba(255,255,255,.7); }
.search-hot .hot-label { font-size: var(--fs-sm); margin-right: 12px; }
.search-hot a {
  display: inline-block; padding: 7px 18px; margin: 8px 8px 0 0; border-radius: var(--r-pill);
  background: rgba(255,255,255,.12); color: #fff; font-size: var(--fs-sm); border: 1px solid rgba(255,255,255,.18);
  transition: all .25s;
}
.search-hot a:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.search-close {
  position: absolute; top: -64px; right: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: all .25s;
}
.search-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }

/* ---------- 语言下拉 ---------- */
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); border: 1px solid var(--c-line);
  transition: all .25s;white-space: nowrap;
}
.lang-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn .caret { width: 12px; height: 12px; opacity: .6; transition: transform .25s; }
.lang-dropdown.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background: #fff;
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .25s; z-index: 60;
}
.lang-dropdown.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); color: var(--c-text);
}
.lang-menu a:hover, .lang-menu a.active { background: var(--c-primary-soft); color: var(--c-primary); }
.lang-menu a .check { width: 16px; height: 16px; color: var(--c-primary); margin-left: auto; }
.lang-menu a:not(.active) .check { display: none; }

/* ---------- 侧边工具栏（回到顶部 + 咨询 + 微信） ---------- */
.side-toolbar {
  position: fixed; right: 20px; bottom: 28px; z-index: 90; display: flex; flex-direction: column; gap: 10px;
}
.tool-btn {
  position: relative; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--c-primary);
  display: grid; place-items: center; box-shadow: var(--sh-md); transition: all .3s; border: 1px solid var(--c-line);
}
.tool-btn:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); background: var(--c-grad); color: #fff; border-color: transparent; }
.tool-btn svg { width: 22px; height: 22px; }
.tool-btn .tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--c-ink); color: #fff; padding: 6px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-xs); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.tool-btn:hover .tip { opacity: 1; }
.tool-btn.primary { background: var(--c-grad); color: #fff; border-color: transparent; }
.back-to-top { opacity: 0; visibility: hidden; transform: translateY(10px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- 柱状图 ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: 18px; height: 260px; padding: 28px 0 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.bar-fill {
  width: 100%; max-width: 60px; background: var(--c-grad); border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: height 1.2s cubic-bezier(.4,0,.2,1); position: relative; min-height: 4px;
}
.bar-fill::before {
  content: attr(data-val); position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink);
}
.bar-label { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 600; }

/* ---------- 环形图 ---------- */
.donut-wrap { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.donut { position: relative; width: 180px; height: 180px; flex-shrink: 0; }
.donut svg { transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;align-content: center; }
.donut-center .num { font-size: 2rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.donut-center .lbl { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 4px; }
.donut-legend { display: flex; flex-direction: column; gap: 14px; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; }
.legend-item .legend-val { margin-left: auto; font-weight: 700; color: var(--c-ink); }

/* ---------- 进度条列表 ---------- */
.progress-list { display: flex; flex-direction: column; gap: 20px; }
.progress-item .progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: var(--fs-sm); }
.progress-item .progress-name { font-weight: 600; color: var(--c-ink); }
.progress-item .progress-val { color: var(--c-primary); font-weight: 700; }
.progress-track { height: 10px; background: var(--c-bg-soft); border-radius: var(--r-pill); overflow: hidden; }
.progress-bar { height: 100%; background: var(--c-grad); border-radius: var(--r-pill); width: 0; transition: width 1.4s cubic-bezier(.4,0,.2,1); }

/* ---------- 兄弟页面导航（上一篇/下一篇） ---------- */
.sibling-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.sibling-link {
  display: flex; align-items: center; gap: var(--sp-md); padding: var(--sp-lg); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--sh-sm); transition: all .3s;
}
.sibling-link:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.sibling-link.prev { justify-content: flex-start; }
.sibling-link.next { justify-content: flex-end; text-align: right; }
.sibling-link .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.sibling-link .ico svg { width: 20px; height: 20px; }
.sibling-link .lbl { font-size: var(--fs-xs); color: var(--c-muted); }
.sibling-link .ttl { font-weight: 700; color: var(--c-ink); font-size: 1.02rem; }

/* ---------- 标签云 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
  padding: 8px 18px; border-radius: var(--r-pill); background: #fff; color: var(--c-text);
  font-size: var(--fs-sm); box-shadow: var(--sh-sm); transition: all .25s;
}
.tag-cloud a:hover, .tag-cloud a.active { background: var(--c-grad); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-hover); }

/* ---------- 胶囊子页入口 ---------- */
.capsule-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.capsule-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r-pill);
  background: #fff; color: var(--c-text); font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--sh-sm);
  transition: all .25s;
}
.capsule-nav a:hover, .capsule-nav a.active { background: var(--c-grad); color: #fff; box-shadow: var(--sh-hover); }
.capsule-nav a svg { width: 16px; height: 16px; }

/* ---------- 卡片配图（真实图片） ---------- */
.card-img { position: relative; overflow: hidden; background: var(--c-bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-hover:hover .card-img img { transform: scale(1.06); }
.media-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(22,10,43,.55) 100%); pointer-events: none; }
.media-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--c-primary-soft-2); }
.tl-item { position: relative; padding-bottom: var(--sp-xl); }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -33px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }
.tl-date { font-size: var(--fs-sm); color: var(--c-primary); font-weight: 700; margin-bottom: 6px; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tl-item p { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 文章视频播放区块（详情页） ---------- */
.article-video {
  position: relative;
  margin: var(--sp-lg) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--sh-md);
}
.article-video video,
.article-video .video-js {
  width: 100%;
  border-radius: var(--r-lg);
}
.article-video__iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.article-video__iframe iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--r-lg);
}
.article-video__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-xxl) var(--sp-lg);
  background: linear-gradient(135deg, var(--c-primary, #0c4a6e), var(--c-accent, #0891b2));
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-md);
  font-weight: 500;
  border-radius: var(--r-lg);
  transition: opacity 0.2s ease;
}
.article-video__fallback:hover { opacity: 0.9; }
.article-video__play-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.article-video__duration {
  position: absolute;
  left: 12px; top: 12px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: var(--fs-xs);
  border-radius: var(--r-xs);
  line-height: 1.4;
  pointer-events: none;
}

/* ---------- 文章正文排版 ---------- */
.article-prose { max-width: 100%; margin: 0 auto; }
.article-prose h2 { font-size: 1.5rem; margin: var(--sp-xl) 0 var(--sp-md); }
.article-prose h3 { font-size: 1.2rem; margin: var(--sp-lg) 0 var(--sp-sm); }
.article-prose p { margin-bottom: var(--sp-md); line-height: 1.9; color: var(--c-text); }
.article-prose img { border-radius: var(--r-md); margin: var(--sp-lg) 0; box-shadow: var(--sh-md); }
.article-prose blockquote { border-left: 4px solid var(--c-primary); background: var(--c-primary-soft); padding: var(--sp-md) var(--sp-lg); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: var(--sp-lg) 0; color: var(--c-ink); font-style: italic; }
.article-prose ul, .article-prose ol { padding-left: 22px; margin-bottom: var(--sp-md); }
.article-prose li { margin-bottom: 8px; color: var(--c-text); }

/* ---------- 文章详情布局（正文 + 目录侧栏） ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--sp-xl); align-items: start; }
.article-layout.left-aside{grid-template-columns: 280px 1fr;}
.toc-side { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-side h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-bottom: var(--sp-md); }
.toc-side ul { display: flex; flex-direction: column; gap: 8px; }
.toc-side a { font-size: var(--fs-sm); color: var(--c-text); padding: 6px 0 6px 14px; border-left: 2px solid var(--c-line); display: block; }
.toc-side a:hover, .toc-side a.active { color: var(--c-primary); border-color: var(--c-primary); }

/* ---------- 资源列表行 ---------- */
.res-row { display: flex; gap: var(--sp-lg); align-items: center; padding: var(--sp-lg); background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-sm); transition: all .3s; }
.res-row:hover { box-shadow: var(--sh-md); transform: translateX(4px); }
.res-row .res-thumb { width: 140px; height: 90px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; background: var(--c-bg-soft); }
.res-row .res-thumb img { width: 100%; height: 100%; object-fit: cover; }
.res-row .res-info { flex: 1; min-width: 0; }
.res-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.res-row p { color: var(--c-muted); font-size: var(--fs-sm); }
.res-row .res-meta { display: flex; gap: 16px; font-size: var(--fs-xs); color: var(--c-muted); margin-top: 8px; flex-wrap: wrap; }

/* ---------- 合作伙伴 logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-md); }
.logo-cell { aspect-ratio: 3/2; background: #fff; border-radius: var(--r-sm); display: grid; place-items: center; box-shadow: var(--sh-sm); transition: all .3s; padding: 16px; }
.logo-cell:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.logo-cell .logo-txt { font-weight: 800; color: var(--c-muted); font-size: .95rem; text-align: center; }
.logo-cell:hover .logo-txt { color: var(--c-primary); }

/* ---------- CTA 带背景图 ---------- */
.cta-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: var(--sp-xxl) var(--sp-xl); color: #fff; text-align: center; }
.cta-banner .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-banner .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,74,110,.92), rgba(8,145,178,.78)); }
.cta-banner .cta-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: var(--sp-sm); }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: var(--sp-lg); }

/* ---------- 信息卡（图标 + 文案） ---------- */
.info-card { display: flex; gap: var(--sp-md); padding: var(--sp-lg); background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-sm); align-items: flex-start; transition: all .3s; }
.info-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.info-card .info-ico { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c-grad-soft); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.info-card .info-ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 章节内分割小标题 ---------- */
.sub-title { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; color: var(--c-ink); margin-bottom: var(--sp-lg); }
.sub-title::before { content: ""; width: 5px; height: 22px; border-radius: var(--r-pill); background: var(--c-grad); }

/* ---------- 移动端抽屉内的搜索与语言 ---------- */
.drawer-search { margin: 16px 0; }
.drawer-search .search-input-wrap { padding: 4px 4px 4px 18px; }
.drawer-lang { display: flex; gap: 8px; margin: 16px 0; }
.drawer-lang a { flex: 1; text-align: center; padding: 10px; border-radius: var(--r-sm); background: var(--c-bg-soft); font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.drawer-lang a.active { background: var(--c-grad); color: #fff; }

/* ---------- 增强组件响应式 ---------- */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc-side { display: none; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .sibling-nav { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .bar-chart { height: 200px; gap: 10px; }
  .donut-wrap { justify-content: center; }
  .res-row { flex-direction: column; align-items: flex-start; }
  .res-row .res-thumb { width: 100%; height: 150px; }
  .side-toolbar { right: 14px; bottom: 20px; }
  /* 视频卡片：紧凑化 */
  .video-card .play-btn { width: 44px; height: 44px; }
  .video-card .play-btn svg { width: 18px; height: 18px; }
  .video-duration { padding: 2px 6px; font-size: 10px; right: 8px; bottom: 8px; }
  .video-meta { gap: 5px; margin-top: 8px; }
  .video-meta svg { width: 12px; height: 12px; }
}
@media (max-width: 750px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   增强组件 v3
   账号模块 · 差异化页面 Banner · 增强服务流程
   下载链接 · 列表页增强 · 卡片/链接区分
   ============================================================ */

/* ---------- 头部账号模块 ---------- */
.account-entry { display: flex; align-items: center; gap: 8px; }
.account-entry .btn-login {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-text); border: 1.5px solid var(--c-line); transition: all .25s;white-space: nowrap;
}
.account-entry .btn-login:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-soft); }
.account-entry .btn-login svg { width: 16px; height: 16px; }
.account-entry .btn-register {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600;
  background: var(--c-grad); color: #fff; transition: all .25s;
}
.account-entry .btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(8,145,178,.3); }

/* 已登录用户下拉 */
.user-dropdown { position: relative; }
.user-trigger {
  display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill); border: 1.5px solid var(--c-line); transition: all .25s; cursor: pointer;
}
.user-trigger:hover { border-color: var(--c-primary-soft-2); background: var(--c-primary-soft); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--c-grad); color: #fff; display: grid; place-items: center;
  font-size: .85rem; font-weight: 700;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.user-name { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-trigger .caret { width: 14px; height: 14px; color: var(--c-muted); transition: transform .25s; }
.user-dropdown.open .caret { transform: rotate(180deg); }
.user-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s; z-index: 50;
}
.user-dropdown.open .user-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu::before { content: ""; position: absolute; top: -10px; right: 20px; left: auto; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #fff; }
.user-menu .um-header { padding: 10px 14px 12px; border-bottom: 1px solid var(--c-line); margin-bottom: 6px; }
.user-menu .um-header .um-name { font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink); }
.user-menu .um-header .um-email { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 2px; }
.user-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500; color: var(--c-text);
  transition: all .2s;
}
.user-menu a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.user-menu a svg { width: 16px; height: 16px; opacity: .7; }
.user-menu .um-divider { height: 1px; background: var(--c-line); margin: 6px 0; }
.user-menu .um-admin { color: var(--c-primary); font-weight: 600; }
.user-menu .um-logout { color: var(--c-danger); }

@media (max-width: 768px) {
  .account-entry .btn-login span, .account-entry .btn-register span { display: none; }
  .account-entry .btn-login, .account-entry .btn-register { padding: 8px 12px; }
  .user-name { display: none; }
}

/* ---------- 差异化页面 Banner ---------- */
/* Banner 变体：每个页面模块使用不同配色与装饰 */
.page-banner--about { background: linear-gradient(135deg, #082f49 0%, #0c4a6e 50%, #0c4a6e 100%); }
.page-banner--about::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.06); }
.page-banner--about::before { content: ""; position: absolute; left: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.04); }

.page-banner--services { background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #0c4a6e 100%); }
.page-banner--services::after { content: ""; position: absolute; right: 10%; top: -40%; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(255,255,255,.08); }
.page-banner--services::before { content: ""; position: absolute; left: -40px; top: 20%; width: 180px; height: 180px; border-radius: 50%; background: rgba(14,165,233,.12); }

.page-banner--resource { background: linear-gradient(135deg, #134e4a 0%, #115e59 50%, #0f766e 100%); }
.page-banner--resource::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.05); }
.page-banner--resource::before { content: ""; position: absolute; left: 30%; top: -50%; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(255,255,255,.06); }

.page-banner--article { background: linear-gradient(135deg, #7c2d12 0%, #9a3412 50%, #c2410c 100%); }
.page-banner--article::after { content: ""; position: absolute; right: -40px; top: -40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.06); }
.page-banner--article::before { content: ""; position: absolute; left: -80px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255,255,255,.06); }

.page-banner--contact { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); }
.page-banner--contact::after { content: ""; position: absolute; right: -50px; top: -50px; width: 300px; height: 300px; border-radius: 50%; background: rgba(8,145,178,.12); }
.page-banner--contact::before { content: ""; position: absolute; left: 40%; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(255,255,255,.06); }

.page-banner--account { background: linear-gradient(135deg, #3b0764 0%, #581c87 50%, #7e22ce 100%); }
.page-banner--account::after { content: ""; position: absolute; right: -60px; top: -40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.06); }

/* Banner 图标装饰：降低尺寸与透明度，避免 outline 图标被放大后显得笨重 */
.page-banner .banner-icon {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 100px; height: 100px; opacity: .06; color: #fff; z-index: 1;
  pointer-events: none;
}
.page-banner .banner-icon svg { width: 100%; height: 100%; }
@media (max-width: 1024px) { .page-banner .banner-icon { display: none; } }

/* Banner 统计标签 */
.page-banner .banner-stats { display: flex; gap: 32px; margin-top: 24px; }
.page-banner .banner-stats .bs-item { color: rgba(255,255,255,.9); }
.page-banner .banner-stats .bs-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.page-banner .banner-stats .bs-label { font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
@media (max-width: 768px) { .page-banner .banner-stats { gap: 20px; } .page-banner .banner-stats .bs-num { font-size: 1.4rem; } }

/* ---------- 增强服务流程（时间线式） ---------- */
.flow-timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.flow-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px 6px; position: relative;
  padding-bottom: 40px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: ""; position: absolute; left: 39px; top: 76px; bottom: 30%;
  width: 2px; background: linear-gradient(180deg, var(--c-primary-soft-2), transparent);
}
.flow-ico {
  width: 80px; height: 80px; border-radius: 20px; background: #fff; border: 2px solid var(--c-primary-soft-2);
  display: grid; place-items: center; color: var(--c-primary); position: relative; z-index: 2;
  transition: all .35s; flex-shrink: 0;
}
.flow-ico svg { width: 36px; height: 36px; }
.flow-ico .flow-num {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--c-grad); color: #fff; font-size: var(--fs-xs);
  font-weight: 800; display: grid; place-items: center; box-shadow: var(--sh-sm);
}
.flow-step:hover .flow-ico { background: var(--c-grad); color: #fff; border-color: transparent; transform: scale(1.05); box-shadow: var(--sh-md); }
.flow-body { padding-top: 8px; }
.flow-body h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--c-ink); }
.flow-body p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.8; margin-bottom: 12px; }
.flow-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.flow-tags .ft { font-size: var(--fs-xs); padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; }

/* 水平流程卡片版 */
.flow-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow-cards::before {
  content: ""; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-primary-soft-2) 0, var(--c-primary-soft-2) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.flow-card {
  text-align: center; position: relative; z-index: 1; padding: 24px 16px;
  background: #fff; border-radius: var(--r-md); border: 2px solid var(--c-line);
  transition: all .35s;
}
.flow-card:hover { border-color: var(--c-primary); transform: translateY(-6px); box-shadow: var(--sh-md); }
.flow-card .fc-ico {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--c-grad-soft); color: var(--c-primary); display: grid; place-items: center;
  transition: all .35s; border: 3px solid #fff; box-shadow: var(--sh-sm);
}
.flow-card:hover .fc-ico { background: var(--c-grad); color: #fff; transform: scale(1.08); }
.flow-card .fc-ico svg { width: 32px; height: 32px; }
.flow-card .fc-num { font-size: var(--fs-xs); font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.flow-card h3 { font-size: 1rem; margin-bottom: 8px; }
.flow-card p { font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.6; }
@media (max-width: 1024px) { .flow-cards { grid-template-columns: repeat(3, 1fr); } .flow-cards::before { display: none; } }
@media (max-width: 768px) { .flow-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow-cards { grid-template-columns: 1fr; } }

/* ---------- 下载链接增强 ---------- */
.res-row.is-download { cursor: pointer; }
.res-row .res-dl-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
  border-radius: var(--r-pill); background: var(--c-grad); color: #fff;
  font-size: var(--fs-sm); font-weight: 700; flex-shrink: 0; transition: all .25s;
}
.res-row .res-dl-btn:hover { box-shadow: 0 6px 16px rgba(8,145,178,.32); transform: translateY(-1px); }
.res-row .res-dl-btn svg { width: 16px; height: 16px; }
/* 文件格式标签 */
.file-format {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.file-format--zip { background: #fef3e2; color: #b45309; }
.file-format--pdf { background: #fee2e2; color: #b91c1c; }
.file-format--xlsx { background: #e7f8ee; color: #15803d; }
.file-format--docx { background: #eff6ff; color: #1d4ed8; }
.file-format--pptx { background: #fef3c7; color: #92400e; }
/* 下载次数徽章 */
.dl-count {
  display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs);
  color: var(--c-muted); font-weight: 500;
}
.dl-count svg { width: 14px; height: 14px; }

/* ---------- 列表页增强：图标、标签、置顶 ---------- */
/* 列表项图标 */
.res-row .res-cat-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  flex-shrink: 0; transition: all .25s;
}
.res-row .res-cat-ico svg { width: 24px; height: 24px; }
.res-row:hover .res-cat-ico { transform: scale(1.08); }
/* 图标色系变体（分类/文件类型区分色，语义化配色） */
.ico-c-green { background: #e7f8ee; color: #15803d; }
.ico-c-amber { background: #fef3e2; color: #b45309; }
.ico-c-red { background: #fde8ef; color: #be123c; }
.ico-c-blue { background: #e6f0fd; color: #1d4ed8; }

/* 置顶标识 */
.pinned-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border-radius: var(--r-pill); background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff; font-size: var(--fs-xs); font-weight: 700; box-shadow: 0 2px 8px rgba(245,158,11,.3);
}
.pinned-badge svg { width: 12px; height: 12px; }

/* 热门标识 */
.hot-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border-radius: var(--r-pill); background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: var(--fs-xs); font-weight: 700;
}
.hot-badge svg { width: 12px; height: 12px; }

/* 文章标签增强 */
.tag.tag-primary { background: var(--c-grad); color: #fff; }
.tag.tag-info { background: #eff6ff; color: #1d4ed8; }
.tag.tag-purple, .tag.tag-teal { background: #cffafe; color: #0e7490; }

/* 列表项阅读更多 */
.read-more {
  display: inline-flex; align-items: center; gap: 4px; color: var(--c-primary);
  font-size: var(--fs-xs); font-weight: 600; transition: gap .25s;
}
.read-more svg { width: 14px; height: 14px; }
.res-row:hover .read-more { gap: 8px; }

/* ---------- 卡片与链接的视觉区分 ---------- */
/* 可点击卡片：整体链接，带箭头指示 */
.link-card {
  display: block; position: relative; cursor: pointer;
}
.link-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(8,145,178,0); transition: box-shadow .3s; pointer-events: none;
}
.link-card:hover::after { box-shadow: 0 0 0 2px var(--c-primary-soft-2); }

/* "了解更多" 链接样式 */
.link-more, .card-more {
  display: inline-flex; align-items: center; gap: 5px; margin-top: auto;
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary);
  transition: gap .25s;
}
.link-more svg, .link-more::after, .card-more svg { width: 16px; height: 16px; }
a.feature-card:hover .link-more, a.feature-card:hover .card-more { gap: 10px; }

/* ---------- 数据展示增强 ---------- */
/* 环形进度图 */
.donut-chart { display: flex; align-items: center; gap: 32px; }
.donut-chart .donut-svg { width: 160px; height: 160px; flex-shrink: 0; }
.donut-chart .donut-svg circle { fill: none; stroke-width: 14; }
.donut-chart .donut-bg { stroke: var(--c-bg-soft); }
.donut-chart .donut-fill { stroke: url(#donutGrad); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.5s ease; }
.donut-chart .donut-center { text-anchor: middle; }
.donut-chart .donut-val { font-size: 1.8rem; font-weight: 800; fill: var(--c-ink); }
.donut-chart .donut-label { font-size: var(--fs-xs); fill: var(--c-muted); }
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.donut-legend .dl-item { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.donut-legend .dl-dot { width: 12px; height: 12px; border-radius: 3px; }

/* 对比卡片 */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--c-line); transition: all .3s; }
.compare-card:hover { border-color: var(--c-primary-soft-2); box-shadow: var(--sh-md); }
.compare-card .cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--c-line); }
.compare-card .cc-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.compare-card .cc-ico svg { width: 24px; height: 24px; }
.compare-card .cc-ico.blue { background: var(--c-primary-soft); color: var(--c-primary); }
.compare-card .cc-ico.purple, .compare-card .cc-ico.teal { background: #cffafe; color: #0e7490; }
.compare-card h3 { font-size: 1.15rem; }
.compare-card .cc-list { display: flex; flex-direction: column; gap: 10px; }
.compare-card .cc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text); }
.compare-card .cc-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.compare-card .cc-list .check { color: var(--c-success); }
.compare-card .cc-list .cross { color: var(--c-danger); }
@media (max-width: 768px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- 账号页面样式 ---------- */
.account-page { max-width: 480px; margin: 0 auto; }
.account-page .ap-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 40px; }
.account-page .ap-title { text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--c-ink); margin-bottom: 8px; }
.account-page .ap-sub { text-align: center; color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: 32px; }
.account-page .ap-field { margin-bottom: 20px; }
.account-page .ap-field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); margin-bottom: 8px; }
.account-page .ap-field input {
  width: 100%; padding: 13px 16px; font-size: var(--fs-body); border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm); transition: all .25s; box-sizing: border-box;
}
.account-page .ap-field input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(8,145,178,.1); }
.account-page .ap-field .input-wrap { position: relative; }
.account-page .ap-field .input-wrap .field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--c-muted); }
.account-page .ap-field .input-wrap input { padding-left: 44px; }
.account-page .ap-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.account-page .ap-check { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--c-text); cursor: pointer; }
.account-page .ap-btn { width: 100%; padding: 14px; font-size: 1rem; font-weight: 700; border-radius: var(--r-sm); background: var(--c-grad); color: #fff; transition: all .25s; }
.account-page .ap-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(8,145,178,.3); }
.account-page .ap-footer { text-align: center; margin-top: 24px; font-size: var(--fs-sm); color: var(--c-muted); }
.account-page .ap-footer a { color: var(--c-primary); font-weight: 600; }
.account-page .ap-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--c-muted); font-size: var(--fs-sm); }
.account-page .ap-divider::before, .account-page .ap-divider::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* 个人中心布局 */
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.profile-side { position: sticky; top: calc(var(--header-h) + 24px); }
.profile-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 28px; text-align: center; margin-bottom: 20px; }
.profile-card .pc-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px; background: var(--c-grad); display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 800; box-shadow: var(--sh-md); }
.profile-card .pc-name { font-size: 1.2rem; font-weight: 700; color: var(--c-ink); }
.profile-card .pc-role { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 4px; }
.profile-card .pc-stats { display: flex; justify-content: center; gap: 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.profile-card .pc-stat .pc-num { font-size: 1.4rem; font-weight: 800; color: var(--c-primary); }
.profile-card .pc-stat .pc-label { font-size: var(--fs-xs); color: var(--c-muted); }
.profile-menu { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 10px; }
.profile-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); transition: all .2s; }
.profile-menu a:hover, .profile-menu a.active { background: var(--c-primary-soft); color: var(--c-primary); }
.profile-menu a svg { width: 18px; height: 18px; }
.profile-menu .pm-divider { height: 1px; background: var(--c-line); margin: 6px 4px; }
.profile-menu .pm-logout { color: var(--c-danger); }
.profile-content { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 32px; }
.profile-content .pc-section-title { font-size: 1.15rem; font-weight: 700; color: var(--c-ink); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--c-line); display: flex; align-items: center; gap: 8px; }
.profile-content .pc-section-title svg { width: 20px; height: 20px; color: var(--c-primary); }
.profile-content .pc-row { display: flex; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.profile-content .pc-row:last-child { border-bottom: none; }
.profile-content .pc-label { width: 120px; flex-shrink: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.profile-content .pc-value { flex: 1; color: var(--c-ink); font-size: var(--fs-sm); font-weight: 500; }
@media (max-width: 768px) { .profile-layout { grid-template-columns: 1fr; } .profile-side { position: static; } }

/* ---------- 移动端抽屉账号入口 ---------- */
.drawer-account { padding: 16px; border-bottom: 1px solid var(--c-line); margin-bottom: 8px; }
.drawer-account .da-login { display: flex; gap: 10px; }
.drawer-account .da-login a { flex: 1; text-align: center; padding: 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; }
.drawer-account .da-login .da-btn-login { background: var(--c-bg-soft); color: var(--c-text); }
.drawer-account .da-login .da-btn-register { background: var(--c-grad); color: #fff; }



.card-grid{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-grid .card{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
}
.card-grid .card-img{width: 120px;height: 90px;}
.card-grid .card-body{
  flex: 1;
}
