.swiper-papilocare-homepage {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
  font-family: "SVN-Gotham", sans-serif;
}

.swiper-papilocare-homepage .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 650px;
  height: 100%;
  margin: 0 auto;
  border-radius: 20px;
  transition: all 0.5s ease-in-out;
}

.swiper-papilocare-homepage .swiper-slide-active {
  will-change: all;
}

/* ==================== */

.swiper-papilocare-homepage .swiper-slide-active .swiper-iframe-container {
  width: 100%;
  height: 370px;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.swiper-papilocare-homepage
  .swiper-slide-active
  .swiper-iframe-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-53%), calc(-53%));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  border: 2px solid #d694dc;
  z-index: 1;
}

.swiper-papilocare-homepage .swiper-slide .swiper-iframe-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  z-index: 1;
}

.swiper-papilocare-homepage
  .swiper-slide-active
  .swiper-iframe-container::after {
  content: "";
  position: absolute;
  top: 49.5%;
  left: 50%;
  transform: translate(calc(-50%), calc(-50%));
  width: 20px;
  height: 20px;
  clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
  background-color: #d694dc;
  border-radius: 3px;
  z-index: 1;
}

.swiper-papilocare-homepage
  .swiper-slide-active
  .swiper-iframe-container:hover::before {
  /* border: 2px solid #fff; */
  background: #d694dc;
}

.swiper-papilocare-homepage
  .swiper-slide-active
  .swiper-iframe-container:hover::after {
  background-color: #fff;
}

.swiper-papilocare-homepage
  .swiper-slide
  .swiper-iframe-container
  .iframe-thumbnail {
  border-radius: 16px;
}

/* .iframe-container .iframe-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */

.swiper-papilocare-homepage .iframe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.swiper-papilocare-homepage .swiper-slide .iframe-thumbnail img::after {
  background-color: rgba(0, 0, 0, 0.5);
}

.swiper-modal {
  display: none;
  position: fixed;
  z-index: 101;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  cursor: pointer;
}

.swiper-modal .modal-container {
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* overflow: hidden; */
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.swiper-modal .modal-container .iframe-youtube-embed {
  width: 100%;
  height: auto;
  max-width: 844px;
  max-height: 475px;
  border: none;
  aspect-ratio: 16/9;
}

/* .ytp-cued-thumbnail-overlay-image {
  background-size: contain !important;
  -webkit-background-size: contain !important;
} */

.swiper-modal .modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 102;
  transition: color 0.3s;
}

.swiper-modal .modal-close-btn:hover {
  color: rgba(255, 255, 255, 1);
}

.swiper-modal .bottom-title {
  position: absolute;
  color: white;
  bottom: 5px;
}

.infomation-container .doctor-name {
  font-size: 15px;
  font-weight: 700;
  color: #8e4795;
  margin-bottom: 10px;
}

.infomation-container .description {
  font-size: 15px;
  font-weight: 400;
  color: #474747;
  margin-bottom: 10px;
}

/* ==================== */

.swiper-papilocare-homepage .swiper-button-next,
.swiper-papilocare-homepage .swiper-button-prev {
  /* display: block; */
  color: #d694dc;
  border-radius: 50%;
  background-color: #fff;
  width: 40px;
  height: 40px;
  font-size: 10px;
  border: #d694dc 1px solid;
  transition: all 0.3s ease;
}

.swiper-papilocare-homepage .swiper-button-next {
  right: 150px;
  top: 175px;
}

.swiper-papilocare-homepage .swiper-button-prev {
  left: 150px;
  top: 175px;
}

.swiper-papilocare-homepage .swiper-button-next::after,
.swiper-papilocare-homepage .swiper-button-prev::after {
  font-size: 20px;
}

.swiper-papilocare-homepage .swiper-button-next:hover,
.swiper-papilocare-homepage .swiper-button-prev:hover {
  color: #fff;
  background-color: #d694dc;
}

.swiper-papilocare-homepage .swiper-slide .infomation-container {
  display: none;
  transition: all 0.3s ease-in-out;
}

.swiper-papilocare-homepage .swiper-slide-active .infomation-container {
  display: block;
  transition: all 0.3s ease-in-out;
}

/* .swiper-papilocare-homepage .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.swiper-papilocare-homepage .swiper-slide-active::before {
  content: none;
  background: rgba(0, 0, 0, 0);
} */

