/* 
Theme Name: Red SUMMA Child
Theme URI: https://redsummaeducation.net/
Description: Template Red SUMMA
Author: RSUMMA
Author URI: https://redsummaeducation.net/
Template: hello-elementor
Version: 2.0.0
Text Domain: summa-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ======== NORMALIZE ======== */
@font-face {
font-family: 'Montserrat';
src: url('assets/fonts/Montserrat.woff2') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

html {
font-family: 'Montserrat', sans-serif;
font-size: 100%;
scroll-behavior: smooth;
}

body {
margin: 0;
background-color: #fff;
color: #111;
line-height: 1.5;
font-weight: 400;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}

body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure,
hr,
fieldset, legend {
margin: 0;
padding: 0;
}

ul, ol {
list-style: none;
}

img,
video {
max-width: 100%;
height: auto;
display: block;
}

a {
text-decoration: none;
color: inherit;
}

button,
input,
select,
textarea {
font: inherit;
background: none;
border: none;
padding: 0;
margin: 0;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

h1, h2, h4, h5, h6 {
font-weight: inherit;
color: var(--heading-color);
font-family: var(--heading-font);
line-height: var(--heading-line-height);
margin: 0.5em 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

:root {
--heading-color: #111;
--heading-font: 'Montserrat', sans-serif;
--heading-line-height: 1.2;
}

:is(h1,h2,h3,h4,h5,h6) :is(strong,b){font-weight:inherit;}

.alignleft {
float: left;
margin-right: 1em;
}
.alignright {
float: right;
margin-left: 1em;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-block {
max-width: 100%;
}

input[type="text"],
input[type="email"],
textarea {
width: 100%;
display: block;
}

/* ======== GENERALES ======== */
p {
margin-bottom: 1.5rem;
}

h3, h4, h5, h6 {
font-weight: 700;
margin-bottom: .5rem;
}

:where(.page-content, .post-content) a {
color: #E81212;
text-decoration: underline;
text-decoration-color: #E81212;
transition: color .15s ease, text-decoration-color .15s ease;
}

:where(.page-content, .post-content) a:hover,
:where(.page-content, .post-content) a:focus-visible {
color: #E81212;
text-decoration: underline;
text-decoration-color: #E81212;
}

:where(.page-content, .post-content) ul,
:where(.page-content, .post-content) ol {
padding-left: 1.5rem;
margin-bottom: 1.25rem;
}

:where(.page-content, .post-content) ul {
list-style: disc;
}

:where(.page-content, .post-content) ol {
list-style: decimal;
}

:where(.page-content, .post-content) li {
margin-bottom: 0.5rem;
line-height: 1.6;
}

:where(.page-content, .post-content) ul ul {
list-style: circle;
}

:where(.page-content, .post-content) ol ol {
list-style: lower-alpha;
}

.e-flex.e-con-boxed.e-con > .e-con-inner {
max-width: 1280px;
margin: 0 auto;
}

/* ======== PAGE ===== */
body:not(.elementor-page) .page-content {
padding-top: 2rem;
padding-bottom: 1.5rem;
margin: 0 auto;
}

/* ======== TOP HEADER ======== */
.top-header {
max-height: 40px;
background-color: #131313;
color: #fff;
padding: 0;
}

/* ======== HEADER ======== */
header, .custom-header {
position: relative;
z-index: 150;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.custom-header.fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 999;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
background: #fff;
}

.custom-header.scroll {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.hcn-top-header {
display: block;
align-items: center;
color: #E81212;
}

.hcn-top-header a {
display: inline-block;
background-color: transparent;
color: #fff;
fill: #E81212;
font-size: 12px;
padding: 10px;
text-decoration: none;
font-weight: 500;
transition: background-color 0.3s ease;
opacity: 1;
}

.hcn-top-header a:hover {
color: #E81212;
opacity: 1;
}

.campus-top-header {
display: block;
align-items: center;
color: #E81212;
}

.campus-top-header a {
display: inline-block;
background-color: transparent;
color: #fff;
fill: #E81212;
font-size: 12px;
padding: 10px;
text-decoration: none;
font-weight: 500;
transition: background-color 0.3s ease;
opacity: 1;
}

.campus-top-header a:hover {
color: #E81212;
opacity: 1;
}

.cta-info-header {
display: block;
text-align: center;
}

.cta-info-header a {
display: inline-block;
background-color: #E81212;
color: #fff;
font-size: 12px;
width: auto;
padding: 12px 10px;
text-decoration: none;
font-weight: 700;
text-transform: uppercase;
transition: background-color 0.3s ease;
}

.cta-info-header a:hover {
color: #fff;
opacity: 1;
background-color: #111;
}

.cta-info-header a:focus, .cta-info-header a:visited {
color: #fff;
background-color: #E81212;
}

.sd__trigger,
a .sd__trigger {
color: #111;
}

.sd__trigger:hover { background: rgba(0,0,0,.06); }

/* MEGAMENÚ Y MENÚ BASE */
nav[role="navigation"] {
width: 100%;
}

.main-menu,
.main-menu ul {
list-style: none;
margin: 0;
padding: 0;
}

.main-menu {
position: relative;
z-index: 10;
display: flex;
justify-content: center;
background: transparent;
box-shadow: none;
}

.main-menu > li {
position: relative;
}

nav[role="navigation"] .main-menu > li > .menu-link,
nav[role="navigation"] .main-menu > li > span.menu-link {
display: inline-block;
padding: .8rem;
color: #111;
font-size: .85rem;
font-weight: 600;
text-decoration: none;
background: transparent;
border: none;
cursor: pointer;
transition: color .2s;
}

nav[role="navigation"] .main-menu > li > .menu-link:hover,
nav[role="navigation"] .main-menu > li > span.menu-link:hover {
color: #E81212;
}

.menu-link:focus-visible,
.caret-btn:focus-visible,
.volver-btn:focus-visible {
outline: 2px solid #007bfc;
outline-offset: 2px;
background: #e3f0fe;
color: #003057;
z-index: 3;
}

.has-submenu > .menu-link .caret {
display: inline-block;
margin-left: .4em;
vertical-align: middle;
font-size: .9em;
color: #888;
transition: transform .3s;
}

.menu-link .caret svg {
display: inline-block;
vertical-align: middle;
}

/* SUBMENÚ (desktop) */
.submenu {
display: none;
position: absolute;
top: 100%;
left: 50%;
z-index: 100;
min-width: 320px;
width: auto;
padding: 2rem;
gap: 2rem;
background: #f8fafd;
box-shadow: 0 12px 32px rgba(0,0,0,.11);
border-radius: 0 0 1.2em 1.2em;
box-sizing: border-box;
opacity: 0;
pointer-events: none;
transform: translateX(-50%) translateY(12px) scale(.98);
transition:
opacity .25s cubic-bezier(.65,0,.35,1),
transform .23s;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
display: flex;
opacity: 1;
pointer-events: auto;
transform: translateX(-50%) translateY(0) scale(1);
}

/* COLUMNAS MEGAMENÚ */
.submenu .submenu-col.no-children {
grid-column: 1 / -1;
display: block;
padding: 4px 0;
}

.submenu .submenu-col.no-children .submenu-col-title {
display: inline-block;
font-weight: 600;
text-decoration: none;
}

.submenu .submenu-col.orphans-col { grid-column: -2 / -1; }

.submenu .orphans-col .orphan-item { padding: 4px 0; }
.submenu .orphans-col .submenu-col-title { display: block; text-decoration: none; font-weight: 600; }

.submenu:is(.megamenu-2col, .megamenu-3col, .megamenu-4col) a.submenu-col-title[href]::after {
content: "→";
position: relative;
left: 0;
top: 50%;
margin-left: .25em;
transform: translateY(-50%);
font-size: 1.3em;
line-height: 1;
color: #E81212;
transition: transform .15s ease;
}

.submenu:is(.megamenu-2col, .megamenu-3col, .megamenu-4col) a.submenu-col-title[href]:hover::after,
.submenu:is(.megamenu-2col, .megamenu-3col, .megamenu-4col) a.submenu-col-title[href]:focus-visible::after {
transform: translate(1px, -50%);
}

.submenu.megamenu-2col {
display: grid !important;
grid-template-columns: minmax(300px,1fr) minmax(600px,2fr);
gap: 2rem;
min-width: auto;
max-width: 1200px;
align-items: stretch;
}

.submenu.megamenu-3col {
display: grid !important;
grid-template-columns: repeat(3, minmax(200px,1fr));
gap: .5rem;
min-width: auto;
max-width: 650px;
padding: 1rem;
}

.has-submenu:hover > .submenu.megamenu-3col,
.has-submenu:focus-within > .submenu.megamenu-3col {
display: grid !important;
transform: translateX(-50%) translateY(0) scale(1);
}

.submenu.megamenu-2col,
.submenu.megamenu-3col,
.submenu.megamenu-4col {
transform-origin: top center;
}

/* CONTENIDO DEL SUBMENÚ */
.submenu-col {
min-width: 200px;
padding: .5rem !important;
}

.submenu-col h4,
.submenu-col-title {
margin: 0;
color: #003057;
font-size: 1.1rem;
}

.submenu-col ul {
list-style: none;
margin: .5rem 0 0 0;
padding: 0;
}

.submenu-col li {
margin-bottom: .6rem;
}

.submenu-col a {
display: block;
padding: 0;
color: #555;
font-size: .8rem;
text-decoration: none;
transition: color .2s;
}

.submenu-col a:hover {
color: #E81212;
}

.submenu-col span {
display: block;
padding: 0;
color: #555;
font-size: .8rem;
text-decoration: none;
transition: color .2s;
}

/* Links de submenú simple */
.submenu:not(.megamenu-2col):not(.megamenu-3col):not(.megamenu-4col) .menu-link {
display: block;
padding: .4rem .8rem;
color: #555;
font-size: .8rem;
transition: color .2s;
}

.submenu:not(.megamenu-2col):not(.megamenu-3col):not(.megamenu-4col) .menu-link:hover {
color: #E81212;
}

/* Títulos clicables del megamenú */
.submenu.megamenu-2col .submenu-col-title,
.submenu.megamenu-3col .submenu-col-title,
.submenu.megamenu-4col .submenu-col-title {
display: block;
padding: .5rem 0;
color: #111;
font-size: .85rem;
font-weight: 600;
text-decoration: none;
transition: color .2s;
}

.submenu.megamenu-2col a.submenu-col-title:hover,
.submenu.megamenu-3col a.submenu-col-title:hover,
.submenu.megamenu-4col a.submenu-col-title:hover {
color: #E81212;
text-decoration:underline;
}

.ver-todos {
display: inline-block;
margin-top: .6rem;
padding: .4rem 1.2rem;
color: #fff;
font-size: .97rem;
font-weight: 500;
text-decoration: none;
background: #007bfc;
border-radius: 2rem;
transition: background .18s;
}

.ver-todos:hover {
background: #003057;
}

.volver-btn {
display: inline-flex;
align-items: center;
gap: .4rem;
margin-top: .6rem;
padding: .2rem 0;
color: #111;
font-size: .85rem;
font-weight: 600;
text-decoration: none;
background: transparent;
border: none;
border-radius: 0;
transition: color .18s;
}

.volver-btn:hover {
color: #E81212;
}

.mv-group-desktop { display: none; }
.mv-group-desktop.active { display: block; }

.mv-types-desktop {
flex: 1.5;
min-width: 0;
padding-right: 1rem;
border-right: 1px solid #ccc;
}

.mv-types-desktop ul li { margin-bottom: .2rem; }

.mv-types-desktop .mv-type-desktop a,
.mv-types-desktop .mv-type-desktop button {
display: block;
width: 100%;
text-align:left;
padding: .3rem .5rem;
color: #111;
font-size: .8rem;
font-weight: 500;
text-decoration: none;
transition: background .2s, color .2s;
}

.mv-types-desktop .mv-type-desktop a:hover,
.mv-types-desktop .mv-type-desktop button:hover,
.mv-types-desktop .mv-type-desktop.active a
.mv-types-desktop .mv-type-desktop.active button {
color: #E81212;
}

.mv-programs-desktop {
flex: 2.5;
min-width: 0;
display: flex;
flex-direction: column;
padding-left: 0;
max-height: none !important;
overflow-y: visible !important;
}

.mv-programs-desktop .mv-group-desktop {
display: none;
flex: 1 1 auto;
max-width: 100%;
}

.mv-programs-desktop .mv-group-desktop.active {
display: flex;
flex-direction: column;
}

.mv-programs-title {
overflow: hidden;
color: #111;
font-size: .8rem;
font-weight: 700;
margin-bottom: 1rem;
text-transform: uppercase;
box-sizing: border-box;
}

.mv-programs-desktop .mv-group-desktop ul {
width: 100%;
max-width: 100%;
flex: 1 1 auto;
}

.mv-programs-desktop .mv-group-desktop ul li {
margin-bottom: 1rem;
max-width: 100%;
}

.mv-programs-desktop .mv-group-desktop ul li a {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
max-width: 350px;
color: #555;
font-size: .8rem;
line-height: 1.25;
box-sizing: border-box;
}

.mv-programs-desktop .mv-group-desktop ul li a:hover {
color: #E81212;
}

.mv-programs-desktop .mv-group-desktop .ver-todos {
align-self: flex-start;
width: 355px;
margin-top: auto;
padding: .5rem;
color: #fff;
font-size: .7rem;
font-weight: 700;
text-align: center;
text-decoration: none;
text-transform: uppercase;
background: #E81212;
border: none;
border-radius: 3px;
transition: background .18s, color .18s;
}

.mv-programs-desktop .mv-group-desktop .ver-todos:hover {
background: #111;
color: #fff;
}

nav[role="navigation"] .main-menu > li > span.menu-link:hover {
color: #111;
cursor: pointer;
}

span.submenu-col-title:hover {
color: inherit;
cursor: default;
}

.submenu { top: 100% !important; }

.hamburger {
right: 1rem !important;
left: auto !important;
color: #111 !important;
font-size: 1.3rem;
}

.hamburger:hover { color: #E81212 !important; }

.has-submenu > .menu-link .caret svg,
.caret-btn svg { stroke: #111 !important; }

.has-submenu:hover > .menu-link .caret svg,
.caret-btn:hover svg { stroke: #E81212 !important; }

.caret-btn svg { display: inline-block; width: 1em; height: 1em; }
.caret-btn svg polyline { stroke: currentColor !important; }
.caret-btn { color: #111 !important; }
.caret-btn:hover { color: #E81212 !important; }

.mv-types-desktop .ver-todos.mv-all-virtual {
display: inline-block;
width: 275px;
margin-top: .6rem;
padding: .5rem;
color: #fff;
font-size: .7rem;
font-weight: 700;
text-align: center;
text-decoration: none;
text-transform: uppercase;
background: #E81212;
border: none;
border-radius: 3px;
transition: background .18s, color .18s;
}

.mv-types-desktop .ver-todos.mv-all-virtual:hover {
background: #111;
color: #fff;
}

.main-menu > li.maestrias-dinamico { position: static !important; }

/* ======== TITLES ===== */
.summa-title-container {
position: relative;
overflow: hidden;
color: #fff;
isolation: isolate;
}

.summa-title-background,
.summa-title-bg {
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
}

.summa-title-bg-img,
.summa-title-background img,
.summa-title-background-fallback {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
}

.summa-title-container::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.18));
pointer-events: none;
}

.container {
width: 100%;
max-width: 1280px;
margin-inline: auto;
box-sizing: border-box;
}

.summa-title-container > .container {
position: relative;
z-index: 2;
min-height: 360px;
display: flex;
align-items: center;
}

.summa-title-content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
text-align: left;
max-width: 600px;
}

.summa-page-title {
margin: 0;
font-weight: 700;
line-height: 1.15;
font-size: 2.2rem;
color: #fff;
text-wrap: balance;
}

.summa-page-description {
margin: 0;
line-height: 1.25;
font-size: 14px;
max-width: 480px;
}

/* ======== MIGAS Y TITLE ===== */
/* ---------- Migas ---------- */
.summa-breadcrumbs-wrap {
background-color: #f4f4f4;
width: 100%;

}

.summa-breadcrumbs {
display: flex;
max-width: 1280px;
flex-wrap: wrap;
align-items: center;
margin-inline: auto;
box-sizing: border-box;
padding: 0.5rem 0;
font-size: 0.75rem;
color: #555;
}

.summa-breadcrumbs ul {
display: flex;
align-items: center;
}

.summa-breadcrumbs li {
list-style: none;
font-weight: 400;
white-space: nowrap;
}

.summa-breadcrumbs li:not(:first-child)::before {
content: "/";
margin: 0 0.15rem;
}

.summa-breadcrumbs a {
font-weight: 600;
text-decoration: none;
transition: color 0.3s ease;
}

.summa-breadcrumbs a:hover {
color: #E81212;
font-weight: 600;
text-decoration: underline;
}

/* ---------- Title BG ---------- */


/* ---------- Title Content ---------- */


.summa-page-cta-button {
display: inline-block;
padding: 0.5rem 1rem;
font-size: 0.75rem;
border: 2px solid #fff;
background-color: transparent;
color: #fff;
text-decoration: none;
font-weight: 600;
border-radius: 4px;
margin-top: 0.5rem;
}

.summa-page-cta-button:hover,
.summa-page-cta-button:focus {
background-color: #E81212;
}

a.summa-page-cta-button:hover,
a.summa-page-cta-button:focus {
color: #fff;
}

/* ======== WIDGETS ELEMENTOR ===== */

/* ---------- Title Box ---------- */
.custom-image-title-box {
position: relative;
display: block;
overflow: hidden;
max-width: 100%;
}

.custom-image-title-box img.responsive-image {
display: block;
width: 100%;
height: auto;
object-fit: cover;
}

.custom-image-title-box .title-overlay {
position: absolute;
width: 100%;
bottom: 0;
margin: 0;
padding: 0.5rem 1rem;
background-color: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 1rem;
line-height: 1.2;
font-weight: 600;
}

.custom-image-title-box .title-overlay:hover {
color: #E81212;
}

.custom-image-title-box .title-overlay::before {
content: "➝";
font-weight: 900;
margin-right: 0.5rem;
color: #E81212;
}

/* ---------- Box Elementor ---------- */
.elementor-widget-container h3 {
font-size: 18px;
font-weight: 600;
padding-bottom: 0px; 
}

/* ---------- Swiper Elementor ---------- */
.elementor-element .swiper~.elementor-swiper-button.swiper-button-disabled {
opacity: 0; 
}

.tired {
font-size: 46px;
line-height: 66px;
font-weight: 700;
display: block;
}

.titsed {
font-size: 15px;
font-weight: 700;
display: block;
margin-bottom: 10px;
}

.titlesct h2,
.titlesct h3 {
position: relative;
display: inline-block;
}

.titlesct h2::after,
.titlesct h3::after {
content: "";
display: block;
width: 140px;
max-width: 140px;
height: 2px;
background-color: #E81212;
margin: 15px 0;
}

.titlescent h2::after {
content: "";
display: block;
width: 140px;
max-width: 140px;
height: 2px;
background-color: #E81212;
margin: 15px auto;
}

.boxcount {
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15), -2px -2px 6px rgba(255, 255, 255, 0.4);
}

.boxinst .elementor-image-box-content {
 background: #F5F5F5;
 padding: 15px 20px;
 border-radius: 12px;
}

.boxinst .elementor-image-box-content h3 {
 padding-bottom: 0;
}

.rank .elementor-widget-container h3 {
padding-bottom: 5px;
}

.rank .elementor-widget-container span {
font-style: italic; 
padding-top: 10px;
display: block;
}

.check-summa {
list-style: none;
padding: 0 0 15px 15px;
margin: 0;
}

.check-summa li {
position: relative;
padding-left: 25px;
font-size: 14px;
line-height: 1.6;
color: #555;
}

.check-summa li::before {
content: "✔";
font-weight: 600;
position: absolute;
left: 0;
top: 0;
font-size: 15px;
color: #555;
}

.invest {
list-style: disc; 
padding: 0;
margin: 0;
}

.invest li {
margin-left: 20px;
font-size: 14px;
}

.eduex {
display: inline-block;
margin-left: 10px;
}

.elementor-cta--skin-classic .elementor-cta__content {
background-color: #fff;
}

.home .sepver h2.elementor-heading-title::before {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background-color: #E81212;
}

.home .sepver h2.elementor-heading-title {
display: flex;
position: relative;
padding-left: 15px;
}

.home .custom-image-title-box h3.title-overlay {
font-size: 1.15rem;
text-align: center;
}

.home .benefbox {
box-shadow: 0 6px 12px -6px rgba(5, 27, 44, .12), 0 8px 24px -4px rgba(5, 27, 44, .08);
transition: all .5s ease;
border: 1px solid rgba(5, 27, 44, 0.08);
}

.home .rankingbox .elementor-image-box-wrapper {
justify-content: normal;
}

.destacadobox {
position: relative;
overflow: hidden;
}

.custom-image-title-box h3.title-overlay {
font-size: 0.8rem;
}

/* === PROGRAMAS PLP === */
.titlescte h2::after {
content: "";
display: block;
width: 140px;
max-width: 140px;
height: 2px;
background-color: #E81212;
margin: 0rem 0 1rem 0;
}

/* Loop Listado (Grid) */
.e-loop-item .programa-card-list-loop {
text-align: initial;
display: flex;
border: 1px solid #e1e1e1;
margin: 0 auto;
box-shadow: 0 2px 5px 0 rgba(0,0,0,0.15);
}

.programa-card-list-loop:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

a.programa-card-list-loop h3:hover,
a.programa-card-list-loop h2:hover {
color: #E81212;
}

/* Columna Sticky */
.col-sticky {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.085);
}

.form-col .elementor-form .elementor-button.elementor-size-md {
min-height: 35px;
}

.form-col select {
font-size: 14px;
}

.form-col select option:disabled {
color: #ccc;
font-weight: bold;
background-color: #f3f3f3;
font-style: italic;
}

.form-col .elementor-button[type="submit"]{
cursor: pointer;
}

.form-col .elementor-message {
background: #fff;
padding: 0.5rem;
text-align: center;
font-weight: 500;
}

.form-col .iti {
width: 100% !important;
}

.form-col .iti--separate-dial-code input {
padding-left: 80px !important;
}

.form-col .iti--separate-dial-code .iti__selected-flag,
.form-col .iti__country-list,
.form-col .iti__country,
.form-col .iti__country-name {
color: #111 !important;
font-size: 13px !important;
}

/* Box Destacados y Boz Razones */
.destacadobox .elementor-widget-container,
.razonesbox {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.085);
}

/* Box Ranking */
.rankingbox .elementor-image-box-title {
margin-top: 10px;
}

/* === PROGRAMAS PDP === */

/* Menú Sticky */
.menuprog .elementor-nav-menu--main .elementor-item.elementor-item-active {
background-color: #F4F4F4;
 margin-right: 0;
}

.menuprog .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after {
bottom: -5px;
}

/* Migas de pan */
.prog-breadcrumbs {
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 0.5rem 0;
font-size: 0.75rem;
color: #555;
}

/* Lista Valores */
.valores-list {
list-style: none;
padding-left: 0;
}

.valores-list li {
position: relative;
padding-left: 20px;
font-size: 0.9rem;
margin-bottom: 15px;
}

.valores-list li::before {
content: "✓";
position: absolute;
left: 0;
color: #E81212;
font-weight: bold;
}

/* Lista General */
.info-list ul,
.info-list ol {
list-style: none;
padding-left: 0;
}

.info-list li {
position: relative;
padding-left: 18px;
color: #111;
line-height: 1.25rem;
margin-bottom: 16px;
}

.info-list li::before {
content: "●";
position: absolute;
left: 0;
color: #E81212;
font-size: 18px;
}

.infog-list {
list-style: none;
padding-left: 0;
}

.infog-list li {
position: relative;
padding-left: 18px;
color: #111;
font-size: 0.9rem;
font-weight: 600;
line-height: 1.25rem;
margin-bottom: 12px;
}

.infog-list li::before {
content: "●";
position: absolute;
left: 0;
color: #E81212;
font-weight: bold;
}

/* Perfil */
.perfilest .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-wrapper {
align-items: center;
}

.perfilest .elementor-icon {
font-size: 1.6rem;
}

.perfilest ul {
list-style: none;
padding-left: 0;
}

.perfilest li {
position: relative;
padding-left: 18px;
color: #111;
line-height: 1.25rem;
margin-bottom: 12px;
}

.perfilest li::before {
content: "●";
position: absolute;
left: 0;
color: #111;
font-weight: bold;
}

.certperfil-container {
display: flex;
align-items: flex-start;
gap: 20px;
margin: auto;
flex-wrap: wrap;
}

.certperfil-img {
height: auto;
flex-shrink: 0;
}

.certperfil-content {
flex: 1;
}

/* Asignatura */
.asigprog .e-n-accordion-item-title h3:hover {
color:#fff;
}

.asigprog ul {
list-style: none;
padding-left: 0;
}

.asigprog li {
position: relative;
padding-left: 18px;
color: #111;
line-height: 1.25rem;
margin-bottom: 12px;
}

.asigprog li::before {
content: "●";
position: absolute;
left: 0;
color: #111;
font-weight: bold;
}

/* Subtitúlos */
.subtitprog {
display: block;
}

/* Metodología */
.metodbox .elementor-widget-container {
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.085);
}

.metodbox .elementor-image-box-wrapper {
flex-wrap: wrap;
justify-content: center;
align-items: normal;
padding-bottom: 10px;
}

.metodbox .elementor-image-box-img {
padding-bottom: 10px;
}

/* Becas y Financiamiento */
.becasyf .elementor-widget-container {
display: flex;
align-items: center;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.085);
}

.becasyf .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-wrapper {
align-items: center;
}

.lista-bec ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.5rem;
}

