/**
 * Blue Ridge Core Theme — Links
 * See docs/design-system/11-links.md for full rationale.
 *
 * theme.json's styles.elements.link already sets the sitewide default
 * (cooling-blue-text, underlined — the correct treatment for INLINE links per
 * WCAG 1.4.1). This file adds the UI-link override for nav/card/breadcrumb
 * contexts, where position rather than color distinguishes the link.
 */

.link-ui {
  color: inherit;
  text-decoration: none;
  transition: color var(--wp--custom--motion--duration-base) var(--wp--custom--motion--ease-out);
}

.link-ui:hover,
.link-ui:focus-visible {
  color: var(--wp--preset--color--cooling-blue-text);
  text-decoration: underline;
}

/* A link styled to look like a button uses .btn entirely — see buttons.css —
   and should NOT also receive .link-ui or inline-link underline styling. */
