.page-index2 {
  min-width: 1500px;
  background: #fff;
  color: #333;
}

.page-wrap {
  width: 1500px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  color: #008842;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.block-title {
  position: relative;
  margin: 0 0 36px;
  padding-bottom: 14px;
  color: #008842;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid #cfcfcf;
}

.block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 15px;
  width: 90px;
  height: 4px;
  background: #008842;
}

.top-header {
  position: relative;
  z-index: 50;
  background: #fff;
}

.top-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.top-logo {
  display: block;
  width: 407px;
  height: 76px;
}

.top-logo img {
  width: 407px;
  height: 76px;
  object-fit: contain;
}
.top-search .search_so {
  width: 86px;
  height: 45px;
  border: 0;
  color: #fff;
  background: #008842;
  font-size: 16px;
  font-weight: 700;
}
.top-search {
  position: relative;
  z-index: 70;
  display: grid;
  grid-template-columns: 38px 1fr 86px;
  align-items: center;
  width: 420px;
  height: 45px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #008842;
  border-radius: 999px;
  background: #fff;
}

.top-search__icon {
  width: 16px;
  height: 16px;
  margin-left: 20px;
  border: 2px solid #9ba8b8;
  border-radius: 50%;
  position: relative;
}

.top-search__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #9ba8b8;
  transform: rotate(45deg);
}

.top-search input:not([type="submit"]):not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  height: 43px;
  border: 0;
  outline: 0;
  font-size: 14px;
  /*color: #333;*/
}

.top-search input::placeholder {
  color: #8b8f98;
}



.main-nav {
  position: relative;
  z-index: 60;
  height: 55px;
  background: #008842;
}

.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
}

.main-nav__item {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  min-width: 118px;
}

.main-nav__item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 34px;
  padding: 0 20px;
  color: #fff;
  font-size: 21px;
  line-height: 34px;
  border-radius: 999px;
  text-decoration: none;
}

.main-nav__item > a:hover,
.main-nav__item > a.is-active {
  color: #008842;
  background: #fff;
  text-decoration: none;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 55px;
  height: 225px;
  overflow: hidden;
  background: rgba(0, 136, 66, 0.76);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.main-nav__item--has-dropdown:hover .nav-dropdown,
.main-nav__item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown__inner {
  display: grid;
  grid-template-columns: 245px 260px 1fr 325px;
  height: 225px;
  color: #fff;
}

.nav-dropdown__title,
.nav-dropdown__links,
.nav-dropdown__intro,
.nav-dropdown__quick {
  padding: 38px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.nav-dropdown__title strong {
  display: block;
  font-size: 38px;
  line-height: 1.1;
}

.nav-dropdown__title span {
  display: block;
  width: 78px;
  height: 6px;
  margin-top: 20px;
  background: #fff;
}

.nav-dropdown__links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 18px 50px;
  font-size: 17px;
}

.nav-dropdown__links a::before {
  content: "•";
  margin-right: 9px;
}

.nav-dropdown a {
  color: #fff;
  text-decoration: none;
}

.nav-dropdown a:hover {
  text-decoration: underline;
}

.nav-dropdown__intro h2 {
  margin: 0 0 13px;
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.nav-dropdown__intro p {
  width: 440px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  line-height: 1.65;
}

.nav-dropdown__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 28px;
  border-radius: 999px;
  background: #f49b23;
  font-size: 13px;
}

.nav-dropdown__quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 26px;
  border-right: 0;
}

.nav-dropdown__quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 15px;
}

.quick-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.quick-icon--calendar::before,
.quick-icon--kit::before,
.quick-icon--plus::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.quick-icon--stethoscope {
  border-color: transparent;
}

.quick-icon--stethoscope::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 20px;
  height: 24px;
  border: 4px solid #fff;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.quick-icon--pin {
  border-radius: 50%;
}

.quick-icon--pin::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.quick-icon--heart {
  border: 0;
}

.quick-icon--heart::before {
  content: "♡";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 46px;
  line-height: 38px;
  text-align: center;
}

.quick-icon--search {
  border-radius: 50%;
}

.quick-icon--search::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -4px;
  width: 16px;
  height: 5px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(45deg);
}

.hero-carousel {
  position: relative;
  height: 780px;
  overflow: hidden;
  background: #e7eef6;
}

