/* ==========================================================================
   "Where graduates work" / career outcomes section
   ========================================================================== */

.homepage-careers {
  position: relative;
  background-color: var(--mhpc-text-heading-1);
  color: var(--mhpc-text-inverse);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  min-height: 580px;
}

.homepage-careers__decorations {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 992px) {
  .homepage-careers__decorations {
    display: block;
  }
}

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

/* white ring/pill, off the right edge */
.homepage-careers__deco--ring {
  top: 50%;
  right: -64px;
  width: 150px;
  height: 280px;
  transform: translateY(-50%);
  border-radius: 500px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

/* green circle, poking up from the bottom-left edge */
.homepage-careers__deco--circle {
  bottom: -84px;
  left: 4%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: var(--mhpc-primary);
}

/* dark circle, off the bottom-right corner */
.homepage-careers__deco--dark {
  bottom: -90px;
  right: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--mhpc-bg-overlay-dark);
}

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

.homepage-careers__eyebrow {
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mhpc-primary);
  margin-bottom: 0.75rem;
}

.homepage-careers__title {
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--mhpc-text-inverse);
  margin-bottom: 1rem;
}

.homepage-careers__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mhpc-primary);
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.homepage-careers__readmore:hover {
  color: var(--mhpc-primary-light);
}

.homepage-careers__readmore-icon {
  flex-shrink: 0;
}

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

.homepage-careers__item {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--mhpc-text-inverse);
  margin-bottom: 0.85rem;
}

.homepage-careers__item:last-child {
  margin-bottom: 0;
}

/* green marker bar */
.homepage-careers__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 15px;
  border-radius: 0px 16px 16px 0px;
  background-color: var(--mhpc-primary);
}

/* Circular photo + employment-rate badge */
.homepage-careers__media {
  position: relative;
}

.homepage-careers__figure {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.homepage-careers__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.homepage-careers__badge {
  position: absolute;
  top: 4%;
  right: 2%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 168px;
  height: 168px;
  padding: 1rem;
  border-radius: 50%;
  background-color: var(--mhpc-primary);
}

.homepage-careers__badge-value {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--mhpc-text-inverse);
}

.homepage-careers__badge-label {
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--mhpc-text-heading-1);
}

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

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

  .homepage-careers__eyebrow {
    font-size: 0.9375rem;
  }

  .homepage-careers__readmore {
    font-size: 1rem;
  }

  .homepage-careers__item {
    font-size: 1.25rem;
    font-weight: 300;
  }

  .homepage-careers__badge {
    width: 196px;
    height: 196px;
  }

  .homepage-careers__badge-value {
    font-size: 2.75rem;
  }
}

@media (min-width: 992px) {
  .homepage-careers__media {
    position: absolute;
    height: 100%;
    right: 0;
  }

  .homepage-careers__figure {
    position: absolute;
    top: 0;
    max-width: 590px;
  }
}
