.hero-slide {
  height: 600px;
  overflow: hidden;
  position: relative;

  .hero-bground {
    &::before {
      content: '';
      position: absolute;
      background: rgba(0, 0, 0, 0.3);
      border-radius: 5px;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 1;
    }
  }

  video {
    position: absolute;
    top: -50px;
    left: 0;
  }
}

.hero-caption-wrapper {
  position: relative;
  height: 100%;
}

.hero-caption {
  z-index: 2;
  width: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  background: var(--site-tertiary);
  padding: 2rem;
  border-radius: 10px;

  @media screen and (max-width: 767px) {
    width: 100%;
    top: unset;
    transform: none;
    left: 0;
    bottom: 0;
    border-radius: 0;
  }

  &__text {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--site-white);
    p {
      color: var(--site-white);
      margin: 0;
    }
  }
}
