/**
 * Link state that theme.json cannot express.
 *
 * theme.json `elements.link` supports :hover / :focus but not :visited, and a
 * root-level `css` field is ignored. Per the Figma handoff the visited link is
 * shown in italic (still underlined).
 *
 * :visited does not change the link COLOUR — the rest colour comes from
 * theme.json, and inside a background scheme from color-schemes.css, so the
 * same rule works on the white page body and on the blue sections alike.
 *
 * :where() keeps specificity at zero so block/user overrides still win,
 * matching how theme.json emits its own link rules.
 *
 * NOTE: this file used to carry a second block — an invisible ::before holding
 * a bold copy of the label (fed by assets/js/link-hover.js via `data-text`) to
 * reserve the width for the bold-on-hover state and stop the surrounding text
 * reflowing. Ticket #467 removed the bolding itself: text links are now never
 * bold in any state, so there is no width change left to compensate for, and
 * the pseudo-element, its JS and the four per-block opt-outs are all gone.
 * Should a weight change ever come back, that whole apparatus has to come back
 * with it — see the ticket before reaching for `font-weight` on a link.
 */
:where(a:not(.wp-element-button)):visited {
	font-style: italic;
	text-decoration: underline;
}
