/**
 * ctm-frontend.css
 * Front-end styles for Clinica Testimonial Manager slider, showing 3 items at once
 */

.ctm-testimonial-slider {
  position: relative;
  width: 100%;
        /* feel free to increase/decrease as needed */
  margin: 0 auto;
  overflow: hidden;
}

.ctm-slides-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 95%;
    gap: 30px;
    margin-top: 30px;
    padding-left: 20px;
}

/* Each slide occupies 33.333% of the container */
.ctm-single-slide {
  flex: 0 0 33.3333%;
  box-sizing: border-box;
  padding: 1.5rem;
  text-align: center;
  background-color: #fff;
    background-clip: border-box;
    box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.14);
    /* border-radius: 0.375rem; */
  border-radius: 12px;
}

/* Author Photo (circular) */
.ctm-author-photo {
  margin: 0 auto 1rem;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  display: inline-block;
}

.ctm-author-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Quote block */
.ctm-quote blockquote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 auto 1rem;
  max-width: 100%;
  color: #333;
  padding-left: 0em;
  border-left: none;
  text-align: left;
}

/* Author name */
.ctm-author-name {
  font-weight: bold;
  color: #0a2e67;
  margin-top: 0.5rem;
}

/* Dots Navigation */
.ctm-slider-dots {
  text-align: center;
  margin-top: 1rem;
}

.ctm-slider-dots div {
  background: #ccc;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.ctm-slider-dots div.active {
  background: #0a2e67;
}

/* Swiper spacing and slide sizing */
.clinica-swiper {
  padding: 20px 10px;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
}




/* Responsive adjustments */
@media (max-width: 800px) {
  /* If viewport shrinks below 800px, show only 2 items per row */
  .ctm-single-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 500px) {
  /* Below 500px, show just 1 item per row */
  .ctm-single-slide {
    flex: 0 0 100%;
  }
}
