/*
 * Classic-block link styling
 * ---------------------------
 * Added 2026-09-17.
 *
 * style.css styles content links with element-scoped selectors
 * (`.prose > p a`, `> ul a`, `> h2 a`, ...). Classic (`core/freeform`)
 * blocks emit bare text, `<a>` and `<span>` runs as direct children of the
 * content wrapper rather than `<p>` elements, so none of those selectors
 * match and their links render as plain body text with no colour or
 * underline. Readers cannot tell they are links.
 *
 * This file adds the missing cases only. It stays direct-child scoped, so
 * nested blocks (callouts, CTA cards, `quickmd/*`) keep their own link
 * styling, and it changes nothing that already matched.
 *
 * Colours reuse the same tokens as the existing rules so the two are
 * indistinguishable once applied.
 */
.prose > a,
.prose > span a,
.prose > strong a,
.prose > em a,
.prose-l > a,
.prose-l > span a,
.prose-l > strong a,
.prose-l > em a {
    color: var(--color-action);
    text-decoration: underline;
}

.prose > a:hover,
.prose > span a:hover,
.prose > strong a:hover,
.prose > em a:hover,
.prose-l > a:hover,
.prose-l > span a:hover,
.prose-l > strong a:hover,
.prose-l > em a:hover {
    color: var(--color-action-80);
}
