/* CFM global typography override for Elementor frontend only */
body:not(.wp-admin):not(.elementor-editor-active),
html body.cfm-theme,
body.cfm-theme .site,
body.cfm-theme .elementor,
body.cfm-theme .elementor-widget,
body.cfm-theme .elementor-widget-container,
body.cfm-theme .elementor-section,
body.cfm-theme .elementor-container,
body.cfm-theme .elementor-column,
body.cfm-theme .elementor-text-editor,
body.cfm-theme .elementor-heading-title,
body.cfm-theme p,
body.cfm-theme li,
body.cfm-theme label,
body.cfm-theme input,
body.cfm-theme textarea,
body.cfm-theme select{font-family:'Figtree Light',Figtree,Arial,sans-serif!important;color:#000000;}
body.cfm-theme div,
body.cfm-theme span,
body.cfm-theme button,
body.cfm-theme a{font-family:'Figtree Light',Figtree,Arial,sans-serif!important;}
body.cfm-theme h1,body.cfm-theme h2,body.cfm-theme h3,body.cfm-theme h4,body.cfm-theme h5,body.cfm-theme h6,
body.cfm-theme .elementor-heading-title,
body.cfm-theme .cfm-title,
body.cfm-theme .cfm-hero-title{font-family:'Figtree Black',Figtree,Arial,sans-serif!important;font-weight:900!important;color:#000000;}
body.cfm-theme a{color:inherit;}
body.cfm-theme strong,b{font-family:inherit;font-weight:900;}
body.cfm-theme em,i{font-style:italic;}

/* Íconos: no forzar negro global; mantienen color propio/configurado */
body.cfm-theme i,
body.cfm-theme svg,
body.cfm-theme svg *,
body.cfm-theme [class*="icon"],
body.cfm-theme [class*="icon"] *,
body.cfm-theme .eicon,
body.cfm-theme .elementor-icon,
body.cfm-theme .elementor-icon *,
body.cfm-theme .elementor-social-icon,
body.cfm-theme .elementor-social-icon *,
body.cfm-theme .elementor-icon-list-icon,
body.cfm-theme .elementor-icon-list-icon *{font-family:inherit;color:inherit;}

body.cfm-theme .cfm-topbar,
body.cfm-theme .cfm-topbar *,
body.cfm-theme .cfm-nav a{color:#081c08!important;}
body.cfm-theme .cfm-search-toggle,
body.cfm-theme .cfm-menu-toggle{color:#fef7e7!important;}
body.cfm-theme .cfm-footer,
body.cfm-theme .cfm-footer *,
body.cfm-theme .cfm-archive-hero,
body.cfm-theme .cfm-archive-hero *,
body.cfm-theme .cfm-term-hero,
body.cfm-theme .cfm-term-hero *,
body.cfm-theme .cfm-location-hero,
body.cfm-theme .cfm-location-hero *{color:#fef7e7!important;}
body.cfm-theme .cfm-footer a{color:#8ee68d!important;}

/* Mantener la interfaz de Elementor con sus colores originales */
body.elementor-editor-active .elementor-panel,
body.elementor-editor-active .elementor-panel *,
body.elementor-editor-active #elementor-editor-wrapper,
body.elementor-editor-active #elementor-editor-wrapper *,
body.elementor-editor-active .dialog-widget,
body.elementor-editor-active .dialog-widget *{font-family:inherit!important;color:inherit!important;}

/* Widget Hero Slider CFM: texto crema sobre imagen/video */
body.cfm-theme .cfm-hero-slider,
body.cfm-theme .cfm-hero-slider .cfm-hero-content,
body.cfm-theme .cfm-hero-slider .cfm-hero-content h1,
body.cfm-theme .cfm-hero-slider .cfm-hero-content h2,
body.cfm-theme .cfm-hero-slider .cfm-hero-content h3,
body.cfm-theme .cfm-hero-slider .cfm-hero-content p,
body.cfm-theme .cfm-hero-slider .cfm-hero-arrow,
body.cfm-theme .cfm-hero-slider .cfm-hero-dots button{color:#fef7e7!important;}
body.cfm-theme .cfm-hero-slider .cfm-hero-button{color:#081c08!important;}
body.cfm-theme .cfm-hero-slider .cfm-hero-button:hover{color:#081c08!important;}


/* WordPress admin bar: respetar esquema de color elegido por cada usuario.
   No se fuerzan colores sobre #wpadminbar; WordPress conserva sus variables/clases nativas. */
body.cfm-theme #wpadminbar,
body.cfm-theme #wpadminbar *,
body.cfm-theme #wpadminbar a,
body.cfm-theme #wpadminbar span,
body.cfm-theme #wpadminbar div{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;}
body.cfm-theme #wpadminbar .ab-icon,
body.cfm-theme #wpadminbar .ab-icon:before,
body.cfm-theme #wpadminbar .ab-item:before,
body.cfm-theme #wpadminbar .ab-item:after,
body.cfm-theme #wpadminbar .dashicons,
body.cfm-theme #wpadminbar .dashicons:before{font-family:dashicons!important;}
