.testimonials {
  margin-left: var(--layout-gutter);
  margin-right: var(--layout-gutter);
  margin-bottom: var(--design-margin);
}
@media (min-width: 900px) {
  .testimonials {
    display: grid;
    gap: 0 1rem;
    grid-template: minmax(0, auto) minmax(0, auto) 1fr/373px 50%;
    justify-content: space-between;
  }
}
@media (min-width: 900px) {
  .testimonials > *:first-child {
    margin-top: 4rem;
  }
}

.testimonials__title {
  font-size: 4rem;
  font-weight: 400;
  grid-area: 1/1/2/2;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}

.testimonials__details {
  font-size: 1.5rem;
  grid-area: 2/1/3/2;
  line-height: 1.2;
}

.testimonials__list {
  grid-area: 1/2/4/3;
}
@media (max-width: 899px) {
  .testimonials__list {
    margin-left: var(--layout-gutter);
    margin-right: var(--layout-gutter);
  }
}

.testimonials__controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.testimonials__control {
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-iron);
  border-radius: 100%;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.testimonial {
  padding-bottom: 2rem;
  padding-top: 2rem;
}
@media (min-width: 900px) {
  .testimonial {
    padding: 3.5rem 0 3.5rem 2rem;
  }
}
.testimonial > *:not(:last-child) {
  margin-bottom: 1rem;
}

.testimonial__icon {
  color: var(--color-havelock-blue);
  display: flex;
}

.testimonial__quote {
  font-size: 1.5rem;
  line-height: 1.5;
}
.testimonial__quote p {
  line-height: inherit;
}

.testimonial__meta {
  display: grid;
  gap: 0 0.25rem;
  grid-template-columns: auto 1fr;
}

.testimonial__headshot {
  grid-area: 1/1/3/2;
}

.testimonial__author {
  font-size: 0.9375rem;
  font-weight: 600;
  grid-area: 1/2/2/3;
  line-height: 1.2;
}

.testimonial__author-title {
  font-size: 0.8125rem;
  grid-area: 2/2/3/3;
  line-height: 1.2;
  margin: 0;
}