@charset "UTF-8";
/**
 * Testimonials Slider Block Styles
 */
.testimonials-slider {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonials-slider-container {
  position: relative;
  width: 100%;
}

.testimonials-slider-track {
  position: relative;
  display: flex;
  align-items: stretch;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  min-height: var(--testimonials-slider-height-mobile);
}
@media screen and (min-width: 768px) {
  .testimonials-slider-track {
    min-height: var(--testimonials-slider-height-tablet);
  }
}
@media screen and (min-width: 1024px) {
  .testimonials-slider-track {
    min-height: var(--testimonials-slider-height-desktop);
  }
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
}

.testimonial-slide-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.testimonial-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wp--style--block-gap) var(--wp--preset--spacing--20);
}
@media screen and (min-width: 768px) {
  .testimonial-flex-container {
    flex-direction: row;
    padding-inline: var(--wp--preset--spacing--30);
  }
}

.testimonial-image-column {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 768px) {
  .testimonial-image-column {
    flex: 0 0 28%;
  }
}

.testimonial-author-image {
  width: auto;
  margin: 0 auto;
  object-fit: cover;
  max-height: 200px;
  aspect-ratio: 1/1;
  border-radius: 75%/75%;
  box-shadow: var(--wp--preset--shadow--lighter-panels);
}

.testimonial-content-column {
  flex: 1 0 64%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.testimonial-content {
  font-size: var(--wp--preset--font-size--regular);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--wp--preset--color--contrast);
}
.testimonial-content::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: 0;
  top: -1rem;
  color: var(--wp--preset--color--primary);
  font-family: Georgia, serif;
}
.testimonial-content p:first-child {
  text-indent: 3ch;
}
.testimonial-content p:last-child {
  margin-bottom: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-rating {
  color: #f7d032;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-author-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #333;
  font-size: var(--wp--preset--font-size--small);
}

.testimonial-author-position {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.4;
}

.testimonial-navigation-wrapper {
  position: absolute;
  width: 100%;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  .testimonial-navigation-wrapper {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

.testimonial-prev,
.testimonial-next {
  line-height: 1;
  background: rgba(255, 255, 255, 0.25);
  border: inset 1px rgba(255, 155, 255, 0.1);
  border-radius: 4px/4px;
  padding: 0.125rem 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 8px -6px rgba(17, 17, 17, 0.25);
}
.testimonial-prev:hover, .testimonial-prev:focus,
.testimonial-next:hover,
.testimonial-next:focus {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px -8px rgba(17, 17, 17, 0.25);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin: 0 auto calc(var(--wp--style--block-gap) / 2);
  gap: 0.5rem;
}
@media screen and (min-width: 768px) {
  .testimonial-dots {
    margin-bottom: var(--wp--style--block-gap);
  }
}

.testimonial-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.testimonial-dot.active {
  background-color: #333;
}

/* Responsive adjustments */
