/* Video met poster en afspeelknop (origineel: .video-player.bg-lazy). */
.video-player {
  position: relative;
  align-self: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background-image: var(--poster);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (min-width: 64rem) { .video-player { background-image: var(--poster-wide, var(--poster)); } }
.video-player > iframe { position: absolute; top: 0; left: 0; z-index: 10; width: 100%; height: 100%; }
.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  color: var(--color-pink);
  filter: drop-shadow(0 4px 4px #00000026);
  cursor: pointer;
  transition: all 0.15s var(--ease-default);
}
@media (min-width: 64rem) { .video-player__play { width: 6rem; height: 6rem; } }
@media (hover: hover) { .video-player__play:hover { color: var(--color-primary); } }
.video-player__play svg { width: 100%; height: 100%; }
.video-player__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(#0003 0% 100%); }
.video-player--fill { height: 100%; aspect-ratio: auto; }
.video-player__play--inherit { color: inherit; }
