/* 2026 homepage redesign */

.page-node-51 {
  .page-hero h1 {
    font-weight: 600;
  }
  .page-hero {
    background: #FAE7D7;
  }
  @media (min-width: 769px) {
    .page-hero__content {
      min-height: 736px;
    }
    .page-hero h1 {
      max-width: 620px;
      font-weight: 500;
      margin-bottom: 30px;
    }
    .page-hero .page-hero__intro {
      max-width: 540px;
      font-size: 28px;
      font-style: normal;
      font-weight: 700;
      line-height: 34px;
    }
    .page-hero p {
      max-width: 520px;
    }
  }
  @media (max-width: 1027px) and (min-width: 769px) {
    .page-hero__image--mobile {
      background-size: 87%;
      background-position: top right;
    }
    .page-hero h1 {
      max-width: 500px;
    }
    .page-hero .page-hero__intro,
    .page-hero p {
      max-width: 100% !important;
    }
  }
  @media (max-width: 768px) and (min-width: 708px) {
    .page-hero .page-hero__intro,
    .page-hero p {
      max-width: 50% !important;
    }
  }
  @media (max-width: 768px) and (min-width: 440px) {
    .page-hero .page-hero__intro {
      max-width: 50% !important;
    }
  }
}

.path-frontpage main .container {
  width: min(100% - 30px, 1110px);
  max-width: 1110px;
  margin: 0 auto;
}

.homepage-pathways {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #fff;
}

.homepage-pathways__grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.homepage-pathways__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 214px;
  padding: 30px 20px;
  border-radius: 15px;
  background: var(--nsai-cream);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0;
}

.homepage-pathways__item h2,
.homepage-pathways__item p {
  margin: 0;
}

.homepage-pathways__item .homepage-button {
  margin-top: 15px;
}

.homepage-pathways h2 {
  color: var(--nsai-blue);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: bold;
  line-height: 34px;
  padding-bottom: 5px;
}

.homepage-pathways__item p {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.homepage-button {
   display: inline-flex;
  min-width: 142px;
  min-height: 34px;
  padding: 8px 26px 8px 30px;
  border: 2px solid var(--nsai-blue);
  border-radius: 15px;
  background: var(--nsai-blue);
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.homepage-button::after {
  display: block;
  width: 17px;
  height: 15px;
  background-image: url("../img/right-arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 17px auto;
  content: "";
  flex: 0 0 17px;
}

.homepage-button:hover,
.homepage-button:focus {
  border: 2px solid var(--nsai-coral);
}

.homepage-pathways__feature {
  max-width: 734px;
  min-height: 182px;
  margin: 45px auto 0;
  padding: 30px 40px;
  align-items: center;
  border-radius: 15px;
  background: var(--nsai-blue);
  display: grid;
}

.homepage-pathways__feature h2,
.homepage-pathways__feature p {
  color: #fff;
}

.homepage-pathways__feature p {
  margin: 0;
  font-size: 20px;
}

.homepage-pathways__feature h2 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 5px;
}

.homepage-pathways__feature .homepage-button {
  margin-top: 15px;
}

.homepage-button--light {
  min-width: 166px;
  min-height: 44px;
  border-color: #fff;
  background: #fff;
  color: var(--nsai-blue);
  padding: 8px 26px 8px 30px;
}

.homepage-button--light:hover,
.homepage-button--light:focus {
  border: 2px solid var(--nsai-coral);
}

.homepage-statistic {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: #FEEBD7;
}

.homepage-statistic__image {
  position: absolute;
  inset: 0;
  background-image: url("../img/home/home-section.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1440px;
}

.homepage-statistic__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 400px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.homepage-statistic__text {
  position: relative;
  z-index: 1;
  max-width: 363px;
  padding: 35px 0;
}

.homepage-statistic h2 {
  margin-bottom: 30px;
  color: var(--nsai-blue);
  font-family: "freight-big-pro", Georgia, serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
}

.homepage-statistic h2 span {
  color: var(--nsai-green);
}

.homepage-statistic h2 sup {
  font-family: "freight-big-pro", Arial, Helvetica, sans-serif;
  vertical-align: super;
  font-size: 25px;
  position: relative;
  top: 2px;
}

.homepage-statistic .homepage-button {
  padding: 12px 34px;
}

.homepage-reference {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #fff;
}

.homepage-reference h2 {
  margin-bottom: 4px;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
}

.homepage-reference ol {
  padding-left: 16px;
}

.homepage-reference li,
.homepage-reference a {
  color: #333333;
  font-size: 16px;
  line-height: 1.4;
}

.homepage-reference li::marker {
  font-weight: bold;
}

.homepage-reference a:hover,
.homepage-reference a:focus {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .homepage-pathways {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .homepage-pathways__feature {
    padding-right: 24px;
    padding-left: 24px;
  }

  .homepage-statistic {
    padding-top: 0;
    padding-bottom: 300px;
  }

  .homepage-statistic__image {
    inset: auto 0 0;
    height: 300px;
    background-size: auto 300px;
    background-image: url("../img/home/home-section.jpg");
    background-position: center left 14%;
  }

  .homepage-statistic__content {
    min-height: 0;
  }

  .homepage-statistic__text {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 15px;
  }

  .homepage-reference {
    padding-top: 45px;
    padding-bottom: 45px;
  }

}

.page-node-51 .page-hero h1 {
  font-size: 100px;
  line-height: 100px;
  /* font-weight: 500; */
  letter-spacing: -0.5px;
}
.homepage-pathways__feature .homepage-button { justify-self: start; }
@media (max-width: 900px) {
  .homepage-pathways__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-node-51 .page-hero,
  .page-node-51 .page-hero__content {
    min-height: 716px;
    justify-content: flex-start;
  }
  .page-node-51 .page-hero h1 {
    font-size: 54px;
    line-height: 54px;
    margin-bottom: 15px;
  }
  .page-node-51 .page-hero .page-hero__intro {
    max-width: none;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
  }
  .homepage-pathways__feature { text-align: center; }
  .homepage-pathways__feature .homepage-button { justify-self: center; }
  .homepage-statistic__text { width: 100%; max-width: none; }
}
@media (max-width: 768px) and (min-width: 400px) {
  .page-node-51 .page-hero h1 {
    max-width: 50%;
  }
}
@media (max-width: 399px) {
  .page-node-51 .page-hero h1 {
    max-width: 70%;
  }
}
