.video-embed {
  position: relative;
  .circle.blue {
    position: absolute;
    right: 0;
    top: 0;
  }
  .container {
    padding-left: 85px;
  }
  .video-block-trigger {
    position: relative;
    min-height: 387px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    overflow: hidden;
    transition: var(--transition);
    &:not(.has-image) {
      background: linear-gradient(135deg, #2d3079 0%, #415aa8 50%, #6acce8 100%);
    }
    &:hover {
      transform: scale(1.02);
      .play-icon-wrapper {
        transform: scale(1.1);
      }
    }
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.48;
      background-color: var(--ccs-color-dark-blue);
      mix-blend-mode: multiply;
    }
    .play-icon-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      transition: var(--transition);
    }
  }
}

/* Lightbox Styles */
.video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  .lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: var(--ccs-color-light-grey);
    cursor: pointer;
  }
  .lightbox-content {
    width: 70%;
    border-radius: 26px;
    overflow: hidden;
    @media (max-width: 650px) {
      width: 90%;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: white;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
      z-index: 10001;
      line-height: 1;
      padding: 0;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      &:hover {
        opacity: 0.7;
      }
    }
  }
}

/* Responsive embed container */
.video-lightbox .embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.video-lightbox .embed-container iframe,
.video-lightbox .embed-container object,
.video-lightbox .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1080px) {
  .video-embed {
    & .container {
      padding-left: 0;
    }
  }
}