.lista-bec li{
  position: relative;
  padding-left: 1.75rem;
}

.lista-bec li + li{
  margin-top: 1rem;
}

.lista-bec li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.15rem;
  height: 1.15rem;
  background: #E81212;
  border-radius: 999px;
}

.lista-bec li::after{
  content: "✓";
  position: absolute;
  left: 0.3rem;
  top: calc(0.5em + 0.1rem);
  font-weight: 800;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}

/* Programas Loop (Grid, Slide) */
.programa-card-loop,
.programa-card-loop.e-con {
border: 1px solid #e1e1e1;
margin: 0 auto;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.programa-card-loop:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.programa-card-loop .elementor-widget-image img {
border-radius: 8px 8px 0 0;
}

a.programa-card-loop h3:hover {
color: #E81212;
}

.programa-card-loop .convoca {
margin-top: auto;
}

.programa-card-loop .no-content .toggle-content-btn,
.programa-card-loop .no-content .testimonio-content-toggle {
display: none !important;
}

a.enlace-popup {
color: #E81212;
font-weight: 700;
font-size: .8rem;
}

.benefbox .elementor-icon-box-title::before {
content: "✓";
position: absolute;
left: 0;
color: #E81212;
font-weight: bold;
}

.area.elementor-widget .elementor-icon-list-item a {
display: inline-flex;
}

.area.elementor-widget .elementor-icon-list-item a:hover {
color: #E81212;
}

.programa-card-list-loop h2.elementor-image-box-title,
.programa-card-list-loop h3.elementor-image-box-title {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 10px;
}

.elementor-widget-loop-grid.masonry-loop .elementor-loop-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}

