.hero-page-builder {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--color-neutral--light);
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero-page-builder__media {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
}
.hero-page-builder__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-page-builder__media::after {
  content: none;
}
.hero-page-builder__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 2rem 1.5rem 3rem;
}
.hero-page-builder__title {
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
}
.hero-page-builder__text {
  font-size: 0.95rem;
  line-height: 1.6;
}
.hero-page-builder__text p {
  margin: 0 0 0.75rem;
  font-size: var(--text-size-l);
}
.hero-page-builder__text p:last-child {
  margin-bottom: 0;
}
.hero-page-builder__text strong {
  font-weight: 700;
}
@media all and (min-width: 750px) {
  .hero-page-builder__content {
    padding: 3rem 2.5rem 4rem;
  }
}
@media all and (min-width: 1000px) {
  .hero-page-builder {
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 420px;
    gap: 2rem;
  }
  .hero-page-builder__media {
    flex: 0 0 45%;
    width: 45%;
  }
  .hero-page-builder__media::after {
    content: "";
    position: absolute;
    top: 82%;
    left: -4%;
    width: 18%;
    aspect-ratio: 1 / 2.98;
    transform: translateY(-50%);
    background: url(../../images/page-builder/shape.svg) no-repeat center / contain;
    pointer-events: none;
    z-index: 3;
  }
  .hero-page-builder__content {
    flex: 0 0 55%;
    width: 55%;
    justify-content: center;
    max-width: 780px;
    padding: 4rem 2rem 4rem 3rem;
  }
  .hero-page-builder__text {
    font-size: 1rem;
  }
  .hero-page-builder__media img {
    border-radius: 300px 0 0 0;
  }
}
@media all and (min-width: 1200px) {
  .hero-page-builder {
    min-height: 450px;
  }
  .hero-page-builder__content {
    padding: 5rem 3rem 5rem 3rem;
  }
}
@media all and (min-width: 1440px) {
  .hero-page-builder__media::after {
    top: 67%;

  }
}

@media all and (min-width: 1550px) {
  .hero-page-builder__content {
    padding: 5rem 3rem 5rem 0rem;
  }
}

@media all and (min-width: 1700px) {
  .hero-page-builder {
    min-height: 520px;
  }
}

@media all and (min-width: 1850px) {
  .hero-page-builder {
    min-height: 570px;
  }
}