/* ==========================================================================
   Applications / CTA section
   ========================================================================== */

.homepage-apply {
  position: relative;
  overflow: hidden;
  background-color: var(--mhpc-text-heading-1);
  color: var(--mhpc-text-inverse);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.homepage-apply__decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.homepage-apply__deco {
  position: absolute;
  display: block;
}

/* white ring, off the top-left edge */
.homepage-apply__deco--ring {
  top: -96px;
  left: -96px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* green circle, off the top-right edge */
.homepage-apply__deco--circle {
  top: -72px;
  right: 6%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--mhpc-primary);
}

.homepage-apply__row {
  position: relative;
  z-index: 1;
}

.homepage-apply__year {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--mhpc-primary);
  margin-bottom: 0.25rem;
}

.homepage-apply__title {
  font-weight: 600;
  color: var(--mhpc-primary-light);
  font-size: 2.5rem;
  line-height: 1.05;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.homepage-apply__title-wrap {
  margin-bottom: 1rem;
}

.homepage-apply__title-line {
  display: block;
}

.homepage-apply__intro {
  font-size: 1rem;
  font-weight: 400;
  color: var(--mhpc-text-inverse);
  margin-bottom: 0.35rem;
}

.homepage-apply__opening {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mhpc-text-inverse);
  margin-bottom: 1.5rem;
}

.homepage-apply__description {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--mhpc-text-inverse);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.homepage-apply__seats {
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--mhpc-primary);
  margin-bottom: 1.75rem;
}

.homepage-apply__seats-max {
  font-weight: 300;
}

.homepage-apply__deadline-label {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mhpc-text-inverse);
  margin-bottom: 0.35rem;
}

.homepage-apply__deadline {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mhpc-text-inverse);
  margin-bottom: 1.5rem;
}

.homepage-apply__cta {
  background-color: var(--mhpc-primary);
  color: var(--mhpc-text-on-primary);
  font-weight: 700;
  border-radius: 100px;
  padding: 0.7rem 1.9rem;
}

.homepage-apply__cta:hover,
.homepage-apply__cta:focus,
.homepage-apply__cta:focus-visible,
.homepage-apply__cta:active {
  background-color: var(--mhpc-primary-hover);
  color: var(--mhpc-text-on-primary);
  box-shadow: none;
}

/* Requirements card */
.homepage-apply__requirements {
  border: 1px solid var(--mhpc-primary);
  border-radius: 34px;
  padding: 1.75rem 2rem;
  background-color: color-mix(in srgb, var(--mhpc-primary) 12%, transparent);
}

.homepage-apply__requirements-title {
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--mhpc-text-inverse);
  margin-bottom: 1rem;
}

.homepage-apply__requirements-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.homepage-apply__requirement {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--mhpc-text-inverse);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage-apply__requirement:last-child {
  padding-bottom: 0;
}

@media (max-width: 991.98px) {
  .homepage-apply__requirements {
    margin-top: 2rem;
  }
}

@media (min-width: 992px) {
  .homepage-apply {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .homepage-apply__title {
    font-size: 3.25rem;
  }

  .homepage-apply--upcoming .homepage-apply__title-line {
    white-space: nowrap;
  }

  .homepage-apply__seats {
    font-size: 2rem;
  }
}