.elementor-widget-loop-grid.masonry-loop .e-loop-item {
grid-column: span 1;
}

.elementor-widget-loop-grid.masonry-loop .e-loop-item:nth-child(3n+1) {
grid-column: span 2;
}

.programas-relacionados {
width: 100%;
background-color: #F4F4F4;
}

.programas-relacionados .container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1.5rem 1rem;
}

.programas-relacionados h2 {
margin-bottom: 1.5rem;
font-size: 1.2rem;
font-weight: 600;
color: #111;
}

.programas-relacionados h3 {
font-size: 0.85rem;
font-weight: normal;
display: flex;
align-items: flex-start;
}

.programas-relacionados h3::before {
content: "➟";
font-weight: 900;
color: #E81212;
margin-right: 5px;
}

.programas-relacionados ul.lista-programas {
display: block;
}

.programas-relacionados li {
overflow: hidden;
margin-bottom: 10px;
}

.programas-relacionados a {
color: inherit;
text-decoration: none;
}

.programas-relacionados a:hover {
color: #E81212;
text-decoration: underline;
}

.cat-prog-post {
width: 100%;
background-color: #F4F4F4;
}

.cat-prog-post .container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1.5rem 3rem;
}

.cat-prog-post h2 {
margin-bottom: 1.5rem;
font-size: 1.1rem;
font-weight: 600;
color: #111;
}

.cat-prog-post-list {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1rem;
padding: 0;
margin: 0;
list-style: none;
}

.cat-prog-post-list li {
flex: 0 0 auto;
}

.cat-prog-post-list li span {
display: block;
margin: 20em 0 0;
}

.cat-prog-post-list a {
display: inline-block;
padding: 0.5rem 1rem;
background: #eee;
border: 1px solid #d2d4d9;
border-radius: 100px;
text-decoration: none;
color: #111;
font-size: 0.75rem;
font-weight: 400;
white-space: nowrap;
}

.cat-prog-post-list a:hover,
.cat-prog-post-list a:focus {
background: #E81212;
color: #fff;
}

/* === IFRAMES === */
.iframe-pago-seguro {
margin: 0;
width: 100%;
max-width: 1140px;
min-height: 450px;
}

iframe.iframe-hcn {
margin-bottom: -10px !important;
width: 100%;
min-height: 1100px;
}

/* === BECAS === */
.elementor-widget-image-box.beca-link {
position: relative;
cursor: pointer;
}

.elementor-widget-image-box.beca-link::before {
content: "";
position: absolute;
inset: 0;
z-index: 2;
}
.elementor-widget-image-box.beca-link * {
position: relative;
z-index: 3;
}

/* === BLOG=== */
.back-to-root a { 
display: block;
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 1.4rem;
}

.back-to-root a:hover { 
color: #E81212;
text-decoration: underline;
}

.load-more-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 2rem 0 5rem;
}

#load-more-posts {
background-color: #E81212;
color: #fff;
border: none;
font-weight: 700;
fill: #fff;
color: #fff;
font-size: 0.9rem;
text-transform: uppercase;
padding: 12px 24px;
border-radius: 4px;
cursor: pointer;
display: inline-flex;
align-items: center;
transition: background-color 0.3s ease;
}

#load-more-posts:hover:not(:disabled) {
background-color: #111;
}

#load-more-posts:disabled {
background-color: #E81212;
cursor: not-allowed;
opacity: 0.6;
}

#load-more-posts svg {
animation: rotate 1s linear infinite;
width: 18px;
height: 18px;
fill: none;
stroke: white;
stroke-width: 3;
stroke-linecap: round;
stroke-dasharray: 80;
stroke-dashoffset: 60;
}

@keyframes rotate {
0% {
stroke-dashoffset: 60;
transform: rotate(0deg);
}
100% {
stroke-dashoffset: 0;
transform: rotate(360deg);
}
}

#load-more-posts p {
color: red;
font-style: italic;
margin-top: 10px;
font-size: 0.9rem;
}

.lwptoc-transparent .lwptoc_i {
background: #ffffff;
border: 1px solid #ccc !important;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
}

.lwptoc_i .lwptoc_header {
margin-bottom: 20px;
}

.lwptoc_title {
font-size: 1.2rem;
font-weight: 600;
color: #111;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
margin-bottom: 15px;
}

.lwptoc_items a {
color: #555;
text-decoration: none;
font-size: 0.85rem;
transition: color 0.2s ease;
}

.lwptoc_items a:hover {
color: #E81212;
text-decoration: underline;
}

