.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 404px;
  overflow: hidden;
  border-radius: 0;
  clip-path: ellipse(190% 851px at 50% calc(100% - 851px));
}

.page-hero__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-hero__image--desktop {
  display: block;
}

.page-hero__image--mobile {
  display: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 400px;
  /* padding-top: 40px;
  padding-bottom: 72px; */
  padding: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  max-width: 490px;
  margin-bottom: 30px;
  color: var(--nsai-blue);
  font-family: "freight-big-pro", Georgia, serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1:last-child {
  margin-bottom: 0;
}

.page-hero h1 span:not(.apostrophe) {
  color: var(--nsai-green);
}

.page-hero p {
  max-width: 430px;
  color: #333333;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 30px;
  &:last-child {
    margin-bottom: 0;
  }
}

.page-hero .page-hero__intro {
  max-width: 475px;
  margin-bottom: 22px;
  color: var(--nsai-blue);
  font-size: 21px;
  font-weight: bold;
  line-height: 1.25;
}


@media (max-width: 1100px) and (min-width: 769px) {
  .page-hero__image {
    /* background-position: center right; */
    /* background-size: 80%; */
  }

  .page-hero {
    background: #FAE7D7;
  }

  .page-hero p {
    max-width: 50% !important;
  }
}

@media (max-width: 768px)  and (min-width: 620px) {
  .page-hero p {
    max-width: 50% !important;
  }
}

@media (max-width: 768px) {
  .page-hero {
    background: #FAE7D7;
    min-height: 286px;
    border-radius: 0;
    clip-path: ellipse(190% 851px at 50% calc(100% - 851px));
  }

  .page-hero p {
    &:last-child {
      margin-bottom: 30px;
    }
  }

  .page-hero__image {
    opacity: 1;
    background-position: top center;
    background-size: 100% auto;
  }

  .page-hero__image--desktop {
    display: none;
  }

  .page-hero__image--mobile {
    display: block;
  }

  .page-hero__content {
    min-height: 286px;
    padding-top: 40px;
    padding-bottom: 40px;
    justify-content: center;
  }

  .page-hero h1 {
    max-width: 60%;
    margin-bottom: 40px;
    font-size: 44px;
    line-height: 1;
    letter-spacing: 0;
  }

  .page-hero__content > h1:only-child {
    margin-top: auto;
    margin-bottom: auto;
  }

  .page-hero p {
    max-width: none;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 15px;
  }

  .page-hero .page-hero__intro {
    font-size: 19px;
  }
}

@media (min-width: 1440px) {
  .page-hero {
    background: rgb(254, 235, 215);
  }
    .page-hero__image {
      background-size: 1440px !important;
      background-position: top center;
    }
  }

  @media (max-width: 1027px) and (min-width: 769px) {
    .page-hero__image--desktop {
      display: none;
    }
    .page-hero__image--mobile {
      display: block;
      background-position: top right !important;
    }
  }