/* Google reviews builder block */
.wb-gr {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f8faff 0%, #eef2ff 42%, #f5f3ff 100%);
}

.wb-gr--preview {
  outline: 2px dashed rgba(66, 99, 235, 0.35);
  outline-offset: -2px;
}

.wb-gr__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wb-gr__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: wb-gr-float 16s ease-in-out infinite alternate;
}

.wb-gr__orb--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -60px;
  background: #6b8cff;
}

.wb-gr__orb--2 {
  width: 240px;
  height: 240px;
  bottom: 10%;
  right: -40px;
  background: #a78bfa;
  animation-delay: -5s;
}

.wb-gr__orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 45%;
  background: #34d399;
  opacity: 0.25;
  animation-delay: -9s;
}

@keyframes wb-gr-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, 28px) scale(1.06); }
}

.wb-gr__title {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wb-gr__score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.25rem;
}

.wb-gr-score-pop {
  animation: wb-gr-pop 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes wb-gr-pop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wb-gr__score-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1.35rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(30, 41, 89, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.wb-gr__score-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #1e3a8a, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wb-gr__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.wb-gr__score-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 0.85rem;
}

.wb-gr__google {
  font-weight: 600;
  color: #334155;
}

.wb-gr__count {
  color: #64748b;
}

.wb-gr__carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wb-gr__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.wb-gr__card {
  position: relative;
  flex: 0 0 min(340px, 85vw);
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.15rem;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
  animation: wb-gr-card-in 0.55s ease-out both;
  animation-delay: calc(var(--wb-gr-i, 0) * 0.08s);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wb-gr__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

@keyframes wb-gr-card-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.wb-gr__card--grid {
  flex: none;
  width: 100%;
}

.wb-gr__quote {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #1e293b;
  margin: 0;
}

.wb-gr__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wb-gr__avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.wb-gr__name {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}

a.wb-gr__name:hover {
  color: #4f46e5;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .wb-gr__orb,
  .wb-gr__card,
  .wb-gr-score-pop {
    animation: none;
  }
  .wb-gr__track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .wb-gr__carousel {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .wb-gr__card--dup {
    display: none;
  }
}
