/* Service title videos are decorative backgrounds; content-player controls stay intact. */
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-section="hero"] :is(.vm-video-pause,.vm-video-toggle){display:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-section="hero"][data-vm-provider-hero="1"] > [data-vm-provider-video="1"] > .vm-video-hero-cover{pointer-events:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-section="hero"][data-vm-provider-hero="1"] > [data-vm-provider-video="1"] > .vm-video-hero-cover > :is(span,small){display:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] > [data-vm-provider-video="1"]{z-index:0!important;pointer-events:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] > .e-con-inner{opacity:1!important;pointer-events:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"]::after{opacity:1!important;pointer-events:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] .vm-hero-autoplay-poster{position:absolute;inset:0;overflow:hidden;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] .vm-hero-autoplay-poster > img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] > [data-vm-provider-video="1"] > iframe.vm-hero-autoplay-frame{position:absolute;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;width:var(--vm-hero-video-width,100%)!important;height:var(--vm-hero-video-height,100%)!important;transform:translate(-50%,-50%);border:0!important;opacity:0!important;pointer-events:none!important;}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"][data-vm-hero-playback="playing"] > [data-vm-provider-video="1"] > iframe.vm-hero-autoplay-frame{opacity:1!important;}

/* Some captured title videos live inside the boxed heading wrapper. That wrapper
   must not become their containing block: backgrounds fill the complete hero. */
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"]:has(.elementor-background-video-container){
  position:relative!important;width:100%!important;max-width:100%!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  padding-inline:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"]:has(.elementor-background-video-container) > .e-con-inner{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  flex:0 1 auto!important;height:auto!important;min-height:0!important;padding-block:0!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"]:has(.elementor-background-video-container) h1{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-align:center!important;margin:0 auto!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"]:has(.elementor-background-video-container) h1 :is(span,strong,b,em,a){
  color:inherit!important;-webkit-text-fill-color:inherit!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] > .e-con-inner:has(> .elementor-background-video-container){
  position:static!important;z-index:auto!important;transform:none!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] > .e-con-inner:has(> .elementor-background-video-container) > .elementor-widget-heading{
  position:relative!important;z-index:2!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] > .elementor-background-video-container,
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] > .e-con-inner > .elementor-background-video-container{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;transform:none!important;overflow:hidden!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] .elementor-background-video-container > video.vm-bg-video{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;object-fit:cover!important;object-position:center!important;transform:none!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-service-template-hero="1"] > [data-vm-provider-video="1"] > .vm-video-hero-cover{
  border:0!important;border-radius:0!important;
}
body.venusmed-native .vm-document[data-vm-service-template] > [data-vm-hero-autoplay="youtube"] > [data-vm-provider-video="1"] > iframe.vm-hero-autoplay-frame{
  max-width:none!important;max-height:none!important;
}

/* The Morpheus consultation header keeps its mixed text/panel layout. Its
   captured mobile-hide class must not suppress the original background clip. */
body.venusmed-native .vm-document[data-vm-document="7633"][data-vm-service-template] > .elementor-element-2586b6d[data-vm-service-template-section="hero"] > .elementor-background-video-container{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;overflow:hidden!important;
}
body.venusmed-native .vm-document[data-vm-document="7633"][data-vm-service-template] > .elementor-element-2586b6d[data-vm-service-template-section="hero"] > .elementor-background-video-container > video.vm-bg-video{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;
}
body.venusmed-native .vm-document[data-vm-document="7633"][data-vm-service-template] > .elementor-element-2586b6d[data-vm-service-template-section="hero"] a[href^="tel:"]{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:underline!important;text-underline-offset:.2em;
}
@media(max-width:767px){
  body.venusmed-native .vm-document[data-vm-document="7633"][data-vm-service-template] > .elementor-element-2586b6d[data-vm-service-template-section="hero"] > .elementor-background-video-container{
    display:block!important;
  }
  body.venusmed-native .vm-document[data-vm-document="7633"][data-vm-service-template] > .elementor-element-2586b6d[data-vm-service-template-section="hero"] > .elementor-element-62feaa5{
    background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  }
}
