@charset "utf-8";
/* ==========================================================================
   中医诊所 SaaS 前台样式
   --------------------------------------------------------------------------
   设计语言：宣纸底 + 墨红主色 + 鎏金点缀，衬线标题，留白充分。
   主题色由后台「站点设置」下发 CSS 变量，实现诊所贴牌换肤。
   同一套代码自适应 PC 与 H5，无需分别维护。
   ========================================================================== */

/* ---------------------------------------------------------------- 变量 */
:root {
  --c-primary: #8c1f28;
  --c-primary-dark: #6d161d;
  --c-primary-soft: #f6e9ea;
  --c-gold: #c9a227;
  --c-gold-soft: #f7efd6;
  --c-ink: #2b2622;
  --c-ink-2: #5c534b;
  --c-ink-3: #8b8078;
  --c-paper: #faf6ef;
  --c-paper-2: #f3ece0;
  --c-line: #e4d9c6;
  --c-white: #ffffff;
  --c-ok: #2f7d4f;
  --c-warn: #b8860b;
  --c-danger: #b3261e;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --shadow-1: 0 1px 3px rgba(43, 38, 34, .06), 0 1px 2px rgba(43, 38, 34, .04);
  --shadow-2: 0 4px 14px rgba(43, 38, 34, .08);
  --shadow-3: 0 12px 34px rgba(43, 38, 34, .12);

  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 20px;
}

/* ---------------------------------------------------------------- 重置 */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  background-color: var(--c-paper);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(201, 162, 39, .06), transparent 46%),
    radial-gradient(ellipse at 88% 92%, rgba(140, 31, 40, .05), transparent 46%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .6em;
  color: var(--c-ink);
}

p { margin: 0 0 1em; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-primary); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 0; color: #fff; }

/* 吸顶头部容器：顶部信息条 + 主导航整块吸顶，向下滚动时不消失 */
.site-sticky-head {
  position: sticky; top: 0; z-index: 100;
}

/* ---------------------------------------------------------------- 顶栏：左=诊所品牌，右=咨询方式（单排两端对齐） */
.site-topbar {
  background: linear-gradient(90deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, #a72a35 100%);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .10);
}
.topbar-row {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

/* 左：诊所名称 + logo（高对比白色，避免发灰发淡） */
.topbar-brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: #fff; min-width: 0;
}
.topbar-logo {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 9px; overflow: hidden;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
}
.topbar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topbar-logo-ch {
  font-family: var(--font-serif);
  font-weight: 800; font-size: 19px; line-height: 1;
  color: var(--c-gold-soft, #f7efd6);
}
.topbar-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.topbar-name {
  font-size: 17px; font-weight: 800; color: #fff;
  letter-spacing: .6px; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .20);
}
.topbar-slogan {
  font-size: 11.5px; letter-spacing: .5px;
  color: rgba(255, 255, 255, .84); white-space: nowrap;
}
.topbar-brand:hover .topbar-name { color: var(--c-gold-soft, #f7efd6); }

/* 右：接诊时间 / 微信咨询（强制单行，右边缘与导航末项对齐） */
.topbar-meta { display: inline-flex; align-items: center; flex-shrink: 0; }
.topbar-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 18px; white-space: nowrap;
}
.topbar-item:last-child { padding-right: 0; }
.topbar-item + .topbar-item { border-left: 1px solid rgba(255, 255, 255, .22); }
.topbar-item .ico {
  width: 22px; height: 22px; flex: 0 0 22px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 11.5px; line-height: 1;
}
.topbar-item .label { color: rgba(255, 255, 255, .82); }
.topbar-item .value { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- 头部：导航条（吸顶由 .site-sticky-head 统一负责） */
.site-header {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--c-gold);
  box-shadow: 0 4px 16px rgba(43, 38, 34, .07);
}
.header-inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 60px; height: 60px; flex: 0 0 60px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: var(--c-gold-soft);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 30px; font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(201, 162, 39, .65), 0 6px 16px rgba(140, 31, 40, .22);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.brand-text { min-width: 0; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 800; color: var(--c-primary-dark);
  margin: 0; line-height: 1.2;
  letter-spacing: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand-slogan {
  font-size: 12.5px; color: var(--c-ink-3); margin: 4px 0 0;
  font-family: var(--font-sans); letter-spacing: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 顶部右侧"立即咨询"CTA 按钮（顶级医院常用） */
.header-cta {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.header-cta-phone {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(140, 31, 40, .25);
  transition: transform .15s, box-shadow .2s;
}
.header-cta-phone:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(140, 31, 40, .35); }
.header-cta-phone .ph-ico {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--c-gold); color: var(--c-primary-dark); font-size: 14px; font-weight: 800;
}

/* 导航条：占满容器宽度，首末项分别贴齐容器左右边缘（与顶栏左右两端对齐） */
.site-nav {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0; flex-wrap: nowrap;
  width: 100%;
  padding: 0; margin: 0;
}
.site-nav a {
  position: relative;
  padding: 17px 12px;
  font-size: 16px; font-weight: 500;
  color: var(--c-ink); white-space: nowrap;
  border-radius: 0;
  transition: color .2s, background .2s;
}
.site-nav a:first-child { padding-left: 0; }
.site-nav a:last-child { padding-right: 0; }
.site-nav a:hover {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.site-nav a.is-active {
  background: transparent; color: var(--c-primary);
  font-weight: 700;
}
.site-nav a.is-active::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  border-radius: 2px 2px 0 0;
}
.site-nav a:first-child.is-active::after { left: 0; }
.site-nav a:last-child.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 8px 11px; cursor: pointer;
  color: var(--c-primary); font-size: 17px; line-height: 1;
}

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: var(--r-md);
  font-size: 15px; font-family: inherit; font-weight: 500; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; box-shadow: var(--shadow-2); }
.btn-gold { background: var(--c-gold); color: #3a2c05; }
.btn-gold:hover { background: #b8911f; color: #3a2c05; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost { border-color: var(--c-line); color: var(--c-ink-2); background: var(--c-white); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    linear-gradient(rgba(250, 246, 239, .93), rgba(250, 246, 239, .97)),
    repeating-linear-gradient(135deg, rgba(140, 31, 40, .035) 0 2px, transparent 2px 16px);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -70px; top: -50px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .3);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.6px; color: var(--c-primary);
  background: var(--c-primary-soft);
  border: 1px solid rgba(140, 31, 40, .16);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 40px; line-height: 1.3; margin-bottom: 18px;
  color: var(--c-primary-dark);
}
.hero h1 .accent { color: var(--c-gold); }
.hero-lede {
  font-size: 17px; color: var(--c-ink-2); line-height: 1.9;
  margin-bottom: 26px; max-width: 660px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 30px;
  padding-top: 24px; border-top: 1px dashed var(--c-line);
}
.hero-stat strong {
  display: block; font-family: var(--font-serif);
  font-size: 26px; color: var(--c-primary); line-height: 1.2;
}
.hero-stat span { font-size: 13px; color: var(--c-ink-3); }

/* ---------------------------------------------------------------- 区块 */
.section { padding: 62px 0; }
.section-alt { background: var(--c-paper-2); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
/* ---- 区块标题：升级为带背景卡 + 装饰条的大标题 ---- */
.section-head {
  text-align: center; max-width: 760px; margin: 0 auto 46px;
  padding: 26px 28px 22px;
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-paper) 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-primary);
  box-shadow: 0 10px 30px rgba(140, 31, 40, .08);
  position: relative;
}
.section-head::before, .section-head::after {
  content: "";
  position: absolute; top: -4px; width: 60px; height: 4px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.section-head::before { left: 22%; }
.section-head::after  { right: 22%; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  color: var(--c-primary); margin-bottom: 12px; font-weight: 700;
  padding: 4px 14px;
  background: var(--c-primary-soft);
  border-radius: 999px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 34px; font-weight: 800;
  color: var(--c-primary-dark);
  margin: 4px 0 14px;
  letter-spacing: 1px;
  line-height: 1.3;
  position: relative; display: inline-block;
}
.section-head h2::before {
  content: "「";
  margin-right: 8px; color: var(--c-gold); font-weight: 800;
}
.section-head h2::after {
  content: "」";
  margin-left: 6px; color: var(--c-gold); font-weight: 800;
}
.section-head p { color: var(--c-ink-2); font-size: 15.5px; margin: 0; line-height: 1.8; max-width: 620px; margin: 0 auto; }
.section-head .rule {
  width: 96px; height: 4px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-gold) 50%, var(--c-primary) 100%);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(140, 31, 40, .18);
}

