/*
 * NursingRidge nursing-program cards.
 *
 * Keep the site's navy/teal visual system intact.
 * Family color is a secondary scanning aid only.
 */

.nr-ns__program-row {
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.nr-ns__program-row:hover {
  transform: translateY(-1px);
}

/* Registered Nursing — NursingRidge teal. */
.nr-ns__program-row.nr-program-card--rn {
  border-left-color: #168b88;
  background:
    linear-gradient(
      90deg,
      rgba(22, 139, 136, 0.075) 0,
      rgba(22, 139, 136, 0.025) 42%,
      rgba(255, 255, 255, 0) 100%
    );
}

.nr-program-card--rn .nr-ns__program-family {
  color: #0d6866;
  background: rgba(22, 139, 136, 0.12);
  border-color: rgba(22, 139, 136, 0.20);
}

/* Practical / Vocational Nursing — restrained indigo. */
.nr-ns__program-row.nr-program-card--pn {
  border-left-color: #6267ad;
  background:
    linear-gradient(
      90deg,
      rgba(98, 103, 173, 0.075) 0,
      rgba(98, 103, 173, 0.025) 42%,
      rgba(255, 255, 255, 0) 100%
    );
}

.nr-program-card--pn .nr-ns__program-family {
  color: #494e91;
  background: rgba(98, 103, 173, 0.12);
  border-color: rgba(98, 103, 173, 0.20);
}

/* RN / PN-LVN badge. */
.nr-ns__program-family {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 9px;
  margin-right: 6px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.035em;
}

/* Keep CIP information secondary. */
.nr-ns__program-subline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  margin-top: 7px;
}

/* Secondary program-family description. */
.nr-ns__program-meta .nr-ns__credential {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.78;
}

/* Preserve calm mobile presentation. */
@media (max-width: 720px) {
  .nr-ns__program-row {
    border-left-width: 3px;
  }

  .nr-ns__program-family {
    min-height: 22px;
    padding: 3px 8px;
    font-size: 0.69rem;
  }
}
