/* 
 * Override default red link colors to use Elementor's Global Accent Color. 
 * Applies to standard content, block editor, and Elementor text editor.
 */

/* Frontend and standard links */
body a,
.entry-content a,
.elementor-text-editor a,
.wp-block-button__link,
.editor-styles-wrapper a {
    color: var(--e-global-color-accent) !important;
    transition: all 0.3s ease;
}

/* Hover state using slightly reduced opacity to adapt to any Accent color */
body a:hover,
.entry-content a:hover,
.elementor-text-editor a:hover,
.wp-block-button__link:hover,
.editor-styles-wrapper a:hover {
    color: var(--e-global-color-accent) !important;
    opacity: 0.8 !important;
}
