/* banner 轮播外层 */
.banner {
  position: relative;
  height: 810px;
  overflow: hidden;
  background: #eaf2f8;
}

/* 轮播单张图片 */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .5s ease;
}

.slide.active {
  opacity: 1;
}

/* 空白占位图：图片不清楚时用于占位 */
.slide.placeholder {
  background: linear-gradient(135deg, #eef6fb, #dceaf5 52%, #f8fbfd);
}

.slide.placeholder::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #9bb2c8;
  font-size: 18px;
  letter-spacing: 2px;
  content: "BANNER 图片占位";
  transform: translate(-50%, -50%);
}

/* banner 底部圆点 */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.banner-dots button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.banner-dots button.active {
  background: #00a4e4;
}

/* 患者服务模块外层 */
.patient-service {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  background: #fff;
}

/* 患者服务标题 */
.service-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 200px;
  margin-bottom: var(--section-title-gap);
  color: #0759b2;
}

.service-title h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 4px;
}

/* 标题左侧小图标：用 CSS 绘制爱心加人形 */
.service-title-icon {
  position: relative;
  display: block;
  width: 27px;
  height: 29px;
}

.service-title-icon::before {
  position: absolute;
  top: 0;
  left: 4px;
  width: 16px;
  height: 16px;
  content: "";
  border: 3px solid #0759b2;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
}

.service-title-icon::after {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 9px;
  height: 9px;
  content: "";
  border: 3px solid #0759b2;
  border-radius: 50%;
}

.service-title-icon img,
.news-title-icon img,
.rehab-title-icon img,
.health-title-icon img,
.department-title-icon img,
.doctor-title-icon img,
.science-title-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title-icon,
.news-title-icon,
.rehab-title-icon,
.health-title-icon,
.department-title-icon,
.doctor-title-icon,
.science-title-icon {
  flex: 0 0 auto;
  width: 45px;
  height: 35px;
}

.module-title-icon {
  flex: 0 0 auto;
  width: 45px;
  height: 35px;
}

.module-title-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.module-title-icon:has(img)::before,
.module-title-icon:has(img)::after {
  display: none;
}

.is-img-icon::before,
.is-img-icon::after {
  display: none !important;
  content: none !important;
}

.service-title-icon:has(img)::before,
.service-title-icon:has(img)::after,
.news-title-icon:has(img)::before,
.news-title-icon:has(img)::after,
.rehab-title-icon:has(img)::before,
.rehab-title-icon:has(img)::after,
.health-title-icon:has(img)::before,
.health-title-icon:has(img)::after,
.department-title-icon:has(img)::before,
.department-title-icon:has(img)::after,
.doctor-title-icon:has(img)::before,
.doctor-title-icon:has(img)::after,
.science-title-icon:has(img)::before,
.science-title-icon:has(img)::after {
  display: none;
}

/* 患者服务医院图片区域 */
.service-photo {
  height: 545px;
  background-color: #e9f1f7;
  background-position: center 12%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 四个患者服务入口 */
.service-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 1500px;
  max-width: calc(100% - 40px);
  margin-top: -160px;
}

.service-link {
  display: flex;
  min-height: 285px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background: #3c82df;
}

.service-link.dark {
  background: var(--primary-blue);
}

.service-link.muted {
  background: #5d89d4;
}

.service-link.green {
  background: #18c9c4;
}

.service-link.teal {
  background: #3ca0c8;
}

.service-link strong {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 400;
}

/* 服务入口图标公共样式 */
.service-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 4px;
}

.service-icon img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

/* 门诊服务图标 */
.service-icon.registration::before,
.service-icon.registration::after,
.service-icon.notice::before,
.service-icon.notice::after,
.service-icon.appointment::before,
.service-icon.appointment::after {
  position: absolute;
  content: "";
  background: #fff;
}

.service-icon.registration::before,
.service-icon.notice::before,
.service-icon.appointment::before {
  left: 9px;
  top: 17px;
  width: 17px;
  height: 4px;
}

.service-icon.registration::after,
.service-icon.notice::after,
.service-icon.appointment::after {
  left: 16px;
  top: 10px;
  width: 4px;
  height: 18px;
}

