:root {
  --play-icon-background-color: var(--primary-color, #000);
  --play-icon-color: #fff;
  --video-banner-border-radius: 12px;
  --vid-banner-transition: 600ms var(--ease-out-expo);
}

.video-banner-wrapper {
  position: relative;
  display: block;
  margin: 0 auto;

  & .added-glow {
    --polyg: -20% -80%, 120% -80%, 120% 100%, -20% 100%;

    position: absolute;
    display: block;
    pointer-events: none;
    background: rgba(63, 59, 209, 1);
    box-shadow: 0 -15px 136.6px 0 rgba(63, 59, 209, 1);
    left: 0;
    right: 0;
    top: 0;
    bottom: 42%;
    z-index: 1;
    -webkit-clip-path: polygon(var(--polyg));
    clip-path: polygon(var(--polyg));
    border-radius: var(--video-banner-border-radius);
    overflow: clip;

    @media (max-width: 1200px) {
      & {
        bottom: 45%;
      }
    }

    @media (max-width: 1024px) {
      & {
        display: none !important;
      }
    }
  }
}

.video-embed {
  position: relative;
  display: block;
  padding-bottom: 46.25% !important;
  padding-top: 30px !important;
  height: 0;
  margin: 0;
  background: #000;
  border-radius: var(--video-banner-border-radius);
  overflow: hidden;
  z-index: 10;
  transition: all var(--vid-banner-transition);
  /*box-shadow: 0px 0.9px 1.1px -2px rgba(0, 0, 0, 0.07),
              0px 2.5px 3.1px -2px rgba(0, 0, 0, 0.1),
              0px 6px 7.5px -2px rgba(0, 0, 0, 0.13),
              0px 20px 25px -2px rgba(0, 0, 0, 0.2);*/
/*  box-shadow: 0 -15px 136.6px 0 rgba(63, 59, 209, 0.75);*/
}

.video-embed:hover,
.video-embed:active,
.video-embed:focus {
  /*box-shadow: 0px 1.4px 1.8px -2px rgba(0, 0, 0, 0.07),
              0px 3.8px 5px -2px rgba(0, 0, 0, 0.1),
              0px 9px 12.1px -2px rgba(0, 0, 0, 0.13),
              0px 30px 40px -2px rgba(0, 0, 0, 0.2);*/
/*  box-shadow: 0 -15px 136.6px 0 rgba(63, 59, 209, 0.75);*/
}

@media (max-width: 1024px) {
  .video-embed {
    padding-bottom: 56.25% !important;
  }
}

@media (max-width: 600px) {
  .video-embed {
    padding-bottom: 66.25% !important;
  }
}

.video-embed iframe,
.video-embed video,
.video-embed img.video-background-image-standin {
  position: absolute;
  display: block;
  z-index: 1;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 10;
  overflow: hidden;
  object-fit: cover;
  object-position: center center;
}

.video-embed:before {
  position: absolute;
  content: '';
  z-index: 11;
  left: 0;
  right: 0;
  top: 0;
  height: 100px;
  pointer-events: none;
  background: transparent;
  transition: all var(--vid-banner-transition);
  opacity: 0.6;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.video-embed:hover:before,
.video-embed:active:before,
.video-embed:focus:before {
  opacity: 0.9;
}

.video-embed .video-banner-background-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--video-banner-border-radius);
  overflow: hidden;
}

.video-embed .play-icon-holder {
  position: absolute;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  left: 20px;
  top: 20px;
  right: auto;
  z-index: 100;
  color: #fff;
  width: 40%;
}

.video-embed .play-icon-holder .video-title-holder {
  position: relative;
  padding: 0 0 0 15px;
  color: inherit;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  transition: all var(--vid-banner-transition);
  width: calc(100% - 46px);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  /*overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;*/
}
@media (max-width: 767px) {
  .video-embed .play-icon-holder .video-title-holder {
    font-size: 1.2rem;
  }
}

.video-embed:hover .play-icon-holder .video-title-holder,
.video-embed:active .play-icon-holder .video-title-holder,
.video-embed:focus .play-icon-holder .video-title-holder {
  padding-left: 21px;
}

.video-embed .play-icon-holder .play-icn {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  /*backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);*/
/*  background: color-mix(in srgb, var(--play-icon-background-color) 40%, transparent);*/
  background: var(--play-icon-background-color);
  color: var(--play-icon-color);
  text-align: center;
  padding: 13px 13px;
  transition: all var(--vid-banner-transition);
  transform: scale(1);
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
}

.video-embed:hover .play-icon-holder .play-icn,
.video-embed:active .play-icon-holder .play-icn,
.video-embed:focus .play-icon-holder .play-icn {
  transform: scale(1.16);
/*  background: color-mix(in srgb, var(--play-icon-background-color) 20%, transparent);*/
  background: var(--play-icon-background-color);
}

.video-embed .play-icon-holder .play-icn:before {
  position: absolute;
  content: '';
  left: 4px;
  right: 4px;
  top: 4px;
  bottom: 4px;
  z-index: 10;
  border-radius: 50%;
  background: var(--play-icon-background-color);
  transition: all var(--vid-banner-transition);
}

.video-embed:hover .play-icon-holder .play-icn:before,
.video-embed:active .play-icon-holder .play-icn:before,
.video-embed:focus .play-icon-holder .play-icn:before {
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
}

.video-embed .play-icon-holder .play-icn .material-icons {
  position: relative;
  z-index: 20;
  text-align: center;
  color: inherit;
  font-size: 21px;
}

@media (max-width: 1024px) {
  .video-embed .play-icon-holder {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .video-embed .play-icon-holder {
    width: auto;
    right: 30px;
  }
}

.full-width-banner {
  & .video-embed {
    border-radius: 0 !important;
    box-shadow: none !important;

    & .play-icon-holder {
      width: auto !important;
      right: 20px !important;
      padding-bottom: 20px;

      &:after {
        position: absolute;
        pointer-events: none;
        display: block;
        content: '';
        left: 0;
        right: 0;
        height: 1px;
        bottom: 0;
        z-index: 1;
        background: rgba(255, 255, 255, 0.25);
      }
    }
  }
}

.portrait {
  & > .fl-module-content {
    height: 100%;

    & > .video-banner-wrapper {
      height: 100%;
    }
  }

  & .video-embed {
    min-height: 100%;

    & .play-icon-holder {
      width: auto !important;
      right: 20px !important;
      padding-bottom: 20px;
    }
  }
}