/* ---------------------------------------------------------------- 卡片 */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: rgba(201, 162, 39, .55);
}
/* ---- 卡片：项目名称加深（背景主色块 + 白字 + 金色边）---- */
.card-body { padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.card-title {
  margin: 0;
  padding: 16px 22px 17px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  border-bottom: 3px solid var(--c-gold);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.35;
  display: flex; align-items: center; gap: 8px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.18);
  position: relative;
}
.card-title::before {
  content: "";
  display: inline-block;
  width: 6px; height: 22px;
  background: var(--c-gold);
  border-radius: 3px;
  flex-shrink: 0;
}
.card-title a { color: #fff; transition: color .2s; }
.card-title a:hover { color: var(--c-gold); }
.card-text {
  color: var(--c-ink-2); font-size: 14.5px; line-height: 1.85; margin: 0;
  padding: 16px 22px 12px;
  flex: 1 1 auto;
}
.card-foot {
  padding: 12px 22px 14px;
  border-top: 1px solid var(--c-line);
  background: var(--c-paper);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 14px;
}

/* 特色项目：缩略图 + 标题区加强过渡 */
.product-card .thumb { transition: transform .25s, box-shadow .25s; }
.product-card:hover .thumb { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(140,31,40,.18); }
.product-card .card-foot { background: linear-gradient(180deg, var(--c-paper), var(--c-paper-2)); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 特色项目卡片
   2026-10-03：封面按原图比例展示（9:16 就显示 9:16），不再固定 16:9 裁切。
   img 高度跟图走（height:auto），仅对极端长图设 max-height 兜底，
   超出时 object-fit:contain 完整显示、两侧留纸色底（不会重新裁切）。 */
.product-card .thumb {
  background: var(--c-paper-2);
  display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--c-line); position: relative;
}
.product-card .thumb img {
  width: 100%; height: auto; max-height: 560px;
  object-fit: contain; display: block;
}
.product-card .thumb .placeholder {
  font-family: var(--font-serif); font-size: 34px;
  color: rgba(140, 31, 40, .28); letter-spacing: 4px;
}
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.6; white-space: nowrap;
}
.badge-gold { background: var(--c-gold-soft); color: #7a5f0a; border: 1px solid rgba(201, 162, 39, .4); }
.badge-primary { background: var(--c-primary-soft); color: var(--c-primary); border: 1px solid rgba(140, 31, 40, .18); }
.badge-gray { background: var(--c-paper-2); color: var(--c-ink-3); border: 1px solid var(--c-line); }
.thumb .badge { position: absolute; left: 12px; top: 12px; }

.price-line { font-family: var(--font-serif); color: var(--c-primary); font-weight: 600; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  padding: 5px 13px; border-radius: 999px; font-size: 13.5px;
  background: var(--c-white); border: 1px solid var(--c-line); color: var(--c-ink-2);
  transition: all .2s;
}
.tag:hover, .tag:focus {
  border-color: var(--c-primary); color: var(--c-primary);
  background: var(--c-primary-soft);
}

/* ---------------------------------------------------------------- 膏方特写 */
.spotlight {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  position: relative;
}
.spotlight > div h2::before {
  content: "";
  display: inline-block;
  width: 6px; height: 28px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-gold));
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-3px);
}
.spotlight-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--c-primary-soft), var(--c-gold-soft));
  border: 1px solid var(--c-line); min-height: 340px;
  display: grid; place-items: center; padding: 26px;
}
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.spotlight-glyph {
  font-family: var(--font-serif); font-size: 96px; line-height: 1;
  color: rgba(140, 31, 40, .16); letter-spacing: 8px; text-align: center;
}
.spotlight-glyph small {
  display: block; font-size: 14px; letter-spacing: 3px;
  color: rgba(140, 31, 40, .45); margin-top: 14px;
}
.spotlight h2 {
  font-size: 33px; font-weight: 800;
  color: var(--c-primary-dark);
  letter-spacing: .5px;
  line-height: 1.35;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.spotlight .lede { font-size: 16px; color: #2b2622; line-height: 2.0; font-weight: 400; }
.spotlight .feature-list li { font-size: 15.5px; line-height: 1.95; }
.spotlight .badge { font-size: 13px; padding: 6px 16px; letter-spacing: 1.5px; }

.feature-list { list-style: none; padding: 0; margin: 22px 0; }
.feature-list li {
  position: relative; padding-left: 30px; margin-bottom: 14px;
  font-size: 15px; color: var(--c-ink-2); line-height: 1.8;
}
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}
.feature-list li strong { color: var(--c-primary-dark); font-weight: 600; }

/* ---------------------------------------------------------------- 医生 */
.doctor-card { display: grid; grid-template-columns: 320px 1fr; gap: 0; }
.doctor-avatar {
  background: linear-gradient(160deg, var(--c-primary-soft), var(--c-paper-2));
  display: grid; place-items: center; min-height: 260px;
  border-right: 1px solid var(--c-line); overflow: hidden; position: relative;
}
/* 医师照片：同一张图毛玻璃放大铺满整列打底 + 完整人像居中，任何长宽比都不裁切 */
.doctor-avatar-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.2);
  filter: blur(24px) saturate(1.15) brightness(1.05);
  opacity: .55;
}
.doctor-avatar-fg {
  position: relative; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: contain;
}
.doctor-avatar .initial {
  font-family: var(--font-serif); font-size: 76px;
  color: rgba(140, 31, 40, .2);
}
.doctor-info { padding: 28px 30px; }
.doctor-info h3 { font-size: 24px; color: var(--c-primary-dark); margin-bottom: 4px; }
.doctor-title { color: var(--c-gold); font-size: 14px; font-weight: 600; letter-spacing: .6px; margin-bottom: 16px; }
.doctor-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px; margin: 18px 0; padding: 16px 0;
  border-top: 1px dashed var(--c-line); border-bottom: 1px dashed var(--c-line);
}
.doctor-meta dt { font-size: 12.5px; color: var(--c-ink-3); margin-bottom: 2px; }
.doctor-meta dd { margin: 0; font-size: 14px; color: var(--c-ink-2); line-height: 1.65; }

.spec-group { margin-bottom: 16px; }
.spec-group h4 {
  font-size: 15px; color: var(--c-primary); margin-bottom: 9px;
  padding-left: 10px; border-left: 3px solid var(--c-gold);
}
.spec-group .tag-cloud { gap: 7px; }
.spec-group .tag { font-size: 13px; padding: 4px 11px; background: var(--c-paper); }

/* ---------------------------------------------------------------- 医师：图文环绕版式（2026-10-03 改版）
   取代原「左侧 320px 图列 + 右侧信息」的两栏卡：竖幅人像右浮动（float），
   正文 / 档案信息 / 擅长标签在左侧自然回绕，人像完整不裁切。
   仅作用于 .doctor-profile（首页医师介绍、/doctors 医师介绍页）；
   旧的 .doctor-card 两栏样式保留，不影响其它引用处。
   注意：.card 是 flex 容器，flex item 会忽略 float —— 浮动必须落在 .doctor-flow 这层块级容器内。 */
.doctor-profile { padding: 0; }
.doctor-profile:hover { transform: none; box-shadow: var(--shadow-1); border-color: var(--c-line); }
.doctor-flow { padding: 34px 38px 30px; }
.doctor-profile + .doctor-profile { margin-top: 28px; }
.doctor-profile-page { margin-bottom: 28px; }

/* 人像：右浮动 + 相框白边 + 图注 */
.doctor-portrait {
  float: right;
  width: 236px;
  margin: 6px 0 18px 34px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.doctor-portrait img { display: block; width: 100%; height: auto; }
.doctor-portrait figcaption {
  padding: 9px 10px 10px; text-align: center; line-height: 1.45;
  font-size: 12.5px; color: var(--c-ink-2);
  background: var(--c-paper); border-top: 1px solid var(--c-line);
}
.doctor-portrait figcaption span {
  display: block; margin-top: 2px;
  font-size: 11.5px; letter-spacing: .4px; color: var(--c-gold);
}
.doctor-portrait-initial {
  display: grid; place-items: center; min-height: 292px;
  background: linear-gradient(160deg, var(--c-primary-soft), var(--c-paper-2));
}
.doctor-portrait-initial .initial { font-family: var(--font-serif); font-size: 62px; color: rgba(140, 31, 40, .22); }

/* 抬头：姓名 + 职务 + 短金线（不占满整行，避免压到人像下面） */
.doctor-head { margin: 0 0 14px; }
.doctor-head h3,
.doctor-head .doctor-name {
  font-family: var(--font-serif); font-size: 27px; line-height: 1.25;
  letter-spacing: 1px; color: var(--c-primary-dark); margin: 0 0 6px;
}
.doctor-head .doctor-title {
  display: inline-block; margin: 0 0 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .8px; color: var(--c-gold);
}
.doctor-head .doctor-rule {
  display: block; width: 54px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
}

/* 正文：首行缩进两格，字号行距按长文阅读 */
.doctor-profile .doctor-intro {
  margin: 0 0 16px; text-indent: 2em;
  font-size: 15.5px; line-height: 2.05; color: var(--c-ink-2);
  text-align: justify; text-justify: inter-ideograph;
}

/* 档案信息：行式排布，随正文一起环绕人像（去掉原虚线上下边框，否则会压到人像下） */
.doctor-profile .doctor-meta { display: block; margin: 0 0 18px; padding: 0; border: 0; }
.doctor-profile .doctor-meta > div { margin: 0 0 8px; font-size: 14px; line-height: 1.9; }
.doctor-profile .doctor-meta dt {
  display: inline; margin: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--c-gold);
}
.doctor-profile .doctor-meta dt::after { content: "："; }
.doctor-profile .doctor-meta dd { display: inline; margin: 0; color: var(--c-ink-2); }
.doctor-profile .doctor-meta dd a { color: var(--c-primary); font-weight: 700; }

