/* ==========================================================================
   示例医院 · 官网样式表
   品牌主色：医疗蓝 #2f7de8 ｜ 风格：大气简约
   --------------------------------------------------------------------------
   目录（每个版块的基础样式与它自己的响应式规则收在同一版块内）：
   01 设计变量 / Reset / 布局工具 / 通用按钮 / 区块标题 / 无障碍
   02 顶部提示条 noticebar        03 顶部工具条 + 导航
   04 首页 Hero                  05 快捷服务入口
   06 医院概况 + 最新公告条        07 重点科室
   08 专家团队                    09 健康科普 / 筛选栏
   10 就诊流程 / 公益承诺          11 大纪事
   12 荣誉资质铜牌墙               13 医生口播视频
   14 技术展示                    15 案例展示 / 视频弹层
   16 机构信息表 facts            17 常见问题 faq
   18 文章核心要点 keypoints      19 404 页面
   20 页脚                        21 内页通用（面包屑 / 页头）
   22 栏目页（列表 / 侧栏 / 分页）  23 文章页
   24 入场动画 / 回到顶部          25 手机端底部悬浮栏
   26 二级栏目页通用               27 二级页面组件（案例中心/设备/视频/医生卡）
   28 GEO：一句话结论 / 纵向 FAQ / 参考文献
   29 交通指南页                   30 在线预约挂号页 yygh
   ========================================================================== */

/* ---------- Design Token ---------- */
:root {
  /* 品牌色 */
  --brand: #2f7de8;
  --brand-dark: #1a5bb8;
  --brand-deep: #0f3d7a;
  --brand-light: #eaf2fd;
  --brand-tint: #f4f8fe;

  /* 辅助色 */
  --accent: #16a394;
  --accent-light: #e6f6f4;
  --warn: #e8912f;

  /* 中性色 */
  --text: #1a2233;
  --text-sub: #5a6478;
  --text-mute: #8b93a5;
  --line: #e6ebf2;
  --line-soft: #f0f4f9;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  /* 尺寸 */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(26, 34, 51, .05);
  --shadow: 0 8px 28px rgba(26, 34, 51, .08);
  --shadow-lg: 0 18px 48px rgba(15, 61, 122, .14);

  /* 排版 */
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 30px 0; }
.section--soft { background: var(--bg-soft); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47, 125, 232, .28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 125, 232, .34); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--outline { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- 区块标题 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-head__left { max-width: 680px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
}
.sec-tag::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-title { font-size: 34px; letter-spacing: -.02em; }
.sec-desc { margin-top: 14px; color: var(--text-sub); font-size: 16px; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 15px; font-weight: 500; }
.sec-more:hover { color: var(--brand); }
.sec-more svg { transition: transform .25s ease; }
.sec-more:hover svg { transform: translateX(4px); }

/* 标题 + 病种切换同排（用于健康科普）：
   左侧标题/描述，右侧 tab 与标题同基线、全部科普与描述同行
   容器放不下时（<1240px）自动回落到标题下方单独一行 */
.sec-head--kep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title tabs"
    "desc  more";
  align-items: center;
  column-gap: 32px;
  row-gap: 0;
  margin-bottom: 40px;
}
.sec-head--kep .sec-title { grid-area: title; }
.sec-head--kep .sec-desc { grid-area: desc; }
.sec-head--kep .kep__tabs { grid-area: tabs; }
.sec-head--kep .sec-more { grid-area: more; justify-self: end; align-self: end; }

/* ---------- 无障碍：跳至主内容 + 仅屏幕阅读器可见 ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }
.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;
}

/* ---------- 区块标题 · 响应式 ---------- */
@media (max-width: 720px) {
  .section { padding: 24px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  /* 「查看全部 XX」手机端由 JS 移进描述段落末尾（不挤压描述宽度），并统一靠右：
     末行右侧放得下 → 绝对定位贴到末行最右（--row，top 由 JS 实测写入）；
     放不下 → 另起一行靠右（--below） */
  .sec-desc { position: relative; }
  .sec-desc .sec-more { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: baseline; }
  .sec-desc .sec-more--row { position: absolute; right: 0; top: 0; margin-left: 0; }
  .sec-desc .sec-more--below { display: flex; margin: 6px 0 0 auto; }
  .sec-title { font-size: 26px; }
}

/* ==========================================================================
   页面顶部提示条（全站首条，位于工具条之上）
   浅黄底铺满整屏；喇叭图标固定在左侧不参与滚动，只有文案在右侧滚动区里
   从右滚入 → 滚到左侧外 → 再从右侧进入，无限循环
   ========================================================================== */
.noticebar {
  background: #fffae8;          /* 通栏，铺满整屏 */
  color: #ea8a38;
  font-size: 13px;
  line-height: 1.6;
}
/* 一行 = 固定图标 + 滚动区，整体收在 .container 内容盒内，与导航、白卡左右对齐 */
.noticebar__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.noticebar__icon {
  flex: 0 0 auto;               /* 不被压缩、不随轨道移动 */
  display: inline-flex;
  align-items: center;
  color: #dd7620;               /* 比正文重一档，小尺寸也不糊 */
}
.noticebar__icon svg { display: block; width: 17px; height: 17px; }
/* 文字裁剪区从图标右侧开始：文案滚到图标边上就消失，不会压过图标 */
.noticebar__view {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;  /* 供下面的 100cqw 取滚动区宽度 */
}
.noticebar__track {
  display: flex;
  width: max-content;
  margin-left: 100%;            /* 起点停在滚动区右侧之外，从右边滚进来 */
  animation: noticebar-roll 34s linear infinite;
  will-change: transform;
}
.noticebar:hover .noticebar__track { animation-play-state: paused; }
.noticebar__item { white-space: nowrap; }
.noticebar__item a { color: #d9761c; text-decoration: underline; text-underline-offset: 2px; }

/* 位移 = 文案自身宽 + 滚动区宽：终点时整句刚好完全移出左侧，
   与起点（完全在右侧外）位置等价，所以循环处看不到半截文字跳变 */
@keyframes noticebar-roll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-100% - 100cqw), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .noticebar__track { animation: none; margin-left: 0; }
}

@media (max-width: 720px) {
  .noticebar { font-size: 12px; line-height: 1.55; }
  .noticebar__bar { gap: 6px; padding: 9px 0; }
  .noticebar__icon svg { width: 15px; height: 15px; }
  .noticebar__track { animation-duration: 22s; }
}

/* ==========================================================================
   顶部工具条 + 导航
   ========================================================================== */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  height: 40px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__slogan { letter-spacing: .04em; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a:hover { color: #fff; }
.topbar__links span { opacity: .35; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .container { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  /* 高度锁 44px、宽度自适应：方形徽标自然 44×44，横向长条 logo 也不会被压扁 */
  height: 44px; width: auto; max-width: 180px;
  flex-shrink: 0; object-fit: contain; display: block;
}
/* 手机端收窄上限，避免横向 logo 把右侧按钮挤出去 */
@media (max-width: 620px) {
  .logo__mark { max-width: 120px; }
}
@media (max-width: 380px) {
  .logo__mark { max-width: 96px; }
}
/* 中文在上、英文在下：.logo__text 竖排（flex column），两个 span 各自占一行 */
.logo__text { display: flex; flex-direction: column; justify-content: center; gap: 3px; line-height: 1.15; white-space: nowrap; }
.logo__name { display: block; font-size: 24px; font-weight: 700; letter-spacing: .01em; }
.logo__sub { display: block; font-size: 10px; color: var(--text-mute); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; min-width: 0; }
.nav__item { position: relative; flex-shrink: 0; }
.nav__link {
  display: flex; align-items: center;
  padding: 9px 9px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
/* 只有「当前所在栏目」才有实心品牌蓝底；悬停/展开不给底色，只做文字滚动 */
.nav__item.is-active .nav__link {
  background: var(--brand); color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px rgba(47, 125, 232, .26);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 0; height: 2px; background: var(--brand); border-radius: 2px;
  transform: translateX(-50%); transition: width .25s ease;
}
.nav__item.is-active .nav__link::after { width: 0; }

/* --------------------------------------------------------------------------
   导航文字纵向滚动：黑字上滚出、白字下滚入（同一条文案两层叠放）
   -------------------------------------------------------------------------- */
.nav__roll { position: relative; display: grid; height: 1.45em; overflow: hidden; }
.nav__roll > span {
  grid-area: 1 / 1; line-height: 1.45em; white-space: nowrap;
  transition: transform .44s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
/* 滚入的那层字：白底上用品牌蓝（白字在白底上会看不见）；当前栏目是蓝底，才用白色 */
.nav__roll-b { color: var(--brand); transform: translateY(106%); }
.nav__item.is-active .nav__link .nav__roll-b { color: #fff; }
.nav__link:hover .nav__roll-a,
.nav__item.is-active .nav__link .nav__roll-a,
.nav__item.is-open .nav__link .nav__roll-a { transform: translateY(-106%); }
.nav__link:hover .nav__roll-b,
.nav__item.is-active .nav__link .nav__roll-b,
.nav__item.is-open .nav__link .nav__roll-b { transform: translateY(0); }

/* --------------------------------------------------------------------------
   窄下拉面板：白底深字，从导航下沿向下推开；列表项逐条上移入位
   -------------------------------------------------------------------------- */
.nav__panel {
  position: absolute; top: calc(100% + 13px); left: 50%;
  min-width: 188px; padding: 7px; border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(15, 61, 122, .16), 0 2px 8px rgba(15, 61, 122, .06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .24s ease, transform .36s cubic-bezier(.22, .61, .36, 1), visibility .24s;
}
.nav__item.is-open .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
/* 面板顶部的小尖角，指向所属栏目（面板被夹到边界时会跟着修正） */
.nav__panel::before {
  content: ""; position: absolute; top: -6px; left: var(--ax, 50%);
  width: 10px; height: 10px; border-radius: 2px 0 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
/* 跟随鼠标滑动的整行高亮块 */
.nav__glider {
  position: absolute; left: 7px; right: 7px; top: 0; height: 38px;
  border-radius: 9px; background: var(--brand-light);
  opacity: 0; pointer-events: none;
  transform: translateY(var(--gy, 7px));
  transition: transform .32s cubic-bezier(.22, .61, .36, 1), opacity .2s ease, height .32s ease;
}
.nav__item.is-open .nav__glider { opacity: 1; }
.nav__panel-link {
  position: relative; z-index: 1;
  display: block; padding: 9px 32px 9px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-sub);
  white-space: nowrap;
  opacity: 0; transform: translateY(10px);
  /* 错开延迟只作用于入场（opacity / transform），颜色与位移必须即时响应悬停 */
  transition: color .22s ease,
              padding-left .3s cubic-bezier(.22, .61, .36, 1),
              opacity .28s ease var(--d, 0s),
              transform .38s cubic-bezier(.22, .61, .36, 1) var(--d, 0s);
}
/* 悬停项：文字右移一格，右侧浮出箭头。只改 padding 与颜色，不加粗——加粗会改变最宽项宽度，面板宽度会跟着跳 */
.nav__panel-link:hover,
.nav__panel-link:focus-visible { color: var(--brand); padding-left: 28px; }
.nav__panel-link:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
/* 右侧箭头：两条边拼成的细线折角，跟随文字一起淡入并向右归位 */
.nav__panel-link::after {
  content: ""; position: absolute; right: 14px; top: 50%; margin-top: -3px;
  width: 6px; height: 6px;
  border-top: 1.6px solid var(--brand);
  border-right: 1.6px solid var(--brand);
  opacity: 0; transform: translateX(-4px) rotate(45deg);
  transition: opacity .2s ease, transform .3s cubic-bezier(.22, .61, .36, 1);
}
.nav__panel-link:hover::after,
.nav__panel-link:focus-visible::after { opacity: 1; transform: translateX(0) rotate(45deg); }
/* 展开时逐条上移入位，自上而下错开 */
.nav__item.is-open .nav__panel-link { opacity: 1; transform: translateY(0); }
.nav__item.is-open .nav__panel-link:nth-of-type(1) { --d: .04s; }
.nav__item.is-open .nav__panel-link:nth-of-type(2) { --d: .08s; }
.nav__item.is-open .nav__panel-link:nth-of-type(3) { --d: .12s; }
.nav__item.is-open .nav__panel-link:nth-of-type(4) { --d: .16s; }
.nav__item.is-open .nav__panel-link:nth-of-type(5) { --d: .2s; }
.nav__item.is-open .nav__panel-link:nth-of-type(6) { --d: .24s; }
.nav__item.is-open .nav__panel-link:nth-of-type(7) { transition-delay: .28s; }
/* 键盘 Tab 进入面板项时也要可见（不依赖 JS） */
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__search {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: 38px; padding: 0 12px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid transparent; transition: all .25s ease;
}
.header__search:focus-within { border-color: var(--brand); background: #fff; }
.header__search input {
  width: 80px; border: none; background: none; outline: none;
  font-size: 14px; font-family: inherit; color: var(--text);
}
.header__search input::placeholder { color: var(--text-mute); }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; color: var(--text); place-items: center; }
.burger:hover { background: var(--bg-soft); }

/* 移动端菜单：栏目与 PC 导航一致（二级可展开）
   三个细节：文字右移一个字、右侧箭头、按下/当前页时文字向上滚（与 PC 顶部导航同一机制） */
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: #fff; padding: 6px 24px 32px; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__row { display: flex; align-items: center; border-bottom: 1px solid var(--line-soft); }
.mobile-nav__row .mobile-nav__item { flex: 1 1 auto; border-bottom: 0; min-width: 0; }
.mobile-nav__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 0 14px 1em;              /* 常态缩进一个字 */
  font-size: 17px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  /* 与 PC 弹出窗口的 .nav__panel-link 同一套位移缓动：按下时文字再滑出一个字 */
  transition: padding-left .3s cubic-bezier(.22, .61, .36, 1), color .2s ease;
}
.mobile-nav__item:active { color: var(--brand); padding-left: 2em; }
.mobile-nav__item.is-active { color: var(--brand); }
.mobile-nav__arrow { flex: 0 0 auto; color: var(--text-mute); transition: transform .25s ease, color .2s ease; }
.mobile-nav__item .nav__roll { height: 1.35em; }
.mobile-nav__item:active .nav__roll-a,
.mobile-nav__item.is-active .nav__roll-a { transform: translateY(-106%); }
.mobile-nav__item:active .nav__roll-b,
.mobile-nav__item.is-active .nav__roll-b { transform: translateY(0); }
.mobile-nav__toggle {
  flex: 0 0 auto; width: 40px; height: 40px; margin-right: -8px;
  display: grid; place-items: center; border-radius: 8px; color: var(--text-mute);
}
.mobile-nav__toggle:active { background: var(--bg-soft); }
.mobile-nav__group.is-open .mobile-nav__toggle .mobile-nav__arrow { transform: rotate(90deg); color: var(--brand); }
.mobile-nav__sub { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.mobile-nav__sub a {
  display: block; padding: 11px 0 11px 2.2em;
  font-size: 15px; color: var(--text-sub); border-bottom: 1px solid var(--line-soft);
  transition: padding-left .3s cubic-bezier(.22, .61, .36, 1), color .2s ease;
}
.mobile-nav__sub a:last-child { border-bottom: 0; }
.mobile-nav__sub a:active { color: var(--brand); padding-left: 3.2em; }
.mobile-nav__cta { margin-top: 22px; width: 100%; }

/* ---------- 顶部工具条 + 导航 · 响应式 ---------- */
/* 导航在窗口变窄时优先折叠为汉堡菜单（避免中文逐字换行） */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__search { display: none; }
  .header .container { gap: 16px; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  /* 小屏 header 防溢出；logo 贴左、预约挂号 + 菜单贴右（导航折叠后中间没有可撑开的元素，
     不加 space-between 右侧会空出一截） */
  .header .container { gap: 12px; justify-content: space-between; }
  .logo__sub { display: none; }
  .logo__name { font-size: 16.5px; }
  .header__actions { gap: 6px; }
  .header__actions .btn--sm { height: 34px; padding: 0 13px; font-size: 13.5px; }
  .burger { width: 38px; height: 38px; }
  /* 320px 级老机型：logo 名字与按钮再收一档，否则整页横向溢出 */
  @media (max-width: 359px) {
    .logo__name { font-size: 15px; }
    .header__actions .btn--sm { padding: 0 10px; font-size: 12.5px; }
  }
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__mask {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15, 61, 122, .93) 0%, rgba(15, 61, 122, .74) 42%, rgba(26, 91, 184, .38) 72%, rgba(255, 255, 255, .1) 100%);
}
.hero__inner { position: relative; width: 100%; padding: 96px 0 80px; }
.hero__content { max-width: 660px; color: #fff; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13.5px; letter-spacing: .04em; backdrop-filter: blur(6px);
}
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; display: block; }
.hero__title {
  margin-top: 22px; font-size: 52px; line-height: 1.22; letter-spacing: -.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .18);
}
.hero__title em { font-style: normal; color: #9dc6ff; }
.hero__desc { margin-top: 20px; font-size: 17.5px; line-height: 1.85; color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 52px; padding-top: 28px; display: flex; gap: 52px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero__stat strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.hero__stat span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* 悬浮预约卡 */
.hero__card {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 320px; background: #fff; border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hero__card h4 { font-size: 17px; margin-bottom: 4px; }
.hero__card p { font-size: 13.5px; color: var(--text-mute); }
.hero__card-tel {
  margin: 18px 0 16px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--brand-tint);
  display: flex; flex-direction: column; gap: 4px;
}
.hero__card-tel b {
  font-size: 24px; color: var(--brand); letter-spacing: -.01em;
  white-space: nowrap; line-height: 1.25;
}
.hero__card-tel span { font-size: 12.5px; color: var(--text-sub); line-height: 1.5; }
.hero__card .btn { width: 100%; }
.hero__card-meta {
  margin-top: 16px; display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--text-mute); padding-top: 14px; border-top: 1px dashed var(--line);
}

/* ---------- 首页 Hero · 响应式 ---------- */
@media (max-width: 1100px) {
  .hero__card { display: none; }
}
@media (max-width: 720px) {
  /* 手机上不再撑最小高 + 垂直居中，否则画面顶端会空出上百像素 */
  .hero { min-height: 0; }
  .hero__inner { padding: 34px 0 64px; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 15.5px; }
  .hero__stats { gap: 26px; margin-top: 36px; }
  .hero__stat strong { font-size: 24px; }
}

/* ==========================================================================
   快捷服务入口
   ========================================================================== */
.quick { margin-top: -60px; position: relative; z-index: 10; }
.quick__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  background: #fff; border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow);
}
.quick__item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 10px; border-radius: var(--radius); text-align: center;
  transition: all .28s ease; border: 1px solid transparent;
}
.quick__item:hover { background: var(--brand-tint); border-color: #dce9fb; transform: translateY(-4px); }
.quick__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-light), #dce9fb); color: var(--brand);
  transition: all .28s ease;
}
.quick__item:hover .quick__icon { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.quick__item b { font-size: 15.5px; font-weight: 600; }
.quick__item span { font-size: 12.5px; color: var(--text-mute); }

/* ---------- 快捷服务入口 · 响应式 ---------- */
@media (max-width: 1100px) {
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .quick { margin-top: -40px; }
  /* 手机端：一排 5 个，多的左右滑动；描述行隐藏，只留图标 + 名称 */
  .quick__grid {
    display: flex; flex-wrap: nowrap; gap: 4px;
    padding: 14px 10px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quick__grid::-webkit-scrollbar { display: none; }
  .quick__item {
    flex: 0 0 calc((100% - 16px) / 5);   /* 4 个 4px 间隙 → 5 个正好一排 */
    min-width: 0; padding: 10px 2px; gap: 8px;
    border-radius: 12px;
  }
  .quick__icon { width: 46px; height: 46px; border-radius: 13px; }
  .quick__icon svg { width: 22px; height: 22px; }
  /* 320px 级老机型（注意：目前被下方 12.5px 规则盖住，未生效） */
  @media (max-width: 359px) {
    .quick__item b { font-size: 11.5px; }
  }
  .quick__item b { font-size: 12.5px; white-space: nowrap; }
  /* 只藏描述行；图标本身也是 span，不能一刀切 */
  .quick__item > span:not(.quick__icon) { display: none; }
}

/* ==========================================================================
   医院概况
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
/* 左栏：宣传片与医院动态连成一张卡片，动态卡压在画面底部（不再是两块分开的面板） */
.about__col { display: block; min-width: 0; }
.about__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #0e2b46; aspect-ratio: 4 / 3;
}
/* 画面底部压一层浅渐变，让白卡与影像过渡自然 */
.about__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: linear-gradient(180deg, rgba(9, 27, 51, 0) 0%, rgba(9, 27, 51, .3) 100%);
  pointer-events: none; z-index: 1;
}
.about__video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; background: #0e2b46;
}
/* 左上角「医院宣传片」角标：小圆点 + 半透明黑底，画面上任何明暗都看得清 */
.about__video-tag {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: rgba(9, 27, 51, .46); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 12px; line-height: 1.5; letter-spacing: .02em;
  pointer-events: none;
}
.about__video-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .28);
}
/* 控制按钮放右上角：底部已由动态卡占用，右下方会被盖住 */
.about__video-ui { position: absolute; right: 14px; top: 14px; z-index: 3; display: flex; gap: 8px; }
/* 画面中央「点击播放」：白圆 + 品牌蓝三角 + 下方文案，点开弹层看大屏
   top 用 --news-h（动态卡实际高度，JS 写入）折半，正好落在卡片上方的画面正中 */
