.navhero {
  color: var(--main-white-color);
}
@media (min-width: 77.5em) {
  .navhero:not(:last-child):not(.navhero_courses) {
    margin-bottom: 3.125rem;
  }
}
@media (min-width: 60em) and (max-width: 77.5em) {
  .navhero:not(:last-child):not(.navhero_courses) {
    margin-bottom: clamp( 2.5rem , 0.3571428571rem  +  3.5714285714vw , 3.125rem );
  }
}
@media (max-width: 60em) {
  .navhero:not(:last-child):not(.navhero_courses) {
    margin-bottom: 2.5rem;
  }
}
.navhero__wrapper {
  position: relative;
  background: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem 1.25rem 0 0;
}
@media (width < 61.99875em) {
  .navhero__wrapper {
    min-height: 25rem;
  }
}
@media (width < 47.99875em) {
  .navhero__wrapper {
    border-radius: 0.5rem;
    min-height: 37.5rem;
  }
}
.navhero__wrapper:not(.navhero_courses .navhero__wrapper) {
  border-radius: 1.25rem;
}
.navhero__wrapper:not(.navhero_courses .navhero__wrapper)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black-color-60);
}
.navhero__wrapper > * {
  position: relative;
}
.navhero_courses .navhero__wrapper {
  padding-bottom: 3.125rem;
}
.navhero__nav {
  display: flex;
  flex-wrap: wrap;
}
@media (width >= 61.99875em) {
  .navhero__nav:not(:last-child) {
    margin-bottom: 9.1875rem;
  }
}
.navhero__item {
  flex: 1 1 auto;
}
.navhero__content {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2.5rem 3.125rem;
}
.navhero_courses .navhero__content {
  flex-direction: column;
  align-items: flex-start;
}
@media (width >= 61.99875em) {
  .navhero__content {
    align-items: center;
  }
}
@media (width < 61.99875em) {
  .navhero__content {
    padding: 1.25rem;
    flex-direction: column;
  }
}
.navhero__title {
  font-size: var(--font-size);
  letter-spacing: calc(var(--font-size) / 100 * -5);
  line-height: 0.9;
  font-family: Evolventa;
}
@media (min-width: 60em) {
  .navhero__title {
    --font-size: 3.375rem;
  }
}
@media (min-width: 30em) and (max-width: 60em) {
  .navhero__title {
    --font-size: clamp( 1.875rem , 0.375rem  +  5vw , 3.375rem );
  }
}
@media (max-width: 30em) {
  .navhero__title {
    --font-size: 1.875rem;
  }
}
@media (width < 61.99875em) {
  .navhero__title {
    line-height: 0.8;
  }
}
.navhero__text {
  max-width: 21.875rem;
  line-height: 1.3;
  font-size: var(--font-size);
  letter-spacing: calc(var(--font-size) / 100 * -5);
  color: var(--grey-on-white-color);
}
@media (min-width: 48em) {
  .navhero__text {
    --font-size: 1rem;
  }
}
@media (min-width: 30em) and (max-width: 48em) {
  .navhero__text {
    --font-size: clamp( 0.9375rem , 0.8333333333rem  +  0.3472222222vw , 1rem );
  }
}
@media (max-width: 30em) {
  .navhero__text {
    --font-size: 0.9375rem;
  }
}