.testimonial-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}

.testimonial-video-card {
  position: relative;
  display: grid;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid #465237;
  border-radius: 0.8rem;
  color: #fff;
  background: #141913;
  cursor: pointer;
}

.testimonial-video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.testimonial-video-card span {
  padding: 0.7rem;
  font-weight: 700;
}

.testimonial-player[hidden], .testimonial-player button[hidden] { display: none; }

.testimonial-player {
  position: fixed;
  z-index: 80;
  inset: auto 1rem 1rem auto;
  width: min(32rem, calc(100vw - 2rem));
  border: 1px solid #81ad42;
  border-radius: 0.9rem;
  padding: 0.65rem;
  color: #fff;
  background: #111810;
  box-shadow: 0 12px 36px #000a;
}

.testimonial-player.is-minimized { width: min(17rem, calc(100vw - 2rem)); }

.testimonial-player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.testimonial-player-bar strong { flex: 1 0 8rem; }

.testimonial-player-bar button {
  min-height: 2rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #657053;
  border-radius: 0.35rem;
  color: #fff;
  background: #25301d;
  cursor: pointer;
}

.testimonial-player-screen iframe {
  display: block;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}

.testimonial-player.is-minimized .testimonial-player-screen iframe { height: 200px; }
.testimonial-player-footer { margin-top: 0.4rem; font-size: 0.875rem; }
.testimonial-player-footer a { color: #c7fa89; }

.testimonial-video-grid { margin-bottom: 1.25rem; }
