/* Testimonials Section - Modern Carousel Design */

.testimonials-section {
  overflow: hidden;
}

.testimonials-swiper {
  overflow: visible;
}

.testimonial-slide {
  height: auto;
}

/* Two-column layout */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Image styling */
.testimonial-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
}

.testimonial-image .responsive-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
}

.testimonial-image-placeholder {
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.testimonial-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

/* Content column */
.testimonial-content {
  padding: 20px 0;
}

/* Decorative quotation marks */
.testimonial-quote-mark {
  color: #9B930C;
  margin-bottom: 24px;
}

.testimonial-quote-mark svg {
  width: 76px;
  height: 69px;
}

/* Testimonial text - Very Vogue font */
.testimonial-text,
.testimonial-text p,
.testimonial-text * {
  font-family: var(--header-font-stack);
  font-style: normal;
}

.testimonial-text {
  font-size: var(--quote-text-size-desktop, 24px);
  line-height: 1.6;
  margin-bottom: 32px;
}

.testimonial-text p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Horizontal divider */
.testimonial-divider {
  width: 60px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.3;
  margin-bottom: 24px;
}

/* Author attribution */
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Name - Very Vogue font (uppercase) */
.testimonial-name {
  font-family: var(--header-font-stack);
  font-size: 48px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Position/Title - Avenir font (italic) */
.testimonial-title {
  font-family: var(--body-font-stack);
  font-size: var(--meta-text-size, 14px);
  font-style: italic;
  opacity: 0.8;
}

/* Member Type - Avenir font (italic) */
.testimonial-member-type {
  font-family: var(--body-font-stack);
  font-size: var(--meta-text-size, 14px);
  font-style: italic;
  color: #9B930C;
  margin-top: 4px;
}

/* Pagination navigation */
.testimonials-navigation {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.testimonials-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Mobile responsive */
@media screen and (max-width: 899px) {
  .testimonial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonial-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonial-content {
    text-align: center;
    padding: 0;
  }

  .testimonial-quote-mark {
    display: flex;
    justify-content: center;
  }

  .testimonial-text {
    font-size: var(--quote-text-size-mobile, 18px);
  }

  .testimonial-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-author {
    align-items: center;
  }
}

@media screen and (max-width: 599px) {
  .testimonial-text {
    font-size: var(--quote-text-size-mobile, 18px);
  }

  .testimonial-name {
    font-size: 32px;
  }

  .testimonial-quote-mark svg {
    width: 56px;
    height: 51px;
  }

  .testimonials-navigation {
    margin-top: 32px;
  }
}