.service-icon.registration {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.service-icon.registration i {
  display: none;
}

/* 注意事项图标 */
.service-icon.notice {
  width: 44px;
  height: 38px;
  border-radius: 3px;
}

/* 预约挂号图标 */
.service-icon.appointment {
  width: 45px;
  height: 38px;
  border-radius: 5px;
}

.service-icon.appointment {
  box-shadow: inset 0 9px 0 rgba(255, 255, 255, .18);
}

/* 医保服务图标 */
.service-icon.insurance {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.service-icon.insurance::before {
  position: absolute;
  top: -9px;
  left: 9px;
  width: 18px;
  height: 13px;
  content: "";
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.service-icon.insurance::after {
  position: absolute;
  left: 10px;
  top: 17px;
  width: 16px;
  height: 4px;
  content: "";
  background: #fff;
  box-shadow: 6px -6px 0 -2px #fff, 6px 6px 0 -2px #fff;
}

/* 新闻中心模块外层 */
.news-center {
  padding-top: 0;
  padding-bottom: var(--section-padding);
  background: #fff;
}

/* 新闻中心标题 */
.news-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 220px;
  margin-bottom: var(--section-title-gap);
  color: var(--primary-blue);
}

.news-title h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 4px;
}

/* 新闻标题左侧医疗箱图标 */
.news-title-icon {
  position: relative;
  display: block;
  width: 31px;
  height: 24px;
  border: 3px solid #00499a;
  border-radius: 4px;
}

.news-title-icon::before {
  position: absolute;
  top: -10px;
  left: 8px;
  width: 10px;
  height: 8px;
  content: "";
  border: 3px solid #00499a;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.news-title-icon::after {
  position: absolute;
  left: 7px;
  top: 8px;
  width: 12px;
  height: 3px;
  content: "";
  background: #00499a;
  box-shadow: 4px -4px 0 -1px #00499a, 4px 4px 0 -1px #00499a;
}

/* 新闻主体：左侧图片新闻，右侧公告列表 */
.news-content {
  display: grid;
  grid-template-columns: 920px 570px;
  gap: 10px;
  width: 1500px;
  max-width: calc(100% - 40px);
  justify-content: center;
  align-items: stretch;
}

.hospital-news h3 {
  margin: 0 0 14px;
  color: #00499a;
  font-size: 24px;
  font-weight: 500;
}

.hospital-news,
.news-notice {
  height: 885px;
}

.hospital-news {
  display: flex;
  flex-direction: column;
}

/* 左侧主新闻图片卡片 */
.news-main-card {
  position: relative;
  display: block;
  width: 915px;
  height: 505px;
  flex: none;
  overflow: hidden;
  background: #e7eef5;
}

.news-main-photo {
  height: 100%;
  background-position: center 34%;
  background-size: cover;
  background-repeat: no-repeat;
}

.news-main-card p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 13px 18px;
  color: #fff;
  font-size: 17px;
  background: rgba(0, 0, 0, .44);
}

/* 左侧三张缩略图新闻 */
.news-thumb-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
  margin-top: 18px;
}

.news-thumb-list a {
  display: block;
}

.news-thumb-photo {
  display: block;
  height: 215px;
  background: linear-gradient(135deg, #dfeef8, #b4d1e9);
  background-image: linear-gradient(135deg, rgba(0, 73, 154, .12), rgba(255, 255, 255, .08)), url("../首页.png");
  background-position: center 45%;
  background-size: cover;
}

.news-thumb-photo.equipment {
  background-position: center 62%;
}

.news-thumb-list p {
  margin: 9px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
}

/* 右侧公告列表 */
.news-notice {
  width: 570px;
  justify-self: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 38px 44px;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, .1);
}

.news-notice a {
  flex: 1;
  display: block;
  min-height: 0;
  padding: 18px 0 20px;
  border-bottom: 1px solid #d7d7d7;
}

.news-notice a:last-child {
  border-bottom: 0;
}

.news-notice time {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 16px;
  line-height: 1.25;
}

.news-notice p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 1.32;
}

.news-notice a:hover p {
  color: #00499a;
}

/* 康复支持模块外层：浅蓝色背景 */
.rehab-support {
  height: 1060px;
  padding: 0;
  background: var(--light-blue-bg);
}

/* 康复支持标题 */
.rehab-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 220px;
  margin-bottom: 0;
  color: var(--text-blue);
}

