.video-embed {
  overflow: hidden;
}

.video-embed__poster,
.video-embed__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-embed__poster {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-embed.is-playing .video-embed__poster {
  display: none !important;
}

.video-embed__poster[hidden] {
  display: none !important;
}

.video-embed__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed__play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.video-embed__play svg {
  display: block;
  width: 100%;
  height: 100%;
}

.video-embed__play circle {
  fill: rgba(0, 0, 0, 0.7);
  stroke: #fff;
  stroke-width: 2;
}

.video-embed__play path {
  fill: #fff;
}

.video-embed__player[hidden] {
  display: none;
}

.video-embed__player iframe {
  width: 100%;
  height: 100%;
}
