/* CEIEFI · diseño académico contemporáneo · v4 — Scoped to the new Elementor templates */
:root{--cev4-ink:#073a52;--cev4-navy:#052d43;--cev4-blue:#075c75;--cev4-green:#079461;--cev4-mint:#66ddb5;--cev4-muted:#5d7785;--cev4-border:#d8e8e5;--cev4-pale:#f3f9f8}
.cev4-section,.cev4-header,.cev4-footer{font-family:Inter,"Segoe UI",Arial,sans-serif;box-sizing:border-box}
.cev4-section *,.cev4-header *,.cev4-footer *{box-sizing:border-box}
.cev4-section{position:relative;width:100%;overflow:hidden;padding:78px max(22px,calc((100vw - 1280px)/2))!important}
.cev4-section .cev4-inner{position:relative;z-index:2;max-width:1240px;width:100%;margin-inline:auto}
.cev4-section .elementor-widget-heading .elementor-heading-title{font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.13;letter-spacing:-.039em}
.cev4-section .cev4-display .elementor-heading-title{font-size:clamp(44px,5.1vw,78px)!important;font-weight:850!important;letter-spacing:-.054em!important;line-height:1.02!important}
.cev4-section .cev4-section-title .elementor-heading-title{font-size:clamp(30px,3.45vw,50px)!important;font-weight:850!important;letter-spacing:-.045em!important;line-height:1.1!important;color:var(--cev4-ink)!important}
.cev4-section .cev4-kicker .elementor-heading-title{font-size:11px!important;letter-spacing:.19em!important;line-height:1.5!important;font-weight:900!important;text-transform:uppercase;color:#008f61!important}
.cev4-section .elementor-widget-text-editor{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.75;color:var(--cev4-muted)}
.cev4-section .elementor-widget-text-editor p{margin:0 0 .8em}.cev4-section .elementor-widget-text-editor p:last-child{margin-bottom:0}
.cev4-section .elementor-button{background:#078d5d!important;color:white!important;border:0!important;border-radius:12px!important;min-height:50px;padding:15px 23px!important;box-shadow:0 14px 25px rgba(0,113,81,.17);font-weight:800!important;font-size:14px!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.cev4-section .elementor-button:hover{background:#00714d!important;transform:translateY(-2px);box-shadow:0 17px 26px rgba(0,113,81,.22)}
.cev4-section .elementor-widget-image img{display:block;width:100%;height:auto;border-radius:22px;object-fit:cover}
.cev4-section .cev4-flexrow{gap:clamp(22px,4vw,64px)!important;align-items:center}
.cev4-section .cev4-flexrow > .e-con-inner{gap:clamp(22px,4vw,64px)!important;align-items:center}
.cev4-hero{background:radial-gradient(circle at 86% 12%,rgba(7,171,155,.31),transparent 29%),radial-gradient(circle at 65% 78%,rgba(58,155,164,.17),transparent 27%),linear-gradient(121deg,#052f48 9%,#084d6a 59%,#087379 120%)!important;color:white!important;isolation:isolate;min-height:550px;display:flex;align-items:center}
.cev4-hero:before{content:"";position:absolute;z-index:0;width:580px;height:580px;border:1px solid rgba(184,250,235,.16);border-radius:50%;right:-130px;top:-92px;box-shadow:0 0 0 80px rgba(109,228,205,.025),0 0 0 175px rgba(109,228,205,.035)}
.cev4-hero:after{content:"";pointer-events:none;position:absolute;z-index:1;bottom:-2px;left:0;right:0;height:38px;border-radius:42px 42px 0 0;background:white}
.cev4-hero .elementor-heading-title,.cev4-hero .cev4-section-title .elementor-heading-title{color:#fff!important}
.cev4-hero .cev4-kicker .elementor-heading-title{color:#77ead0!important}
.cev4-hero .elementor-widget-text-editor{color:#dbeef0!important;font-size:17px!important;line-height:1.73!important}
.cev4-hero .cev4-inner{padding:8px 0 24px}
.cev4-hero .elementor-widget-image{position:relative;max-width:570px}
.cev4-hero .elementor-widget-image:before{content:"FORMACIÓN · INVESTIGACIÓN";position:absolute;z-index:4;left:-21px;top:18px;background:white;color:#006546;border-radius:13px;box-shadow:0 14px 30px rgba(0,0,0,.11);font-size:11px;font-weight:900;letter-spacing:.085em;padding:14px 18px;transform:rotate(-2deg)}
.cev4-hero .elementor-widget-image img{width:100%;max-height:460px;object-fit:cover;object-position:center;border-radius:28px;transform:rotate(2deg);border:5px solid rgba(255,255,255,.25);box-shadow:0 24px 60px rgba(0,14,33,.3)}
.cev4-hero .elementor-button{background:#03a75e!important}
.cev4-hero .elementor-button:hover{background:#07bf74!important}
.cev4-hero .cev4-button-secondary .elementor-button{background:transparent!important;border:1px solid #8fbfc8!important;box-shadow:none}
.cev4-hero .cev4-button-secondary .elementor-button:hover{background:rgba(255,255,255,.12)!important}
.cev4-section:not(.cev4-hero):not(.cev4-cta) .cev4-inner > .e-con-inner{gap:30px}
.cev4-section--soft{background:#f3f9f8!important}
.cev4-section--white{background:#fff!important}
.cev4-spotlight{background:linear-gradient(180deg,#fff 0,#f3f9f8 100%)!important;padding:87px max(22px,calc((100vw - 1280px)/2))!important}
.cev4-spotlight .cev4-inner{background:#fff;border:1px solid var(--cev4-border);border-radius:32px;padding:36px;box-shadow:0 25px 70px rgba(3,53,63,.095)}
.cev4-spotlight .cev4-section-title .elementor-heading-title{font-size:clamp(29px,3.4vw,49px)!important}
.cev4-spotlight .elementor-widget-image img{height:390px;object-fit:cover;object-position:center;border-radius:24px}
.cev4-spotlight .cev4-flexrow .cev4-flexrow{gap:13px!important}
.cev4-spotlight .cev4-flexrow .cev4-flexrow .cev4-column{padding:15px;border:1px solid #dcece7;border-radius:14px;background:#f8fcfa}
.cev4-cards{background:linear-gradient(135deg,#f3f9f8 0%,#eef6f6 100%)!important}
.cev4-card{background:#fff!important;border-radius:24px!important;padding:30px!important;border:1px solid #d9ebe6;box-shadow:0 12px 35px rgba(8,60,68,.055);transition:transform .23s ease,box-shadow .23s ease;height:100%}
.cev4-card:hover{transform:translateY(-4px);box-shadow:0 19px 45px rgba(8,60,68,.105)}
.cev4-card .elementor-widget-image img{width:100%;height:190px;object-fit:cover;border-radius:16px;margin-bottom:10px}
.cev4-card .elementor-widget-heading .elementor-heading-title{color:#083b52!important;font-weight:800!important}
.cev4-card .cev4-kicker .elementor-heading-title{color:var(--cev4-green)!important;font-size:11px!important}
.cev4-card .elementor-widget-button .elementor-button{background:transparent!important;color:#007b57!important;box-shadow:none!important;padding:10px 1px!important;min-height:0;border-radius:0!important;text-align:left}
.cev4-card .elementor-widget-button .elementor-button:hover{color:#005d42!important;transform:translateX(3px)}
.cev4-split{background:#fff!important}
.cev4-split .elementor-widget-image img{height:min(31vw,455px);min-height:290px;border-radius:28px;box-shadow:0 18px 42px rgba(4,55,77,.11);object-fit:cover}
.cev4-split .cev4-section-title{max-width:760px}
.cev4-gallery{background:#f5faf9!important}
.cev4-gallery .cev4-card{padding:13px!important}
.cev4-gallery .cev4-card .elementor-widget-image img{height:220px;object-fit:contain;background:#eaf2f0}
.cev4-library{background:#fff!important}
.cev4-library .cev4-card{border-top:4px solid #0a9865!important}
.cev4-network .elementor-widget-image img{object-fit:contain!important;height:90px!important;max-width:180px;margin:auto}
.cev4-network .cev4-card{padding:16px!important;box-shadow:none!important;display:flex;justify-content:center;align-items:center}
.cev4-cta{background:linear-gradient(120deg,#062c44 0%,#075b73 72%,#068268 130%)!important;color:#fff!important;padding-top:83px!important;padding-bottom:83px!important}
.cev4-cta:before{content:"";position:absolute;right:-140px;top:-200px;width:530px;height:530px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 90px rgba(255,255,255,.02)}
.cev4-cta .elementor-heading-title,.cev4-cta .cev4-section-title .elementor-heading-title{color:#fff!important}
.cev4-cta .cev4-kicker .elementor-heading-title{color:#86edd3!important}
.cev4-cta .elementor-widget-text-editor{color:#e0eff1!important}
.cev4-cta .elementor-widget-image img{max-height:320px;object-fit:contain}
.cev4-section .elementor-widget-shortcode{width:100%}
.cev4-section .elementor-widget-shortcode .ceiefi-inscripcion-wrap{max-width:none!important}
/* Header: preserve original logo sources and WordPress navigation shortcode */
.cev4-header{position:relative;z-index:20}
.cev4-header-contact{background:#073f61!important;min-height:47px!important;padding:4px 18px!important;border-radius:0 0 26px 26px;box-shadow:0 7px 18px rgba(5,48,69,.1)}
.cev4-header-contact a{color:#fff}
.cev4-header-contact .elementor-widget-shortcode{color:white;font-size:12px}
.cev4-header-brand{background:white!important;padding:16px 20px 10px!important}
.cev4-header-brand .elementor-widget-image img{height:62px!important;max-width:120px!important;width:auto!important;object-fit:contain!important;filter:grayscale(.1)}
.cev4-header-brand .elementor-widget-image{max-width:120px!important}
.cev4-header-brand .elementor-widget-shortcode img{max-height:86px;width:auto;object-fit:contain}
.cev4-header-nav{background:#fff!important;border-bottom:1px solid #e0eeeb;box-shadow:0 9px 16px rgba(4,60,71,.075);padding:8px 20px 10px!important}
.cev4-header-nav .elementor-widget-shortcode{width:100%}
.cev4-header-nav nav a{font-weight:750!important}
.cev4-header-nav nav a:hover{color:#079363!important}
/* Footer */
.cev4-footer{background:linear-gradient(119deg,#052d43,#075977)!important;color:#dceff1!important;padding:72px max(24px,calc((100vw - 1240px)/2)) 35px!important;position:relative;overflow:hidden}
.cev4-footer:before{content:"";position:absolute;top:-130px;right:-70px;width:360px;height:360px;border:1px solid rgba(120,224,197,.15);border-radius:50%}
.cev4-footer .elementor-heading-title{color:white!important;font-weight:850!important}
.cev4-footer .elementor-widget-text-editor{color:#dceff1!important;font-size:14px;line-height:1.9}
.cev4-footer .elementor-widget-text-editor a{color:#b0ebd4!important}
.cev4-footer .elementor-button{background:#079e67!important;color:white!important;border-radius:12px!important}
.cev4-footer .cev4-inner{max-width:1240px;margin:auto}
.cev4-footer .elementor-widget-shortcode a{color:#bdecd8!important}
/* inner pages / course widgets */
.cev4-page .cev4-hero{min-height:400px;padding-top:85px!important;padding-bottom:105px!important}
.cev4-page .cev4-hero .elementor-widget-image img{max-height:330px}
.cev4-page .cev4-hero .cev4-display .elementor-heading-title{font-size:clamp(42px,4.5vw,65px)!important}
.cev4-page .cev4-card .elementor-widget-image img{object-position:50% 32%}
.cev4-page .cev4-section h3{font-size:21px}
.cev4-section .elementor-widget-text-editor a{color:#0a8563}
/* WordPress outer page title is hidden ONLY for imported preview pages with custom post meta/body class */
body.ceiefi-modern-preview .entry-header,body.ceiefi-modern-preview .page-header,body.ceiefi-modern-preview .breadcrumbs,body.ceiefi-modern-preview .breadcrumb,body.ceiefi-modern-preview .entry-title{display:none!important}
body.ceiefi-modern-preview .site-main,body.ceiefi-modern-preview .content-area{padding-top:0!important}
body.ceiefi-modern-preview .elementor{overflow:visible}
@media(max-width:1024px){
 .cev4-section{padding:65px 26px!important}
 .cev4-hero .elementor-widget-image img{max-height:360px}
 .cev4-spotlight .cev4-inner{padding:27px}
 .cev4-spotlight .elementor-widget-image img{height:300px}
 .cev4-header-brand .elementor-widget-image img{height:50px!important}
}
@media(max-width:767px){
 .cev4-section{padding:54px 18px!important}
 .cev4-section .cev4-display .elementor-heading-title{font-size:clamp(39px,10.5vw,54px)!important}
 .cev4-section .cev4-section-title .elementor-heading-title{font-size:clamp(29px,8vw,39px)!important}
 .cev4-section .elementor-widget-text-editor{font-size:14px}
 .cev4-hero{min-height:0;padding-top:58px!important;padding-bottom:66px!important}
 .cev4-hero .elementor-widget-image{margin-top:26px}
 .cev4-hero .elementor-widget-image img{transform:none;max-height:280px;border-radius:19px}
 .cev4-hero .elementor-widget-image:before{left:3px;top:-15px;font-size:9px;padding:10px}
 .cev4-hero:after{height:24px}
 .cev4-section .cev4-flexrow,.cev4-section .cev4-flexrow > .e-con-inner{flex-direction:column!important;gap:19px!important}
 .cev4-spotlight{padding:49px 14px!important}
 .cev4-spotlight .cev4-inner{padding:22px;border-radius:20px}
 .cev4-spotlight .cev4-inner:before{right:12px;top:-13px;padding:7px 10px;font-size:9px}
 .cev4-spotlight .elementor-widget-image img{height:230px}
 .cev4-card{padding:23px!important;border-radius:18px!important}
 .cev4-card .elementor-widget-image img{height:185px}
 .cev4-split .elementor-widget-image img{height:280px;min-height:0}
 .cev4-gallery .cev4-card .elementor-widget-image img{height:170px}
 .cev4-header-contact{border-radius:0 0 16px 16px}
 .cev4-header-brand{padding:12px!important}
 .cev4-header-brand .elementor-widget-image img{height:37px!important;max-width:62px!important}
 .cev4-header-nav{padding:8px!important}
 .cev4-footer{padding:48px 20px!important}
 .cev4-page .cev4-hero{padding-top:55px!important;padding-bottom:65px!important}
}
@media(prefers-reduced-motion:reduce){.cev4-section .elementor-button,.cev4-card{transition:none}.cev4-card:hover,.cev4-section .elementor-button:hover{transform:none}}
.cev4-contact-form{background:#fff;border:1px solid #d7e8e4;border-radius:24px;box-shadow:0 13px 38px rgba(5,54,68,.07);padding:28px;max-width:720px;margin:22px auto}
.cev4-contact-form form{display:grid;gap:18px}.cev4-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cev4-contact-form label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#0b4056}
.cev4-contact-form input:not([type=checkbox]),.cev4-contact-form textarea{width:100%;border:1px solid #cbdeda;border-radius:12px;min-height:48px;padding:12px;color:#0a394f;background:#fbfefd;font:inherit}
.cev4-contact-form textarea{min-height:130px}.cev4-contact-form input:focus,.cev4-contact-form textarea:focus{outline:2px solid #0b9469;outline-offset:2px}
.cev4-contact-form label span{color:#009866}.cev4-contact-form .cev4-contact-privacy{display:flex;align-items:flex-start;gap:9px;line-height:1.6;font-weight:400}
.cev4-contact-form .cev4-contact-privacy input{margin-top:3px}.cev4-contact-form button{padding:14px 22px;background:#078c5b;color:white;font-weight:800;border:0;border-radius:12px;cursor:pointer}
.cev4-contact-form button:hover{background:#006b47}.cev4-honeypot{position:absolute!important;left:-9999px!important;opacity:0}
.cev4-contact-success{background:#e2f7ed;color:#095a3b;border-radius:10px;padding:14px}
.cev4-contact-error{background:#fff0eb;color:#8d2614;border-radius:10px;padding:14px}
@media(max-width:650px){.cev4-contact-grid{grid-template-columns:1fr}.cev4-contact-form{padding:18px}}


/* v4.1 - accesibilidad, cabecera, pie y convocatoria: scoped and reversible. */
/* Eliminar el pseudo-elemento que podía tapar la ficha del curso en ciertos temas/Elementor. */
.cev4-spotlight .cev4-inner::before{display:none!important;content:none!important}
.cev41-enrollment-badges{display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:10px!important;margin-bottom:12px}
.cev41-label{width:auto!important;flex:0 0 auto!important}
.cev41-label .elementor-heading-title{font-family:Inter,"Segoe UI",Arial,sans-serif!important;display:inline-block!important;line-height:1.2!important;font-size:12px!important;font-weight:850!important;letter-spacing:.07em!important;padding:10px 15px!important;border-radius:99px!important}
.cev41-label--red .elementor-heading-title{background:#D12D40!important;color:#FFFFFF!important;box-shadow:0 5px 15px rgba(173,22,47,.17)}
.cev41-label--white .elementor-heading-title{background:#FFF1F1!important;color:#A51D30!important;border:1px solid #F0B7BF!important}
.cev41-start-date .elementor-heading-title{font-size:12px!important;letter-spacing:.08em!important;color:#077853!important;font-weight:850!important}
.cev4-spotlight .cev4-inner{isolation:isolate;overflow:visible}
.cev4-spotlight .cev4-inner > *{position:relative;z-index:1}
.cev4-spotlight .cev4-section-title .elementor-heading-title{color:#092F46!important}
.cev4-spotlight .elementor-button{position:relative;z-index:2}
/* Legibilidad en fondos blancos o claros; no afecta a portadas ni CTA oscuros. */
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor,
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor .elementor-widget-container,
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor p,
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor li{color:#345567!important;opacity:1!important}
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor strong{color:#123E53!important}
.cev4-section:not(.cev4-hero):not(.cev4-cta) .elementor-widget-text-editor a{color:#007752!important;text-decoration:underline;text-underline-offset:3px}
.cev4-library .cev4-card .elementor-heading-title,.cev4-cards .cev4-card .elementor-heading-title{color:#073A52!important}
.cev4-library .cev4-card{background:#fff!important;box-shadow:0 14px 36px rgba(2,44,65,.07)}
/* Cabecera compacta: logotipos originales y navegación dinámica editables en Elementor. */
.cev41-contact{border-radius:0 0 20px 20px!important;padding:0 18px!important}
.cev41-contact .ceiefi-topbar{background:transparent!important;box-shadow:none!important}
.cev41-contact .ceiefi-topbar-inner{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 27px;min-height:42px;padding:6px 0!important}
.cev41-contact .ceiefi-topbar a,.cev41-contact .ceiefi-topbar span{color:#F0F8FB!important;font-size:12px!important;font-weight:600;white-space:normal}
.cev41-contact .ceiefi-topbar-cta{display:none!important}
.cev41-brand{padding:12px max(18px,calc((100vw - 1280px)/2))!important;background:linear-gradient(180deg,#FFFFFF,#F9FCFC)!important}
.cev41-brand .cev4-inner{width:100%;max-width:1280px;margin:0 auto}
.cev41-brand .cev4-flexrow{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:34px!important}
.cev41-brand .cev4-flexrow > .cev4-column:first-child{width:120px!important;flex:0 0 120px!important;min-width:0}
.cev41-brand .cev4-flexrow > .cev4-column:last-child{width:auto!important;flex:1 1 auto!important;min-width:0;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:12px!important}
.cev41-brand .cev4-flexrow > .cev4-column:last-child > .e-con{min-width:0;width:100%!important;padding:0!important}
.cev41-brand .cev41-primary-logo img{display:block;max-width:114px!important;max-height:85px!important;height:77px!important;width:auto!important;object-fit:contain!important}
.cev41-brand .elementor-widget-image img{width:auto!important;max-width:100%!important;max-height:69px!important;height:64px!important;object-fit:contain!important;filter:none!important}
.cev41-brand .cev4-flexrow > .cev4-column:last-child .elementor-widget-image{max-width:100%!important;margin:auto!important}
.cev41-nav{padding:7px max(18px,calc((100vw - 1280px)/2))!important;background:#fff!important;border-bottom:1px solid #DAEAE6!important;box-shadow:0 8px 23px rgba(2,49,70,.08)!important}
.cev41-nav .ceiefi-nav-list{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 6px;list-style:none;margin:0;padding:0}
.cev41-nav .ceiefi-nav-list>li{list-style:none;margin:0}
.cev41-nav .ceiefi-nav-list>li>a,.cev41-nav .ceiefi-nav-list>li>details>summary{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#083D57!important;padding:10px 14px!important;border-radius:11px!important;font-size:14px!important;font-weight:750!important;line-height:1.4!important;text-decoration:none!important;display:block;cursor:pointer}
.cev41-nav .ceiefi-nav-list>li>a:hover,.cev41-nav .ceiefi-nav-list>li>details>summary:hover,.cev41-nav .ceiefi-nav-list>li.current-menu-item>a{color:#007A55!important;background:#EAF8F2!important}
.cev41-nav .ceiefi-submenu{background:#fff;border:1px solid #DBEAE6;box-shadow:0 14px 35px rgba(4,52,68,.13);border-radius:13px;z-index:50}
.cev41-nav .ceiefi-submenu a{color:#093F58!important}
.cev41-nav .ceiefi-nav-toggle{border-radius:10px;background:#075D70;color:#fff;padding:10px 15px}
/* Pie nuevo: cuatro columnas, enlaces legibles y zona legal integrada. */
.cev41-footer{background:linear-gradient(125deg,#052C43 0%,#064D65 65%,#087565 140%)!important;padding:70px max(22px,calc((100vw - 1260px)/2)) 28px!important}
.cev41-footer .cev41-footer-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(0,1fr)) minmax(0,1.45fr);gap:25px!important;align-items:start!important}
.cev41-footer .cev41-footer-grid>.cev4-column{width:100%!important;min-width:0!important;padding:0!important}
.cev41-footer .cev41-footer-logo img{width:86px!important;height:86px!important;object-fit:contain!important;background:#fff;padding:7px;border-radius:18px!important}
.cev41-footer .cev41-footer-heading .elementor-heading-title{font-size:16px!important;line-height:1.35!important;font-weight:850!important;letter-spacing:0!important;color:#FFF!important}
.cev41-footer .cev41-footer-brand .cev41-footer-heading .elementor-heading-title{font-size:18px!important}
.cev41-footer .elementor-widget-text-editor,.cev41-footer .elementor-widget-text-editor p{color:#DBECEF!important;line-height:1.7!important;font-size:14px!important}
.cev41-footer .elementor-widget-text-editor a{color:#E2F5F2!important;text-decoration:none!important}
.cev41-footer .elementor-widget-text-editor a:hover,.cev41-footer .elementor-widget-shortcode a:hover{color:#79EDC5!important;text-decoration:underline!important}
.cev41-footer .cev41-footer-links p,.cev41-footer .cev41-footer-contacts p{margin:0 0 11px!important}
.cev41-footer .cev41-footer-contact-link .elementor-button{background:#CCFFE9!important;color:#064633!important;box-shadow:none!important;border-radius:10px!important;font-size:13px!important;padding:12px 16px!important}
.cev41-footer .cev41-footer-legal{margin-top:34px!important;padding-top:25px!important;border-top:1px solid rgba(255,255,255,.2)}
.cev41-footer .cev41-footer-legal .ceiefi-legal-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.cev41-footer .cev41-footer-copyright{text-align:center;margin-top:8px}
.cev41-footer .cev41-footer-copyright p{font-size:12px!important;color:#AED2D7!important}
@media(max-width:1050px){
 .cev41-brand .cev4-flexrow{gap:12px!important}
 .cev41-brand .cev4-flexrow > .cev4-column:first-child{width:90px!important;flex-basis:90px!important}
 .cev41-brand .cev41-primary-logo img{width:90px!important;height:76px!important}
 .cev41-brand .elementor-widget-image img{max-height:52px!important;height:52px!important}
 .cev41-footer .cev41-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .cev41-contact .ceiefi-topbar-inner{gap:3px 14px!important;justify-content:center}
 .cev41-contact .ceiefi-topbar a,.cev41-contact .ceiefi-topbar span{font-size:10px!important}
 .cev41-brand .cev4-flexrow{display:flex!important;flex-direction:column!important;gap:12px!important}
 .cev41-brand .cev4-flexrow > .cev4-column:first-child{width:100%!important;flex:0 1 auto!important;display:flex;justify-content:center}
 .cev41-brand .cev4-flexrow > .cev4-column:last-child{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px!important}
 .cev41-brand .cev41-primary-logo img{width:82px!important;height:72px!important}
 .cev41-brand .elementor-widget-image img{max-height:47px!important;height:47px!important}
 .cev41-nav{padding:8px 14px!important}
 .cev41-nav .ceiefi-nav-list{flex-direction:column!important;align-items:stretch!important;gap:2px!important}
 .cev41-footer{padding:46px 20px 24px!important}
 .cev41-footer .cev41-footer-grid{display:grid!important;grid-template-columns:1fr!important;gap:26px!important}
 .cev41-footer .cev41-footer-logo img{height:72px!important;width:72px!important}
 .cev41-enrollment-badges{gap:7px!important}
 .cev41-label .elementor-heading-title{font-size:10px!important;padding:9px 11px!important}
}

/* Logotipo institucional: utiliza la imagen original ya definida en WordPress. */
.cev41-brand .cev41-site-logo,.cev41-brand .cev41-official-logo{display:flex;align-items:center;justify-content:flex-start}
.cev41-brand .cev41-official-logo img,.cev41-brand .custom-logo{width:auto!important;height:81px!important;max-height:81px!important;max-width:116px!important;object-fit:contain!important}
.cev41-brand .cev41-official-logo a{display:block;max-width:116px}
.cev41-footer .cev41-official-logo img,.cev41-footer .custom-logo{width:90px!important;height:90px!important;object-fit:contain!important;background:#fff;padding:7px;border-radius:18px}
.cev41-footer .cev41-official-logo a{display:inline-flex}
@media(max-width:767px){.cev41-brand .cev41-site-logo{justify-content:center}.cev41-brand .cev41-official-logo img,.cev41-brand .custom-logo{height:73px!important;max-height:73px!important}}

/* Redes recuperadas de la cabecera original, cuando Elementor proporciona sus enlaces. */
.cev41-contact .cev41-socials{display:inline-flex;gap:11px;align-items:center;margin-left:8px}
.cev41-contact .cev41-socials a{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:24px;color:#66E0AE!important;font-size:15px!important;font-weight:850!important;text-decoration:none!important}
.cev41-contact .cev41-socials a:hover{color:#FFF!important}


/* CEIEFI 4.2: disposición robusta en borradores Elementor y legibilidad. */
.cev4-section,
.cev4-header,
.cev4-footer{max-width:100%;margin:0;overflow-x:clip}
.cev4-section > .cev4-inner,
.cev4-section > .e-con-inner,
.cev4-section .cev4-inner{min-width:0;max-width:1240px;width:100%}
.cev4-section .cev4-flexrow{display:flex;flex-direction:row;align-items:center;gap:clamp(20px,3.5vw,54px);width:100%;min-width:0}
.cev4-section .cev4-flexrow > .cev4-column{min-width:0;max-width:100%}
.cev4-section .cev4-flexrow > .cev4-column > .elementor-widget{max-width:100%;min-width:0}
.cev4-section .cev4-display .elementor-heading-title{overflow-wrap:break-word;max-width:100%}
.cev4-section .elementor-widget-heading{max-width:100%}
.cev4-section .elementor-widget-text-editor{opacity:1!important}
.cev4-hero,.cev4-hero.cev4-section,
.cev4-hero.e-con{background:linear-gradient(115deg,#052e48 0%,#095069 60%,#087a73 100%)!important}
.cev4-hero .elementor-widget-text-editor,.cev4-hero .elementor-widget-text-editor p{color:#eaf6f7!important}
.cev4-hero .cev4-display .elementor-heading-title{color:#ffffff!important}
.cev4-cta,.cev4-cta.e-con{background:linear-gradient(115deg,#063049,#07596e 65%,#087965)!important}
.cev4-cta .elementor-widget-text-editor,.cev4-cta .elementor-widget-text-editor p{color:#e9f5f5!important}
.cev4-spotlight .cev4-inner::before{content:none!important;display:none!important}
.cev41-enrollment-badges{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important}
.cev41-enrollment-badges > .elementor-element{width:auto!important;max-width:100%;flex:0 0 auto!important}
.cev41-label .elementor-heading-title{white-space:normal!important}
.cev41-label--red .elementor-heading-title{display:inline-flex!important;align-items:center!important;background:#c42a3b!important;color:#fff!important;border:1px solid #c42a3b!important;padding:12px 18px!important;border-radius:12px!important;font-size:12px!important;box-shadow:0 8px 22px rgba(170,20,45,.2)!important}
.cev41-label--white .elementor-heading-title{display:inline-flex!important;align-items:center!important;background:#eaf8f3!important;color:#035c43!important;border:2px solid #0a9a6a!important;padding:11px 17px!important;border-radius:12px!important;font-size:12px!important;box-shadow:0 4px 12px rgba(0,122,78,.08)!important}
.cev4-spotlight .cev4-section-title .elementor-heading-title{color:#083d50!important}
.cev4-cards .cev4-card .elementor-widget-text-editor p,
.cev4-library .cev4-card .elementor-widget-text-editor p{color:#35586a!important}
.cev4-card{min-width:0!important}
.cev4-gallery .elementor-widget-image img{object-fit:contain!important}
.cev41-footer .elementor-widget-text-editor,.cev41-footer .elementor-widget-text-editor p{color:#e8f4f6!important}
.cev41-footer .elementor-widget-heading .elementor-heading-title{color:#fff!important}
.cev41-brand .elementor-widget-image img{object-fit:contain!important}
@media(max-width:900px){
 .cev4-section{padding:58px 20px!important}
 .cev4-section .cev4-flexrow{flex-direction:column!important;align-items:stretch!important;gap:25px!important}
 .cev4-section .cev4-flexrow > .cev4-column{width:100%!important;flex:1 1 auto!important}
 .cev4-hero .cev4-display .elementor-heading-title{font-size:clamp(38px,8vw,58px)!important}
 .cev4-spotlight .elementor-widget-image img{height:auto!important;max-height:430px!important;object-fit:contain!important}
}
@media(max-width:600px){
 .cev4-section{padding:42px 16px!important}
 .cev4-spotlight .cev4-inner{padding:19px!important}
 .cev41-enrollment-badges{gap:8px!important}
 .cev41-label--red .elementor-heading-title,.cev41-label--white .elementor-heading-title{font-size:10px!important;padding:10px 12px!important}
 .cev4-hero .cev4-display .elementor-heading-title{font-size:clamp(38px,11vw,53px)!important}
 .cev4-hero .elementor-widget-image img{max-height:300px!important;object-fit:contain!important}
}


/* CEIEFI v4.3 — Dos llamadas de inscripción en rojo, de alto contraste.
   Se aplica tanto a los widgets ya insertados como a los borradores nuevos.
   El fondo también se configura en Elementor JSON para no depender solo del CSS. */
.cev4-spotlight .cev41-enrollment-badges,
.cev41-enrollment-badges{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;margin:0 0 17px!important;min-width:0}
.cev4-spotlight .cev41-enrollment-badges > .cev41-label,
.cev41-enrollment-badges > .cev41-label,
.cev4-spotlight .cev41-label--red,
.cev4-spotlight .cev41-label--white{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:max-content!important;max-width:100%!important;
  padding:0!important;margin:0!important;
  background:#c8172d!important;background-color:#c8172d!important;
  color:#fff!important;border:2px solid #c8172d!important;
  border-radius:999px!important;box-shadow:0 8px 18px rgba(155,18,39,.15)!important;
  overflow:visible!important;
}
.cev4-spotlight .cev41-label--white{background:#ae162b!important;background-color:#ae162b!important;border-color:#ae162b!important}
.cev4-spotlight .cev41-enrollment-badges .cev41-label .elementor-widget-container,
.cev41-enrollment-badges .cev41-label .elementor-widget-container{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;background:transparent!important;border:0!important;
}
.cev4-spotlight .cev41-enrollment-badges .cev41-label .elementor-heading-title,
.cev41-enrollment-badges .cev41-label .elementor-heading-title,
.cev41-label--red .elementor-heading-title,
.cev41-label--white .elementor-heading-title{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#fff!important;background:transparent!important;border:0!important;
  margin:0!important;padding:12px 20px!important;white-space:normal!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;font-weight:850!important;
  line-height:1.2!important;letter-spacing:.035em!important;text-align:center!important;
  box-shadow:none!important;border-radius:999px!important;opacity:1!important;
}
@media(max-width:600px){
  .cev41-enrollment-badges{gap:8px!important}
  .cev4-spotlight .cev41-enrollment-badges .cev41-label .elementor-heading-title,
  .cev41-enrollment-badges .cev41-label .elementor-heading-title{font-size:11px!important;padding:10px 14px!important}
}


/* v4.4 — distintivos visibles sin depender de CSS generado por Elementor.
   Los colores también van dentro del contenido editable del widget. */
.cev4-section .cev44-badges-container{display:block!important;min-height:0!important}
.cev4-section .cev44-badges-widget{width:100%!important;opacity:1!important;visibility:visible!important}
.cev4-section .cev44-badges-widget .elementor-widget-container{display:block!important;overflow:visible!important}
.cev4-section .cev44-badges-widget .cev44-badges{display:block!important;visibility:visible!important;opacity:1!important}
.cev4-section .cev44-badges-widget .cev44-badges span{color:#fff!important;opacity:1!important;visibility:visible!important}
.cev4-section .cev44-badges-widget .cev44-badges span:first-child{background:#c8172d!important;border-color:#c8172d!important}
.cev4-section .cev44-badges-widget .cev44-badges span:last-child{background:#ae162b!important;border-color:#ae162b!important}
@media(max-width:570px){.cev4-section .cev44-badges-widget .cev44-badges span{font-size:11px!important;padding:10px 14px!important}}
