/* Homepage reviews: preserve the three original quotations and reviewer photos. */
.home-page .testimonials {
  padding: 34px 0 20px;
  background: #EAF5FF;
}

.home-page .testimonials .section-heading {
  margin-bottom: 20px;
}

.home-page .testimonials .overline {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #1254b6;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .16em;
}

.home-page .testimonials .overline::before {
  content: none;
}

.home-page .testimonials h2 {
  margin: 0;
  color: #102d62;
  font: 800 clamp(27px, 3vw, 35px)/1.15 Manrope, Arial, sans-serif;
  letter-spacing: -.04em;
}

.home-page .testimonials h2 span {
  color: #1261d8;
}

.home-page .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.home-page .quote-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 2px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .quote-card:first-child { padding-left: 0; }
.home-page .quote-card:last-child { padding-right: 0; }
.home-page .quote-card + .quote-card { border-left: 1px solid rgba(16, 45, 98, .18); }

.home-page .quote-card blockquote {
  margin: 0 0 12px;
  min-height: 0;
  color: #17365f;
  font: 500 14px/1.48 Inter, Arial, sans-serif;
  text-wrap: pretty;
}

.home-page .quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: #102d62;
  font: 800 13px/1.3 Manrope, Arial, sans-serif;
}

.home-page .quote-card figcaption img {
  display: block;
  float: none;
  width: 34px;
  height: 34px;
  flex: none;
  margin: 0;
  border: 1px solid rgba(18, 97, 216, .28);
  border-radius: 50%;
  background: #e8f3ff;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .quote-card:hover {
    z-index: auto;
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .home-page .testimonials { padding: 30px 0 16px; }
  .home-page .testimonials .section-heading { margin-bottom: 14px; }

  .home-page .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .home-page .quote-card,
  .home-page .quote-card:first-child,
  .home-page .quote-card:last-child { padding: 11px 0; }
  .home-page .quote-card + .quote-card { border-top: 1px solid rgba(16, 45, 98, .18); border-left: 0; }
  .home-page .quote-card blockquote { margin-bottom: 7px; }
}

@media (max-width: 600px) {
  .home-page .testimonials h2 { font-size: clamp(25px, 7vw, 29px); }
  .home-page .quote-card blockquote { font-size: 14px; }
}
