/* Featured patient excerpts, contained within the reviews page section. */
section.petro-featured-reviews {
  --review-ink: #484848;
  --review-rule: rgba(72, 72, 72, .18);
  margin: 0 0 clamp(48px, 6vw, 76px);
  padding: 0 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--review-rule);
  color: var(--review-ink);
}

section.petro-featured-reviews .petro-featured-reviews-heading {
  max-width: 760px;
}

section.petro-featured-reviews .petro-featured-reviews-heading .eyebrow {
  margin: 0 0 15px;
  font: 500 11px/1.5 "Instrument Sans", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

section.petro-featured-reviews .petro-featured-reviews-heading h2 {
  margin: 0;
  font: 500 clamp(36px, 4.4vw, 54px)/1.1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.02em;
  text-wrap: balance;
}

section.petro-featured-reviews .petro-featured-reviews-intro {
  max-width: 58ch;
  margin: 20px 0 30px;
  font: 400 17px/1.7 "Instrument Sans", Arial, sans-serif;
}

section.petro-featured-reviews .petro-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

section.petro-featured-reviews .petro-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: clamp(23px, 2.7vw, 34px);
  border: 1px solid rgba(72, 72, 72, .1);
  border-radius: 3px;
  background: #ffffff;
}

section.petro-featured-reviews .petro-review-card:nth-child(2) {
  background: #f9eeef;
}

section.petro-featured-reviews .petro-review-card:nth-child(3) {
  background: #edf6ef;
}

section.petro-featured-reviews .petro-review-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 26px;
  font: 400 12px/1.5 "Instrument Sans", Arial, sans-serif;
}

section.petro-featured-reviews .petro-review-rating > span[role="img"] {
  color: #795d25;
  font-size: 15px;
  letter-spacing: .09em;
  white-space: nowrap;
}

section.petro-featured-reviews .petro-review-source {
  color: var(--review-ink);
  letter-spacing: .015em;
}

section.petro-featured-reviews .petro-review-card blockquote {
  flex: 1;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

section.petro-featured-reviews .petro-review-card blockquote > p {
  margin: 0;
  color: var(--review-ink);
  font: 500 clamp(25px, 2.75vw, 34px)/1.24 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.01em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

section.petro-featured-reviews .petro-review-card footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--review-rule);
}

section.petro-featured-reviews .petro-review-card cite {
  font: 500 14px/1.5 "Instrument Sans", Arial, sans-serif;
  overflow-wrap: anywhere;
}

section.petro-featured-reviews .petro-review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  color: var(--review-ink);
  font: 400 12px/1.5 "Instrument Sans", Arial, sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

section.petro-featured-reviews .petro-review-link:hover {
  text-decoration-thickness: 2px;
}

section.petro-featured-reviews .petro-review-link:focus-visible {
  outline: 2px solid #315f54;
  outline-offset: 4px;
}

section.petro-featured-reviews .petro-review-disclosure {
  max-width: 85ch;
  margin: 22px 0 0;
  font: 400 12px/1.65 "Instrument Sans", Arial, sans-serif;
}

@media (max-width: 800px) {
  section.petro-featured-reviews .petro-review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  section.petro-featured-reviews .petro-review-card {
    padding: 26px;
  }

  section.petro-featured-reviews .petro-review-card blockquote > p {
    max-width: 28ch;
    font-size: clamp(27px, 5vw, 34px);
  }

  section.petro-featured-reviews .petro-review-rating {
    margin-bottom: 22px;
  }
}
