.topic-hub-card {
  position: relative;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  color: #14341f;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
}

.topic-hub-card:hover,
.topic-hub-card:focus {
  color: #14341f;
  text-decoration: none;
}

.topic-hub-card:focus-visible {
  outline: 3px solid rgba(215, 255, 64, .9);
  outline-offset: 3px;
}

.topic-hub-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.topic-hub-card:hover .topic-hub-card__image {
  transform: scale(1.07);
}

.topic-hub-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgb(255 255 255 / 8%) 0%, rgb(255 255 255 / 16%) 20%, rgba(255, 255, 255, .82) 52%, #fff 100%);
}

.topic-hub-card__body {
  width: 100%;
  margin-top: auto;
  padding: 6.5rem 1.5rem 1.5rem;
}

.topic-hub-card__title {
  line-height: 1.08;
  letter-spacing: -.02em;
}

.topic-hub-card__arrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #0b491b;
}

.learning-program-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .04em;
}

.learning-program-hero__title {
  max-width: 780px;
  margin-inline: auto;
}

.learning-program-hero__text {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .9);
  line-height: 1.55;
}

.learning-program-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.learning-program-hero__actions .brand-button,
.learning-program-hero__actions .brand-light-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.learning-program-hero__actions .brand-button {
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(5, 34, 14, .76);
}

.learning-program-hero__actions button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.topic-hubs-index--program .brand-light-button:disabled,
.topic-hubs-index--program .brand-light-button:disabled:hover {
  border-color: #0b491b;
  color: #0b491b;
  background: #fff;
  cursor: not-allowed;
  opacity: .72;
}

.learning-program-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(170px, 20vw, 240px);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.learning-program-cta__copy {
  min-width: 0;
}

.learning-program-cta__copy p {
  max-width: 48rem;
}

.learning-program-cta__copy .brand-light-button {
  max-width: 100%;
  white-space: normal;
}

.learning-program-cta__image {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  justify-self: center;
}

.learning-program-section__icon,
.learning-program-step__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #0b491b;
  background: rgba(11, 73, 27, .08);
}

.learning-program-step {
  height: 100%;
  border: 1px solid rgba(11, 73, 27, .09);
}

.learning-program-step__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 1rem;
  font-size: 1.2rem;
}

.learning-program-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  scroll-margin-top: 5.25rem;
}

.learning-program-sidebar {
  position: sticky;
  top: 5.25rem;
  min-width: 0;
  z-index: 2;
}

.learning-program-layout__content {
  min-width: 0;
}

.learning-program-nav-shell {
  overflow: hidden;
}

.learning-program-nav__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .1rem .55rem .75rem;
  color: #0b491b;
  font-size: .9rem;
  font-weight: 800;
}

.learning-program-nav {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  scroll-behavior: smooth;
}

.learning-program-nav::-webkit-scrollbar {
  height: 5px;
}

.learning-program-nav::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(11, 73, 27, .07);
}

.learning-program-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 73, 27, .35);
}

.learning-program-nav__item {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: .7rem;
  margin: 0;
  padding: .55rem .7rem .55rem .8rem;
  overflow: hidden;
  border: 0;
  border-radius: .75rem;
  color: #31573c;
  background: transparent;
  font-family: inherit;
  font-size: .9rem;
  text-align: left;
  line-height: 1.25;
  white-space: normal;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.learning-program-nav__item::before {
  position: absolute;
  inset: .55rem auto .55rem 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  content: "";
  background: #0b491b;
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.learning-program-nav__item:hover {
  color: #0b491b;
  background: #f4f8f5;
}

.learning-program-nav__item:focus-visible {
  outline: 3px solid rgba(11, 73, 27, .22);
  outline-offset: 1px;
}

.learning-program-nav__item.is-active {
  color: #0b491b;
  background: #eaf4ed;
  font-weight: 700;
}

.learning-program-nav__item.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.learning-program-nav__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  color: #0b491b;
  background: rgba(11, 73, 27, .07);
  transition: color .18s ease, background-color .18s ease;
}

.learning-program-nav__item.is-active .learning-program-nav__icon {
  color: #fff;
  background: #0b491b;
}

.learning-program-nav__label {
  min-width: 0;
}

.learning-program-section {
  scroll-margin-top: 6rem;
}

.learning-program-section__heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  width: 100%;
  min-width: 0;
}

