.cb-component-cmp_centered_testimonial_card {
  --testimonial-max-width: 620px;
  --testimonial-text-width: 560px;
  --testimonial-star-size: 26px;
  --testimonial-quote-size: 18px;
  --testimonial-name-size: 22px;
  --testimonial-role-size: 15px;
  --testimonial-avatar-size: 112px;
  --testimonial-avatar-ring: 8px;
  --testimonial-gap-xs: 12px;
  --testimonial-gap-sm: 18px;
  --testimonial-gap-md: 28px;
  --testimonial-gap-lg: 38px;
  --testimonial-text-line: 1.75;
  --testimonial-name-line: 1.2;
  --testimonial-role-line: 1.4;
  --testimonial-bg: transparent;
  --testimonial-font: var(--cb-main-font, Jost, sans-serif);
  --testimonial-name-weight: 700;
  --testimonial-role-weight: 500;
  --testimonial-text-weight: 400;
  --testimonial-avatar-fallback-bg: var(--navy, #0c2b4f);
  --testimonial-avatar-fallback-text: #ffffff;
  --testimonial-avatar-shell-bg: #f2f5f8;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 20px;
  background: var(--testimonial-bg);
  font-family: var(--testimonial-font);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__inner {
  width: 100%;
  max-width: var(--testimonial-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__rating {
  margin-bottom: var(--testimonial-gap-md);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__stars {
  display: inline-block;
  font-size: var(--testimonial-star-size);
  line-height: 1;
  letter-spacing: 6px;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__quote-wrap {
  width: 100%;
  max-width: var(--testimonial-text-width);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__quote {
  margin: 0;
  font-size: var(--testimonial-quote-size);
  line-height: var(--testimonial-text-line);
  font-weight: var(--testimonial-text-weight);
  letter-spacing: 0.01em;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--testimonial-gap-lg);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar-wrap {
  width: calc(var(--testimonial-avatar-size) + (var(--testimonial-avatar-ring) * 2));
  height: calc(var(--testimonial-avatar-size) + (var(--testimonial-avatar-ring) * 2));
  border-radius: 50%;
  background: var(--testimonial-avatar-shell-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--testimonial-gap-sm);
  overflow: hidden;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar {
  width: var(--testimonial-avatar-size);
  height: var(--testimonial-avatar-size);
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar.testimonial__avatar {
  width: var(--testimonial-avatar-size);
  height: var(--testimonial-avatar-size);
  background: var(--testimonial-avatar-fallback-bg);
  color: var(--testimonial-avatar-fallback-text);
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  padding: 12px;
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--testimonial-gap-xs);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__name {
  margin: 0;
  font-size: var(--testimonial-name-size);
  line-height: var(--testimonial-name-line);
  font-weight: var(--testimonial-name-weight);
}

.cb-component-cmp_centered_testimonial_card .cb-testimonial-card__role {
  font-size: var(--testimonial-role-size);
  line-height: var(--testimonial-role-line);
  font-weight: var(--testimonial-role-weight);
}

@media (max-width: 767px) {
  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card {
    padding: 20px 16px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__stars {
    font-size: 22px;
    letter-spacing: 5px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__quote {
    font-size: 17px;
    line-height: 1.7;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__person {
    margin-top: 30px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar-wrap {
    width: 108px;
    height: 108px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar,
  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__avatar.testimonial__avatar {
    width: 94px;
    height: 94px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__name {
    font-size: 20px;
  }

  .cb-component-cmp_centered_testimonial_card .cb-testimonial-card__role {
    font-size: 14px;
  }
}