.nav-item a {
  top: 0;
  transition: top 250ms ease-out;
}

.nav-item a:hover {
  top: 4px;
}

/*
.nav-item:has(a:hover) {
  background-color: var(--nav-link-hover-color);
}
*/