/**
 * General homepage -----------------------------------------------------------
 */

.content-main {
  background-color: #fff;
  overflow: hidden;
}

.content-main .component {
  padding-left: 16px;
  padding-right: 16px;
}


/**
 * Hero section --------------------------------------------------------------
 */

.component-hero,
.component-as-seen-on {
  background-color: #14a346;
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.component-hero {
  background-image: url('../images/hp-hero-grid.png');
  background-position: center top;
  padding-bottom: 96px;
  padding-top: 96px;
}

.component-as-seen-on {
  border-top: 1px solid rgba(246, 245, 244, 0.35);
  padding-bottom: 20px;
  padding-top: 20px;
}

.component-hero-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.175;
  margin: 0 auto 24px;
}

.component-hero-content {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 auto;
}

.component-hero-ctas {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px auto 0;
  max-width: 350px;
}

.component-hero-cta {
  align-items: center;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 16px;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-decoration: none;
}

.component-hero-cta:hover,
.component-hero-cta:active {
  border-color: rgba(255, 255, 255, 0.60);
  background-color: #02732b;
  box-shadow: 0 8px 19.4px 0px rgba(46, 80, 4, 0.37);
  color: #fff;
}

.component-as-seen-on-logo {
  display: block;
  pointer-events: none;
}

.component-hero-cta-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.36px;
  line-height: 1.55555555556;
  margin: 0;
  white-space: nowrap;
}

.component-as-seen-on-title {
  color: #f3f4f6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55555555556;
  margin: 0 0 10px;
}

.component-as-seen-on-logos {
  align-items: center;
  align-self: stretch;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  opacity: 0.8;
  padding: 12px 0;
}

.component-as-seen-on-logo:nth-child(n + 5) {
  display: none;
}

@media (min-width: 430px) {
  .component-as-seen-on-logo:nth-child(5) {
    display: block;
  }
}

@media (min-width: 580px) {
  .component-as-seen-on-logo:nth-child(6) {
    display: block;
  }
}

@media (min-width: 750px) {
  .component-as-seen-on-logo:nth-child(7) {
    display: block;
  }
}

@media (min-width: 768px) {
  .component-hero {
    background-image: url('../images/hp-hero-grid-desktop.png');
  }

  .component-hero-content {
    max-width: 768px;
  }

  .component-hero-ctas {
    flex-direction: row;
    max-width: 798px;
  }

  .component-hero-cta {
    width: 33%;
  }

  .component-as-seen-on-logos {
    margin-left: auto;
    margin-right: auto;
    max-width: 914px;
  }
}

@media (min-width: 850px) {
  .component-as-seen-on-logo:nth-child(8) {
    display: block;
  }
}

@media (min-width: 950px) {
  .component-as-seen-on-logo:nth-child(9) {
    display: block;
  }
}

@media (min-width: 1024px) {
  .component-hero-title {
    font-size: 60px;
    letter-spacing: -1.2px;
    line-height: 1.2;
  }
}


/**
 * Find your scholarship section ---------------------------------------------
 */

.component-find-your {
  color: #1f2937;
  padding-bottom: 96px;
  padding-top: 96px;
}

.component-find-your-header {
  margin: 0 auto 38px;
  text-align: center;
}

.component-find-your-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.413075;
  margin: 0 auto 18px;
  max-width: 560px;
}

.component-find-your-content {
  font-size: 18px;
  line-height: 1.55555555556;
  margin: 0 auto 24px;
  max-width: 847px;
}

.component-find-your-image-wrapper {
  margin-bottom: 50px;
}

.component-find-your-image-shim {
  display: none;
}

.component-find-your-image {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.component-find-your-ctas-cta {
  margin-bottom: 60px;
}

.component-find-your-ctas-cta:last-child {
  margin-bottom: 0;
}

.component-find-your-ctas-cta-content {
  margin-bottom: 60px;
}

.component-find-your-ctas-cta-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 16px;
}

.component-find-your-ctas-cta-text {
  color: 475467;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 32px;
}

.component-find-your-ctas-cta-link {
  width: 100%;
}

.component-find-your-ctas-cta-image-wrapper img,
.component-find-your-ctas-cta-image img {
  display: block;
  height: auto;
  margin: 0 0 0 auto;
  width: 89%;
}