.hero-carousel__slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.hero-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.carousel-dot {
  width: 110px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.carousel-dot.is-active {
  background: #ff9f22;
}

.patient-service {
  position: relative;
  height: 1210px;
  overflow: hidden;
  background: #fff;
}

.patient-service__bg {
  position: absolute;
  inset: 0;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 420px auto, 360px auto;
  background-position: 70px 10px, calc(100% - 120px) calc(100% - 40px);
  opacity: 0.55;
}

.patient-service__bg.is-bg-loaded {
  background-image: url("../images/index/bg_hz.png"), url("../images/index/bg_hz.png");
}

.patient-service__inner {
  position: relative;
  height: 1210px;
}

.patient-service__inner::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 1080px;
  width: 70px;
  height: 70px;
  background: #008842;
  z-index: 0;
}

.patient-service__title {
  position: absolute;
  /*left: 64px;*/
  top: 210px;
}

.patient-service__blue-band {
  position: absolute;
  left: calc(-210px);
  top: 555px;
  width: 1920px;
  height: 480px;
  background: rgb(0, 136, 66);
}

.patient-service__main-img {
  position: absolute;
  right: calc((1500px - 100vw) / 2);
  top: 120px;
  width: 1180px;
  height: 700px;
  object-fit: cover;
  /*box-shadow: 0 10px 26px rgba(0, 48, 110, 0.14);*/
}

.patient-service__sub-img {
  position: absolute;
  left: 25px;
  top: 775px;
  width: 650px;
  height: 350px;
  object-fit: cover;
  z-index: 1;
}

.service-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 285px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  border-radius: 92px 0px 92px 0px;
}

.service-card:hover {
  color: #fff;
  text-decoration: none;
}

.service-card--appointment {
  left: 80px;
  top: 440px;
  background: #4aa8f0;
}

.service-card--process {
  left: 465px;
  top: 440px;
  background: #e8c86d;
}

.service-card--insurance {
  left: 700px;
  top: 850px;
  background: #009982;
}

.service-card--suggest {
  right: 55px;
  top: 850px;
  background: #1f82d9;
}

.service-card__icon {
  width: 82px;
  height: 82px;
  margin-bottom: 34px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.service-card__icon--calendar::before,
.service-card__icon--process::before {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
}

.service-card__icon--guide::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 23px;
  width: 40px;
  height: 8px;
  background: #fff;
  box-shadow: 0 22px 0 #fff;
}

.service-card__icon--guide::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -20px;
  width: 34px;
  height: 34px;
  border: 8px solid #fff;
  border-radius: 50%;
}

.service-card__icon--suggest::before {
  content: "♡";
  position: absolute;
  left: 13px;
  top: 5px;
  color: #fff;
  font-size: 35px;
}

.service-card__icon--suggest::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 44px;
  height: 8px;
  background: #fff;
  box-shadow: 0 -20px 0 #fff;
}

.news-section {
  position: relative;
  min-height: 1010px;
  padding: 82px 0 125px;
  overflow: hidden;
  background: #fff;
}

.news-section__bg {
  position: absolute;
  inset: 0;
  background-image: none;
  background-repeat: no-repeat;
  background-size: 340px auto, 340px auto;
  background-position: -40px 625px, calc(100% - 90px) 75px;
  opacity: 0.45;
}

.news-section__bg.is-bg-loaded {
  background-image: url("../images/index/bg_hz.png"), url("../images/index/bg_hz.png");
}

.news-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 510px 410px 500px;
  gap: 54px;
}

.news-layout::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  height: 1px;
  background: #cfcfcf;
}

.news-photo__title {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  padding-bottom: 20px;
  color: #008842;
  font-size: 40px;
  line-height: 1.5;
}

/*.news-photo__title::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 0;*/
/*  bottom: -1px;*/
/*  width: 110px;*/
/*  height: 4px;*/
/*  background: #008842;*/
/*}*/

.news-photo__viewport {
  position: relative;
  width: 510px;
  height: 620px;
  overflow: hidden;
  background: #dbe5ee;
}

.news-photo__slide,
.news-photo__slide a {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
}

.news-photo__slide[hidden] {
  display: none;
}

.news-photo__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-photo__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 108px;
  padding: 24px 28px;
  background: rgba(54, 59, 67, 0.58);
}

.news-photo__caption strong {
  display: block;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.news-photo__caption time {
  font-size: 19px;
}

.news-photo__dots {
  position: absolute;
  right: 24px;
  bottom: 29px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.news-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.news-dot.is-active {
  background: #008842;
}

.news-feed,
.human-news {
  padding-top: 70px;
}

.news-feed > .block-title,
.human-news > .block-title {
  z-index: 1;
  transform: translateY(-70px);
  border-bottom: 0;
  margin-bottom: -41px;
  padding-bottom: 10px;
  font-size: 30px;
  line-height: 2.5;
}

.news-feed__lead h3 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.news-feed__lead a:hover {
  color: #008842;
  text-decoration: none;
}

.news-feed__lead p {
  margin: 0 0 25px;
  color: #666;
  font-size: 14px;
  line-height: 1.9;
}

.news-feed__list li {
  border-bottom: 1px solid #d7dce3;
}

.news-feed__list a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 106px;
  gap: 16px;
  min-height: 78px;
  padding: 12px 0 12px 22px;
  color: #333;
  font-size: 17px;
  line-height: 1.35;
  text-decoration: none;
}

.news-feed__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #008842;
}

