.testimonials {
  display: flex;
  flex-direction: column;
  padding-left: var(--space-neutral);
  padding-right: var(--space-neutral);
  position: relative;
  z-index: 1;
}

.testimonials__container {
  column-gap: var(--space-neutral);
  column-width: 10em;
  margin-top: calc(-1 * var(--space-neutral));
  text-align: center;
}

.testimonials__container--contained {
  margin-inline: auto;
  width: min(100%, 40em);
}

.testimonials__testimonial {
  display: inline-flex;
  margin-top: var(--space-neutral);
}

.testimonials__testimonial blockquote {
  background: linear-gradient(135deg, var(--color-sky) 0, var(--color-sky-light) 100%);
  border-radius: 0.8em;
  box-shadow:
    0 0.8em 0.4em -0.8em rgba(var(--rgb-black), 0.1),
    0 1.2em 0.8em -1.2em rgba(var(--rgb-black), 0.15),
    0 1.6em 1.2em -1.6em rgba(var(--rgb-black), 0.2)
  ;
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  padding: var(--space-neutral);
  position: relative;
  text-align: left;
}

.testimonials__testimonial blockquote q {
  font-size: var(--font-size-xx-small);
  letter-spacing: -0.0125em;
  line-height: 1.45;
  margin-top: -0.3575em;
}

.testimonials__testimonial blockquote cite {
  display: flex;
  font-size: var(--font-size-xxx-small);
  font-style: italic;
  font-weight: 500;
  gap: 0.2em;
  letter-spacing: -0.0125em;
  margin-bottom: -0.18em;
}

.testimonials__testimonial blockquote cite a {
  color: var(--color-black);
}

.testimonials__testimonial blockquote cite:before {
  content: '—';
  display: inline-flex;
}

.testimonials__testimonial--avatar blockquote q {
  margin-bottom: -0.3975em;
}

.testimonials__testimonial--avatar blockquote cite {
  font-size: var(--font-size-xxx-small);
  font-style: normal;
  left: -1.45em;
  letter-spacing: -0.0125em;
  line-height: 1;
  margin-bottom: 0;
  position: absolute;
  top: -1.45em;
}

.testimonials__testimonial--avatar blockquote cite a,
.testimonials__testimonial--avatar blockquote cite div {
  align-items: center;
  background: var(--color-white);
  border-radius: 1.45em;
  box-shadow:
    0 0.8em 0.8em -0.8em rgba(var(--rgb-black), 0.1),
    0 1.2em 1.2em -1.2em rgba(var(--rgb-black), 0.2),
    0 1.6em 1.6em -1.6em rgba(var(--rgb-black), 0.3)
  ;
  display: flex;
  gap: 0.3em;
  padding: 0.3em 1.1em 0.3em 0.3em;
  text-decoration: none;
}

.testimonials__testimonial--avatar blockquote cite picture {
  border-radius: 100%;
  height: 2.3em;
  overflow: hidden;
  width: 2.3em;
}

.testimonials__testimonial--avatar blockquote cite span {
  padding-top: 0.1em;
}

.testimonials__testimonial--avatar blockquote cite:before {
  display: none;
}

.testimonials--highlights .testimonials__container {
  column-gap: initial;
  column-width: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-neutral);
  margin-top: 0;
  width: min(100%, 24em);
}

.testimonials--highlights .testimonials__testimonial {
  margin-top: 0;
}

.testimonials--highlights .testimonials__testimonial blockquote {
  text-align: center;
}

.testimonials--highlights .testimonials__testimonial blockquote q {
  font-size: var(--font-size-x-small);
  margin-top: -0.2775em;
}

.testimonials--highlights .testimonials__testimonial blockquote cite {
  font-size: var(--font-size-xx-small);
  justify-content: center;
  margin-bottom: -0.375em;
}

@media(hover: hover) {

  .testimonials__testimonial blockquote cite a:focus,
  .testimonials__testimonial blockquote cite a:hover {
    color: var(--color-blurple);
  }

  .testimonials__testimonial--avatar blockquote cite a {
    transition: transform var(--transition);
    will-change: transform;
  }

  .testimonials__testimonial--avatar blockquote cite a:focus,
  .testimonials__testimonial--avatar blockquote cite a:hover {
    color: inherit;
    transform: rotate(-2deg) scale(1.05);
  }

  .testimonials__testimonial--avatar blockquote cite:before {
    display: none;
  }

}

@media(min-width: 64em) {

  .testimonials__testimonial blockquote q {
    font-size: var(--font-size-xxx-small);
  }

  .testimonials__testimonial blockquote cite {
    font-size: var(--font-size-xxxx-small);
  }

  .testimonials--highlights .testimonials__container {
    flex-direction: row;
    width: min(100%, 40em);
  }

  .testimonials--highlights .testimonials__testimonial {
    flex: 1;
  }

}