.rehab-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 3px;
}

/* 标题左侧图标：CSS 绘制简化学士帽 */
.rehab-title-icon {
  position: relative;
  display: block;
  width: 33px;
  height: 28px;
}

.rehab-title-icon img {
  display: block;
  width: 33px;
  height: 28px;
  object-fit: contain;
}

.rehab-title-icon::before {
  position: absolute;
  left: 2px;
  top: 0;
  width: 23px;
  height: 23px;
  content: "";
  border: 3px solid #0759b2;
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.rehab-title-icon::after {
  position: absolute;
  left: 9px;
  bottom: 0;
  width: 16px;
  height: 9px;
  content: "";
  border: 3px solid #0759b2;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.rehab-title-icon:has(img)::before,
.rehab-title-icon:has(img)::after {
  display: none;
}

/* 康复支持主体三栏布局 */
.rehab-content {
  display: grid;
  grid-template-columns: 300px 560px 650px;
  gap: 0;
  width: 1510px;
  max-width: calc(100% - 40px);
  height: 685px;
  align-items: stretch;
  justify-content: center;
}

/* 左侧切换按钮 */
.rehab-tabs {
  display: flex;
  flex-direction: column;
  gap: 55px;
  width: 300px;
  padding-top: 0;
}

.rehab-tabs button {
  width: 235px;
  height: 65px;
  border: 0;
  border-radius: 999px;
  color: #2c6fb7;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 73, 154, .13);
  cursor: pointer;
}

.rehab-tabs button.active {
  color: #fff;
  background: var(--primary-blue);
  border: 2px solid #00499a;
  box-shadow: 0 4px 16px rgba(0, 73, 154, 0.2);
  transform: translateY(-2px);
  border-radius: 12px;
}

/* 中间康复图片 */
.rehab-photo {
  display: none;
  min-height: 685px;
  width: 560px;
}

.rehab-photo.active {
  display: block;
  background-color: #d6e8f6;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 右侧康复介绍内容 */
.rehab-info {
  display: none;
  min-height: 685px;
  width: 650px;
  padding: 58px 48px 40px 58px;
  background: #fff;
}

.rehab-info.active {
  display: block;
}

.rehab-info h3 {
  margin: 0 0 26px;
  color: #00499a;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.rehab-info h4 {
  margin: 12px 0 6px;
  color: #00499a;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.rehab-info p,
.rehab-info li {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.75;
}

.rehab-info p {
  margin: 0;
}

.rehab-info ol {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.rehab-info a {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 28px;
  color: #fff;
  font-size: 16px;
  border-radius: var(--radius-pill);
  background: var(--primary-blue);
}

/* 康养中心模块外层 */
.health-center {
  padding: var(--section-padding) 0 0;
  background: #fff;
}

/* 康养中心标题 */
.health-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 220px;
  margin-bottom: var(--section-title-gap);
  color: var(--text-blue);
}

.health-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 3px;
}

/* 标题左侧房屋图标 */
.health-title-icon {
  position: relative;
  display: block;
  width: 31px;
  height: 28px;
}

.health-title-icon::before {
  position: absolute;
  left: 2px;
  top: 0;
  width: 22px;
  height: 22px;
  content: "";
  border-top: 3px solid #0759b2;
  border-left: 3px solid #0759b2;
  transform: rotate(45deg);
}

.health-title-icon::after {
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 22px;
  height: 18px;
  content: "";
  border: 3px solid #0759b2;
  border-top: 0;
  border-radius: 2px;
}

/* 康养中心四列图片 */
.health-grid {
  display: flex;
  height: 920px;
  overflow: hidden;
}

.health-card {
  position: relative;
  flex: 0 1 400px;
  overflow: hidden;
  background-color: #dcebf6;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex-basis .35s ease;
}

.health-card.active {
  flex-basis: 740px;
}

.health-card.care {
  background-position: left 58%;
}

.health-card.manage {
  background-position: center 61%;
}

.health-card.emergency {
  background-position: center 72%;
}

.health-card.nutrition {
  background-position: right 76%;
}

.health-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 61, 132, .12);
  transition: background .3s ease;
}

.health-card.active::before {
  background: rgba(0, 61, 132, .04);
}

/* 图片底部蓝色遮罩 */
.health-card-mask {
  position: absolute;
  left: 50%;
  top: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: all .35s ease;
}

.health-card-mask strong {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.health-card.active .health-card-mask {
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
  width: 505px;
  min-height: 0;
  height: 175px;
  align-items: flex-start;
  justify-content: center;
  padding: 0 34px;
  border-radius: 28px 0 0 0;
  background: rgba(0, 79, 168, .82);
  transform: none;
}

.health-card.active .health-card-icon {
  display: none;
}

.health-card.active .health-card-mask strong {
  font-size: 0;
}

.health-card.active .health-card-mask strong::after {
  content: attr(data-hover);
  font-size: 22px;
}

.health-card.active .health-card-mask strong::before {
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 72px;
  height: 3px;
  content: "";
  background: #fff;
}

/* 康养中心卡片圆形图标 */
.health-card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
}

.health-card-icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.health-card-icon:has(img)::before,
.health-card-icon:has(img)::after {
  display: none;
}

.health-card-icon::before {
  position: absolute;
  left: 11px;
  top: 12px;
  width: 20px;
  height: 17px;
  content: "";
  border: 3px solid #0759b2;
  border-radius: 2px;
}

.health-card-icon::after {
  position: absolute;
  left: 18px;
  top: 19px;
  width: 9px;
  height: 3px;
  content: "";
  background: #0759b2;
  box-shadow: 3px -3px 0 -1px #0759b2, 3px 3px 0 -1px #0759b2;
}

.health-card-icon.medical::before {
  border-radius: 4px;
}

.health-card-icon.meal::before {
  left: 12px;
  top: 18px;
  width: 18px;
  height: 9px;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.health-card-icon.meal::after {
  left: 14px;
  top: 12px;
  width: 16px;
  height: 10px;
  border: 3px solid #0759b2;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  box-shadow: none;
}

/* 科室导航模块外层 */
.department-nav {
  padding: var(--section-padding) 0;
  background: #fff;
}

/* 科室导航标题 */
.department-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 240px;
  margin-bottom: 0;
  color: #0759b2;
}

.department-title h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 4px;
}