.news-feed__list time {
  align-self: end;
  color: #008842;
  font-size: 16px;
  text-align: right;
}

.human-news__figure {
  width: 500px;
  height: 230px;
  margin: 0;
  overflow: hidden;
}

.human-news__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.human-news__item a {
  display: grid;
  grid-template-columns: 116px 1fr;
  min-height: 122px;
  color: #333;
  background: #fff;
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.human-news__item + .human-news__item a {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.human-news__item time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #008842;
}

.human-news__item time strong {
  font-size: 42px;
  line-height: 1;
}

.human-news__item time span {
  margin-top: 8px;
  font-size: 17px;
}

.human-news__item a > span {
  display: flex;
  align-items: center;
  padding: 0 34px 0 6px;
  color: #444;
  font-size: 16px;
  line-height: 1.65;
}

.human-news__item.is-active a {
  background: #008842;
}

.human-news__item.is-active time,
.human-news__item.is-active a > span {
  color: #fff;
}

.department-section {
  height: 1070px;
  padding-top: 138px;
  background: #e7eef6;
}

.department-section.is-bg-loaded {
  background: url("../images/index/ksdh_bg.png") center top / cover no-repeat;
}

.department-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 94px;
}

.dept-search {
  display: grid;
  grid-template-columns: 38px 1fr 86px;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 420px;
  height: 45px;
  margin: 0;
  border: 1px solid #008842;
  border-radius: 999px;
  background: #fff;
}

.dept-search span {
  width: 16px;
  height: 16px;
  margin-left: 20px;
  border: 2px solid #9ba8b8;
  border-radius: 50%;
  position: relative;
}

.dept-search span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #9ba8b8;
  transform: rotate(45deg);
}

.dept-search input {
  height: 42px;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.dept-search button {
  width: 86px;
  height: 45px;
  border: 0;
  color: #fff;
  background: #008842;
  font-size: 16px;
  font-weight: 700;
}

.dept-search.is-empty {
  border-color: #cf3333;
}

.dept-search.is-empty input::placeholder {
  color: #cf3333;
}

.dept-search__suggestions {
  position: absolute;
  left: 38px;
  right: 86px;
  top: calc(100% + 8px);
  z-index: 20;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px 0;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 56, 115, 0.16);
}

.dept-search__suggestions[hidden] {
  display: none;
}

.dept-search__suggestions button {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 0;
  color: #333;
  background: #fff;
  font-size: 15px;
  line-height: 38px;
  text-align: left;
}

.dept-search__suggestions button:hover,
.dept-search__suggestions button:focus {
  color: #fff;
  background: #008842;
  outline: 0;
}

.dept-cards {
  display: flex;
  width: 1500px;
  height: 680px;
  gap: 5px;
  box-shadow: 0 16px 40px rgba(0, 74, 153, 0.12);
}

.dept-card {
  position: relative;
  flex: 0 0 160px;
  height: 680px;
  overflow: hidden;
  color: #fff;
  background: #008842;
  transition: flex-basis 0.28s ease;
}

.dept-card.is-bg-loaded {
  background: #008842 url("../images/index/ksdh_card.png") center / cover no-repeat;
}

.dept-card.is-active {
  flex-basis: 1180px;
  background: #fff;
}

.dept-card__collapsed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  height: 680px;
  padding-top: 74px;
}

.dept-card__collapsed > img {
  width: 52px;
  height: 52px;
}

.dept-card__collapsed strong {
  width: 28px;
  color: #fff;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

a.dept-card__circle:hover {
  text-decoration: none;
}

.dept-card__collapsed .dept-card__circle {
  width: 52px;
  height: 52px;
  margin-top: auto;
  margin-bottom: 60px;
  border-radius: 50%;
  background: #f5a523;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-card__collapsed .dept-card__circle img {
  width: 26px;
  height: auto;
  object-fit: contain;
}

.dept-card.is-active .dept-card__collapsed {
  display: none;
}

.dept-card__expanded {
  display: none;
  height: 680px;
}

.dept-card.is-active .dept-card__expanded {
  display: grid;
  grid-template-columns: 335px 1fr;
}

.dept-card__photo {
  position: relative;
  height: 680px;
  overflow: hidden;
}

.dept-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dept-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 38, 78, 0.2);
}

