.wp-block-custom-plyr-video {

  position: relative;

  aspect-ratio: 16/9;

}



.wp-block-custom-plyr-video img {

  width: 100%;

  height: auto;

  position: relative;

  z-index: 4;

  aspect-ratio: 16/9;

  object-fit: cover;

  display: block;

}



.wp-block-custom-plyr-video:not(.loaded):after {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-color: rgba(0, 0, 0, 0.35);

  z-index: 5;

  content: "";

  display: block;

}



.wp-block-custom-plyr-video button {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  display: flex;

  align-items: center;

}



.wp-block-custom-plyr-video button svg {

  width: 1rem;

  height: 1rem;

}



.wp-block-custom-plyr-video button.plyr-video-play {

  color: var(--wp--preset--color--custom-black) !important;

  background-color: var(--wp--preset--color--custom-yellow) !important;

  padding-top: 0.9rem;

  padding-right: 1.8rem;

  padding-bottom: 0.9rem;

  padding-left: 1.8rem;

  font-style: normal;

  font-weight: 500;

  font-family: var(--fontp);

  gap: 1rem;

  border-radius: 99rem;

  appearance: none;

  -webkit-appearance: none;

  border: none;

  font-size: 1.25rem;

  transition: all 0.25s;

  transform: scale(1) translate(-50%, -50%);

  z-index: 6;

  transform-origin: center;

}



.wp-block-custom-plyr-video button.plyr-video-play:hover {

  cursor: pointer;

  transform: scale(1.05) translate(-50%, -50%);

}



:root,

div.plyr-video-play {

  --plyr-color-main: #a7b2c9;
  --plyr-badge-text-color: #000;
  --plyr-badge-background: #a7b2c9;
}