/* 标题左侧医疗箱图标 */
.department-title-icon {
  position: relative;
  display: block;
  width: 34px;
  height: 28px;
  border: 3px solid #0759b2;
  border-radius: 5px;
}

.department-title-icon::before {
  position: absolute;
  top: -12px;
  left: 8px;
  width: 12px;
  height: 9px;
  content: "";
  border: 3px solid #0759b2;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.department-title-icon::after {
  position: absolute;
  left: 8px;
  top: 10px;
  width: 13px;
  height: 3px;
  content: "";
  background: #0759b2;
  box-shadow: 5px -5px 0 -1px #0759b2, 5px 5px 0 -1px #0759b2;
}

.department-title-icon.is-img-icon {
  border: 0;
}

.department-title-icon.is-img-icon::before,
.department-title-icon.is-img-icon::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* 科室导航主体 */
.department-content {
  display: flex;
  width: 1505px;
  max-width: calc(100% - 40px);
  height: 710px;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

/* 百叶窗单个区域 */
.department-blind-item {
  position: relative;
  display: flex;
  height: 710px;
  overflow: hidden;
  flex: 1;
  transition: all 0.5s ease;
  border-radius: 8px;
}

/* s1: 带背景图的部分 */
.department-blind-s1 {
  position: relative;
  width: 100%;
  height: 710px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 90px;
  background-color: #d9eaf7;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  transition: all 0.5s ease;
}

.department-blind-s1::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 54, 112, 0.28);
}

.department-blind-item.active .department-blind-s1::before {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.department-blind-item:nth-child(1).active .department-blind-s1::before {
  background-image: url("../images/index/lcks.png");
}

.department-blind-item:nth-child(2).active .department-blind-s1::before {
  background-image: url("../images/index/yjpt.png");
}

.department-blind-item:nth-child(3).active .department-blind-s1::before {
  background-image: url("../images/index/tszdxk.png");
}

.department-blind-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 32px;
  z-index: 2;
}

.department-blind-img img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.department-blind-s1 h4 {
  position: relative;
  width: 34px;
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  margin: 0;
  z-index: 2;
}

