/* Codedesigner – Google Places Reviews (Frontend) */

.cd-gpr-trust {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: var(--cd-gpr-pad, 8px);
  background: var(--cd-gpr-bg, transparent);
  border-radius: var(--cd-gpr-radius, 8px);
  color: var(--cd-gpr-text, inherit);
}

.cd-gpr-trust__link {
  display: inline-flex;
  text-decoration: none !important;
}

.cd-gpr-trust__link::after {
    display: none !important;
}

.cd-gpr-trust__avatars {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.cd-gpr-trust__avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 999px;
  margin-left: -12px;
}

.cd-gpr-trust__avatar:first-child {
  margin-left: 0;
}

.cd-gpr-trust__dot {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
  margin-left: -12px;
}
.cd-gpr-trust__dot:first-child { margin-left: 0; }

/* Initialen-Fallback */
.cd-gpr-trust__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.95);
  background: var(--cd-gpr-avatar-bg, rgba(0,0,0,.25));
  text-transform: uppercase;
  line-height: 1;
}

.cd-gpr-trust__copy {
  max-width: 256px;
  line-height: 1.35;
}

.cd-gpr-trust__headline {
  font-size: 14px;
}

.cd-gpr-trust__sub {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: .9;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.cd-gpr-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 0;
  color: #fbbc04; /* Google star gold */
}

.cd-gpr-star {
  width: 14px;
  height: 14px;
}

.cd-gpr-star--full path { fill: currentColor; }
.cd-gpr-star--half path { fill: currentColor; }

.cd-gpr-star--half .cd-gpr-star__outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  opacity: .55;
}

.cd-gpr-star--empty path {
  stroke: #dadce0;
}

.cd-gpr-trust__rating-text {
  font-size: 12px;
  opacity: .85;
  white-space: nowrap;
}

/* Mobile: Avatare oben, Text darunter */
@media (max-width: 640px) {
  .cd-gpr-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .cd-gpr-trust__link {
    width: 100%;
  }
  .cd-gpr-trust__copy {
    max-width: none;
  }
}

.cd-gpr-trust__label { font-size: 12px; opacity: .85; white-space: nowrap; }
