/* Adapt to the number of existing reviews without changing review selection. */
.footer-testimonials-section.footer-testimonials-section {
  padding-block: clamp(28px, 4vw, 52px);
}
.footer-testimonials-section > .container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}
.footer-testimonials-section .grid:has(> .footer-testimonials-card) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-inline: auto;
  align-items: stretch;
}
.footer-testimonials-section .grid:has(> .footer-testimonials-card:only-child) {
  max-width: 640px;
  grid-template-columns: minmax(0, 1fr);
}
.footer-testimonials-section .grid:has(> .footer-testimonials-card:nth-child(2):last-child) {
  max-width: 900px;
}
.footer-testimonials-section div:has(> h2) {
  max-width: 800px;
  margin: 0 auto 28px;
  text-align: center;
}
.footer-testimonials-section .footer-testimonials-card {
  min-width: 0;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
  backdrop-filter: none;
}
.footer-testimonials-section .footer-testimonials-card > p {
  overflow-wrap: anywhere;
}
.footer-testimonials-section .footer-testimonials-card .footer-review-quote {
  background: transparent !important;
  color: #cbd5e1 !important;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: auto;
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
  top: 16px;
  right: 20px;
}
@media (max-width: 639px) {
  .footer-testimonials-section .grid:has(> .footer-testimonials-card) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .footer-testimonials-section .footer-testimonials-card { padding: 20px; }
  .footer-testimonials-section h2 { font-size: 26px; line-height: 1.25; }
}