.department-blind-arrow {
  position: relative;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.department-blind-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5c842;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.department-blind-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

/* s2: 内容列表 */
.department-blind-s2 {
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 710px;
  padding: 30px;
  background: #fff;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.5s ease;
}

.department-blind-item:not(.active) {
  flex: 0 0 230px;
}

.department-blind-item.active {
  flex: 0 0 1005px;
}

.department-blind-item.active .department-blind-s1 {
  flex: 0 0 320px;
}

.department-blind-item.active .department-blind-s2 {
  left: 320px;
  width: 685px;
  opacity: 1;
  border-radius: 0 8px 8px 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0, 54, 112, 0.15);
}

.department-blind-item:not(.active) .department-blind-s1 {
  background-image: none !important;
  background-color: #2a52be;
}

.department-blind-item.active .department-blind-arrow {
  opacity: 1;
}

.department-blind-s2 h3 {
  margin: 0 0 25px 0;
  padding-bottom: 12px;
  color: #0759b2;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px dashed #2b7dc8;
}

.department-blind-list {
  list-style: none;
  padding: 0 20px 20px 20px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 15px;
}

.department-blind-list li a {
  display: block;
  padding: 10px 15px;
  color: #33609e;
  font-size: 14px;
  text-align: center;
  border: 1px solid #d4d8e0;
  border-radius: 20px;
  background: #f0f4f8;
  transition: all 0.3s ease;
}

.department-blind-list li a:hover {
  color: #fff;
  background: #0759b2;
  border-color: #0759b2;
}

/* 左侧临床科室图片 */
.department-photo {
  position: relative;
  display: block;
  width: 330px;
  min-height: 710px;
  overflow: hidden;
  color: #fff;
  border-radius: 8px 0 0 8px;
  background-color: #d9eaf7;
  background-position: center 55%;
  background-size: cover;
}

.department-photo::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 54, 112, .28);
}

.department-photo strong {
  position: absolute;
  left: 50%;
  top: 190px;
  width: 40px;
  color: #fff;
  font-size: 33px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  writing-mode: vertical-rl;
  transform: translateX(-50%);
}

/* 左图眼镜装饰 */
.department-glasses {
  position: absolute;
  top: 104px;
  left: 50%;
  width: 90px;
  height: 58px;
  transform: translateX(-50%);
}

.department-glasses img {
  display: block;
  width: 90px;
  height: 58px;
  object-fit: contain;
}

.department-glasses:has(img) {
  border-top: 0;
  transform: translateX(-50%);
}

.department-glasses:has(img)::before,
.department-glasses:has(img)::after {
  display: none;
}

.department-glasses::before,
.department-glasses::after {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 18px;
  content: "";
  border: 6px solid #ffc000;
  border-radius: 50%;
}

.department-glasses::before {
  left: 0;
}

.department-glasses::after {
  right: 0;
}

.department-glasses {
  border-top: 6px solid #fff;
  transform: rotate(45deg);
}

.department-glasses:has(img) {
  border-top: 0;
  transform: translateX(-50%);
}

/* 中间科室列表白色卡片 */
.department-list {
  width: 700px;
  min-height: 710px;
  padding: 26px 26px 20px;
  border: 1px solid #d9e0e6;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 52, 110, .08);
}

.department-list h3 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #0759b2;
  font-size: 24px;
  border-bottom: 2px dashed #2b7dc8;
}

.department-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px 18px;
  height: 620px;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-color: #0759b2 #dce3e8;
  scrollbar-width: thin;
}

.department-tags::-webkit-scrollbar {
  width: 4px;
}

.department-tags::-webkit-scrollbar-track {
  background: #dce3e8;
  border-radius: 999px;
}

.department-tags::-webkit-scrollbar-thumb {
  background: #0759b2;
  border-radius: 999px;
}

.department-tags a {
  display: flex;
  width: 190px;
  height: 50px;
  align-items: center;
  justify-content: center;
  color: #1b66aa;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  background: #e8eff3;
}

.department-tags a:hover {
  color: #fff;
  background: #0759b2;
}

/* 右侧重点学科入口 */
.department-feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 475px;
}

.department-feature a {
  display: flex;
  width: 235px;
  min-height: 710px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  border-radius: 8px;
  background: var(--primary-blue);
}

