.np-course-nav {
  --np-course-green: #3f873c;
  --np-course-blue: #26758c;
  --np-course-orange: #b95708;
  background: linear-gradient(135deg, #f2f9ed 0%, #eef8fb 58%, #fff6e9 100%);
  border: 1px solid #cfe2d7;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(25, 75, 67, 0.08);
  box-sizing: border-box;
  margin: 3.6em 0 1.8em;
  padding: clamp(20px, 4vw, 32px);
}

.np-course-nav *,
.np-course-nav *::before,
.np-course-nav *::after {
  box-sizing: border-box;
}

.np-course-nav__header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.np-course-nav__eyebrow,
.np-course-nav__position {
  margin: 0 !important;
}

.np-course-nav__eyebrow {
  color: #235c45;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.np-course-nav__position {
  background: #fff;
  border: 1px solid #bfd8ca;
  border-radius: 999px;
  color: #40645d;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 11px;
}

.np-course-nav__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.np-course-nav__card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d4e4dc;
  border-radius: 14px;
  color: #163f3c !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  min-height: 92px;
  padding: 15px 16px;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

a.np-course-nav__card:hover {
  box-shadow: 0 9px 20px rgba(25, 75, 67, 0.12);
  transform: translateY(-2px);
}

.np-course-nav__card span {
  color: #66807a;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.np-course-nav__card strong {
  color: inherit;
  font-size: 0.94rem;
  line-height: 1.5;
}

.np-course-nav__card--previous {
  border-top: 4px solid var(--np-course-green);
}

.np-course-nav__card--course {
  background: var(--np-course-orange);
  border-color: var(--np-course-orange);
  color: #fff !important;
  text-align: center;
}

.np-course-nav__card--course span,
.np-course-nav__card--course strong {
  color: #fff;
}

.np-course-nav__card--next {
  border-top: 4px solid var(--np-course-blue);
  text-align: right;
}

.np-course-nav__card--muted {
  background: rgba(255, 255, 255, 0.55);
  border-style: dashed;
  color: #738680 !important;
}

@media (max-width: 680px) {
  .np-course-nav {
    border-radius: 18px;
    padding: 20px 15px;
  }

  .np-course-nav__grid {
    grid-template-columns: 1fr;
  }

  .np-course-nav__card {
    min-height: 76px;
  }

  .np-course-nav__card--next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-course-nav__card {
    transition: none;
  }
}
