.doctor-list-section {
  background-color: #F4F4F4;
  padding: 100px 20px;
}

.doctor-list-section .top-text {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0 20px;
}

.doctor-list-section .top-text label {
  color: #002A68;
  display: block;
  margin-bottom: 14px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.doctor-list-section .top-text h2 {
  color: #202020;
  text-align: center;
  text-transform: capitalize;
}

.doctor-list-section .top-text .wysiwyg-content * {
  letter-spacing: 0%;
  text-align: center;
  color: #666666;
  margin: 0;
}

.doctor-list-section .top-text .wysiwyg-content>* {
  margin-top: 12px;
}

.doctor-list-section .top-text .wysiwyg-content>*:first-child {
  margin-top: 0;
}

.doctor-list-section .cards {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.doctor-list-section .card {
  width: 100%;
  max-width: calc(100% / 3 - 27px);
}

.doctor-list-section .card-image {
  margin-bottom: 24px;
}

.doctor-list-section .card-image img {
  border-radius: 20px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.doctor-list-section .card-content {
  padding: 0px 10px;
}

.doctor-list-section .card-content h4 {
  margin-bottom: 8px;
}

.doctor-list-section .card-content .credentials {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 8%;
  text-transform: uppercase;
  color: #126B57;
  margin-bottom: 20px;
}


.doctor-list-section .card-content .doctor-bio-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-list-section .card-content .wysiwyg-content {
  color: #404040;
  margin-top: 12px;
}

.doctor-list-section .card-content .wysiwyg-content * {
  margin: 0;
}

.doctor-list-section .card-content .wysiwyg-content>* {
  margin-top: 12px;
}

.doctor-list-section .card-content .wysiwyg-content>*:first-child {
  margin-top: 0;
}

.doctor-list-section .card-content .wysiwyg-content ul {
  padding-left: 24px;
}

.doctor-list-section .card-content .view-profile {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2%;
  text-align: center;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: #126B57;
  margin-top: 20px;
  display: block;
  width: fit-content;
}

.doctor-list-section .bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.doctor-list-section .bottom-content .wysiwyg-content {
  color: #404040;
  text-align: center;
  max-width: 984px;
  margin: 0 auto;
}

.doctor-list-section .bottom-content .wysiwyg-content * {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
}

.doctor-list-section .btn:hover {
  background: transparent;
  border-color: #000;
  color: #000;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .doctor-list-section .card {
    margin: 0 10px;
  }
  .doctor-list-section .slick-dots li {
    width: 12px;
    height: 12px;
  }
   .doctor-list-section .slick-dots li button:before {
    width: 12px;
    height: 12px;
    background: transparent;
    border: solid 2px #143830;
    border-radius: 200px;
    content: "";
    opacity: 1;
  }
    .doctor-list-section .slick-dots li.slick-active button:before {
    background: #143830;
    width: 12px;
    height: 12px;
  }

  
   .doctor-list-section .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0;
  }
  .doctor-list-section .slick-list {
    margin-bottom: 32px;
  }
  .doctor-list-section .bottom-content {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .doctor-list-section {
    padding: 40px 0;
  }

  .doctor-list-section .cards .card {
    max-width: 100%;
    border-radius: 20px;
  }

  .doctor-list-section .card {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
  }

  .doctor-list-section .top-text label {
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }

  .doctor-list-section .top-text h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .doctor-list-section .top-text .wysiwyg-content br {
    display: none;
  }

  .doctor-list-section .top-text {
    margin-bottom: 32px;
  }

  .doctor-list-section .card-image {
    margin-bottom: 16px;
  }

  .doctor-list-section .cards {
    gap: 20px;
    margin-bottom: 20px;
  }

  .doctor-list-section .cards.slick-initialized {
    display: block;
  }

  .doctor-list-section .cards.slick-initialized .card {
    height: auto;
  }

  .doctor-list-section .cards .slick-slide > div {
    height: 100%;
  }

  .doctor-list-section .cards .slick-dots {
    position: static;
    margin-top: 20px;
  }

  .doctor-list-section .bottom-content .wysiwyg-content * {
    text-align: left;
    margin-bottom: 0;
  }

  .doctor-list-section .card-image {
    display: flex;
  }

  .doctor-list-section .card-content .wysiwyg-content *,
  .doctor-list-section .card-content h3 {
    text-align: center;
  }
}