.department-feature strong {
  width: 34px;
  margin-top: 42px;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
}

/* 右侧蓝色入口图标 */
.department-feature-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}

.department-feature-icon img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.department-feature-icon:has(img)::before,
.department-feature-icon:has(img)::after {
  display: none;
}

.department-feature-icon.flask::before {
  position: absolute;
  left: 20px;
  top: 5px;
  width: 24px;
  height: 52px;
  content: "";
  border: 6px solid #fff;
  border-top: 0;
  clip-path: polygon(30% 0, 70% 0, 70% 35%, 100% 100%, 0 100%, 30% 35%);
}

.department-feature-icon.flask::after {
  position: absolute;
  left: 26px;
  bottom: 11px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #ffc000;
  box-shadow: 15px 0 0 #ffc000, 8px -13px 0 #ffc000;
}

.department-feature-icon.file::before {
  position: absolute;
  left: 9px;
  top: 6px;
  width: 42px;
  height: 54px;
  content: "";
  border: 5px solid #fff;
  border-radius: 4px;
}

.department-feature-icon.file::after {
  position: absolute;
  right: 5px;
  bottom: 4px;
  width: 29px;
  height: 29px;
  content: "★";
  color: #ffc000;
  font-size: 25px;
  line-height: 29px;
  text-align: center;
  border: 4px solid #fff;
  border-radius: 3px;
}

/* 医生团队模块外层 */
.doctor-team {
  padding: 60px 0 80px;
  background: #fff;
}

/* 医生团队标题 */
.doctor-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 120px;
  margin-bottom: 0;
  color: #0759b2;
}

.doctor-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 4px;
}

/* 标题左侧医生团队图标 */
.doctor-title-icon {
  position: relative;
  display: block;
  width: 40px;
  height: 32px;
}

.doctor-title-icon::before,
.doctor-title-icon::after {
  position: absolute;
  content: "";
  border: 3px solid #00499a;
}

.doctor-title-icon::before {
  left: 12px;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.doctor-title-icon::after {
  left: 7px;
  bottom: 0;
  width: 25px;
  height: 17px;
  border-radius: 18px 18px 0 0;
}

/* 医生科室 Tab */
.doctor-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 1230px;
  max-width: calc(100% - 40px);
  height: 88px;
  margin: 0 auto 56px;
  padding: 0 40px;
  align-items: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 54, 112, .12);
}

.doctor-tabs button {
  position: relative;
  height: 64px;
  border: 0;
  color: #333;
  font-size: 20px;
  background: transparent;
  cursor: pointer;
}

.doctor-tabs button.active {
  color: var(--primary-blue);
  font-weight: 700;
}

.doctor-tabs button.active::before {
  position: absolute;
  top: 11px;
  left: 50%;
  content: "";
  border: 5px solid transparent;
  border-top-color: var(--primary-blue);
  transform: translateX(-50%);
}

/* 医生轮播区域 */
.doctor-slider {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 20px;
  width: 1500px;
  max-width: calc(100% - 40px);
  min-height: 480px;
  align-items: center;
}

.doctor-window {
  overflow: visible;
}

.doctor-track {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.doctor-track.active {
  display: grid;
}

.doctor-card {
  display: none;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 0 18px 18px 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 54, 112, .1);
  cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease;
}

.doctor-card.visible {
  display: block;
}

.doctor-card:hover,
.doctor-card.active {
  box-shadow: 0 12px 28px rgba(0, 54, 112, .16);
  transform: translateY(-4px);
}

/* 上方头像：圆角裁剪，悬浮放大 */
.doctor-photo {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 0 18px 0 0;
  background: #e8eef3;
}

.doctor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}

.doctor-card:hover .doctor-photo img,
.doctor-card.active .doctor-photo img {
  transform: scale(1.12);
}

/* 下方文字：默认白底，悬浮绿底+背景图 */
.doctor-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  min-height: 118px;
  padding: 22px 16px 26px;
  text-align: center;
  border-radius: 0 0 18px 18px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right -10px bottom -16px;
  background-size: 110px auto;
  transition: background-color .25s ease, color .25s ease;
}