/* 擅长 / 手法标签：行内流，标签本身也随人像回绕，填满图侧留白 */
.doctor-profile .spec-group { margin: 0 0 14px; }
.doctor-profile .spec-group h4 {
  margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--c-gold);
  font-size: 14.5px; color: var(--c-primary);
}
.doctor-profile .tag-cloud { display: block; }
.doctor-profile .tag {
  display: inline-block; margin: 0 7px 8px 0; padding: 4px 12px;
  font-size: 13px; background: var(--c-paper); vertical-align: top;
}
.doctor-profile .tag-gold { background: var(--c-gold-soft); border-color: rgba(201, 162, 39, .35); }

/* 动作按钮：退到人像下方整行 */
.doctor-profile .doctor-actions { clear: both; margin: 22px 0 0; }

@media (max-width: 768px) {
  .doctor-flow { padding: 24px 20px 20px; }
  .doctor-portrait { float: none; width: 310px; max-width: 72%; margin: 0 auto 18px; }
  .doctor-portrait-initial { min-height: 230px; }
  .doctor-head h3, .doctor-head .doctor-name { font-size: 23px; }
  .doctor-profile .doctor-intro { font-size: 15px; line-height: 1.95; }
  .doctor-profile .doctor-meta > div { font-size: 13.5px; line-height: 1.85; }
  .doctor-profile .doctor-actions { margin-top: 18px; }
}

/* ---------------------------------------------------------------- 详情页 */
.page-hero {
  padding: 46px 0 40px;
  background: linear-gradient(rgba(246, 233, 234, .82), rgba(250, 246, 239, .94));
  border-bottom: 1px solid var(--c-line);
}
.breadcrumb { font-size: 13.5px; color: var(--c-ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--c-ink-3); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { margin: 0 7px; opacity: .5; }
.page-hero h1 { font-size: 32px; color: var(--c-primary-dark); margin-bottom: 10px; }
.page-hero .subtitle { font-size: 16px; color: var(--c-ink-2); margin: 0; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.detail-main {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 32px 34px; box-shadow: var(--shadow-1);
}

.info-block { margin-bottom: 30px; }
.info-block:last-child { margin-bottom: 0; }
.info-block h2 {
  font-size: 20px; color: var(--c-primary-dark);
  padding-bottom: 11px; margin-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
  display: flex; align-items: center; gap: 10px;
}
.info-block h2::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-gold));
}
.info-block p, .info-block li { color: var(--c-ink-2); font-size: 15px; line-height: 1.95; }

.callout {
  border-radius: var(--r-md); padding: 16px 18px; margin: 16px 0;
  font-size: 14.5px; line-height: 1.85;
}
.callout-gold { background: var(--c-gold-soft); border-left: 4px solid var(--c-gold); color: #5c4708; }
.callout-warn { background: #fdf3f2; border-left: 4px solid var(--c-danger); color: #7a2019; }
.callout-info { background: var(--c-primary-soft); border-left: 4px solid var(--c-primary); color: var(--c-primary-dark); }

.side-card {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1);
  margin-bottom: 20px; position: sticky; top: 122px;
}
.side-card h3 {
  font-size: 16px; color: var(--c-primary-dark); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--c-line);
}
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 2px; }
.side-list a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--c-ink-2);
}
.side-list a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.side-list a.is-active { background: var(--c-primary); color: #fff; }

.contact-strip { display: grid; gap: 12px; }
.contact-strip .row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.contact-strip .row .k { color: var(--c-ink-3); flex: 0 0 62px; }
.contact-strip .row .v { color: var(--c-ink-2); flex: 1 1 auto; word-break: break-all; }
.contact-strip .row .v a { font-weight: 600; }

/* ---------------------------------------------------------------- 表单 */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 14px; color: var(--c-ink-2);
  margin-bottom: 7px; font-weight: 500;
}
.form-label .req { color: var(--c-danger); margin-left: 3px; }
.form-control {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  color: var(--c-ink); background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(140, 31, 40, .1);
}
textarea.form-control { min-height: 130px; resize: vertical; line-height: 1.75; }
.form-hint { font-size: 12.5px; color: var(--c-ink-3); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

.alert {
  padding: 14px 18px; border-radius: var(--r-md); margin-bottom: 20px;
  font-size: 14.5px; line-height: 1.7; border: 1px solid transparent;
}
.alert-success { background: #eef7f1; border-color: #bfe0cb; color: #1f5c39; }
.alert-error { background: #fdf1f0; border-color: #f0c8c5; color: #8c1f18; }
.alert-info { background: var(--c-primary-soft); border-color: rgba(140, 31, 40, .2); color: var(--c-primary-dark); }

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  background: #2b2622; color: rgba(255, 255, 255, .72);
  padding: 48px 0 0; margin-top: 62px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 34px;
}
.footer-col h4 {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: var(--c-gold); margin-bottom: 16px; letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-col a:hover { color: var(--c-gold); }
.footer-brand .name {
  font-family: var(--font-serif); font-size: 19px; color: #fff;
  margin-bottom: 12px; font-weight: 600;
}
.footer-brand p { line-height: 1.85; margin-bottom: 12px; }
.footer-contact-item { display: flex; gap: 9px; margin-bottom: 11px; line-height: 1.7; }
.footer-contact-item .k { color: rgba(255, 255, 255, .45); flex: 0 0 auto; }
.footer-qrcode {
  width: 108px; height: 108px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  display: grid; place-items: center; overflow: hidden; margin-bottom: 8px;
}
.footer-qrcode img { width: 100%; height: 100%; object-fit: contain; }
.footer-qrcode .empty { font-size: 11px; color: rgba(255, 255, 255, .35); text-align: center; padding: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0 22px; font-size: 13px; color: rgba(255, 255, 255, .5);
  line-height: 1.9;
}
.footer-bottom a { color: rgba(255, 255, 255, .68); }
.footer-bottom a:hover { color: var(--c-gold); }
.footer-disclaimer {
  margin-top: 8px; padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .1);
  font-size: 12px; color: rgba(255, 255, 255, .38); line-height: 1.8;
}

/* ---------------------------------------------------------------- 地图 */
.map-wrap {
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--c-paper-2);
}
.map-frame { height: 380px; width: 100%; border: 0; display: block; background: var(--c-paper-2); }
.map-static {
  height: 260px; display: grid; place-items: center; text-align: center; padding: 26px;
  background:
    linear-gradient(rgba(243, 236, 224, .9), rgba(243, 236, 224, .9)),
    repeating-linear-gradient(0deg, rgba(140, 31, 40, .07) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(140, 31, 40, .07) 0 1px, transparent 1px 26px);
}
.map-static .pin { font-size: 38px; margin-bottom: 8px; }
.map-static .addr { font-size: 15px; color: var(--c-ink-2); line-height: 1.7; max-width: 460px; }

.nav-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.nav-app {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--c-white); border: 1px solid var(--c-line);
  color: var(--c-ink-2); font-size: 14.5px; transition: all .2s;
}
.nav-app:hover { border-color: var(--c-primary); color: var(--c-primary); box-shadow: var(--shadow-1); }
.nav-app .dot {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px;
  background: var(--c-gold);
}

/* ---------------------------------------------------------------- 文章 */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 13px; color: var(--c-ink-3);
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--c-line);
}
.rich-content { font-size: 15.5px; line-height: 2; color: var(--c-ink); }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 {
  font-family: var(--font-serif); color: var(--c-primary-dark);
  margin: 1.6em 0 .7em; line-height: 1.45;
}
.rich-content h2 { font-size: 21px; padding-left: 11px; border-left: 3px solid var(--c-gold); }
.rich-content h3 { font-size: 18px; }
.rich-content h4 { font-size: 16px; }
.rich-content p { margin-bottom: 1.1em; }
.rich-content ul, .rich-content ol { margin-bottom: 1.1em; }
.rich-content li { margin-bottom: .45em; }
.rich-content blockquote {
  margin: 1.4em 0; padding: 14px 20px;
  background: var(--c-paper); border-left: 3px solid var(--c-gold);
  color: var(--c-ink-2); font-size: 14.5px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.rich-content img { border-radius: var(--r-md); margin: 1.3em auto; box-shadow: var(--shadow-1); }
.rich-content table { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: 14px; }
.rich-content th, .rich-content td { border: 1px solid var(--c-line); padding: 9px 12px; text-align: left; }
.rich-content th { background: var(--c-paper-2); font-weight: 600; }
.rich-content a { text-decoration: underline; text-underline-offset: 3px; }
.rich-content hr { margin: 2em 0; border-top: 1px dashed var(--c-line); }

.article-list-item {
  display: grid; grid-template-columns: 1fr 170px; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--c-line); align-items: center;
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-item h3 { font-size: 18px; margin-bottom: 7px; }
.article-list-item h3 a { color: var(--c-ink); }
.article-list-item h3 a:hover { color: var(--c-primary); }
.article-list-item .thumb {
  aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden;
  background: var(--c-paper-2); border: 1px solid var(--c-line);
}
.article-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }

