.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 2rem;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.embed-container .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: white;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
  cursor: default;
  transition: 600ms;
}
.embed-container .video-overlay:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0.3);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5970982143) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}
.embed-container .video-overlay .video-meta {
  max-width: 60%;
}
.embed-container .video-overlay h4 {
  color: white;
  padding: 0;
  margin-bottom: 0.5em;
  font-size: 1.375rem;
}
.embed-container .video-overlay p {
  color: white;
  margin: 0;
  font-weight: 400;
}
.embed-container .video-overlay button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -2rem;
  width: 70px;
  height: 70px;
  background: var(--wp--preset--color--primary);
  border: 0;
  color: white;
  transition: 450ms ease-in-out;
  cursor: pointer;
}
.embed-container .video-overlay button:hover {
  background: var(--wp--preset--color--primary);
}
.embed-container .video-overlay button svg {
  width: 80%;
  height: 80%;
}
.embed-container .video-overlay.play {
  visibility: hidden;
  opacity: 0;
  transition-delay: 450ms;
}
.embed-container .video-overlay.play button {
  transform: translateX(100%);
}
@media (max-width: 782px) {
  .embed-container .video-overlay {
    padding: 1rem;
  }
  .embed-container .video-overlay .play-video {
    width: 40px;
    height: 40px;
    margin-right: -1rem;
  }
  .embed-container .video-overlay .video-meta {
    max-width: 80%;
  }
  .embed-container .video-overlay .video-meta h6 {
    display: none;
  }
}