.doctor-meta strong {
  color: #1a3a66;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.doctor-meta em,
.doctor-meta span {
  color: #66788f;
  font-size: 15px;
  font-style: normal;
  line-height: 1.4;
}

.doctor-card:hover .doctor-meta,
.doctor-card.active .doctor-meta {
  color: #fff;
  background-color: #0759b2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Ccircle cx='78' cy='78' r='52' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='10'/%3E%3Ccircle cx='78' cy='78' r='30' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='8'/%3E%3Cpath d='M78 52c8 0 14 6 14 14s-6 14-14 14-14-6-14-14 6-14 14-14zm0 34c16 0 30 8 34 18v8H44v-8c4-10 18-18 34-18z' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E");
}

.doctor-card:hover .doctor-meta strong,
.doctor-card.active .doctor-meta strong,
.doctor-card:hover .doctor-meta em,
.doctor-card.active .doctor-meta em,
.doctor-card:hover .doctor-meta span,
.doctor-card.active .doctor-meta span {
  color: #fff;
}

/* 医生左右切换箭头 */
.doctor-arrow {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 0;
  line-height: 1;
  background: #0759b2;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(7, 89, 178, .28);
  transition: background .2s ease, transform .2s ease;
}

.doctor-arrow::before {
  display: block;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.doctor-arrow.prev::before {
  content: "‹";
}

.doctor-arrow.next::before {
  content: "›";
}

.doctor-arrow:hover {
  background: #064a96;
  transform: scale(1.05);
}

/* 健康科普模块外层：深蓝背景 */
.health-science {
  padding-top: 0;
  padding-bottom: 0;
  height: 890px;
  margin-bottom: 20px;
  background: var(--primary-blue);
}

/* 健康科普标题 */
.science-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 200px;
  margin-bottom: 0;
  color: #fff;
}

.science-title h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 4px;
}

/* 标题左侧圆形医疗图标 */
.science-title-icon {
  position: relative;
  display: block;
  width: 43px;
  height: 43px;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
}

.science-title-icon::before {
  position: absolute;
  inset: 6px;
  content: "";
  border: 3px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
}

.science-title-icon::after {
  position: absolute;
  left: 14px;
  top: 19px;
  width: 14px;
  height: 4px;
  content: "";
  background: #fff;
  box-shadow: 5px -5px 0 -1px #fff, 5px 5px 0 -1px #fff;
}

.service-title-icon,
.news-title-icon,
.rehab-title-icon,
.health-title-icon,
.department-title-icon,
.doctor-title-icon,
.science-title-icon {
  width: 45px;
  height: 35px;
}

.module-title-icon {
  width: 45px;
  height: 35px;
}

.module-title-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.module-title-icon.is-img-icon {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.module-title-icon.is-img-icon::before,
.module-title-icon.is-img-icon::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* 医学科普卡片区 */
.science-wrap {
  position: relative;
}

/* 右上角左右切换按钮 */
.science-arrows {
  position: absolute;
  right: 6px;
  top: -58px;
  display: flex;
  gap: 14px;
  height: 60px;
}

.science-arrows button {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: var(--primary-blue);
  font-size: 34px;
  line-height: 1;
  background: #fff;
  cursor: pointer;
}

/* 科普卡片三列 */
.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 450px);
  gap: 36px;
  width: 1455px;
  max-width: calc(100% - 40px);
}

.science-card {
  display: none;
  width: 450px;
  height: 520px;
  overflow: hidden;
}

.science-card.visible {
  display: block;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

.science-photo {
  height: 320px;
  overflow: hidden;
  background: none;
}

.science-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.science-body {
  padding: 24px 22px 22px;
}

.science-body h3 {
  margin: 0 0 14px;
  color: #333;
  font-size: 17px;
  line-height: 1.45;
}

.science-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin: 0 0 22px;
  color: #555;
  font-size: 13px;
  line-height: 1.65;
}

.science-body a {
  display: inline-block;
  padding: 7px 18px;
  color: #fff;
  font-size: 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-blue);
}

