.customer-reviews {
  width: min(1060px, calc(100% - 32px));
  margin: clamp(24px, 5vw, 64px) auto;
}

.customer-reviews__hero {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid #c9dfe9;
  border-inline-start: 5px solid #54ad2b;
  border-radius: 20px;
  background: linear-gradient(135deg, #edf7fb, #f5faf5);
}

.customer-reviews__hero h1 {
  margin: 0 0 .4em;
  color: #0a3764;
  font-size: clamp(2rem, 4.7vw, 3.55rem);
  line-height: 1.1;
}

.customer-reviews__hero p {
  max-width: 64ch;
  margin: 0;
  line-height: 1.6;
}

.customer-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 28px);
  margin-block: 24px 16px;
}

.customer-reviews .customer-reviews__card {
  display: grid;
  gap: 12px;
  align-content: start;
  margin: 0;
  padding: clamp(20px, 3.4vw, 36px);
  border: 1px solid #d7e6ef;
  border-block-start: 4px solid #0872b6;
  border-radius: 16px;
  background: white;
}

.customer-reviews .customer-reviews__card--trustpilot {
  border-block-start-color: #54ad2b;
  --star-color: #00835f;
}

.customer-reviews__card h2,
.customer-reviews__card p {
  margin: 0;
}

.customer-reviews__rating {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.customer-reviews__score {
  color: #0a3764;
  font-variant-numeric: tabular-nums;
}

.customer-reviews__score strong {
  font-size: clamp(2.35rem, 6vw, 3.4rem);
  line-height: 1;
}

.customer-reviews__stars {
  width: max-content;
  background: linear-gradient(90deg, var(--star-color, #a05b00) var(--rating-fill), #cbd5e0 var(--rating-fill));
  background-clip: text;
  color: transparent;
  font-size: 1.33rem;
  white-space: nowrap;
}

.customer-reviews__card .quote-button {
  width: fit-content;
  max-width: 100%;
  margin-block-start: 8px;
  white-space: normal;
  text-align: center;
}

.customer-reviews__source-note {
  margin-inline: 2px;
  max-width: 72ch;
  color: #455e76;
  line-height: 1.55;
}

@media (max-width: 690px) {
  .customer-reviews__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer.customer-reviews-footer .footer-review-links {
  display: none !important;
}