.about__play {
  position: absolute; left: 50%; z-index: 3;
  top: calc((100% - var(--news-h, 222px) - 14px) / 2);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
}
.about__play-ring {
  width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 28px rgba(9, 27, 51, .26), 0 0 0 9px rgba(255, 255, 255, .16);
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.about__play-ring svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--brand); }
.about__play:hover .about__play-ring,
.about__play:focus-visible .about__play-ring {
  transform: scale(1.08); background: #fff;
  box-shadow: 0 14px 34px rgba(9, 27, 51, .3), 0 0 0 10px rgba(255, 255, 255, .2);
}
.about__play:focus-visible { outline: 2px solid #fff; outline-offset: 8px; border-radius: 999px; }
.about__vbtn {
  width: 34px; height: 34px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(9, 27, 51, .46); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; transition: background-color .2s ease, transform .2s ease;
}
.about__vbtn:hover { background: rgba(9, 27, 51, .7); transform: translateY(-1px); }
.about__vbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.about__vbtn svg {
  width: 15px; height: 15px; display: block; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.about__vbtn .i-play { fill: currentColor; stroke: none; }
.about__vbtn .i-play { display: none; }
.about__vbtn.is-paused .i-pause { display: none; }
.about__vbtn.is-paused .i-play { display: block; }
.about__vbtn svg[hidden] { display: none; }
/* 视频缺失时（未上传素材 / 加载失败）：退回静态封面，不留一块黑框 */
.about__media.is-static { aspect-ratio: 4 / 3; background: #eef3fa url("/template/default/img/about.webp") center / cover no-repeat; }
.about__media.is-static .about__video,
.about__media.is-static .about__video-ui,
.about__media.is-static .about__video-tag { display: none; }
/* 动态列表：压在画面底部，与影像同属一张卡 */
.about__news {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 18px 11px;
  box-shadow: 0 12px 30px rgba(9, 27, 51, .18);
}
.about__news-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 8px; margin-bottom: 2px; border-bottom: 1px solid var(--line);
}
.about__news-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--brand-deep); letter-spacing: .02em;
}
.about__news-title::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--brand);
}
.about__news-more {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12.5px; color: var(--text-mute); transition: color .22s ease;
}
.about__news-more:hover { color: var(--brand); }
.about__news-more svg { display: block; }
.about__news-list { margin: 0; padding: 0; list-style: none; }
.about__news-list li { display: flex; align-items: center; gap: 12px; padding: 3px 0; }
.about__news-list time {
  flex: 0 0 auto; font-size: 12px; color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.about__news-list a {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; line-height: 1.5; color: var(--text);
  transition: color .22s ease;
}
.about__news-t {
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 行尾一枚细箭头：补掉右侧空白；箭头在 <a> 内，点箭头也能跳转 */
.about__news-arw {
  flex: 0 0 auto; width: 5.5px; height: 5.5px;
  border-top: 1.8px solid #7f8b9d; border-right: 1.8px solid #7f8b9d;
  transform: rotate(45deg);
  transition: border-color .22s ease, transform .22s ease;
}
.about__news-list a:hover { color: var(--brand); }
.about__news-list a:hover .about__news-arw {
  border-color: var(--brand);
  transform: rotate(45deg) translate(1.5px, -1.5px);
}
.about__text h3 { font-size: 30px; }
.about__text p { margin-top: 18px; color: var(--text-sub); font-size: 16.5px; }
.about__list { margin-top: 26px; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-sub); font-size: 15.5px; }
.about__list svg { flex-shrink: 0; margin-top: 5px; color: var(--accent); }
/* 折叠开关只在手机端出现；桌面端勾选清单与详情按钮始终展开 */
.about__toggle { display: none; }

/* ---------- 医院概况 / 最新公告条 · 响应式 ---------- */
@media (max-width: 1100px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  /* 单列时画面撑满整行会过高，回到 16:9，卡片占比才不至于太小 */
  .about__media { aspect-ratio: 16 / 9; }
  .about__media.is-static { aspect-ratio: 16 / 9; }
  .notice-bar__list { gap: 20px; }
  .notice-bar__list li:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  /* 320px 级老机型：日期收一档（注意：目前被下方 720 规则盖住，未生效） */
  @media (max-width: 359px) {
    .about__news-list li { gap: 7px; }
    .about__news-list time { font-size: 10.5px; }
  }
  /* 手机端：与 PC 同一套逻辑——画面铺满整块，动态卡嵌在画面底部，卡片左右和下方都露出画面
     高度 = 卡片实际高度(--news-h，JS 写入) + 底部 14px 留白 + 上方露出的一段画面（约 44vw） */
  .about__media {
    aspect-ratio: auto;
    height: calc(var(--news-h, 211px) + 14px + clamp(108px, 44vw, 168px));
    background: #0e2b46;
  }
  .about__media.is-static { aspect-ratio: auto; }
  .about__media::after { display: none; }
  .about__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .about__play { gap: 9px; }
  .about__play-ring { width: 58px; height: 58px; box-shadow: 0 8px 20px rgba(9, 27, 51, .24), 0 0 0 6px rgba(255, 255, 255, .16); }
  .about__play-ring svg { width: 21px; height: 21px; }
  .about__news {
    padding: 12px 15px 13px;
    border-radius: var(--radius);
  }
  .about__news-list a { font-size: 13px; }
  .about__news-list time { font-size: 11.5px; }
  /* 窄屏标题只留一行，超出省略：入口窄，两行会把整条列表拉高 */
  .about__news-list li { gap: 9px; padding: 5px 0; }
  .about__news-t { white-space: nowrap; display: block; }
  .about__news-arw { margin-top: 0; }
  /* 手机端概况：视频卡与文字区之间的行距收窄（PC 的 40px 在窄屏显得空） */
  .about__grid { gap: 20px; }
  /* 手机端概况文字区：整块（标签 + 标题 + 简介 + 勾选清单 + 详情按钮）默认收起，
     只留一行「展开查看」，需要时点开 */
  .about__more { max-height: 0; overflow: hidden; transition: max-height .34s ease; }
  .about__more .about__list { margin-top: 20px; }
  /* 收起态没有上方内容，按钮不必再让出 16px */
  .about__text:not(.is-open) .about__toggle { margin-top: 0; }
  .about__toggle {
    display: flex; width: fit-content; align-items: center; gap: 6px;
    margin: 16px auto 0; padding: 0; border: 0; background: none;
    color: var(--brand); font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
    cursor: pointer;
  }
  .about__toggle svg { display: block; transition: transform .28s ease; }
  .about__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .about__toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 4px; }
  /* 手机端不显示「最新公告」横条：内容与上方医院动态重复，且窄屏一条要折三行 */
  .notice-bar { display: none; }
}

/* ==========================================================================
   重点科室
   ========================================================================== */
.dept__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* 科室导航「重点科室」：内容列 ~824px（右侧有边栏），一行 2 张，
   卡片用基础字号即可（卡宽 ~390px，描述与 3 个标签都放得下）；
   1100 断点后边栏收起、内容变宽，同一套规则继续适用；720 断点另有紧凑图标样式覆盖。 */
.page-body .dept__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.dept-card {
  position: relative; padding: 26px 22px 22px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all .3s ease;
}
.dept-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #dce9fb; }
.dept-card:hover::after { transform: scaleX(1); }
/* 点中某张科室卡（下方列表正显示该科室疾病）时的选中态：
   底边彩条常亮 + 描边加深，代替原来那排重复的科室选择条 */