.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.pagination a, .pagination span {
  min-width: 38px; padding: 8px 13px; border-radius: var(--r-sm);
  border: 1px solid var(--c-line); background: var(--c-white);
  font-size: 14px; color: var(--c-ink-2); text-align: center;
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------------- 分享条 */
.share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 18px; margin-top: 28px;
  background: var(--c-paper); border: 1px dashed var(--c-line); border-radius: var(--r-md);
  font-size: 14px; color: var(--c-ink-2);
}
.share-bar .label { font-weight: 500; }
.share-btn {
  padding: 7px 15px; border-radius: 999px; font-size: 13.5px;
  border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink-2);
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.share-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.share-btn.wechat { border-color: rgba(47, 125, 79, .4); color: var(--c-ok); }
.share-btn.wechat:hover { background: #eef7f1; }

.qr-popover {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(43, 38, 34, .55); padding: 20px;
  align-items: center; justify-content: center;
}
.qr-popover.is-open { display: flex; }
.qr-box {
  background: var(--c-white); border-radius: var(--r-lg); padding: 26px;
  max-width: 320px; width: 100%; text-align: center; box-shadow: var(--shadow-3);
}
.qr-box h4 { font-size: 16px; margin-bottom: 6px; }
.qr-box p { font-size: 13px; color: var(--c-ink-3); margin-bottom: 16px; }
.qr-box .qr-img { background: var(--c-paper); padding: 12px; border-radius: var(--r-md); border: 1px solid var(--c-line); }
.qr-box .qr-img img { margin: 0 auto; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: 1fr; gap: 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 33px; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }

  .site-topbar { font-size: 12px; padding: 9px 0; }
  .topbar-row { gap: 12px; }
  .topbar-logo { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
  .topbar-logo-ch { font-size: 16px; }
  .topbar-name { font-size: 15px; letter-spacing: .2px; }
  .topbar-slogan { display: none; }
  .topbar-item { padding: 0 0 0 12px; gap: 5px; }
  .topbar-item .ico { display: none; }
  .topbar-item .label { display: none; }
  .topbar-item .value {
    font-size: 11.5px; font-weight: 500;
    max-width: 44vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .topbar-item + .topbar-item { display: none; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; font-size: 22px; border-radius: 10px; }
  .brand-name { font-size: 17px; }
  .spotlight { padding: 30px 22px; }
  .spotlight > div h2::before { height: 22px; width: 4px; margin-right: 10px; }
  .card-title { font-size: 18px; padding: 14px 18px 15px; }
  .card-text { padding: 14px 18px 10px; }
  .card-foot { padding: 11px 18px 13px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    width: auto;
    background: var(--c-white); border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-2);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 8px 16px 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; border-radius: var(--r-sm); font-size: 15.5px; }
  .site-nav a:first-child, .site-nav a:last-child { padding-left: 12px; padding-right: 12px; }
  .site-nav a.is-active::after { left: 12px; right: 12px; }

  .header-inner { padding: 11px var(--gutter); }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 18px; }
  .brand-name { font-size: 17px; }
  .brand-slogan { display: none; }

  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 27px; }
  .hero-lede { font-size: 15.5px; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 22px; }

  .section { padding: 42px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 24px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }

  .doctor-card { grid-template-columns: 1fr; }
  .doctor-avatar { min-height: 0; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .doctor-avatar-fg { height: auto; max-height: 62vh; }
  .doctor-info { padding: 22px 20px; }
  .doctor-info h3 { font-size: 21px; }

  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero .subtitle { font-size: 14.5px; }

  .detail-main { padding: 22px 18px; border-radius: var(--r-md); }
  .info-block h2 { font-size: 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding-top: 36px; margin-top: 44px; }

  /* 悬浮动作前台已移除，移动端不预留底部空间 */
  body { padding-bottom: 0; }

  .article-list-item { grid-template-columns: 1fr; gap: 12px; }
  .article-list-item .thumb { max-width: 200px; }

  .map-frame { height: 280px; }
  .spotlight-glyph { font-size: 62px; }
  .spotlight-media { min-height: 220px; }

  .rich-content { font-size: 15px; line-height: 1.95; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .section-head h2 { font-size: 21px; }
  /* 380px 视口微调（H5 底部条已移除） */
}

/* ---------------------------------------------------------------- 打印 */
@media print {
  .site-header, .site-topbar, .site-footer, .float-actions,
  .mobile-actionbar, .share-bar, .side-card { display: none !important; }
  body { background: #fff; padding: 0; }
  .detail-main { border: 0; box-shadow: none; padding: 0; }
  a { color: #000; text-decoration: underline; }
}

/* ---------------------------------------------------------------- 动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   在线挂号 / 患者评价 / 价格咨询留言板
   ================================================================ */

/* ---- 挂号步骤条 ---- */
.appt-steps {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 14px 20px;
  background: var(--c-surface, #fff); border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.appt-steps .step {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--c-ink-3);
}
.appt-steps .step i {
  font-style: normal; width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 12.5px;
  background: var(--c-line); color: var(--c-ink-3);
}
.appt-steps .step.is-on { color: var(--c-primary-dark); font-weight: 600; }
.appt-steps .step.is-on i { background: var(--c-primary); color: #fff; }
.appt-steps .arrow { color: var(--c-ink-3); font-size: 13px; }

/* ---- 挂号分区标题 ---- */
.appt-sec-title {
  font-size: 18px; color: var(--c-primary-dark); margin: 0 0 16px;
  display: flex; align-items: center; gap: 9px;
}
.appt-sec-title i {
  font-style: normal; width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 13px;
  background: var(--c-primary); color: #fff; flex: 0 0 auto;
}
.appt-sec-title small { font-size: 13px; color: var(--c-ink-3); font-weight: 400; }

/* ---- 医生选择卡片 ---- */
.appt-doctors { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.appt-doctor {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 15px; border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  background: var(--c-surface, #fff); cursor: pointer; position: relative;
  font: inherit; transition: border-color .15s, box-shadow .15s;
}
.appt-doctor:hover { border-color: var(--c-primary); }
.appt-doctor.is-on { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(140, 31, 40, .08); }
.appt-doctor .avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  background: var(--c-primary); color: #fff; display: grid; place-items: center;
  font-size: 19px; font-weight: 600;
}
.appt-doctor .avatar img { width: 100%; height: 100%; object-fit: cover; }
.appt-doctor .info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.appt-doctor .info strong { font-size: 15.5px; color: var(--c-ink); }
.appt-doctor .info em { font-style: normal; font-size: 12.5px; color: var(--c-gold); }
.appt-doctor .info .desc { font-size: 12.5px; color: var(--c-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appt-doctor .tick {
  position: absolute; top: -7px; right: -7px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--c-primary); color: #fff;
  font-size: 11px; display: none; place-items: center;
}
.appt-doctor.is-on .tick { display: grid; }

/* ---- 日期选择 ---- */
.appt-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 9px; }
.appt-date {
  display: grid; gap: 2px; justify-items: center; padding: 10px 4px;
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  background: var(--c-surface, #fff); cursor: pointer; font: inherit;
  transition: border-color .15s, background .15s;
}
.appt-date .wd { font-size: 12px; color: var(--c-ink-3); }
.appt-date strong { font-size: 15.5px; color: var(--c-ink); }
.appt-date em {
  font-style: normal; font-size: 10.5px; color: #fff;
  background: var(--c-gold); border-radius: 4px; padding: 1px 5px;
}
.appt-date:hover { border-color: var(--c-primary); }
.appt-date.is-on { border-color: var(--c-primary); background: rgba(140, 31, 40, .05); }
.appt-date.is-on strong { color: var(--c-primary-dark); }

/* ---- 时段选择 ---- */
.appt-period { display: flex; align-items: flex-start; gap: 12px; }
.appt-period .tag {
  flex: 0 0 auto; margin-top: 3px; font-size: 13px; color: var(--c-primary-dark);
  background: rgba(201, 162, 39, .14); border-radius: 6px; padding: 4px 10px; font-weight: 600;
}
.appt-slots { display: flex; flex-wrap: wrap; gap: 9px; }
.appt-slot {
  padding: 8px 14px; border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-surface, #fff); cursor: pointer; font: inherit; font-size: 14px;
  color: var(--c-ink); transition: border-color .15s, background .15s;
}
.appt-slot:hover { border-color: var(--c-primary); }
.appt-slot.is-on { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }

/* ---- 已选摘要 ---- */
.appt-summary {
  margin-bottom: 16px; padding: 11px 15px; border-radius: var(--r-md);
  background: rgba(201, 162, 39, .12); border: 1px solid rgba(201, 162, 39, .35);
  font-size: 14px; color: var(--c-ink-2);
}
.appt-summary strong { color: var(--c-primary-dark); }

/* ---- 称谓选择 ---- */
.gender-pick { display: flex; gap: 18px; align-items: center; padding: 9px 2px; }
.gender-pick label { display: inline-flex; gap: 6px; align-items: center; font-size: 14.5px; cursor: pointer; }
.gender-pick input[type="radio"] { accent-color: var(--c-primary); width: 16px; height: 16px; }

/* ---- 患者评价 ---- */
.review-summary .rs-score { display: grid; justify-items: center; gap: 4px; min-width: 130px; }
.review-summary .rs-score strong { font-size: 44px; line-height: 1; color: var(--c-gold); }
.review-summary .rs-score em { font-style: normal; font-size: 13px; color: var(--c-ink-3); }
.stars { display: inline-flex; gap: 1px; font-size: 15px; }
.stars i { font-style: normal; color: var(--c-line); }
.stars i.on { color: var(--c-gold); }
.review-summary .rs-dist { flex: 1; min-width: 220px; display: grid; gap: 6px; }
.review-summary .rs-dist .row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.review-summary .rs-dist .lbl { width: 34px; color: var(--c-ink-3); }
.review-summary .rs-dist .bar {
  flex: 1; height: 8px; border-radius: 4px; background: var(--c-line); overflow: hidden;
}
.review-summary .rs-dist .bar i { display: block; height: 100%; background: var(--c-gold); border-radius: 4px; }
.review-summary .rs-dist .num { width: 30px; text-align: right; color: var(--c-ink-3); }

.review-list { display: grid; gap: 14px; }
.review-item .rv-head { display: flex; align-items: center; gap: 12px; }
.review-item .rv-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: 17px;
}
.review-item .rv-who { flex: 1; min-width: 0; display: grid; gap: 1px; }
.review-item .rv-who strong { font-size: 15px; }
.review-item .rv-addr { font-size: 12.5px; color: var(--c-ink-3); }
.review-item .rv-content { margin: 12px 0 8px; font-size: 14.5px; line-height: 1.75; color: var(--c-ink-2); }
.review-item .rv-time { font-size: 12.5px; color: var(--c-ink-3); }

/* ---- 星级打分（写评价） ---- */
.star-pick { display: flex; align-items: center; gap: 4px; }
.star-pick button {
  font-size: 26px; line-height: 1; border: 0; background: none; cursor: pointer;
  color: var(--c-line); padding: 2px; transition: color .12s, transform .12s;
}
.star-pick button.on { color: var(--c-gold); }
.star-pick button:hover { transform: scale(1.12); }
.star-pick span { margin-left: 10px; font-size: 13.5px; color: var(--c-ink-3); }

/* ---- 价格咨询留言板 ---- */
.board-list { display: grid; gap: 14px; }
.board-item .bd-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.board-item .bd-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--c-gold); color: #fff; display: grid; place-items: center; font-size: 17px;
}
.board-item .bd-who { flex: 1; min-width: 0; display: grid; gap: 1px; }
.board-item .bd-who strong { font-size: 15px; }
.board-item .bd-addr { font-size: 12.5px; color: var(--c-ink-3); }
.board-item .bd-subject {
  font-size: 13px; color: var(--c-primary-dark); font-weight: 600;
  background: rgba(140, 31, 40, .06); border-radius: 6px; padding: 4px 10px;
}
.board-item .bd-q, .board-item .bd-a { display: flex; gap: 10px; margin-top: 13px; align-items: flex-start; }
.bd-badge {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; font-size: 13px; color: #fff;
}
.bd-badge.q { background: var(--c-primary); }
.bd-badge.a { background: #2f7d4f; }
.board-item .bd-q p, .board-item .bd-a p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.7; }
.bd-a { background: rgba(47, 125, 79, .05); border-radius: var(--r-md); padding: 12px 14px; }
.bd-a-body .bd-time { margin-top: 7px; font-size: 12.5px; color: var(--c-ink-3); }

/* ---- 移动端适配 ---- */
@media (max-width: 640px) {
  .appt-steps { gap: 5px; padding: 12px 14px; }
  .appt-steps .arrow { display: none; }
  .appt-period { flex-direction: column; gap: 8px; }
  .appt-dates { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .review-summary .rs-dist { min-width: 160px; }
  .board-item .bd-subject { width: 100%; margin-left: 52px; }
}

/* ================================================================
   二次润色：更鲜艳的星级 / 挂号页配色 / 选中态强化
   ================================================================ */

/* ---- 星级：更醒目的琥珀金 ---- */
.stars i.on { color: #f59e0b; text-shadow: 0 1px 2px rgba(245, 158, 11, .35); }
.stars i { font-style: normal; color: #d8cfc2; }
.review-summary .rs-score strong { color: #f59e0b; }
.review-summary .rs-dist .bar i { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.star-pick button.on { color: #f59e0b; text-shadow: 0 1px 2px rgba(245, 158, 11, .35); }
.star-pick button { color: #d8cfc2; }
.review-item .rv-phone {
  color: var(--c-primary-dark); font-size: 12.5px; margin-right: 8px;
  background: rgba(140, 31, 40, .06); border-radius: 4px; padding: 1px 6px;
}

/* ---- 挂号页：分区顶条配色 ---- */
.appt-card { border-top: 3px solid var(--c-primary); }
.appt-card-red   { border-top-color: var(--c-primary); }
.appt-card-gold  { border-top-color: var(--c-gold); }
.appt-card-green { border-top-color: #2f7d4f; }
.appt-card-teal  { border-top-color: #2b7a8c; }
.appt-card-red   .appt-sec-title i { background: var(--c-primary); }
.appt-card-gold  .appt-sec-title i { background: var(--c-gold); }
.appt-card-green .appt-sec-title i { background: #2f7d4f; }
.appt-card-teal  .appt-sec-title i { background: #2b7a8c; }
.appt-card-red   .appt-sec-title { color: var(--c-primary-dark); }
.appt-card-gold  .appt-sec-title { color: #8a6d10; }
.appt-card-green .appt-sec-title { color: #235c3b; }
.appt-card-teal  .appt-sec-title { color: #1f5c6b; }

/* ---- 步骤条彩色 ---- */
.appt-steps .step:nth-of-type(1).is-on i { background: var(--c-primary); }
.appt-steps .step:nth-of-type(3).is-on i { background: var(--c-gold); }
.appt-steps .step:nth-of-type(5).is-on i { background: #2f7d4f; }
.appt-steps .step:nth-of-type(7).is-on i { background: #2b7a8c; }
.appt-steps .step.is-on { color: var(--c-ink); }

/* ---- 选中态：红色强化 ---- */
.appt-date.is-on {
  background: var(--c-primary); border-color: var(--c-primary);
  box-shadow: 0 3px 10px rgba(140, 31, 40, .28);
}
.appt-date.is-on .wd { color: rgba(255, 255, 255, .85); }
.appt-date.is-on strong { color: #fff; }
.appt-date.is-on em { background: rgba(255, 255, 255, .25); }
.appt-slot.is-on {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff;
  box-shadow: 0 3px 10px rgba(140, 31, 40, .28);
}
.appt-doctor.is-on {
  background: rgba(140, 31, 40, .04);
  box-shadow: 0 3px 12px rgba(140, 31, 40, .18);
}
.appt-slot:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }
.appt-date:hover { border-color: var(--c-primary); }

/* ================================================================
   首页重点板块：色调面板化（膏方 · 暖金调 / 鼻炎 · 生态绿调）
   ================================================================ */
/* ---- 重点介绍：背景更深、字更深 ---- */
.spotlight {
  padding: 54px 56px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.40) 0%, transparent 60%),
    linear-gradient(140deg, #f4e2c2 0%, #ecc583 50%, #c8964a 100%);
  border: 1px solid rgba(140, 31, 40, .35);
  box-shadow:
    0 24px 60px rgba(140, 31, 40, .22),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  position: relative; overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute; left: -120px; top: -120px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%);
  pointer-events: none;
}

/* 绿色主题：鼻炎 */
.spotlight-green {
  background:
    linear-gradient(135deg, rgba(255,255,255,.40) 0%, transparent 60%),
    linear-gradient(140deg, #d8ebdf 0%, #b9d6c2 50%, #6fa383 100%);
  border-color: rgba(35, 92, 59, .35);
  box-shadow:
    0 24px 60px rgba(35, 92, 59, .22),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
.spotlight-green h2 { color: #143b27; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.spotlight-green .lede { color: #23382d; }
.spotlight-green .feature-list li strong { color: #143b27; }
.spotlight-green .feature-list li::before {
  background: #1d5a37; box-shadow: 0 0 0 3px rgba(29, 90, 55, .22);
}
.spotlight-green .spotlight-media {
  background: linear-gradient(150deg, #c5e1cb, #a9d1b3);
  border-color: rgba(35, 92, 59, .30);
}
.spotlight-green .spotlight-glyph { color: rgba(29, 90, 55, .25); }
.spotlight-green .spotlight-glyph small { color: rgba(29, 90, 55, .55); }
.spotlight-green .callout-green {
  background: rgba(35, 92, 59, .12);
  border-left: 4px solid #1d5a37;
  color: #143b27;
  font-weight: 500;
}
.spotlight-green .btn-primary { background: #1d5a37; }
.spotlight-green .btn-primary:hover { background: #143b27; }
.spotlight-green .btn-outline { border-color: #1d5a37; color: #1d5a37; }
.spotlight-green .btn-outline:hover { background: #1d5a37; color: #fff; }

/* 金色主题：埋线减肥（第 3 个重点介绍） */
.spotlight-gold {
  background:
    linear-gradient(135deg, rgba(255,255,255,.45) 0%, transparent 60%),
    linear-gradient(140deg, #ffe9b0 0%, #f0b860 50%, #a8721a 100%);
  border-color: rgba(140, 100, 18, .45);
  box-shadow:
    0 28px 68px rgba(140, 100, 18, .30),
    inset 0 1px 0 rgba(255, 255, 255, .65);
}
.spotlight-gold h2 { color: #5b3a08; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.spotlight-gold .lede { color: #3a2a08; }
.spotlight-gold .feature-list li strong { color: #5b3a08; }
.spotlight-gold .feature-list li::before {
  background: #a8721a; box-shadow: 0 0 0 3px rgba(168, 114, 26, .22);
}
.spotlight-gold .spotlight-media {
  background: linear-gradient(150deg, #f4cf80, #d99a5d);
  border-color: rgba(168, 114, 26, .35);
}
.spotlight-gold .spotlight-glyph { color: rgba(140, 86, 16, .30); }
.spotlight-gold .spotlight-glyph small { color: rgba(140, 86, 16, .60); }
.spotlight-gold .callout-gold {
  background: rgba(168, 114, 26, .14);
  border-left: 4px solid #a8721a;
  color: #5b3a08;
  font-weight: 500;
}
.spotlight-gold .btn-primary { background: linear-gradient(135deg, #a8721a, #6b4a08); }
.spotlight-gold .btn-primary:hover { background: #6b4a08; }
.spotlight-gold .btn-outline { border-color: #a8721a; color: #6b4a08; }
.spotlight-gold .btn-outline:hover { background: #a8721a; color: #fff; }
.spotlight--flip .spotlight-media { order: 2; }

.badge-green {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1px;
  color: #fff; background: linear-gradient(135deg, #35915d, #2f7d4f);
  box-shadow: 0 3px 10px rgba(47, 125, 79, .28);
}

@media (max-width: 768px) {
  .spotlight { padding: 26px 20px; }
  .spotlight--flip .spotlight-media { order: 0; }
}

/* ===== 2026-10-10: 诊所介绍门店实拍图 + 视频介绍板块 ===== */
.about-store-media {
  border-radius: 12px; overflow: hidden; margin-bottom: 18px;
  border: 1px solid var(--c-line);
  background: linear-gradient(150deg, var(--c-primary-soft), var(--c-gold-soft));
}
.about-store-media img { display: block; width: 100%; height: auto; }
.about-video-wrap { max-width: 880px; margin: 0 auto; }
.about-video {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); background: #000; object-fit: contain;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.10));
}
.about-video-desc { text-align: center; margin: 14px 0 0; font-size: 14px; color: var(--c-muted, #7a6f63); }


/* ===== v20260911: 顶栏左右两栏单排对齐（左品牌 / 右接诊），导航两端对齐 ===== */
.topbar-row { flex-wrap: nowrap; }
.topbar-brand, .topbar-meta { flex-wrap: nowrap; }
/* 旧的纵排/换行规则已作废：删除 .topbar-side 纵排 + .seg-value 强制换行 */
.topbar-side, .topbar-segment { display: none !important; }
/* header CTA 胶囊已删除，清理死样式 */
.header-cta, .header-cta-phone { display: none !important; }

/* ==========================================================================
   v20260913: 图文文章「彩色排版」+ GEO 结构化样式
   设计目标：① 用品牌色分层次，让长文更耐读、更愿意往下看；
             ② 输出结构化语义（编号小节 / 要点卡 / 问答 / 目录），
                便于搜索引擎富摘要与 AI 助手整段引用。
   颜色变量由文章页 .detail-main 注入：--post-c1 / --post-c2
   ========================================================================== */

/* ---- 标题与题图 ---- */
.post-title { letter-spacing: -.2px; }
.post-meta-line {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  margin-top: 14px; font-size: 13.5px; color: var(--c-ink-3);
}
.post-meta-line .pml-author { color: var(--c-primary); font-weight: 600; }
.post-cover {
  margin: 0 0 24px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-1);
}
.post-cover img { display: block; width: 100%; }

/* ---- 一句话结论（直答块）：AI 助手最容易引用的位置 ---- */
.post-direct-answer {
  margin: 0 0 20px; padding: 16px 20px; border-radius: 14px;
  background: linear-gradient(135deg, var(--post-c1-soft), var(--post-c2-soft));
  border: 1px solid rgba(0, 0, 0, .05);
}
.post-direct-answer .pda-label {
  display: inline-block; margin-bottom: 9px; padding: 2px 11px; border-radius: 999px;
  background: var(--post-c1); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.post-direct-answer .pda-text {
  margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.9; color: #2f2823;
}

/* ---- 导读 ---- */
.post-abstract {
  margin: 0 0 20px; padding: 16px 20px; border-radius: 14px;
  background: #fbf8f2; border-left: 4px solid var(--c-gold);
}
.post-abstract .pa-title { display: block; margin-bottom: 7px; color: var(--post-c1); font-size: 14.5px; }
.post-abstract p { margin: 0; font-size: 15.5px; line-height: 1.9; color: #4a423a; }

/* ---- 目录 ---- */
.post-toc {
  margin: 0 0 26px; padding: 16px 20px; border-radius: 14px;
  background: #fbfaf8; border: 1px solid var(--c-line);
}
.post-toc .pt-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 11px; font-size: 15px; font-weight: 800; color: var(--post-c1);
}
.post-toc .pt-ico {
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  border-radius: 6px; background: var(--post-c1); color: #fff; font-size: 13px;
}
.post-toc .pt-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 6px; counter-reset: ptoc;
}
.post-toc .pt-list li.lv2 { counter-increment: ptoc; }
.post-toc .pt-list li.lv2 > a {
  display: flex; gap: 10px; align-items: baseline;
  font-weight: 600; color: #2f2823; line-height: 1.7;
}
.post-toc .pt-list li.lv2 > a::before {
  content: counter(ptoc, decimal-leading-zero);
  flex: 0 0 auto; min-width: 22px;
  color: var(--post-c1); font-size: 12.5px; font-weight: 800;
}
.post-toc .pt-list li.lv3 { padding-left: 32px; }
.post-toc .pt-list li.lv3 > a { font-size: 14px; color: #6b6157; line-height: 1.7; }
.post-toc .pt-list a:hover { color: var(--post-c1); }

/* ---- 正文容器 ---- */
.rich-post { font-size: 16px; line-height: 2.05; color: var(--c-ink); counter-reset: psec; }
.rich-post > *:first-child { margin-top: 0; }
.rich-post p { margin: 0 0 1.1em; }
.rich-post a { color: var(--post-c1); text-decoration: underline; text-underline-offset: 3px; }
.rich-post strong { color: #2f2823; font-weight: 700; }

/* 首段导读：底色渐隐 + 品牌色左条 */
.rich-post .post-lead {
  padding: 15px 18px; margin-bottom: 1.4em; border-radius: 12px;
  background: linear-gradient(135deg, var(--post-c1-soft), rgba(255, 255, 255, 0));
  border-left: 4px solid var(--post-c1);
  font-size: 16.5px; line-height: 2; color: #3a322c; font-weight: 500;
}

/* 二级标题：编号徽标 + 渐变底 + 品牌色左条（CSS 计数器，无需改正文） */
.rich-post .post-h2 {
  position: relative; margin: 2.1em 0 .95em; padding: 11px 16px 11px 56px;
  font-size: 21px; font-weight: 800; color: var(--post-c1); line-height: 1.5;
  border-radius: 10px; border-left: 4px solid var(--post-c1);
  background: linear-gradient(90deg, var(--post-c1-soft), rgba(255, 255, 255, 0) 78%);
  counter-increment: psec;
}
.rich-post .post-h2::before {
  content: counter(psec, decimal-leading-zero);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 9px; background: var(--post-c1); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
/* 三级标题：金色圆点 */
.rich-post .post-h3 {
  position: relative; margin: 1.7em 0 .7em; padding-left: 18px;
  font-size: 17.5px; font-weight: 700; color: #2f2823; line-height: 1.6;
}
.rich-post .post-h3::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--post-c2);
  box-shadow: 0 0 0 4px var(--post-c2-soft);
}

/* 有序 / 无序列表：卡片化，彩色序号或菱形标记 */
.rich-post .post-list { list-style: none; margin: 1.1em 0; padding: 0; display: grid; gap: 8px; }
.rich-post .post-list > li {
  position: relative; padding: 11px 15px 11px 40px;
  background: #fbfaf8; border: 1px solid var(--c-line); border-radius: 10px;
  line-height: 1.9;
}
.rich-post .post-list > li::before {
  content: ''; position: absolute; left: 17px; top: 1.3em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--post-c1); transform: rotate(45deg);
}
.rich-post ol.post-list { counter-reset: plist; }
.rich-post ol.post-list > li::before {
  content: counter(plist); counter-increment: plist;
  left: 14px; top: 1.05em; width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 50%; transform: none;
  background: var(--post-c1); color: #fff; font-size: 12px; font-weight: 800;
}
.rich-post ol.post-list > li { padding-left: 44px; }

/* 知识卡 / 警示卡 */
.rich-post .post-callout {
  display: flex; gap: 13px; margin: 1.25em 0; padding: 15px 17px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: 15px; line-height: 1.9;
}
.rich-post .pc-ico { flex: 0 0 auto; font-size: 18px; line-height: 1.55; }
.rich-post .pc-body { min-width: 0; }
.rich-post .pc-title { display: block; margin-bottom: 3px; font-size: 14.5px; }
.rich-post .pc-body p { margin: 0; }
.rich-post .post-callout-tip { background: #f2f9f4; border-color: #cfe8d8; }
.rich-post .post-callout-tip .pc-title { color: #1f7a4d; }
.rich-post .post-callout-warn { background: #fdf4f2; border-color: #f2d5cd; }
.rich-post .post-callout-warn .pc-title { color: #b4442a; }
.rich-post .post-callout-key {
  background: linear-gradient(135deg, var(--post-c1-soft), #fff8ec);
  border-color: var(--post-c2);
}
.rich-post .post-callout-key .pc-title { color: var(--post-c1); }
.rich-post .post-callout-info { background: #f4f7fc; border-color: #d4e0f0; }
.rich-post .post-callout-info .pc-title { color: #2f5c9e; }

/* 引用 */
.rich-post .post-quote {
  margin: 1.35em 0; padding: 15px 19px;
  background: #fbf8f2; border-left: 4px solid var(--c-gold);
  border-radius: 0 10px 10px 0; color: #514639; font-size: 15.5px;
}
.rich-post .post-quote p { margin: 0; }

/* 表格：移动端横向滚动，不撑破版面 */
.rich-post .post-table-wrap {
  margin: 1.35em 0; border: 1px solid var(--c-line); border-radius: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.rich-post .post-table-wrap table { margin: 0; border: none; min-width: 440px; }
.rich-post .post-table-wrap th {
  background: linear-gradient(180deg, var(--post-c1-soft), #fff);
  color: var(--post-c1); font-weight: 700;
}

/* 图片（同时兼容新版 post-figure 与历史 article-figure 类名） */
.rich-post .post-figure,
.rich-post .article-figure,
.rich-post figure { margin: 1.45em 0; }
.rich-post .post-figure img,
.rich-post .article-figure img,
.rich-post figure img {
  display: block; margin: 0 auto;
  max-width: 100%; height: auto;
  border-radius: 12px;
  border: 1px solid var(--c-line);
  background: #fff;
}
.rich-post .post-figure figcaption,
.rich-post .article-figure figcaption,
.rich-post figure figcaption {
  margin-top: .6em; text-align: center;
  font-size: 13px; color: #8a817a; line-height: 1.7;
}
/* 正文裸图（历史文章直接写 <img>）：自适应不撑破版面 */
.rich-post > img, .rich-post p > img {
  display: block; margin: 1.45em auto;
  max-width: 100%; height: auto; border-radius: 12px;
}
.rich-post .post-block { margin: 0; }

/* 分隔线：品牌色渐变小条 */
.rich-post .post-divider { display: flex; justify-content: center; margin: 2.1em 0; }
.rich-post .post-divider span {
  width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--post-c1), var(--post-c2));
}

/* 正文内嵌问答（问：/答： 形式） */
.rich-post .post-faq-item {
  margin: 1.15em 0; padding: 15px 17px;
  background: #fafaf8; border: 1px solid var(--c-line); border-radius: 12px;
}
.rich-post .post-faq-q {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 0 0 .55em; font-weight: 700; color: #2f2823; line-height: 1.85;
}
.rich-post .post-faq-a {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 0; color: #4a423a; line-height: 1.9; font-size: 15.5px;
}
.rich-post .faq-badge {
  flex: 0 0 auto; width: 22px; height: 22px; line-height: 22px;
  margin-top: .4em; text-align: center; border-radius: 6px;
  color: #fff; font-size: 12px; font-weight: 800;
}
.rich-post .faq-badge.faq-q { background: var(--post-c1); }
.rich-post .faq-badge.faq-a { background: var(--c-gold); }

/* ---- 常见问题（折叠卡片，也是 FAQPage 结构化数据的可见载体） ---- */
.post-faq { margin: 34px 0 0; }
.post-faq .post-faq-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 15px; font-size: 19px; font-weight: 800; color: var(--post-c1);
}
.post-faq .pfq-ico {
  width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 8px;
  background: var(--post-c1); color: #fff; font-size: 15px; font-weight: 800;
}
.faq-card {
  margin-bottom: 10px; background: #fff;
  border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden;
}
.faq-card > summary {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 17px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; color: #2f2823; line-height: 1.8;
}
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-card > summary::after {
  content: '+'; margin-left: auto; flex: 0 0 auto;
  color: var(--post-c1); font-weight: 800; font-size: 17px; line-height: 1.6;
}
.faq-card[open] > summary { background: var(--post-c1-soft); }
.faq-card[open] > summary::after { content: '-'; }
.faq-card .faq-a {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 17px 16px; font-size: 15px; line-height: 1.95; color: #4a423a;
}
.faq-q-mark, .faq-a-mark {
  flex: 0 0 auto; width: 22px; height: 22px; line-height: 22px; text-align: center;
  border-radius: 6px; color: #fff; font-size: 12px; font-weight: 800;
}
.faq-q-mark { background: var(--post-c1); }
.faq-a-mark { background: var(--c-gold); }

/* ---- 标签 + 作者署名（E-E-A-T） ---- */
.post-tags { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.post-author-box {
  display: flex; gap: 14px; margin-top: 26px; padding: 17px 19px;
  background: #fbfaf8; border: 1px dashed var(--c-line); border-radius: 14px;
}
.post-author-box .pab-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; line-height: 44px; text-align: center;
  border-radius: 50%; color: #fff; font-size: 19px; font-weight: 800;
  background: linear-gradient(135deg, var(--post-c1), var(--c-gold));
}
.post-author-box .pab-body { min-width: 0; }
.post-author-box .pab-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 15.5px; font-weight: 800; color: #2f2823;
}
.post-author-box .pab-role {
  padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--post-c1); background: var(--post-c1-soft);
}
.post-author-box .pab-desc { margin: 7px 0 0; font-size: 13.5px; line-height: 1.9; color: #6b6157; }

/* 文末署名 / 联系方式（AI 文章自动追加） */
.rich-post .post-signature {
  margin: 26px 0 0; padding: 13px 18px; border-radius: 10px;
  background: var(--post-c2-soft); border-left: 4px solid var(--post-c2);
  font-size: 15px; font-weight: 700; color: #2f2823; letter-spacing: .3px;
}

/* ---- 移动端 ---- */
@media (max-width: 768px) {
  .rich-post { font-size: 15.5px; line-height: 1.98; }
  .rich-post .post-h2 { font-size: 18.5px; padding: 10px 13px 10px 48px; }
  .rich-post .post-h2::before { left: 12px; width: 26px; height: 26px; line-height: 26px; font-size: 12px; }
  .rich-post .post-h3 { font-size: 16.5px; }
  .rich-post .post-lead { font-size: 15.5px; padding: 13px 15px; }
  .post-direct-answer { padding: 14px 16px; }
  .post-direct-answer .pda-text { font-size: 15.5px; }
  .post-faq .post-faq-title { font-size: 17.5px; }
  .post-author-box { padding: 15px 16px; }
}

/* ================================================================
   v20260912feat：前台特色功能（公告条 / 悬浮操作栏 / 健康自测 / FAQ）
   ================================================================ */

/* ---- 顶部公告条 ---- */
.site-announce {
  background: linear-gradient(90deg, var(--c-primary-dark, #6d1720), var(--c-primary, #8c1f28));
  color: #fff;
}
.site-announce .announce-row {
  display: flex; align-items: center; gap: 10px;
  padding-top: 7px; padding-bottom: 7px;
}
.site-announce .announce-tag {
  flex: none; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
}
.site-announce .announce-text {
  margin: 0; font-size: 13.5px; line-height: 1.5; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- 悬浮快捷操作栏 ---- */
.site-fab {
  position: fixed; right: 14px; bottom: 18px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.site-fab .fab-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--c-primary, #8c1f28);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  font-size: 19px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.site-fab .fab-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(0,0,0,.22); }
.site-fab .fab-tel { background: var(--c-primary, #8c1f28); color: #fff; border-color: transparent; }
.site-fab .fab-top { font-size: 22px; font-weight: 800; }
.site-fab .fab-txt {
  position: absolute; bottom: 5px; font-size: 9.5px; font-weight: 700; line-height: 1;
  letter-spacing: 1px; opacity: .85;
}
@media (min-width: 900px) {
  .site-fab .fab-btn { width: 56px; height: 56px; }
  .site-fab .fab-btn .fab-txt { display: none; }
  .site-fab .fab-btn:hover::after {
    content: attr(title); position: absolute; right: 64px; top: 50%;
    transform: translateY(-50%); white-space: nowrap;
    background: rgba(30,25,22,.92); color: #fff; font-size: 12.5px; font-weight: 600;
    padding: 6px 11px; border-radius: 6px;
  }
}

/* ---- 健康自测中心 ---- */
.page-assess { max-width: 860px; margin: 30px auto 50px; padding: 0 var(--gutter, 20px); }
.assess-hero { text-align: center; margin-bottom: 26px; }
.assess-badge {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--c-primary, #8c1f28); background: rgba(140,31,40,.08);
  border: 1px solid rgba(140,31,40,.22); border-radius: 999px; padding: 4px 14px;
}
.assess-hero h1 { margin: 12px 0 8px; font-size: 27px; color: #2f2823; }
.assess-hero .assess-lede { max-width: 640px; margin: 0 auto; color: #6b6259; font-size: 14.5px; line-height: 1.9; }

.assess-card {
  background: #fff; border: 1px solid #eee6dd; border-radius: 14px;
  box-shadow: 0 2px 10px rgba(60,40,20,.05);
  padding: 22px 24px; margin-bottom: 22px;
}
.assess-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.assess-head .assess-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(201,162,39,.16), rgba(140,31,40,.1));
}
.assess-head h2 { margin: 0 0 3px; font-size: 18.5px; color: #2f2823; }
.assess-head p { margin: 0; font-size: 13px; color: #9a8f83; }

.assess-qs { margin: 0; padding-left: 20px; }
.assess-qs li { margin: 12px 0; font-size: 14.5px; color: #4a423a; line-height: 1.7; }
.assess-opts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 6px; }
.assess-opts label, .assess-checks label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; color: #5d554b; cursor: pointer;
  background: #faf7f2; border: 1px solid #eee6dd; border-radius: 8px;
  padding: 5px 12px; transition: border-color .15s ease, background .15s ease;
}
.assess-opts label:hover, .assess-checks label:hover { border-color: var(--c-primary, #8c1f28); }
.assess-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.assess-hint { font-size: 12.5px; color: #9a8f83; margin: 4px 0 10px; }
.assess-actions { margin-top: 16px; }

.assess-result { margin-top: 18px; border-radius: 12px; padding: 18px 20px; }
.assess-result.is-low  { background: #f2f8ef; border: 1px solid #cfe3c4; }
.assess-result.is-mid  { background: #fdf7e8; border: 1px solid #ecd9a8; }
.assess-result.is-high { background: #fdf0ee; border: 1px solid #eec5bd; }
.assess-result .ar-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.assess-result .ar-level { font-size: 17px; font-weight: 800; }
.assess-result.is-low  .ar-level { color: #3c7a2e; }
.assess-result.is-mid  .ar-level { color: #9a7411; }
.assess-result.is-high .ar-level { color: #b03a2a; }
.assess-result .ar-score { font-size: 12.5px; color: #9a8f83; }
.assess-result .ar-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: #4a423a; }
.assess-result .ar-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.assess-result .ar-note { margin: 0; font-size: 12px; color: #9a8f83; }

.assess-disclaimer {
  max-width: 860px; margin: 8px auto 40px; padding: 0 var(--gutter, 20px);
  font-size: 12.5px; color: #9a8f83; text-align: center; line-height: 1.8;
}

/* ---- 常见问题页 ---- */
.page-faqwrap { max-width: 860px; margin: 30px auto 50px; padding: 0 var(--gutter, 20px); }
.faq-hero { text-align: center; margin-bottom: 26px; }
.faq-hero h1 { margin: 12px 0 8px; font-size: 27px; color: #2f2823; }
.faq-hero .faq-lede { max-width: 640px; margin: 0 auto; color: #6b6259; font-size: 14.5px; line-height: 1.9; }
.faq-quick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid #eee6dd; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,40,20,.04); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 10px;
  padding: 15px 18px; font-weight: 700; font-size: 15.5px; color: #2f2823;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fdfaf5; }
.faq-q-ico {
  flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: var(--c-primary, #8c1f28); color: #fff; font-size: 12.5px; font-weight: 800;
}
.faq-q-text { flex: 1; line-height: 1.6; }
.faq-caret { flex: none; color: #b7aa99; font-size: 13px; transition: transform .2s ease; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-a {
  display: flex; gap: 10px; padding: 2px 18px 16px 18px;
  font-size: 14.5px; color: #5d554b; line-height: 1.9;
}
.faq-a p { margin: 0; flex: 1; }
.faq-a-ico {
  flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: #efe7d8; color: #8a6d1f; font-size: 12.5px; font-weight: 800;
}
.faq-more { margin-top: 26px; text-align: center; }
.faq-more h2 { font-size: 18px; color: #2f2823; margin: 0 0 8px; }
.faq-more p { font-size: 14px; color: #6b6259; line-height: 1.9; }
.faq-more a { color: var(--c-primary, #8c1f28); font-weight: 700; }

/* ---- 移动端适配 ---- */
@media (max-width: 768px) {
  .site-announce .announce-text { font-size: 12.5px; }
  .assess-card { padding: 18px 16px; }
  .assess-hero h1, .faq-hero h1 { font-size: 23px; }
  .faq-item summary { padding: 13px 14px; font-size: 14.5px; }
  .faq-a { padding: 2px 14px 14px 14px; }
  .site-fab { right: 10px; bottom: 12px; gap: 8px; }
  .site-fab .fab-btn { width: 48px; height: 48px; font-size: 17px; }
}

/* ================================================================
   v20260912mem：会员中心账号密码登录（页签 + 账号与安全）
   ================================================================ */
.member-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border-bottom: 2px solid #eee6dd;
}
.member-tab {
  appearance: none; background: none; border: none; cursor: pointer;
  padding: 10px 4px; margin-right: 22px; margin-bottom: -2px;
  font-size: 15px; font-weight: 700; color: #8a7f73;
  border-bottom: 2px solid transparent;
}
.member-tab:hover { color: var(--c-primary, #8c1f28); }
.member-tab.is-active {
  color: var(--c-primary, #8c1f28);
  border-bottom-color: var(--c-primary, #8c1f28);
}

/* ---- v20260912login：顶部登录/注册按钮 ---- */
.topbar-login {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; color: var(--c-primary, #8c1f28);
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 999px;
  text-decoration: none; flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.topbar-login:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.24); }
.topbar-login + .topbar-item { border-left: none; }
@media (max-width: 768px) {
  .topbar-login { font-size: 12px; padding: 4px 11px; }
}

/* ===== v20260913i18n：语言切换 + 底部累计浏览 ===== */
.topbar-lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); font-size: 12.5px;
}
.topbar-lang a { color: inherit; text-decoration: none; opacity: .85; }
.topbar-lang a:hover { opacity: 1; text-decoration: underline; }
.topbar-lang .is-current { font-weight: 700; color: #c9a227; }
@media (max-width: 640px) {
  .topbar-lang { padding: 3px 7px; font-size: 11.5px; gap: 4px; }
}
.footer-visits { margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ================= AI 创作中心（v20260913） ================= */
.page-aiwrap { padding: 30px 0 46px; }
.ai-hero { text-align: center; padding: 34px 16px 26px; }
.ai-hero h1 { font-size: 30px; margin: 14px 0 10px; color: var(--c-ink, #2b2118); }
.ai-lede { max-width: 640px; margin: 0 auto 18px; color: #6b5f52; line-height: 1.8; }
.ai-quick { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ai-sec-title { font-size: 20px; margin: 26px 0 14px; color: var(--c-ink, #2b2118); }
.ai-sec-title small { font-size: 13px; color: #a3968a; font-weight: 400; margin-left: 8px; }
.ai-matrix { margin-top: 8px; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
.ai-tile {
  background: #fff; border: 1px solid #eee5d8; border-radius: 14px;
  padding: 18px 16px 14px; box-shadow: 0 2px 8px rgba(60, 40, 20, .05);
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.ai-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(60, 40, 20, .10); }
.ai-tile.is-soon { opacity: .72; background: #faf7f2; }
.ai-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ai-ico { font-size: 30px; line-height: 1; }
.ai-status { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: #eef7ee; color: #2e7d43; }
.is-beta .ai-status { background: #fdf3e2; color: #a5720f; }
.is-soon .ai-status { background: #f0ece6; color: #8d8177; }
.ai-name { font-size: 17px; font-weight: 700; color: #2b2118; }
.ai-name em { display: block; font-style: normal; font-size: 11px; color: #b3a695; letter-spacing: .5px; margin-top: 2px; }
.ai-desc { font-size: 13px; color: #6b5f52; line-height: 1.65; flex: 1; margin: 8px 0 10px; }
.ai-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-cost { font-size: 12px; color: #8c1f28; font-weight: 600; }
.ai-where { font-size: 11.5px; color: #a3968a; }
.ai-step-list { margin: 0; padding-left: 20px; color: #4a423a; line-height: 2.1; }
.ai-step-list b { color: #8c1f28; }
.ai-compliance p { font-size: 13.5px; color: #6b5f52; line-height: 1.9; background: #f8f4ec; border-radius: 12px; padding: 16px 18px; }
