/* Verified Google reviews, kept separate from the treatment results. */
.google-review-stars {
  color: #eead12;
  font: 400 17px/22px Arial, sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
}
.google-reviews {
  margin-top: 52px;
  padding: 0 40px;
  scroll-margin-top: 28px;
}
.google-reviews-heading {
  color: #111;
  font: 700 36px/1.25 var(--display, Arial, sans-serif);
  letter-spacing: -.5px;
  text-wrap: balance;
}
.google-reviews-summary {
  max-width: 620px;
  margin: 12px auto 26px;
  color: #626268;
  font: 400 14px/1.6 var(--sans, Arial, sans-serif);
}
.google-reviews-summary a {
  color: var(--pink, #a81e5d);
  text-underline-offset: 3px;
}
.google-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}
.google-reviews-context {
  margin: 18px auto 0;
  color: #6b6d72;
  font: 400 11px/1.6 var(--sans, Arial, sans-serif);
}
.google-review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 18px;
  border: 1px solid #e4e5e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px #20212406;
}
.google-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.google-review-avatar {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6eaf0;
  color: #8c2053;
  font: 600 13px/1 var(--sans, Arial, sans-serif);
  letter-spacing: .25px;
}
.google-review-card:nth-child(3n+2) .google-review-avatar {
  background: #eaf2f8;
  color: #365f81;
}
.google-review-card:nth-child(3n) .google-review-avatar {
  background: #edf3ec;
  color: #456746;
}
.google-review-person { min-width: 0; }
.google-review-person strong {
  display: block;
  color: #202124;
  font: 600 13px/1.45 var(--sans, Arial, sans-serif);
  overflow-wrap: anywhere;
}
.google-review-person > span {
  display: block;
  margin-top: 1px;
  color: #6b6d72;
  font: 400 11px/1.5 var(--sans, Arial, sans-serif);
}
.google-review-stars { margin: 16px 0 10px; }
.google-review-card blockquote {
  margin: 0 0 20px;
  color: #383a3e;
  font: 400 14px/1.65 var(--sans, Arial, sans-serif);
  overflow-wrap: anywhere;
}
.google-review-source {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 0;
  color: var(--pink, #a81e5d);
  font: 600 11px/1.5 var(--sans, Arial, sans-serif);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.google-review-source:hover,
.google-reviews-summary a:hover { color: #70113d; }
.google-review-source:focus-visible,
.google-reviews-summary a:focus-visible {
  outline: 3px solid #15776e;
  outline-offset: 4px;
}
@media (max-width: 820px) {
  .google-reviews { padding: 0 25px; }
  .google-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .google-reviews { margin-top: 38px; padding: 0 20px; }
  .google-reviews-heading { font-size: 28px; line-height: 1.3; }
  .google-reviews-summary { margin: 10px auto 20px; font-size: 13px; }
  .google-review-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .google-review-card { padding: 20px; }
}
@media (max-width: 360px) {
  .google-reviews { padding-inline: 16px; }
  .google-reviews-heading { font-size: 25px; }
  .google-review-card { padding: 18px; }
}

/* Make attribution readable and review links comfortable to tap on a phone. */
@media(max-width:767px){
  .google-review-person strong{font-size:15px;line-height:22px}
  .google-review-person>span{font-size:13px;line-height:20px}
  .google-review-card blockquote{font-size:16px;line-height:25px;margin-bottom:12px}
  .google-review-source{display:inline-flex;align-items:center;min-height:44px;padding:10px 4px;font-size:14px;line-height:22px}
  .google-reviews-summary{font-size:15px;line-height:23px}
  .google-reviews-summary a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;font-size:14px;line-height:22px}
  .google-reviews-context{font-size:12px;line-height:18px}
}

/* Hero Google rating: the real G mark, the score, five gold stars, the count.
   Borderless; the whole line is one link down to the reviews section.
   Phone sizes first; the page's own 768px breakpoint scales it up.
   If text is enlarged and the line can't fit, it breaks into two centered
   lines: [G 5.0 stars] over [43 Google reviews], never a lone G or star. */
.hero-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 14px auto 6px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #1f1f1f;
  font: 400 14px/20px var(--sans, 'Open Sans', Arial, sans-serif);
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-rating:active { background: #f7f4f2; }
.hero-rating:focus-visible {
  outline: 3px solid #15776e;
  outline-offset: 4px;
}
.hero-rating__score {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.hero-rating__g {
  display: block;
  flex: none;
  width: 17px;
  height: 17px;
  margin-right: 9px;
}
.hero-rating__num {
  margin-right: 7px;
  font: 600 15px/20px var(--display, Poppins, Arial, sans-serif);
  letter-spacing: .01em;
}
.hero-rating__stars {
  display: block;
  flex: none;
  width: 81px;
  height: 15px;
}
.hero-rating__count {
  color: #5f6368;
  white-space: nowrap;
}

/* Hover only where a real pointer can hover, so a tap on a phone doesn't
   leave the pill and pink text stuck on after the jump. */
@media (hover: hover) {
  .hero-rating:hover { background: #f7f4f2; }
  .hero-rating:hover .hero-rating__count { color: var(--pink, #a81e5d); }
}

@media (min-width: 768px) {
  .hero-rating {
    gap: 2px 12px;
    margin: 16px auto 10px;
    padding: 10px 18px;
    font-size: 16px;
    line-height: 22px;
  }
  .hero-rating__g { width: 19px; height: 19px; margin-right: 10px; }
  .hero-rating__num { margin-right: 8px; font-size: 17px; line-height: 22px; }
  .hero-rating__stars { width: 92px; height: 17px; }
}
