/* La animación conserva el encuadre y los bordes de la portada. */
.home-refresh .brand-stage.hero-channel-animation {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-refresh .hero-channel-animation .brand-stage-poster,
.home-refresh .hero-channel-animation .brand-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.home-refresh .hero-channel-animation .brand-stage-poster { z-index: 1; }
.home-refresh .hero-channel-animation .brand-stage-video { z-index: 2; }
.home-refresh .hero-channel-animation.is-static .brand-stage-video { visibility: hidden; }

.hero-motion-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(17, 26, 55, .7);
  color: #fff;
  cursor: pointer;
}

.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:hover { background: rgba(17, 26, 55, .94); }
.home-refresh .hero-motion-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-motion-toggle svg { width: 17px; height: 17px; fill: currentColor; pointer-events: none; }
.hero-motion-toggle:not(.is-paused) .motion-play,
.hero-motion-toggle.is-paused .motion-pause { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-channel-animation:not(.motion-explicit) .brand-stage-video { visibility: hidden; }
}
