/* Video testimonials grid (Patient Resources > Videos). The 3 source videos are genuinely
   portrait (720x1280 / 1440x2560, all 9:16) - matches how the old site displayed them.
   Explicit width/height attributes + aspect-ratio below stop the browser falling back to
   its 300x150 default replaced-element size before metadata loads. */
.sec-video-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  max-width: 68rem;
}

@media (max-width: 900px) {
  .sec-video-grid__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .sec-video-grid__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

.sec-video-grid__card {
  margin: 0;
}

.sec-video-grid__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  background: #000;
  object-fit: cover;
}

.sec-video-grid__name {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-on-bone);
  text-align: center;
}

.sec-video-grid__note {
  margin-top: 2.5rem;
  color: var(--text-on-bone-dim);
}
