/* =========================================================
 * 北京京城皮肤医院 · 蓝白医疗风样式
 * ========================================================= */

:root {
  --blue-900: #0b3d73;
  --blue-800: #0f4c8c;
  --blue-700: #1259a3;
  --blue-600: #1b6ec2;
  --blue-500: #2b86de;
  --blue-400: #5aa4ea;
  --blue-100: #e4f0fc;
  --blue-50: #f2f8fe;
  --ink: #1c2e42;
  --body: #46586a;
  --muted: #7c8ea1;
  --line: #dfe9f4;
  --bg: #f4f8fc;
  --white: #ffffff;
  --accent: #ff7a45;
  --accent-dark: #f2632c;
  --green: #1f9d6b;
  --red: #e0524d;
  --amber: #e8920c;
  --shadow-sm: 0 2px 10px rgba(20, 74, 133, 0.06);
  --shadow-md: 0 8px 28px rgba(20, 74, 133, 0.10);
  --radius: 10px;
  --radius-sm: 6px;
  --nav-h: 64px;
  --top-h: 42px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ============ 顶部信息条 ============ */
.topbar {
  background: var(--blue-900);
  color: #cfe2f6;
  font-size: 13px;
  height: var(--top-h);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar .tb-left { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: #8fc0ee; }
.topbar .tb-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar a { color: #cfe2f6; }
.topbar a:hover { color: #fff; }

/* ============ 站点头部 + 导航 ============ */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 54px; height: 54px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(27, 110, 194, .3);
}
.brand-mark svg { width: 30px; height: 30px; fill: #fff; }
.brand-name { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.brand-sub { font-size: 13px; color: var(--muted); margin-top: 2px; letter-spacing: 2px; }
.header-contact { display: flex; align-items: center; gap: 26px; }
.hc-phone { text-align: right; }
.hc-phone .label { font-size: 12px; color: var(--muted); }
.hc-phone .num { font-size: 24px; font-weight: 700; color: var(--blue-700); letter-spacing: .5px; line-height: 1.2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: var(--radius-sm);
  padding: 10px 20px; font-size: 15px; font-weight: 500;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-500); color: #fff; box-shadow: 0 4px 14px rgba(27,110,194,.32); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 4px 14px rgba(255,122,69,.32); }
.btn-outline { background: #fff; color: var(--blue-700); border: 1px solid var(--blue-400); }
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-600); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 13px 34px; font-size: 16px; }

/* 主导航 */
.main-nav { background: var(--blue-700); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(11,61,115,.15); }
.main-nav .container { display: flex; }
.main-nav a {
  color: #e8f2fc; font-size: 16px; padding: 0 26px; height: var(--nav-h);
  display: inline-flex; align-items: center; position: relative; font-weight: 500;
}
.main-nav a:hover { background: var(--blue-600); color: #fff; }
.main-nav a.active { background: var(--blue-600); color: #fff; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px;
  background: #fff; border-radius: 3px 3px 0 0;
}

/* ============ 首屏 Hero ============ */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,61,115,.92) 0%, rgba(18,89,163,.78) 42%, rgba(27,110,194,.30) 100%);
}
.hero .container { position: relative; padding-top: 58px; padding-bottom: 58px; }
.hero-tags { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  padding: 4px 14px; border-radius: 30px; font-size: 13px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.hero-slogan { font-size: 17px; color: #d7e8fa; letter-spacing: 4px; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta .hm { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #eaf3fd; }
.hero-meta svg { width: 18px; height: 18px; fill: #9ecbf2; flex: none; }
.hero-actions { display: flex; gap: 14px; }
.hero-actions .btn-accent { box-shadow: 0 6px 18px rgba(255,122,69,.4); }
.hero-actions .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.26); color: #fff; }

/* 受欢迎度条 */
.pop-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.pop-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 18px; padding-bottom: 18px; }
.pop-item { display: flex; align-items: center; gap: 14px; padding: 4px 28px; border-right: 1px solid var(--line); }
.pop-item:last-child { border-right: none; }
.pop-ring {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--blue-600) calc(var(--v) * 1%), var(--blue-100) 0);
  display: grid; place-items: center; position: relative;
}
.pop-ring::before { content: ""; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.pop-ring span { position: relative; font-size: 14px; font-weight: 700; color: var(--blue-700); }
.pop-item .pt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.pop-bar { height: 7px; background: var(--blue-100); border-radius: 6px; overflow: hidden; width: 150px; }
.pop-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); border-radius: 6px; }

/* ============ 通用区块 ============ */
.section { padding: 42px 0 6px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.sec-title { font-size: 23px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.sec-title::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: linear-gradient(var(--blue-500), var(--blue-700)); }
.sec-more { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sec-more:hover { color: var(--blue-600); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* 快捷疾病入口 */
.quick-diseases { display: flex; flex-wrap: wrap; gap: 12px; }
.qd-chip {
  padding: 9px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 30px;
  color: var(--blue-800); font-size: 15px; transition: all .2s;
}
.qd-chip:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27,110,194,.25); }
.qd-all { background: var(--blue-100); border-color: var(--blue-100); color: var(--blue-700); font-weight: 500; }

/* 科室网格 */
.dept-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.dept-cell {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 10px; text-align: center; font-size: 15.5px; color: var(--ink); font-weight: 500;
  transition: all .2s; position: relative; overflow: hidden;
}
.dept-cell::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--blue-600); transform: scaleX(0); transition: transform .25s;
}
.dept-cell:hover { color: var(--blue-700); border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dept-cell:hover::after { transform: scaleX(1); }

/* 医生卡片 */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc-card { display: flex; gap: 18px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; flex-direction: column; }
.doc-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); transform: translateY(-2px); }
.doc-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--blue-100); }
.doc-body { flex: 1; min-width: 0; }
.doc-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.doc-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.doc-name:hover { color: var(--blue-600); }
.doc-title { font-size: 13px; color: var(--blue-700); background: var(--blue-100); padding: 1px 9px; border-radius: 4px; }
.doc-dept { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.doc-stats { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.doc-stats b { color: var(--blue-700); font-weight: 600; }
.doc-good { font-size: 13.5px; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.doc-good .lab { color: var(--muted); }
.doc-actions { display: flex; gap: 10px; }

/* 医生团队 / 科室医生：紧凑横排卡片，避免大块竖向卡片 */
.doc-grid.doc-grid--list {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.doc-card.doc-card--list {
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.doc-card.doc-card--list:hover {
  box-shadow: 0 10px 24px rgba(18, 89, 163, .10);
}
.doc-card--list .doc-avatar {
  width: 68px;
  height: 68px;
  border-width: 2px;
  margin-top: 2px;
  align-self: flex-start;
}
.doc-card--list .doc-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.doc-card--list .doc-name-row {
  gap: 8px;
  margin-bottom: 2px;
}
.doc-card--list .doc-name {
  font-size: 16px;
  line-height: 1.4;
}
.doc-card--list .doc-title {
  font-size: 12px;
  line-height: 18px;
  padding: 0 7px;
}
.doc-card--list .doc-dept {
  margin-bottom: 4px;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-card--list .doc-stats {
  gap: 12px;
  margin-bottom: 4px;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.doc-card--list .doc-good {
  margin-bottom: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}
.doc-card--list .doc-actions {
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}
.doc-card--list .doc-actions .btn {
  height: 28px;
  line-height: 26px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .doc-grid.doc-grid--list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 640px) {
  .doc-grid.doc-grid--list { grid-template-columns: 1fr; }
  .doc-card.doc-card--list { padding: 14px; gap: 12px; }
  .doc-card--list .doc-avatar { width: 60px; height: 60px; }
  .doc-card--list .doc-good { -webkit-line-clamp: 2; }
}

/* 资讯双栏 */
.news-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-panel { padding: 22px 24px; }
.news-panel h3 { font-size: 17px; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.news-panel h3 i { width: 4px; height: 16px; background: var(--blue-600); border-radius: 2px; }
.news-item { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: none; }
.news-item a { display: block; color: var(--ink); font-size: 15px; font-weight: 500; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item a:hover { color: var(--blue-600); }
.news-item p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .date { font-size: 12.5px; color: #9fb2c5; margin-top: 3px; }

/* 环境预览 */
.env-preview { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
.env-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: transform .3s; }
.env-preview .env-cell { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.env-preview .env-cell:first-child { grid-row: span 2; }
.env-preview .env-cell:hover img { transform: scale(1.06); }
.env-cell .cap { position: absolute; left: 10px; bottom: 8px; color: #fff; font-size: 13px; background: rgba(11,61,115,.55); padding: 2px 10px; border-radius: 20px; }

/* CTA 带 */
.cta-band {
  margin: 48px 0 0; background: linear-gradient(100deg, var(--blue-800), var(--blue-600));
  color: #fff; padding: 34px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-size: 22px; margin-bottom: 6px; }
.cta-band p { color: #d3e6f9; font-size: 14.5px; }
.cta-band .btns { display: flex; gap: 14px; }
.cta-band .btn-accent { padding: 12px 30px; font-size: 16px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 12px 30px; font-size: 16px; border-radius: 6px; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ============ 内页布局 ============ */
.breadcrumb { padding: 16px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb .sep { margin: 0 8px; color: #b9c9d9; }
.breadcrumb .cur { color: var(--blue-800); }

.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; padding-bottom: 50px; }
.page-main { min-width: 0; }
.page-side { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: 18px; }

/* 医院信息卡（列表/详情页顶部） */
.hosp-card { display: flex; gap: 22px; align-items: center; padding: 24px 28px; margin-bottom: 22px;
  background: linear-gradient(110deg, var(--blue-800), var(--blue-600) 70%, var(--blue-500)); color: #fff; border-radius: var(--radius); }
.hosp-card .hc-mark { width: 66px; height: 66px; border-radius: 14px; background: rgba(255,255,255,.15); display: grid; place-items: center; flex: none; }
.hosp-card .hc-mark svg { width: 36px; height: 36px; fill: #fff; }
.hosp-card h2 { font-size: 22px; margin-bottom: 6px; }
.hosp-card .hc-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.hosp-card .hc-tags span { font-size: 12.5px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 2px 11px; border-radius: 20px; }
.hosp-card .hc-pops { display: flex; gap: 18px; font-size: 13px; color: #dcebfb; }
.hosp-card .hc-right { margin-left: auto; display: flex; flex-direction: column; gap: 10px; flex: none; }
.hosp-card .btn { min-width: 148px; }
.hosp-card .btn-accent { border: none; }
.hosp-card .btn-ghost { background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.hosp-card .btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }

/* 侧边栏模块 */
.side-mod { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-mod .sm-head { background: var(--blue-700); color: #fff; padding: 12px 18px; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.side-mod .sm-head a { color: #cfe4fb; font-size: 12.5px; font-weight: 400; }
.side-mod .sm-body { padding: 8px 18px 14px; }
.rank-list li { counter-increment: rk; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.rank-list { counter-reset: rk; }
.rank-list li:last-child { border-bottom: none; }
.rank-list li::before {
  content: counter(rk); width: 20px; height: 20px; border-radius: 5px; flex: none; font-size: 12px;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); font-weight: 700;
}
.rank-list li:nth-child(-n+3)::before { background: var(--blue-600); color: #fff; }
.rank-list a { color: var(--body); display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-list a:hover { color: var(--blue-600); }
.side-doc { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-doc:last-child { border-bottom: none; }
.side-doc img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.side-doc .sd-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.side-doc .sd-name:hover { color: var(--blue-600); }
.side-doc .sd-meta { font-size: 12.5px; color: var(--muted); margin: 2px 0; }
.side-doc .sd-praise { font-size: 12.5px; color: var(--blue-700); }
.side-link-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-link-list li:last-child { border: none; }
.side-link-list a { color: var(--body); display: flex; gap: 7px; }
.side-link-list a::before { content: "›"; color: var(--blue-500); font-weight: 700; }
.side-link-list a:hover { color: var(--blue-600); }
.side-contact { padding: 16px 18px; font-size: 13.5px; }
.side-contact .sc-row { display: flex; gap: 8px; margin-bottom: 8px; }
.side-contact svg { width: 16px; height: 16px; fill: var(--blue-500); flex: none; margin-top: 4px; }
.side-contact .tel { font-size: 21px; font-weight: 700; color: var(--blue-700); }

/* 列表页条目 */
.list-card { padding: 22px 26px; margin-bottom: 16px; transition: all .2s; }
.list-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-400); }
.list-card h3 { font-size: 18px; margin-bottom: 8px; }
.list-card h3 a { color: var(--ink); }
.list-card h3 a:hover { color: var(--blue-600); }
.list-card .lc-summary { font-size: 14px; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card .lc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.list-card .lc-date { font-size: 13px; color: #9fb2c5; }
.text-link { color: var(--blue-600); font-size: 13.5px; }

/* 科室列表卡片 */
.dept-list-card { display: flex; gap: 20px; padding: 22px 26px; margin-bottom: 14px; align-items: center; }
.dept-list-card .dlc-icon {
  width: 64px; height: 64px; border-radius: 14px; flex: none; background: var(--blue-100);
  display: grid; place-items: center;
}
.dept-list-card .dlc-icon svg { width: 32px; height: 32px; fill: var(--blue-600); }
.dept-list-card h3 { font-size: 18px; margin-bottom: 5px; }
.dept-list-card h3 a { color: var(--ink); }
.dept-list-card h3 a:hover { color: var(--blue-600); }
.dept-list-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dept-list-card .dlc-go { flex: none; color: var(--blue-600); font-size: 14px; border: 1px solid var(--blue-400); padding: 8px 18px; border-radius: 6px; }
.dept-list-card .dlc-go:hover { background: var(--blue-600); color: #fff; }

/* 分页器 */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0 10px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--body); font-size: 14px;
}
.pagination a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pagination .cur { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.pagination .omit { border: none; background: transparent; }

/* 筛选 Tab */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 22px; margin-bottom: 18px; }
.filter-tabs .ft {
  padding: 6px 18px; border-radius: 30px; font-size: 14px; color: var(--body);
  background: var(--blue-50); border: 1px solid transparent;
}
.filter-tabs .ft:hover { color: var(--blue-600); }
.filter-tabs .ft.active { background: var(--blue-600); color: #fff; font-weight: 500; }

/* 医生列表条目（横向大卡） */
.doctor-row { display: flex; gap: 20px; padding: 22px 26px; margin-bottom: 14px; }
.doctor-row .doc-avatar { width: 110px; height: 110px; }
.doctor-row .dr-main { flex: 1; min-width: 0; }
.doctor-row .dr-side { flex: none; width: 132px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border-left: 1px solid var(--line); padding-left: 20px; }
.doctor-row .dr-side .fee { font-size: 13px; color: var(--muted); text-align: center; }
.doctor-row .dr-side .fee b { display: block; font-size: 22px; color: var(--accent); }
.imp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 5px 0; }
.imp-tag { font-size: 12px; color: var(--blue-700); background: var(--blue-100); padding: 1px 9px; border-radius: 4px; }

/* ============ 内容单页 ============ */
.article-page { padding: 28px 34px 34px; }
.content-page { padding: 30px 36px 36px; }
.content-page h2.art-h2 {
  font-size: 20px; color: var(--ink); margin: 26px 0 12px; padding-left: 12px;
  border-left: 4px solid var(--blue-600); line-height: 1.4;
}
.content-page h2.art-h2:first-child { margin-top: 0; }
.content-page p { margin-bottom: 12px; color: #3d4f61; }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 8px 0 4px; }
.qual-list li { display: flex; gap: 9px; font-size: 14.5px; color: #3d4f61; }
.qual-list li svg { width: 17px; height: 17px; fill: var(--blue-500); flex: none; margin-top: 5px; }
.device-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.device-tags span { background: var(--blue-50); border: 1px solid var(--line); color: var(--blue-800); padding: 6px 16px; border-radius: 6px; font-size: 14px; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.info-tile { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; background: var(--blue-50); }
.info-tile h4 { font-size: 15.5px; color: var(--blue-800); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-tile h4 svg { width: 18px; height: 18px; fill: var(--blue-600); }
.info-tile p { font-size: 14px; margin-bottom: 4px; }

/* 就诊流程 */
.flow-steps { display: flex; align-items: stretch; gap: 0; margin: 14px 0 6px; flex-wrap: wrap; }
.flow-step { flex: 1; min-width: 130px; text-align: center; position: relative; padding: 0 8px; }
.flow-step .fs-num {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--blue-600); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.flow-step .fs-name { font-size: 14.5px; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.flow-step .fs-desc { font-size: 12.5px; color: var(--muted); }
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -6px; top: 12px; color: var(--blue-400); font-size: 20px;
}

/* 左侧栏目内导航（简介页） */
.sub-layout { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; padding-bottom: 50px; }
.sub-nav { position: sticky; top: calc(var(--nav-h) + 16px); overflow: hidden; }
.sub-nav a {
  display: block; padding: 14px 22px; color: var(--body); border-bottom: 1px solid var(--line);
  font-size: 15px; border-left: 3px solid transparent;
}
.sub-nav a:last-child { border-bottom: none; }
.sub-nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.sub-nav a.active { background: var(--blue-50); color: var(--blue-700); border-left-color: var(--blue-600); font-weight: 600; }
.sub-nav .sn-head { background: var(--blue-700); color: #fff; padding: 16px 22px; font-size: 16px; font-weight: 600; }

/* ============ 医生内页 ============ */
.doc-tabs { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 22px; gap: 6px; }
.doc-tabs a {
  padding: 12px 30px; font-size: 16px; color: var(--body); border-bottom: 2px solid transparent; margin-bottom: -2px; font-weight: 500;
}
.doc-tabs a.active { color: var(--blue-700); border-bottom-color: var(--blue-600); font-weight: 700; }
.doc-hero { display: flex; gap: 26px; padding: 28px; }
.doc-hero .doc-avatar { width: 130px; height: 130px; }
.doc-hero .dh-main { flex: 1; }
.doc-hero h2 { font-size: 25px; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.doc-hero .dh-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.doc-hero .dh-stats { display: flex; gap: 30px; margin-top: 14px; }
.doc-hero .dh-stats .ds b { font-size: 22px; color: var(--blue-700); display: block; }
.doc-hero .dh-stats .ds span { font-size: 13px; color: var(--muted); }
.doc-hero .dh-side { flex: none; width: 170px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.expand-box { position: relative; padding: 20px 26px; margin-bottom: 16px; }
.expand-box h3 { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.expand-box .eb-text { color: #3d4f61; font-size: 14.5px; max-height: 96px; overflow: hidden; transition: max-height .3s; }
.expand-box.open .eb-text { max-height: 1200px; }
.expand-box .eb-toggle { color: var(--blue-600); font-size: 13.5px; margin-top: 8px; background: none; border: none; padding: 0; }
.expand-box .eb-toggle::after { content: " 展开 ▾"; }
.expand-box.open .eb-toggle::after { content: " 收起 ▴"; }

/* 出诊周历 */
.schedule-wrap { padding: 22px 26px; }
.schedule-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.schedule-toolbar .st-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.schedule-toolbar .st-nav button { background: #fff; border: 1px solid var(--blue-400); color: var(--blue-700); padding: 6px 16px; border-radius: 6px; font-size: 13.5px; }
.schedule-toolbar .st-nav button:hover { background: var(--blue-50); }
.sched-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sched-table th, .sched-table td { border: 1px solid var(--line); text-align: center; padding: 10px 6px; }
.sched-table th { background: var(--blue-50); color: var(--blue-800); font-weight: 600; width: 12.5%; }
.sched-table .day-date { font-weight: 600; color: var(--ink); display: block; }
.sched-table .day-week { font-size: 12px; color: var(--muted); }
.sched-table td.today { background: #fff8ec; }
.st-available { color: var(--green); font-weight: 600; }
.st-full { color: var(--muted); }
.st-stop { color: #c2ccd7; }
.sched-book { display: inline-block; margin-top: 4px; font-size: 12px; background: var(--blue-600); color: #fff; padding: 2px 10px; border-radius: 4px; }
.sched-book:hover { background: var(--blue-500); color: #fff; }
.sched-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* 评价条目 */
.review-item { padding: 20px 26px; margin-bottom: 14px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-user { font-weight: 600; color: var(--ink); }
.review-region, .review-date { font-size: 13px; color: var(--muted); }
.review-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.review-meta a { color: var(--blue-700); }
.review-text { font-size: 14.5px; color: #3d4f61; }

/* ============ 文章内页 ============ */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.article-head h1 { font-size: 27px; color: var(--ink); line-height: 1.5; margin-bottom: 12px; font-weight: 700; }
.article-meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 20px; }
.article-body p { font-size: 15.5px; line-height: 2; color: #33475b; margin-bottom: 18px; }
.article-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; gap: 16px; flex-wrap: wrap; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.related-item { border: 1px solid var(--line); border-radius: 8px; padding: 13px 16px; font-size: 14px; color: var(--ink); transition: all .2s; }
.related-item:hover { border-color: var(--blue-400); color: var(--blue-600); box-shadow: var(--shadow-sm); }

/* ============ 环境图集 ============ */
.env-group { margin-bottom: 30px; }
.env-group h3 { font-size: 18px; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.env-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-600); }
.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.env-grid .env-cell { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; cursor: pointer; }
.env-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.env-grid .env-cell:hover img { transform: scale(1.07); }
.env-grid .cap { position: absolute; left: 10px; bottom: 10px; color: #fff; font-size: 13px; background: rgba(11,61,115,.55); padding: 3px 12px; border-radius: 20px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8, 28, 51, .88); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 34px; background: none; border: none; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 44px; background: rgba(255,255,255,.12); border: none; width: 56px; height: 56px; border-radius: 50%; }
.lightbox .lb-prev { left: 26px; }
.lightbox .lb-next { right: 26px; }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #cfe2f6; font-size: 14px; }

/* ============ 悬浮转化条 ============ */
.floating-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fb-btn {
  width: 66px; height: 66px; border-radius: 50%; border: none; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11.5px; box-shadow: 0 6px 18px rgba(11,61,115,.25);
}
.fb-btn svg { width: 22px; height: 22px; fill: #fff; }
.fb-consult { background: var(--blue-600); }
.fb-consult:hover { background: var(--blue-500); }
.fb-book { background: var(--accent); }
.fb-book:hover { background: var(--accent-dark); }
.fb-top { background: #fff; color: var(--blue-700); border: 1px solid var(--line); }
.fb-top svg { fill: var(--blue-700); }
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 89;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700));
  color: #fff; padding: 10px 0; display: none;
}
.bottom-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bottom-bar .bb-text b { font-size: 16px; }
.bottom-bar .bb-text span { font-size: 12.5px; color: #cfe2f6; }
.bottom-bar .btns { display: flex; gap: 10px; }
.bottom-bar .btn { padding: 8px 18px; font-size: 14px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--blue-900); color: #b9d2ec; margin-top: 56px; padding: 46px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 34px; }
.footer-brand .brand-name { color: #fff; font-size: 21px; margin-bottom: 12px; }
.footer-brand p { line-height: 1.9; font-size: 13.5px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; font-weight: 600; }
.site-footer .f-list li { margin-bottom: 10px; }
.site-footer .f-list a { color: #b9d2ec; font-size: 13.5px; }
.site-footer .f-list a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; fill: #7fb0e2; flex: none; margin-top: 4px; }
.footer-contact .tel { font-size: 20px; color: #fff; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.5px; color: #8fb0d2; text-align: center; line-height: 1.9; }

/* 空标题工具 */
.section-title-bar { font-size: 18px; font-weight: 700; color: var(--ink); margin: 6px 0 16px; display: flex; align-items: center; gap: 10px; }
.section-title-bar::before { content: ""; width: 5px; height: 18px; background: var(--blue-600); border-radius: 3px; }
.mt-0 { margin-top: 0; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(4, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .env-preview { grid-auto-rows: 140px; }
}
@media (max-width: 768px) {
  .topbar .tb-left { gap: 12px; }
  .topbar .tb-right { display: none; }
  .header-main { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .brand-name { font-size: 20px; }
  .header-contact { gap: 14px; width: 100%; justify-content: space-between; }
  .hc-phone .num { font-size: 19px; }
  .main-nav { overflow-x: auto; }
  .main-nav a { padding: 0 18px; font-size: 15px; flex: none; }
  .hero h1 { font-size: 28px; }
  .pop-strip .container { grid-template-columns: 1fr; }
  .pop-item { border-right: none; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .pop-item:last-child { border-bottom: none; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .news-duo { grid-template-columns: 1fr; }
  .env-preview { grid-template-columns: 1fr 1fr; }
  .env-preview .env-cell:first-child { grid-column: span 2; grid-row: span 1; }
  .sub-layout { grid-template-columns: 1fr; }
  .sub-nav { position: static; display: flex; overflow-x: auto; }
  .sub-nav .sn-head { display: none; }
  .sub-nav a { white-space: nowrap; border-bottom: none; }
  .sub-nav a.active { border-left: none; }
  .hosp-card { flex-direction: column; align-items: flex-start; }
  .hosp-card .hc-right { margin-left: 0; flex-direction: row; width: 100%; }
  .hosp-card .hc-right .btn { flex: 1; }
  .doctor-row { flex-direction: column; }
  .doctor-row .dr-side { width: 100%; flex-direction: row; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .doctor-row .dr-side .fee { flex: 1; }
  .article-page, .content-page { padding: 20px; }
  .qual-list, .info-grid, .related-grid, .env-grid { grid-template-columns: 1fr; }
  .page-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .floating-bar { display: none; }
  .bottom-bar { display: block; }
  body { padding-bottom: 64px; }
  .doc-hero { flex-direction: column; }
  .doc-hero .dh-side { width: 100%; }
  .flow-step:not(:last-child)::after { display: none; }
}

/* =========================================================
 * 静态多页 / SEO 版补充样式
 * ========================================================= */

/* —— 语义化标题：消除浏览器默认 margin，与原视觉一致 —— */
h1, h2, h3, h4 { margin: 0; }
.sec-title { font-size: 23px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.expand-box h2 { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.dept-list-card .dlc-name { font-size: 18px; margin-bottom: 5px; }
.dept-list-card .dlc-name a { color: var(--ink); }
.dept-list-card .dlc-name a:hover { color: var(--blue-600); }
.info-tile h3 { font-size: 15.5px; color: var(--blue-800); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.info-tile h3 svg { width: 18px; height: 18px; fill: var(--blue-600); }
.info-tile address { font-style: normal; font-size: 14px; }
.env-group h2 { font-size: 18px; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.env-group h2::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-600); }

/* —— 面包屑改为 ol —— */
.breadcrumb-wrap .breadcrumb { list-style: none; padding: 16px 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); }
.breadcrumb-wrap .breadcrumb li { display: inline-flex; align-items: center; }

/* —— 内页唯一 H1 —— */
.page-h1-wrap { padding: 6px 0 18px; }
.page-h1 { font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.page-h1-sub { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* 科室内页头部 */
.dept-hero-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.dept-hero-head h1 { font-size: 25px; color: var(--blue-900); margin-bottom: 8px; }
.dept-lead { font-size: 15px; color: var(--body); line-height: 1.8; }

/* —— 按钮化的筛选 / Tab（原为链接） —— */
.filter-tabs .ft-label { font-weight: 600; color: var(--ink); margin-right: 6px; }
.filter-tabs button.ft { font-family: inherit; cursor: pointer; line-height: 1.4; }
.doc-tabs button {
  font-family: inherit; background: none; border: none; cursor: pointer;
  padding: 12px 30px; font-size: 16px; color: var(--body); border-bottom: 2px solid transparent; margin-bottom: -2px; font-weight: 500;
}
.doc-tabs button:hover { color: var(--blue-600); }
.doc-tabs button.active { color: var(--blue-700); border-bottom-color: var(--blue-600); font-weight: 700; }

/* 流程步骤改 ol */
.flow-steps { list-style: none; padding: 0; }

/* 列表计数标题 */
.list-count { font-size: 16px; color: var(--muted); margin: 2px 0 14px; font-weight: 500; }

/* —— 首页医院概览：事实卡（实体信息，便于抽取） —— */
.overview-card { padding: 26px 30px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: center; }
.overview-card .lead-p { font-size: 15.5px; color: #3d4f61; line-height: 2; }
.overview-card .more-p { margin-top: 10px; }
.fact-card { background: var(--blue-50); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-style: normal; }
.fact-card .fc-row { display: flex; gap: 10px; align-items: flex-start; }
.fact-card .fc-row svg { width: 20px; height: 20px; fill: var(--blue-600); flex: none; margin-top: 2px; }
.fact-card b { color: var(--ink); }
.fact-card .fc-tel { color: var(--blue-700); font-weight: 700; font-size: 17px; }

/* —— FAQ（details 原生折叠，无 JS 也可展开） —— */
.faq-block { margin: 4px 0; }
.faq-block .section-title-bar { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 14px 18px; font-size: 15px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--blue-600); flex: none; transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--blue-50); }
.faq-a { padding: 0 18px 14px; color: #3d4f61; font-size: 14.5px; line-height: 1.9; border-top: 1px dashed var(--line); }
.faq-a p { margin: 10px 0 0; }

/* —— 文章导读 TL;DR / E-E-A-T —— */
.tldr { background: var(--blue-50); border-left: 4px solid var(--blue-500); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 14.5px; color: #3d4f61; line-height: 1.8; margin-bottom: 20px; }
.tldr b { color: var(--blue-800); }
.eeat-note { margin-top: 22px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.strong-tel { font-size: 19px; color: var(--blue-700); font-weight: 700; }
.inline-tel { color: var(--blue-700); }
.ink-b { color: var(--ink); }
.noscript-note { color: var(--amber); font-size: 13.5px; padding: 8px 0; }

/* —— 间距工具 —— */
.gap-22 { height: 22px; }
.gap-24 { height: 24px; }
.gap-26 { height: 26px; }

/* 环境页内嵌 CTA */
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta-btns { display: flex; gap: 12px; }

/* 侧边联系 address 取消斜体 */
.side-contact { font-style: normal; }

@media (max-width: 900px) {
  .overview-card { grid-template-columns: 1fr; }
  .page-h1 { font-size: 22px; }
}
