/**
 * CSS for Cerinza Testimonials Block
 */

.cerinza-testimonials-wrapper {
  padding: 2rem 0;
  background-color: #fff;
}

.testimonials-header {
  margin-bottom: 2.5rem;
}

.testimonials-title {
  color: #333;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.testimonials-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #e6a92a;
}

.testimonial-card {
  height: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  color: #555;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #e6a92a;
}

.testimonial-text p {
  margin-bottom: 0;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 1rem;
}

.testimonial-photo img {
  object-fit: cover;
  border: 2px solid #e6a92a;
}

.testimonial-info h5 {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

.testimonial-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  margin: 0 5px;
  background-color: #ccc;
  opacity: 0.5;
}

.carousel-indicators button.active {
  background-color: #e6a92a;
  opacity: 1;
}

/* Custom styles matching the website design */
.cerinza-testimonials-wrapper {
  color: #333;
  font-family: 'Open Sans', sans-serif;
}

.testimonial-rating {
  color: #e6a92a;
  margin-top: 3px;
}

@media (max-width: 767px) {
  .testimonial-card {
    margin-bottom: 2rem;
  }

  .testimonials-title {
    font-size: 1.75rem;
  }
}
