/* Preserve the feathered hero, with a silent film in its existing media area. */
.hero-video-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 74%;
  height: 100%;
  overflow: hidden;
  z-index: -3;
  pointer-events: none;
}
.hero-video-poster,
.hero-video-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video-poster { object-fit: cover; object-position: 65% 45%; }
.hero-video-stage { overflow: hidden; opacity: 0; }
.hero[data-video-visible='true'] .hero-video-stage { opacity: 1; }
.hero-video-stage iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 477.39px;
  min-height: 200px;
  transform: translateX(-50%);
  border: 0;
  pointer-events: none;
}
.hero-video-controls {
  position: absolute;
  right: 5%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-video-controls button,
.hero-video-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}
.hero-video-controls button:hover,
.hero-video-controls a:hover { background: var(--panel); }
.hero-video-controls button:disabled { cursor: wait; }
.hero-video-controls [hidden] { display: none; }
@media (max-width: 767px) {
  .hero-video-media { inset: auto 0 0; width: 100%; height: 66.6667vw; min-height: 200px; }
  .hero-video-poster { object-position: 72% 50%; }
  .hero[data-hero-video] .hero-copy { padding-bottom: calc(max(66.6667vw, 200px) + 24px); }
  .hero[data-hero-video]::before { height: max(66.6667vw, 200px); }
  .hero-video-controls { left: 6%; right: 6%; bottom: 14px; justify-content: center; }
}
@media print {
  .hero-video-stage,
  .hero-video-controls { display: none; }
}
