/* Shared Google review badge used in every testimonial section. */
.google-review-summary {
  width: fit-content;
  max-width: 100%;
  margin: -0.5rem auto 2rem;
  padding: 0.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.google-review-summary:hover { opacity: 0.82; transform: translateY(-1px); }
.google-review-summary:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }

.google-review-score {
  display: grid;
  gap: 0.28rem;
  white-space: nowrap;
}

.google-review-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
}

.google-review-icon img { width: 64px; height: 64px; display: block; }

.google-review-stars {
  color: #f5a623;
  font-size: 1.42rem;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.google-review-number {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.google-review-count {
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.google-review-meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .google-review-summary { margin: -0.25rem auto 1.75rem; padding: 0.1rem 0; gap: 0.6rem; }
  .google-review-icon,
  .google-review-icon img { width: 54px; height: 54px; }
  .google-review-icon { flex-basis: 54px; }
  .google-review-stars { font-size: 1.15rem; }
  .google-review-number { font-size: 1.08rem; }
  .google-review-count { font-size: 0.78rem; }
}

@media (max-width: 400px) {
  .google-review-summary { gap: 0.5rem; }
  .google-review-icon,
  .google-review-icon img { width: 44px; height: 44px; }
  .google-review-icon { flex-basis: 44px; }
  .google-review-stars { font-size: 0.86rem; }
  .google-review-number { font-size: 0.8rem; }
}
