/* Custom brand overrides for the Furo theme, layered on top of furo.css.
 * - Visited links stay the same blue as unvisited ones, in both themes: Furo's default
 *   purple read like a broken-link signal on every fresh visit of a doc page.
 * - Hover accent: dark theme gets a warm yellow (readable against the near-black
 *   background); light theme keeps Furo's own blue hover, since yellow-on-white
 *   reads as low-contrast/disabled rather than as an accent.
 */
body {
    --color-link--visited: var(--color-brand-content);
    --color-link-underline--visited: var(--color-link-underline);
    --color-link--visited--hover: var(--color-link--hover);
    --color-link-underline--visited--hover: var(--color-link-underline--hover);
}

body[data-theme="dark"] {
    --color-link--hover: #e6c235;
    --color-link--visited--hover: #e6c235;
}

@media (prefers-color-scheme: dark) {
    body:not([data-theme="light"]) {
        --color-link--hover: #e6c235;
        --color-link--visited--hover: #e6c235;
    }
}
