.olympus-block-testimonial {
  margin-bottom: 40px;
}
.olympus-block-testimonial .splide__pagination {
  bottom: -20px;
}

.olympus-block-testimonial__container {
  width: 100%;
  background-color: var(--wp--preset--color--primary);
  border-radius: 8px;
  height: 100%;
  color: var(--wp--preset--color--base);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  overflow: hidden;
}
.olympus-block-testimonial__text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 30px;
  margin-bottom: 30px;
  position: relative;
}
.olympus-block-testimonial__item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.olympus-block-testimonial__client__author {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 400;
}
.olympus-block-testimonial__svg__absolute {
  position: absolute;
  width: 35%;
  top: 20px;
  left: 40px;
}
.olympus-block-testimonial__svg__absolute svg {
  fill: currentColor;
  opacity: 0.1;
}

.olympus-block-testimonial__button__slider__custom {
  display: flex;
  position: absolute;
  bottom: -40px;
  right: 0;
  gap: 10px;
  z-index: 0;
  transition: 0.2s;
}

.olympus-block-testimonial__button__slider {
  display: flex;
  aspect-ratio: 1 / 1;
  justify-content: center;
  align-items: center;
  background-color: var(--wp--preset--color--neutral);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border: 2px solid transparent;
}
.olympus-block-testimonial__button__slider:hover {
  border: 2px solid currentColor;
}
.olympus-block-testimonial__button__slider svg {
  fill: currentColor;
  transition: 0.2s;
  width: 16px;
}

.olympus-block-testimonial.ace .olympus-block-testimonial__container {
  min-height: 400px;
}

.olympus-block-testimonial.ace .olympus-block-testimonial__text {
  text-align: center;
  font-size: 1.8rem;
}

.olympus-block-testimonial.ace .olympus-block-testimonial__container,
.olympus-block-testimonial.ace .olympus-block-testimonial__item {
  justify-content: center;
}

.olympus-block-testimonial.triumph .olympus-block-testimonial__container {
  border: 2px solid currentColor;
}

@media (max-width: 768px) {
  .olympus-block-testimonial__container {
    justify-content: center;
    max-height: 400px;
  }

  .olympus-block-testimonial__text {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .olympus-block-testimonial__container {
    justify-content: center;
    max-height: none;
  }
}
