.ot-testimonials-banner {
  background: linear-gradient(
    135deg,
    var(--ot-primary, #1e3a6e) 0%,
    var(--ot-secondary, #2d5a9e) 100%
  );
  color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
}

.ot-testimonials-banner-inner {
  padding: 0.75rem 1rem 0.85rem;
}

.ot-testimonials-banner-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.ot-testimonials-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ot-testimonials-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: ot-testimonials-scroll 45s linear infinite;
}

.ot-testimonials-track:hover {
  animation-play-state: paused;
}

.ot-testimonial-card {
  display: block;
  min-width: 280px;
  max-width: 320px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ot-testimonial-card:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.ot-testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.ot-testimonial-meta {
  font-size: 0.78rem;
  opacity: 0.85;
}

@keyframes ot-testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ot-testimonials-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
}

.ot-testimonial-photo {
  max-height: 420px;
  object-fit: contain;
}

.ot-testimonial-card-photo {
  height: 180px;
  object-fit: cover;
}

.ot-testimonial-review-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
}
