/* Google reviews section — intentionally generic and unbranded.
   Not themed to any client's fonts/colors: standard sans-serif,
   light card background, standard star gold, plain Google blue CTA. */

.gr-section {
  --gr-star: #FBBC04;
  --gr-star-empty: #DADCE0;
  --gr-ink: #202124;
  --gr-muted: #5F6368;
  --gr-border: #E0E0E0;
  --gr-card-bg: #FFFFFF;
  --gr-blue: #1A73E8;
  --gr-blue-hover: #1765CC;

  font-family: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
  color: var(--gr-ink);
  font-size: 16px;
  line-height: 1.5;
}

.gr-section * {
  box-sizing: border-box;
}

.gr-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gr-border);
}

.gr-summary-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gr-score {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.gr-stars {
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  line-height: 1;
}

.gr-stars-sm {
  font-size: 0.85rem;
}

.gr-stars-bg {
  color: var(--gr-star-empty);
}

.gr-stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: var(--gr-pct, 0%);
  color: var(--gr-star);
  white-space: nowrap;
}

.gr-count {
  color: var(--gr-muted);
  font-size: 0.95rem;
}

.gr-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--gr-blue);
  color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.gr-cta:hover,
.gr-cta:focus-visible {
  background: var(--gr-blue-hover);
}

.gr-cta svg {
  flex-shrink: 0;
}

.gr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gr-card {
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gr-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gr-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.gr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #E8EAED;
  display: block;
}

.gr-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E8EAED;
  color: var(--gr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.gr-card .gr-avatar-wrap .gr-avatar-fallback {
  position: absolute;
  top: 0;
  left: 0;
}

.gr-author {
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0;
}

.gr-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gr-ink);
  margin: 0;
}

.gr-time {
  font-size: 0.8rem;
  color: var(--gr-muted);
  margin: 0;
}

.gr-attribution {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gr-muted);
  margin-top: 1.25rem;
}