.post-hero {
position: relative;
background-size: cover;
background-position: center;
min-height: 55vh;
color: #fff;
display: flex;
align-items: center;
}

.post-hero .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.85));
z-index: 1;
padding: 4rem 1.5rem;
display: flex;
align-items: center;
box-sizing: border-box;
}

.post-hero .container {
position: relative;
z-index: 2;
}

.post-title {
font-size: 2.2rem;
line-height: 1.15;
font-weight: 700;
color: #fff;
padding-bottom: 2rem;
margin: 0;
max-width: 650px;
}

.post-hero .container .post-categories {
margin: 0 0 1.5rem 0;
}

.post-hero .container .post-categories a {
background-color: #E81212;
color: #fff;
font-size: 0.75rem;
font-weight: 500;
padding: 0.4em 0.8em;
margin-right: 0.5rem;
border-radius: 6px;
display: inline-block;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.post-hero .container .post-categories a:hover {
background-color: #555;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.post-meta,
.post-meta span {
margin-right: 1.2rem;
padding-top: 0;
float: none;
font-size: 0.75rem;
color: #fff;
}

.post-content {
margin: 3rem auto;
}

.post-content h2,
.post-content h3 {
margin-top: 2rem;
margin-bottom: 1rem;
color: #111;
}

.post-content h2 {
font-size: 2rem;
font-weight: 700;
}

.post-content h3,
.post-content h4 {
font-size: 1.5rem;
font-weight: 600;
}

.post-content blockquote {
position: relative;
margin: 2.5rem 0;
padding: 1.5rem 2rem;
background-color: #F4F4F4;
border-left: 4px solid #E81212;
border-radius: 0.5rem;
color: #111;
font-style: italic;
font-size: 1.125rem;
line-height: 1.75rem;
box-shadow: 0 4px 12px rgba(237, 31, 31, 0.06);
}

.post-content blockquote::before {
content: "“";
position: absolute;
top: -15px;
left: 5px;
font-size: 4rem;
color: #E81212;
line-height: 1;
}

.post-content blockquote p {
margin: 0;
}

.related-posts,
.featured-posts {
margin: 4rem auto 2rem;
}

.related-posts h2,
.featured-posts h2 {
font-size: 1.75rem;
font-weight: 600;
margin-bottom: 2rem;
color: #111;
}

.related-posts ul.posts-list,
.featured-posts .featured-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
}

.related-posts li,
.featured-post {
background: #fff;
border-radius: 0.75rem;
overflow: hidden;
box-shadow: 0 4px 16px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}

.related-posts li:hover,
.featured-post:hover {
transform: translateY(-5px);
}

.related-posts a,
.featured-post a {
color: inherit;
text-decoration: none;
}

.related-posts h3,
.featured-post h3 {
font-size: 1rem;
padding: 0.75rem 1rem;
color: #1e293b;
}

.related-posts img,
.featured-post img {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
}

.ranking span {
display: block;
font-style: italic;
padding-top: 5px;
font-size: 0.75rem;
}

.navigation.pagination ul {
display: flex;
list-style: none;
padding: 0;
margin: 2rem 0 3.5rem 0;
gap: 0.5em;
}

.navigation.pagination ul li a,
.navigation.pagination ul li span.current {
padding: 0.5em 0.8em;
background: #F4F4F4;
color: #333;
text-decoration: none;
border-radius: 3px;
}

.navigation.pagination ul li span.current {
background-color: #E81212;
color: #fff;
cursor: default;
}

.navigation.pagination ul li a:hover {
background-color: #E81212;
color: #fff;
font-weight: 700;
}

main.site-main > .blog-archive {
padding: 2.5rem 0 0;
}

.categories-list {
display: flex;
flex-wrap: wrap;
gap: 0rem 1rem;
padding: 0;
margin: 0;
list-style: none;
}

.categories-list li {
flex: 0 0 auto;
}

.categories-list li h2 {
display: block;
font-size: 0.75rem;
}

.categories-list li span {
display: block;
margin: 2em 0 0;
}

.categories-list a {
display: inline-block;
padding: 0.5rem 0.8rem;
background: transparent;
border: 1px solid #d2d4d9;
border-radius: 100px;
text-decoration: none;
color: #555;
font-size: 0.75rem;
font-weight: 400;
white-space: nowrap;
}

.categories-list a:hover,
.categories-list a:focus {
background: #E81212;
color: #fff;
font-weight: 600;
outline: none;
}

.category-description {
margin: 2rem 0;
color: #111;
max-width: 98%;
}

.posts-list {
list-style: none;
padding: 0;
margin: 1.5rem 0 2rem;
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 2.5rem;
}

.post-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-item > a { display:block; }

.post-item > a:not(:has(.thumb))::before {
  content:"";
  display:block;
  width:100%;
  aspect-ratio: var(--thumb-ratio, 500 / 230);
  border-radius:6px;
  background:linear-gradient(135deg,#f7f7f7,#ddd);
  margin-bottom:12px;
}

.post-item .thumb { 
  display:block;
  width:100%;
  border-radius:6px;
  overflow:hidden;
  margin-bottom:12px;
}
.post-item .thumb img {
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}

/* Hovers (puedes mantenerlos tal cual) */
.post-item .thumb:hover { color: #E81212; text-decoration: none; }
.post-item a:hover { color: #E81212; text-decoration: underline; }
.post-item h2:hover, .post-item h3:hover { color: #E81212; text-decoration: underline; }


.featured-post-item .thumb {
aspect-ratio: 4 / 2;
overflow: hidden;
}

.featured-post-item .thumb img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.post-categories {
margin: 0.5rem 0 0.5rem 0;
}

.post-cat-link {
font-size: 0.75rem;
color: #111;
margin-right: 0.5rem;
text-decoration: none;
display: inline-block;
}

a.post-cat-link {
font-size: 0.75rem;
color: #E81212;
margin-right: 0.5rem;
display: inline-block;
}

a.post-cat-link:hover,
a.post-cat-link:focus {
text-decoration: underline;
font-weight: 600;
}

.post-item h2,
.post-item h3 {
margin: 0.75rem 0 0 0;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 700;
padding-right: 8px;
}

.post-item p {
color: #555;
font-size: 0.9rem;
margin-bottom: 0.5rem;
padding-right: 10px;
}

.post-date {
font-size: 0.75rem;
color: #666;
padding-top: 0.2rem;
float: right;
}

.pagination {
margin-bottom: 1.5rem;
display: flex;
justify-content: center;
gap: 1rem;
}

.pagination a {
color: #0073aa;
text-decoration: none;
}

.pagination a:hover,
.pagination a:focus {
text-decoration: underline;
}

.nav-links {
display: flex;
justify-content: center;
gap: 0.5rem;
margin: 0 0 2rem 0;
flex-wrap: wrap;
}

.nav-links a,
.nav-links span.page-numbers {
display: inline-block;
padding: 0.5rem 0.9rem;
font-size: 0.95rem;
text-decoration: none;
color: #111;
background: #F4F4F4;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active {
background: #E81212;
color: #fff;
font-weight: 700;
outline: none;
}

.nav-links span.page-numbers.current {
background: #E81212;
color: #fff;
font-weight: 700;
pointer-events: none;
}

.featured-posts-header {
display: flex;
margin-top: 3rem;
margin-bottom: 2rem;
padding-top: 2rem;
border-top: 1px solid #ddd;
}

.featured-posts-header h2 {
font-size: 1.8rem;
font-weight: 600;
color: #111;
margin: 0;
}

.featured-posts-grid {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 2rem;
margin-bottom: 3rem;
}

.featured-post-item {
background: #fff;
border: 1px solid #ddd;
padding: initial;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
transition: box-shadow 0.3s ease;
}

.featured-post-item:hover,
.featured-post-item:focus-within {
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.featured-post-item .post-categories a {
display: inline-block;
color: #E81212;

}

.featured-post-item .post-categories a:hover {
text-decoration: underline;
}

.featured-post-item .thumb img {
width: 100%;
height: auto;
border-radius: 6px 6px 0 0;
}

.featured-post-item h2,
.featured-post-item h3 {
font-size: 0.85rem;
line-height: 1.25;
font-weight: 600;
margin: 1rem 0 0;
padding: 0 1rem;
}

.featured-post-item h2:hover,
.featured-post-item h3:hover {
color: #E81212;
text-decoration: underline;
}

.featured-post-item .post-categories {
margin: 0.75rem 0;
padding: 0 1rem;
}

.featured-post-item p {
font-size: 0.75rem;
color: #555;
margin: 1rem;
}

.featured-post-item .post-date {
font-size: 0.75rem;
color: #555;
display: none;
}

.post-cat-link.current {
font-weight: 600;
display: inline-block;
color: #111;
cursor: default;
}

.related-categories {
display: flex;
}

.related-categories h2 {
margin-bottom: 1rem;
font-size: 1.8rem;
font-weight: 600;
color: #111;
}

.related-categories-list {
display: flex;
overflow-x: auto;
gap: 1.5rem;
justify-content:normal;
padding: 0;
margin: 0;
list-style: none;
scrollbar-width: thin;
}

.related-categories-list li {
flex: 0 0 auto;
}

.related-categories-list li span {
display: block;
margin: 2em 0 0;
}

.related-categories-list a {
display: inline-block;
padding: 0.5rem;
background: transparent;
border: 1px solid #d2d4d9;
border-radius: 6px;
text-decoration: none;
color: #555;
font-size: 0.8rem;
font-weight: 400;
white-space: nowrap;
}

.related-categories-list a:hover,
.related-categories-list a:focus {
background: #E81212;
color: #fff;
font-weight: 600;
outline: none;
}

span.ranking {
display: block;
font-style: italic;
padding-top: 5px;
font-size: 0.75rem;
}

.sidebar-sticky-faqs {
position: sticky !important;
top: 80px;
z-index: 998;
align-self: flex-start !important;
}

#FaqMenu {
display: flex;
flex-direction: column;
gap: 10px;
background: #f4f4f4;
border: 1px solid #ccc;
padding: 10px;
border-radius: 8px;
width: 100%;
}

#FaqMenu a {
text-decoration: none;
color: #111;
font-weight: 600;
padding: 8px;
transition: background 0.3s, color 0.3s;
}

#FaqMenu a:hover,
#FaqMenu a.active {
background: #F4F4F4;
color: #E81212;
text-decoration: underline;
}

#FaqMenuMovil {
display: none;
}

/* === TESTIMONIOS === */

/* Testimonios Short, Single, Archive */
#testimonios-filter,
.testimonios-filter {
margin: 1.5rem auto;
max-width: 600px;
text-align: center;
color: #111;
}

#testimonios-filter select,
.testimonios-filter select {
width: auto;
padding: 0.5rem;
font-size: 0.85rem;
border-radius: 6px;
font-weight: 600;
color: #111;
border: 1px solid #ccc;
}

.testimonios-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
margin-top: 1.5rem;
}

.testimonio-card {
background: #fff;
border: 1px solid #e1e1e1;
padding: 1.25rem;
border-radius: 8px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
max-width: 900px;
margin: 0 auto;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonio-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonio-card .testimonio-thumbnail {
overflow: hidden;
margin: 0;
}

.testimonio-card .testimonio-thumbnail img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: 50%;
}

.testimonio-card .testimonio-header {
text-align: left;
margin-left: 0.75rem;
margin-bottom: 0;
}

.testimonio-card .testimonio-header h3.testimonio-title {
font-size: 0.85rem; /* O 1rem según preferencia */
margin: 0rem;
padding-bottom: 0;
color: #111;
}

.testimonio-card .testimonio-header h3.testimonio-programa,
.testimonio-card .testimonio-header h4.testimonio-programa {
font-size: 0.85rem;
margin: 0 0 0.5rem;
font-weight: 500;
color: #111;
display: none;
}

.testimonio-card .testimonio-header h4.testimonio-programa {
margin: 0;
}

.testimonio-card .testimonio-excerpt p,
.testimonio-card .testimonio-content-toggle p {
font-size: 0.85rem;
color: #555;
font-style: normal;
margin: 0.75rem 0 0.75rem 0;
}

.testimonio-card .toggle-content-btn {
font-size: 0.85rem;
color: #111;
font-style: normal;
font-weight: 700;
text-decoration: none;
margin-right: auto;
padding-top: 15px;
cursor: pointer;
}

.testimonio-card .toggle-content-btn:hover {
color: #E81212;
}

.testimonio-card .testimonio-video {
margin-left: auto;
padding-top: 15px;
}

.testimonio-card .testimonio-video a {
color: #E81212;
font-weight: 700;
text-decoration: none;
font-size: 0.85rem;
font-style: normal;
}

.testimonio-card .testimonio-video-link a:hover {
color: #E81212;
}

#ver-mas-container,
.ver-todos-wrapper {
margin: 1.5rem auto;
text-align: center;
max-width: 100%;
}

#ver-mas-testimonios,
.ver-todos-btn {
background: #E81212;
color: #fff;
font-size: 1rem;
text-decoration: none;
font-weight: 700;
text-transform: uppercase;
padding: 0.6rem 1.25rem;
border-radius: 4px;
transition: background 0.2s ease;
cursor: pointer;
}

#ver-mas-testimonios:hover,
.ver-todos-btn:hover {
background: #111;
color: #fff;
}

.no-testimonios {
font-weight: 500;
font-size: 1rem;
text-align: center;
margin-top: 1.5rem;
}

/* Testimonios Loop (Grid, Slide) */
.testimonio-card-loop,
.testimonio-card-loop.e-con {
border: 1px solid #e1e1e1;
padding: 1.25rem;
margin: 0 auto;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonio-card-loop .elementor-widget-theme-post-excerpt,
.testimonio-card-loop.e-con .elementor-widget-theme-post-excerpt {
font-size: 0.8rem;
color: #555555;
}

.testimonio-card-loop:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonio-card-loop .video-link {
margin-top: auto;
}

.testimonio-card-loop .no-content .toggle-content-btn,
.testimonio-card-loop .no-content .testimonio-content-toggle {
display: none !important;
}

.testi-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(0, 0, 0, 0.80);
padding: 0.5rem;
z-index: 9999;
color: #fff;
max-width: 800px; 
width: 90vw; 
max-height: 85vh;
border-radius: 10px;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
display: flex;
flex-direction: column;
align-items: flex-end;
overflow: hidden;
}

.testi-popup-inner {
width: 100%;
height: 100%;
position: relative;
display: flex;
flex-direction: column;
}

.testi-popup-close {
position: absolute;
top: 5px;
right: 10px;
background: transparent;
border: none;
color: #fff;
font-size: 3rem;
cursor: pointer;
padding: 0;
line-height: 1;
transition: color 0.3s ease;
z-index: 10;
}

.testi-popup-close:hover {
color: #e81212;
}

.testi-popup-iframe {
width: 100%;
height: 75vh;
border: none;
border-radius: 6px;
flex-grow: 1;
background: #000;
}

/* === FAQS === */
.sidebar-sticky-faqs {
position: sticky !important;
top: 80px;
z-index: 998;
align-self: flex-start !important;
}

#FaqMenu {
display: flex;
flex-direction: column;
gap: 10px;
background: #f4f4f4;
border: 1px solid #ccc;
padding: 10px;
border-radius: 8px;
width: 100%;
}

