/* The shared Raumfocus testimonial layout, in the somaspace palette. */
body.soma-journey main > .journey-testimonials {
  background: var(--beige);
}

.journey-testimonials .testimonial-heading {
  white-space: normal;
}

.journey-testimonials .testimonial-slide {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility 0s;
}

/* All three full texts share a grid cell, keeping the section height stable. */
.journey-testimonials .testimonial-slide[hidden] {
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s .6s;
}

.journey-testimonials blockquote p {
  margin: 0;
  font: inherit;
}

.journey-testimonials blockquote p + p {
  margin-top: 1.25rem;
}

.journey-testimonials .testimonial-reflection,
.journey-testimonials cite,
.journey-testimonials .testimonial-arrow {
  color: var(--copper);
}

.journey-testimonials .testimonial-arrow:hover {
  color: var(--brown);
}

.journey-testimonials .testimonial-controls[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .journey-testimonials .testimonial-slide,
  .journey-testimonials .testimonial-slide[hidden] {
    transition: none;
  }
}