.dept-card__photo-info {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 74px;
  gap: 38px;
}

.dept-card__photo-info > img {
  width: 52px;
  height: 52px;
}

.dept-card__photo-info strong {
  width: 42px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.dept-card__photo-info .dept-card__circle {
  width: 52px;
  height: 52px;
  margin-top: auto;
  margin-bottom: 60px;
  border-radius: 50%;
  background: #f5a523;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-card__photo-info .dept-card__circle img {
  width: 26px;
  height: auto;
  object-fit: contain;
}

.dept-card__content {
  height: 680px;
  padding: 38px 42px;
  background: rgba(255, 255, 255, 0.96);
}

.dept-card__content h3 {
  margin: 0 0 34px;
  padding-bottom: 18px;
  color: #008842;
  font-size: 30px;
  line-height: 1.2;
  border-bottom: 2px solid #008842;
}

.dept-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 230px);
  gap: 30px 46px;
  /* 限制高度并允许内部垂直滚动，减少外部布局影响 */
  max-height: calc(100% - 130px); /* 100% 为 .dept-card__content 的高度，减去内边距和标题区高度 */
  overflow-y: auto;
  padding-right: 8px; /* 为滚动条留出空间，避免内容被遮挡 */
}

/* 自定义滚动条样式（WebKit / Blink） */
.dept-card__grid::-webkit-scrollbar {
  width: 3px;
}
.dept-card__grid::-webkit-scrollbar-track {
  background: transparent;
}
.dept-card__grid::-webkit-scrollbar-thumb {
  background: #008842;
  border-radius: 0;
}
.dept-card__grid::-webkit-scrollbar-thumb:hover {
  background: #008842;
}

/* Firefox 支持的滚动条样式（保守） */
.dept-card__grid {
  scrollbar-width: thin;
  scrollbar-color: #008842 transparent;
}

.dept-card__grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 20px;
  color: #333;
  border: 1px solid #aeb5bd;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.dept-card__grid a:hover,
.dept-card__grid a.is-active {
  color: #fff;
  border-color: #008842;
  background: #008842;
}

.dept-card__grid img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dept-card__grid a:hover img,
.dept-card__grid a.is-active img {
  filter: brightness(0) invert(1);
}

.campus-section {
  min-height: 1170px;
  padding: 118px 0 125px;
  background: #fff;
}

.campus-section__inner {
  display: grid;
  grid-template-columns: 500px 900px;
  gap: 95px;
  align-items: start;
}

.campus-copy .section-title {
  margin-bottom: 96px;
}

.campus-copy p {
  text-indent: 55px;
  margin: 0 0 28px;
  color: #333;
  font-size: 22px;
  line-height: 2.2;
  text-align: left;
}

.campus-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 270px);
  gap: 28px;
  height: 890px;
  overflow: hidden;
  padding-top: 70px;
}

.campus-gallery::before,
.campus-gallery::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 2;
  pointer-events: none;
}

.campus-gallery::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}

.campus-gallery::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}

.campus-gallery__col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.campus-gallery__col--scroll {
  overflow: hidden;
}

.campus-gallery__track {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: campus-scroll-up 22s linear infinite;
}

.campus-gallery__col--reverse .campus-gallery__track {
  animation-name: campus-scroll-down;
  animation-duration: 26s;
}

.campus-gallery img {
  width: 270px;
  height: 210px;
  object-fit: cover;
  cursor: zoom-in;
}

.campus-gallery__col:first-child img:nth-child(1),
.campus-gallery__col:first-child img:nth-child(4) {
  height: 250px;
}

.campus-gallery__col:nth-child(2) img:nth-child(2),
.campus-gallery__col:nth-child(2) img:nth-child(5),
.campus-gallery__col:nth-child(3) img:nth-child(1),
.campus-gallery__col:nth-child(3) img:nth-child(3) {
  height: 270px;
}

@keyframes campus-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes campus-scroll-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

.campus-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.campus-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.campus-lightbox__img {
  display: block;
  max-width: min(1100px, 88vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.88);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.campus-lightbox.is-open .campus-lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.campus-lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.campus-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.8);
}

.is-lightbox-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

.doctor-section {
  height: 885px;
  padding-top: 125px;
  background: #f0f2f5;
}

.doctor-section.is-bg-loaded {
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.86)),
    url("../images/index/ystd_bg.png") center top / cover no-repeat;
}

.doctor-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 70px;
}

.doctor-tabs {
  display: flex;
  align-items: center;
  gap: 58px;
  padding-top: 8px;
}

