/* Section baseline (keeps theme spacing minimal around the video) */
.section.video-feature {
  padding: 0; /* Adjust if your theme expects vertical spacing here */
  
}
.section.video-feature .container
{
margin:0 0 40px;
}
/* Aspect-ratio box with rounded corners, safe overflow */
.video-feature__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

/* Make the video cover the frame */
.video-feature__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay caption with subtle gradient for legibility */
.__text-content .video-feature__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(12px, 2vw, 24px);
  color: #fff;

  font-size: clamp(14px, 1.2vw + 10px, 20px);
  text-wrap: balance;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));

  margin:0!important;
}
.__text-content .video-feature__caption p
{
       color: #fff;
    font-weight: 500;
    line-height: 1.45;
    font-size: 1.5rem;
}
@media only screen and (max-width:650px)
{
    .__text-content .video-feature__caption p{
    font-size: 1.0rem;}
}
/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .video-feature__video { animation: none; }
  .video-feature__video[autoplay] { /* pause the loop for accessibility */
    animation: none;
  }
}
.video-feature__img { width:100%; height:100%; object-fit:cover; display:block; }
.video-feature__placeholder { display:grid; place-items:center; width:100%; height:100%; background:#0f0f10; color:#9aa0a6; font-size:14px; }