#FaqMenu a {
text-decoration: none;
color: #111;
font-weight: 600;
padding: 8px;
transition: background 0.3s, color 0.3s;
}

#FaqMenu a:hover,
#FaqMenu a.active {
background: #F4F4F4;
color: #E81212;
text-decoration: underline;
}

#FaqMenuMovil {
display: none;
}

/* === RECONOCIMIENTOS === */
.recobox {
box-shadow: 0 6px 12px -6px rgba(5, 27, 44, .12), 0 8px 24px -4px rgba(5, 27, 44, .08);
justify-content: center;
display: flex;
transition: all .5s ease;
border: 1px solid #eee;
border-radius: 6px;
}

/* === CONVENIOS === */
.conv {
max-width: 1005px;
margin: 0 auto;
padding: 1rem 1.25rem 2rem;
color: #0f172a;
background: #ffffff;
border-radius: 12px;
}

.conv .search-box{ margin:.25rem 0 1rem; }
.conv .search-box input[type="text"]{
width:100%;
appearance:none;
padding:.875rem 1rem .875rem 2.5rem;
border:1px solid #e5e7eb;
border-radius:12px;
background:#fafafa
color:#0f172a;
font-weight:500;
transition: box-shadow .2s, border-color .2s, background-color .2s;
}
.conv .search-box input::placeholder{ color:#555; }
.conv .search-box input:focus{
outline:none;
border-color:#2563eb;
box-shadow:0 0 0 .25rem rgba(37,99,235,.18);
background-color:#ffffff;
}

.conv table {
width:100%;
border-collapse:separate;
border-spacing:0;
background:#ffffff;
border:1px solid #e5e7eb;
border-radius:14px;
overflow:hidden;
box-shadow:0 1px 0 rgba(0,0,0,.02), 0 8px 24px rgba(0,0,0,.04);
}
.conv thead th {
position:sticky; top:0; z-index:1;
background:#f3f4f6;
color:#555;
text-transform:uppercase;
letter-spacing:.06em;
font-size:.75rem;
font-weight:700;
border-bottom:1px solid #e5e7eb;
padding:.875rem 1rem;
}
.conv tbody td {
padding:1rem;
border-top:1px solid #e5e7eb;
vertical-align:top;
font-size: .8rem;
}
.conv tbody tr:nth-child(even) td{ background:#fafafa; }
.conv tbody tr:hover td{ background:rgba(37,99,235,.06); }

.conv tbody td:first-child{ font-weight:600; }

.conv tbody td:last-child a {
display:inline-block;
max-width:100%;
text-overflow:ellipsis;
overflow:hidden;
white-space:nowrap;
color:#2563eb;
text-decoration:none;
border-bottom:1px solid transparent;
}
.conv tbody td:last-child a:hover,
.conv tbody td:last-child a:focus{ text-decoration:underline; outline:none; }

.conv tbody td:last-child a[target="_blank"]::after{
content:"";
display:inline-block;
width:.9em; height:.9em;
margin-left:.35em;
}

.conv td:empty::before {
content:"Sin enlace";
color:#555;
font-style:italic;
}

/* === CERTIFICACIONES === */
.certitbox .elementor-widget-container {
border: 1px solid #eee;
box-shadow: 0 6px 12px -6px rgba(5, 27, 44, .12), 0 8px 24px -4px rgba(5, 27, 44, .08);
transition: all .5s ease;
}

.certitbox .elementor-image-box-wrapper {
flex-wrap: wrap;
justify-content: center;
align-items: normal;
padding-bottom: 10px;
}

.certitbox .elementor-image-box-img {
padding-bottom: 10px;
}

table.certificaciones {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}

.certificaciones td {
border: none;
padding: 1rem 0;
vertical-align: middle;
}

.certificaciones td.imgtab {
width: 11%;
}

.certificaciones img {
display: block;
height: auto;
}

/* === MOOCS === */
.elementor-widget-image-box.mooc-card .elementor-image-box-wrapper {
background:#ffffff;
border:1px solid rgba(20,20,20,.06);
border-radius:10px;
overflow:hidden;
box-shadow:0 8px 24px rgba(20,20,20,.08), 0 2px 8px rgba(20,20,20,.06);
transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
display:flex;
flex-direction:column;
position:relative;
}

.elementor-widget-image-box.mooc-card:hover .elementor-image-box-wrapper {
transform:translateY(-2px);
box-shadow:0 14px 36px rgba(20,20,20,.12), 0 6px 16px rgba(20,20,20,.08);
}

.elementor-widget-image-box.mooc-card .elementor-image-box-img img {
width:100%;
height:auto;
object-fit:cover;
transition:transform .6s ease;
}

.elementor-widget-image-box.mooc-card{ height:100%; }
.elementor-widget-image-box.mooc-card > .elementor-widget-container{ height:100%; }
.elementor-widget-image-box.mooc-card .elementor-image-box-wrapper{ height:100%; display:flex; flex-direction:column; }

.elementor-widget-image-box.mooc-card:hover .elementor-image-box-img img{ transform:scale(1.05); }

.elementor-widget-image-box.mooc-card .elementor-image-box-content {
padding:15px 20px 25px 20px;
display:flex;
flex-direction:column;
flex:1;
}

.elementor-widget-image-box.mooc-card .elementor-image-box-title {
display:-webkit-box;
-webkit-line-clamp:2; line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.elementor-widget-image-box.mooc-card .elementor-image-box-title a {
color:inherit;
text-decoration:none;
background-image:linear-gradient(currentColor,currentColor);
background-size:0% 2px;
background-position:0 100%;
background-repeat:no-repeat;
transition:background-size .25s ease;
}

.elementor-widget-image-box.mooc-card:hover .elementor-image-box-title a { background-size:100% 2px; }

.elementor-widget-image-box.mooc-card .elementor-image-box-description {
margin:0;
color:#555;
font-size:14px;
line-height:1.55;
display:-webkit-box;
-webkit-box-orient:vertical;
overflow:hidden;
}

/* === CONTACTO === */
.contactbox .elementor-widget-container {
border: 1px solid #ddd;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.contactbox .elementor-image-box-wrapper {
flex-wrap: wrap;
justify-content: center;
align-items: normal;
padding-bottom: 10px;
}

.contactbox .elementor-image-box-img {
padding-bottom: 15px;
}

/* === DOCUMENTOS === */
.docsinst .elementor-button-content-wrapper {
justify-content: normal;
align-items: center;
}

.docsinst .elementor-button {
display: flex;
width: 280px;
height: 54px; 
background-color: transparent;
border: 1px solid #ccc;
border-radius: 6px;
color: #111;
text-align: left;
padding: 5px 10px;
transition: color 0.3s ease;
}

.docsinst .elementor-button:hover {
color: #E81212;
}

.docsinst .elementor-button-icon {
font-size: 28px;
fill: #E81212;
color: red;
}

/* === FAQS === */
.faqs ul {
list-style-type: disc; 
padding-left: 1.5rem; 
margin: 1rem 0;
color: #111;
}

.faq ul li {
margin-bottom: 0.5rem;
}

.plan-acordeon details {
border-bottom: 1px solid #ddd;
transition: all 0.3s ease;
}

.plan-acordeon summary {
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5em;
position: relative;
list-style: none;
transition: background-color 0.3s ease, color 0.3s ease;
}

.plan-acordeon summary h3 {
margin: 0;
font-weight: 600;
font-size: 1em;
color: inherit;
}

.plan-acordeon summary:hover,
.plan-acordeon details[open] summary {
background-color: #E81212;
color: #fff;
}

.plan-acordeon summary:hover::after,
.plan-acordeon details[open] summary::after {
filter: brightness(0) invert(1);
}

.plan-acordeon summary::-webkit-details-marker,
.plan-acordeon summary::marker {
display: none;
}

.plan-acordeon summary::after {
content: '';
background-image: url("data:image/svg+xml,%3Csvg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14m-7-7h14' stroke='currentColor' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 16px 16px;
width: 16px;
height: 16px;
transition: all 0.3s ease;
}

.plan-acordeon details[open] summary::after {
background-image: url("data:image/svg+xml,%3Csvg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h14' stroke='currentColor' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.plan-acordeon details > div {
background-color: #F4F4F4;
padding: 1em;
font-size: 0.8em;
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease;
}

.plan-acordeon details[open] > div {
max-height: 100%;
}

.plan-acordeon details > div ul {
padding-left: 1.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
list-style: disc;
}

.plan-acordeon details > div ul li {
margin-bottom: 0.4em;
line-height: 1.5;
}

/* === ESCUELA HAB === */ 
.escuhab .e-n-accordion-item .e-n-accordion-item-title:hover .e-n-accordion-item-title-text {
color: #fff;
}

.escuhab .e-n-accordion-item .e-n-accordion-item-title:focus-visible .e-n-accordion-item-title-text,
.escuhab .e-n-accordion-item .e-n-accordion-item-title:focus-visible .e-n-accordion-item-title-icon,
.escuhab .e-n-accordion-item .e-n-accordion-item-title:focus-visible .e-n-accordion-item-title-icon i {
color: #fff;
}

/* === EXPERIENCIA === */ 
.expbox {
box-shadow: 0 6px 12px -6px rgba(5, 27, 44, .12), 0 8px 24px -4px rgba(5, 27, 44, .08);
transition: all .5s ease;
border: 1px solid rgba(5, 27, 44, 0.08);
}

/* === VIDEO POP === */ 
.video-popup {
display: none;
position: fixed;
top: 0; left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.85);
z-index: 9999;
justify-content: center;
align-items: center;
}

.video-popup.visible {
display: flex;
}

.video-popup-inner {
width: 90%;
max-width: 800px;
aspect-ratio: 16 / 9;
background: #000;
position: relative;
}

.video-iframe-wrapper {
width: 100%;
height: 100%;
}

.video-iframe-wrapper iframe {
width: 100%;
height: 100%;
border: none;
}

.video-popup-close-btn {
position: absolute;
top: -35px;
right: 0;
color: #fff;
font-size: 24px;
background: transparent;
border: none;
cursor: pointer;
z-index: 10;
}

.video-popup-close-btn:hover {
color: #E81212;
}

/* ======== BECAS ===== */

.beca-convocatoria {
display: inline-block;
margin-top: 10px;
font-size: 15px;
width: auto;
background: #fff;
color: #E81212;
border: 1px solid #E81212;
padding: 4px 8px;
font-weight: 600;
z-index: 2;
}

.beca-box {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beca-box:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.beca-box .convocatoria {
display: inline-block;
margin-top: 10px;
font-size: 12px;
width: auto;
background: transparente;
color: #E81212;
border: 1px solid #ccc;
padding: 4px 8px;
font-weight: 500;
z-index: 2;
}

.box-programa-beca {
margin: 0 0 0.75rem 0;
border-radius: 3px;
box-shadow: 0 1px 6px rgba(0,0,0,0.1);
transition: background 0.3s ease;
position: relative;
}

.box-activo {
position: relative;
overflow: hidden;
cursor: pointer;
}

.box-activo a {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
text-indent: -9999px;
}

.lista-req ol {
list-style: none;
counter-reset: item;
}

.lista-req li {
counter-increment: item;
position: relative;
margin: 0 0 0.75rem 0;
padding-left: 2.75em;
}

.lista-req li::before {
content: counter(item);
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
background: #E81212;
color: #fff;
width: 1.6em;
height: 1.6em;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2rem;
}

.lista-req-2 ul {
list-style: none; 
padding-left: 1.5em;
}

.lista-req-2 li {
margin: 0 0 0.75rem 0;
position: relative;
}

.lista-req-2 li::before {
content: '⬤';
font-weight: 700;
position: absolute;
left: -2em;
color: #E81212;
font-size: 0.5rem;
line-height: 1.5rem;
}

/* ========== SLIDE TESTIMONIOS ========== */
.summa-testimonios.testimonios-slider {
 position: relative;
 overflow: hidden;
}

.summa-testimonios .swiper-wrapper {
 display: flex;
 transition-property: transform;
}

.summa-testimonios .swiper-slide {
 flex-shrink: 0;
 width: 100%;
 box-sizing: border-box;
}

.summa-testimonios .swiper-button-prev,
.summa-testimonios .swiper-button-next {
 position: absolute;
 top: 50%;
 z-index: 10;
 width: 36px;
 height: 36px;
 color: #717171;
 border-radius: 50%;
 transform: translateY(-50%);
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
}

.summa-testimonios .swiper-button-prev {
 left: 0px;
}

.summa-testimonios .swiper-button-next {
 right: 0px;
}

.testimonios-slider .swiper-pagination {
position: relative; 
margin-top: 20px;
text-align: center;
z-index: 1;
}

.testimonios-slider .swiper-pagination-bullet {
background-color: #717171;
opacity: 1;
width: 12px;
height: 12px;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonios-slider .swiper-pagination-bullet:hover,
.testimonios-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: #E81212;
transform: scale(1.2);
}

.cta-fijo {
position: fixed;
display: block;
bottom: 0;
left: 0;
width: 100%;
background-color: #E81212;
color: #fff;
padding: 0.5rem;
font-size: 1rem;
text-transform: uppercase;
border: none;
text-align: center;
z-index: 9999;
cursor: pointer;
font-weight: bold;
box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

a.cta-fijo:hover, a.cta-fijo:focus, a.cta-fijo:visited  {
color: #fff;
opacity: 1;
}

[hidden]{ display:none !important; }

/* === FORMULARIO FOOTER === */ 
.form-footer select {
font-size: 14px;
}

.iti .iti__selected-dial-code {
font-size: 12px;
}

.form-footer select option:disabled {
color: #ccc;
font-weight: bold;
background-color: #f3f3f3;
font-style: italic;
}

.form-footer .elementor-button[type="submit"]{
cursor: pointer;
}

.form-footer .elementor-message {
font-size: .775rem;
font-weight: 500;
display: block;
}

.legal {
max-height: 40px;
overflow-y: auto;
overflow-x: hidden;
padding: 0.5rem;
border: 1px solid #d9d9d9;
background: #ddd;
color: #111;
line-height: 1;
}

.legal p {
margin: 0 0 .5rem 0;
font-size: 0.7rem;
font-weight: 600;
}

.legal ul {
margin: 0 0 .5rem 1rem;
}

.legal li {
margin: .25rem 0;
font-size: 0.7rem;
}

.legal a {
color: inherit;
font-weight: 600;
text-decoration: underline;
}

.elementor-field-group-aceptopol .elementor-field-option {
}

label[for="form-field-aceptopol"] {
color:#fff;
font-size:11px !important;
line-height:1.4;
}

.elementor-field-group-aceptopolm {
line-height:1;
}

label[for="form-field-aceptopolm"] {
font-size:10px !important;
}

#form_solicita_info .elementor-field::placeholder,
#form_solicita_info .elementor-field textarea::placeholder {
color: #111;
opacity: 1;
}

.form-footer .iti {
width: 100% !important;
}

.form-footer .iti--separate-dial-code input {
padding-left: 80px !important;
}

.form-footer .iti--separate-dial-code .iti__selected-flag,
.form-footer .iti__country-list,
.form-footer .iti__country,
.form-footer .iti__country-name {
color: #111 !important;
font-size: 13px !important;
}

/* === RESULTADOS DE BÚSQUEDA === */
.search-results .summa-title-container {
  background: #444;
}

.search-programas {
  margin: 0 auto;
  padding: 3rem 0;
}

.search-body h3 {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.search-body h3::after {
  content: "";
  display: block;
  width: 140px;
  max-width: 140px;
  height: 2px;
  background-color: #E81212;
  margin: 15px 0;
}

.programas-lista {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.programa-item {
  margin: 0.5rem 0;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid #ddd;
}

.programa-item:last-child {
  border-bottom: none;
}

.programa-titulo {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.25;
  color: inherit;
  display: inline-block;
}

.programa-titulo:hover,
.programa-titulo:focus {
  color: #E81212;
  text-decoration: underline;
}

.pagination {
  margin-top: 1rem;
}

.pagination .page-numbers {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  text-decoration: none;
}

.pagination .page-numbers.current {
  font-weight: 700;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus {
  text-decoration: underline;
}

.programas-vistos {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.85rem;
}

mark {
  padding: 0 0.08em;
  border-radius: 2px;
  background: #fff2a8;
  transition: color 0.2s ease-in-out;
}

/* ========== FOOTER ========== */
#site-footer {
background-color: #111;
color: #fff;
padding: 0;
}

#site-footer .divisor::after {
content: "";
display: block;
height: 1px;
width: 95%;
background-color: #ccc;
position: relative;
top: 0;
left: 50%;
transform: translateX(-50%);
}

#site-footer .title {
padding-bottom: 12px;
}

#site-footer .linksfoot span {
color: #ccc;
fill: #ccc;;
font-size: 12px;
line-height: 20px;
}

#site-footer .title span {
color: #fff;
font-size: 14px;
line-height: 20px;
font-weight: 700;
}

#site-footer .cv span {
color: #fff;
font-size: 12px;
line-height: 20px;
transition: fill 0.3s ease;
fill: #E81212;
}

#site-footer .copyright span {
color: #ccc;
font-size: 12px;
line-height: 20px;
}

#site-footer .menu {
list-style: none;
padding: 0;
margin: 0 auto;
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
gap: 3px;
}