.dept-card.is-active { border-color: var(--brand); box-shadow: 0 10px 26px rgba(28, 92, 190, .14); }
.dept-card.is-active::after { transform: scaleX(1); }
.dept-card.is-active .dept-card__icon { background: var(--brand); color: #fff; }
.dept-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 18px;
  transition: all .3s ease;
}
.dept-card:hover .dept-card__icon { background: var(--brand); color: #fff; }
.dept-card h4 { font-size: 19px; }
.dept-card p { margin-top: 10px; color: var(--text-sub); font-size: 14.5px; line-height: 1.7; }
.dept-card__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.dept-card__tags span {
  font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
  background: var(--bg-soft); color: var(--text-sub);
}
/* CMS 端标签是按科室下全部疾病子栏目循环输出的，可能十几二十个，卡片会被撑得极高。
   这里统一只显示前 3 个，其余裁掉（不影响后台数据，也不影响下方科室列表的完整病种）。 */
.dept-card__tags span:nth-child(n + 4) { display: none; }
/* 后台没填栏目副标题/疾病副标题时，空段落不占高度，卡片仍然上齐 */
.dept-card p:empty { display: none; }
.dcard p:empty { display: none; }

/* 科室导航「科室列表」：点上方科室卡后，这里按科室分组展示疾病条目 */
.dgroup { margin-top: 28px; }
.dgroup:first-child { margin-top: 0; }
.dgroup[hidden] { display: none; }
.dgroup__t {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; letter-spacing: -.01em;
}
/* 科室名后延伸一条淡分隔线，视觉上把「组标题」和卡片群隔开 */
.dgroup__t::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dgroup__t small { font-size: 12.5px; font-weight: 400; color: var(--text-mute); }
.dgrid {
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px;
}
.dcard {
  padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dcard:hover { border-color: #dce9fb; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dcard h4 { font-size: 15.5px; color: var(--brand); }
.dcard p { margin-top: 7px; font-size: 13px; color: var(--text-sub); line-height: 1.65; }

/* ---------- 重点科室 · 响应式 ---------- */
/* >721px：栏目页边栏收起、内容变宽，同一套规则自动适配列数 */
@media (min-width: 721px) {
  .page-body .dept__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .dept-card h3 { font-size: 19px; }
}
@media (max-width: 1100px) {
  .dept__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* 只有一张科室卡时保持两列（原来散在栏目页 list-tabs 的媒体查询里，归位到这里） */
  .dept__grid:has(> .dept-card:only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 重点科室：手机端一行 4 个、共两行，只留图标与科室名（描述与标签在窄屏太碎） */
  .dept__grid, .page-body .dept__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .dept-card { padding: 12px 4px; border-radius: 12px; text-align: center; }
  .dept-card__icon { width: 34px; height: 34px; border-radius: 10px; margin: 0 auto 8px; }
  .dept-card__icon svg { width: 18px; height: 18px; }
  .dept-card h3 { font-size: 12.5px; line-height: 1.25; }
  .dept-card p, .dept-card__tags { display: none; }
  .dept-card::after { display: none; }
  /* 超窄屏（320 级）：科室名再收一档，5 个字仍能单行 */
  @media (max-width: 359px) {
    .dept-card { padding: 10px 2px; }
    .dept-card h3 { font-size: 11px; }
  }
}

/* 疾病列表页（#diseaseGrid）：格子再小一档 */
.page-body #diseaseGrid .dgrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ==========================================================================
   专家团队
   ========================================================================== */
.expert__carousel { position: relative; }
.expert__viewport { overflow: hidden; }
.expert__grid {
  display: flex; gap: 22px; padding: 8px 0 10px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.expert__grid::-webkit-scrollbar { display: none; }
.expert-card { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; }
.expert__nav, .case__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand);
  box-shadow: 0 8px 22px rgba(15, 61, 122, .16);
  cursor: pointer; transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.expert__nav:hover, .case__nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.expert__nav:disabled, .case__nav:disabled { opacity: 1; cursor: default; background: #fff; border-color: var(--line); color: var(--text-mute); box-shadow: none; }
.expert__nav:disabled:hover, .case__nav:disabled:hover { background: #fff; color: var(--text-mute); border-color: var(--line); }
.expert__nav--prev { left: -18px; }
.case__nav--prev { left: -18px; }
.expert__nav--next { right: -18px; }
.case__nav--next { right: -18px; }
.expert-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: all .3s ease;
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #dce9fb; }
.expert-card__photo { height: 250px; background: linear-gradient(160deg, #eaf2fd 0%, #dbe8f7 100%); display: grid; place-items: center; }
.expert-card__photo svg { color: #9fbde3; }
.expert-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.expert-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.expert-card__body h3, .expert-card__body h4 { font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.expert-card__body h3 small, .expert-card__body h4 small { font-size: 13px; font-weight: 500; color: var(--brand); }
.expert-card__meta { margin-top: 8px; font-size: 13.5px; color: var(--text-mute); }
.expert-card__desc { margin-top: 12px; font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* 医生卡底部双按钮：咨询（描边）+ 挂号（实心）。margin-top:auto 让不同描述长度的卡片按钮齐底 */
.expert-card__actions {
  margin-top: auto; padding-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.expert-card__actions .btn {
  height: 36px; padding: 0 8px;
  font-size: 13.5px; letter-spacing: 0; box-shadow: none;
}
.expert-card__actions .btn--primary { box-shadow: 0 4px 12px rgba(47, 125, 232, .22); }
.expert-card__actions .btn--primary:hover { transform: none; box-shadow: 0 6px 16px rgba(47, 125, 232, .3); }
.expert-card__actions .btn--outline { border-color: #c2d8f6; }

/* ---------- 专家团队 · 响应式 ---------- */
@media (max-width: 1100px) {
  .expert-card { flex: 0 0 calc((100% - 22px) / 2); }
  .expert__nav--prev { left: -10px; }
  .expert__nav--next { right: -10px; }
}
@media (max-width: 720px) {
  .expert-card { flex: 0 0 100%; }
}

/* ==========================================================================
   最新公告条（作为医院概况区块的收尾条，收在概况的白底之内）
   ========================================================================== */
.about-sec { padding-bottom: 88px; }
.about-sec .notice-bar { margin-top: 48px; }

.notice-bar {
  padding: 4px 26px;
  background: var(--brand-light);
  border: 1px solid #dbe8f8;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(19, 67, 121, .04);
}
.notice-bar__inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 56px; padding: 10px 0;
}
.notice-bar__label {
  display: flex; align-items: center; gap: 9px; flex-shrink: 0;
  margin: 0; font-size: 13.5px; font-weight: 700;
  color: var(--brand-deep); letter-spacing: .04em; white-space: nowrap;
}
.notice-bar__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 125, 232, .14);
}
.notice-bar__list {
  display: flex; align-items: center; gap: 40px;
  flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none;
}
.notice-bar__list li { display: flex; align-items: center; gap: 9px; flex: 0 1 auto; min-width: 0; font-size: 13.5px; }
.notice-bar__list time {
  flex-shrink: 0; font-size: 12px; color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.notice-bar__list a {
  display: block; color: var(--text-sub); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; transition: color .2s ease;
}
.notice-bar__list a:hover { color: var(--brand); }
.notice-bar__more {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  margin-left: auto; font-size: 13px; color: var(--brand); white-space: nowrap;
}
.notice-bar__more:hover { color: var(--brand-dark); }

/* ==========================================================================
   健康科普（首页保留唯一资讯板块）
   ========================================================================== */
/* 病种切换 tab：白底胶囊容器，选中实心品牌蓝；窄屏横向滚动不换行
   .ftabs 为通用筛选栏，供案例中心、视频专栏与此处共用 */
.kep__tabs,
.ftabs {
  display: flex; flex-wrap: nowrap; gap: 4px;
  width: fit-content; max-width: 100%;
  margin: 0 0 30px; padding: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
}
.kep__tabs::-webkit-scrollbar,
.ftabs::-webkit-scrollbar { display: none; }
.kep__tab,
.ftab {
  flex: 0 0 auto;
  height: 40px; padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px; font-weight: 500; line-height: 40px;
  color: var(--text-sub); white-space: nowrap;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.kep__tab:hover,
.ftab:hover { background: var(--brand-light); color: var(--brand); }
.kep__tab.is-active,
.ftab.is-active {
  background: var(--brand); color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px rgba(47, 125, 232, .26);
}
.kep__tab:focus-visible,
.ftab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 与标题同排时的紧凑版：7 个病种要在一行内放下 */
.kep__tabs--inline { margin-bottom: 0; padding: 5px; gap: 2px; }
.kep__tabs--inline .kep__tab { padding: 0 13px; font-size: 14px; }

/* 病种 tab 的二 / 三级下拉：视觉沿用顶部导航的 .nav__panel，只重定位。
   关键前提——.kep__tabs 有 overflow-x:auto，会裁掉溢出的面板，所以宽屏必须放开；
   窄屏保持横向滚动，面板直接不显示（手指没有 hover，点了也只会跳栏目）。 */
.kep-dd { position: relative; flex: 0 0 auto; display: flex; }
.kep-dd__panel {
  top: calc(100% + 9px); left: 50%;
  min-width: 176px; padding: 7px; z-index: 60;
  transform: translate(-50%, 10px);
}
.kep-dd.is-open .kep-dd__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.kep-dd.is-open .nav__glider { opacity: 1; }
/* 面板项进入：与顶部导航同一条位移曲线，只是不分条错开 */
.kep-dd.is-open .nav__panel-link { opacity: 1; transform: translateY(0); }
/* 三级：比二级小一号、左侧缩进，一眼看出层级 */
.kep-dd__lv3 { padding-left: 26px; font-size: 13px; color: var(--text-mute); }
.kep-dd__lv3::before {
  content: ""; position: absolute; left: 14px; top: 50%; margin-top: -1px;
  width: 6px; height: 1.4px; border-radius: 1px; background: currentColor; opacity: .45;
}
@media (min-width: 901px) {
  .kep__tabs { overflow: visible; }
}
@media (max-width: 900px) {
  .kep-dd__panel { display: none; }
}

/* 窄屏 tab 栏横向滚动：右边缘做渐隐，避免被硬裁一刀 */
@media (max-width: 900px) {
  .kep__tabs,
  .ftabs {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
  }
}

/* 容器内宽 <1192px 时同排放不下 7 个病种：全部科普回到描述行右侧，tab 落到下方一行 */
@media (max-width: 1279px) {
  /* 特异性抬高，避免 720 断点的 .sec-head { gap:14px } 把行间距撑开 */
  .sec-head.sec-head--kep {
    align-items: center;
    row-gap: 0;
    column-gap: 24px;
    grid-template-areas:
      "title more"
      "desc  more"
      "tabs  tabs";
  }
  .sec-head--kep .kep__tabs { justify-self: start; margin-top: 10px; }
  .sec-head--kep .sec-more { justify-self: end; align-self: end; }
}

/* 案例中心、视频专栏的筛选栏在侧栏布局里更窄：允许换行，避免右侧分类被裁掉 */
.ftabs { flex-wrap: wrap; }
@media (max-width: 900px) {
  .ftabs { flex-wrap: nowrap; }
}

/* 筛选计数：跟 tab 栏同行右侧 */
.ftabs__meta {
  margin: -22px 0 26px; font-size: 13.5px; color: var(--text-mute);
}
.ftabs__meta b { color: var(--brand); font-weight: 600; }

/* 二级疾病筛选行：视频专栏点科室 tab 后由 JS 动态生成（#dtabs），
   小一号的胶囊标签，与科室 tab 行拉开层级；选中实心品牌蓝。
   .ftabs__meta 的 margin-top:-22px 是贴着科室 tab 行设计的，
   疾病行插在中间时用自己的 margin-bottom 补回视觉间距 */
.dtabs[hidden] { display: none; }
/* PbootCMS 模板：每个科室的疾病集合由服务端渲染进 .dtabs__set，
   display:contents 让集合内的标签直接参与 .dtabs 的 flex 排版 */
.dtabs__set { display: contents; }
.dtabs__set[hidden] { display: none; }
.dtabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: -8px 0 36px;
}
.dtab {
  appearance: none; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 13.5px; line-height: 1;
  padding: 8px 16px; border-radius: 999px;
  color: var(--text-sub); cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dtab:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.dtab.is-active {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.dtab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 空态：某分类暂无内容时的占位提示 */
.ftabs-empty[hidden] { display: none; }
.ftabs-empty {
  padding: 46px 20px; text-align: center;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--text-mute); font-size: 14px; line-height: 1.8;
}
.ftabs-empty b { display: block; margin-bottom: 6px; font-size: 15.5px; color: var(--text-sub); }

/* 科普区分块：特色卡 / 头条卡 / 文字列表
   三块共用同一批 .kep-item 节点，切 tab 时由 JS 在三个槽位之间搬运 */
.kep-blocks {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.kep-blocks .kep-col {
  display: flex; flex-direction: column; gap: 20px; min-width: 0;
}
.kep-blocks .kep-col .kep-list { flex: 1 1 auto; }
.kep-pool { display: none; }
.kep-item[hidden] { display: none; }
.kep-lead[hidden], .kep-list[hidden] { display: none; }

/* 分栏：每个二级栏目一整块（.kep-blocks.kep-pane），只显示当前选中的那块。
   PbootCMS 端每个 pane 各自一套 feature/lead/list 槽位 + 一个隐藏的 .kep-pool，
   卡片由 main.js 按 01、02… 分发，版式与本地静态版完全一致。 */
.kep-blocks.kep-pane { display: none; }
.kep-blocks.kep-pane.is-active { display: grid; }
/* 该栏目没有文章时，槽位整个收起，只留一条居中提示 */
.kep-blocks.kep-pane.is-empty > *:not(.kep-empty) { display: none; }
.kep-empty {
  grid-column: 1 / -1; margin: 0; padding: 40px 20px; text-align: center;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--text-mute); font-size: 14px;
}

.kep-item {
  position: relative; display: block; color: inherit;
  background: #fff;
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.kep-item__media { display: none; }
/* 分隔线只在特色卡里出现；其余形态必须显式 display:none，否则会被 grid 自动放置毁版 */
.kep-item__rule { display: none; }
.kep-item__no, .kep-item__date { font-variant-numeric: tabular-nums; }

/* ① 特色卡：上配图、下品牌蓝文字块，左列大号序号与日期
   卡片整体铺品牌蓝，图片压在上半部分，图片下方露出底色 —— 高度差由图片吸收 */
.kep-feature .kep-item {
  display: grid; height: 100%;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-rows: minmax(250px, 1fr) auto auto auto;
  grid-template-areas:
    "media media"
    "no    title"
    "no    rule"
    "date  desc";
  align-content: start;
  column-gap: 14px;
  background: var(--brand-dark);
}
.kep-feature .kep-item__media {
  grid-area: media; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover;
}
.kep-feature .kep-item__no {
  grid-area: no; align-self: start; padding: 14px 0 0 26px;
  font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff;
}
.kep-feature .kep-item__date {
  grid-area: date; align-self: start; padding: 12px 0 0 26px;
  font-size: 12.5px; white-space: nowrap; color: rgba(255, 255, 255, .66);
}
.kep-feature .kep-item__tag { display: none; }
.kep-feature .kep-item__title {
  grid-area: title; align-self: start; margin: 20px 26px 0 0;
  font-size: 19px; font-weight: 600; line-height: 1.5; color: #fff;
}
/* 标题与描述之间的一条白色分隔线：与上方标题、下方描述同一左起点
   （只占第二列，跟随列宽走，不再横跨整卡） */
.kep-feature .kep-item__rule {
  grid-area: rule; display: block; height: 1px; margin: 10px 26px 0 0;
  background: rgba(255, 255, 255, .55);
}
.kep-feature .kep-item__desc {
  grid-area: desc; margin: 14px 26px 22px 0;
  font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .8);
}
.kep-feature .kep-item__more { display: none; }

/* ② 头条卡：标题 + 描述，右上大号序号与日期；科室标签落在描述下方，与右下箭头同一行 */
.kep-lead .kep-item {
  display: grid; height: 100%; padding: 26px 26px 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start; gap: 0 20px;
  grid-template-areas:
    "title no"
    "desc  date"
    "tag   more";
}
.kep-lead .kep-item__tag {
  grid-area: tag; align-self: center; justify-self: start;
  margin-top: 16px; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand); font-size: 12px; line-height: 1.4;
}
.kep-lead .kep-item__title {
  grid-area: title; margin-top: 14px;
  font-size: 19px; font-weight: 600; line-height: 1.55; transition: color .22s ease;
}
.kep-lead .kep-item__desc {
  grid-area: desc; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 13.5px; line-height: 1.85; color: var(--text-sub);
}
.kep-lead .kep-item__no {
  grid-area: no; text-align: right; font-size: 44px; font-weight: 800;
  line-height: 1; letter-spacing: -.04em; color: var(--text);
}
.kep-lead .kep-item__date {
  grid-area: date; align-self: start; padding-top: 6px;
  font-size: 12.5px; color: var(--text-mute); text-align: right;
}
/* 箭头与左侧标签同一水平线：align-self:center 居中算的是 margin box，
   所以两边必须带同样大小的 margin-top，否则标签会被自己的上外边距单独压低 */
.kep-lead .kep-item__more {
  grid-area: more; align-self: center; justify-self: end;
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0; color: var(--text-mute); transition: color .22s ease;
}
.kep-lead .kep-item__media { display: none; }

/* ③ 文字列表：标题 ……… 日期，行间细分隔线 */
.kep-list {
  display: flex; flex-direction: column; min-height: 0;
  padding: 6px 24px;
  background: #fff; border-radius: var(--radius);
}
.kep-list .kep-item {
  flex: 0 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 14px 0;
  background: none; border: 0; border-bottom: 1px solid var(--line-soft);
  border-radius: 0; overflow: visible;
}
.kep-list .kep-item:last-child { border-bottom: 0; }
.kep-list .kep-item__title {
  font-size: 15px; font-weight: 500; line-height: 1.6; transition: color .22s ease;
}
.kep-list .kep-item__date { font-size: 12.5px; color: var(--text-mute); white-space: nowrap; }
.kep-list .kep-item__media,
.kep-list .kep-item__no,
.kep-list .kep-item__tag,
.kep-list .kep-item__desc,
.kep-list .kep-item__more { display: none; }
.kep-list .kep-item:hover { transform: none; box-shadow: none; }

/* 标题/描述按槽位截断：服务端不截字，由 CSS 按各自宽度收
   —— 大图卡/头条最多两行，列表行单行省略号，一份数据三处长度自动合适 */
.kep-feature .kep-item__title,
.kep-lead .kep-item__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kep-feature .kep-item__desc,
.kep-lead .kep-item__desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kep-list .kep-item__title {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* hover：两块大卡轻微上浮，标题染色 */
.kep-feature .kep-item:hover,
.kep-lead .kep-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kep-lead .kep-item:hover .kep-item__title { color: var(--brand); }
.kep-lead .kep-item:hover .kep-item__more { color: var(--brand); }
.kep-list .kep-item:hover .kep-item__title { color: var(--brand); }
.kep-list .kep-item:hover .kep-item__more { color: var(--brand); }

/* 切换 tab 后即时可见，不依赖 0.7s 的入场过渡（否则会先白一下）。
   .filter-on 是通用写法，供案例中心、视频专栏共用 */
.reveal.filter-on { opacity: 1; transform: none; transition: transform .3s ease, box-shadow .3s ease; }

/* ---------- 健康科普 / 筛选栏 · 响应式 ---------- */
@media (max-width: 1100px) {
  /* 科普三块：窄屏收成单列，特色卡图片改用固定行高，避免 1fr 无参照时被拉爆 */
  .kep-blocks { grid-template-columns: minmax(0, 1fr); }
  .kep-feature .kep-item { grid-template-rows: 280px auto auto auto; height: auto; }
}
@media (max-width: 720px) {
  /* 手机端标题区：描述（含末尾链接）与 tab 各占整行 */
  .sec-head.sec-head--kep {
    grid-template-areas:
      "title title"
      "desc  desc"
      "tabs  tabs";
  }
  .sec-head.sec-head--kep .kep__tabs { margin-top: 12px; }
  /* 科普三块：手机端收紧内边距与序号 */
  .kep-feature .kep-item {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: 190px auto auto auto;
  }
  .kep-feature .kep-item__no { padding-left: 16px; font-size: 32px; }
  .kep-feature .kep-item__date { padding-left: 16px; font-size: 11.5px; }
  .kep-feature .kep-item__rule { margin: 8px 20px 0 0; }
  .kep-feature .kep-item__tag,
  .kep-feature .kep-item__title,
  .kep-feature .kep-item__desc { margin-right: 20px; }
  .kep-feature .kep-item__title { font-size: 17px; }
  .kep-feature .kep-item__desc { margin-bottom: 18px; }
  .kep-lead .kep-item { padding: 20px 20px 22px; }
  .kep-lead .kep-item__title { font-size: 17px; }
  .kep-lead .kep-item__no { font-size: 34px; }
  .kep-list { padding: 4px 18px; }
  .kep-list .kep-item { padding: 13px 0; gap: 12px; }
  .kep-list .kep-item__title {
    font-size: 14.5px;
    /* 手机端标题只占一行，超出部分省略号，避免与右侧日期挤成两行 */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}

/* ==========================================================================
   就诊流程
   ========================================================================== */
/* 列数跟着卡片数走：别再写死 repeat(5)，4 张卡的页面（如住院指南·出院流程）会空出第 5 列 */
.flow__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; position: relative; }
.flow-step { position: relative; padding: 28px 20px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flow-step__no {
  font-size: 38px; font-weight: 800; line-height: 1;
  color: var(--brand-light); letter-spacing: -.03em; margin-bottom: 12px;
}
.flow-step h3, .flow-step h4 { font-size: 17px; }
.flow-step p { margin-top: 9px; font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%;
  width: 10px; height: 10px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand);
  transform: translateY(-50%) rotate(45deg); opacity: .5;
}

/* ---------- 就诊流程 / 公益承诺 · 响应式 ---------- */
@media (max-width: 1100px) {
  /* 五步：1100 以下继续保持一行五卡，只收紧字号与内边距，避免换行 */
  .flow__grid { grid-auto-columns: minmax(0, 1fr); gap: 12px; }
  .flow-step { padding: 22px 14px; }
  .flow-step__no { font-size: 30px; margin-bottom: 10px; }
  .flow-step h3, .flow-step h4 { font-size: 15.5px; }
  .flow-step p { font-size: 12.5px; }
  .flow-step:not(:last-child)::after { display: none; }
  .promise { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
}
/* 平板竖屏：五卡挤一行会碎成 8 字/行，退到两列；第 5 张通栏，避免右下留空洞 */
@media (max-width: 900px) {
  .flow__grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .flow__grid > .flow-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .flow-step { padding: 24px 18px; }
  .flow-step__no { font-size: 34px; margin-bottom: 11px; }
  .flow-step h3, .flow-step h4 { font-size: 16.5px; }
  .flow-step p { font-size: 13px; }
}
@media (max-width: 720px) {
  .flow__grid { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; }
  /* 就诊流程：手机端只保留「非营利性医疗机构」公益卡，标题与四步卡片收起 */
  .flow-sec .sec-head, .flow-sec .flow__grid { display: none; }
  .flow-sec .promise--flow { margin-top: 0; }
}

/* ==========================================================================
   大纪事 · 发展历程（起伏年代轴 + LED 走字式连续滚动）
   内容是**一直缓慢向左流动**的，像 LED 走字，不是点一下跳一格：
   位移由 JS 每帧写 transform，容器只负责裁切；8 格内容复制一份接在后面，
   走过一份宽度就整体减回来，接缝无感。右上角箭头仍可点，平滑滑一格。
   奇偶格上下错开 --mile-shift，图片/年份/节点/文字整体跟着曲线走。
   曲线是「每格自带一段 S」，段的两端正好落在本格与下一格的节点中心。
   ========================================================================== */
/* 箭头在标题右上角：跟标题同一行、靠右对齐。压在照片上的那版已废弃。 */
.mile__carousel { position: relative; }
.mile__navs {
  display: flex;
  gap: 10px;
  align-self: flex-start;   /* 抵消 .sec-head 的 align-items:flex-end，贴到标题那行 */
  margin-top: 4px;
  flex: none;
}
.mile__nav {
  width: 40px; height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand);
  box-shadow: 0 4px 14px rgba(15, 61, 122, .13);
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.mile__nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-1px); }
.mile__nav:disabled,
.mile__nav:disabled:hover {
  background: #f4f8fd;
  border-color: #d3ddeb;
  color: #a7b6c9;
  box-shadow: none;
  transform: none;
  cursor: default;
}
.mile__nav:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* LED 走字式滚动：容器只负责裁，位移全交给 .mile__list 的 transform（JS 每帧推进）。
   这里刻意不用 overflow-x:auto —— 原生横向滚动只能"一次一格吸附"，做不出匀速流动。 */
.mile__viewport {
  --mile-gap: 20px;
  --mile-shift: 48px;              /* 与曲线 path 的 48px 落差是同一个值，改要一起改 */
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;             /* 横向手势留给拖动，纵向仍归页面滚动 */
}
.mile__viewport.is-drag { cursor: grabbing; }

.mile__list {
  display: flex;
  width: max-content;              /* 不能被容器宽度框住，否则格宽百分比算错 */
  gap: 0 var(--mile-gap);
  margin: 0; padding: 0;
  list-style: none;
  will-change: transform;          /* 整条一起走位，交给合成层，不逐帧重排 */
  backface-visibility: hidden;
}

/* 格宽由 JS 量出来写进 --mile-w：一屏 4 格（>1080）/ 3 格（>620）/ 58% 手机。
   为什么不用 flex-basis 百分比：list 是 max-content，百分比会形成循环依赖。 */
.mile__item {
  flex: 0 0 var(--mile-w, 300px);
  display: flex; flex-direction: column;
  padding-top: 2px;
  text-align: center;
}
/* 偶数格整体下沉：图片、年份、节点、文字一起跟着曲线落到波谷 */
.mile__item:nth-child(even) { margin-top: var(--mile-shift); }

/* 入场动画挂在 .mile__carousel 上，不挂在每一格：
   每格自己在 overflow:hidden 的容器里做 translateY 会被裁掉末行文字，
   所以早先只能退化成「8 格一起淡入」，等于看不出动画。
   放到外层就跟其它板块一样：整条轴上移 24px + 淡入，由通用 .reveal 规则负责。 */

/* 循环无首尾，曲线段全部显示；克隆项与原件奇偶一致（8 格是偶数），接缝处上下不会错位 */

.mile__thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}
.mile__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  -webkit-user-drag: none;   /* 否则按住拖动时浏览器会拖出图片幽灵，抢掉走字拖拽 */
  transition: transform .45s ease;
}
.mile__item:hover .mile__thumb img { transform: scale(1.05); }

.mile__year {
  margin-top: 13px;
  font-size: 21px; font-weight: 800; line-height: 1; letter-spacing: -.01em;
  color: var(--brand-deep); font-variant-numeric: tabular-nums;
}

/* 轴区只占 14px，曲线 SVG 上下各溢出一点去够邻格，overflow 不裁 */
.mile__axis {
  position: relative;
  display: block;
  height: 14px;
  margin: 8px 0;
}
.mile__seg {
  position: absolute;
  top: -45px; left: 50%;
  width: calc(100% + var(--mile-gap));   /* 从本格中心伸到下一格中心 */
  height: 104px;
  overflow: visible;
  pointer-events: none;
}
.mile__seg path {
  display: none;
  fill: none;
  stroke: #b3cdf1;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* 奇格往下一格是「往下走」，偶格是「往上走」 */
.mile__item:nth-child(odd) .mile__seg--dn { display: block; }
.mile__item:nth-child(even) .mile__seg--up { display: block; }
/* 循环滚动没有“轴尾”，末格的段不隐藏：它在列表右侧被 overflow 裁掉，看不见也不会断线 */

.mile__dot {
  position: absolute;
  top: 0; left: 50%;
  width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  transition: background .25s ease, box-shadow .25s ease;
}
.mile__item:hover .mile__dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(47, 125, 232, .14); }

.mile__t {
  display: block;
  font-size: 13.8px; line-height: 1.65; font-weight: 500;
  color: var(--text-sub);
  transition: color .22s ease;
}
.mile__item:hover .mile__t { color: var(--brand-dark); }

.mile__note {
  margin-top: 22px; text-align: center;
  font-size: 12.8px; color: var(--text-mute);
}

/* 一屏格数（4 / 3 / 58%）由 JS 按断点写进 --mile-w，这里不要再写 flex-basis，
   否则会盖掉变量、和量出来的偏移对不上。 */

/* 手机：一屏 1.7 格，手指可拖；箭头保留但缩小，靠右下不挤标题 */
@media (max-width: 620px) {
  .mile__year { font-size: 19px; }
  .mile__t { font-size: 13.2px; }
  .mile__note { margin-top: 24px; }
  .mile__nav { width: 34px; height: 34px; }
}

/* ---------- 大纪事 · 响应式 ---------- */
@media (max-width: 720px) {
  /* 竖排后箭头不再有「右上角」可用，靠右下贴着描述排 */
  .mile__navs { align-self: flex-end; margin-top: 0; }
}

/* ==========================================================================
   荣誉资质 · 铜牌墙
   ========================================================================== */
.honor { position: relative; overflow: hidden; }
.honor .container { position: relative; }

.medal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* 铜牌：牌面是图片，样式不再画牌（换牌只替换 assets/img/medal-01 ~ 08.webp）。
   图片自己决定比例，容器只做圆角裁切与悬停上浮 */
.medal {
  position: relative; border-radius: 10px; overflow: hidden;
  background: #b8812f;                 /* 图片未加载时先垫铜色，不闪白 */
  aspect-ratio: 3 / 2;                 /* 牌面比例 6:4（横版）：图片没到也不会被 alt 文字撑高、避免页面跳动 */
  box-shadow: 0 14px 28px rgba(0, 0, 0, .34);
  transition: transform .35s ease, box-shadow .35s ease;
}
.medal__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.medal:hover { transform: translateY(-6px); }

.honor__note { margin-top: 32px; text-align: center; font-size: 13.5px; color: var(--text-mute); }

/* ---------- 荣誉资质 · 响应式 ---------- */
@media (max-width: 1100px) {
  .medal__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-body .medal__grid .medal { --medal-per: 1.4; --medal-gaps: 1; }
  /* 荣誉牌：横向滑动，一屏露出 2 个整牌 + 第 3 个的十分之一，提示还能往右滑
     两牌 + 两个间距 + 0.1 牌 = 容器宽 → 牌宽 = (100% − 2×间距) / 2.1 */
  .medal__grid {
    --medal-gap: 12px;
    display: flex; gap: var(--medal-gap);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .medal__grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
  /* 一屏放 --medal-per 个牌（2.1 = 2 个整牌 + 第 3 个露出 1/10）；改 1.4 就是 1 个整牌 + 露 1/3。
     牌面是图片，牌越小图里的字越小，若日后觉得手机端字糊，调小这个数即可 */
  .medal {
    --medal-per: 2.1;      /* 一屏几个牌 */
    --medal-gaps: 2;       /* 整牌之间的间距个数 = floor(--medal-per) */
    flex: 0 0 calc((100% - var(--medal-gap) * var(--medal-gaps)) / var(--medal-per));
    scroll-snap-align: start;
  }
  /* 横滑区里的奖牌不走入场动画：横向排在视口外的牌子达不到 12% 可见阈值，
     会一直停在 opacity:0，看起来就是「第三块露出的那一小块不见了」 */
  .medal__grid .reveal { opacity: 1; transform: none; transition: none; }
  /* 手机端铜牌不上浮、不带投影：横滑区只有 12px 缝，两侧阴影会在缝里叠成一条灰带 */
  .medal,
  .medal:hover { transform: none; box-shadow: none; }
  .honor__note { margin-top: 20px; }
}

/* ==========================================================================
   医生口播视频
   ========================================================================== */
.talk__wrap { display: grid; grid-template-columns: 1.62fr 1fr; gap: 26px; align-items: stretch; }

.talk__player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #0d1b2e; box-shadow: var(--shadow-lg);
}
.talk__video { width: 100%; height: 100%; object-fit: cover; display: block; }

.talk__cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  cursor: pointer; transition: opacity .3s ease;
  background: linear-gradient(180deg, rgba(9, 24, 44, .34) 0%, rgba(9, 24, 44, .06) 38%, rgba(9, 24, 44, .62) 100%);
}
.talk__cover.is-hidden { opacity: 0; pointer-events: none; }

.talk__play {
  width: 78px; height: 78px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .96); color: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34);
  transition: transform .28s ease, box-shadow .28s ease;
}
.talk__cover:hover .talk__play { transform: scale(1.08); box-shadow: 0 16px 40px rgba(0, 0, 0, .42); }
.talk__play svg { margin-left: 4px; }

.talk__hint { font-size: 13.5px; color: rgba(255, 255, 255, .92); letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

.talk__badge,
.talk__dur {
  position: absolute; top: 16px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #fff; backdrop-filter: blur(6px);
}
.talk__badge { left: 16px; background: rgba(47, 125, 232, .92); }
.talk__dur { right: 16px; background: rgba(13, 27, 46, .62); border: 1px solid rgba(255, 255, 255, .22); }

.talk__notice {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(13, 27, 46, .78); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92); font-size: 13px;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.talk__notice.is-show { opacity: 1; }

.talk__info { margin-top: 22px; }
.talk__title { font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: .01em; }
.talk__sub { margin-top: 10px; font-size: 14px; color: var(--text-sub); }

.talk__list {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow-sm);
  /* 作为 grid item 拉满整行高度（行高由左侧播放器决定），
     自身不设定值，靠 flex 把剩余空间分给列表体 */
  display: flex; flex-direction: column;
}
/* 不写 max-height：靠 height:0 + flex:1 让列表体的高度由布局算出（= 卡片高度 − 头部 − 底部链接），
   内容超出即出现滚动条，超出多少就滚多少，不再硬截断在某个像素值 */
.talk__list-body {
  flex: 1 1 0; height: 0; min-height: 0;
  overflow-y: auto; padding-right: 6px;
  overscroll-behavior: contain;
}
@supports not selector(::-webkit-scrollbar) {
  .talk__list-body { scrollbar-width: thin; scrollbar-color: #b9d3f5 transparent; }
}
.talk__list-body::-webkit-scrollbar { width: 6px; }
.talk__list-body::-webkit-scrollbar-track { background: transparent; }
.talk__list-body::-webkit-scrollbar-thumb { background: #c3d8f4; border-radius: 999px; }
.talk__list-body::-webkit-scrollbar-thumb:hover { background: #9fc1ef; }

.talk__list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 6px 12px; font-size: 15px; font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
}
.talk__list-head span { font-size: 12.5px; font-weight: 400; color: var(--text-mute); }

.talk-item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px; border: none; background: none; border-radius: var(--radius-sm);
  cursor: pointer; text-align: left; font-family: inherit;
  transition: background .22s ease;
}
.talk-item:hover { background: var(--brand-tint); }
.talk-item.is-active { background: var(--brand-light); }

.talk-item__thumb {
  position: relative; flex-shrink: 0; width: 92px; height: 56px;
  border-radius: 6px; overflow: hidden; background: var(--brand-tint);
}
.talk-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.talk-item__thumb i {
  position: absolute; right: 4px; bottom: 4px; padding: 1px 5px; border-radius: 3px;
  background: rgba(13, 27, 46, .78); color: #fff; font-size: 10.5px; font-style: normal;
}
.talk-item__text { min-width: 0; }
.talk-item__text b {
  display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.talk-item__text em {
  display: block; margin-top: 5px; font-size: 12.5px; font-style: normal; color: var(--text-mute);
}
.talk-item.is-active .talk-item__text b { color: var(--brand-dark); }

.talk__more {
  display: block; margin-top: 8px; padding: 12px 6px 2px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--brand);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 医生口播视频 · 响应式 ---------- */
@media (max-width: 1100px) {
  .talk__wrap { grid-template-columns: minmax(0, 1fr); }
  /* 单列后上下堆叠，列表不再需要内滚动（否则 height:0 会把列表压没） */
  .talk__list-body { flex: 0 0 auto; height: auto; overflow: visible; }
}
@media (max-width: 720px) {
  .talk__title { font-size: 19px; }
  .talk__play { width: 62px; height: 62px; }
  .talk-item__thumb { width: 78px; height: 48px; }
}

/* ==========================================================================
   技术展示
   ========================================================================== */
.tech__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: tech;
}
.tech-card {
  position: relative; padding: 30px 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tech-card:hover {
  transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg);
}
.tech-card__no {
  position: absolute; top: 20px; right: 24px;
  font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--brand); opacity: .13; letter-spacing: -.02em;
}
.tech-card__icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; box-shadow: 0 8px 18px rgba(47, 125, 232, .26);
}
.tech-card__title { margin-top: 20px; font-size: 18.5px; font-weight: 700; letter-spacing: .01em; }
.tech-card__desc { margin-top: 10px; font-size: 14px; line-height: 1.75; color: var(--text-sub); }
.tech-card__list { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.tech-card__desc { margin-bottom: 18px; }
.tech-card__list li {
  position: relative; padding-left: 22px; margin-top: 9px;
  font-size: 13.5px; color: var(--text-sub); line-height: 1.6;
}
.tech-card__list li:first-child { margin-top: 0; }
.tech-card__list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.tech__strip {
  margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.tech__strip-item {
  padding: 0 0 16px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tech__strip-item:hover { transform: translateY(-4px); border-color: #cfe1f8; box-shadow: var(--shadow-sm); }
.tech__strip-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eff8; }
.tech__strip-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.tech__strip-item:hover .tech__strip-pic img { transform: scale(1.05); }
.tech__strip-item b { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--text); }
.tech__strip-spec { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-mute); }

/* ---------- 技术展示 · 响应式 ---------- */
@media (max-width: 1100px) {
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .tech__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  /* 技术实力：手机端一行 4 个，只留图标与标题（编号/描述/清单全部收起） */
  .tech-card { padding: 12px 4px; border-radius: 12px; text-align: center; align-items: center; }
  .tech-card__no, .tech-card__desc, .tech-card__list { display: none; }
  .tech-card__icon { width: 34px; height: 34px; border-radius: 10px; margin: 0 auto 8px; }
  .tech-card__icon svg { width: 18px; height: 18px; }
  .tech-card__title { margin-top: 0; font-size: 12.5px; line-height: 1.25; letter-spacing: 0; }
  /* 超窄屏（320 级）：字号再收一档，减少标题折行 */
  @media (max-width: 359px) {
    .tech-card { padding: 10px 2px; }
    .tech-card__title { font-size: 11px; }
  }
  /* 设备展示：与荣誉铜牌同一套横滑样式——一屏 2 个整卡 + 第 3 个露 1/10 提示可滑 */
  .tech__strip {
    --medal-gap: 12px;
    margin-top: 20px;
    display: flex; gap: var(--medal-gap);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding: 4px 0 10px;              /* 给投影留出空间，避免被滚动容器裁掉 */
    scrollbar-width: none;
  }
  /* ⚠ 下面两条 grid 规则写在 display:flex 之后不会生效（布局已被 flex 接管），
     原文件即如此，整理时原样保留；若想让「单卡居中」生效需另配 display 切换 */
  .tech__strip {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-content: start;
  }
  .tech__strip:has(> .tech__strip-item:only-child) {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }
  .tech__strip::-webkit-scrollbar { display: none; }
  .tech__strip-item {
    flex: 0 0 calc((100% - var(--medal-gap) * 2) / 2.1);
    scroll-snap-align: start;
    padding: 0 0 12px;
    border: 0; border-radius: 10px;
    box-shadow: none;                 /* 不要卡后那层投影/灰底，卡片直接坐在版块底色上 */
  }
  .tech__strip-pic { border-radius: 0; }
  .tech__strip-item b { margin-top: 10px; font-size: 13.5px; }
  .tech__strip-spec { margin-top: 4px; font-size: 11.5px; }
  /* 手机端这条是横向滚动条（display:flex），单图时让它占满一屏，不再只露半张 */
  .tech__strip:has(> .tech__strip-item:only-child) .tech__strip-item { flex: 0 0 100%; }
}

/* ==========================================================================
   案例展示
   ========================================================================== */
/* 案例：与专家团队一致，横向轨道 + 左右箭头 */
.case__carousel { position: relative; }
.case__viewport { overflow: hidden; }
.case__grid {
  display: flex; gap: 20px; align-items: stretch;
  padding: 6px 0 8px;
  overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.case__grid::-webkit-scrollbar { display: none; }
.case__grid .case-card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }

.case-card {
  position: relative; background: #fff; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: transparent; box-shadow: var(--shadow-lg);
}

/* 卡片顶部：康复记录视频封面 */
.case-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: none; cursor: pointer; overflow: hidden;
  background: #0d1b2e; font-family: inherit;
}
/* 绝对定位铺满 media 区：尺寸完全由 16:9 容器决定，不依赖图片固有尺寸，
   避免缺 width/height 属性时布局先塌陷、长图截屏时光栅化滞后 */
.case-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(6, 15, 28, .88) 0%, rgba(6, 15, 28, .64) 12%, rgba(6, 15, 28, 0) 36%),
    linear-gradient(180deg, rgba(9, 24, 44, .44) 0%, rgba(9, 24, 44, .04) 42%, rgba(9, 24, 44, .12) 100%);
}

.case-card__play {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .96); color: var(--brand);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
  transition: transform .28s ease, box-shadow .28s ease;
}
.case-card__play svg { margin-left: 3px; }
.case-card:hover .case-card__play { transform: scale(1.09); box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }

.case-card__vtag,
.case-card__vdur {
  position: absolute; z-index: 2; top: 12px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: #fff; letter-spacing: .03em;
}
.case-card__vtag { left: 12px; background: rgba(47, 125, 232, .94); }
.case-card__vdur {
  right: 12px; background: rgba(13, 27, 46, .6);
  border: 1px solid rgba(255, 255, 255, .24);
}
.case-card__vcap {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px;
  font-size: 12.5px; color: #fff; text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 10px rgba(0, 0, 0, .55);
}

.case-card__body {
  padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1;
  border-top: 3px solid var(--brand);
}
.case-card__top { display: flex; align-items: center; gap: 10px; }
.case-card__no {
  padding: 4px 10px; border-radius: 4px; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
}
.case-card__dept { font-size: 12.5px; color: var(--text-mute); letter-spacing: .04em; }
.case-card__title {
  margin-top: 14px; font-size: 17px; font-weight: 700; line-height: 1.55; letter-spacing: .01em;
}
.case-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
  font-size: 13px; color: var(--text-sub);
}
.case-card__meta span { position: relative; }
.case-card__meta span + span::before {
  content: ""; position: absolute; left: -8px; top: 50%;
  width: 1px; height: 11px; margin-top: -5.5px; background: var(--line);
}

.case-timeline { margin-top: 20px; }
.case-timeline li {
  position: relative; padding-left: 22px; padding-bottom: 18px;
  border-left: 1px solid var(--line);
}
.case-timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.case-timeline li::before {
  content: ""; position: absolute; left: -5px; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2.5px var(--brand);
}
.case-timeline__label {
  font-size: 13px; font-weight: 700; color: var(--brand-dark); letter-spacing: .04em;
}
.case-timeline p { margin-top: 6px; font-size: 12.8px; line-height: 1.72; color: var(--text-sub); }

.case-card__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--text-mute);
}
.case-card__foot svg { flex-shrink: 0; color: var(--brand); }

