.meta .meta-item {
  display: flex;
  gap: 12px;
}
.meta .meta-icon {
  width: 24px;
  height: 24px;
}
.meta .meta-info {
  color: #515151;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.1em;
}
.form .field {
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.1em;
  border-radius: 6px;
  box-shadow: 0 0 12.752px 0 rgba(69, 166, 208, 0.25);
  padding-left: 8px;
  padding-right: 8px;
}
.form input,
.form textarea,
.form select {
  outline: none;
  width: 100%;
}
.form textarea {
  field-sizing: content;
  display: block;
}
.form input::placeholder,
.form textarea::placeholder,
.form select,
.form .date-fake {
  color: #515151;
}
.form .form-button {
  background-color: #f19a1b;
  padding: 10px 56px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.3em;
  border-radius: 16px;
  margin: 0 auto;
  display: flex;
}
.date-group .date-real {
  opacity: 0;
}
.date-group .date-real:valid {
  opacity: 100;
}
/* 预约日期提示文字 */
.date-group .date-real:valid + .date-fake {
  display: none;
}
/* 元朗诊所背景图 */
.info {
  position: relative;
  overflow: hidden;
}
.clinic-yl .info::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: url("https://statichk.cmermedical.com/newopd/clinic/yl-info-bg-mb-v1.webp") no-repeat bottom left / cover;
  z-index: -1;
}
.clinic-st .info::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  min-height: 200px;
  left: 0;
  bottom: 0;
  background: url("https://statichk.cmermedical.com/newopd/clinic/st-info-bg-mb-v1.webp") no-repeat bottom left / cover;
  z-index: -1;
}
.clinic-tw .info::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  min-height: 200px;
  left: 0;
  bottom: 0;
  background: url("https://statichk.cmermedical.com/newopd/clinic/tw-info-bg-mb-v1.webp") no-repeat bottom left / cover;
  z-index: -1;
}
.clinic-tko .info::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  min-height: 200px;
  left: 0;
  bottom: 0;
  background: url("https://statichk.cmermedical.com/newopd/clinic/tko-info-bg-mb-v1.webp") no-repeat bottom left / cover;
  z-index: -1;
}
.info .info-main {
  width: 100%;
  display: flex;
  margin-left: 12px;
  margin-right: 12px;
  padding: 20px 20px 36px 20px;
  max-width: var(--container-8xl);
  background-color: #ffffffcc;
  border-radius: 24px;
  box-shadow: 0 2.393px 13.759px 0 #5ac7f66b;
}
.service .ms-list {
  box-shadow: 0 4px 23px 0 #5ac7f66b;
  border-radius: 36px;
  background-color: #ffffffcc;
}
.service .ms-item {
  position: relative;
}
.service .ms-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 55%;
  background-color: #f19a1b;
}
.service .ms-item:last-child:after {
  display: none;
}
.service .ms-icon {
  width: 72px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 6px;
}
.service .ms-text {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-align: center;
  color: var(--color-clinic-light);
}
.title-clinic {
  font-size: 24px;
  letter-spacing: 0.5em;
  color: var(--color-clinic-light);
  padding-bottom: 12px;
  position: relative;
  width: fit-content;
}
.title-clinic::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 168px;
  background-color: var(--color-clinic-light);
}
.info .title-clinic,
.form .title-clinic {
  text-align-last: left;
}
.info .title-clinic::before,
.form .title-clinic::before {
  left: 0;
  transform: none;
}
.intro {
  background: url("https://statichk.cmermedical.com/newopd/clinic/nt-intro-bg-mb.webp") no-repeat 0 -80px / cover;
  padding-top: 28px;
  padding-bottom: 32px;
}
/* 容器居中与宽度约束 */
.video-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* 1. 上方大图播放区样式 */
.cover-swiper {
  width: 100%;
  margin-bottom: 16px;
}

.cover-swiper .swiper-slide {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.cover-swiper lite-youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* 2. 下方缩略图控制区域外壳 */
.thumb-control-wrapper {
  position: relative;
  padding: 20px;
}

.thumb-swiper {
  width: 100%;
  padding: 12px;
  margin: -12px 0;
}

.thumb-swiper .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 10px;
  background-color: #ffffffcc;
  box-shadow: 0 4px 16px 0 #5ac7f64d;
}

/* 缩略图被激活时的效果 */
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

.thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3. 左右切换按钮样式 */
.video-button-prev,
.video-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.video-button-prev {
  left: 8px;
}

.video-button-next {
  right: 8px;
}

.video-button-prev:hover,
.video-button-next:hover {
  background-color: #f5f5f5;
}

/* 按钮禁用状态（例如滑到第一张/最后一张时） */
.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* 4. 页码小圆点样式 */
.video-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 8px;
}

