/* =========================================================
   成都附二中医医院 · 移动官网 设计系统
   主题：朱红（中医）+ 暖白底 + 墨色文字 + 竹青点缀
   移动优先，适配 320–480px 主流机型
   ========================================================= */

:root {
  --c-primary: #9E2B25;
  --c-primary-dark: #7A1F1A;
  --c-primary-light: #B5483E;
  --c-primary-bg: #F7ECEA;
  --c-primary-tint: #EBD3CE;

  --c-jade: #8B5E3C;
  --c-jade-dark: #6F4A2F;
  --c-jade-bg: #F5EEE5;

  --c-ink: #2A2622;
  --c-ink-soft: #6B635C;
  --c-ink-faint: #9C948C;
  --c-line: #ECE6DF;
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAF7F4;
  --c-bg-deep: #211E1B;

  --font-sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue",
               "Hiragino Sans GB", "Source Han Sans CN", "Noto Sans SC", Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 4px rgba(42,38,34,.06);
  --shadow-md: 0 6px 18px rgba(42,38,34,.10);

  --gap: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(52px + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { outline: none; }
:focus-visible { outline: 2px solid var(--c-primary-tint); }

.newwrap { width: 100%; padding: 0 16px; margin: 0 auto; }

/* ============ 品牌栏（左院名 · 竖线 · 右电话） ============ */
.brand {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px;
  background: #fff; border-bottom: 1px solid var(--c-line);
}
.brand__home { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 0 1 auto; }
.brand__emblem { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.brand__name { min-width: 0; }
.brand__name b {
  display: block; font-size: 22px; font-weight: 800; line-height: 1.08;
  color: var(--c-primary); letter-spacing: .2px; white-space: nonewwrap;
}
.brand__name i {
  display: block; margin-top: 3px; font-style: normal;
  font-size: 5.9px; line-height: 1.3; color: #7E716B;
  letter-spacing: 0; white-space: nonewwrap;
  text-align: justify; text-align-last: justify;
}
.brand__sep { width: 1px; height: 34px; background: #D8C6BE; flex: none; margin: 0 5px; }
.brand__tel { display: flex; align-items: center; gap: 5px; flex: none; }
.brand__tel-ico {
  width: 15px; height: 18px; flex: none;
  object-fit: contain;
}
.brand__tel-txt { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.brand__tel-txt i {
  font-style: normal; font-size: 10px; color: #6E625C;
  letter-spacing: .2px; white-space: nonewwrap;
}
.brand__tel-txt b {
  font-size: 15px; font-weight: 800; color: var(--c-primary);
  letter-spacing: .2px; white-space: nonewwrap; font-variant-numeric: tabular-nums;
}

/* ============ 导航（2 行 × 4 列） ============ */
.mnav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #8C1F1A;
}
.mnav a {
  display: flex; align-items: center; justify-content: center;
  height: 44px; color: #fff; font-size: 14px; letter-spacing: .5px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.mnav a:nth-child(4n) { border-right: 0; }
.mnav a:nth-child(n+5) { border-bottom: 0; }
.mnav a:active { background: #771A15; }

/* ============ Banner（整图主视觉） ============ */
.banner { display: block; line-height: 0; background: #EAF2F8; }
.banner__img { display: block; width: 100%; height: auto; }
/* 视觉隐藏但保留给搜索引擎/读屏 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nonewwrap; border: 0;
}

/* ============ 通用区块标题 ============ */
.section { padding: 14px 0; }
.section--soft { background: var(--c-bg); }
.section--tint { background: var(--c-bg); }
.sec-head { margin-bottom: 13px; }
.sec-title {
  font-size: 18px; font-weight: 700; color: var(--c-ink);
  position: relative; padding-left: 12px; line-height: 1.3;
}
.sec-title::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 4px; background: var(--c-primary); border-radius: 2px;
}
.sec-more { float: right; font-size: 12.5px; color: var(--c-primary); font-weight: 600;position: relative;z-index: 10; }
.sec-more::after { content: " ›"; }

/* ============ 两大科室（Tab 切换 · 病种网格） ============ */
/* ============ 两大重点特色科室（整块 · 无边框 · 大圆图标） ============ */
.dept-box { background: transparent; }
.dept-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.dept-tab {
  position: relative; display: flex; align-items: center; gap: 9px;
  text-align: left; background: #fff;
  border: 1px solid var(--c-line); border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer; transition: border-color .2s ease;
}
.dept-tab.is-on {
  border-color: rgba(158, 43, 37, .5);
}
.dept-tab.jade.is-on {
  border-color: rgba(139, 94, 60, .5);
}
.dept-tab__ico {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #C9BBB3; transition: background .2s;
}
.dept-tab__ico svg {
  width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.dept-tab__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.dept-tab__txt b {
  font-size: 14px; font-weight: 700; color: var(--c-ink-soft); line-height: 1.15;
  letter-spacing: .2px; white-space: nonewwrap; overflow: hidden; text-overflow: ellipsis;
}
.dept-tab__txt i {
  font-style: normal; font-size: 11.5px; color: var(--c-ink-faint); line-height: 1.3;
  white-space: nonewwrap; overflow: hidden; text-overflow: ellipsis;
}

.dept-tab.is-on .dept-tab__ico { background: linear-gradient(160deg, #B2332C 0%, #8C1F1A 100%); }
.dept-tab.is-on .dept-tab__txt b { color: var(--c-primary-dark); }
.dept-tab.is-on .dept-tab__txt i { color: #9A6A5E; }

.dept-tab.jade.is-on .dept-tab__ico { background: linear-gradient(160deg, #A6744A 0%, #7E5530 100%); }
.dept-tab.jade.is-on .dept-tab__txt b { color: var(--c-jade-dark); }
.dept-tab.jade.is-on .dept-tab__txt i { color: #8A6A50; }

.dept-panel { display: none; padding: 12px 0 2px; background: transparent; }
.dept-panel.is-on { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: deptFade .22s ease both; }
.dept-panel a {
  display: flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 6px; border-radius: 0;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 13px; color: var(--c-ink); letter-spacing: .2px;
  transition: color .18s;
}
.dept-panel a:active, .dept-panel a:hover { color: var(--c-primary); }
@keyframes deptFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ============ 医生团队（竖向列表：左头像 + 右信息） ============ */
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-item {
  display: flex; gap: 12px; padding: 10px 0px; background: #fff;
  border: 0; border-radius: var(--radius);
}
.doc-item__photo {
  flex: none; width: 96px; align-self: flex-start;
  border-radius: 8px; overflow: hidden; background: var(--c-primary-bg);
}
.doc-item__photo img { display: block; width: 100%; height: auto; }
.doc-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-item__hd { display: flex; align-items: center; gap: 7px; }
.doc-item__hd b { font-size: 16px; font-weight: 700; color: var(--c-ink); letter-spacing: .3px; }
.doc-item__hd i {
  font-style: normal; font-size: 11px; line-height: 1; color: var(--c-primary);
  background: var(--c-primary-bg); padding: 3px 6px; border-radius: 3px;
}
.doc-item__desc {
  margin: 7px 0 0; font-size: 12px; line-height: 1.6; color: var(--c-ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-item__acts { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.doc-item__acts a {
  flex: 1; height: 30px; line-height: 30px; text-align: center; border-radius: 5px;
  font-size: 12.5px; font-weight: 600;
}
.doc-item__acts a:first-child { background: var(--c-primary); color: #fff; }
.doc-item__acts a:last-child { color: var(--c-primary); border: 1px solid rgba(158, 43, 37, .45); }
.doc-item__acts a:active { opacity: .85; }

/* ============ 疾病科普（主推 + 列表） ============ */
.kepu-box { background: transparent; }
.kepu-feature {
  display: flex; gap: 12px; align-items: stretch;
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--c-line);
}
.kepu-feature__pic {
  position: relative; width: 118px; flex: none; align-self: stretch; min-height: 106px;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--c-bg-soft);
}
.kepu-feature__pic img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.kepu-feature__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kepu-feature h4 { font-size: 15px; color: var(--c-ink); line-height: 1.4; }
.kepu-feature p {
  font-size: 12px; color: var(--c-ink-soft); line-height: 1.65; margin-top: 6px; flex: none;
}
.kepu-feature__more { font-style: normal; color: var(--c-primary); font-weight: 700; white-space: nonewwrap; }
.kepu-list li + li { border-top: 1px solid var(--c-line); }
.kepu-list a { display: flex; align-items: center; gap: 9px; padding: 12px 0; }
.kepu-list i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary); flex: none; }
.kepu-list__t {
  flex: 1; min-width: 0; font-size: 13px; color: var(--c-ink-soft); line-height: 1.4;
  white-space: nonewwrap; overflow: hidden; text-overflow: ellipsis;
}
.kepu-list__d { flex: none; font-size: 11.5px; color: var(--c-ink-faint); font-style: normal; margin-left: 8px; }
/* ============ 医院荣誉 ============ */
.honor-banner {
  position: relative;
  margin: 0 0 10px; border-radius: var(--radius); overflow: hidden;
  background: #EFE7E3;
}
.env-swiper__track {
  display: flex;
  transition: transform .55s cubic-bezier(.33, 0, .2, 1);
  will-change: transform;
}
.env-swiper__item {
  flex: 0 0 100%; margin: 0; position: relative; line-height: 0;
}
.env-swiper__item img {
  display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover;
}
.env-swiper__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 12px 8px;
  font-size: 11.5px; line-height: 1.3; letter-spacing: .3px; color: #fff;
  background: linear-gradient(to top, rgba(36, 24, 20, .58), rgba(36, 24, 20, 0));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  pointer-events: none;
}
.env-swiper__dots {
  position: absolute; right: 10px; bottom: 9px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
}
.env-swiper__dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px;
  background: rgba(255, 255, 255, .55); cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.env-swiper__dot.is-on { width: 15px; background: #fff; }
.honor-plaque {
  margin: 0; border-radius: 10px; overflow: hidden; line-height: 0;
}
.honor-plaque img { display: block; width: 100%; height: auto; }

/* ============ 预约表单 ============ */
.book { background: var(--c-bg); padding: 30px 0; }
.book .sec-title { color: var(--c-ink); }
.book .sec-title::before { background: var(--c-primary); }
.form {
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 18px 16px; margin-top: 16px;
}
.form__row { margin-bottom: 13px; }
.form__row label { display: block; font-size: 13px; color: var(--c-ink); margin-bottom: 6px; font-weight: 600; }
.form__row label .req { color: var(--c-primary); margin-left: 2px; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 11px 12px; background: #fff; font-size: 14px; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); background: #fff; }
.form textarea { resize: vertical; min-height: 64px; }
.form__submit {
  width: 100%; background: var(--c-primary); color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 0; border-radius: var(--radius-sm); margin-top: 4px; letter-spacing: 1px;
}
.form__submit:active { background: var(--c-primary-dark); }
.form__hint { font-size: 11.5px; color: var(--c-ink-faint); text-align: center; margin-top: 10px; }
.form__err { color: var(--c-primary); font-size: 12px; margin-top: 5px; display: none; }
.form__err.show { display: block; }

/* ============ 页脚 ============ */
/* ============ 页脚上方的快捷导航 ============ */
.quick-nav { background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.quick-nav .newwrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 13px 2px 12px; font-size: 12px; color: var(--c-ink-soft); transition: background .2s;
}
.quick-nav a + a::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 22px; background: var(--c-line);
}
.quick-nav svg { width: 19px; height: 19px; fill: none; stroke: var(--c-primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-nav a:active { background: var(--c-bg-soft); }

/* ============ 页脚 ============ */
.footer { background: var(--c-bg-deep); color: #c9c1b8; padding: 24px 0 16px; font-size: 12.5px; }
.footer__main { display: flex; gap: 14px; align-items: flex-start; }
.footer__qr { flex: none; width: 100px; text-align: center; }
.footer__qr img { width: 100px; height: 100px; padding: 4px; background: #fff; border-radius: 8px; }
.footer__qr p { margin-top: 6px; font-size: 10.5px; line-height: 1.55; color: #a89f96; }
.footer__info { flex: 1 1 auto; min-width: 0; }
.footer__brand { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.footer__brand img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.footer__brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.footer__brand-txt b {
  color: #fff; font-size: 15px; font-weight: 600;
  letter-spacing: 0; white-space: nonewwrap;
  text-align: justify; text-align-last: justify;
}
.footer__brand-txt i { font-style: normal; font-size: 8.5px; letter-spacing: .6px; color: #857c74; margin-top: 1px; }
.footer__row { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 6px; line-height: 1.55; }
.footer__row:last-child { margin-bottom: 0; }
.footer__row svg {
  width: 13px; height: 13px; flex: none; margin-top: 4px; fill: none;
  stroke: #a89f96; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.footer__row a { color:#fff; font-weight: 700; }
.footer__rule { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 16px 0 12px; }
.footer__copy { text-align: center; font-size: 11px; opacity: .55; line-height: 1.7; }
.footer__disc { text-align: center; font-size: 11px; opacity: .5; margin-top: 8px; line-height: 1.6; }

/* ============ 底部咨询浮窗 ============ */
.bbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--c-line);
  box-shadow: 0 -2px 12px rgba(122, 31, 26, .07);
  padding-bottom: env(safe-area-inset-bottom);
}
.bbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; height: 52px;
  font-size: 11.5px; letter-spacing: .3px; color: var(--c-ink-soft);
  transition: color .18s, background-color .18s;
}
.bbar__item svg {
  width: 21px; height: 21px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
/* 三格各自底色：首页淡朱红 / 电话实心朱红 / 在线实心竹青 */
.bbar__item--home { background: var(--c-primary-bg); color: var(--c-primary); }
.bbar__item--home:active { background: var(--c-primary-tint); }
.bbar__item--tel { background: var(--c-primary); color: #fff; }
.bbar__item--tel:active { background: var(--c-primary-dark); }
.bbar__item--chat { background: var(--c-jade); color: #fff; }
.bbar__item--chat:active { background: var(--c-jade-dark); }
.bbar__item.is-on { font-weight: 700; }

/* ============ 成功提示 ============ */
.toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%) scale(.9);
  background: rgba(33,30,27,.92); color: #fff; padding: 18px 26px; border-radius: 12px;
  font-size: 14px; text-align: center; z-index: 300; opacity: 0; visibility: hidden; transition: .25s;
  max-width: 80%;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.toast svg { width: 38px; height: 38px; fill: none; stroke: #6FCF97; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 8px; display: block; }

/* =========================================================
   内页通用（科室介绍 / 医院简介 / 文章列表等）
   ========================================================= */
/* ---- 页头 ---- */
.page-head {
  background: linear-gradient(180deg, #FBF2F0 0%, #fff 100%);
  border-bottom: 1px solid var(--c-line);
  padding: 13px 0 15px;
}
.crumb { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.4; color: var(--c-ink-faint); }
.crumb a, .crumb label { color: var(--c-ink-soft); }
.crumb em { font-style: normal; color: #CFC4BB; }
.crumb span { color: var(--c-primary); }
.page-head__t {
  position: relative; margin-top: 10px; padding-left: 12px;
  font-size: 21px; font-weight: 800; color: var(--c-ink);
  line-height: 1.25; letter-spacing: .5px;
}
.page-head__t::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--c-primary); border-radius: 2px;
}
.page-head__s { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--c-ink-soft); }

/* ---- 页面内小标题（朱红竖线） ---- */
.sub-t {
  position: relative; margin: 18px 0 10px; padding-left: 10px;
  font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.35;
}
.sub-t::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 2px; background: var(--c-primary);
}
.cate--jade .sub-t::before { background: var(--c-jade); }

/* ---- 科室锚点跳转条 ---- */
.dept-jump {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--c-line);
}
.dept-jump a {
  display: flex; align-items: center; justify-content: center;
  height: 33px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  color: var(--c-ink-soft); background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  transition: color .2s, background-color .2s, border-color .2s;
}
.dept-jump a.is-on { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
.dept-jump a.is-on.jade { background: var(--c-jade); border-color: var(--c-jade); }

/* ---- 科室块 ---- */
.cate { padding-top: 2px; scroll-margin-top: 52px; }
.cate + .cate { border-top: 1px solid var(--c-line); }
.cate-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 13px; border-radius: 12px;
  background: var(--c-primary-bg);
}
.cate-hd--jade { background: var(--c-jade-bg); }
.cate-hd__ico {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #B2332C 0%, #8C1F1A 100%);
}
.cate-hd--jade .cate-hd__ico { background: linear-gradient(160deg, #A6744A 0%, #7E5530 100%); }
.cate-hd__ico svg {
  width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.cate-hd__txt { min-width: 0; }
.cate-hd__txt b {
  display: block; font-size: 16.5px; font-weight: 800; line-height: 1.2;
  color: var(--c-primary-dark); letter-spacing: .3px;
}
.cate-hd--jade .cate-hd__txt b { color: var(--c-jade-dark); }
.cate-hd__txt i {
  display: block; margin-top: 4px; font-style: normal;
  font-size: 11.5px; line-height: 1.4; color: #9A6A5E;
}
.cate-hd--jade .cate-hd__txt i { color: #8A6A50; }
.cate-intro {
  margin-top: 12px; font-size: 13px; line-height: 1.85;
  color: var(--c-ink-soft); text-align: justify;
}
.cate-intro strong { color: var(--c-ink); font-weight: 700; }

/* ---- 病种网格（与首页同款：白底 · 细边 · 直角） ---- */
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pill-grid a {
  display: flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 6px;
  background: #fff; border: 1px solid var(--c-line);
  font-size: 13px; color: var(--c-ink); letter-spacing: .2px;
  transition: color .18s, border-color .18s;
}
.pill-grid a:active { color: var(--c-primary); border-color: var(--c-primary-tint); }

/* ---- 诊疗特色 ---- */
.feat-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.feat-list li { display: flex; gap: 10px; }
.feat-list__n {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(158, 43, 37, .32);
  font-size: 11px; font-weight: 700; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.cate--jade .feat-list__n { color: var(--c-jade); border-color: rgba(139, 94, 60, .32); }
.feat-list__bd { min-width: 0; }
.feat-list__b { display: block; font-size: 13.5px; font-weight: 700; color: var(--c-ink); line-height: 1.5; }
.feat-list p {
  margin-top: 2px; font-size: 12.5px; line-height: 1.72;
  color: var(--c-ink-soft); text-align: justify;
}

/* 内页医生卡在白底上补一条细线，避免与背景糊在一起 */
.cate .doc-item { border: 1px solid var(--c-line); }

/* ---- 就诊指引：步骤 ---- */
.step-list { display: flex; flex-direction: column; list-style: none; }
.step-list li {
  position: relative; padding: 0 0 15px 27px;
  font-size: 12.5px; line-height: 1.7; color: var(--c-ink-soft); text-align: justify;
}
.step-list li:last-child { padding-bottom: 0; }
.step-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-primary-bg); border: 1px solid rgba(158, 43, 37, .28);
}
.step-list li::after {
  content: attr(data-i); position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; line-height: 19px; text-align: center;
  font-size: 11px; font-weight: 700; color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}
.step-list li b { display: block; font-size: 13.5px; font-weight: 700; color: var(--c-ink); margin-bottom: 1px; }

/* ---- 信息框 ---- */
.info-box {
  margin-top: 15px; padding: 12px 14px;
  background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 10px;
}
.info-box p { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.7; color: var(--c-ink-soft); }
.info-box p + p { margin-top: 4px; }
.info-box b { flex: none; width: 62px; font-weight: 400; color: var(--c-ink-faint); }
.info-box a { color: var(--c-primary); font-weight: 700; }

/* ---- 主行动按钮（拨号） ---- */
.page-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; margin-top: 15px; border-radius: 8px;
  background: var(--c-primary); color: #fff;
  font-size: 14.5px; font-weight: 700; letter-spacing: .5px;
}
.page-cta svg {
  width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.page-cta:active { background: var(--c-primary-dark); }

/* ---- 页面级免责声明 ---- */
.page-note {
  margin-top: 12px; font-size: 11px; line-height: 1.65;
  color: var(--c-ink-faint); text-align: center;
}

/* ============ 响应式（小屏微调） ============ */
@media (min-width: 361px) and (max-width: 389px) {
  .brand__emblem { width: 36px; height: 36px; }
  .brand__name b { font-size: 21px; letter-spacing: .2px; }
  .brand__name i { font-size: 5.6px; }
  .brand__sep { margin: 0 5px; }
  .brand__tel-txt b { font-size: 14px; }
}

@media (max-width: 360px) {
  .brand { padding: 7px 9px; }
  .brand__home { gap: 5px; }
  .brand__emblem { width: 32px; height: 32px; }
  .brand__name b { font-size: 19.5px; letter-spacing: .1px; }
  .brand__name i { font-size: 5.2px; margin-top: 2px; }
  .brand__sep { height: 30px; margin: 0 4px; }
  .brand__tel { gap: 4px; }
  .brand__tel-ico { width: 13px; height: 16px; }
  .brand__tel-txt { gap: 1px; }
  .brand__tel-txt i { font-size: 9px; }
  .brand__tel-txt b { font-size: 12.5px; letter-spacing: .1px; }

  .mnav a { height: 42px; font-size: 13px; letter-spacing: .2px; }

  .page-head__t { font-size: 19px; }
  .page-head__s { font-size: 11.5px; }
  .cate-hd { padding: 11px 12px; gap: 9px; }
  .cate-hd__ico { width: 38px; height: 38px; }
  .cate-hd__ico svg { width: 21px; height: 21px; }
  .cate-hd__txt b { font-size: 15.5px; }
  .cate-hd__txt i { font-size: 11px; }
  .cate-intro { font-size: 12.5px; line-height: 1.8; }
  .sub-t { font-size: 14.5px; }
  .pill-grid a { height: 36px; font-size: 12.5px; }
  .feat-list__b { font-size: 13px; }
  .feat-list p { font-size: 12px; }
  .step-list li { font-size: 12px; }
  .step-list li b { font-size: 13px; }
}

@media (max-width: 340px) {
  .brand { padding: 7px 9px; }
  .brand__emblem { width: 30px; height: 30px; }
  .brand__name b { font-size: 17.5px; letter-spacing: 0; }
  .brand__name i { font-size: 4.7px; }
  .brand__sep { height: 28px; margin: 0 4px; }
  .brand__tel-ico { width: 12px; height: 15px; }
  .brand__tel-txt i { font-size: 8.5px; }
  .brand__tel-txt b { font-size: 11.5px; }
}

/* 两大科室：超小屏收紧 */
@media (max-width: 360px) {
  .dept-tabs { gap: 8px; }
  .dept-tab { padding: 10px 7px; gap: 6px; border-radius: 10px; }
  .dept-tab__ico { width: 32px; height: 32px; }
  .dept-tab__ico svg { width: 18px; height: 18px; }
  .dept-tab__txt { gap: 3px; }
  .dept-tab__txt b { font-size: 12.5px; }
  .dept-tab__txt i { font-size: 10px; }
  .dept-panel { padding: 8px 10px 10px; }
  .dept-panel.is-on { gap: 7px; }
  .dept-panel a { height: 34px; font-size: 11.5px; }
}

/* 快捷导航 / 页脚：窄屏（380–400）微调，保证一行放得下 */
@media (max-width: 400px) {
  .footer__main { gap: 12px; }
  .footer__qr { width: 92px; }
  .footer__qr img { width: 92px; height: 92px; }
  .footer__qr p { font-size: 10px; }
  .footer__brand-txt b { font-size: 15px; }
  .footer__row { font-size: 11.8px; }
  .footer__row svg { width: 12.5px; height: 12.5px; }
}

/* 快捷导航 / 页脚：超小屏收紧 */
@media (max-width: 360px) {
  .quick-nav a { font-size: 11.5px; padding: 12px 1px 11px; gap: 4px; }
  .quick-nav svg { width: 17px; height: 17px; }

  .footer { padding: 20px 0 14px; font-size: 12px; }
  .footer__main { gap: 11px; }
  .footer__qr { width: 86px; }
  .footer__qr img { width: 86px; height: 86px; padding: 3px; }
  .footer__qr p { font-size: 10px; }
  .footer__brand-txt b { font-size: 14px; }
  .footer__brand-txt i { font-size: 7.5px; margin-top: 1px; }
  .footer__row { gap: 5px; margin-bottom: 5px; }
  .footer__row svg { width: 12px; height: 12px; }
}

/* 医生列表：窄屏收紧 */
@media (max-width: 360px) {
  .doc-list { gap: 10px; }
  .doc-item { gap: 10px; padding: 10px; }
  .doc-item__photo { width: 84px; }
  .doc-item__hd b { font-size: 15px; }
  .doc-item__hd i { font-size: 10.5px; padding: 2px 5px; }
  .doc-item__desc { font-size: 11.5px; margin-top: 6px; }
  .doc-item__acts { padding-top: 8px; gap: 7px; }
  .doc-item__acts a { height: 28px; line-height: 28px; font-size: 12px; }
}
.yyjj_01 {
    width: 26rem;
    margin: auto;
    border-bottom: solid 1px #999999;
    height: 3.3rem;
    overflow: hidden;
    position: relative;
    margin: 0.75rem auto;
}
.yyjj_01 .daohang {
    color: #404040;
    background: url(/img/20260904/bf2049d95de4cd0c54d631cf5da2e260.jpg) left center no-repeat;
    background-size: 1.1rem 0.88rem;
    padding-left: 1.5rem;
    margin-top: 1.12rem;
    margin-left: 0.75rem;
    font-size: 1rem
}
#home-depts{
    margin-top:1rem;
}
/* ============ 页内视图（纯 CSS radio 切换：首页 / 科室介绍） ============ */
/* radio 隐藏但保留可访问性，label 点击切换选中状态即切换视图 */
.route-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.view { display: block; }
/* 核心：选中态驱动显隐，纯 CSS，不依赖 JS，平台无法剥离或拦截 */
#route-home:checked ~ #view-home { display: block; }
#route-depts:checked ~ #view-depts { display: block; }
/* 以下为点击态视觉（增强，缺失不影响功能） */
.brand__home, .bbar__item, .sec-more, .crumb label { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dept-jump a { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* 子页返回首页：页头面包屑中的「首页」即返回入口，无需额外元素 */