.learning-program-section__title {
  min-width: 0;
}

.learning-program-section__description {
  grid-column: 2;
  min-width: 0;
}

.learning-program-section__icon {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  font-size: 1.25rem;
}

.learning-program-section__count {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11, 73, 27, .12);
  color: #0b491b;
  background: rgba(11, 73, 27, .05);
  white-space: nowrap;
}

.learning-program-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.learning-program-topic-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 154px;
  container: learning-topic-card / inline-size;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding: 1.25rem 1.4rem 1.25rem 1.55rem;
  border: 1px solid rgba(11, 73, 27, .12);
  color: #294735;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.learning-program-topic-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 4px;
  content: "";
  background: #0b491b;
}

.learning-program-topic-card:hover,
a.learning-program-topic-card:focus-visible {
  border-color: rgba(11, 73, 27, .42);
  color: #294735;
  background-color: #f5faf6;
  box-shadow: 0 .4rem 1rem rgba(19, 62, 36, .08);
}

a.learning-program-topic-card:focus-visible {
  outline: 3px solid rgba(215, 255, 64, .9);
  outline-offset: 2px;
}

.learning-program-topic-card__number {
  position: absolute;
  right: .8rem;
  bottom: 0rem;
  z-index: 0;
  color: #0b491b;
  font-size: clamp(4.75rem, 6vw, 6.25rem);
  font-weight: 900;
  line-height: 1;
  opacity: .055;
  pointer-events: none;
  user-select: none;
}

.learning-program-topic-card__arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  z-index: 2;
  color: #0b491b;
  font-size: 1rem;
}

.learning-program-topic-card__title {
  position: relative;
  z-index: 1;
  padding-right: 1.5rem;
  color: #0b491b;
  line-height: 1.25;
}

.learning-program-topic-card__outcome {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  color: #607068;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.learning-program-topic-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .4rem;
  row-gap: .25rem;
  margin-top: auto;
  padding-top: 1rem;
  color: #607068;
  font-size: .82rem;
  line-height: 1.5;
}

.learning-program-topic-card__blocks {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  white-space: nowrap;
}

@container learning-topic-card (max-width: 15rem) {
  .learning-program-topic-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .learning-program-topic-card__separator {
    display: none;
  }
}

.learning-program-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .36rem .62rem;
  border-radius: 999px;
  color: #496154;
  background: #eef3ef;
  font-size: .76rem;
  font-weight: 700;
}

.learning-program-status--content {
  color: #745400;
  background: #fff5d8;
}

.learning-program-status--review {
  color: #164d77;
  background: #e8f4ff;
}

.learning-program-status--ready {
  color: #0b491b;
  background: #e4f5e8;
}

.learning-program-estimate {
  color: #607068;
  font-size: .82rem;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .learning-program-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .learning-program-layout {
    display: block;
  }

  .learning-program-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }

  .learning-program-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: .1rem .1rem .65rem;
    scrollbar-color: rgba(11, 73, 27, .35) rgba(11, 73, 27, .07);
    scrollbar-width: thin;
  }

  .learning-program-nav__item {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .learning-program-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .learning-program-cta__image {
    max-width: 180px;
  }

  .learning-program-topic-grid {
    grid-template-columns: 1fr;
  }

  .learning-program-topic-card {
    min-height: 0;
  }

  .learning-program-section__heading {
    column-gap: .75rem;
  }

  .learning-program-section__icon {
    grid-row: 1;
  }

  .learning-program-section__description {
    grid-column: 1 / -1;
  }

  .learning-program-section__count {
    margin-left: 4.25rem;
  }
}

@media (max-width: 575.98px) {
  .topic-hub-card__body {
    padding: 5rem 1.25rem 1.25rem;
  }

  .learning-program-hero__actions .brand-button,
  .learning-program-hero__actions .brand-light-button {
    width: 100%;
  }

  .learning-program-section__count {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-hub-card,
  .topic-hub-card__image,
  .learning-program-topic-card,
  .learning-program-nav {
    scroll-behavior: auto;
    transition: none;
  }
}