@media (min-width: 768px) {
  .component-find-your-ctas-cta {
    align-items: center;
    display: flex;
    gap: 48px;
    margin: 0 auto 50px;
    max-width: 1024px;
  }

  .component-find-your-ctas-cta-content {
    margin-bottom: 0;
    width: 65%;
  }

  .component-find-your-ctas-cta-image-wrapper {
    width: 30%;
  }

  .component-find-your-image {
    margin-top: -36px;
  }

  .component-find-your-ctas-cta:nth-child(odd) .component-find-your-ctas-cta-content {
    order: 2;
  }

  .component-find-your-ctas-cta:nth-child(odd) .component-find-your-ctas-cta-image-wrapper {
    order: 1;
  }

  .component-find-your-ctas-cta-image-wrapper img,
  .component-find-your-ctas-cta-image img {
    margin: 0;
    width: 100%;
  }

  .component-find-your-ctas-cta-link {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .component-find-your-inner {
    position: relative;
  }

  .component-find-your-title {
    font-size: 48px;
    letter-spacing: -0.96px;
    line-height: 1.1775625;
  }

  .component-find-your-image-wrapper {
    position: relative;
  }

  .component-find-your-image {
    position: relative;
    z-index: 2;
  }

  .component-find-your-image-shim {
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 365px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 36px;
    width: 707px;
    z-index: 1;
  }

  .component-find-your-image-left {
    background-image: url('../images/hp-find-your-left.svg');
    background-position: top right;
    margin-left: -835px;
  }

  .component-find-your-image-right {
    background-image: url('../images/hp-find-your-right.svg');
    background-position: top left;
    margin-left: 128px;
  }

  .component-find-your-ctas-cta {
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 100px;
    max-width: 1024px;
    position: relative;
    z-index: 2;
  }

  .component-find-your-ctas-cta-content,
  .component-find-your-ctas-cta-image-wrapper {
    flex-basis: 47%;
    width: 47%;
  }

  .component-find-your-ctas-cta-image-wrapper img,
  .component-find-your-ctas-cta-image img {
    margin: 0 auto;
    position: relative;
    left: -21px;
    top: 26px;
    width: 64%;
  }

  .component-find-your-ctas-cta:nth-child(odd) .component-find-your-ctas-cta-image-wrapper img,
  .component-find-your-ctas-cta:nth-child(odd) .component-find-your-ctas-cta-image img {
    left: 15px;
  }

  .component-find-your-inner-shim {
    background: url('../images/hp-find-your-snake.svg') no-repeat center top;
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: -110px;
    width: 100%;
    z-index: 1;
  }
}


/**
 * Ben Kaplan section --------------------------------------------------------
 */

.component-ben {
  background-color: #f0fdf4;
  color: #1f2937;
  padding-bottom: 96px;
  padding-top: 96px;
}

.component-ben-title {
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.64px;
  margin: 0 0 36px;
}

.component-ben-image-wrapper-1 img,
.component-ben-image-wrapper-2 img,
.component-ben-image img {
  border-radius: 34px;
  display: block;
  height: auto;
  margin-bottom: 36px;
  width: 100%;
}

.component-ben-content {
  font-size: 18px;
  line-height: 1.55555555556;
  margin: 0 0 2em;
}

.component-ben-cta {
  width: 100%;
}

@media (min-width: 768px) {
  .component-ben-inner {
    align-items: center;
    display: flex;
    gap: 26px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
  }

  .component-ben-inner > div {
    width: 50%;
  }

  .component-ben-cta {
    width: auto;
  }

  .component-ben-image-wrapper-1 img,
  .component-ben-image1 img {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .component-ben-inner {
    align-items: stretch;
  }

  .component-ben-title {
    font-size: 48px;
    line-height: 1.1775625;
  }
}


/**
 * Stats section -------------------------------------------------------------
 */

.component-stats {
  padding-bottom: 96px;
  padding-top: 96px;
}

.component-stats-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 1024px;
}

.component-stats-block-block {
  align-items: flex-start;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.component-stats-block-block-blue {
  background-color: #d1eef9;
  color: #083e7d;
}

.component-stats-block-block-green {
  background-color: #99da8f;
  color: #1c471f;
}

.component-stats-block-block-yellow {
  background-color: #fde68a;
  color: #582614;
}

.component-stats-block-image-wrapper {
  display: block;
  height: 200px;
  overflow: hidden;
  width: 100%;
}

.component-stats-block-image-wrapper img {
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.component-stats-block-content {
  padding: 26px 30px 30px;
}

.component-stats-block-stat {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.component-stats-block-info {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22727272727;
  margin: 8px 0 0;
}

@media (min-width: 768px) {
  .component-stats-blocks {
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .component-stats-block-block {
    flex-basis: calc(50% - 12px);
  }

  .component-stats-block-content {
    padding-top: 0;
  }

  .component-stats-block-block:first-child {
    flex-basis: 100%;
    flex-direction: row;
  }

  .component-stats-block-block:first-child .component-stats-block-image-wrapper {
    flex-basis: 59%;
    height: 100%;
    order: 2;
  }

  .component-stats-block-block:first-child .component-stats-block-content {
    align-self: flex-end;
    flex-basis: 41%;
    order: 1;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .component-stats-block-image-wrapper {
    height: 213px;
  }

  .component-stats-block-image-wrapper img {
    height: 100%;
    object-fit: contain;
  }

  .component-stats-block-stat {
    font-size: 80px;
    line-height: 1.4125;
  }

  .component-stats-block-info {
    font-size: 28px;
    line-height: 1.25;
  }
}
