/* Motion & Video — testimonials above reviews band (video-animation-v1) */
body.motion-video-page #testimonials.testimonials-section,
body.page-video-editing #testimonials.testimonials-section {
  --va-section-y: clamp(72px, 8vw, 96px);
  background-color: #f6f6fc;
  background-image: url("../images/what-we-do/video-animation/testimonials-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding-top: var(--va-section-y);
  padding-bottom: var(--va-section-y);
}

body.motion-video-page #testimonials .container,
body.page-video-editing #testimonials .container {
  text-align: left;
  margin-bottom: 40px;
}

body.motion-video-page #testimonials h2,
body.page-video-editing #testimonials h2 {
  max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}

body.motion-video-page #testimonials .testi-marquee-wrap,
body.page-video-editing #testimonials .testi-marquee-wrap {
  margin-top: 8px;
}

@media (max-width: 768px) {
  body.motion-video-page #testimonials.testimonials-section,
  body.page-video-editing #testimonials.testimonials-section {
    padding-top: clamp(56px, 10vw, 72px);
    padding-bottom: clamp(48px, 8vw, 64px);
  }

  body.motion-video-page #testimonials .container,
  body.page-video-editing #testimonials .container {
    margin-bottom: 28px;
  }

  /* Keep original image-column height (full card); fill with cover */
  body.motion-video-page #testimonials .testi-card,
  body.page-video-editing #testimonials .testi-card {
    align-items: stretch;
  }

  body.motion-video-page #testimonials .testi-video,
  body.page-video-editing #testimonials .testi-video {
    width: 130px;
    align-self: stretch;
    height: auto;
    min-height: 100%;
    background: #0f1024;
  }

  body.motion-video-page #testimonials .testi-video img,
  body.motion-video-page #testimonials .testi-video img.testi-video__portfolio,
  body.page-video-editing #testimonials .testi-video img,
  body.page-video-editing #testimonials .testi-video img.testi-video__portfolio {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}
