/**
 * @file
 * Homepage Hero styles
 * Use in templates\paragraph\paragraph--homepage-hero.html.twig
 */

.homepage-hero {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
.homepage-hero__wrapper {
  color: var(--color-neutral);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90%;
  align-items: start;
  display: flex;
  z-index: 4;
}
.homepage-hero__content {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 60px;
  padding-left: 24px;
  padding-right: 24px;
}
.homepage-hero__content h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 100%;
}
.homepage-hero__content h2 {
  font-weight: 800;
  font-size: 20px;
  line-height: 100%;
}
.homepage-hero__content p {
  margin-top: 1rem;
  line-height: 150%;
  font-size: 16px;
}
.homepage-hero__image {
  position: relative;
  overflow: hidden;
  display: none;
}
.homepage-hero__image img {
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.homepage-hero__image::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.315);
}
.homepage-hero__text *{
  margin: 0;
  color: var(--color-primary--dark);
}
.homepage-hero .cta {
  padding: 9px 16px;
}
@media all and (min-width: 425px){
  .homepage-hero__image {
    display: block;
  }
  .homepage-hero__image img {
    max-height: 500px;
    object-fit: cover;
  }
  .homepage-hero__image-mobile {
    display: none;
  }
  .homepage-hero__content {
    padding: 0;
  }
  .homepage-hero__wrapper {
    align-items: center;
  }
}
@media screen and (min-width: 1000px) {
  .homepage-hero__wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90%;
    display: flex;
  }
  .homepage-hero .cta {
    padding: 1rem 2rem;
  }
  .homepage-hero__content {
    gap: 2rem;
  }
  .homepage-hero__content h1 {
    font-size: 90px;
  }
  .homepage-hero__content h2 {
    font-size: 40px;
  }
  .homepage-hero__content p {
    font-size: 24px;
  }
  .homepage-hero__image {
    border-bottom-left-radius: unset;
  }
  .homepage-hero__image::before {
    content: none;
  }
  .homepage-hero__image img {
    max-height: unset;
    object-fit: unset;
  }
}
@media screen and (min-width: 1400px) {
  .homepage-hero__image img {
    margin-left: auto;
  }
}
