.wp-component-video-embed {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--radius-image);
  display: flex;
  justify-content: center;
  max-width: var(--component-video-max-width);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.wp-component-video-embed__iframe,
.wp-component-video-embed__video {
  aspect-ratio: var(--component-video-aspect-ratio, 16/9);
  width: 100%;
}

.wp-component-video-embed__play-button {
  align-items: center;
  background: var(--component-video-play-icon-background);
  border-radius: 50%;
  display: flex;
  font-size: 0;
  height: 92px;
  justify-content: center;
  position: absolute;
  width: 92px;
}

.wp-component-video-embed__play-button::before {
  content: "";
  display: block;
  position: relative;
  border-color: transparent transparent transparent var(--component-video-play-icon-colour);
  border-style: solid;
  border-width: 16px 0 16px 30px;
  height: 0;
  margin-left: 4px;
  width: 0;
}

.wp-component-video-embed--ratio--1-1 {
  --component-video-aspect-ratio: 1 / 1;
}

.wp-component-video-embed--ratio--9-16 {
  --component-video-aspect-ratio: 9 / 16;
}
