.homepage_header_module {
  margin: 0 auto;
  padding: 0 0 13rem;
  position: relative;
  overflow: visible;
  background: transparent;
}

.homepage_header_module .wrap{
  max-width: var(--ib-container);
  margin: 0 auto;
  position: relative;
}

.homepage_header_module .wrap::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: 1rem;
  width: 50rem;
  height: 50rem;
  background: #fb614a;
  -webkit-mask-image: url(/wp-content/uploads/2026/03/mask_squared.png);
  mask-image: url(/wp-content/uploads/2026/03/mask_squared.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 0;
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
}

.homepage_header_module__image {
  position: relative;
  z-index: 1;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}

.homepage_header_module__image img {
  display: block;
  width: 100%;
  height: clamp(28rem, 42vw, 38rem);
  object-fit: cover;
  object-position: right;
}

.homepage_header_module__inner {
  position: absolute;
  left: clamp(2rem, 4vw, 4rem);
  top: 12rem;
  z-index: 2;
  width: min(54rem, calc(100% - 2rem));
  max-width: 100%;
  min-height: 40rem;
  padding: 4rem 5rem 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(/wp-content/uploads/2026/04/Asset-13.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}

.homepage_header_module__eyebrow {
  margin-bottom: 1rem;
}

.homepage_header_module__heading {
  max-width: 36rem;
  margin-left: 4rem;
}

.homepage_header_module__heading,
.homepage_header_module__heading * {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  min-width: 100%;
}

.homepage_header_module__subheading {
  max-width: 34rem;
  margin: 0 0 2rem 3rem;
  color: #fff;
}

.homepage_header_module__subheading p {
  margin: 0;
}

.homepage_header_module__button {
  align-self: flex-end;
  margin-right: 10rem;
  margin-top: 0.5rem;
  background: var(--ib-secondary);
  color: var(--ib-text);
  padding: 12px 3em;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1.2;
  transition: all .2s linear;
}

.homepage_header_module__button:hover{
  background: #FB614A;
}

@media (max-width: 1200px) {
  .homepage_header_module__inner {
    width: min(62rem, 85%);
    padding: 4rem 4rem 6rem;
  }

  .homepage_header_module__button {
    margin-left: 14rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .homepage_header_module__inner {
    min-height: 32rem;
    padding: 3rem 3rem 5rem;
  }

  .homepage_header_module__heading,
  .homepage_header_module__heading * {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .homepage_header_module {
    margin-bottom: 0;
    padding-bottom: 8rem;
  }

  .homepage_header_module::before {
    width: 20rem;
    height: 20rem;
    top: auto;
    bottom: -2rem;
    right: -1rem;
  }

  .homepage_header_module__image img {
    height: 22rem;
  }

  .homepage_header_module__inner {
    /*position: relative;*/
    left: 1%;
    bottom: auto;
    width: 98%;
    max-width: 100%;
    min-height: 0;
    height: 35vh;
    margin: 0 auto;
    padding: 0 3rem 3rem;
    background-size: contain;
    height: 70vh !important;
  }

  .homepage_header_module__heading {
    margin-left: 0;
    max-width: none;;
  }

  .homepage_header_module__heading *{
    font-size: 1.5rem;
    text-align: center;
    max-width: 98%;
    min-width: auto;
    margin: 0 auto;
  }

  .homepage_header_module__subheading {
    margin-left: 0;
    max-width: none;
  }

  .homepage_header_module__button {
    margin:0 auto;
    align-self: flex-start;
  }
  .homepage_header_module .wrap::before{
    width: 100vw;
    height: 28rem;
    right: 0rem;
    top: 4rem;
    /*transform: scaleX(-1) !important;*/
  }
}

@media (max-width: 1000px) {
  .homepage_header_module__inner {
    height: 85vh;
    top: 15%;
  }
  .homepage_header_module__inner * {
    max-width: 50vw;
  }
}