/* 济南复元康复医院模板样式（由 Next.js 克隆工程导出）
 * 结构：全局重置/双树切换 → 桌面树(.d-tree) → 移动树(.m-tree)
 * 生成命令：node scripts/build-anqi-assets.mjs
 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 16px/32px Montserrat, Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, SimSun, 宋体; color: #2f2f2f; background: #fff; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: inherit; }
img { border: 0; }

/* 布局工具类（源站 Tailwind/CSS Module 等价还原） */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.h-full { height: 100%; }
.min-h-full { min-height: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
html { --font-montserrat: "Montserrat", "Montserrat Fallback"; }

/* Montserrat 可变字体（400-700 一档声明，浏览器按需插值） */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap; src: url('https://liuyou-cdn.jnfykfyy.com/website/fonts/montserrat-cyrillic-ext.woff2') format('woff2'); unicode-range: U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap; src: url('https://liuyou-cdn.jnfykfyy.com/website/fonts/montserrat-cyrillic.woff2') format('woff2'); unicode-range: U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap; src: url('https://liuyou-cdn.jnfykfyy.com/website/fonts/montserrat-vietnamese.woff2') format('woff2'); unicode-range: U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap; src: url('https://liuyou-cdn.jnfykfyy.com/website/fonts/montserrat-latin-ext.woff2') format('woff2'); unicode-range: U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 700; font-display: swap; src: url('https://liuyou-cdn.jnfykfyy.com/website/fonts/montserrat-latin.woff2') format('woff2'); unicode-range: U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* 双树切换（自适应） */
.onlyDesktop { display: block; }
.onlyMobile { display: none; }
@media (max-width: 1199.98px) {
  .onlyDesktop { display: none !important; }
  .onlyMobile { display: block !important; }
}

/* 科室滚动揭示（服务端全量渲染 + JS 逐张点亮） */
.d-tree .departmentList a, .m-tree .departmentList a { opacity: 0; transform: translateY(30px); }
.m-tree .departmentList a { transform: translateY(0.2rem); }
.d-tree .departmentList a.on, .m-tree .departmentList a.on { opacity: 1; transform: none; transition: all 1s; }

/* 悬停换色兜底主题色（CMS 无逐科室颜色字段时使用，可被卡片内联 --c 覆盖） */
.d-tree .departmentList a { --c: #004da1; }

/* 轮播（无 JS 时显示第一张；JS 接管后切换） */
.carouselTrack { display: flex; height: 100%; }
.carouselTrack .slide { min-width: 100%; height: 100%; }

/* ================= 桌面树 ================= */
/* 桌面首页样式 —— 逐条对照源站 /css/809.9ab5502e.css 与 Element UI 计算样式 */
:is(.d-tree .Fuyuan, .d-tree.Fuyuan) {
  color: #2f2f2f;
  font: 16px/32px var(--font-montserrat), Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, SimSun, 宋体;
  background: #fff;
}

/* header 滚动状态包装（big/small 切换） */

/* fixed header 的 100px 流内占位（源站 .header spacer） */
:is(.d-tree .headerSpacer, .d-tree.headerSpacer) { width: 100%; height: 100px; }

:is(.d-tree .container, .d-tree.container) {
  width: 1200px;
  margin: 0 auto;
}

/* ============ Header ============ */
:is(.d-tree .header, .d-tree.header) {
  position: fixed;
  inset: 0 0 auto 0;
  box-shadow: 0 2px 5px 0 #f1f1f1;
  background: #fff;
  z-index: 99;
  transition: all 0.3s ease-in-out;
}

:is(.d-tree .headerInner, .d-tree.headerInner) {
  display: flex;
  justify-content: space-between;
}

:is(.d-tree .logo, .d-tree.logo) {
  display: block;
  transition: all 0.3s ease-in-out;
}

:is(.d-tree .headerArea, .d-tree.headerArea) {
  width: auto;
}

:is(.d-tree .headerTop, .d-tree.headerTop) {
  height: 30px;
  line-height: 30px;
  display: flex;
  justify-content: flex-end;
  transition: all 0.3s ease-in-out;
}

:is(.d-tree .headerTopItem, .d-tree.headerTopItem) {
  width: auto;
  height: 30px;
  line-height: 30px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

:is(.d-tree .headerTopItem, .d-tree.headerTopItem) img {
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
}

/* big 状态（顶部） */
:is(.d-tree .big, .d-tree.big) .header { height: 130px; }
:is(.d-tree .big, .d-tree.big) .logo { width: 217px; height: 83px; margin-top: 24px; }
:is(.d-tree .big, .d-tree.big) .headerTop { margin-top: 26px; }
:is(.d-tree .big, .d-tree.big) .headerTopItem { font-size: 20px; }
:is(.d-tree .big, .d-tree.big) .headerTopItem img { width: 30px; height: 30px; }
:is(.d-tree .big, .d-tree.big) .menu { margin-top: 18px; }

/* small 状态（滚动后） */
:is(.d-tree .small, .d-tree.small) .header { height: 90px; }
:is(.d-tree .small, .d-tree.small) .logo { width: 183px; height: 70px; margin-top: 10px; }
:is(.d-tree .small, .d-tree.small) .headerTop { margin-top: 8px; }
:is(.d-tree .small, .d-tree.small) .headerTopItem { font-size: 18px; }
:is(.d-tree .small, .d-tree.small) .headerTopItem img { width: 26px; height: 26px; }
:is(.d-tree .small, .d-tree.small) .menu { margin-top: 2px; }

/* 菜单 */
:is(.d-tree .menu, .d-tree.menu) {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

:is(.d-tree .menu, .d-tree.menu) > li {
  position: relative;
  height: 44px;
  line-height: 41px;
  color: #000;
}

:is(.d-tree .menu, .d-tree.menu) > li > a,

:is(.d-tree .submenuTitle, .d-tree.submenuTitle) {
  display: block;
  padding: 0 20px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

:is(.d-tree .submenuTitle, .d-tree.submenuTitle) {
  line-height: 43px;
  display: flex;
  align-items: center;
  gap: 4px;
}

:is(.d-tree .submenuTitle, .d-tree.submenuTitle) svg {
  width: 12px;
  height: 12px;
  color: #909399;
  transition: transform 0.2s;
}

:is(.d-tree .menu, .d-tree.menu) > li:hover > a,

:is(.d-tree .menu, .d-tree.menu) > li:hover .submenuTitle {
  color: #303133;
}

/* hover 下拉弹层 */
:is(.d-tree .popup, .d-tree.popup) {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  margin: 0;
  list-style: none;
  z-index: 100;
  display: none;
}

:is(.d-tree .menu, .d-tree.menu) > li:hover .popup {
  display: block;
}

:is(.d-tree .popup, .d-tree.popup) a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

:is(.d-tree .popup, .d-tree.popup) a:hover {
  background: #ecf5ff;
}

/* 语言开关（视觉复刻 el-switch 40px 红） */
:is(.d-tree .langSwitch, .d-tree.langSwitch) {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-left: 0;
  font-size: inherit;
  gap: 0;
}

:is(.d-tree .langLabel, .d-tree.langLabel) {
  font-size: 13px;
  color: #606266;
  transition: color 0.2s;
}

:is(.d-tree .langLabelActive, .d-tree.langLabelActive) { color: #de2810; }

:is(.d-tree .langCore, .d-tree.langCore) {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  background: #de2810;
  position: relative;
  margin: 0 6px;
  transition: background 0.3s;
}

:is(.d-tree .langCore, .d-tree.langCore)::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

:is(.d-tree .langSwitch, .d-tree.langSwitch)[data-lang="en"] .langCore::after {
  transform: translateX(20px);
}

/* hover popover（二维码/电话）—— Element UI el-popover 复刻：白底 4px 圆角、
   阴影、12px 间距、指向箭头、0.3s 淡入 */
:is(.d-tree .popRef, .d-tree.popRef) { position: relative; display: inline-flex; }

:is(.d-tree .popover, .d-tree.popover) {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  /* ponytail: left:50% 定位下 shrink-to-fit 可用宽=包含块-50%偏移，会把气泡压成窄条；
     max-content 让宽度按内容算，不受可用宽限制 */
  width: max-content;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 2000;
}

:is(.d-tree .popRef, .d-tree.popRef):hover .popover {
  opacity: 1;
  visibility: visible;
}

/* 箭头（下方弹出的 popover，箭头在顶部指向参考元素） */
:is(.d-tree .popover, .d-tree.popover)::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}

/* 上方弹出（footer 微信图标用）：popover 在参考元素上方，箭头在底部 */
:is(.d-tree .popoverTop, .d-tree.popoverTop) {
  top: auto;
  bottom: calc(100% + 12px);
}

:is(.d-tree .popoverTop, .d-tree.popoverTop)::after {
  top: auto;
  bottom: -5px;
}

/* ponytail: 加 .popRef 提特异性，防止被 .footerIcons img 等后代 img 尺寸规则覆盖 */
:is(.d-tree .popRef, .d-tree.popRef) .popover img.qr { width: 119px; height: 119px; display: block; }

:is(.d-tree .popover, .d-tree.popover) .telLine {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #2f2f2f;
  white-space: nowrap;
}

:is(.d-tree .popover, .d-tree.popover) .telLine img { margin-right: 8px; }

/* ============ 轮播 ============ */
:is(.d-tree .carousel, .d-tree.carousel) {
  position: relative;
  width: 100%;
  height: 840px;
  overflow: hidden;
}

:is(.d-tree .carouselTrack, .d-tree.carouselTrack) {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

:is(.d-tree .slide, .d-tree.slide) {
  min-width: 100%;
  height: 840px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 1920px 840px;
}

:is(.d-tree .slide, .d-tree.slide) a {
  display: block;
  width: 100%;
  height: 100%;
}

:is(.d-tree .carouselIndicators, .d-tree.carouselIndicators) {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

:is(.d-tree .carouselIndicators, .d-tree.carouselIndicators) li {
  padding: 12px 4px;
}

:is(.d-tree .carouselIndicators, .d-tree.carouselIndicators) button {
  display: block;
  width: 30px;
  height: 2px;
  border: 0;
  padding: 0;
  background: #fff;
  opacity: 0.48;
  cursor: pointer;
}

:is(.d-tree .carouselIndicators, .d-tree.carouselIndicators) li.active button { opacity: 1; }

:is(.d-tree .carouselArrow, .d-tree.carouselArrow) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 45, 61, 0.11);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}

:is(.d-tree .carouselArrow, .d-tree.carouselArrow).left { left: 16px; }
:is(.d-tree .carouselArrow, .d-tree.carouselArrow).right { right: 16px; }
:is(.d-tree .carousel, .d-tree.carousel):hover .carouselArrow { opacity: 1; }

/* ============ 通用 section ============ */
:is(.d-tree .section, .d-tree.section) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - 130px);
}

:is(.d-tree .sectionContainer, .d-tree.sectionContainer) { padding: 50px 0; }

:is(.d-tree .sectionTitle, .d-tree.sectionTitle) {
  height: 56px;
  line-height: 56px;
  margin: 0;
  text-align: center;
}

:is(.d-tree .sectionTitle, .d-tree.sectionTitle) span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 400;
  color: #2f2f2f;
}

:is(.d-tree .sectionTitle, .d-tree.sectionTitle) span::before,

:is(.d-tree .sectionTitle, .d-tree.sectionTitle) span::after {
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #2f2f2f;
  content: "";
}

:is(.d-tree .sectionTitle, .d-tree.sectionTitle) span::before { margin-right: 20px; }
:is(.d-tree .sectionTitle, .d-tree.sectionTitle) span::after { margin-left: 20px; }

:is(.d-tree .sectionSubtitle, .d-tree.sectionSubtitle) {
  height: 25px;
  line-height: 25px;
  margin: 0 0 60px 0;
  font-size: 18px;
  color: #aaa;
  letter-spacing: 1px;
  text-align: center;
}

/* ============ 特色科室 ============ */
:is(.d-tree .departmentSection, .d-tree.departmentSection) {
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/department-back.jpg") no-repeat top #f3f3f4;
}

:is(.d-tree .departmentList, .d-tree.departmentList) {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  min-height: 488px;
}

:is(.d-tree .departmentList, .d-tree.departmentList) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(20% - 16px);
  height: 224px;
  margin: 0 0 20px 20px;
  border-radius: 10px;
  text-align: center;
  background-color: #fff;
  text-decoration: none;
  animation: deptEnter-d 1s ease both;
}

:is(.d-tree .departmentList, .d-tree.departmentList) a:nth-child(5n + 1) { margin-left: 0; }

/* 悬停：换科室主题色背景 + 白色图标 + 白字（源站 mode=white 行为，瞬时切换） */
:is(.d-tree .departmentList, .d-tree.departmentList) a:hover { background-color: var(--c); }

@keyframes deptEnter-d {
  from { transform: translateY(30px); opacity: 0; }
  to { opacity: 1; }
}

:is(.d-tree .deptIcon, .d-tree.deptIcon) {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 30px 0 20px 0;
}

:is(.d-tree .deptIcon, .d-tree.deptIcon) img {
  position: absolute;
  inset: 0;
  width: 80px;
  height: 80px;
}

:is(.d-tree .deptIcon, .d-tree.deptIcon) .iconWhite { opacity: 0; }
:is(.d-tree .departmentList, .d-tree.departmentList) a:hover .iconWhite { opacity: 1; }
:is(.d-tree .departmentList, .d-tree.departmentList) a:hover .iconColor { opacity: 0; }

:is(.d-tree .departmentList, .d-tree.departmentList) .first {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  margin-bottom: 4px;
  font-size: 20px;
  color: #2f2f2f;
}

:is(.d-tree .departmentList, .d-tree.departmentList) .second {
  display: inline-block;
  height: 20px;
  line-height: 20px;
  margin-bottom: 40px;
  font-size: 16px;
  color: #666;
}

:is(.d-tree .departmentList, .d-tree.departmentList) a:hover .first { color: #fff; }
:is(.d-tree .departmentList, .d-tree.departmentList) a:hover .second { color: #f1f1f1; }

/* ============ 特色科室列表页（departmentsPage）专属：与首页相反，默认科室主题色 + 白图标白字，悬停变白底彩图标深字 ============ */
.d-tree.departmentsPage .departmentList a { background-color: var(--c); }
.d-tree.departmentsPage .departmentList a:hover { background-color: #fff; }
.d-tree.departmentsPage .departmentList .deptIcon .iconWhite { opacity: 1; }
.d-tree.departmentsPage .departmentList .deptIcon .iconColor { opacity: 0; }
.d-tree.departmentsPage .departmentList a:hover .deptIcon .iconWhite { opacity: 0; }
.d-tree.departmentsPage .departmentList a:hover .deptIcon .iconColor { opacity: 1; }
.d-tree.departmentsPage .departmentList .first { color: #fff; }
.d-tree.departmentsPage .departmentList .second { color: #f1f1f1; }
.d-tree.departmentsPage .departmentList a:hover .first { color: #2f2f2f; }
.d-tree.departmentsPage .departmentList a:hover .second { color: #666; }

/* ============ 查看更多按钮（el-button default medium） ============ */
:is(.d-tree .more, .d-tree.more) {
  margin-top: 10px;
  text-align: center;
}

:is(.d-tree .more, .d-tree.more) button {
  width: 180px;
  height: 50px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: #606266;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.1s;
}

:is(.d-tree .more, .d-tree.more) button:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

/* ============ 用户服务 ============ */
:is(.d-tree .serviceSection, .d-tree.serviceSection) {
  justify-content: flex-start;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/service-back.jpg") no-repeat top;
}

:is(.d-tree .serviceSection, .d-tree.serviceSection) .sectionTitle span { color: #fff; }
:is(.d-tree .serviceSection, .d-tree.serviceSection) .sectionTitle span::before,
:is(.d-tree .serviceSection, .d-tree.serviceSection) .sectionTitle span::after { background-color: #fff; }

:is(.d-tree .serviceShow, .d-tree.serviceShow) {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

:is(.d-tree .serviceTabs, .d-tree.serviceTabs) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 220px;
  margin-right: 30px;
}

:is(.d-tree .serviceTab, .d-tree.serviceTab) {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
  padding-left: 25px;
  border-radius: 10px;
  color: #999;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  font: inherit;
  text-align: left;
}

:is(.d-tree .serviceTab, .d-tree.serviceTab):last-child { margin-bottom: 0; }

:is(.d-tree .serviceTab, .d-tree.serviceTab) img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
}

:is(.d-tree .serviceTab, .d-tree.serviceTab)::before {
  position: absolute;
  left: 0;
  width: 8px;
  height: 100%;
  background-color: #fff;
  content: "";
}

:is(.d-tree .serviceTab, .d-tree.serviceTab).current { color: #000; }
/* 原站行为：左色条仅在选中时显示颜色，未选中为白色 */
:is(.d-tree .serviceTab, .d-tree.serviceTab).current.tabDoctor::before { background-color: #eda01f; }
:is(.d-tree .serviceTab, .d-tree.serviceTab).current.tabReservation::before { background-color: #257fbc; }
:is(.d-tree .serviceTab, .d-tree.serviceTab).current.tabTransportation::before { background-color: #31a888; }
:is(.d-tree .serviceTab, .d-tree.serviceTab).current.tabInsurance::before { background-color: #5c66ad; }

:is(.d-tree .serviceRight, .d-tree.serviceRight) { flex: 1; }

/* 医生列表 */
:is(.d-tree .doctorList, .d-tree.doctorList) {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

:is(.d-tree .doctorList, .d-tree.doctorList) a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(25% - 11.25px);
  height: 320px;
  margin: 0 0 15px 15px;
  border-radius: 10px;
  color: #2f2f2f;
  overflow: hidden;
  text-decoration: none;
}

:is(.d-tree .doctorList, .d-tree.doctorList) a:nth-child(4n + 1) { margin-left: 0; }

:is(.d-tree .doctorImg, .d-tree.doctorImg) {
  position: relative;
  width: 100%;
  padding-top: 133.33%;
}

:is(.d-tree .doctorImg, .d-tree.doctorImg) img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

:is(.d-tree .doctorText, .d-tree.doctorText) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 15px;
  background: #fff;
  transition: all 0.3s;
}

:is(.d-tree .doctorPart1, .d-tree.doctorPart1) {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}

:is(.d-tree .doctorName, .d-tree.doctorName) {
  line-height: 20px;
  font-size: 20px;
  margin-right: 15px;
}

:is(.d-tree .doctorPart2, .d-tree.doctorPart2) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 10px 0;
}

:is(.d-tree .doctorLine, .d-tree.doctorLine) {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #2f2f2f;
  transition: background-color 0.3s;
}

:is(.d-tree .doctorPart3, .d-tree.doctorPart3) {
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(.d-tree .doctorList, .d-tree.doctorList) a:hover { color: #fff; }
:is(.d-tree .doctorList, .d-tree.doctorList) a:hover .doctorText { background-color: #004da1; }
:is(.d-tree .doctorList, .d-tree.doctorList) a:hover .doctorLine { background-color: #fff; }

/* 左侧 tab 列占 220px + 间距 30px，负 margin 把可居中区域扩回 1200px 容器，与科室/资讯按钮对齐 */
:is(.d-tree .doctorMore, .d-tree.doctorMore) { margin-top: 30px; margin-left: -250px; }

/* 预约表单 */
:is(.d-tree .reservation, .d-tree.reservation) {
  width: 100%;
  min-height: 460px;
  padding: 60px 30px 30px 30px;
  border-radius: 10px;
  background-color: #fff;
}

:is(.d-tree .reservationForm, .d-tree.reservationForm) {
  width: 600px;
  margin: 0 auto;
}

:is(.d-tree .formItem, .d-tree.formItem) {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
}

:is(.d-tree .formLabel, .d-tree.formLabel) {
  width: 120px;
  line-height: 40px;
  text-align: right;
  padding-right: 12px;
  color: #606266;
  font-size: 14px;
  flex-shrink: 0;
}

:is(.d-tree .formControl, .d-tree.formControl) {
  flex: 1;
}

:is(.d-tree .textarea, .d-tree.textarea) {
  display: block;
  width: 100%;
  min-height: 112px;
  padding: 10px 15px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  resize: vertical;
}

:is(.d-tree .textarea, .d-tree.textarea):focus { border-color: #004da1; }

:is(.d-tree .input, .d-tree.input),

:is(.d-tree .select, .d-tree.select),

:is(.d-tree .dateInput, .d-tree.dateInput) {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font: 14px/40px inherit;
  color: #606266;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

:is(.d-tree .input, .d-tree.input):focus,

:is(.d-tree .select, .d-tree.select):focus,

:is(.d-tree .dateInput, .d-tree.dateInput):focus {
  border-color: #004da1;
}

:is(.d-tree .select, .d-tree.select) {
  appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23606266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

:is(.d-tree .dateInput, .d-tree.dateInput) {
  color-scheme: light;
  cursor: pointer;
}
:is(.d-tree .dateInput, .d-tree.dateInput)::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; }

:is(.d-tree .select, .d-tree.select):disabled { color: #a8abb2; background-color: #f5f7fa; cursor: not-allowed; }

:is(.d-tree .submitWrap, .d-tree.submitWrap) { text-align: right; }

:is(.d-tree .submitBtn, .d-tree.submitBtn) {
  width: calc(100% - 120px);
  height: 40px;
  color: #fff;
  background-color: #004da1;
  border: 1px solid #004da1;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

:is(.d-tree .submitBtn, .d-tree.submitBtn):hover { opacity: 0.9; }

:is(.d-tree .reservationNote, .d-tree.reservationNote) {
  margin-top: 10px;
  padding-left: 120px;
  font-size: 14px;
  color: rgb(255, 102, 0);
}

.d-tree [data-reservation-captcha][hidden],
.m-tree [data-reservation-captcha][hidden] {
  display: none !important;
}

:is(.d-tree .captchaControl, .d-tree.captchaControl) {
  display: flex;
  align-items: center;
  gap: 8px;
}

:is(.d-tree .captchaControl img, .d-tree.captchaControl img) {
  width: 110px;
  height: 40px;
  object-fit: contain;
  cursor: pointer;
}

:is(.d-tree .captchaControl button, .d-tree.captchaControl button) {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #004da1;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

:is(.d-tree .reservationDone, .d-tree.reservationDone) {
  padding: 60px 0;
  text-align: center;
  color: #004da1;
  font-size: 18px;
}

/* 交通指南 */
:is(.d-tree .transportation, .d-tree.transportation) {
  width: 100%;
  min-height: 460px;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(50% - 15px);
  padding: 10px 0;
  background-color: rgba(0, 77, 161, 0.05);
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) img {
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
  border: 1px solid #999;
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) span {
  line-height: 20px;
  font-size: 18px;
  color: #2f2f2f;
}

:is(.d-tree .transportTip, .d-tree.transportTip) {
  margin: 10px 0 15px 0;
  font-size: 14px;
  color: #2f2f2f;
}

:is(.d-tree .transportTip, .d-tree.transportTip) b { color: #004da1; font-weight: 600; }

:is(.d-tree .transportSection, .d-tree.transportSection) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:is(.d-tree .transportLeft, .d-tree.transportLeft) {
  width: 150px;
  line-height: 50px;
  margin-right: 60px;
  font-size: 20px;
  font-weight: 600;
  color: #004da1;
}

:is(.d-tree .transportIcon, .d-tree.transportIcon) {
  float: left;
  width: 67px;
  height: 50px;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 2px solid #004da1;
}

:is(.d-tree .transportIcon, .d-tree.transportIcon) img { width: 50px; height: 50px; }

:is(.d-tree .transportRight, .d-tree.transportRight) {
  flex: 1;
  line-height: 24px;
  font-size: 16px;
  padding: 10px 0;
}

:is(.d-tree .transportRight, .d-tree.transportRight) p { margin: 5px 0; }
:is(.d-tree .transportRight, .d-tree.transportRight) ul { margin: 5px 0; padding-left: 20px; }

:is(.d-tree .routeTable, .d-tree.routeTable) {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

:is(.d-tree .routeTable, .d-tree.routeTable) td {
  border-bottom: none;
  border-left: none;
  border-right: 1px solid #d6d6d6;
  border-top: none;
  height: 40px;
  padding: 9px 18px;
  overflow: hidden;
}

:is(.d-tree .routeTable, .d-tree.routeTable) td:last-child { border-right: none; }

/* 商保服务 */
:is(.d-tree .insurance, .d-tree.insurance) {
  width: 100%;
  min-height: 460px;
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
}

:is(.d-tree .insurance, .d-tree.insurance) figure { margin: 0; }

:is(.d-tree .insurance, .d-tree.insurance) img {
  display: block;
  max-width: 100%;
}

/* ============ 活动资讯 ============ */
:is(.d-tree .newsSection, .d-tree.newsSection) {
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/news-back.jpg") no-repeat top;
  background-size: cover;
}

:is(.d-tree .newsShow, .d-tree.newsShow) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

:is(.d-tree .newsCard, .d-tree.newsCard) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 292px;
  height: 372px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #2f2f2f;
}

:is(.d-tree .newsThumbnail, .d-tree.newsThumbnail) {
  width: 100%;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  transition: all 0.3s;
}

:is(.d-tree .newsText, .d-tree.newsText) {
  flex: 1;
  width: 100%;
  padding: 0 10px;
  color: #2f2f2f;
  background-color: #fff;
  transition: all 0.3s;
}

:is(.d-tree .newsSign, .d-tree.newsSign) {
  height: 80px;
  line-height: 80px;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s;
}

:is(.d-tree .newsSummary, .d-tree.newsSummary) {
  height: 44px;
  line-height: 22px;
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

:is(.d-tree .newsBottom, .d-tree.newsBottom) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 12px;
  line-height: 12px;
  margin-top: 20px;
  font-size: 12px;
}

:is(.d-tree .newsBottom, .d-tree.newsBottom) img { width: 30px; height: 11px; }

:is(.d-tree .newsCard, .d-tree.newsCard):hover .newsThumbnail { padding-top: 75%; }
:is(.d-tree .newsCard, .d-tree.newsCard):hover .newsText { color: #fff; background-color: #004da1; }
:is(.d-tree .newsCard, .d-tree.newsCard):hover .newsSign { height: 60px; line-height: 60px; }

:is(.d-tree .newsMore, .d-tree.newsMore) { margin-top: 30px; text-align: center; }

/* ============ 二维码横幅 ============ */
:is(.d-tree .qrcodeBanner, .d-tree.qrcodeBanner) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 220px;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/qrcode-back.jpg") no-repeat top;
}

:is(.d-tree .qrcodeBanner, .d-tree.qrcodeBanner) .qrBox {
  width: 110px;
  height: 110px;
  margin-top: 35px;
  padding: 4px;
  background-color: #fff;
}

:is(.d-tree .qrcodeBanner, .d-tree.qrcodeBanner) img { width: 100%; height: 100%; }

:is(.d-tree .qrcodeBanner, .d-tree.qrcodeBanner) h2 {
  height: 24px;
  line-height: 24px;
  margin: 20px 0 0 0;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
}

/* ============ Footer ============ */
:is(.d-tree .footer, .d-tree.footer) {
  height: 310px;
  padding-top: 50px;
  border-top: 1px solid #a2a2a2;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/footer-back.png") no-repeat top;
  box-sizing: border-box;
}

:is(.d-tree .footerContainer, .d-tree.footerContainer) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

:is(.d-tree .footerMenu, .d-tree.footerMenu) {
  display: flex;
  justify-content: flex-start;
  width: auto;
}

:is(.d-tree .footerMenu, .d-tree.footerMenu) section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 30px;
}

:is(.d-tree .footerMenu, .d-tree.footerMenu) section:first-child { margin-left: 0; }

:is(.d-tree .footerTitle, .d-tree.footerTitle) {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  margin-bottom: 26px;
  font-size: 20px;
  color: #2f2f2f;
}

:is(.d-tree .footerLink, .d-tree.footerLink) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 22px;
  line-height: 22px;
  margin-bottom: 18px;
  font-size: 16px;
  color: #666;
  text-decoration: none;
}

:is(.d-tree .footerLink, .d-tree.footerLink) img {
  width: 18px;
  height: 18px;
  margin: 2px 5px 0 0;
}

a.footerLink:hover { color: #257fbd; }

:is(.d-tree .footerIcons, .d-tree.footerIcons) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 36px;
  line-height: 36px;
  margin-top: 2px;
}

:is(.d-tree .footerIcons, .d-tree.footerIcons) .item {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  margin-right: 16px;
}

:is(.d-tree .footerIcons, .d-tree.footerIcons) img {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

:is(.d-tree .footerLine, .d-tree.footerLine) {
  width: 1px;
  height: 190px;
  background-color: #d2d2d2;
  /* ponytail: 列数多于源站时 space-between 会把线压到 logo 旁，用固定 margin 保住两侧呼吸感 */
  margin: 0 40px;
}

:is(.d-tree .footerLogo, .d-tree.footerLogo) {
  width: 252px;
  height: 97px;
}

:is(.d-tree .footerLogo, .d-tree.footerLogo) img { width: 100%; height: 100%; }

/* ============ 浮动条 ============ */
:is(.d-tree .floatBar, .d-tree.floatBar) {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 99999;
}

:is(.d-tree .floatItem, .d-tree.floatItem) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 77, 161, 0.6);
  color: #fff;
  cursor: pointer;
  border: 0;
  font: inherit;
  position: relative;
}

:is(.d-tree .floatItem, .d-tree.floatItem) svg {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}

:is(.d-tree .floatItem, .d-tree.floatItem) b {
  display: inline-block;
  height: 14px;
  line-height: 14px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}

:is(.d-tree .floatItem, .d-tree.floatItem).service { background-color: #eda01f; }
:is(.d-tree .floatItem, .d-tree.floatItem).service:hover { background-color: #ffc23f; }
:is(.d-tree .floatItem, .d-tree.floatItem).tel { background-color: #257fbd; }
:is(.d-tree .floatItem, .d-tree.floatItem).tel:hover { background-color: #479fdf; }
:is(.d-tree .floatItem, .d-tree.floatItem).weixin { background-color: #31a188; }
:is(.d-tree .floatItem, .d-tree.floatItem).weixin:hover { background-color: #53c3aa; }
:is(.d-tree .floatItem, .d-tree.floatItem).guahao { background-color: #65c8f1; }
:is(.d-tree .floatItem, .d-tree.floatItem).guahao:hover { background-color: #87eaf3; }
:is(.d-tree .floatItem, .d-tree.floatItem).top { background-color: #8a8a8a; }
:is(.d-tree .floatItem, .d-tree.floatItem).top:hover { background-color: #acacac; }

:is(.d-tree .floatBar, .d-tree.floatBar) .popRef { display: flex; }

:is(.d-tree .floatPopover, .d-tree.floatPopover) {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  /* ponytail: right 定位下 shrink-to-fit 可用宽为 0，电话行靠 nowrap 撑住、二维码 img 会被压垮 */
  width: max-content;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 2000;
}

:is(.d-tree .floatBar, .d-tree.floatBar) .popRef:hover .floatPopover {
  opacity: 1;
  visibility: visible;
}

/* 箭头（左侧弹出，箭头在右缘指向按钮） */
:is(.d-tree .floatPopover, .d-tree.floatPopover)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}

:is(.d-tree .floatPopover, .d-tree.floatPopover) img.qr { width: 119px; height: 119px; display: block; }

:is(.d-tree .floatPopover, .d-tree.floatPopover) .telLine {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #2f2f2f;
  white-space: nowrap;
}

:is(.d-tree .floatPopover, .d-tree.floatPopover) .telLine img { margin-right: 8px; }

/* 桌面子页样式 —— 对照源站 chunk 312/262/563/900/131/532/294/636/201/580/833/396/719/674/930/365 专属段 */

/* 容器（子页用自己的 container，使 .xxxPage .container 组合规则生效；
   跨 CSS Module 组合的类哈希不同，引用 home 模块的 container 会导致全部失配） */
:is(.d-tree .container, .d-tree.container) {
  width: 1200px;
  margin: 0 auto;
}

/* ============ 子页 Banner（350px，图 min-width 1920 居中） ============ */
:is(.d-tree .banner, .d-tree.banner) {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #f3f3f4;
}

:is(.d-tree .banner, .d-tree.banner) img {
  min-width: 1920px;
  height: 350px;
  object-fit: cover;
}

/* ============ 面包屑（.position） ============ */
:is(.d-tree .position, .d-tree.position) {
  height: 30px;
  line-height: 30px;
  margin: 30px 0 40px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

:is(.d-tree .position, .d-tree.position) > img {
  margin-right: 16px;
}

:is(.d-tree .breadcrumb, .d-tree.breadcrumb) {
  display: flex;
  align-items: center;
  height: 16.5px;
  line-height: 16.5px;
  font-size: 16px;
  color: #303133;
}

:is(.d-tree .crumbItem, .d-tree.crumbItem) {
  display: flex;
  align-items: center;
}

:is(.d-tree .crumbLink, .d-tree.crumbLink) {
  color: #303133;
  text-decoration: none;
  font-weight: 400;
}

:is(.d-tree .crumbLink, .d-tree.crumbLink):hover { color: #004da1; }

:is(.d-tree .crumbCurrent, .d-tree.crumbCurrent) {
  color: #303133;
}

:is(.d-tree .crumbSep, .d-tree.crumbSep) {
  margin: 0 9px;
  color: #c0c4cc;
  font-style: normal;
  display: flex;
  align-items: center;
}

/* ============ 页面标题（.caption：h2 + h3） ============ */
:is(.d-tree .caption, .d-tree.caption) h2 {
  height: 56px;
  line-height: 56px;
  margin: 0;
  text-align: center;
}

:is(.d-tree .caption, .d-tree.caption) h2 span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 400;
  color: #2f2f2f;
}

:is(.d-tree .caption, .d-tree.caption) h2 span::before,

:is(.d-tree .caption, .d-tree.caption) h2 span::after {
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #2f2f2f;
  content: "";
}

:is(.d-tree .caption, .d-tree.caption) h2 span::before { margin-right: 20px; }
:is(.d-tree .caption, .d-tree.caption) h2 span::after { margin-left: 20px; }

:is(.d-tree .caption, .d-tree.caption) h3 {
  height: 25px;
  line-height: 25px;
  margin: 0 0 40px 0;
  font-size: 18px;
  color: #aaa;
  letter-spacing: 1px;
  text-align: center;
}

/* 富文本容器通用 */
:is(.d-tree .rich, .d-tree.rich) {
  line-height: 34px;
  font-size: 16px;
  color: #2f2f2f;
  word-break: break-word;
}

:is(.d-tree .rich, .d-tree.rich) img {
  max-width: 100%;
  height: auto;
}

:is(.d-tree .rich, .d-tree.rich) p { margin: 0 0 10px; }
:is(.d-tree .rich, .d-tree.rich) ul,
:is(.d-tree .rich, .d-tree.rich) ol { margin: 10px 0; padding-left: 20px; }
:is(.d-tree .rich, .d-tree.rich) table { max-width: 100%; }

/* ============ 科室列表页 ============ */
:is(.d-tree .departmentsPage, .d-tree.departmentsPage) { background-color: #f3f3f4; }
:is(.d-tree .departmentsPage, .d-tree.departmentsPage) > .container { margin-bottom: 80px; }

/* ============ 科室详情页 ============ */
:is(.d-tree .departmentDetail, .d-tree.departmentDetail) > .container { margin-bottom: 80px; }

:is(.d-tree .deptPart1, .d-tree.deptPart1) {
  width: 100%;
  height: auto;
  min-height: 410px;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) > img.illustration {
  float: left;
  margin-right: 50px;
  width: 650px;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) h1 {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: calc(100% - 700px);
  line-height: 70px;
  margin: 0 0 30px 0;
  padding-bottom: 20px;
  border-bottom: 2px solid #dedede;
  font-family: Impact, var(--font-montserrat), sans-serif;
  font-size: 70px;
  font-weight: 600;
  color: #004da1;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) h1 .number {
  height: 70px;
  line-height: 70px;
  font-size: 70px;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) h1 img {
  width: 25px;
  height: 57px;
  margin: 7px 8px 0 10px;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) h1 .sign {
  height: 30px;
  line-height: 30px;
  margin-top: 30px;
  font-size: 30px;
}

:is(.d-tree .deptPart1, .d-tree.deptPart1) .intro {
  line-height: 34px;
  /* ponytail: 普通块不避让浮动插图，块盒起点在插图后 → 行框无处排、文字全掉到插图下方；
     margin-left 把块盒推到插图右列，超出插图高度的文字自然环绕回全宽 */
  margin-left: 700px;
  width: calc(100% - 700px);
}

:is(.d-tree .deptSection, .d-tree.deptSection) { height: auto; }

:is(.d-tree .deptSection, .d-tree.deptSection) h2 {
  height: 56px;
  line-height: 56px;
  margin: 60px 0 40px 0;
  text-align: center;
}

:is(.d-tree .deptSection, .d-tree.deptSection) h2 span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
  color: #2f2f2f;
}

:is(.d-tree .deptSection, .d-tree.deptSection) h2 span::before,

:is(.d-tree .deptSection, .d-tree.deptSection) h2 span::after {
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #2f2f2f;
  content: "";
}

:is(.d-tree .deptSection, .d-tree.deptSection) h2 span::before { margin-right: 20px; }
:is(.d-tree .deptSection, .d-tree.deptSection) h2 span::after { margin-left: 20px; }

/* 科室医生 5 列（复用 doctors-list 结构） */
:is(.d-tree .docGrid, .d-tree.docGrid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

:is(.d-tree .docGrid, .d-tree.docGrid) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(20% - 20px);
  height: auto;
  margin: 0 0 50px 25px;
  text-decoration: none;
  color: inherit;
}

:is(.d-tree .docGrid, .d-tree.docGrid) a:nth-child(5n + 1) { margin-left: 0; }

:is(.d-tree .docGrid, .d-tree.docGrid) .img {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 133.33%;
}

:is(.d-tree .docGrid, .d-tree.docGrid) .img img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

:is(.d-tree .docGrid, .d-tree.docGrid) .name {
  height: 28px;
  line-height: 28px;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:is(.d-tree .docGrid, .d-tree.docGrid) .title {
  height: 22px;
  line-height: 22px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:is(.d-tree .docGrid, .d-tree.docGrid) a:hover .img img { transform: scale(1.05); }

/* ============ 医生列表页 ============ */
:is(.d-tree .doctorsPage, .d-tree.doctorsPage) > .container { margin-bottom: 80px; }

:is(.d-tree .filterForm, .d-tree.filterForm) {
  height: 40px;
  margin-bottom: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

:is(.d-tree .filterLabel, .d-tree.filterLabel) {
  font-size: 14px;
  color: #606266;
  margin-right: 6px;
}

:is(.d-tree .filterSelect, .d-tree.filterSelect) {
  width: 200px;
  height: 40px;
  line-height: 40px;
  padding: 0 30px 0 15px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font: 14px/40px inherit;
  color: #606266;
  background: #fff;
  appearance: none;
  outline: none;
  cursor: pointer;
}

:is(.d-tree .filterInput, .d-tree.filterInput) {
  width: 200px;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font: 14px/40px inherit;
  color: #606266;
  outline: none;
}

:is(.d-tree .filterBtn, .d-tree.filterBtn) {
  height: 40px;
  padding: 0 20px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font: 14px/1 inherit;
  cursor: pointer;
}

:is(.d-tree .filterBtn, .d-tree.filterBtn):hover {
  color: #004da1;
  border-color: #004da1;
}

/* 医生卡（列表页：name 行内含 title + hospital） */
:is(.d-tree .doctorsList, .d-tree.doctorsList) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(20% - 20px);
  height: auto;
  margin: 0 0 50px 25px;
  text-decoration: none;
  color: inherit;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) a:nth-child(5n + 1) { margin-left: 0; }

:is(.d-tree .doctorsList, .d-tree.doctorsList) .img {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 133.33%;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) .img img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) .name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  height: 28px;
  line-height: 28px;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #2f2f2f;
  white-space: nowrap;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) .name .nameCn { font-size: 20px; font-weight: 600; }

:is(.d-tree .doctorsList, .d-tree.doctorsList) .name .titleInline {
  margin-left: 5px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) .hospital {
  width: 100%;
  height: 22px;
  line-height: 22px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

:is(.d-tree .doctorsList, .d-tree.doctorsList) a:hover .img img { transform: scale(1.05); }

/* ============ 医生详情页 ============ */
:is(.d-tree .doctorDetail, .d-tree.doctorDetail) > .container { margin-bottom: 80px; overflow: hidden; }

:is(.d-tree .doctorShow, .d-tree.doctorShow) {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: auto;
}

:is(.d-tree .doctorLeft, .d-tree.doctorLeft) {
  width: 360px;
  margin-right: 30px;
  flex-shrink: 0;
}

:is(.d-tree .doctorPhoto, .d-tree.doctorPhoto) {
  width: 360px;
  height: 480px;
  border-radius: 10px;
  overflow: hidden;
}

:is(.d-tree .doctorPhoto, .d-tree.doctorPhoto) img { width: 100%; height: 100%; object-fit: cover; }

:is(.d-tree .doctorContent, .d-tree.doctorContent) { flex: 1; min-width: 0; }

:is(.d-tree .doctorContent, .d-tree.doctorContent) h1 {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin: 0 0 25px 0;
  padding: 0 0 20px 0;
  border-bottom: 2px solid #dedede;
  color: #004da1;
}

:is(.d-tree .doctorContent, .d-tree.doctorContent) h1 .name {
  position: relative;
  height: 42px;
  line-height: 42px;
  padding-left: 14px;
  font-size: 30px;
  font-weight: 600;
}

:is(.d-tree .doctorContent, .d-tree.doctorContent) h1 .name::before {
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 30px;
  border-radius: 100px;
  background: #004da1;
  content: "";
}

:is(.d-tree .doctorContent, .d-tree.doctorContent) h1 .title {
  height: 33px;
  line-height: 33px;
  margin-left: 20px;
  font-size: 20px;
  font-weight: 500;
}

:is(.d-tree .doctorTags, .d-tree.doctorTags) {
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
}

:is(.d-tree .doctorTags, .d-tree.doctorTags) span {
  display: inline-block;
  width: auto;
  min-height: 42px;
  line-height: 42px;
  margin: 0 17px 10px 0;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 400;
  color: #004da1;
  background-color: #dcedff;
}

:is(.d-tree .doctorTags, .d-tree.doctorTags) b { font-weight: 700; }

/* 擅长：通栏浅蓝胶囊条（源站 h3，负 margin 顶住上一行胶囊） */
:is(.d-tree .doctorGood, .d-tree.doctorGood) {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  line-height: 30px;
  margin: -20px 0 20px 0;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 400;
  color: #004da1;
  background-color: #dcedff;
}

:is(.d-tree .doctorGood, .d-tree.doctorGood) > span:first-child { white-space: nowrap; }

:is(.d-tree .doctorGood, .d-tree.doctorGood) b { font-weight: 700; }

:is(.d-tree .doctorGood, .d-tree.doctorGood) .goodText { display: block; text-align: justify; }

/* 简介：无标题，富文本直接渲染（源站 p 为 UA 默认 16px 上下边距） */
:is(.d-tree .doctorIntro, .d-tree.doctorIntro) { text-align: justify; }

:is(.d-tree .doctorIntro, .d-tree.doctorIntro) p { margin: 16px 0; }

/* ============ 新闻/讲堂列表页 ============ */
:is(.d-tree .newsListPage, .d-tree.newsListPage) > .container { margin-bottom: 80px; }

:is(.d-tree .newsRow, .d-tree.newsRow) {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  transition: all 0.5s;
}

:is(.d-tree .newsThumb, .d-tree.newsThumb) {
  width: 240px;
  margin-right: 30px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

:is(.d-tree .newsThumb, .d-tree.newsThumb) .box {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

:is(.d-tree .newsThumb, .d-tree.newsThumb) img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

:is(.d-tree .newsRow, .d-tree.newsRow):hover .newsThumb img { transform: scale(1.2); }

:is(.d-tree .newsContent, .d-tree.newsContent) {
  position: relative;
  width: calc(100% - 270px);
  border-bottom: 1px solid #dedede;
  min-width: 0;
}

:is(.d-tree .newsTitle, .d-tree.newsTitle) {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

:is(.d-tree .newsTitle, .d-tree.newsTitle):hover { color: #004da1; }

:is(.d-tree .newsListPage .newsSummary, .d-tree.newsListPage .newsSummary) {
  height: 104px;
  line-height: 26px;
  font-size: 16px;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

:is(.d-tree .newsListPage .newsBottom, .d-tree.newsListPage .newsBottom) {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #666;
}

/* ============ el-pagination is-background 复刻 ============ */
:is(.d-tree .pagination, .d-tree.pagination) {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

:is(.d-tree .pagination, .d-tree.pagination) a,

:is(.d-tree .pagination, .d-tree.pagination) span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 2px;
  background: #f0f2f5;
  color: #606266;
  font-size: 13px;
  text-decoration: none;
  box-sizing: border-box;
}

:is(.d-tree .pagination, .d-tree.pagination) a:hover { color: #004da1; }

:is(.d-tree .pagination, .d-tree.pagination) .active {
  background: #004da1;
  color: #fff;
}

:is(.d-tree .pagination, .d-tree.pagination) .disabled {
  color: #c0c4cc;
  cursor: not-allowed;
  background: #f0f2f5;
}

/* ============ 新闻/讲堂详情页 ============ */
:is(.d-tree .articleDetail, .d-tree.articleDetail) .show {
  margin: 0 0 80px 0;
}

:is(.d-tree .articleDetail, .d-tree.articleDetail) .title {
  height: auto;
  margin-bottom: 30px;
  border-bottom: 2px solid #dedede;
}

:is(.d-tree .articleDetail, .d-tree.articleDetail) h1 {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  color: #004da1;
  text-align: center;
  font-weight: 400;
}

:is(.d-tree .articleDetail, .d-tree.articleDetail) h4 {
  margin: 15px 0 24px 0;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  text-align: center;
}

:is(.d-tree .articleDetail, .d-tree.articleDetail) h4 span:first-child { margin-right: 20px; }

:is(.d-tree .articleContent, .d-tree.articleContent) {
  height: auto;
  line-height: 34px;
}

:is(.d-tree .articleContent, .d-tree.articleContent) img {
  display: block;
  max-width: 100%;
}

/* ============ 就医指南（850px 居中 + 序号圆 + 灰盒 + 二维码） ============ */
:is(.d-tree .guidelinePage, .d-tree.guidelinePage) > .container { margin-bottom: 80px; }

:is(.d-tree .guidelineShow, .d-tree.guidelineShow) {
  width: 850px;
  margin: 0 auto;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/guideline-back.png") repeat-y 0 0;
}

:is(.d-tree .guidelineShow, .d-tree.guidelineShow) section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}

:is(.d-tree .guidelineShow, .d-tree.guidelineShow) section:first-child { margin-top: 0; }

:is(.d-tree .gFirst, .d-tree.gFirst) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 150px;
  flex-shrink: 0;
}

:is(.d-tree .gFirst, .d-tree.gFirst) img {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

:is(.d-tree .gFirst, .d-tree.gFirst) span {
  font-size: 24px;
  color: #000;
}

:is(.d-tree .gSecond, .d-tree.gSecond) {
  width: 35px;
  height: 35px;
  line-height: 31px;
  border: 2px solid #004da1;
  border-radius: 50%;
  font-size: 24px;
  color: #004da1;
  text-align: center;
  background-color: #fff;
  flex-shrink: 0;
}

:is(.d-tree .gThird, .d-tree.gThird) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 185px);
  padding-left: 20px;
}

:is(.d-tree .gBox, .d-tree.gBox) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 30px;
  line-height: 32px;
  border-radius: 10px;
  background-color: #f2f2f2;
}

:is(.d-tree .gQrcode, .d-tree.gQrcode) {
  width: 110px;
  height: 110px;
  padding: 4px;
  background-color: #fff;
  flex-shrink: 0;
  margin-left: 20px;
}

:is(.d-tree .gQrcode, .d-tree.gQrcode) img { width: 102px; height: 102px; }

/* ============ 交通指南（子页版） ============ */
:is(.d-tree .transportPage, .d-tree.transportPage) > .container { margin-bottom: 80px; }

:is(.d-tree .transportTip, .d-tree.transportTip) {
  margin: 10px 0 15px 0;
  font-size: 14px;
  color: #2f2f2f;
}

:is(.d-tree .transportTip, .d-tree.transportTip) span {
  font-weight: 600;
  color: #004da1;
}


/* 复用首页 transportation 面板的样式键 */
:is(.d-tree .transportPart1, .d-tree.transportPart1) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(50% - 15px);
  padding: 10px 0;
  background-color: rgba(0, 77, 161, 0.05);
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) img {
  width: 80px;
  height: 80px;
  margin-bottom: 5px;
  border: 1px solid #999;
}

:is(.d-tree .transportPart1, .d-tree.transportPart1) span {
  line-height: 20px;
  font-size: 18px;
  color: #2f2f2f;
}

:is(.d-tree .transportPage .transportSection, .d-tree.transportPage .transportSection) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:is(.d-tree .transportLeft, .d-tree.transportLeft) {
  width: 150px;
  line-height: 50px;
  margin-right: 60px;
  font-size: 20px;
  font-weight: 600;
  color: #004da1;
  flex-shrink: 0;
}

:is(.d-tree .transportIcon, .d-tree.transportIcon) {
  float: left;
  width: 67px;
  height: 50px;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 2px solid #004da1;
}

:is(.d-tree .transportIcon, .d-tree.transportIcon) img { width: 50px; height: 50px; }

:is(.d-tree .transportRight, .d-tree.transportRight) {
  flex: 1;
  line-height: 24px;
  font-size: 16px;
  padding: 10px 0;
  min-width: 0;
}

/* ============ 复元历史（Element timeline 复刻） ============ */
:is(.d-tree .historyPage, .d-tree.historyPage) > .container { margin-bottom: 80px; }

:is(.d-tree .timelineItem, .d-tree.timelineItem) {
  position: relative;
  padding-left: 28px;
  padding-bottom: 30px;
}

:is(.d-tree .timelineItem, .d-tree.timelineItem)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -6px;
  width: 2px;
  background: #e4e7ed;
}

:is(.d-tree .timelineItem, .d-tree.timelineItem):last-child::before { display: none; }

:is(.d-tree .timelineItem, .d-tree.timelineItem)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #004da1;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #004da1;
}

:is(.d-tree .timelineTimestamp, .d-tree.timelineTimestamp) {
  margin-bottom: 10px;
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

:is(.d-tree .timelineCard, .d-tree.timelineCard) {
  padding: 16px 20px;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  font-size: 16px;
}

/* ============ 复元历史（时间线） ============ */
:is(.d-tree .historyPage, .d-tree.historyPage) > .container { margin-bottom: 80px; }





/* ============ 环境设施 ============ */
:is(.d-tree .facilityPage, .d-tree.facilityPage) > .container { margin-bottom: 80px; }

:is(.d-tree .facilityItem, .d-tree.facilityItem) {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 40px;
}

:is(.d-tree .facilityThumb, .d-tree.facilityThumb) {
  width: 240px;
  margin-right: 30px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

:is(.d-tree .facilityThumb, .d-tree.facilityThumb) .box { position: relative; width: 100%; padding-top: 66%; }

:is(.d-tree .facilityThumb, .d-tree.facilityThumb) img { position: absolute; inset: 0; width: 100%; height: 100%; }

:is(.d-tree .facilityBody, .d-tree.facilityBody) { flex: 1; min-width: 0; }

:is(.d-tree .facilityBody, .d-tree.facilityBody) h2 {
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 600;
  color: #2f2f2f;
}

/* ============ 亚太医疗 / 商保 ============ */
:is(.d-tree .facilityGrid, .d-tree.facilityGrid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

:is(.d-tree .facilityGrid, .d-tree.facilityGrid) section {
  width: calc(24.8% - 14px);
  height: auto;
  margin: 0 0 21px 21px;
  transition: all 0.5s;
}

:is(.d-tree .facilityGrid, .d-tree.facilityGrid) section:nth-child(4n + 1) { margin-left: 0; }

:is(.d-tree .facilityThumb, .d-tree.facilityThumb) {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border-radius: 10px;
  overflow: hidden;
}

:is(.d-tree .facilityThumb, .d-tree.facilityThumb) .box { position: absolute; inset: 0; }

:is(.d-tree .facilityGrid, .d-tree.facilityGrid) .facilityThumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

:is(.d-tree .facilityGrid, .d-tree.facilityGrid) section:hover .facilityThumb img { transform: scale(1.1); }

:is(.d-tree .facilitySign, .d-tree.facilitySign) {
  width: 100%;
  height: 28px;
  line-height: 28px;
  margin: 20px 0 10px 0;
  font-size: 18px;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(.d-tree .facilityTime, .d-tree.facilityTime) {
  width: 100%;
  height: 22px;
  line-height: 22px;
  font-size: 14px;
  color: #999;
}

:is(.d-tree .memberGroup, .d-tree.memberGroup) { margin-bottom: 40px; }

:is(.d-tree .memberGrid, .d-tree.memberGrid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

:is(.d-tree .memberGrid, .d-tree.memberGrid) section {
  width: calc(33.33333% - 13.33333px);
  height: auto;
  margin: 0 0 20px 20px;
  transition: all 0.5s;
}

:is(.d-tree .memberGrid, .d-tree.memberGrid) section:nth-child(3n + 1) { margin-left: 0; }

:is(.d-tree .memberSign, .d-tree.memberSign) {
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 20px;
  color: #333;
  text-align: center;
  background-color: #f1f1f1;
  text-decoration: none;
  display: block;
}

:is(.d-tree .simplePage, .d-tree.simplePage) > .container { margin-bottom: 80px; }

/* ============ 加入我们 ============ */
:is(.d-tree .positionPage, .d-tree.positionPage) > .container { margin-bottom: 80px; }

:is(.d-tree .positionGroup, .d-tree.positionGroup) { margin-bottom: 50px; }

:is(.d-tree .positionGroup, .d-tree.positionGroup) > h2 {
  height: 50px;
  line-height: 50px;
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  color: #004da1;
  border-bottom: 2px solid #dedede;
}

:is(.d-tree .positionItem, .d-tree.positionItem) {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ebeef5;
  border-radius: 8px;
}

:is(.d-tree .positionItem, .d-tree.positionItem) h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #2f2f2f;
}

/* ============ 预约挂号页 ============ */
:is(.d-tree .reservationPage, .d-tree.reservationPage) > .container { margin-bottom: 80px; }

/* 空状态 */
:is(.d-tree .empty, .d-tree.empty) {
  padding: 80px 0;
  text-align: center;
  color: #909399;
  font-size: 16px;
}

/* ================= 移动树 ================= */
/* 移动首页样式 —— 逐条对照源站 /css/57.f07e9bf6.css（rem 基准 = 视口宽/7.5） */
:is(.m-tree .page, .m-tree.page) {
  color: #000;
  font-family: var(--font-montserrat), Helvetica, Arial, "Microsoft YaHei", 微软雅黑, SimSun, 宋体;
  font-size: 0.28rem;
  line-height: 1.8;
  background-color: #fff;
}

:is(.m-tree .container, .m-tree.container) {
  width: 100%;
  height: auto;
  padding: 0 0.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

/* ============ Header ============ */
:is(.m-tree .header, .m-tree.header) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px 0 #e1e1e1;
  background-color: #fff;
  z-index: 1002;
  transition: all 0.3s ease-in-out;
}

:is(.m-tree .header, .m-tree.header) a.logoLink { display: flex; }

:is(.m-tree .logo, .m-tree.logo) {
  display: block;
  transition: all 0.3s ease-in-out;
}

:is(.m-tree .headerRight, .m-tree.headerRight) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

:is(.m-tree .tel, .m-tree.tel) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 0.3rem;
  transition: all 0.3s ease-in-out;
}

:is(.m-tree .tel, .m-tree.tel) img {
  margin-right: 0.08rem;
  transition: all 0.3s ease-in-out;
}

:is(.m-tree .menuBtn, .m-tree.menuBtn) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* big / small 状态 */
:is(.m-tree .big, .m-tree.big) .header { padding: 0.25rem 0.3rem; }
:is(.m-tree .big, .m-tree.big) .logo { width: 2.09rem; height: 0.8rem; }
:is(.m-tree .big, .m-tree.big) .tel { font-size: 0.3rem; }
:is(.m-tree .big, .m-tree.big) .tel img { width: 0.28rem; height: 0.28rem; }
:is(.m-tree .big, .m-tree.big) .drawer { padding-top: 1.3rem; }

:is(.m-tree .small, .m-tree.small) .header { padding: 0.2rem 0.3rem; }
:is(.m-tree .small, .m-tree.small) .logo { width: 1.57rem; height: 0.6rem; }
:is(.m-tree .small, .m-tree.small) .tel { font-size: 0.26rem; }
:is(.m-tree .small, .m-tree.small) .tel img { width: 0.24rem; height: 0.24rem; }
:is(.m-tree .small, .m-tree.small) .drawer { padding-top: 1rem; }

:is(.m-tree .headerSpacer, .m-tree.headerSpacer) { width: 100%; height: 1.3rem; }

/* ============ 抽屉菜单 ============ */
:is(.m-tree .mask, .m-tree.mask) {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

:is(.m-tree .drawer, .m-tree.drawer) {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 4.5rem;
  height: 100vh;
  font-size: 0.28rem;
  background-color: #014da1;
  list-style: none;
  margin: 0;
  padding-left: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1001;
  overflow-y: auto;
}

:is(.m-tree .drawer, .m-tree.drawer).closed { left: 7.5rem; }
:is(.m-tree .drawer, .m-tree.drawer).open { left: 3rem; }

:is(.m-tree .drawerItem, .m-tree.drawerItem),

:is(.m-tree .drawerTitle, .m-tree.drawerTitle) {
  display: block;
  padding-left: 20px;
  color: #a1cfff;
  background-color: #014da1;
  font-size: 14px;
  line-height: 40px;
  list-style: none;
}

:is(.m-tree .drawerItem, .m-tree.drawerItem) a {
  display: block;
  color: #a1cfff;
  text-decoration: none;
}

:is(.m-tree .drawerTitle, .m-tree.drawerTitle) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 20px;
  cursor: pointer;
  position: relative;
}

:is(.m-tree .drawerTitle, .m-tree.drawerTitle) svg {
  width: 12px;
  height: 12px;
  color: #a1cfff;
  transition: transform 0.2s;
}

:is(.m-tree .drawerTitle, .m-tree.drawerTitle).open svg { transform: rotate(180deg); }

:is(.m-tree .drawerSub, .m-tree.drawerSub) {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

:is(.m-tree .drawerSub, .m-tree.drawerSub).open { display: block; }

:is(.m-tree .drawerSub, .m-tree.drawerSub) li {
  display: block;
  padding-left: 40px;
  color: #a1cfff;
  background-color: #003f84;
  font-size: 14px;
  line-height: 40px;
  list-style: none;
}

:is(.m-tree .drawerSub, .m-tree.drawerSub) a {
  display: block;
  color: #a1cfff;
  text-decoration: none;
}

:is(.m-tree .drawerDivider, .m-tree.drawerDivider) {
  width: calc(100% - 40px);
  margin-left: 20px;
  margin-right: 20px;
  border: 0;
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
}

:is(.m-tree .langController, .m-tree.langController) {
  width: 100%;
  padding: 0.3rem 0;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
}

:is(.m-tree .langSwitch, .m-tree.langSwitch) {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
}

:is(.m-tree .langLabel, .m-tree.langLabel) { font-size: 13px; color: hsla(0, 0%, 100%, 0.7); }

:is(.m-tree .langLabelActive, .m-tree.langLabelActive) { color: #fff; }

:is(.m-tree .langCore, .m-tree.langCore) {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  background: #de2810;
  position: relative;
  margin: 0 6px;
  flex-shrink: 0;
}

:is(.m-tree .langCore, .m-tree.langCore)::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

:is(.m-tree .langSwitch, .m-tree.langSwitch)[data-lang="en"] .langCore::after { transform: translateX(20px); }

/* ============ 轮播 ============ */
:is(.m-tree .carousel, .m-tree.carousel) {
  position: relative;
  width: 100%;
  height: 3.3rem;
  overflow: hidden;
}

:is(.m-tree .carouselTrack, .m-tree.carouselTrack) {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

:is(.m-tree .slide, .m-tree.slide) {
  min-width: 100%;
  height: 3.3rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 7.5rem 3.3rem;
}

:is(.m-tree .carouselIndicators, .m-tree.carouselIndicators) {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

:is(.m-tree .carouselIndicators, .m-tree.carouselIndicators) li { padding: 12px 4px; }

:is(.m-tree .carouselIndicators, .m-tree.carouselIndicators) button {
  display: block;
  width: 30px;
  height: 2px;
  border: 0;
  padding: 0;
  background: #fff;
  opacity: 0.48;
  cursor: pointer;
}

:is(.m-tree .carouselIndicators, .m-tree.carouselIndicators) li.active button { opacity: 1; }

/* ============ 通用 section ============ */
:is(.m-tree .section, .m-tree.section) { width: 100%; height: auto; }

:is(.m-tree .sectionContainer, .m-tree.sectionContainer) {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

:is(.m-tree .sectionTitle, .m-tree.sectionTitle) {
  height: 0.56rem;
  line-height: 0.56rem;
  margin: 0;
  text-align: center;
}

:is(.m-tree .sectionTitle, .m-tree.sectionTitle) span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.4rem;
  font-weight: 400;
  color: #2f2f2f;
}

:is(.m-tree .sectionTitle, .m-tree.sectionTitle) span::before,

:is(.m-tree .sectionTitle, .m-tree.sectionTitle) span::after {
  display: inline-block;
  width: 0.6rem;
  height: 0.02rem;
  background-color: #2f2f2f;
  content: "";
}

:is(.m-tree .sectionTitle, .m-tree.sectionTitle) span::before { margin-right: 0.2rem; }
:is(.m-tree .sectionTitle, .m-tree.sectionTitle) span::after { margin-left: 0.2rem; }

:is(.m-tree .sectionSubtitle, .m-tree.sectionSubtitle) {
  height: 0.25rem;
  line-height: 0.25rem;
  margin: 0 0 0.5rem 0;
  font-size: 0.18rem;
  color: #aaa;
  letter-spacing: 0.01rem;
  text-align: center;
}

/* ============ 特色科室 ============ */
:is(.m-tree .departmentSection, .m-tree.departmentSection) {
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/department-back.jpg") no-repeat top #f3f3f4;
  background-size: cover;
}

:is(.m-tree .departmentList, .m-tree.departmentList) {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
}

:is(.m-tree .departmentList, .m-tree.departmentList) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(33.33333% - 0.1rem);
  height: 2.2rem;
  margin: 0 0 0.15rem 0.15rem;
  border-radius: 0.1rem;
  text-align: center;
  background-color: #fff;
  text-decoration: none;
  animation: deptEnter-m 1s ease both;
}

:is(.m-tree .departmentList, .m-tree.departmentList) a:nth-child(3n + 1) { margin-left: 0; }

@keyframes deptEnter-m {
  from { transform: translateY(0.2rem); opacity: 0; }
  to { opacity: 1; }
}

:is(.m-tree .departmentList, .m-tree.departmentList) img {
  width: 0.8rem;
  height: 0.8rem;
  margin: 0.2rem 0 0.1rem 0;
}

:is(.m-tree .departmentList, .m-tree.departmentList) .first {
  display: inline-block;
  line-height: 1.5;
  margin-bottom: 0.04rem;
  font-size: 0.24rem;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:is(.m-tree .departmentList, .m-tree.departmentList) .second {
  display: inline-block;
  line-height: 1.5;
  margin-bottom: 0.3rem;
  font-size: 0.22rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ============ 特色科室列表页（departmentsPage）移动端：与桌面一致，默认科室主题色底 + 双图标（常态显示白色版）+ 白字 ============ */
.m-tree.departmentsPage .departmentList a { background-color: var(--c); }
.m-tree.departmentsPage .departmentList .deptIcon { position: relative; width: 0.8rem; height: 0.8rem; margin: 0.2rem 0 0.1rem 0; }
.m-tree.departmentsPage .departmentList .deptIcon img { position: absolute; inset: 0; width: 0.8rem; height: 0.8rem; margin: 0; }
.m-tree.departmentsPage .departmentList .deptIcon .iconWhite { opacity: 1; }
.m-tree.departmentsPage .departmentList .deptIcon .iconColor { opacity: 0; }
.m-tree.departmentsPage .departmentList .first { color: #fff; }
.m-tree.departmentsPage .departmentList .second { color: #f1f1f1; }

:is(.m-tree .more, .m-tree.more) { margin-top: 0.1rem; text-align: center; }

:is(.m-tree .more, .m-tree.more) button {
  /* inline-flex：保持行内级以便父级 text-align 居中，同时 flex 让文字在按钮内垂直居中 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 0.5rem;
  padding: 0.1rem 0.2rem;
  box-sizing: border-box;
  font-size: 0.24rem;
  font-weight: 500;
  font-family: inherit;
  color: #606266;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
}

:is(.m-tree .more, .m-tree.more) button:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

/* ============ 用户服务 ============ */
:is(.m-tree .serviceSection, .m-tree.serviceSection) {
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/service-back.jpg") no-repeat top;
  background-size: cover;
}

:is(.m-tree .serviceSection, .m-tree.serviceSection) .sectionTitle span { color: #fff; }
:is(.m-tree .serviceSection, .m-tree.serviceSection) .sectionTitle span::before,
:is(.m-tree .serviceSection, .m-tree.serviceSection) .sectionTitle span::after { background-color: #fff; }

:is(.m-tree .serviceTop, .m-tree.serviceTop) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 0.3rem;
}

:is(.m-tree .serviceTab, .m-tree.serviceTab) {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(25% - 0.1125rem);
  height: 1.1rem;
  border: 0;
  border-radius: 0.1rem;
  font-size: 0.2rem;
  font-family: inherit;
  color: #999;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

:is(.m-tree .serviceTab, .m-tree.serviceTab) img {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.15rem 0 0 0;
}

:is(.m-tree .serviceTab, .m-tree.serviceTab)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0.08rem;
  background-color: #fff;
  content: "";
}

:is(.m-tree .serviceTab, .m-tree.serviceTab).current { color: #000; }
/* 原站行为：底部色条仅在选中时显示颜色，未选中为白色 */
:is(.m-tree .serviceTab, .m-tree.serviceTab).current.tabDoctor::after { background-color: #eda01f; }
:is(.m-tree .serviceTab, .m-tree.serviceTab).current.tabReservation::after { background-color: #257fbc; }
:is(.m-tree .serviceTab, .m-tree.serviceTab).current.tabTransportation::after { background-color: #31a188; }
:is(.m-tree .serviceTab, .m-tree.serviceTab).current.tabInsurance::after { background-color: #5c66ad; }

:is(.m-tree .serviceBottom, .m-tree.serviceBottom) {
  width: 100%;
  min-height: 4.6rem;
  padding: 0.2rem;
  border-radius: 0.1rem;
  background-color: #fff;
  box-sizing: border-box;
}

/* 医生 */
:is(.m-tree .doctorsList, .m-tree.doctorsList) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 0.2rem;
}

:is(.m-tree .doctorsList, .m-tree.doctorsList) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(33.33333% - 0.16667rem);
  height: auto;
  margin: 0 0 0.5rem 0.25rem;
  text-decoration: none;
  color: inherit;
}

:is(.m-tree .doctorsList, .m-tree.doctorsList) a:nth-child(3n + 1) { margin-left: 0; }

:is(.m-tree .docImg, .m-tree.docImg) {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 133.33%;
}

:is(.m-tree .docImg, .m-tree.docImg) img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.08rem;
  transition: transform 0.3s;
}

:is(.m-tree .doctorsList, .m-tree.doctorsList) a:hover .docImg img { transform: scale(1.05); }

:is(.m-tree .docName, .m-tree.docName) {
  display: block;
  width: 100%;
  height: 0.28rem;
  line-height: 0.28rem;
  margin-top: 0.2rem;
  font-size: 0.28rem;
  font-weight: 600;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(.m-tree .docTitle, .m-tree.docTitle) {
  display: block;
  width: 100%;
  height: 0.22rem;
  line-height: 0.22rem;
  margin-top: 0.1rem;
  font-size: 0.22rem;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(.m-tree .docHospital, .m-tree.docHospital) {
  display: block;
  width: 100%;
  height: 0.22rem;
  line-height: 0.22rem;
  margin-top: 0.1rem;
  font-size: 0.22rem;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 预约表单 */
:is(.m-tree .formItem, .m-tree.formItem) {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.44rem;
}

:is(.m-tree .formLabel, .m-tree.formLabel) {
  width: 1.5rem;
  line-height: 0.8rem;
  text-align: right;
  padding-right: 0.24rem;
  color: #606266;
  font-size: 0.28rem;
  flex-shrink: 0;
}

:is(.m-tree .formControl, .m-tree.formControl) { flex: 1; }

:is(.m-tree .textarea, .m-tree.textarea) {
  display: block;
  width: 100%;
  min-height: 1.8rem;
  padding: 0.2rem 0.3rem;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.28rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
}

:is(.m-tree .textarea, .m-tree.textarea):focus { border-color: #004da1; }

:is(.m-tree .input, .m-tree.input),

:is(.m-tree .select, .m-tree.select),
:is(.m-tree .dateInput, .m-tree.dateInput) {
  width: 100%;
  height: 0.8rem;
  line-height: 0.8rem;
  padding: 0 0.3rem;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font: 0.28rem/0.8rem inherit;
  color: #606266;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

:is(.m-tree .select, .m-tree.select) {
  appearance: none;
  padding-right: 0.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23606266' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}

:is(.m-tree .dateInput, .m-tree.dateInput) {
  color-scheme: light;
  cursor: pointer;
}
:is(.m-tree .dateInput, .m-tree.dateInput)::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; }
:is(.m-tree .select, .m-tree.select):disabled { color: #a8abb2; background-color: #f5f7fa; cursor: not-allowed; }

:is(.m-tree .submitBtn, .m-tree.submitBtn) {
  width: calc(100% - 1.5rem);
  height: 0.8rem;
  color: #fff;
  background-color: #004da1;
  border: 1px solid #004da1;
  border-radius: 4px;
  font: inherit;
  font-size: 0.28rem;
  cursor: pointer;
}

:is(.m-tree .reservationNote, .m-tree.reservationNote) {
  margin-top: 0.2rem;
  padding-left: 1.5rem;
  font-size: 0.24rem;
  color: rgb(255, 102, 0);
}

:is(.m-tree .captchaControl, .m-tree.captchaControl) {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

:is(.m-tree .captchaControl img, .m-tree.captchaControl img) {
  width: 1.7rem;
  height: 0.8rem;
  object-fit: contain;
  cursor: pointer;
}

:is(.m-tree .captchaControl button, .m-tree.captchaControl button) {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #004da1;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

:is(.m-tree .reservationDone, .m-tree.reservationDone) {
  padding: 1.2rem 0;
  text-align: center;
  color: #004da1;
  font-size: 0.32rem;
}

/* 交通指南 */
:is(.m-tree .transportPart1, .m-tree.transportPart1) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0.15rem 0 0.25rem 0;
  background-color: rgba(0, 77, 161, 0.05);
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) > div:first-child { width: calc(58% - 0.116rem); }
:is(.m-tree .transportPart1, .m-tree.transportPart1) > div:last-child { width: calc(42% - 0.084rem); }

:is(.m-tree .transportPart1, .m-tree.transportPart1) img {
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 0.05rem;
  border: 1px solid #999;
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) span {
  margin-top: 0.2rem;
  line-height: 1;
  font-size: 0.24rem;
  color: #2f2f2f;
}

:is(.m-tree .transportTip, .m-tree.transportTip) {
  margin-top: 0.24rem;
  color: #2f2f2f;
  font-size: 0.28rem;
}

:is(.m-tree .transportTip, .m-tree.transportTip) span {
  font-weight: 600;
  color: #004da1;
}

:is(.m-tree .transportSection, .m-tree.transportSection) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:is(.m-tree .transportLeft, .m-tree.transportLeft) {
  width: 1.8rem;
  line-height: 0.5rem;
  margin-right: 0.1rem;
  font-weight: 600;
  color: #004da1;
}

:is(.m-tree .transportIcon, .m-tree.transportIcon) {
  float: left;
  width: 0.67rem;
  height: 0.5rem;
  margin-right: 0.15rem;
  padding-right: 0.15rem;
  border-right: 2px solid #004da1;
}

:is(.m-tree .transportIcon, .m-tree.transportIcon) img { width: 0.5rem; height: 0.5rem; }

:is(.m-tree .transportRight, .m-tree.transportRight) {
  flex: 1;
  font-size: 0.28rem;
  padding: 0.1rem 0;
}

:is(.m-tree .transportRight, .m-tree.transportRight) p { margin: 5px 0; }
:is(.m-tree .transportRight, .m-tree.transportRight) ul { margin: 5px 0; padding-left: 20px; }

:is(.m-tree .routeTable, .m-tree.routeTable) {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

:is(.m-tree .routeTable, .m-tree.routeTable) td {
  border-bottom: none;
  border-left: none;
  border-right: 1px solid #d6d6d6;
  border-top: none;
  height: 0.8rem;
  padding: 9px 9px;
  font-size: 0.2rem;
  overflow: hidden;
}

:is(.m-tree .routeTable, .m-tree.routeTable) td:last-child { border-right: none; }

/* 商保 */
:is(.m-tree .insuranceFigure, .m-tree.insuranceFigure) { margin: 0; }

:is(.m-tree .insuranceFigure, .m-tree.insuranceFigure) img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============ 活动资讯 ============ */
:is(.m-tree .newsSection, .m-tree.newsSection) {
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/news-back.jpg") no-repeat top;
  background-size: cover;
}

:is(.m-tree .newsShow, .m-tree.newsShow) { width: 100%; }

:is(.m-tree .newsCard, .m-tree.newsCard) {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: 1.6rem;
  margin-bottom: 0.4rem;
  overflow: hidden;
  text-decoration: none;
  color: #2f2f2f;
}

:is(.m-tree .newsThumbnail, .m-tree.newsThumbnail) {
  width: 2.13rem;
  height: 1.6rem;
  margin-right: 0.2rem;
  border-radius: 0.1rem;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  flex-shrink: 0;
}

:is(.m-tree .newsText, .m-tree.newsText) { width: 4.67rem; }

:is(.m-tree .newsSign, .m-tree.newsSign) {
  line-height: 1.5;
  margin-bottom: 0.1rem;
  font-weight: 700;
  font-size: 0.28rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(.m-tree .newsSummary, .m-tree.newsSummary) {
  line-height: 1.5;
  font-size: 0.24rem;
  color: #666;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

:is(.m-tree .newsBottom, .m-tree.newsBottom) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  margin-top: 0.15rem;
  font-size: 0.18rem;
}

:is(.m-tree .newsBottom, .m-tree.newsBottom) img { width: 0.4rem; height: 0.14rem; }

/* ============ 二维码横幅 ============ */
:is(.m-tree .qrcodeBanner, .m-tree.qrcodeBanner) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 2.2rem;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/qrcode-back.jpg") no-repeat top;
  background-size: cover;
}

:is(.m-tree .qrcodeBanner, .m-tree.qrcodeBanner) .qrBox {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.35rem;
  padding: 0.04rem;
  background-color: #fff;
  box-sizing: border-box;
}

:is(.m-tree .qrcodeBanner, .m-tree.qrcodeBanner) img { width: 100%; height: 100%; }

:is(.m-tree .qrcodeBanner, .m-tree.qrcodeBanner) h2 {
  height: 0.24rem;
  line-height: 0.24rem;
  margin: 0.2rem 0 0 0;
  font-size: 0.28rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02rem;
}

/* ============ Footer ============ */
:is(.m-tree .footer, .m-tree.footer) {
  padding: 0.5rem 0;
  border-top: 1px solid #a2a2a2;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/footer-back.png") no-repeat top;
  background-size: cover;
}

:is(.m-tree .footerContainer, .m-tree.footerContainer) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

:is(.m-tree .footerSection, .m-tree.footerSection) { line-height: 1; }

:is(.m-tree .footerSection, .m-tree.footerSection):first-child {
  width: 55%;
  padding: 0 0.45rem 0 0;
}

:is(.m-tree .footerSection, .m-tree.footerSection):last-child {
  width: 45%;
  padding: 0.6rem 0 0.6rem 0.45rem;
  border-left: 1px solid #ddd;
  text-align: center;
}

:is(.m-tree .footerSection, .m-tree.footerSection):last-child img { width: 100%; height: auto; }

:is(.m-tree .footerTitle, .m-tree.footerTitle) {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.28rem;
  color: #2f2f2f;
}

:is(.m-tree .footerText, .m-tree.footerText) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0.15rem;
  font-size: 0.24rem;
  color: #666;
}

:is(.m-tree .footerText, .m-tree.footerText):first-of-type { margin-top: 0; }

:is(.m-tree .footerText, .m-tree.footerText) img {
  width: 0.18rem;
  height: 0.18rem;
  margin-right: 0.1rem;
}

:is(.m-tree .footerIcons, .m-tree.footerIcons) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 0.56rem;
  line-height: 0.56rem;
  margin-top: 0.2rem;
}

:is(.m-tree .footerIcons, .m-tree.footerIcons) .item {
  display: inline-block;
  width: 0.56rem;
  height: 0.56rem;
  line-height: 0.56rem;
  margin-right: 0.16rem;
}

:is(.m-tree .footerIcons, .m-tree.footerIcons) img {
  width: 0.56rem;
  height: 0.56rem;
  vertical-align: middle;
}

:is(.m-tree .footerIcons, .m-tree.footerIcons) .popRef { position: relative; display: inline-flex; }

/* Element popover 复刻：上方弹出、底部箭头、12px 间距、0.3s 淡入 */
:is(.m-tree .popover, .m-tree.popover) {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  /* ponytail: 同桌面树，left:50% 下 shrink-to-fit 会压窄气泡 */
  width: max-content;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 0.12rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 2000;
}

:is(.m-tree .footerIcons, .m-tree.footerIcons) .popRef:hover .popover,

:is(.m-tree .footerIcons, .m-tree.footerIcons) .popRef:focus-within .popover {
  opacity: 1;
  visibility: visible;
}

:is(.m-tree .popover, .m-tree.popover)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
}

:is(.m-tree .popover, .m-tree.popover) img.qr {
  width: 1.19rem;
  height: 1.19rem;
  display: block;
}

/* 移动子页样式 —— 对照源站移动路由 CSS chunk 专属段（rem = vw/7.5） */

/* Banner */
:is(.m-tree .banner, .m-tree.banner) {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 3.3rem;
  overflow: hidden;
  background: #f1f1f1;
}

:is(.m-tree .banner, .m-tree.banner) img {
  min-width: 7.5rem;
  height: 3.3rem;
  object-fit: cover;
}

/* 面包屑 */
:is(.m-tree .position, .m-tree.position) {
  display: flex;
  align-items: center;
  height: 0.8rem;
  font-size: 0.24rem;
  color: #303133;
}

:is(.m-tree .position, .m-tree.position) > img {
  width: 1.08rem;
  margin-right: 0.16rem;
}

:is(.m-tree .position, .m-tree.position) a { color: #303133; text-decoration: none; }

:is(.m-tree .crumbSep, .m-tree.crumbSep) {
  margin: 0 0.18rem;
  color: #c0c4cc;
  display: flex;
  align-items: center;
}

/* 标题 */
:is(.m-tree .caption, .m-tree.caption) {
  padding-bottom: 0.5rem;
}

:is(.m-tree .caption, .m-tree.caption) h2 {
  height: 0.56rem;
  line-height: 0.56rem;
  margin: 0;
  text-align: center;
}

:is(.m-tree .caption, .m-tree.caption) h2 span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.4rem;
  font-weight: 400;
  color: #2f2f2f;
}

:is(.m-tree .caption, .m-tree.caption) h2 span::before,

:is(.m-tree .caption, .m-tree.caption) h2 span::after {
  display: inline-block;
  width: 0.6rem;
  height: 0.02rem;
  background-color: #2f2f2f;
  content: "";
}

:is(.m-tree .caption, .m-tree.caption) h2 span::before { margin-right: 0.2rem; }
:is(.m-tree .caption, .m-tree.caption) h2 span::after { margin-left: 0.2rem; }

:is(.m-tree .caption, .m-tree.caption) h3 {
  height: 0.25rem;
  line-height: 0.25rem;
  margin: 0 0 0.5rem 0;
  font-size: 0.18rem;
  color: #aaa;
  letter-spacing: 0.01rem;
  text-align: center;
}

/* 富文本 */
:is(.m-tree .rich, .m-tree.rich) {
  line-height: 1.8;
  font-size: 0.28rem;
  color: #2f2f2f;
  word-break: break-word;
}

:is(.m-tree .rich, .m-tree.rich) img { display: block; max-width: 100%; height: auto; }
:is(.m-tree .rich, .m-tree.rich) p { margin: 0 0 0.2rem; }
:is(.m-tree .rich, .m-tree.rich) ul,
:is(.m-tree .rich, .m-tree.rich) ol { margin: 0.2rem 0; padding-left: 0.4rem; }
:is(.m-tree .rich, .m-tree.rich) table { max-width: 100%; font-size: 0.22rem; }

/* 灰底内容容器（多数子页） */
:is(.m-tree .gray, .m-tree.gray) { background-color: #f1f1f1; }

/* ============ 科室列表 ============ */
:is(.m-tree .departmentsPage, .m-tree.departmentsPage) > .container { padding-bottom: 0.5rem; }

/* ============ 科室详情 ============ */
:is(.m-tree .deptCard, .m-tree.deptCard) {
  margin-bottom: 0.5rem;
  padding: 0.3rem;
  border-radius: 0.2rem;
  background-color: #fff;
}

:is(.m-tree .deptCard, .m-tree.deptCard) h1 {
  display: flex;
  justify-content: flex-start;
  line-height: 0.7rem;
  margin: 0 0 0.3rem 0;
  padding-bottom: 0.2rem;
  border-bottom: 0.02rem solid #dedede;
  font-family: Impact, var(--font-montserrat), sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #004da1;
}

:is(.m-tree .deptCard, .m-tree.deptCard) h1 .number {
  height: 0.7rem;
  line-height: 0.7rem;
  font-size: 0.7rem;
}

:is(.m-tree .deptCard, .m-tree.deptCard) h1 img {
  width: 0.25rem;
  height: 0.57rem;
  margin: 0.07rem 0.08rem 0 0.1rem;
}

:is(.m-tree .deptCard, .m-tree.deptCard) h1 .sign {
  height: 0.3rem;
  line-height: 0.3rem;
  margin-top: 0.3rem;
  font-size: 0.3rem;
}

:is(.m-tree .deptSection, .m-tree.deptSection) h2 {
  height: 0.56rem;
  line-height: 0.56rem;
  margin: 0.1rem 0 0.4rem 0;
  color: #004da1;
  text-align: center;
}

:is(.m-tree .deptSection, .m-tree.deptSection) h2 span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.32rem;
  font-weight: 600;
  color: #004da1;
}

:is(.m-tree .deptSection, .m-tree.deptSection) h2 span::before,

:is(.m-tree .deptSection, .m-tree.deptSection) h2 span::after {
  display: inline-block;
  width: 0.6rem;
  height: 0.02rem;
  background-color: #004da1;
  content: "";
}

:is(.m-tree .deptSection, .m-tree.deptSection) h2 span::before { margin-right: 0.2rem; }
:is(.m-tree .deptSection, .m-tree.deptSection) h2 span::after { margin-left: 0.2rem; }

:is(.m-tree .deptDoctors, .m-tree.deptDoctors) {
  margin-bottom: 0;
  padding: 0.3rem 0 0 0;
  background-color: inherit;
}

/* 医生 3 列（科室详情/列表页共用） */
:is(.m-tree .docGrid, .m-tree.docGrid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 0.2rem;
}

:is(.m-tree .docGrid, .m-tree.docGrid) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(33.33333% - 0.16667rem);
  height: auto;
  margin: 0 0 0.5rem 0.25rem;
  text-decoration: none;
  color: inherit;
}

:is(.m-tree .docGrid, .m-tree.docGrid) a:nth-child(3n + 1) { margin-left: 0; }

:is(.m-tree .docGrid, .m-tree.docGrid) .img {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 133.33%;
}

:is(.m-tree .docGrid, .m-tree.docGrid) .img img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.08rem;
  transition: transform 0.3s;
}

:is(.m-tree .docGrid, .m-tree.docGrid) .name {
  height: 0.28rem;
  line-height: 0.28rem;
  margin-top: 0.2rem;
  font-size: 0.28rem;
  font-weight: 600;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:is(.m-tree .docGrid, .m-tree.docGrid) .title {
  width: 100%;
  height: 0.22rem;
  line-height: 0.22rem;
  margin-top: 0.1rem;
  font-size: 0.22rem;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

:is(.m-tree .docGrid, .m-tree.docGrid) .hospital {
  width: 100%;
  height: 0.22rem;
  line-height: 0.22rem;
  margin-top: 0.1rem;
  font-size: 0.22rem;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

:is(.m-tree .docGrid, .m-tree.docGrid) a:hover .img img { transform: scale(1.05); }

/* ============ 医生列表筛选 ============ */
:is(.m-tree .filterForm, .m-tree.filterForm) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 0.4rem;
  margin-bottom: 0.7rem;
  gap: 0.2rem;
}

:is(.m-tree .filterSelect, .m-tree.filterSelect),

:is(.m-tree .filterInput, .m-tree.filterInput) {
  flex: 1;
  height: 0.4rem;
  line-height: 0.4rem;
  padding: 0 0.2rem;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font: 0.26rem/0.4rem inherit;
  color: #606262;
  background: #fff;
  outline: none;
  min-width: 0;
}

:is(.m-tree .filterBtn, .m-tree.filterBtn) {
  width: 1rem;
  height: 0.4rem;
  padding: 0.06rem 0;
  font-size: 0.28rem;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  flex-shrink: 0;
}

/* ============ 医生详情 ============ */
:is(.m-tree .doctorPage, .m-tree.doctorPage) { background: linear-gradient(180deg, #ddecff, #f1f1f1); }

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.8rem;
  grid-template-rows: auto auto auto;
  column-gap: 0.2rem;
  row-gap: 0.1rem;
  position: relative;
  width: 100%;
  min-height: 2.4rem;
  margin-top: 0.3rem;
  padding: 0.3rem;
  border: 1px solid #fff;
  border-radius: 0.1rem;
  background-color: #fff;
  box-sizing: border-box;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) h1 {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.25rem 0;
  color: #004da1;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) h1 span { display: block; width: 100%; }

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) h1 .name {
  position: relative;
  line-height: 1;
  font-size: 0.36rem;
  font-weight: 600;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) h1 .title {
  margin-top: 0.25rem;
  line-height: 1.4;
  font-size: 0.26rem;
  font-weight: 500;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .tags {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .tags span {
  display: inline-block;
  width: auto;
  line-height: 1.4;
  margin: 0 0.17rem 0.2rem 0;
  padding: 0.1rem;
  border-radius: 0.05rem;
  font-size: 0.26rem;
  font-weight: 400;
  color: #004da1;
  background-color: #dcedff;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .tags b { font-weight: 700; }

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .tags span:last-child { margin-bottom: 0; }

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .photo {
  position: static;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 1.8rem;
  height: 2.4rem;
  border-radius: 0.1rem;
  overflow: hidden;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .doctorGood {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding: 0.1rem;
  border-radius: 0.05rem;
  font-size: 0.26rem;
  font-weight: 400;
  line-height: 1.4;
  color: #004da1;
  background-color: #dcedff;
}

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .doctorGood b { font-weight: 700; }

:is(.m-tree .doctorPart1, .m-tree.doctorPart1) .photo img { width: 100%; height: 100%; }

:is(.m-tree .doctorIntro, .m-tree.doctorIntro) {
  width: 100%;
  margin: 0.3rem 0;
  padding: 0.3rem;
  border-radius: 0.1rem;
  background-color: #fff;
  box-sizing: border-box;
  text-align: justify;
}

:is(.m-tree .doctorIntro, .m-tree.doctorIntro) ul { list-style: inside; }

/* ============ 资讯/讲堂列表（2 列缩略卡） ============ */
:is(.m-tree .thumbGrid, .m-tree.thumbGrid) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: calc(50% - 0.125rem);
  height: auto;
  margin: 0 0 0.5rem 0.25rem;
  text-decoration: none;
  color: inherit;
}

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) a:nth-child(odd) { margin-left: 0; }

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) .thumbnail {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 75%;
}

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) .thumbnail img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.08rem;
  transition: transform 0.3s;
}

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) a:hover .thumbnail img { transform: scale(1.05); }

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) .sign {
  width: 100%;
  height: 0.28rem;
  line-height: 0.28rem;
  margin-top: 0.2rem;
  font-size: 0.28rem;
  font-weight: 400;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

:is(.m-tree .thumbGrid, .m-tree.thumbGrid) .postDate {
  width: 100%;
  height: 0.26rem;
  line-height: 0.26rem;
  margin-top: 0.15rem;
  font-size: 0.26rem;
  font-weight: 400;
  color: #666;
}

/* ============ 资讯/讲堂详情 ============ */

:is(.m-tree .articleTitle, .m-tree.articleTitle) {
  height: auto;
  margin-bottom: 0;
  border-bottom: 2px solid #dedede;
  background: transparent;
  padding: 0.3rem 0 0.25rem;
}

:is(.m-tree .articleTitle, .m-tree.articleTitle) h1 {
  margin: 0;
  line-height: 0.5rem;
  font-size: 0.36rem;
  color: #004da1;
  text-align: center;
  font-weight: 600;
}

:is(.m-tree .articleTitle, .m-tree.articleTitle) h4 {
  margin: 0.3rem 0 0.2rem 0;
  line-height: 1;
  font-size: 0.24rem;
  font-weight: 400;
  color: #999;
  text-align: center;
}

:is(.m-tree .articleTitle, .m-tree.articleTitle) h4 span:first-child { margin-right: 0.4rem; }

:is(.m-tree .articleContent, .m-tree.articleContent) {
  height: auto;
  margin: 0.5rem 0 0.6rem;
  background: transparent;
  padding: 0;
}

:is(.m-tree .articleContent, .m-tree.articleContent) img { display: block; max-width: 100%; height: auto; }

/* ============ 就医指南 ============ */
:is(.m-tree .guidelineShow, .m-tree.guidelineShow) {
  width: 100%;
  margin: 0 auto 0.5rem;
  background: url("https://liuyou-cdn.jnfykfyy.com/website/images/shared/guideline-back.png") repeat-y 0 0;
  background-size: 1.69rem 0.22rem;
}

:is(.m-tree .guidelineShow, .m-tree.guidelineShow) section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: 0.4rem;
}

:is(.m-tree .guidelineShow, .m-tree.guidelineShow) section:first-child { margin-top: 0; }

:is(.m-tree .gFirst, .m-tree.gFirst) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 1.5rem;
  flex-shrink: 0;
}

:is(.m-tree .gFirst, .m-tree.gFirst) img { width: 0.7rem; height: 0.7rem; margin-bottom: 0.2rem; }

:is(.m-tree .gFirst, .m-tree.gFirst) span { line-height: 1; color: #000; }

:is(.m-tree .gSecond, .m-tree.gSecond) {
  width: 0.35rem;
  height: 0.35rem;
  line-height: 0.31rem;
  border: 1px solid #004da1;
  border-radius: 50%;
  font-size: 0.24rem;
  color: #004da1;
  text-align: center;
  background-color: #fff;
  flex-shrink: 0;
}

:is(.m-tree .gThird, .m-tree.gThird) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 1.85rem);
  padding-left: 0.2rem;
}

:is(.m-tree .gBox, .m-tree.gBox) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.24rem 0.3rem;
  border-radius: 0.1rem;
  background-color: #fff;
}

:is(.m-tree .gQrcode, .m-tree.gQrcode) {
  width: 1.1rem;
  height: 1.1rem;
  padding: 0.04rem;
  background-color: #fff;
  flex-shrink: 0;
  margin-left: 0.2rem;
}

:is(.m-tree .gQrcode, .m-tree.gQrcode) img { width: 1.02rem; height: 1.02rem; }

/* ============ 交通指南 ============ */
:is(.m-tree .transportPart1, .m-tree.transportPart1) {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0.15rem 0 0.25rem 0;
  background-color: rgba(0, 77, 161, 0.05);
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) > div:first-child { width: calc(58% - 0.116rem); }
:is(.m-tree .transportPart1, .m-tree.transportPart1) > div:last-child { width: calc(42% - 0.084rem); }

:is(.m-tree .transportPart1, .m-tree.transportPart1) img {
  width: 0.8rem;
  height: 0.8rem;
  margin-bottom: 0.05rem;
  border: 1px solid #999;
}

:is(.m-tree .transportPart1, .m-tree.transportPart1) span {
  margin-top: 0.2rem;
  line-height: 1;
  font-size: 0.24rem;
  color: #2f2f2f;
}

:is(.m-tree .transportSection, .m-tree.transportSection) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:is(.m-tree .transportLeft, .m-tree.transportLeft) {
  width: 1.8rem;
  line-height: 0.5rem;
  margin-right: 0.1rem;
  font-weight: 600;
  color: #004da1;
  flex-shrink: 0;
}

:is(.m-tree .transportIcon, .m-tree.transportIcon) {
  float: left;
  width: 0.67rem;
  height: 0.5rem;
  margin-right: 0.15rem;
  padding-right: 0.15rem;
  border-right: 2px solid #004da1;
}

:is(.m-tree .transportIcon, .m-tree.transportIcon) img { width: 0.5rem; height: 0.5rem; }

:is(.m-tree .transportRight, .m-tree.transportRight) { flex: 1; min-width: 0; }

/* ============ 复元历史 ============ */
:is(.m-tree .timelineItem, .m-tree.timelineItem) {
  position: relative;
  padding-left: 0.4rem;
  padding-bottom: 0.4rem;
}

:is(.m-tree .timelineItem, .m-tree.timelineItem)::before {
  content: "";
  position: absolute;
  left: 0.08rem;
  top: 0.2rem;
  bottom: -0.1rem;
  width: 2px;
  background: #dcdfe6;
}

:is(.m-tree .timelineItem, .m-tree.timelineItem):last-child::before { display: none; }

:is(.m-tree .timelineItem, .m-tree.timelineItem)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: #004da1;
}

:is(.m-tree .timelineTimestamp, .m-tree.timelineTimestamp) {
  margin-bottom: 0.2rem;
  font-size: 0.28rem;
  color: #000;
  font-weight: 600;
}

:is(.m-tree .timelineCard, .m-tree.timelineCard) {
  padding: 0.24rem;
  border-radius: 0.1rem;
  background: #fff;
  font-size: 0.28rem;
}

/* ============ 加入我们 ============ */
:is(.m-tree .positionSeries, .m-tree.positionSeries) {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 0.3rem;
}

:is(.m-tree .positionSeries, .m-tree.positionSeries):first-child { margin-top: 0; }

:is(.m-tree .positionSeries, .m-tree.positionSeries) .seriesName {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.2rem;
  min-height: 0.8rem;
  margin-right: 0.2rem;
  padding: 0 0.2rem;
  border-radius: 0.1rem;
  text-align: center;
  background-color: #dcedff;
  font-size: 0.28rem;
  color: #004da1;
  flex-shrink: 0;
  box-sizing: border-box;
}

:is(.m-tree .positionSeries, .m-tree.positionSeries) .seriesList {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

:is(.m-tree .positionJob, .m-tree.positionJob) {
  width: 100%;
  line-height: 1.6;
  margin: 0.2rem 0 0 0;
  padding: 0.2rem;
  color: #2f2f2f;
  background-color: #fff;
  border-radius: 0.1rem;
  font-size: 0.28rem;
}

:is(.m-tree .positionJob, .m-tree.positionJob) b { color: #3498db; display: block; margin-bottom: 0.06rem; }

:is(.m-tree .positionJob, .m-tree.positionJob):first-child { margin-top: 0; }

/* 分页 */
:is(.m-tree .pagination, .m-tree.pagination) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.16rem;
  padding-bottom: 0.5rem;
}

:is(.m-tree .pagination, .m-tree.pagination) a,

:is(.m-tree .pagination, .m-tree.pagination) span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.6rem;
  height: 0.6rem;
  padding: 0 0.1rem;
  border-radius: 4px;
  background: #f0f2f5;
  color: #606266;
  font-size: 0.26rem;
  text-decoration: none;
}

:is(.m-tree .pagination, .m-tree.pagination) .active { background: #004da1; color: #fff; }
:is(.m-tree .pagination, .m-tree.pagination) .disabled { color: #c0c4cc; }

/* 空状态 */
:is(.m-tree .empty, .m-tree.empty) {
  padding: 1.6rem 0;
  text-align: center;
  color: #909399;
  font-size: 0.28rem;
}

/* ================= 科室卡入场覆盖（服务端全量渲染 + JS 逐张点亮） ================= */
:is(.d-tree .departmentList, .d-tree.departmentList) a,
:is(.m-tree .departmentList, .m-tree.departmentList) a { animation: none; }

