/**
 * Click-to-play YouTube video: a thumbnail and a play button stand in for the
 * player until the visitor clicks. Site-owned.
 * License: MIT
 *
 * The button fills the Elementor video wrapper, which keeps the 16:9 box.
 */
.elementor-wrapper .yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.elementor-wrapper .yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.elementor-wrapper .yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: rgba(33, 33, 33, 0.8);
  transition: background-color 0.2s;
}

.elementor-wrapper .yt-facade__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.elementor-wrapper .yt-facade:hover .yt-facade__play,
.elementor-wrapper .yt-facade:focus-visible .yt-facade__play {
  background: #f00;
}

.elementor-wrapper .yt-facade:focus-visible {
  outline: 3px solid #f2a341;
  outline-offset: -3px;
}
