.hero-testimonial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  padding: .75rem 1rem;
  color: var(--cz-body-color);
  background: var(--cz-body-bg);
  border: 1px solid var(--cz-border-color);
  border-radius: 8px;
  box-shadow: 0 .5rem 1.875rem -.25rem rgba(8, 11, 18, .12);
}

.hero-testimonial__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: .75rem;
  padding: .5rem 1rem;
}

.hero-testimonial__item + .hero-testimonial__item {
  border-left: 1px solid var(--cz-border-color);
}

.hero-testimonial__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #0f766e;
  background: rgba(15, 118, 110, .1);
  border-radius: 8px;
  font-size: 1.45rem;
}

.hero-testimonial__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.hero-testimonial__text strong {
  color: var(--cz-heading-color);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-testimonial__text span {
  margin-top: .125rem;
  color: var(--cz-secondary-color);
  font-size: .9375rem;
}

[data-bs-theme="dark"] .hero-testimonial {
  background: var(--cz-tertiary-bg);
  box-shadow: 0 .5rem 1.875rem -.25rem rgba(8, 11, 18, .28);
}

[data-bs-theme="dark"] .hero-testimonial__icon {
  color: #5eead4;
  background: rgba(94, 234, 212, .12);
}

@media (max-width: 767.98px) {
  .hero-testimonial {
    max-width: 520px;
    padding: .5rem;
  }

  .hero-testimonial__item {
    flex-direction: column;
    gap: .5rem;
    padding: .75rem .5rem;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-testimonial {
    grid-template-columns: 1fr;
    max-width: 360px;
    padding: .75rem;
  }

  .hero-testimonial__item {
    flex-direction: row;
    justify-content: flex-start;
    padding: .75rem .25rem;
    text-align: left;
  }

  .hero-testimonial__item + .hero-testimonial__item {
    border-top: 1px solid var(--cz-border-color);
    border-left: 0;
  }
}
