/*!***************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./app/public/wp-content/themes/webimpact/components/hero/src/hero.scss ***!
  \***************************************************************************************************************************************************************/
.hero {
  overflow: hidden;
  position: relative;
  color: #fff;
  /* Verwijder vaste padding zodat hoogte door afbeelding bepaald wordt */
  padding-bottom: 0;
}
.hero__inner {
  max-width: var(--container-m);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.hero__inner > * {
  max-width: 50%;
}
@media (max-width: 767px) {
  .hero__inner > * {
    max-width: 100%;
  }
}
.hero__content {
  font-size: 2rem;
  margin-top: 2rem;
  max-width: 40%;
}
@media (max-width: 767px) {
  .hero__content {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .hero__buttons {
    justify-content: flex-start;
  }
}
.hero__image {
  position: relative;
  width: 100%;
  z-index: 0;
  margin: 0;
}
.hero__image img {
  display: block;
  width: 100%;
  height: auto;
  transition: background-image 0.3s;
}
@media (max-width: 767px) {
  .hero__image img[data-src-mobile] {
    content: "";
    background-image: attr(data-src-mobile url);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 60vw;
    min-height: 200px;
    display: block;
    object-fit: cover;
  }
  .hero__image img[data-src-mobile] {
    /* Verberg de <img> zelf, alleen bg tonen */
    opacity: 0;
  }
  .hero__image {
    background-size: cover;
    background-position: center;
  }
  .hero--with-image[data-image-mobile] .hero__image {
    background-image: attr(data-image-mobile url);
  }
}
.hero {
  /* Hero-section krijgt hoogte van afbeelding */
}
.hero.hero--with-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.hero.hero--with-image > .hero__image {
  order: 1;
}
.hero.hero--with-image > .hero__inner {
  order: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 1;
  padding-inline: 2rem;
  padding-block: 5rem;
}
@media screen and (max-width: 767px) {
  .hero.hero--with-image > .hero__inner {
    justify-content: flex-end;
  }
}
@media screen and (min-width: 768px) {
  .hero.hero--with-image > .hero__inner {
    left: 10rem;
  }
}
