.module--header-image-text {
  display: flex;
  position: relative;
}

.module--header-image-text .module__container {
  position: static;
}

.header-image-text {
  display: flex;
  flex-flow: column;
  /* gap: 4rem; */
  height: 100%;
}

.header-image-text__vertical-center {
  align-items: center;
}

.header-image-text__vertical-bottom {
  align-items: flex-end;
}

.header-image-text__content {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  justify-content: center;
  gap: 1rem;
  /* padding-left: 0; */
  width: 100%;
  padding: 5rem 0;
}

.header-image-text__image {
  position: relative;
  display: flex;
  width: calc(100% + var(--module-padding-right) + var(--module-padding-left));
  margin: 0 -15px;
  margin-bottom: calc(-1 * var(--module-padding-bottom));
}

.header-image-text__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  {# opacity: .5; #}
}

.header-image-text__mesh {
  --header-image-text-mesh-padding: 5px;
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: calc(100% - calc(2 * var(--header-image-text-mesh-padding)));
  height: calc(100% - calc(2 * var(--header-image-text-mesh-padding)));
  max-width: 800px;
  max-height: 800px;
  opacity: 0.6;
  background-image: var(--mesh);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translate(-50%, 50%);
}

.header-image-text__text {
  display: flex;
  flex-direction: column;
  gap: inherit;
}


.cta-group__cta-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-image-text__cta {
  margin: 1rem 0;
}

.cta-group__cta--icon-left .cta-group__cta-link {
  flex-direction: row-reverse;
}

.header-image-text__cta-icon {
  height: 24px;
  width: 24px;
  mask: var(--arrow-right) center center / contain no-repeat;
  -webkit-mask: var(--arrow-right) center center / contain no-repeat;
  color: inherit;
  background-color: currentColor;
  transition: background-color 0.3s ease-in-out;
}


@media (min-width: 600px) {
  .header-image-text__content {
    gap: 1.5rem;
    padding-left: 0;
  }
  .header-image-text__mesh {
    --header-image-text-mesh-padding: 15px;
  }
}

@media (min-width: 900px) {
  .module--header-image-text {
    min-height: calc(100vh - var(--header-height));
    flex-direction: row;
    align-items: stretch;
  }
  .header-image-text {
    height: 100%;
    flex-flow: row;
  }
  .header-image-text--reverse {
    flex-flow: row-reverse;
  }
  .header-image-text__content {
    width: 65%;
    padding-left: 6rem;
    padding-right: 4rem;
    gap: 2rem;
    flex: initial;
  }
  .header-image-text__text--indentation {
    padding-left: 8rem;
  }
  .header-image-text__image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 35%;
    margin: initial;
  }
  .header-image-text--reverse .header-image-text__image {
    left: 0;
    right: initial;
  }
  .header-image-text__mesh {
    --header-image-text-mesh-padding: 5px;
  }
}

@media (min-width: 1200px) {
  .header-image-text__image {
    width: 50%;
  }
  .header-image-text__content {
    width: 50%;
    padding-left: 8rem;
    gap: 2.5rem;
  }
  .header-image-text__text--indentation {
    padding-left: 12rem;
  }
  .header-image-text__mesh {
    --header-image-text-mesh-padding: 30px;
  }
}