@media screen and (max-width: 1023px) {
  .swiper-papilocare-homepage {
    padding: 10px;
  }

  .swiper-papilocare-homepage .swiper-button-next,
  .swiper-papilocare-homepage .swiper-button-prev {
    display: none;
  }

  .swiper-papilocare-homepage .swiper-slide .swiper-iframe-container::after {
    content: none;
  }

  .swiper-papilocare-homepage
    .swiper-slide-active
    .swiper-iframe-container::after {
    content: "";
    position: absolute;
    top: 49.5%;
    left: 50%;
    transform: translate(calc(-50%), calc(-50%));
    width: 20px;
    height: 20px;
    clip-path: polygon(100% 50%, 0% 0%, 0% 100%);
    background-color: #d694dc;
    border-radius: 3px;
    z-index: 1;
  }

  .swiper-papilocare-homepage .swiper-slide {
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 5px 5px;
    background-color: #fff;
    padding: 20px;
    max-width: none;
  }

  .swiper-papilocare-homepage .swiper-slide-active .swiper-iframe-container {
    height: 100%;
  }

  .swiper-papilocare-homepage .swiper-slide::before {
    content: none;
    background: rgba(0, 0, 0, 0);
  }

  .swiper-papilocare-homepage .swiper-pagination {
    bottom: -30px !important;
  }

  .swiper-papilocare-homepage .swiper-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 10px;
    margin: 3px !important;
    border-radius: 5px;
    background-color: #8e4795;
  }

  .swiper-papilocare-homepage
    .swiper-pagination
    .swiper-pagination-bullet-active {
    width: 48px;
  }

  .swiper-papilocare-homepage .swipe-stable {
    display: none;
  }

  .swiper-papilocare-homepage .swiper-slide .infomation-container {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .swiper-papilocare-homepage {
    padding: 10px;
  }
}

.swiper-papilocare-steps {
  width: 100%;
  overflow: hidden;
  font-family: "SVN-Gotham", sans-serif;
  padding: 0 20px;
}

.swiper-papilocare-steps .swiper-slide {
  margin-top: calc(150px / 2);
  height: 100%;
  padding: 0 0 20px 0;
}

.swiper-papilocare-steps .step {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  border-radius: 10px;
  margin: 0 auto;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 5px;
  transition: all 0.3s ease-out;
}

.swiper-papilocare-steps .step .step-thumbnail {
  margin-top: calc(-150px / 2);
  height: 140px;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-papilocare-steps .step .step-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-papilocare-steps .step-info {
  padding: 15px 25px;
}

.swiper-papilocare-steps .step-info .step-title {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
  transition: color 0.3s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.swiper-papilocare-steps .step-info .step-description {
  font-size: 14px;
  font-weight: 400;
  color: #2a2a2a;
  font-family: "SVN-Gotham-Book", sans-serif;
  transition: color 0.3s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  text-align: justify;
}

.swiper-papilocare-steps .swiper-slide:hover .step-title {
  color: #a761ae;
}

.swiper-papilocare-steps .swiper-slide:hover .step-description {
  color: #a761ae;
}

@media screen and (max-width: 768px) {
  .swiper-papilocare-concerns .swiper-slide .concern-info .concern-title {
    font-size: 12px;
  }

  .swiper-papilocare-steps .swiper-slide {
    padding: 10px;
  }
}

.swiper-papilocare-concerns {
  width: 100%;
  font-family: "SVN-Gotham", sans-serif;
  overflow: hidden;
}

.swiper-papilocare-concerns .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
}

.swiper-papilocare-concerns .swiper-slide a {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 8px 0px;
}

.swiper-papilocare-concerns .swiper-slide .concern-thumbnail-container {
  padding: 12px;
}

.swiper-papilocare-concerns .swiper-slide .concern-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.swiper-papilocare-concerns .swiper-slide .concern-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* aspect-ratio: 4/3; */
}

.swiper-papilocare-concerns .swiper-slide .concern-thumbnail img:hover {
  transform: scale(1.05);
  transition: all 0.5s ease 0s;
}

.swiper-papilocare-concerns .swiper-slide .concern-info {
  padding: 5px 5px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #8e4795;
}

.swiper-papilocare-concerns .swiper-slide .concern-info .concern-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 576px) {
  .swiper-papilocare-concerns .swiper-slide .concern-info .concern-title {
    font-size: 12px;
  }

  .swiper-papilocare-concerns .swiper-slide {
    padding: 20px;
  }
}
