.site-main.testimonials-page {
  margin: 0 auto;
  padding: 3rem 0 9rem;
}

.testimonials-hero {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.testimonials-hero h1 {
  color: #0072bc;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.2;
  border-bottom: 1px solid #0072bc;
  padding-bottom: 1.5rem;
  margin: 0 0 1em;
  text-transform: uppercase;
}

.testimonials-intro {
  font-size: 1.7rem;
  line-height: 1.5;
}

.testimonials-intro p {
  margin: 0 0 1.4rem;
}

.testimonials-card-link,
.testimonials-card-link:visited {
  display: inline-block;
  background: #0072bc;
  border: 1px solid #0072bc;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: background-color .2s ease, color .2s ease;
  margin-top: 2rem;
  padding: .9rem 1.6rem;
  font-size: 1rem;
}

.testimonials-card-link:hover {
  background: transparent;
  color: #0072bc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(31rem, 100%), 1fr));
  gap: 2.4rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.4rem 3rem;
  background: #efe9db;
  text-align: center;
}

.testimonial-photo {
  display: grid;
  width: 11.2rem;
  height: 11.2rem;
  flex: none;
  place-items: center;
  overflow: hidden;
  margin-bottom: 2.2rem;
  border-radius: 50%;
  background: #0072bc;
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: .1em;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: grayscale(1); */
}

.testimonial-quote {
  flex: 1;
  margin: 0 0 2.2rem;
  padding: 0;
  border: 0;
  font-size: 1.55rem;
  line-height: 1.55;
}

.testimonial-quote p em {
  font-size: 80%;
  line-height: 1.2;
  display: inline-block;
  font-style: italic;
  color: #6f675b;
}

.testimonial-author {
  color: #0072bc;
  font-size: 1.5rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.testimonial-role {
  margin-top: .8rem;
  color: #6f675b;
  font-size: 1.3rem;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .site-main.testimonials-page {
    padding-right: 3vw;
    padding-left: 3vw;
  }

  .testimonials-hero {
    padding: 3rem 0 0;
  }
}