@media (min-width: 901px) {
  .banner {
    height: 810px;
  }

  .patient-service {
    padding-top: 0;
    padding-bottom: 0;
  }

  .service-title,
  .news-title,
  .rehab-title,
  .health-title,
  .doctor-title,
  .science-title {
    margin-bottom: 48px;
  }

  .service-title {
    margin-bottom: 0;
  }

  .news-title {
    margin-bottom: 0;
  }

  .rehab-title {
    margin-bottom: 0;
  }

  .health-title {
    margin-bottom: 0;
  }

  .department-title {
    height: 240px;
    margin-bottom: 0;
  }

  .department-nav {
    padding-top: 0;
  }

  .service-photo {
    height: 810px;
  }

  .service-links {
    margin-top: -160px;
  }

  .service-link {
    min-height: 285px;
  }

  .department-nav,
  .doctor-team,
  .health-science {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .news-center {
    padding-top: 0;
    padding-bottom: 0;
  }

  .rehab-support {
    padding-top: 0;
    padding-bottom: 0;
  }

  .news-content {
    grid-template-columns: 920px 570px;
    gap: 10px;
    width: 1500px;
    max-width: calc(100% - 40px);
  }

  .hospital-news,
  .news-notice {
    height: 885px;
  }

  .news-main-card {
    width: 915px;
    height: 505px;
  }

  .news-thumb-list {
    margin-top: 20px;
  }

  .news-thumb-photo {
    height: 215px;
  }

  .news-notice {
    width: 570px;
    padding: 38px 44px;
  }

  .rehab-photo,
  .rehab-info {
    min-height: 685px;
  }

  .rehab-tabs {
    gap: 35px;
    width: 300px;
    padding-top: 0;
  }

  .rehab-tabs button {
    width: 235px;
    height: 65px;
  }

  .rehab-content {
    grid-template-columns: 300px 560px 650px;
    gap: 0;
    width: 1510px;
    max-width: calc(100% - 40px);
    height: 685px;
  }

  .rehab-photo {
    width: 560px;
  }

  .rehab-info {
    width: 650px;
    padding: 58px 48px 40px 58px;
  }

  .health-grid {
    height: 920px;
  }

  .department-content {
    flex-direction: row;
    gap: 6px;
    width: 1505px;
    max-width: calc(100% - 40px);
    height: 710px;
  }

  .department-blind-item {
    height: 710px;
  }

  .department-tags {
    height: 620px;
    gap: 19px 18px;
  }

  .department-glasses {
    top: 112px;
  }

  .department-photo strong {
    top: 210px;
  }

  .doctor-title {
    height: 120px;
    margin-bottom: 0;
  }

  .doctor-tabs {
    width: 1230px;
    height: 88px;
  }

  .doctor-slider {
    width: 1500px;
    min-height: 480px;
    height: auto;
  }

  .doctor-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .doctor-card {
    width: 100%;
  }

  .health-science {
    padding-top: 0;
    padding-bottom: 0;
    height: 890px;
    margin-bottom: 20px;
  }

  .science-title {
    height: 200px;
    margin-bottom: 0;
  }

  .science-arrows {
    height: 60px;
  }

  .science-grid {
    grid-template-columns: repeat(3, 450px);
    gap: 36px;
    width: 1455px;
  }

  .science-card {
    width: 450px;
    height: 520px;
  }

  .science-photo {
    height: 320px;
  }

  .doctor-tabs {
    margin-bottom: 56px;
  }

  .science-body {
    padding: 28px 24px 26px;
  }

}

/* 懒加载背景图：未出图时底色 + 加载中转圈（不用 ::before，避免和康养卡片遮罩冲突） */
.js-lazy-bg,
.slide[data-bg] {
  position: relative;
  background-color: #e8eef4;
}

.js-lazy-bg.is-pending:not(.is-loaded),
.slide[data-bg].is-pending:not(.is-loaded) {
  background-image: linear-gradient(120deg, #e8eef4 0%, #f3f7fb 48%, #e8eef4 100%);
  background-size: 200% 100%;
  animation: lazy-shimmer 1.2s linear infinite;
}

.js-lazy-bg.is-loading::after,
.slide[data-bg].is-loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  box-sizing: border-box;
  content: "";
  border: 3px solid rgba(0, 73, 154, .18);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: lazy-spin .7s linear infinite;
  pointer-events: none;
}

.js-lazy-bg.is-loaded,
.slide.is-loaded {
  animation: none;
}

.js-lazy-bg.is-loaded::after,
.slide.is-loaded::after {
  display: none;
}

@keyframes lazy-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lazy-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* 平板与手机适配 */

