/* Home-only native playback of the supplied bodyRIOT banner. */
[data-section-id="6a0616f912e1375228ef8c14"] .riot-home-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
  filter: opacity(40%);
  pointer-events: none;
}
.riot-home-hero-media__poster,
.riot-home-hero-media__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.riot-home-hero-media__poster { opacity: 1; }
.riot-home-hero-media__video { opacity: 0 !important; }
.riot-home-hero-media[data-video-visible="true"] .riot-home-hero-media__video { opacity: 1 !important; }
.riot-home-hero-media[data-video-visible="true"] .riot-home-hero-media__poster { opacity: 0; }
.riot-home-hero-video-toggle {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: .4rem;
  background: rgb(39 35 92 / 75%);
  color: #fff;
  font: inherit;
  font-size: .75rem;
  line-height: 1.2;
  cursor: pointer;
}
.riot-home-hero-video-toggle:focus-visible { outline: 3px solid var(--riot-cta, #FA5F1A); outline-offset: 4px; }
.riot-home-hero-video-toggle[hidden] { display: none; }

/* Icon-only repair: retain native paint, placement, hidden states, and keyboard focus. */
[data-section-id="6a0616f912e1375228ef8c14"] .riot-home-hero-video-toggle[data-video-action] {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  touch-action: manipulation;
}
[data-section-id="6a0616f912e1375228ef8c14"] .riot-home-hero-video-toggle[data-video-action] > svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  pointer-events: none;
}
