/* ============================================================
   LINKS (Global + Footer overrides)
   ------------------------------------------------------------
   - Normalize link appearance site-wide
   - Remove default browser blue underline
   - Keep nav + submenu styling intact
============================================================ */

/* Global defaults */
a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease), text-decoration .2s var(--ease);
}

/* Global hover (only affects body text links) */
a:hover {
  color: var(--rust);
  text-decoration: underline;
}

/* ======================
   NAVIGATION LINKS
   ---------------------- */
.nav-link {
  color: var(--ink);
  text-decoration: none;
}
.nav-link:hover {
  color: var(--ink);          /* stay ink */
  text-decoration: none;      /* rely on gradient underline */
}

/* ======================
   SUBMENU LINKS
   ---------------------- */
.menu-items a {
  color: var(--ink);
  text-decoration: none;
}
.menu-items a:hover {
  color: var(--ink);          /* keep ink color */
  text-decoration: none;      /* use background highlight */
  background: rgba(255,255,255,.12);
}

/* ======================
   FOOTER LINKS
   ---------------------- */
footer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline; /* subtle underline by default */
}
footer a:hover {
  color: var(--rust);
}
html[data-theme="dark"] footer a {
  color: var(--muted);
}
