.home-hero {
  width: 97.5%;
  margin: 0 auto;
}

@media screen and (min-width: 786px) {
  .home-hero {
    width: 100%;
  }
}

.home-hero__wrap {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

@media screen and (min-width: 786px) {
  .home-hero__wrap {
    grid-template-columns: repeat(12, 1fr);
  }
}

.home-hero__image-wrap {
  position: relative;
  grid-row: 2;
  margin-top: -60px;
}

@media screen and (min-width: 786px) {
  .home-hero__image-wrap {
    grid-column: 1 / span 8;
    grid-row: 1;
    margin-top: 0;
  }
}

.home-hero__image-wrap::before {
  content: '';
  position: absolute;
  z-index: 10;
}

@media screen and (min-width: 786px) {
  .home-hero__image-wrap::before {
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }
}

.home-hero__text-wrap {
  position: relative;
  display: flex;
  grid-gap: 10px;
  align-items: flex-end;
  padding: 0 10px;
  z-index: 20;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 100%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
}

@media screen and (min-width: 786px) {
  .home-hero__text-wrap {
    grid-column: 4 / -1;
    grid-row: 1;
    align-self: center;
    padding: 40px 40px 40px 0;
  }
}

@media screen and (min-width: 900px) {
  .home-hero__text-wrap {
    grid-column: 5 / -1;
  }
}

@media screen and (min-width: 1115px) {
  .home-hero__text-wrap {
    grid-column: 6 / -1;
  }
}

@media screen and (min-width: 1200px) {
  .home-hero__text-wrap {
    grid-column: 7 / -1;
  }
}

@media screen and (min-width: 1410px) {
  .home-hero__text-wrap {
    grid-column: 8 / -1;
  }
}

.home-hero__text-wrap h1 {
  margin: 0;
}

.home-hero__text-wrap p,
.home-hero__text-wrap .h3 {
  flex-grow: 1;
  min-width: 50%;
  align-self: flex-end;
  color: var(--ltf-color-secondary);
  display: grid;
  grid-template-columns: 1fr;
}

.home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

@media screen and (min-width: 786px) {
  .home-hero__image {
    height: 100%;
    width: 100%;
    aspect-ratio: unset;
  }
}

.home-hero__image-panel {
  position: absolute;
  z-index: 15;
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  background: var(--ltf-color-primary);
}

@media screen and (min-width: 786px) {
  .home-hero__image-panel {
    width: 0;
    height: 100%;
  }
}
