.doctor_section {
  padding: 80px 0 160px;
  background: #333333;
  position: relative;
}
.doctor_section .wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  overflow: hidden;
}
.doctor_section .wave::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 2880 100' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 100h2880V50C2760 83.3 2640 83.3 2520 50c-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0v50z' fill='%23FFFFFF'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 2880 100' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 100h2880V50C2760 83.3 2640 83.3 2520 50c-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0-120 33.3-240 33.3-360 0-120-33.3-240-33.3-360 0v50z' fill='%23FFFFFF'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.doctor_section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.doctor_section .doctor_swiper {
  overflow: visible;
  padding: 20px 0;
  overflow: hidden;
}
.doctor_section .doctor_swiper .swiper-slide {
  margin-right: 20px;
}
.doctor_section .doctor_swiper .doctor_item {
  background: #fff;
  border-radius: 200px 200px 20px 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  overflow: hidden;
}
.doctor_section .doctor_swiper .doctor_item:hover {
  transform: translateY(-10px);
}
.doctor_section .doctor_swiper .doctor_item:hover .doc_img {
  background: #e95515;
}
.doctor_section .doctor_swiper .doctor_item:hover .doc_btn span {
  background: #e95515;
}
.doctor_section .doctor_swiper .doctor_item .doc_img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  transition: background 0.3s ease-in-out;
}
.doctor_section .doctor_swiper .doctor_item .doc_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor_section .doctor_swiper .doctor_item .doc_title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 20px 20px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.doctor_section .doctor_swiper .doctor_item .doc_name {
  font-size: 0.9rem;
  color: #666;
  margin: 0 20px 5px;
}
.doctor_section .doctor_swiper .doctor_item .doc_date {
  font-size: 0.8rem;
  color: #505050;
  margin: 0 20px 15px;
}
.doctor_section .doctor_swiper .doctor_item .doc_content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #505050;
  margin: 0 20px;
  height: 90px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.doctor_section .doctor_swiper .doctor_item .doc_btn {
  display: flex;
  gap: 3px;
  padding: 20px;
  justify-content: center;
}
.doctor_section .doctor_swiper .doctor_item .doc_btn span {
  width: 4px;
  height: 4px;
  background: #ddd;
  border-radius: 50%;
  transition: background 0.3s;
}
.doctor_section .swiper-button-next,
.doctor_section .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  top: 0;
  margin-top: 0;
}
.doctor_section .swiper-button-next::after,
.doctor_section .swiper-button-prev::after {
  font-size: 1rem;
  color: #333;
}
.doctor_section .swiper-button-prev {
  right: 50px;
  left: auto;
}
.doctor_section .swiper-button-next {
  right: 0;
}

@media (max-width: 768px) {
  .doctor_section {
    padding: 50px 0 120px;
  }
  .doctor_section .inner {
    padding: 0 15px;
  }
  .doctor_section .doctor_swiper .doctor_item .doc_title {
    font-size: 1rem;
    margin: 15px 15px 8px;
  }
  .doctor_section .doctor_swiper .doctor_item .doc_content {
    font-size: 0.85rem;
    margin: 0 15px;
    height: 80px;
  }
  .doctor_section .swiper-button-next,
  .doctor_section .swiper-button-prev {
    display: none;
  }
  .doctor_section .wave {
    height: 40px;
  }
}