#site-footer .menu li {
margin: 0;
}

#site-footer .menu a {
color: #ccc;
font-size: 12px;
text-decoration: none;
transition: color 0.3s ease;
}

#site-footer .menu a:hover {
color: #E81212;
text-decoration: underline;
}

#site-footer .footer-legal-menu .menu {
font-size: 13px;
color: #ccc;
display: flex;
flex-wrap: wrap;
list-style: none;
flex-direction: row;
padding: 0;
gap: 0;
}

#site-footer .footer-legal-menu .menu li {
position: relative;
padding: 0 10px;
}

#site-footer .footer-legal-menu .menu li:not(:first-child)::before {
content: "|";
color: #ccc;
position: absolute;
left: 0;
top: 0;
}

/* === COMIENZA RESPONSIVE === */ 

/* min-width 600px */
@media (min-width: 600px) {
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.featured-posts-grid {
grid-template-columns: repeat(2, 1fr);
}
}

/* min-width 768px */
@media (min-width: 768px) {
body.tax-tipo-estudio .hide-tax-form,
body.page-id-19891 .hide-tax-form,
body.page-id-19879 .hide-tax-form,
body.page-id-19912 .hide-tax-form,
body.page-id-19902 .hide-tax-form,
body.page-id-19843 .hide-tax-form {
display: none !important;
}

.razonesbox .elementor-widget-icon-box.elementor-vertical-align-bottom .elementor-icon-box-wrapper {
align-items: normal;
}

.rankingbox .elementor-image-box-wrapper {
flex-wrap: wrap;
justify-content: center;
align-items: normal;
}

.destacadobox.elementor-widget-icon-box.elementor-vertical-align-bottom .elementor-icon-box-wrapper {
align-items: center;
}

.admiproc .elementor-widget-icon-box.elementor-vertical-align-bottom .elementor-icon-box-wrapper {
align-items: flex-start;
}

.posts-list {
grid-template-columns: repeat(3, 1fr);
}

.bgvideo.elementor-widget-video .elementor-custom-embed-image-overlay {
background-position: initial;
background-size: auto;
background-repeat: no-repeat;
}
}

