/* Keep ordinary links consistent with Bootstrap in Vite development and production.
   Deliberately styled navigation, buttons and colour utility classes stay in control. */
:root {
    --pulse-link-color: #0d6efd;
    --pulse-link-hover-color: #0a58ca;
}

body.dark-mode,
[data-bs-theme="dark"] {
    --pulse-link-color: #8bb9fe;
    --pulse-link-hover-color: #aecbff;
}

/* Keep specificity at one element so explicit classes and component styles win. */
a:where([href]):not(:where(.btn, .nav-link, .navbar-brand, .pulse-brand, .dropdown-item, .page-link, .list-group-item, .text-reset, [class^="link-"], [class*=" link-"])) {
    color: var(--pulse-link-color);
}

a:where([href]):not(:where(.btn, .nav-link, .navbar-brand, .pulse-brand, .dropdown-item, .page-link, .list-group-item, .text-reset, [class^="link-"], [class*=" link-"])):is(:hover, :focus-visible) {
    color: var(--pulse-link-hover-color);
}
