.cc_bflwfvqd_x2NsxhYC2r .testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

/* The card: white, softly rounded. The accent quote badge sits inside its top-right corner. */
.cc_bflwfvqd_x2NsxhYC2r .testimonial__card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 32px 32px 24px;
  border-radius: 28px;
  background: var(--kv-testimonial-tint, var(--kv-color-bg-page));
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 1000px;
  background: var(--kv-testimonial-accent, var(--kv-color-primary));
  color: var(--kv-color-on-primary);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__stars {
  display: flex;
  gap: 4px;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__star {
  fill: var(--kv-color-bg-soft);
  stroke: var(--kv-color-bg-soft);
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__star--on {
  fill: var(--kv-testimonial-accent, var(--kv-color-primary));
  stroke: var(--kv-testimonial-accent, var(--kv-color-primary));
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__quote {
  flex: 1;
  margin: 0;
  color: var(--kv-color-text-primary);
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__quote p {
  margin: 0;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 0;
  padding: 20px 0 0;
  /* Stitched seam between the words and the person. */
  border-top: 2px dashed color-mix(in srgb, var(--kv-testimonial-accent, var(--kv-color-primary)) 35%, transparent);
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 1000px;
  background: var(--kv-color-bg-warm);
  box-shadow: 0 0 0 3px var(--kv-color-highlight);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__initial {
  color: var(--kv-testimonial-accent, var(--kv-color-primary));
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__name {
  color: var(--kv-color-text-primary);
}

.cc_bflwfvqd_x2NsxhYC2r .testimonial__meta {
  color: var(--kv-color-text-secondary);
}

/* Hover: the card lifts and the badge spins a little; the avatar ring widens. */
@media (hover: hover) {
  .cc_bflwfvqd_x2NsxhYC2r .testimonial:hover .testimonial__card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.12);
  }

  .cc_bflwfvqd_x2NsxhYC2r .testimonial:hover .testimonial__badge {
    transform: rotate(-12deg) scale(1.1);
  }

  .cc_bflwfvqd_x2NsxhYC2r .testimonial:hover .testimonial__avatar {
    box-shadow: 0 0 0 5px var(--kv-color-highlight);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_bflwfvqd_x2NsxhYC2r .testimonial__card, .cc_bflwfvqd_x2NsxhYC2r .testimonial__badge, .cc_bflwfvqd_x2NsxhYC2r .testimonial__avatar {
    transition: none;
  }

  .cc_bflwfvqd_x2NsxhYC2r .testimonial:hover .testimonial__card, .cc_bflwfvqd_x2NsxhYC2r .testimonial:hover .testimonial__badge {
    transform: none;
  }
}
