/*------------------------------------
  BG Hero
------------------------------------*/

.bg-hero {
  background: {
    size: cover;
    position: center;
  }
  overflow: hidden;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  & > * {
    position: relative;
    z-index: 1;
  }

  &-dark::before {
    background-color: rgba($black, .6);
  }
}