/* min-width 1024px */
@media (min-width: 1024px) {
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.2rem; }

.elementor-element[id] {
scroll-margin-top: 74px;
}

.testimonios-slider .swiper-pagination {
display: none;
}

.featured-posts-grid {
grid-template-columns: repeat(4, 1fr);
}

.cta-fijo { display:none; }

.cta-info-header-movil { display: none !important; }
.hamburger,
.mobile-backdrop,
.caret-btn,
.volver-btn,
.close-menu-fab { display: none !important; }

.main-menu > li.maestrias-dinamico > .submenu {
left: 50% !important;
max-width: 750px !important;
transform: translateX(-50%) translateY(0) scale(1) !important;
}

.escuhab.elementor-widget-testimonial-carousel .swiper-slide {
padding: 50px 70px;
}
}

@media (min-width: 1200px) {
.post-item .thumb {
aspect-ratio: auto;
height: 163px; 
}

.post-item > a:not(:has(.thumb))::before {
aspect-ratio: auto;
height: 163px;
}

.featured-post-item .thumb {
aspect-ratio: auto;
height: 119px; 
}
}

/* Responsive Max 1280 */
@media (max-width: 1280px) {
.container {
padding-inline: 30px;
}
}

/* Responsive Max 1024 */
@media (max-width:1024px) {
.custom-header {
position: relative; 
box-shadow: none;
}
.campus-top-header a {
font-size: 12px;
}

.sidebar-sticky-faqs {
position: relative !important;
top: auto;
}

#FaqMenu {
display: none !important;
}

#FaqMenuMovil {
display: block;
margin-top: 0px;
text-align: center;
background: #F4F4F4;
border-radius: 6px;
padding: 10px 10px 15px;
}

#FaqMenuMovil label {
text-align: center;
font-weight: 500;
color: #111;
}

#FaqMenuMovil select {
width: 100%;
padding: 6px;
color: #111;
margin-top: 5px;
font-size: 14px;
border-radius: 6px;
border: 1px solid #ccc;
background: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-title {
font-size: 2rem;
}

.menuprog .elementor-nav-menu--main ul {
display: flex;
flex-wrap: nowrap;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
padding: 0;
margin: 0;
list-style: none;
scrollbar-color: #c7c7c7 transparent;
scrollbar-width: thin; 
}

.menuprog .elementor-nav-menu--main ul::-webkit-scrollbar {
height: 3px;
}

.menuprog .elementor-nav-menu--main ul::-webkit-scrollbar-track {
background: transparent;
}

.menuprog .elementor-nav-menu--main ul::-webkit-scrollbar-thumb {
background-color: #c7c7c7;
border-radius: 3px;
}

.container {
padding-inline: 15px;
}

.summa-title-container > .container {
min-height: 200px;
}

.summa-page-title {
font-size: 1.5rem;
}

.summa-page-description {
font-size: 0.9rem;
}

.menuprog .elementor-nav-menu--main ul {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
padding: 0;
margin: 0;
list-style: none;
}

.menuprog .elementor-nav-menu--main ul::-webkit-scrollbar {
display: none;
}

.menuprog .elementor-nav-menu--main ul {
scrollbar-width: none;
}

.eduex img,
.eduex p {
display: flex;
justify-content: center;
}
}

