/* Keep the media control independent of the hero's content-width rules. */
.wp-block-cover.rx-home-hero > .rx-hero-video-toggle {
  position: absolute;
  z-index: 3;
  inset: auto var(--wp--preset--spacing--page-gutter, 1.25rem) 1rem auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  cursor: pointer;
}
.wp-block-cover.rx-home-hero > .rx-hero-video-toggle:hover { background: rgba(0, 0, 0, .75); border-color: #fff; }
.wp-block-cover.rx-home-hero > .rx-hero-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rx-hero-video-toggle svg { display: block; width: 1.25rem; height: 1.25rem; pointer-events: none; }
.rx-hero-video-toggle[data-paused="true"] .rx-hero-video-toggle__pause,
.rx-hero-video-toggle[data-paused="false"] .rx-hero-video-toggle__play,
.wp-block-cover.rx-home-hero > .rx-hero-video-toggle[hidden] { display: none; }