.case__note {
  padding: 16px 20px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.8; color: var(--text-mute);
}

/* ---------- 案例视频弹层 ---------- */
.vmodal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.vmodal.is-open { opacity: 1; visibility: visible; }
.vmodal__mask {
  position: absolute; inset: 0; background: rgba(6, 15, 28, .78);
  backdrop-filter: blur(6px);
}
.vmodal__box {
  position: relative; width: 100%; max-width: 880px;
  background: #101c2e; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: translateY(18px) scale(.98);
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
}
.vmodal.is-open .vmodal__box { transform: none; }

.vmodal__close {
  position: absolute; z-index: 3; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(13, 27, 46, .62); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .22s ease;
}
.vmodal__close:hover { background: rgba(47, 125, 232, .9); }

.vmodal__stage { position: relative; aspect-ratio: 16 / 9; background: #060d18; }
.vmodal__stage video { width: 100%; height: 100%; display: block; object-fit: cover; background: #060d18; }

.vmodal__notice {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 56px); max-width: 460px; text-align: center;
  padding: 22px 24px; border-radius: var(--radius);
  background: rgba(13, 27, 46, .86); border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .9); font-size: 13.5px; line-height: 1.8;
  display: none;
}
.vmodal__notice.is-show { display: block; }
.vmodal__notice b { display: block; margin-bottom: 8px; font-size: 15px; color: #fff; }

.vmodal__meta { padding: 20px 26px 24px; }
.vmodal__meta h3 { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.vmodal__meta p { margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.vmodal__meta span {
  display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(47, 125, 232, .22); color: #8fc0ff;
  font-size: 11.5px; font-weight: 600;
}

/* ---------- 案例展示 / 视频弹层 · 响应式 ---------- */
@media (max-width: 1100px) {
  .case__grid .case-card { flex: 0 0 calc((100% - 20px) / 2); }
  .case__nav--prev { left: -14px; }
  .case__nav--next { right: -14px; }
}
@media (max-width: 720px) {
  /* 移动端卡片占满宽度，箭头会压住正文：改为手势滑动，卡片略窄露出下一张 */
  .case__grid { gap: 14px; }
  .case__grid .case-card { flex: 0 0 82%; }
  .case__nav { display: none; }
  .case-card { padding: 0; }
  .case-card__body { padding: 20px 18px; }
  .case-card__title { font-size: 17.5px; }
  .case-card__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .vmodal { padding: 14px; }
  .vmodal__meta { padding: 16px 18px 20px; }
  .vmodal__meta h3 { font-size: 16.5px; }
}

/* ==========================================================================
   机构信息表（GEO：可被机器解析的结构化事实）
   ========================================================================== */
.facts {
  margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.facts__item { background: #fff; padding: 18px 22px; margin: 0; }
.facts dt {
  font-size: 12.5px; color: var(--text-mute);
  letter-spacing: .04em; line-height: 1.5;
}
.facts dd {
  margin: 6px 0 0; font-size: 15.5px; font-weight: 600;
  color: var(--text); line-height: 1.5;
}

/* ---------- 机构信息表 · 响应式 ---------- */
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .facts { margin-top: 20px; }
  .blk .facts { grid-template-columns: minmax(0, 1fr); }
  .facts__item { padding: 14px 16px; }
  .facts dt { font-size: 11.5px; }
  .facts dd { margin-top: 4px; font-size: 14px; }
}

/* ==========================================================================
   常见问题（SEO/GEO：FAQ 结构化问答）
   ========================================================================== */
.faq {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; align-items: start;
}
.faq__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0 22px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item:hover { border-color: rgba(47, 125, 232, .3); }
.faq__item[open] {
  border-color: rgba(47, 125, 232, .34);
  box-shadow: 0 6px 20px rgba(15, 61, 122, .07);
}
.faq__item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 11px;
  padding: 18px 0; margin: 0;
  font-size: 15.5px; font-weight: 600; color: var(--text); line-height: 1.6;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::marker { content: ""; }
.faq__item > summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px;
}
.faq__mark {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 6px;
  background: var(--brand-light); color: var(--brand);
  font-size: 12px; font-weight: 700;
}
.faq__arrow {
  flex-shrink: 0; margin-left: auto; margin-top: 3px;
  color: var(--text-mute); transition: transform .3s ease, color .3s ease;
}
.faq__item[open] .faq__arrow { transform: rotate(45deg); color: var(--brand); }
.faq__a {
  margin: 0; padding: 0 0 20px 33px;
  font-size: 14.5px; line-height: 1.85; color: var(--text-sub);
}
.faq__a a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* 首页常见问题：一行 4 个、默认展开，4 列 × 2 行（共 8 条） */
.faq--4col { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.faq--4col .faq__item { display: flex; flex-direction: column; padding: 0 20px; }
.faq--4col .faq__item > summary { padding: 16px 0 12px; font-size: 15px; gap: 9px; }
.faq--4col .faq__mark { width: 20px; height: 20px; font-size: 11px; }
.faq--4col .faq__arrow { margin-top: 2px; }
.faq--4col .faq__a { flex: 1 1 auto; padding: 0 0 18px 29px; font-size: 13.8px; line-height: 1.8; }
/* 全部默认展开：常态下压低阴影，hover 再浮起，避免 12 张卡一起"飘" */
.faq--4col .faq__item[open] {
  border-color: rgba(47, 125, 232, .22);
  box-shadow: 0 4px 14px rgba(15, 61, 122, .05);
}
.faq--4col .faq__item[open]:hover {
  border-color: rgba(47, 125, 232, .4);
  box-shadow: 0 10px 24px rgba(15, 61, 122, .1);
}
/* 展开态把「+」收成「−」：12 个旋转 45° 的叉看起来像删除按钮 */
.faq--4col .faq__item[open] .faq__arrow { transform: none; color: var(--text-mute); }
.faq--4col .faq__item[open] .faq__arrow-v { display: none; }

/* ---------- 常见问题 · 响应式 ---------- */
@media (max-width: 1240px) {
  /* 四列变窄后正文只剩 200px 上下，退到三列 */
  .faq--4col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq--4col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  /* 常见问题：手机端与铜牌同一套横滑——一屏 1 个整卡 + 下一个露 1/10，左右滑动 */
  .faq--4col {
    --faq-gap: 12px;
    display: flex; gap: var(--faq-gap);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .faq--4col::-webkit-scrollbar { display: none; }
  .faq--4col .faq__item {
    flex: 0 0 calc((100% - var(--faq-gap)) / 1.1);   /* 1 整卡 + 0.1 露头 */
    scroll-snap-align: start;
  }
  .faq--4col .faq__a { font-size: 14.5px; }
  .faq--4col .faq__item > summary { font-size: 15.5px; }
  .faq__item { padding: 0 16px; }
  .faq__item > summary { padding: 15px 0; font-size: 14.5px; }
  .faq__a { padding: 0 0 16px; font-size: 14px; line-height: 1.8; }
}

/* ==========================================================================
   文章核心要点（GEO：可被直接摘录的摘要块）
   ========================================================================== */
.keypoints {
  margin: 0 0 34px; padding: 24px 26px 22px;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.keypoints__title {
  margin: 0 0 12px; padding: 0; border: none;
  font-size: 15px; font-weight: 700; color: var(--brand-dark);
  letter-spacing: .02em;
}
.keypoints__list { margin: 0; padding-left: 20px; }
.keypoints__list li {
  margin: 8px 0; font-size: 14.5px; line-height: 1.8; color: var(--text-sub);
}
.keypoints__list li::marker { color: var(--brand); }

/* 覆盖 .article-body 对正文 h2 / ul 的装饰，避免核心要点块被误伤 */
.article-body .keypoints__title {
  margin: 0 0 12px; padding: 0; font-size: 15px; line-height: 1.5;
}
.article-body .keypoints__title::before { display: none; }
.article-body .keypoints__list { margin: 0; padding-left: 20px; }
.article-body .keypoints__list li { padding-left: 0; margin: 8px 0; }
.article-body .keypoints__list li::before { display: none; }

/* 文章页内的 FAQ 区块：正文栏较窄，单列排布 */
.faq-block {
  margin: 44px 0 8px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.faq-block__title { margin: 0 0 20px; font-size: 22px; }
.faq-block .faq { grid-template-columns: minmax(0, 1fr); gap: 12px; }

/* ---------- 文章核心要点 · 响应式 ---------- */
@media (max-width: 720px) {
  .keypoints { padding: 18px 18px 16px; }
  .keypoints__list li { font-size: 14px; }
}

/* ==========================================================================
   404 页面
   ========================================================================== */
.err-page { padding: 100px 0 120px; text-align: center; }
.err-page__code {
  margin: 0; font-size: 128px; font-weight: 800; line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.err-page__title { margin: 20px 0 0; font-size: 28px; }
.err-page__desc {
  margin: 14px auto 0; max-width: 520px;
  font-size: 16px; line-height: 1.85; color: var(--text-sub);
}
.err-page__actions {
  margin-top: 34px; display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.err-page__help { margin-top: 38px; font-size: 14px; color: var(--text-mute); }
.err-page__help a { color: var(--brand); text-decoration: none; }
.err-page__help a:hover { text-decoration: underline; }

/* ---------- 404 页面 · 响应式 ---------- */
@media (max-width: 720px) {
  .err-page { padding: 64px 0 80px; }
  .err-page__code { font-size: 84px; }
  .err-page__title { font-size: 22px; }
  .err-page__desc { font-size: 15px; }
}

/* ==========================================================================
   公益承诺条
   ========================================================================== */
.promise {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, #3f97ea 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 54px 56px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.promise__icon { width: 76px; height: 76px; border-radius: 22px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.promise h3 { font-size: 26px; }
.promise p { margin-top: 10px; color: rgba(255, 255, 255, .85); font-size: 15.5px; }
/* 并入就诊流程区块：紧跟四步卡片下方 */
.promise--flow { margin-top: 30px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: #10192a; color: rgba(255, 255, 255, .68); margin-top: 0; }
.footer__main { padding: 68px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
/* 页脚品牌：整组居中（横排居中靠 justify-content，竖排居中靠 align-items，两种结构都成立）；
   图与院名之间用 gap 拉开距离，别再靠 margin 补 */
.footer__brand .logo { margin-bottom: 18px; justify-content: center; align-items: center; gap: 18px; }
.footer__brand .logo__text { align-items: center; text-align: center; }
/* 若页脚用的是 .footer__logo 作为容器（图在上、院名在下）：竖排 + 整组居中 + 图名间距 18px */
.footer__logo { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 18px; }
.footer__logo .logo__text { align-items: center; text-align: center; }
/* 竖排容器里图片自身也要居中：防止 img 带 margin-left / 被上一层 text-align:left 拽到左边 */
.footer__logo > img, .footer__logo .logo__mark { display: block; margin: 0 auto; }
/* ★ 全局 reset 里的 img{display:block} 会让「块级图片不吃 text-align:center」，图就永远贴左。
   这里在页脚范围内把块级图片的左右外边距补成 auto，块级也居中；
   只取直接子级 img，避免误伤 .logo 横排结构里的 .logo__mark（那样会把图文拆开）。
   justify-self / align-self 是给「父级恰好是 grid / flex」的情况兜底，普通块级布局下自动忽略。 */
.footer__brand > img, .footer__logo > img, .footer__logo img {
  display: block; margin-left: auto; margin-right: auto;
  justify-self: center; align-self: center;
  max-width: 100%; height: auto;
}
.footer__brand { text-align: center; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: rgba(255, 255, 255, .45); }
/* 页脚品牌介绍段落也居中：max-width 收住行宽，左右 auto 让块本身居中 */
.footer__brand p { font-size: 14px; line-height: 1.85; max-width: 300px; margin-left: auto; margin-right: auto; text-align: center; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.footer__contact svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.75;
}
.footer__legal span + span::before { content: "｜"; margin: 0 10px; opacity: .45; }
.footer__copy { opacity: .72; }
.footer__copy span + span::before { content: "｜"; margin: 0 10px; opacity: .45; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------- 页脚 · 响应式 ---------- */
@media (max-width: 1100px) {
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .footer__main { grid-template-columns: minmax(0, 1fr); }
  /* 手机端不显示三列导航（就医服务 / 医院信息 / 联系我们），只留品牌介绍与版权行 */
  .footer__main > div:not(.footer__brand) { display: none; }
  /* 手机端页脚上下留白收窄（桌面仍 68/40） */
  .footer__main { padding: 30px 0 30px; }
  /* 只剩品牌与版权，整块居中 */
  .footer__brand { text-align: center; }
  .footer__brand p { margin-left: auto; margin-right: auto; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  /* 窄屏一行放不下，逐条换行；竖排后分隔符会跑到行首，直接去掉 */
  .footer__legal span, .footer__copy span { display: block; }
  .footer__legal span + span::before, .footer__copy span + span::before { content: none; margin: 0; }
}

/* ==========================================================================
   内页通用：面包屑 + 页头
   ========================================================================== */
.crumb { padding: 18px 0; font-size: 13.5px; color: var(--text-mute); background: var(--bg-soft); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 8px; opacity: .5; }

.page-head {
  position: relative; padding: 72px 0 66px; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, #4a9bef 100%);
  color: #fff;
}
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.page-head h1,
.page-head .page-head__title { font-size:32px; font-weight:700; line-height:1.3; margin:0; color:#fff; }
.page-head .page-head__sub { opacity:.85; font-size:15px; margin:8px 0 0; }
.page-head p { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 16px; max-width: 664px; }
.page-head .crumb { background: none; padding: 0 0 16px; color: rgba(255, 255, 255, .7); }
.page-head .crumb a:hover { color: #fff; }

/* ---------- 内页通用 · 响应式 ---------- */
@media (max-width: 720px) {
  .page-head { padding: 46px 0 42px; }
  .page-head h1 { font-size: 28px; }
}

/* ==========================================================================
   栏目页
   ========================================================================== */
.list-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 60px 0 90px; align-items: start; }

/* grid 子项默认 min-width:auto，会被 tab 行的 min-content 撑开，整行顶到视口外 */
.list-layout > main,
.list-layout > aside { min-width: 0; }

/* 疾病 tab：宽屏换行，窄屏回到容器内横滚，都不许顶出右栏 */
.list-tabs {
  display: flex; gap: 10px; margin-bottom: 28px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .list-tabs {
    flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
  }
}
.list-tabs::-webkit-scrollbar { display: none; }
.list-tabs button,
.list-tabs a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--text-sub); background: var(--bg-soft); transition: all .25s ease;
  flex: 0 0 auto; white-space: nowrap; text-decoration: none;
}
.list-tabs button:hover,
.list-tabs a:hover { background: var(--brand-light); color: var(--brand); }
.list-tabs button.is-active,
.list-tabs a.is-active { background: var(--brand); color: #fff; }

.article-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 26px;
  padding: 26px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); margin-bottom: 18px; transition: all .3s ease;
}
.article-row:hover { box-shadow: var(--shadow); border-color: #dce9fb; transform: translateY(-3px); }
.article-row__thumb { border-radius: var(--radius); overflow: hidden; height: 158px; }
.article-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-row:hover .article-row__thumb img { transform: scale(1.06); }
.article-row__body { display: flex; flex-direction: column; }
.article-row__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tag {
  display: inline-block; font-size: 12.5px; padding: 3px 10px; border-radius: 6px;
  background: var(--brand-light); color: var(--brand); font-weight: 500;
}
.tag--green { background: var(--accent-light); color: var(--accent); }
.tag--warm { background: #fdf0e2; color: #b4701f; }
.article-row__date { font-size: 13px; color: var(--text-mute); }
.article-row h2 { font-size: 20px; line-height: 1.5; transition: color .25s ease; }
.article-row:hover h2 { color: var(--brand); }
.article-row__desc {
  margin-top: 10px; font-size: 14.5px; color: var(--text-sub); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-row__foot {
  margin-top: auto; padding-top: 16px; display: flex; align-items: center;
  flex-wrap: wrap; row-gap: 6px; gap: 18px;
  font-size: 13px; color: var(--text-mute);
}
/* 来源、浏览、按钮文案都不许折行：宽度不够时整组按钮换到下一行，而不是把字挤成竖排 */
.article-row__foot > span { white-space: nowrap; }
/* 行尾动作：点赞 / 收藏 / 分享，靠右补掉「来源、浏览」之后的空白 */
.article-row__acts {
  margin-left: auto; display: flex; align-items: center; gap: 2px;
}
.article-row__act {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border: 0; border-radius: 8px; background: none;
  font: inherit; font-size: 13px; line-height: 1.4; color: var(--text-mute);
  white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, background-color .2s ease;
}
.article-row__act svg { flex: 0 0 auto; display: block; width: 15px; height: 15px; }
.article-row__act em { font-style: normal; font-variant-numeric: tabular-nums; }
.article-row__act:hover { color: var(--brand); background: var(--brand-light); }
.article-row__act:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
/* 已点赞 / 已收藏：变蓝 + 图标内浅填充 */
.article-row__act.is-on { color: var(--brand); }
.article-row__act.is-on svg { fill: currentColor; fill-opacity: .16; }

/* 分页 */
.pager { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.pager[hidden] { display: none; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  display: grid; place-items: center; font-size: 14.5px;
  border: 1px solid var(--line); color: var(--text-sub); transition: all .25s ease;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 分页条（comm/page.html 引用的 .pagination，与上面 .pager 并存） ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; border: 1px solid #e3e6ea; border-radius: 6px;
  color: #333; font-size: 14px; text-decoration: none; background: #fff;
  transition: border-color .15s, color .15s;
}
.pagination a:hover { border-color: var(--brand, #0e7c66); color: var(--brand, #0e7c66); }
.pagination a[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.pagination .page-num {
  padding: 6px 12px; border: 1px solid #e3e6ea; border-radius: 6px;
  font-size: 14px; color: #333; text-decoration: none; background: #fff;
}
.pagination .page-num-current { border-color: var(--brand, #0e7c66); background: var(--brand, #0e7c66); color: #fff; }

/* ---------- 列表空状态（comm/page.html 的 .list-empty） ---------- */
.list-empty { text-align: center; padding: 48px 16px; color: #666; }
/* ⚠ p 也被写成了按钮样式（原文件如此，疑似选择器写错）：若空状态里的 <p> 是说明文字，
   应把这段按钮样式只留给 .list-empty a */
.list-empty p {
  align-items: center;
  color: rgb(255, 255, 255);
  box-shadow: rgba(47, 125, 232, 0.28) 0px 8px 20px;
  background: var(--brand);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s ease;
  white-space: nowrap;
  margin-bottom: 12px ;
}
.list-empty a {
  align-items: center;
  color: rgb(255, 255, 255);
  box-shadow: rgba(47, 125, 232, 0.28) 0px 8px 20px;
  background: var(--brand);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  margin-top: 20px;
  font-weight: 600;
  transition: all .25s ease;
  white-space: nowrap;
}

/* 侧栏 */
.sidebar { position: sticky; top: 92px; display: grid; gap: 22px; }
.side-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 26px; }
.side-card--brand { background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; }
.side-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--brand); }
.side-card--brand h3::before { background: #fff; }
.side-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: none; padding-bottom: 0; }
.side-list__no {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; background: var(--line-soft); color: var(--text-mute);
}
/* 编号方块统一蓝底白字：条目由 JS 按页面标题自动生成，条数不定（4～7 条都见过），
   原来只给前 3 条上色，第 4 条起会突然变灰，看起来像"不可点" */
.side-list li .side-list__no { background: var(--brand); color: #fff; }
.side-list a { font-size: 14.5px; line-height: 1.6; }
.side-list a:hover { color: var(--brand); }
.side-card--brand p { font-size: 14px; color: rgba(255, 255, 255, .82); }
.side-card--brand .btn { width: 100%; margin-top: 18px; background: #fff; color: var(--brand); }
.side-card--brand .btn:hover { background: rgba(255, 255, 255, .9); color: var(--brand-dark); }
.side-dept { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-dept a {
  display: block; padding: 12px 8px; border-radius: var(--radius-sm); text-align: center;
  font-size: 14px; background: #fff; border: 1px solid var(--line); transition: all .25s ease;
}
.side-dept a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 栏目页 / 侧栏 · 响应式 ---------- */
@media (max-width: 1100px) {
  .list-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .list-layout > main { min-width: 0; }
  .sidebar { position: static; }
}
@media (max-width: 720px) {
  .article-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-row__thumb { height: 190px; }
  /* 窄屏：来源、浏览占一行，动作按钮换到下一行并整体靠右，避免挤成一团 */
  .article-row__foot { gap: 14px; padding-top: 14px; }
  .article-row__acts { width: 100%; justify-content: flex-end; margin-left: 0; }
}

/* 侧栏补充项：联系我们列表、带子圆点的二级条目 */
.side-contact li { display: flex; gap: 12px; font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.side-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.side-list__sub { padding-left: 1.4em; position: relative; }
.side-list__sub::before { content: ""; position: absolute; left: .5em; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; }

/* ==========================================================================
   文章页
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 56px 0 90px; align-items: start; }

/* 目录 */
.toc { position: sticky; top: 92px; }
.toc__title { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--text-mute); letter-spacing: .06em; }
.toc ol { border-left: 2px solid var(--line); }
.toc li a {
  display: block; padding: 9px 0 9px 18px; margin-left: -2px;
  border-left: 2px solid transparent; font-size: 14.5px; color: var(--text-sub); line-height: 1.6;
}
.toc li a:hover { color: var(--brand); }
.toc li a.is-active { border-left-color: var(--brand); color: var(--brand); font-weight: 600; background: linear-gradient(90deg, var(--brand-tint), transparent); }
/* 三级标题（原文用「标题 3」写的小节）缩进一级，层级一眼看得出 */
.toc .toc__lv3 a { padding-left: 32px; font-size: 13.5px; color: var(--text-mute); }
.toc .toc__lv3 a.is-active { color: var(--brand); }

.article-main { min-width: 0; }
/* 目录被隐藏（正文没有 h2 或只有 1 个）时正文独占整行：
   否则 main 会掉进第一条 280px 轨道，正文被压成一条窄柱 */
.article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.article-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: 36px; line-height: 1.4; letter-spacing: -.02em; margin: 14px 0 18px; }
.article-meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-mute); }
.article-meta__tools { margin-left: auto; display: flex; gap: 8px; }
.article-meta__tools button {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  color: var(--text-sub); border: 1px solid var(--line); transition: all .25s ease;
}
.article-meta__tools button:hover { border-color: var(--brand); color: var(--brand); }

.article-body { padding: 32px 0 8px; font-size: 17px; line-height: 1.95; color: #2b3446; }
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-size: 25px; margin: 44px 0 18px; padding-left: 16px; position: relative; scroll-margin-top: 100px;
}
.article-body h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 2px; background: var(--brand);
}
.article-body h3 { font-size: 20px; margin: 32px 0 14px; scroll-margin-top: 100px; }
.article-body ul { margin: 0 0 24px; padding: 0; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 6px; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.article-body img { border-radius: var(--radius); margin: 12px 0; max-width: 100%; height: auto; }
.article-lead {
  background: var(--brand-tint); border-left: 4px solid var(--brand);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-sub); font-size: 16px; margin-bottom: 30px;
}
.article-quote {
  margin: 30px 0; padding: 26px 30px; border-radius: var(--radius);
  background: var(--bg-soft); font-size: 16.5px; color: var(--text-sub); position: relative;
}
.article-quote::before {
  content: "“"; position: absolute; left: 14px; top: 6px;
  font-size: 52px; color: var(--brand); opacity: .22; line-height: 1;
}
.article-note {
  margin: 30px 0; padding: 20px 24px; border-radius: var(--radius);
  background: #fff9ec; border: 1px solid #f4e3c1; font-size: 15px; color: #7a5c1e;
}
.article-note b { color: #6a4d14; }
figure { margin: 30px 0; }
figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-mute); text-align: center; }

/* 收藏 / 点赞 */
.article-actions { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.art-act {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; background: var(--bg-soft); color: var(--text-sub);
  font-size: 14px; transition: background .25s ease, color .25s ease, transform .15s ease;
}
.art-act svg { flex: none; }
.art-act em { font-style: normal; font-size: 13px; opacity: .8; }
.art-act:hover { background: var(--brand-light); color: var(--brand); }
.art-act:active { transform: scale(.96); }
.art-act.is-on { background: var(--brand); color: #fff; }
.art-act.is-on em { opacity: 1; }
.art-act[disabled] { opacity: .65; }
.art-act.is-err { animation: actShake .4s ease; background: #fdecec; color: #d9534f; }
@keyframes actShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.article-tags { margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-tags b { font-size: 14.5px; color: var(--text-sub); font-weight: 600; }
.article-tags a { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--text-sub); }
.article-tags a:hover { background: var(--brand-light); color: var(--brand); }

.article-share { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.article-share span { font-size: 14.5px; color: var(--text-sub); }
.article-share button {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--text-sub); transition: all .25s ease;
}
.article-share button:hover { background: var(--brand); color: #fff; }
.article-share button:active { transform: scale(.94); }

/* 分享操作的轻提示 */
.share-toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 9999;
  max-width: 86vw; padding: 12px 20px; border-radius: 10px; white-space: nowrap;
  background: rgba(23, 32, 48, .92); color: #fff;
  font-size: 14px; line-height: 1.7; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.share-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 620px) {
  .share-toast { bottom: 50%; transform: translate(-50%, 12px); font-size: 13.5px; }
  .share-toast.is-on { transform: translate(-50%, 0); }
}

/* 微信分享二维码浮层 */
.wx-modal { display: none; position: fixed; inset: 0; z-index: 10000; }
.wx-modal__mask { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); opacity: 0; transition: opacity .22s ease; }
.wx-modal__box {
  position: absolute; left: 50%; top: 50%; width: min(320px, calc(100vw - 48px));
  padding: 26px 24px 22px; background: #fff; border-radius: 16px; text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .3);
  opacity: 0; transform: translate(-50%, -46%) scale(.96);
  transition: opacity .22s ease, transform .22s ease;
}
.wx-modal.is-on .wx-modal__mask { opacity: 1; }
.wx-modal.is-on .wx-modal__box { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wx-modal__close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--text-mute); background: transparent; transition: background .2s, color .2s;
}
.wx-modal__close:hover { background: var(--bg-soft); color: var(--text); }
.wx-modal__title { font-size: 17px; font-weight: 600; color: var(--text); }
.wx-modal__qr { margin: 18px auto 14px; width: 176px; height: 176px; display: grid; place-items: center; }
.wx-modal__qr img { display: none; }
.wx-modal__qr canvas { display: block; width: 176px; height: 176px; }
.wx-modal__tip { font-size: 13px; line-height: 1.75; color: var(--text-mute); }
.wx-modal__copy {
  width: 100%; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 14px;
}

/* 通用二维码浮层（病友群等），复用 .wx-modal 骨架：这里只把 img 放出来 */
.qr-modal .wx-modal__qr { width: 200px; height: 200px; }
.qr-modal .wx-modal__qr img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  border-radius: 8px; background: #fff;
}

.article-nav { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav a {
  padding: 18px 22px; border-radius: var(--radius); background: var(--bg-soft);
  font-size: 14.5px; transition: all .25s ease;
}
.article-nav a:hover { background: var(--brand-tint); color: var(--brand); }
.article-nav a small { display: block; font-size: 12.5px; color: var(--text-mute); margin-bottom: 5px; }
.article-nav a:last-child { text-align: right; }

.related { margin-top: 60px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.related-card img { height: 150px; width: 100%; object-fit: cover; }
.related-card div { padding: 16px 18px 20px; }
.related-card h3 { font-size: 16px; font-weight: 600; line-height: 1.55; }
.related-card p { margin-top: 8px; font-size: 13px; color: var(--text-mute); }

/* ---------- 文章页 · 响应式 ---------- */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; }
  .article-layout > main { min-width: 0; }
  .toc { position: static; display: none; }
}
@media (max-width: 720px) {
  .article-head h1 { font-size: 26px; }
  .article-body { font-size: 16px; }
  .article-nav { grid-template-columns: minmax(0, 1fr); }
  .article-nav a:last-child { text-align: left; }
  .related__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   入场动画 / 回到顶部
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 商务通浮动客服窗：全局禁用（咨询统一走底部悬浮栏与 openZoosUrl，脚本仍负责统计） */
#LRfloater0, #LRfloater1, #LRfloater2, #LRfloater3 { display: none !important; }

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--brand);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: all .3s ease;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brand); color: #fff; }

/* ==========================================================================
   手机端底部悬浮快捷栏（咨询 / 挂号 / 首页 / 病友群 / 电话）
   桌面端不显示；手机端固定在视口底部，页面底部留出等高的安全距离
   ========================================================================== */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; align-items: flex-end; justify-content: space-around;
    padding: 7px 2px calc(7px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 61, 122, .08);
  }
  .tabbar__item {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 2px 0; font-size: 11px; line-height: 1.2;
    color: var(--text-sub); white-space: nowrap;
  }
  .tabbar__icon { position: relative; display: block; width: 24px; height: 24px; color: var(--brand); }
  .tabbar__icon svg { display: block; width: 100%; height: 100%; }
  .tabbar__item--home .tabbar__icon { color: var(--text); }
  /* 挂号默认不用品牌蓝，与首页一致用深色 */
  .tabbar__item--reg .tabbar__icon { color: var(--text); }
  /* 咨询入口右上角红点（提示可点） */
  .tabbar__dot {
    position: absolute; top: -2px; right: -3px;
    width: 7px; height: 7px; border-radius: 50%; background: #e5342b;
  }
  /* 病友群上方的「义诊」角标 */
  .tabbar__badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-26%);
    padding: 2px 5px; border-radius: 8px 8px 8px 0;
    background: #e5342b; color: #fff; font-size: 10px; font-style: normal;
    line-height: 1.1; letter-spacing: 0;
  }
  /* 悬浮栏不压住页面底部内容；回到顶部按钮手机端隐藏（右下角已让给悬浮栏） */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .to-top { display: none; }
}

/* ==========================================================================
   二级栏目页通用（概况 / 科室 / 专家 / 就医指南 / 科普 / 联系）
   ========================================================================== */
.page-body { padding: 44px 0 96px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.page-layout > main { min-width: 0; }

/* 页内锚点导航：便于读者跳转，也给爬虫清晰的分区结构 */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; min-width: 0;
  padding: 9px; margin-bottom: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.anchor-nav a {
  padding: 7px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: #46516a; white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}
.anchor-nav a:hover { background: var(--brand-light); color: var(--brand); }

/* 内容块 */
.blk { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.blk:first-of-type { padding-top: 0; border-top: none; }

/* 栏目页区块底色：白 / 浅蓝 隔块轮换（与首页同一节奏） */
.blk--soft {
  padding: 36px 16px;
  border-top: none;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.blk--soft + .blk { border-top: none; margin-top: 44px; }
.blk__head { margin-bottom: 22px; }
/* 板块标题右侧带动作链接的写法（科室导航「重点科室」→ 查看全部科室）：
   标题块与链接底边对齐，窄屏时链接换行落到下面，不会挤扁标题 */
.blk__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.blk__more {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  color: var(--brand); font-size: 15px; font-weight: 500;
}
.blk__more svg { transition: transform .25s ease; }
.blk__more:hover svg { transform: translateX(4px); }
.blk__head h2 { font-size: 24px; letter-spacing: -.015em; }
.blk__head p { margin-top: 9px; color: var(--text-sub); font-size: 15px; max-width: 680px; }
.blk__head .blk__note { margin-top: 10px; font-size: 13px; color: var(--text-mute); }

/* 内容待录入占位（正式内容填充后整体删除） */
.skel {
  display: grid; place-items: center; min-height: 168px; padding: 30px;
  border: 1px dashed #cfdcee; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #fbfdff 0 10px, #f5f9ff 10px 20px);
  text-align: center;
}
.skel b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text-sub); }
.skel span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-mute); line-height: 1.7; }
.skel--tall { min-height: 280px; }
.skel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.skel-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skel-grid .skel { min-height: 150px; }

/* 事实表：栏目页复用首页 .facts 的版式，列宽放宽以便长地址、邮箱单行显示 */
.blk .facts { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }


/* ---------- 二级栏目页通用 · 响应式 ---------- */
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .skel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page-body { padding: 30px 0 64px; }
  .anchor-nav {
    flex-wrap: nowrap; overflow-x: auto; border-radius: var(--radius);
    margin-bottom: 26px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .anchor-nav::-webkit-scrollbar { display: none; }
  .blk { padding: 28px 0; }
  .blk--soft { margin: 30px -10px 0; padding: 26px 10px; }
  .blk--soft + .blk { margin-top: 30px; }
  .blk__head h2 { font-size: 20px; }
  .skel-grid, .skel-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .skel { min-height: 140px; padding: 22px 16px; }
  /* env__grid（环境展示）：本文件内没有它的基础样式，规则按原样归档到这里 */
  .page-body .env__grid { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
}

/* ==========================================================================
   二级页面组件（案例中心 / 技术设备 / 视频专栏共用）
   ========================================================================== */
/* tab 上的条目计数 */
.ftab__n {
  display: inline-block; margin-left: 6px; padding: 0 6px;
  min-width: 20px; height: 18px; line-height: 18px;
  border-radius: 9px; background: var(--brand-tint);
  font-size: 11.5px; font-weight: 600; color: var(--brand); text-align: center;
  transition: background .22s ease, color .22s ease;
}
.ftab.is-active .ftab__n { background: rgba(255, 255, 255, .24); color: #fff; }
/* 计数为空时不露空胶囊（服务端渲染的科室 tab 统计不到数量时用） */
.ftab__n:empty { display: none; }

/* 区块正文段落 */
.blk__text { margin-top: 20px; font-size: 15px; line-height: 1.9; color: var(--text-sub); }

/* 通用无序列表 */
.page-ul { margin: 18px 0 0; padding-left: 20px; list-style: disc; }
.page-ul li { margin-top: 9px; font-size: 14.5px; line-height: 1.85; color: var(--text-sub); }

/* 提示框：阅读须知、质量与安全等合规说明 */
.page-note {
  padding: 24px 26px; background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

/* ---------- 案例中心 ---------- */
.case-card[hidden] { display: none; }
.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
/* 按科室分组的包裹层（PbootCMS 模板：nav 包 list），display:contents 让卡片
   直接参与 .case-list 的两列排版，分组本身不占格子、不加间距 */
.case-group { display: contents; }
.case-group[hidden] { display: none; }

/* ---------- 技术设备：参数表 ---------- */
.dtable__wrap {
  margin-bottom: 30px; overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.dtable caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dtable th, .dtable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th { background: var(--bg-soft); font-size: 13px; font-weight: 600; color: var(--text-sub); }
.dtable tbody th { font-weight: 600; color: var(--text); }
/* 设备名下方的楼层位置 */
.dtable tbody th em {
  display: block; margin-top: 4px;
  font-size: 12px; font-style: normal; font-weight: 400; color: var(--text-mute);
}
.dtable td { color: var(--text-sub); }
.dtable tbody tr:last-child th,
.dtable tbody tr:last-child td { border-bottom: none; }
.dtable tbody tr:hover { background: #fafcff; }

/* ---------- 视频专栏 ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* 按科室分组的包裹层（PbootCMS 模板：nav 包 list），用 display:contents 让卡片
   直接参与 .vid-grid 的三列排版，分组本身不占格子、不加间距 */
.vid-group { display: contents; }
.vid-group[hidden] { display: none; }
.vid-card[hidden] { display: none; }
.vid-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.vid-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.vid-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: none; background: #e9eff8; overflow: hidden; cursor: pointer;
}
.vid-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.vid-card:hover .vid-card__media img { transform: scale(1.05); }
.vid-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(15, 61, 122, .62);
  box-shadow: 0 6px 20px rgba(6, 24, 48, .28);
  transition: background .25s ease, transform .25s ease;
}
.vid-card:hover .vid-card__play { background: var(--brand); transform: translate(-50%, -50%) scale(1.08); }
.vid-card__no {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 255, 255, .93); color: var(--brand-deep);
  font-size: 11.5px; font-weight: 700;
}
.vid-card__dur {
  position: absolute; right: 12px; bottom: 12px;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(6, 24, 48, .72); color: #fff; font-size: 11.5px;
}
/* 期数与时长由 JS 回填：还没读到（模板页首屏、视频元数据未到）时不要露出空胶囊 */
.vid-card__no:empty,
.vid-card__dur:empty { display: none; }
.vid-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.vid-card__title { font-size: 16px; line-height: 1.6; transition: color .25s ease; }
.vid-card:hover .vid-card__title { color: var(--brand); }
.vid-card__brief { flex: 1; margin-top: 9px; font-size: 13.5px; line-height: 1.75; color: var(--text-sub); }
.vid-card__sub { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-mute); }

/* ---------- 专家团队：医生卡（doctors 页，结构与 vid-card 同族） ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* 科室分组容器：只做归类、不参与排版（卡片仍是 .doc-grid 的直接格子） */
.doc-group { display: contents; }
.doc-card[hidden] { display: none; }
.doc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.doc-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.doc-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  background: #e9eff8; overflow: hidden;
}
.doc-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform .55s ease;
}
.doc-card:hover .doc-card__media img { transform: scale(1.05); }
/* 没传照片时：头像位置露出医生姓氏首字（img 加载失败被 JS 标记 is-none 后生效） */
.doc-card__media img.is-none { display: none; }
.doc-card__avatar {
  position: absolute; inset: 0; display: none;
  place-items: center;
  background: linear-gradient(160deg, #e8f0fb 0%, #d5e3f5 100%);
  color: var(--brand); font-size: 56px; font-weight: 700;
}
.doc-card__media.is-empty .doc-card__avatar { display: grid; }
.doc-card__tag {
  position: absolute; right: 12px; top: 12px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .93); color: var(--brand-deep);
  font-size: 11.5px; font-weight: 700;
}
.doc-card__tag:empty { display: none; }
.doc-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.doc-card__name { font-size: 17px; line-height: 1.5; }
.doc-card__name a { color: inherit; text-decoration: none; transition: color .25s ease; }
.doc-card__name a:hover { color: var(--brand); }
.doc-card__dept { margin-top: 5px; font-size: 12.5px; color: var(--text-mute); }
.doc-card__dept b { color: var(--brand); font-weight: 600; }
.doc-card__skill {
  flex: 1; margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--text-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-card__skill:empty { display: none; }
/* 卡底两个动作：咨询 / 预约（替代原来的出诊时间行） */
.doc-card__acts {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.doc-card__act {
  display: flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--brand); background: #fff;
  color: var(--brand); font-size: 13.5px; font-weight: 600;
  transition: background .2s, border-color .2s, color .2s;
}
.doc-card__act:hover { background: rgba(47, 125, 232, .08); color: var(--brand); }
.doc-card__act--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.doc-card__act--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .case-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vid-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .page-note { padding: 18px; }
  .dtable { white-space: normal; font-size: 13.5px; }
  .dtable th, .dtable td { padding: 11px 12px; }
}

/* 单张医生卡：占两列并放宽画幅（放在响应式之后，≤720 时会盖过上方 .doc-grid 的单列规则） */
.doc-grid:has(.doc-card:only-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc-grid:has(.doc-card:only-child) .doc-card__media { aspect-ratio: 16 / 9; }

/* ==========================================================================
   栏目页「一句话结论」+ 纵向 FAQ 列表 + 文章参考文献（GEO / E-E-A-T）
   ========================================================================== */
.takeaway {
  /* 用 grid 而不是 flex：flex 行内并排会把多个 <p> 排成横向几栏（每段被压成窄列、句中断词） */
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px; row-gap: 2px; align-items: start;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brand); border-radius: 10px;
  padding: 14px 16px; margin: 0 0 18px;
}
.takeaway__tag {
  grid-column: 1; grid-row: 1; justify-self: start;
  margin-top: 3px; padding: 2px 10px;
  font-size: 12px; font-weight: 700; color: var(--brand);
  background: #fff; border: 1px solid rgba(47, 125, 232, .35); border-radius: 999px;
  white-space: nowrap;
}
.takeaway p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); text-align: left; }
/* 多条要点固定在第 2 列、逐行向下：写成 <div class="takeaway__body"> 包一层，
   或者直接并列多个 <p>/<span>（CMS 里常见），都排成竖列，不会并成横向几栏 */
.takeaway > *:not(.takeaway__tag) { grid-column: 2; }
.takeaway__body { display: grid; gap: 2px; }
.takeaway__body p, .takeaway > p { word-break: normal; overflow-wrap: break-word; }

.faq--list { grid-template-columns: 1fr; }
.faq--list .faq__item > summary { padding: 14px 0; font-size: 15.5px; gap: 9px; }
.faq--list .faq__a { padding: 0 0 16px 29px; font-size: 14.2px; line-height: 1.85; }

.article-refs {
  margin: 34px 0 8px; padding: 18px 22px;
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.article-refs h2 { margin: 0 0 8px; font-size: 17px; }
.article-refs__note { margin: 0 0 10px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.article-refs__list { margin: 0; padding-left: 22px; list-style: decimal; display: grid; gap: 6px; }
.article-refs__list li { font-size: 13.8px; color: var(--text-sub); line-height: 1.7; }
.article-refs__list li::marker { color: var(--brand); font-weight: 700; }

@media (max-width: 720px) {
  .takeaway { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 12px 14px; }
  .takeaway__tag { margin-top: 0; }
  /* 单列时标签与各条要点同占第 1 列，自然上下排 */
  .takeaway > *:not(.takeaway__tag) { grid-column: 1; }
  .article-refs { margin: 26px 0 6px; padding: 14px 16px; }
}

/* ---------- 交通指南页（bmfw/jtzn） ---------- */
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* 事实条/按钮组后面紧跟卡片网格时要留间距：两者边框直接相邻会连成一块，看着像卡片被压住 */
.blk .facts + .route-grid, .blk .facts + .flow__grid, .blk .map-cta + .route-grid { margin-top: 26px; }
.route-grid--1 { grid-template-columns: minmax(0, 1fr); }
/* 三张卡等分三列：写成 2 列会剩半格空着，看着像漏了一张 */
.route-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 卡片网格后紧跟提示框时要留间距，否则两条边框贴在一起 */
.route-grid + .page-note { margin-top: 18px; }
.route {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 0;
}
.route h3 {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 10px; font-size: 16px; color: var(--text);
}
.route h3 svg { color: var(--brand); flex: 0 0 auto; }
.route p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--text-sub); }
.route p b { color: var(--text); }
/* 整块可点的服务卡片：<a class="route route--link">。a 默认带下划线+蓝色，必须显式压掉 */
.route--link { display: block; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.route--link:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.route--link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.route__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.route__go svg { transition: transform .2s; }
.route--link:hover .route__go svg { transform: translateX(3px); }
.map-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.map-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
/* 按钮组后面紧跟说明文字时要留间距：p 被全局 margin:0 重置，会直接贴着按钮下沿 */
.blk .map-cta + p { margin-top: 16px; color: var(--text-sub); font-size: 14px; line-height: 1.85; }
@media (max-width: 960px) {
  .route-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .route-grid { grid-template-columns: minmax(0, 1fr); }
  .route { padding: 16px 18px; }
  .map-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   在线预约挂号页 /bmfw/yygh/ —— 全部限定在 .yygh 作用域内，不影响其他页面
   ========================================================================== */
.yygh{max-width:720px;margin:26px auto 48px;font-size:15px;color:#333}
@media (max-width:639px){.yygh{margin-top:18px}}
.yygh .yyghbt{text-align:center;margin-bottom:20px}
.yygh .yyghbt b{display:block;font-size:22px;color:#0e7c66;letter-spacing:1px}
.yygh .yyghbt p{margin-top:6px;font-size:13px;color:#8a949e}
.yygh .order{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:26px 22px;box-shadow:0 4px 16px rgba(16,42,67,.06)}
.yygh .order-t{font-size:14px;color:#5a6572;line-height:1.7;margin-bottom:20px}
.yygh .form{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:640px){.yygh .form{grid-template-columns:1fr 1fr}.yygh .form_li--full{grid-column:1/-1}}
/* 固定两列成对的行：姓名｜性别、预约科室｜疾病——桌面与手机都是同一行两个 */
.yygh .form_row{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.yygh .form_row>.form_li{min-width:0}
@media (max-width:639px){
  .yygh .form_row{gap:10px}
  .yygh .form_row .form_li label{font-size:13px;margin-bottom:5px}
  .yygh .form_row .form_input select{font-size:14px;padding-left:10px;padding-right:28px;
    background-position:right 9px center}
}
.yygh .form_li label{display:block;font-size:14px;color:#333;margin-bottom:6px}
.yygh .form_li label .req{color:#d4380d;margin-left:2px}
/* 「选填」小标签（预约专家） */
.yygh .form_li label .opt{margin-left:6px;padding:1px 6px;border-radius:4px;background:#eef4f2;color:#0e7c66;font-size:12px;font-weight:400;vertical-align:1px}
.yygh .form_input{position:relative}
.yygh .form_input input,.yygh .form_input select,.yygh .form_input textarea{width:100%;box-sizing:border-box;border:1px solid #d7dde5;border-radius:8px;padding:10px 12px;font-size:15px;color:#333;background:#fff;outline:none}
.yygh .form_input input:focus,.yygh .form_input select:focus,.yygh .form_input textarea:focus{border-color:#0e7c66;box-shadow:0 0 0 3px rgba(14,124,102,.12)}
.yygh .form_input textarea{resize:vertical;min-height:96px}

/* 所有下拉 + 日期框 + 地区框共用同一个箭头（12×8，右 12px 居中），谁都不许自带图标 */
.yygh .form_input select,
.yygh .form_input--date input,
.yygh .form_input--area input{
  -webkit-appearance:none;appearance:none;
  padding-right:34px;
  background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a949e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat;
}
.yygh .form_input--date input,.yygh .form_input--area input{cursor:pointer;text-overflow:ellipsis}

/* 日期面板：三列滚轮（左月 / 中日 / 右时），上下滑动选择，滑完即生效 */
.yygh .datepop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:#fff;border:1px solid #d7dde5;border-radius:10px;box-shadow:0 8px 24px rgba(16,42,67,.14);padding:0;overflow:hidden}
.yygh .datepop[hidden]{display:none}
.yygh .dpicker{position:relative;display:flex;height:180px;max-width:460px;margin:0 auto}
/* 中间选中带（36px 高，正好是 .dpicker 内 (180-36)/2 = 72px 处） */
.yygh .dpicker__band{position:absolute;left:0;right:0;top:72px;height:36px;background:rgba(14,124,102,.06);border-top:1px solid #dfe7ee;border-bottom:1px solid #dfe7ee;border-radius:4px;pointer-events:none;z-index:0}
/* 每列是一个可滚动窗口：上下各留 72px 内边距，让首尾项也能停在中间；
   上下边缘做淡出，像真滚轮（中间 34%–66% 保持不透明，不影响看清） */
.yygh .dpicker__col{flex:1;min-width:0;height:180px;box-sizing:border-box;padding:72px 0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-snap-type:y mandatory;position:relative;z-index:1;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.35) 0,#000 34%,#000 66%,rgba(0,0,0,.35) 100%);mask-image:linear-gradient(to bottom,rgba(0,0,0,.35) 0,#000 34%,#000 66%,rgba(0,0,0,.35) 100%)}
/* 滚动条藏掉：触屏靠滑、桌面靠滚轮或直接点某一项 */
.yygh .dpicker__col::-webkit-scrollbar{width:0;height:0}
.yygh .dpicker__col li{height:36px;line-height:36px;text-align:center;font-size:15px;color:#8a949e;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;scroll-snap-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.yygh .dpicker__col li.on{color:#0e7c66;font-weight:700}
@media (max-width:479px){
  .yygh .dpicker__col li{font-size:14px}
}

/* 省市区：一个输入框 + 三列级联面板 */
.yygh .areapop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:70;background:#fff;border:1px solid #d7dde5;border-radius:10px;box-shadow:0 8px 24px rgba(16,42,67,.14);overflow:hidden}
.yygh .areapop[hidden]{display:none}
.yygh .areapop__cols{display:flex;height:266px}
.yygh .areapop__col{flex:1 1 0;min-width:0;margin:0;padding:6px 0;list-style:none;overflow-y:auto;-webkit-overflow-scrolling:touch;border-right:1px solid #eef1f5}
.yygh .areapop__col:last-child{border-right:0}
.yygh .areapop__item{display:flex;align-items:center;padding:9px 10px;font-size:13px;color:#333;line-height:1.35;cursor:pointer;white-space:nowrap}
.yygh .areapop__item>span{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}
.yygh .areapop__item .areapop__arrow{width:6px;height:6px;margin-left:6px;flex:0 0 auto;border-right:1.5px solid #c3ccd6;border-top:1.5px solid #c3ccd6;transform:rotate(45deg)}
.yygh .areapop__item:hover{background:#f4f8f7}
.yygh .areapop__item.is-on{color:#0e7c66;font-weight:600;background:#eaf4f1}
.yygh .areapop__col--dist .areapop__item .areapop__arrow{display:none}
.yygh .areapop__col--dist .areapop__item::before{content:"";width:12px;flex:0 0 12px;font-size:12px;color:#0e7c66;text-align:center}
.yygh .areapop__col--dist .areapop__item.is-on::before{content:"✓"}
.yygh .areapop__ph{padding:12px 10px;font-size:13px;color:#a8b1bb;text-align:center;line-height:1.5}

.yygh .form_c{grid-column:1/-1;text-align:center;margin-top:6px}
.yygh .submit-btn{display:inline-block;min-width:220px;padding:12px 28px;border:0;border-radius:8px;background:#0e7c66;color:#fff;font-size:16px;letter-spacing:2px;cursor:pointer}
.yygh .submit-btn:hover{background:#0b6a58}
.yygh .submit-btn:disabled{opacity:.6;cursor:not-allowed}
@media (max-width:639px){.yygh .order{padding:20px 14px}.yygh .yyghbt b{font-size:19px}}
@media (max-width:479px){.yygh .areapop__item{font-size:12px;padding:8px 7px}.yygh .areapop__cols{height:238px}}

/* 顶部轮播（调用后台「扩展内容 → 轮播图片」） */
/* 顶部轮播：宽度跟随 .yygh（与标题、表单同宽），高度由图片自身比例决定 */
.yygh .yygh-banner{position:relative;overflow:hidden;border-radius:12px;background:#eef2f6;margin-bottom:22px}
.yygh .yygh-banner__track{position:relative;display:grid}
.yygh .yygh-banner__item{grid-area:1/1;position:relative;opacity:0;transition:opacity .6s ease}
.yygh .yygh-banner__item.is-on{opacity:1}
/* height:auto —— 不写死高度、不裁图；宽度 100% 时按图片原比例撑开 */
.yygh .yygh-banner__item img{display:block;width:100%;height:auto}
.yygh .yygh-banner__dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;pointer-events:none}
.yygh .yygh-banner__dots i{width:8px;height:8px;border-radius:4px;background:rgba(255,255,255,.55);cursor:pointer;transition:width .25s;pointer-events:auto}
.yygh .yygh-banner__dots i.is-on{width:20px;background:#fff}

/* 轻提示弹窗（替代 layer.alert，零依赖；挂在 body 上，不能加 .yygh 前缀） */
.yygh-mask{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(16,42,67,.45);z-index:9998;display:flex;align-items:center;justify-content:center;padding:24px}
.yygh-mask[hidden]{display:none}
.yygh-dlg{width:100%;max-width:330px;background:#fff;border-radius:12px;padding:24px 20px 16px;text-align:center;box-shadow:0 12px 40px rgba(16,42,67,.24)}
.yygh-dlg p{margin:0 0 18px;font-size:15px;line-height:1.7;color:#333}
.yygh-dlg button{width:100%;padding:11px;border:0;border-radius:8px;background:#0e7c66;color:#fff;font-size:15px;cursor:pointer}

/* 预约页 FAQ（配色与 .order 卡片一致：白底、#e6eaf0 边框、主题绿 #0e7c66） */
.yygh-faq{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:22px;margin-top:18px;box-shadow:0 4px 16px rgba(16,42,67,.06)}
.yygh-faq>b{display:block;font-size:18px;color:#0e7c66;letter-spacing:1px;margin-bottom:8px}
.yygh-faq__item{padding:12px 0;border-bottom:1px solid #eef1f6}
.yygh-faq__item:last-child{border-bottom:0}
.yygh-faq__q{font-weight:600;color:#1f2d3d;font-size:15px;margin:0 0 4px}
.yygh-faq__q::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#0e7c66;margin-right:8px;vertical-align:2px}
.yygh-faq__a{color:#5b6b7f;font-size:14px;line-height:1.7;margin:0}
.yygh-faq__a a{color:#0e7c66;text-decoration:none}
@media(max-width:720px){.yygh-faq{padding:16px 14px}}



