.featured-video {
  display: flex;

  .featured-video-container {
    position: relative;
    width: 100%;

    .video-thumbnail {
      position: relative;
      flex: 1;
      width: 100%;
      display: flex;
      align-items: end;
      padding: 60px 20px 20px;;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 440px;

      @media (--tablet) {
        padding: 60px 160px;
      }

      img {
        width: 100%;
        height: auto;
      }

      .video-gradient {
        background-color: var(--color-black);
        opacity: 0.5;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex: 1;
      }
    }

    .video-fields {
      color: var(--color-white);
      z-index: 1;
      display: inline;
      max-width: 740px;

      p {
        color: var(--color-white);
        font-size: 1.8rem;
        font-weight: 700;
      }

      .secondary-button {
        color: var(--color-white);
        border-color: var(--color-white);

        &::after {
          content: '';
          background-image: url('../../dist/assets/images/play-circle.svg');
          width: 2.4rem;
          height: 2.4rem;
          margin-left: 10px;
        }

        &:hover {
          margin-left: -1px;
          margin-right: -1px;
        }
      }
    }
  }

}

.featured-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0 0 0 / 40%) ;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  display: none;

  &.open {
    display: flex;
  }

  .featured-video-embed {
    width: 80%;
    height: 50%;
    position: relative;

    @media (--tablet) {
      height: 60%;
    }

    .close-container {
      position: absolute;
      top: -50px;
      right: -15px;
      padding: 15px;
    }
  }
}