.doctor-tab {
  min-width: 160px;
  height: 50px;
  padding: 0 18px;
  border: 0;
  color: #333;
  background: transparent;
  font-size: 34px;
  line-height: 50px;
}

.doctor-tab.is-active {
  color: #fff;
  background: #008842;
  font-weight: 700;
}

.doctor-panel {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
}

.doctor-panel.is-active {
  display: flex;
}

.doctor-panel[hidden] {
  display: none !important;
}

.doctor-track {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  margin: 0 auto;
  padding: 96px 0 35px;
  width: 1395px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.doctor-track::-webkit-scrollbar {
  display: none;
}

.doctor-card {
  position: relative;
  flex: 0 0 330px;
  height: 520px;
  margin-top: -84px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 0 48px 48px 48px;
  box-shadow: 0 10px 28px rgba(0, 56, 115, 0.08);
  transition: box-shadow 0.3s ease;
}

.doctor-card > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.doctor-card:hover {
  box-shadow: 0 14px 36px rgba(0, 56, 115, 0.16);
}

.doctor-card img {
  position: static;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center top;
  background: #f0f2f5;
  border-radius: 0;
  transform: none;
  transition: transform 0.3s ease;
}

.doctor-card:hover img {
  transform: scale(1.05);
}

.doctor-card__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 38px;
  background: transparent;
  border-radius: 0 48px 48px 48px;
  transition: background 0.3s ease;
}

.doctor-card:hover .doctor-card__info {
  background: url("../images/index/dcotor_bg.png") center / cover no-repeat;
}

.doctor-card h3 {
  margin: 0 0 14px;
  color: #273b5b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.3s ease;
}

.doctor-card:hover h3 {
  color: #fff;
}

.doctor-card p {
  margin: 0 0 12px;
  color: #273b5b;
  font-size: 16px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.doctor-card:hover p {
  color: #fff;
}

.doctor-card strong {
  display: block;
  margin: 0;
  overflow: hidden;
  color: #273b5b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.36;
  text-align: center;
  transition: color 0.3s ease;
}

.doctor-card:hover strong {
  color: #fff;
}

.doctor-arrow {
  position: absolute;
  top: 212px;
  z-index: 3;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  background: #E7C774;
}

.doctor-arrow::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  width: 20px;
  height: 20px;
  border-top: 7px solid #fff;
  border-left: 7px solid #fff;
}

.doctor-arrow--prev {
  left: -86px;
}

.doctor-arrow--prev::before {
  transform: rotate(-45deg);
}

.doctor-arrow--next {
  right: -86px;
}

.doctor-arrow--next::before {
  left: 18px;
  transform: rotate(135deg);
}

.contact-map {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.contact-map__image {
  position: absolute;
  inset: 0;
  background: url("../images/patient-service/traffic-map.png") center / cover no-repeat;
}

.contact-card {
  position: relative;
  height: 360px;
}

.contact-card__box {
  width: 480px;
  height: 360px;
  padding: 48px 44px;
  color: #fff;
  background: rgba(0, 74, 153, 0.82);
}

.contact-card__box h3 {
  margin: 0 0 35px;
  padding-bottom: 22px;
  font-size: 32px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-card__box p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.2;
}

.site-footer2 {
  position: relative;
  height: 550px;
  background: #f5f7fa;
  margin-top: 100px;
}

.site-footer2::before {
  content: "";
  position: absolute;
  top: -95px;
  left: 0;
  width: 100%;
  height: 95px;
  background: #f5f7fa;
  clip-path: ellipse(120% 100% at 0% 100%);
  pointer-events: none;
}

.site-footer2__main {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: start;
  gap: 60px;
  height: 390px;
  padding: 60px 0 50px;
}

.site-footer2__logo img {
  width: 280px;
  height: auto;
}

.site-footer2__contact h4,
.site-footer2__follow h4 {
  margin: 0 0 24px;
  color: #008842;
  font-size: 36px;
  font-weight: 700;
}

.site-footer2__contact p {
  margin:35px 0 0 0;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.site-footer2__qrs {
  display: flex;
  gap: 36px;
}

.site-footer2__qrs figure {
  margin: 0;
  text-align: center;
}

.site-footer2__qrs img {
  width: 156px;
  height: 156px;
  border-radius: 8px;
}

.site-footer2__qrs figcaption {
  margin-top: 24px;
  color: #666;
  font-size: 18px;
}

.site-footer2__bottom {
  height: 114px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid #e5e8ed;
  text-align: center;
}

.site-footer2__bottom p {
  margin: 0 0 6px;
  color: #999;
  font-size: 14px;
  line-height: 1.6;
}
