@import url("https://fonts.googleapis.com/css2?family=Baskervville&display=swap");

.discovery-testimonial {
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding-inline: 1rem;
  scroll-margin-top: 6.5rem;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
}

.discovery-testimonial::before {
  display: block;
  width: 2rem;
  height: 2px;
  margin: 0 auto 1.25rem;
  background-color: transparent;
  content: "";
}

.discovery-testimonial__rating {
  display: flex;
  max-width: 100px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.discovery-testimonial__highlight {
  background-color: rgb(113 63 18 / .8);
  color: rgb(254 249 195);
}

.discovery-testimonial blockquote {
  max-width: 48ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.1875rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: balance;
}

.discovery-testimonial p {
  margin: 0;
}

.discovery-testimonial__mark {
  font-family: "Baskervville", Georgia, serif;
  font-size: 1em;
  line-height: 0;
}

.discovery-testimonial p.discovery-testimonial__context {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.discovery-testimonial figcaption {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.discovery-testimonial figcaption strong {
  color: var(--ink);
  font-size: 1rem;
}
