/**
 * Hello Video Modal — button + lightbox styles.
 * Self-contained; nothing here depends on the theme.
 */

/* The trigger and its wrapper are intentionally unstyled — bring your own
   button class (the "Extra button class" param) or none at all. */

/* ---- lightbox --------------------------------------------------------- */
.hvm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
}
.hvm-overlay.is-open {
  display: flex;
}
.hvm-dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
}
/* 16:9 responsive box — keeps the player big so Vimeo shows the full control
   bar (mute/unmute + fullscreen) instead of collapsing to a small arrow. */
.hvm-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.hvm-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
  background: #000;
}
.hvm-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  line-height: 40px;
  cursor: pointer;
}
.hvm-close:hover {
  color: #df173b;
}

/* Prevent the page behind the lightbox from scrolling while it's open. */
html.hvm-lock,
html.hvm-lock body {
  overflow: hidden;
}
