/* Shared CEPA body-text links, based on the approved Affiliates treatment.
 * Keep specificity below component styles, including links on dark panels.
 * Native WPBakery Custom Headings authored as paragraphs are body text too.
 * Buttons, navigation, media, card titles and shared header/footer keep their
 * own treatments. No page content, link destinations or behavior are changed. */
:root {
	--cepa-link-color: #00496f;
	--cepa-link-hover-color: #087d73;
	--cepa-link-focus-color: #f2c94c;
}

.entry-content :where(p, li, dd, dt, figcaption, blockquote, td) a:where([href]):not(:where(.gem-button, .vc_btn3, [role="button"], [class*="button"], [class*="btn"], nav a, [role="navigation"] a, a:has(img, picture, svg))) {
	color: var(--cepa-link-color);
	text-decoration-line: underline;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-skip-ink: auto;
}

.entry-content :where(p, li, dd, dt, figcaption, blockquote, td) a:where([href]):not(:where(.gem-button, .vc_btn3, [role="button"], [class*="button"], [class*="btn"], nav a, [role="navigation"] a, a:has(img, picture, svg))):is(:hover, :focus-visible) {
	color: var(--cepa-link-hover-color);
	text-decoration-thickness: 2px;
}

.entry-content :where(p, li, dd, dt, figcaption, blockquote, td) a:where([href]):not(:where(.gem-button, .vc_btn3, [role="button"], [class*="button"], [class*="btn"], nav a, [role="navigation"] a, a:has(img, picture, svg))):focus-visible {
	outline: 3px solid var(--cepa-link-color);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--cepa-link-focus-color);
}
