.aaa-video-embed {
  padding: 8px 0 16px;
  position: relative;
  margin: 40px 0;
}

.aaa-video-embed.dark-background {
  background-color: #f2f2f2;
}

.aaa-video-embed .video-heading {
  margin: 0 0 40px;
  text-align: center;
  font-weight: 600;
}

.aaa-video-embed > .container {
  position: relative;
  z-index: 1;
}

.aaa-video-embed .video-shell {
  position: relative;
}

.aaa-video-embed .corner{
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(45deg, #D92D27 0%, #7a4aa3 50%, #526D8B 100%);
}
.aaa-video-embed .corner-tl {
  top: -12px;
  left: -12px;
}
.aaa-video-embed .corner-br {
  right: -12px;
  bottom: -12px;
}

.aaa-video-embed .ratio-box{
  position: relative;
  width: 100%;
  background: #dcdcdc;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}


.aaa-video-embed .ratio-box:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.aaa-video-embed .ratio-box.is-21x9:before {
  padding-top: 42.857%;
}
.aaa-video-embed .ratio-box.is-16x9:before {
  padding-top: 56.25%;
}
.aaa-video-embed .ratio-box.is-4x3:before {
  padding-top: 75%;
}
.aaa-video-embed .ratio-box.is-1x1:before {
  padding-top: 100%;
}


.aaa-video-embed .video-content,
.aaa-video-embed .video-content > *{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.aaa-video-embed .video-content iframe,
.aaa-video-embed .video-content video {
  width: 100%;
  height: 100%;
  display: block;
}


.aaa-video-embed .play-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.aaa-video-embed .play-overlay:before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background:#d1322b;
  display: block;
}
.aaa-video-embed .triangle {
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}


.aaa-video-embed .video-caption {
  margin: 10px auto 0;
  max-width: 60ch;
  text-align: center;
  color:#6c7782;
}
.aaa-video-embed .video-transcript {
  margin-top: 12px;
}


@media (max-width: 991px) {
  .aaa-video-embed .corner {
    display: none;
  }

  .aaa-video-embed:before,
  .aaa-video-embed:after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 10px;
    z-index: 0;
    pointer-events: none;
  }
  .aaa-video-embed:before {
    top: 0;
    background: linear-gradient(90deg, #d1322b 0%, #526D8B 100%);
  }
  .aaa-video-embed:after {
    bottom: 0;
    background: linear-gradient(90deg, #526D8B 0%, #d1322b 100%);
  }
}
