/*
 * RML Site: links inside rich text.
 *
 * Sign-off decision (#9): links written inline in text are orange site-wide,
 * like the t-link Global class, not the theme's default #CC3366. A Global
 * class only styles the element it is on, so it cannot reach an <a> inside a
 * paragraph; this rule does. See design-guide/README.md, "Inline links in rich
 * text".
 *
 * - Covers Atomic headings and paragraphs (inline HTML in their text) and the
 *   V3 text editor and post content widgets kept for multi-block rich text.
 * - Only links without a class: an element's own link (e-heading-link-base,
 *   e-paragraph-link-base), buttons and anything with an rml- class keep their
 *   own styling.
 * - Colours are the Design system Variables; Elementor prints them as
 *   --brand-primary and --brand-accent.
 */

:is(.e-paragraph-base, .e-heading-base, .rml-rich-text, .elementor-widget-text-editor, .elementor-widget-theme-post-content) a:not([class]) {
	color: var(--brand-primary);
	text-decoration: none;
}

:is(.e-paragraph-base, .e-heading-base, .rml-rich-text, .elementor-widget-text-editor, .elementor-widget-theme-post-content) a:not([class]):is(:hover, :focus-visible) {
	color: var(--brand-accent);
}
