/** 
 * Color Variables
 */
.block-patient-stories {
  padding: 85px 0 !important; /* Full width - no horizontal padding */
  overflow: hidden; /* Prevent the horizontal scroll caused by child overflow */
}
.block-patient-stories h2 {
  margin-bottom: 40px;
  padding-left: 8%; /* Add padding to title only */
  margin-top: 0;
}
.block-patient-stories__swiper {
  overflow: visible !important; /* Keep visible overflow for styling purposes */
  max-width: 100%; /* Ensure swiper doesn't exceed the parent width */
  width: 100%;
  padding: 0 8%; /* Add padding to swiper container */
  box-sizing: border-box;
  position: relative; /* For better control of positioning */
}
.block-patient-stories__swiper .swiper-wrapper {
  overflow: visible; /* Ensure child elements remain visible */
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping for Swiper slides */
}
.block-patient-stories__swiper .swiper-pagination {
  bottom: -40px !important; /* Adjust pagination position */
}
.block-patient-stories h3 {
  color: #d1bdf2;
  margin: 0;
}

.patient-stories {
  padding: 0 5%;
}

.c-patient {
  width: 100%;
  max-width: 300px;
}

.c-patient__name {
  background-color: #423063;
  color: #d1bdf2;
  padding: 20px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.c-patient__profile img {
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1440px) {
  .c-patient {
    max-width: 350px;
  }
}
@media (max-width: 1024px) {
  .block-patient-stories {
    padding: 60px 0 !important; /* Full width on medium screens */
  }
  .block-patient-stories__swiper {
    padding: 0 5%; /* Reduce padding for medium screens */
  }
  .c-patient {
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .block-patient-stories {
    padding: 50px 0 !important; /* Full width on tablets */
  }
  .block-patient-stories__swiper {
    padding: 0 4%; /* Further reduce padding for smaller screens */
  }
  .block-patient-stories__swiper .swiper-pagination {
    bottom: -30px !important; /* Adjust pagination position */
  }
  .c-patient {
    max-width: 250px;
  }
}
@media (max-width: 480px) {
  .block-patient-stories {
    padding: 40px 0 !important; /* Full width on mobile */
  }
  .block-patient-stories__swiper {
    padding: 0 3%; /* Compact padding for mobile */
  }
  .block-patient-stories__swiper .swiper-pagination {
    bottom: -20px !important; /* Keep pagination within visible area */
  }
  .c-patient {
    max-width: 200px;
  }
}
