/* Authentic local covers, with a positive stacking order above the button fill. */
body.venusmed-native .vm-video-cover[data-vm-video-poster] {
  position:relative!important;isolation:isolate;background:#302a2c!important;
  overflow:hidden!important;border-color:#dec7cf!important;
}
body.venusmed-native .vm-video-cover[data-vm-video-poster] > img {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;object-fit:cover!important;
  opacity:1!important;visibility:visible!important;z-index:0!important;
}
body.venusmed-native .vm-video-cover[data-vm-video-poster]::after {
  z-index:1!important;pointer-events:none;
  background:linear-gradient(0deg,rgba(25,17,21,.88),rgba(25,17,21,.04) 70%)!important;
}
body.venusmed-native .vm-video-cover[data-vm-video-poster] > :is(span,small) {
  position:relative;z-index:2;max-width:100%;color:#fff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
}
body.venusmed-native .vm-video-cover[data-vm-video-poster] > .vm-cover-play {
  color:#754550!important;text-shadow:none;
}
body.venusmed-native .vm-video-cover[data-vm-video-poster]:focus-visible {
  outline:3px solid #754550!important;outline-offset:4px!important;
}
/* Keep portrait clips fully usable within the screen before and after playback. */
body.venusmed-native .vm-embed[data-vm-video-frame="portrait"] {
  width:min(100%,360px,42.1875vh)!important;max-width:100%!important;
  height:auto!important;min-height:0!important;max-height:640px!important;
  aspect-ratio:9/16!important;margin-inline:auto!important;
}
body.venusmed-native .vm-embed[data-vm-video-frame="portrait"] > :is(button,iframe) {
  width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;
}
@supports(width:1svh) {
  body.venusmed-native .vm-embed[data-vm-video-frame="portrait"] {width:min(100%,360px,42.1875svh)!important}
}
/* Two captured hero sources were YouTube URLs placed in native video tags. */
body.venusmed-native [data-vm-provider-hero="1"] {position:relative!important}
body.venusmed-native [data-vm-provider-video="1"] {
  pointer-events:auto!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;overflow:hidden;
}
body.venusmed-native [data-vm-provider-video="1"] > :is(button,iframe) {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  border:0!important;border-radius:0!important;
}
body.venusmed-native [data-vm-provider-hero="1"] > .e-con-inner {pointer-events:none}
body.venusmed-native [data-vm-provider-hero="1"] > .e-con-inner :is(a,button,input,select,textarea) {pointer-events:auto}
body.venusmed-native [data-vm-provider-video="1"]:has(> iframe) {z-index:3!important}
body.venusmed-native [data-vm-provider-hero="1"]:has(> [data-vm-provider-video="1"] > iframe) > .e-con-inner {
  opacity:0;pointer-events:none;
}
body.venusmed-native [data-vm-provider-hero="1"]:has(> [data-vm-provider-video="1"] > iframe)::before,
body.venusmed-native [data-vm-provider-hero="1"]:has(> [data-vm-provider-video="1"] > iframe)::after,
body.venusmed-native [data-vm-provider-hero="1"]:has(> [data-vm-provider-video="1"] > iframe) > .elementor-background-overlay {
  opacity:0!important;pointer-events:none!important;
}
body.venusmed-native .vm-video-hero-cover[data-vm-video-poster] {
  justify-content:flex-end!important;padding:16px!important;gap:6px!important;
}
body.venusmed-native .vm-video-hero-cover[data-vm-video-poster] > .vm-cover-play {
  margin:0!important;width:48px;height:48px;font-size:19px!important;
}
body.venusmed-native .vm-video-hero-cover[data-vm-video-poster] > .vm-cover-caption {margin-top:0!important;font-size:15px!important}
body.venusmed-native .vm-video-hero-cover[data-vm-video-poster] > small {display:none}
@media(prefers-reduced-motion:reduce) {
  body.venusmed-native .vm-video-cover[data-vm-video-poster] > img {transition:none!important;transform:none!important}
}
/* Body video playback keeps its original color. The preserved legacy iframe
   rule applies grayscale globally; decorative provider heroes are separate. */
body.venusmed-native .vm-document .vm-embed:not([data-vm-provider-video]) > iframe:is(
  [src^="https://www.youtube-nocookie.com/embed/"],
  [src^="https://www.youtube.com/embed/"],
  [src^="https://player.vimeo.com/video/"]
) {
  filter:none!important;-webkit-filter:none!important;
}
/* The two reviewed YouTube background sources also retain original color;
   their separate text-contrast overlays and playback opacity remain intact. */
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"] > iframe:is(
  [src^="https://www.youtube-nocookie.com/embed/"],
  [src^="https://www.youtube.com/embed/"]
) {
  filter:none!important;-webkit-filter:none!important;
}
/* Keep the ordinary preview photograph clear above a localized caption scrim.
   Hero covers retain their existing full-heading contrast treatment. */
body.venusmed-native .vm-document .vm-embed:not([data-vm-provider-video]) > .vm-video-cover[data-vm-video-poster]:not(.vm-video-hero-cover)::after {
  background:linear-gradient(0deg,rgba(25,17,21,.8) 0%,rgba(25,17,21,.65) 14%,rgba(25,17,21,0) 36%,transparent 100%)!important;
}