.video-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #d1d5db;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
}

.video-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-clinic-light);
}
.doctor-card-grey {
  background: linear-gradient(to bottom, #e4e4e4 59.92%, #7e7e7e 146.31%);
}
@media screen and (max-width: 1023px) {
  .form {
    box-shadow: 0 2.393px 13.759px 0 #5ac7f66b;
    background-color: #ffffffcc;
    border-radius: 28px;
  }
  .service {
    background: url("https://statichk.cmermedical.com/newopd/clinic/clinic-nt-ms-bg-mb.webp") no-repeat center / cover;
    padding-bottom: 156px;
  }
  .service .ms-item:nth-child(3n):after {
    display: none;
  }
  .intro .title-clinic::before {
    left: 0;
    transform: none;
  }
  #rating {
    background: url("https://statichk.cmermedical.com/newopd/clinic/clinic-nt-rating-bg-mb.webp") no-repeat bottom /
      cover;
    padding-bottom: 192px;
  }
  .ratings-swiper .swiper-grid-column > .swiper-slide {
    margin-top: 0 !important;
  }
}
@media screen and (min-width: 1024px) {
  .title-clinic {
    font-size: 46px;
  }
  .bg-ms {
    background: url("https://statichk.cmermedical.com/newopd/clinic/clinic-nt-ms-bg-pc.webp") no-repeat left / cover;
  }
  .service {
    width: 55%;
  }
  .service .ms-item:nth-child(4n):after {
    display: none;
  }
  .service .ms-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
  }
  .service .ms-text {
    font-size: 16px;
    font-weight: 400;
  }
  .video {
    width: 35%;
  }
  .video-button-prev,
  .video-button-next {
    width: 60px;
    height: 60px;
  }
  .video-button-prev {
    left: -16px;
  }
  .video-button-next {
    right: -16px;
  }
  .thumb-swiper .swiper-slide {
    padding: 12px;
  }
  .intro {
    background: url("https://statichk.cmermedical.com/newopd/clinic/nt-intro-bg-pc.webp") no-repeat center / cover;
    padding-top: 248px;
    padding-bottom: 124px;
    margin-top: -216px;
  }
  .info .info-main {
    gap: 10%;
    margin-left: 0;
    margin-right: 0;
    padding: 36px 68px 68px 60px;
    border-radius: 48px;
    box-shadow: 0 4px 23px 0 rgba(90, 199, 246, 0.42);
  }
  .title-clinic {
    padding-bottom: 16px;
  }
  .title-clinic::before {
    width: 392px;
  }
  .clinic-yl .info::before {
    background-image: url("https://statichk.cmermedical.com/newopd/clinic/yl-info-bg-pc-v1.webp");
    aspect-ratio: 1243/829;
    width: 70%;
    top: -5%;
    left: -2%;
    background-position: left;
  }
  .clinic-st .info::before {
    background-image: url("https://statichk.cmermedical.com/newopd/clinic/st-info-bg-pc-v1.webp");
    aspect-ratio: 181/95;
    width: 70%;
    height: 100%;
    left: -2%;
    background-position: left;
  }
  .clinic-tw .info::before {
    background-image: url("https://statichk.cmermedical.com/newopd/clinic/tw-info-bg-pc-v1.webp");
    aspect-ratio: 983/388;
    width: 70%;
    height: 100%;
    left: -2%;
    background-position: left;
  }
  .clinic-tko .info::before {
    background-image: url("https://statichk.cmermedical.com/newopd/clinic/tko-info-bg-pc-v1.webp");
    aspect-ratio: 54/35;
    width: 70%;
    height: 100%;
    left: -2%;
    background-position: left;
  }
  .meta {
    position: relative;
  }
  .meta::after {
    content: "";
    height: 85%;
    width: 1px;
    background-color: var(--color-clinic-light);
    top: 6%;
    right: -10%;
    position: absolute;
  }
  .meta .meta-item {
    gap: 24px;
  }
  .meta .meta-icon {
    width: 40px;
    height: 40px;
  }
  .meta .meta-info {
    font-size: 24px;
  }
  .form .field {
    font-size: 24px;
    line-height: 40px;
    border-radius: 8px;
    box-shadow: 0 0 19px 0 #45a6d040;
    padding-left: 12px;
    padding-right: 12px;
  }
  .form .form-button {
    padding: 10px 64px;
    font-size: 20px;
  }
  #rating {
    background: url("https://statichk.cmermedical.com/newopd/clinic/clinic-nt-rating-bg-pc.webp") no-repeat left / cover;
    padding: 20px 0 20px 30%;
  }
  .ratings-swiper .swiper-wrapper {
    gap: 28px 0;
  }
}
