.banner-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.banner-hero .banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.background-sm {
  display: none;

  @media (max-width: 768px) {
    display: block;
  }
}

.background-xl {
  @media (max-width: 768px) {
    display: none;
  }
}

.banner-hero .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0.2%, rgba(0, 0, 0, 0.38) 54.83%, rgba(0, 0, 0, 0.00) 98.68%);
}

.banner-hero .wp-block-hero {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  height: 100%;

  @media (max-width: 768px) {
    align-items: end;
    padding-bottom: 120px;
  }
}

.banner-hero .banner-content {
  color: white;
  padding: 0 16px;
}

.banner-hero .pretitle {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 8px;

  @media (max-width: 768px) {
    font-size: 17px;
  }
}

.banner-hero .title {
  font-size: clamp(38px, 5vw, 100px);
  line-height: 1;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: left;

  @media (max-width: 768px) {
    margin-bottom: 16px;
  }
}

.banner-hero .text {
  font-size: 25px;
  margin-bottom: 0;
  margin-top: 0;

  @media (max-width: 768px) {
    font-size: 17px;
  }
}

.banner-hero .col-md-9,
.banner-hero .offset-md-1 {
  padding-left: 16px;
  padding-right: 16px;
}

.banner-hero .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}

@media (min-width: 768px) {
  .banner-hero .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .banner-hero .offset-md-1 {
    margin-left: 8.3333%;
  }
}