/* Responsive Max 1023 */
@media (max-width: 1023px) {
    
[id] {
scroll-margin-top: var(--sticky-offset, 60px);
}

body.menu-open {
overflow: hidden;
touch-action: none;
}

.main-menu {
position: fixed;
top: 0;
left: -100vw;
bottom: 0;
width: 100vw;
padding-top: 0;
display: block !important;
background: #fff;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
z-index: 1800;
transition: left .35s cubic-bezier(.7,0,.2,1);
}

.main-menu,
.mobile-backdrop,
.mobile-backdrop.open {
top: 102px;
}

.close-menu-fab {
top: 54px;
right: 8px;
}

.main-menu.open { left: 0; }

.main-menu > li { border-bottom: 1px solid #eee; }

nav[role="navigation"] .main-menu > li > .menu-link,
nav[role="navigation"] .main-menu > li > span.menu-link {
display: block;
padding: 1.1rem 1rem 1.1rem 1.25rem;
font-size: 1rem;
line-height: 1.2;
}

.main-menu > li.has-submenu {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
}

.main-menu > li.has-submenu > .menu-link,
.main-menu > li.has-submenu > span.menu-link { grid-column: 1 / 2; }

.main-menu > li.has-submenu > .caret-btn {
grid-column: 2 / 3;
position: static !important;
right: auto;
top: auto;
transform: none;
width: 44px;
height: 44px;
margin-right: 12px;
display: inline-flex !important;
align-items: center;
justify-content: center;
}

.main-menu > li.has-submenu > .submenu { grid-column: 1 / -1; }

.submenu {
display: none !important;
position: static !important;
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
height: 0 !important;
max-height: 0;
padding: 0 !important;
gap: 0 !important;
flex-direction: column;
background: transparent !important;
box-shadow: none !important;
border-radius: 0;
opacity: 1 !important;
pointer-events: auto !important;
transform: none !important;
transition: none !important;
overflow: hidden;
}

.has-submenu.open > .submenu {
display: block !important;
height: auto !important;
max-height: none !important; /* 🔥 evita corte */
overflow: visible !important;
background: #f8fafd !important;
}

.has-submenu > .menu-link .caret { transform: rotate(90deg); }

.volver-btn { display: flex; }

.mobile-backdrop {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,.35);
opacity: 0;
pointer-events: none;
transition: opacity .25s;
z-index: 1700;
display: block !important;
}

.mobile-backdrop.open {
opacity: 1;
pointer-events: auto;
}

.close-menu-fab {
position: fixed;
z-index: 1900;
width: 24px;
height: 24px;
display: none;
align-items: center;
justify-content: center;
color: #fff;
background: #E81212;
border: none;
border-radius: 999px;
}

body.menu-open .close-menu-fab { display: inline-flex; }
.close-menu-fab:hover { color: #fff; }

.main-menu > li.maestrias-dinamico > .submenu {
position: static !important;
left: auto !important;
right: auto !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
transform: none !important;
}

.main-menu > li.maestrias-dinamico .mv-types-desktop {
padding: .25rem 1rem;
border-right: 0;
}

.main-menu > li.maestrias-dinamico .mv-types-desktop ul { display: block; }

.main-menu > li.maestrias-dinamico .mv-type-desktop {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
padding: .05rem 0;
border-bottom: 1px solid #f0f0f0;
}

.main-menu > li.maestrias-dinamico .mv-type-desktop:last-child { border-bottom: 0; }

.main-menu > li.maestrias-dinamico .mv-type-desktop a {
padding: 0;
font-size: 0.8rem;
}

.mv-type-toggle {
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
color: #111;
background: transparent;
border: none;
}

.mv-type-toggle:hover { color: #E81212; }
.mv-type-toggle svg { width: 16px; height: 16px; }

.main-menu > li.maestrias-dinamico .mv-programs-desktop {
display: none;
padding: 0 1rem 1rem;
}

.main-menu > li.maestrias-dinamico .submenu.mv-show-programs .mv-types-desktop { display: none; }
.main-menu > li.maestrias-dinamico .submenu.mv-show-programs .mv-programs-desktop { display: block; }

.mv-programs-desktop .mv-back-btn {
display: inline-flex;
align-items: center;
margin-bottom: .25rem;
padding: .5rem 0 1rem 0;
color: #111;
font-weight: 600;
background: transparent;
border: 0;
font-size: .8rem;
text-decoration: underline;
}

.submenu-col ul {
list-style: none;
margin: 0;
padding: 0;
}

.submenu-col li {
margin-bottom: 0rem;
}

.mv-programs-desktop .mv-back-btn:hover { color: #E81212; }

.mv-programs-desktop .mv-group-desktop ul li { margin-bottom: 1.2rem; }

.mv-programs-desktop .mv-group-desktop ul li a {
max-width: 100%;
font-size: .8rem;
line-height: 1.4;
word-break: break-word;
overflow-wrap: anywhere;
}

.mv-programs-desktop .mv-group-desktop .ver-todos {
width: 100%;
margin-top: .5rem;
text-align: center;
font-size: .65rem;
 padding: .5rem .25em;
}

.has-submenu.open > .submenu.megamenu-2col,
.has-submenu.open > .submenu.megamenu-3col,
.has-submenu.open > .submenu.megamenu-4col {
grid-template-columns: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: .25rem 1rem max(4.5rem, env(safe-area-inset-bottom, 0px)) !important;
}

.submenu.megamenu-2col .submenu-col,
.submenu.megamenu-3col .submenu-col,
.submenu.megamenu-4col .submenu-col {
width: 100%;
padding: .75rem 0 !important;
border-bottom: 1px solid #eee;
}

.submenu.megamenu-2col .submenu-col:last-child,
.submenu.megamenu-3col .submenu-col:last-child,
.submenu.megamenu-4col .submenu-col:last-child {
border-bottom: 0;
}

.submenu.megamenu-2col .submenu-col-title,
.submenu.megamenu-3col .submenu-col-title,
.submenu.megamenu-4col .submenu-col-title { font-size: .95rem; }

.submenu.megamenu-2col .submenu-col ul li a,
.submenu.megamenu-3col .submenu-col ul li a,
.submenu.megamenu-4col .submenu-col ul li a {
display: block;
width: 100%;
padding: .5rem 0;
}

.razonesbox .elementor-icon-box-description img {
max-width: 100px;
}
}

/* max-width 768px */
@media (max-width: 768px) {
.summa-breadcrumbs {
padding: 0.3rem 1rem;
margin-top: 0.5rem;
font-size: 0.7rem;
}

main.site-main > .blog-archive {
padding: 2rem 0 0.5rem;
}

.category-description {
margin: 0 0 1.25rem;
}

.titlescte::after {
margin: 1rem auto 1rem;
}

.related-categories h2 {
font-size: 1.25rem;
}

.related-categories-list {
justify-content: normal;
gap: 1rem;
margin: 0 0 2rem;
}

.related-posts {
margin: 3rem auto;
padding: 0 1.5rem;
}

.featured-posts {
margin: 3rem auto;
padding: 0 1.5rem;
}

.post-item h2,
.post-item h3 {
font-size: 0.9rem;
line-height: 1.15rem;
}

.related-posts h2,
.featured-posts h2 {
font-size: 1.2rem;
margin-bottom: 1.5rem;
}

.post-item p {
font-size: 0.8rem;
margin-bottom: 0rem;
}

.programa-card-list-loop .elementor-image-box-img {
display: none;
}

.programa-card-list-loop .elementor-image-box-title {
position: relative;
}

.programa-card-list-loop .elementor-image-box-description {
display: none;
}

.valores-list li {
font-size: 0.8rem;
line-height: 1.25rem;
}

.subtitprog {
display: inline;
}

.infog-list li {
font-size: 0.8rem;
line-height: 1.25rem;
}

.certperfil-content {
flex: auto;
}

.featured-posts-grid {
margin-bottom: 2rem;
}

.featured-posts-header {
margin-top: 0rem;
margin-bottom: 1rem;
padding-top: 1.5rem;
}

.featured-posts-header h2 {
font-size: 1.25rem;
}

.related-categories {
margin-top: 2rem;
}

.related-categories ul {
flex-wrap: wrap;
}

.testimonio-card {
padding: 1.2rem;
gap: 5px;
justify-content: normal;
}

.testimonio-card .testimonio-thumbnail img {
width: 60px;
height: 60px;
}

.testimonio-card .testimonio-thumbnail {
margin: 0;
}

.testimonio-card .testimonio-header {
text-align: left;
margin-bottom: 0;
}

.testimonio-card .testimonio-header h3.testimonio-title {
font-size: 0.85rem;
padding-bottom: 0;
}

.testimonio-card .testimonio-header h4.testimonio-programa {
margin: 0;
}

.video-popup-inner {
width: 95%;
aspect-ratio: 16 / 9;
}

.post-title {
font-size: 1.5rem;
}

.post-content {
margin: 3rem 1.5rem;
}

.categories-list {
display: flex;
flex-wrap: nowrap;
gap: .5rem;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
overscroll-behavior-x: contain;
touch-action: pan-x;
scrollbar-width: none;
-ms-overflow-style: none;
}

.categories-list::-webkit-scrollbar {
width: 0;
height: 0;
}

.categories-list a {
font-size: 0.75rem;
}

.post-date {
font-size: 0.7rem;
padding-top: 0.25rem;
padding-right: 0.5rem;
}

.load-more-wrapper {
margin: 2rem 0 4rem;
}

.testi-popup {
max-width: 95vw;
width: 95vw;
max-height: 80vh;
padding: 0.5rem;
border-radius: 6px;
}

.testi-popup-iframe {
height: 60vh;
border-radius: 4px;
}

.testi-popup-close {
font-size: 2rem;
top: 8px;
right: 8px;
}

.elementor-widget-loop-grid.masonry-loop .elementor-loop-container {
grid-template-columns: 1fr;
}

.elementor-widget-loop-grid.masonry-loop .e-loop-item {
grid-column: span 1 !important;
}

.programas-relacionados {
margin: 2rem0 0;
}

.programas-relacionados .container {
padding: 1.5rem 1rem;
}

.programas-relacionados h2 {
font-size: 1.1rem;
margin-bottom: 1rem;
}

.programas-relacionados h3 {
font-size: 0.75rem;
}

.programas-relacionados li {
margin-bottom: 10px;
}

.programas-relacionados ul.lista-programas {
grid-template-columns: repeat(1, 1fr);
}

.cat-prog-post {
margin: 0;
}

.cat-prog-post .container {
padding: 1.5rem 1rem;
}

.cat-prog-post-list {
display: flex;
flex-wrap: nowrap;
gap: .5rem;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
overscroll-behavior-x: contain;
touch-action: pan-x;
scrollbar-width: none;
-ms-overflow-style: none;
}

.cat-prog-post-list::-webkit-scrollbar {
width: 0;
height: 0;
}

.cat-prog-post-list a {
font-size: 0.75rem;
}

.plan-acordeon summary h3 {
font-size: 0.8em;
width: 95%;
}

.docsinst .elementor-button {
height: auto;
width: 310px;
}

.conv table, 
.conv thead, 
.conv tbody, 
.conv th, 
.conv td, 
.conv tr {
display: block;
}

.conv thead tr {
display: none;
}

.conv tbody td {
position: relative;
border-bottom: 1px solid #ddd;
font-size: 0.75rem;
min-height: 40px;
}

.conv tbody td::before {
position: absolute;
top: 0.75rem;
left: 0.75rem;
font-weight: bold;
white-space: nowrap;
}

.home .custom-image-title-box h3.title-overlay {
font-size: 0.9rem;
text-align: center;
}
}

/* Responsive Max 767 */
@media (max-width: 767px) {
  .main-menu,
  .mobile-backdrop,
  .mobile-backdrop.open {
    top: 50px;
  }

  .close-menu-fab {
    top: 12px;
    right: 12px;
  }

.beca-box .elementor-image-box-wrapper {
display: flex;
align-items: center;
gap: 8px
}

.beca-box .convocatoria {
font-size: 12px;
border: 1px solid #ff5e66;
padding: 4px 8px;
width: auto;
}

.beca-convocatoria {
display: inline-block;
font-size: 12px;
}

.tired {
font-size: 30px; 
line-height: 38px;
}

.boxinst .elementor-image-box-content {
padding: 15px;
}

.swiper-button-next,
.swiper-button-prev {
display: none;
}

.invest li {
font-size: 13px;
margin: 0 0 5px 20px;
}

.check-summa {
padding: 0 0 15px 0;
}

.check-summa li {
font-size: 13px;
}

.check-summa li::before {
font-size: 13px;
}

.contactbox .elementor-widget-container {
border: none;
box-shadow: none;
}

.contactbox .elementor-image-box-wrapper {
flex-wrap: wrap;
justify-content: center;
align-items: normal;
padding-bottom: 10px;
}

.contactbox .elementor-image-box-img {
padding-bottom: 10px;
}

.plan-acordeon summary::after {
background-size: 12px 12px;
width: 12px;
height: 12px;
}

.lista-bec ul {
margin: 0 0 1rem;
}

.certificaciones td {
vertical-align: top;
}

.certificaciones td.imgtab {
width: 20%;
padding-right: .5rem;
}

#site-footer .title {
padding-bottom: 10px;
}

#site-footer .title span {
font-size: 13px;
line-height: 18px;
}

#site-footer .menu {
gap: 0;
padding: 0;
}

#site-footer .menu a {
padding: 5px 0;
}

#site-footer .footer-legal-menu .menu {
flex-direction: column;
align-items: center;
}

#site-footer .footer-legal-menu .menu li {
position: relative;
padding: 0 10px;
}

#site-footer .footer-legal-menu .menu li:not(:first-child)::before {
display: none;
}

#site-footer.copyright {
text-align: center;
}
}

/* Responsive Max 480 */
@media (max-width: 480px) {
.summa-page-cta-button {
padding: 0.5rem;
font-size: 0.7rem;
}

.tired {
font-size: 20px; 
line-height: 28px;
}

.related-categories-list a {
padding: 0.25rem 0.5rem;
font-size: 0.8rem;
}

.site-footer .footer-inner .site-navigation ul.menu {
padding: 0 0 30px 0;
}

.site-footer .footer-inner .site-navigation ul.menu {
gap: 0px;
}

footer .site-navigation ul.menu a {
padding: 5px 0 0 0;
}

.video-popup-inner {
width: 100%;
aspect-ratio: 16 / 9;
}

.categories-list a {
padding: 0.25rem 0.5rem;
font-size: 0.7rem;
}

.post-hero {
min-height: 44vh;
}

.post-hero .container {
max-width: 100%;
left: 0rem;
}

.post-title {
font-size: 1.25rem;
padding-bottom: 1.25rem;
}

.post-meta, .post-meta span {
display: block;
}

.post-content {
margin: 3rem auto;
}

.post-content blockquote {
padding: 1.5rem;
font-size: 1rem;
line-height: 1.5rem;
}

.post-content blockquote::before {
top: -15px;
font-size: 4rem;
line-height: 1;
}

.post-content h2 {
font-size: 1.25rem;
font-weight: 700;
}

.post-content h3 {
font-size: 1.1rem;
font-weight: 600;
}

.post-content .lwptoc-transparent .lwptoc_i {
width: 100%;
}

.lwptoc_title {
font-size: 1rem;
}

.docsinst .elementor-button-icon {
font-size: 18px;
}
}

/* Responsive Min 768 Max 1024 */
@media (min-width: 768px) and (max-width: 1024px) {
.tired {
font-size: 38px; 
line-height: 44px;
}
}