/* The authored positioned image wrapper and its image keep all layout geometry. */
video[data-hero-video] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  corner-shape: inherit;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
video[data-hero-video].is-hero-video-active {
  opacity: 1;
  visibility: visible;
}
[data-hero-video-toggle] {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 4px;
  background: rgba(0, 0, 0, .85);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}
[data-hero-video-toggle]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #000;
}
[data-hero-video-toggle][hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  video[data-hero-video], [data-hero-video-toggle] { display: none; }
}
