/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*contacto menu*/

.contacto-menu{
    background:#144572;
}

/*economia*/
.economia .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity:1;
    background-color:#c9773e;
}
.economia:hover{
    background:#c9773e !important
    ;
    
}
.economia .elementor-item.elementor-item-active{
    background:#c9773e !important;
}
/*finanzas*/
.finanzas .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity:1;
    background-color:#cdb55b;
}
.finanzas:hover{
    background:#cdb55b !important
    ;
    
}
.finanzas .elementor-item.elementor-item-active{
    background:#cdb55b !important;
}
/*contabilidad*/
.contabilidad .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity:1;
    background-color:#86a45f;
}
.contabilidad:hover{
    background:#86a45f !important
    ;
    
}
.contabilidad .elementor-item.elementor-item-active{
    background:#86a45f !important;
}
/*data*/
.data .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity:1;
    background-color:#8a6489;
}
.data:hover{
    background:#8a6489 !important
    ;
    
}
.data .elementor-item.elementor-item-active{
    background:#8a6489 !important;
}
/*digital*/
.digital .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after{
	opacity:1;
    background-color:#6eb8d9;
}
.digital:hover{
    background:#6eb8d9 !important
    ;
    
}
.digital .elementor-item.elementor-item-active{
    background:#6eb8d9 !important;
}

.economia.current-oferta_academica-ancestor {
    background:#c9773e !important;
}

.data.current-oferta_academica-ancestor {
    background:#8a6489 !important;
}

.contabilidad.current-oferta_academica-ancestor {
    background:#86a45f !important;
}

.digital.current-oferta_academica-ancestor {
    background:#6eb8d9 !important;
}
.finanzas.current-oferta_academica-ancestor {
    background:#cdb55b !important;
}

.current-oferta_academica-ancestor a {
	color: white !important;
}

.contacto-menu a {
	color: white !important;
}

.e-n-carousel{
	padding:20px 0px !important;
}

/* Divide el contenedor en 2 columnas */
.lista-dos-columnas {
    column-count: 2;
    column-gap: 40px; /* Separación entre las dos columnas */
}

/* Evita que los puntos de la lista se partan por la mitad entre una columna y otra */
.lista-dos-columnas li {
    break-inside: avoid;
    page-break-inside: avoid; 
    margin-bottom: 15px; /* Da un respiro entre los items */
}

/* Opcional: Hacer que vuelva a ser 1 columna en móviles */
@media (max-width: 768px) {
    .lista-dos-columnas {
        column-count: 1;
    }
}

/* Fuerza la tipografía de Elementor en los párrafos del shortcode */
.oferta-texto-generado p, ul {
    color: #515151;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    margin: 0px 0px 14.4px 0px;
    line-height: 1.5; /* Elementor suele usar este o 1.6 por defecto */
}

/* Evita que el último párrafo sume margen extra innecesario al final */
.oferta-texto-generado p:last-child {
    margin-bottom: 0;
}

/* estilos carrusel de profesores landing */

.img-profesor-carrusel { 
            width: 120px !important; 
            height: 120px !important; 
            min-width: 120px !important;
            min-height: 120px !important;
            max-width: 120px !important;
            max-height: 120px !important;
            border-radius: 50% !important; 
            object-fit: cover !important;
            object-position: center !important;
            margin: 0 auto 15px auto !important; 
            display: block !important; 
            background-color: #f4f6f7; 
            transition: transform 0.3s ease; 
        }
        .swiper-slide a:hover .img-profesor-carrusel { transform: scale(1.05); }
        .titulo-profesor-carrusel { 
            color: #133a6b; 
            font-size: 16px; 
            font-weight: 700; 
            margin: 0 0 5px 0;  
            
            /* Forzar línea única y puntos suspensivos */
            text-overflow: ellipsis !important;
            display: block !important;
            width: 100% !important;
        }
        .copete-profesor-carrusel { 
            color: #666666; 
            font-size: 14px; 
            margin: 0; 
            line-height: 1.4; 
        }
        .swiper-profesores .swiper-pagination-bullet { background-color: #cccccc; opacity: 1; }
        .swiper-profesores .swiper-pagination-bullet-active { background-color: #000000; }

/* estilos pasos inscripción */

        .pa-wrapper { font-family: sans-serif; max-width: 1000px; margin: 0 auto; color: #333; }
        .pa-subtitle { font-size: 14px; font-weight: bold; color: #103c68; text-transform: uppercase; margin-bottom: 5px; }
        .pa-title { font-size: 28px; color: #103c68; margin-top: 0; margin-bottom: 20px; font-weight: bold; }
        .pa-desc-text { font-size: 16px; color: #555; margin-bottom: 30px; line-height: 1.5; }
        
        /* Estilos del Carrusel */
        .pa-swiper-container { padding-top: 20px; position: relative; }
        
        /* Barra de progreso de Swiper */
        .swiper-pagination-progressbar { background: #ccc !important; height: 3px !important; top: 0 !important; }
        .swiper-pagination-progressbar-fill { background: #103c68 !important; }
        
		/* === AJUSTE EQUAL HEIGHT Y ANCHO COMPLETO === */
		.swiper-slide {
			height: auto !important; /* Permite que el slide tome la altura del elemento más alto */
			display: flex; /* Convierte el slide en un contenedor flex */
			justify-content: center; /* Centra el contenido horizontalmente por si acaso */
		}

		.pa-card {
			background: #fff;
			border: 1px solid #e0e0e0;
			border-radius: 8px;
			padding: 20px 10px;
			text-align: center;
			width: 99%; /* Obliga a la tarjeta a ocupar todo el ancho del slide */
			height: 100%; /* Obliga a la tarjeta a estirarse al 100% de la altura de su padre (.swiper-slide) */
			box-sizing: border-box;
			box-shadow: 0 4px 6px rgba(0,0,0,0.02);
			display: flex; 
			flex-direction: column; /* Organiza el contenido en columna */
			align-items: center; /* Centra los elementos internamente */
		}
        
        .pa-step-number {
            width: 40px; height: 40px; background: #103c68; color: #fff; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto;
            font-size: 18px; font-weight: bold;
            flex-shrink: 0; /* Evita que el círculo se achique */
        }
        .pa-step-title { font-size: 18px; font-weight: bold; color: #444; margin-bottom: 10px; margin-top: 0;}
        .pa-step-desc { font-size: 14px; color: #666; line-height: 1.4; margin: 0; }
        
        /* Flechas */
        .swiper-button-next::after, .swiper-button-prev::after { font-size: 20px; color: #e0e0e0; }

/* estilos acordeon preguntas frecuentes */
.faq-wrapper { font-family: 'Arimo', sans-serif; max-width: 1000px; margin: 0 auto; color: #333; }
        .faq-subtitle { font-size: 14px; font-weight: bold; color: #103c68; text-transform: uppercase; margin-bottom: 5px; }
        .faq-title { font-size: 28px; color: #103c68; margin-top: 0; margin-bottom: 30px; font-weight: bold; }
        
        .faq-accordion-item {
            border-bottom: 1px solid #eaeaea;
        }
        
        .faq-accordion-header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
            font-size: 18px;
            font-weight: bold;
            color: #111;
        }
        
        /* Efecto hover de color azul eliminado */

        .faq-icon {
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .faq-accordion-content-wrapper {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.3s ease;
        }
        
        .faq-accordion-content {
            overflow: hidden;
        }
        
        .faq-accordion-inner {
            padding-bottom: 20px;
            font-size: 16px;
            color: #515151; /* Color extraído de la captura */
            line-height: 1.6;
            margin-bottom: 14.4px; /* Margen inferior extraído de la captura */
        }

        .faq-accordion-item.active .faq-accordion-content-wrapper {
            grid-template-rows: 1fr;
        }
        
        .faq-accordion-item.active .faq-icon {
            transform: rotate(180deg);
        }

	.faq-accordion-header:hover, .faq-accordion-header:focus {
			background-color:transparent!important;
			color: black !important;
		}

#presentacion, #plan-de-estudios, #docentes, #admision, #testimonios, #faq {
    scroll-margin-top: 80px !important; 
}

/*proximos inicios home**/

        .umpe-pi-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
        .umpe-pi-filter-btn {
            background: #fff; border: 1px solid #e0e0e0; padding: 8px 16px; border-radius: 20px;
            cursor: pointer; font-size: 14px; font-weight: 600; color: #333;
            display: flex; align-items: center; gap: 8px; transition: all 0.3s ease;
        }
        .umpe-pi-filter-btn.active { background: #154572; color: #fff; border-color: #154572; }
        .umpe-pi-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
        
        .umpe-pi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
        .umpe-pi-card {
            background: #fff; border: 1px solid #eef0f2; border-top-width: 4px; border-top-style: solid;
            padding: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; border-radius:8px;
        }
        .umpe-pi-area-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 15px; display: flex; align-items: center; gap: 6px; font-family:'Poppins',sans-serif; text-transform:uppercase;}
        .umpe-pi-card:hover, .umpe-oferta-card:hover{
	transform: translateY(-5px);
	transition: transform 0.3s ease-in-out; 
}
        /* Estilos modificados para el título con enlace */
        .umpe-pi-title { font-size: 17px; margin: 0 0 20px 0; font-weight: 700; line-height: 1.3; }
        .umpe-pi-title a { color: #154572; text-decoration: none; transition: color 0.2s ease; }
        .umpe-pi-title a:hover { color: #003366; } /* Cambia de color al pasar el mouse */
        
        .umpe-pi-details { list-style: none; padding: 0; margin: 0 0 15px 0; border-top: 1px solid #eee; padding-top: 15px; flex-grow: 1; }
        .umpe-pi-details li { font-size: 13px; color: #555; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
        .umpe-pi-details li strong { font-weight: 600; }
        .umpe-pi-details svg { opacity: 0.5; }
        .umpe-pi-link { color: #003366; text-decoration: none; font-weight: 700; font-size: 14px; transition: color 0.2s; }
        .umpe-pi-link:hover { color: #001f3f; text-decoration: underline; }

/** estilos shortcodeofertas **/

       /* ==========================================================
   GRILLA DE OFERTAS ACADÉMICAS (4 COLUMNAS)
   ========================================================== */
.umpe-ofertas-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Aquí forzamos las 4 columnas exactas */
    gap: 20px; 
    margin-top: 20px; 
}

.umpe-oferta-card { 
    display: flex; 
    flex-direction: column; 
    background: #fff; 
    border-radius: 4px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.umpe-oferta-img-wrapper { 
    display: flex; 
    width: 100%; 
    padding: 20px; /* Padding interior para alejar el PNG de los bordes */
    aspect-ratio: 16/9; /* Mantiene la proporción rectangular */
    justify-content: center; 
    align-items: center; 
    text-decoration: none; 
}

.umpe-oferta-img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.umpe-oferta-content { 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.umpe-oferta-title { 
    font-size: 18px; 
    font-weight: 700; 
    margin: 0 0 15px 0; 
    line-height: 1.3; 
    color: #003366; 
}

.umpe-oferta-title a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.2s ease; 
}

.umpe-oferta-title a:hover { 
    color: #0073aa; /* Azul un poco más claro al pasar el mouse */
}

.umpe-oferta-details { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    color: #444; 
}

.umpe-oferta-details li { 
    font-size: 13px; 
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.umpe-oferta-details svg {
    opacity: 0.6;
    flex-shrink: 0; /* Evita que el icono se achique si el texto es muy largo */
}

/* ==========================================================
   ADAPTACIÓN RESPONSIVA (TABLETS Y MÓVILES)
   ========================================================== */
@media (max-width: 1024px) {
    .umpe-ofertas-grid {
        grid-template-columns: repeat(2, 1fr); /* Baja a 2 columnas en Tablets */
    }
}

@media (max-width: 650px) {
    .umpe-ofertas-grid {
        grid-template-columns: 1fr; /* Baja a 1 columna en Celulares */
    }
}

/**profesores de umpe */

        .acordeon-profesores-wrapper { font-family: inherit; width: 100%; margin: 0 auto; }
        .area-seccion { margin-bottom: 30px; }
        .area-titulo { color: #fff !important; padding: 12px 20px; margin: 0; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; }
        
        .oferta-item { border-bottom: 1px solid #e5e5e5; }
        .oferta-item:last-child { border-bottom: none; }
        
        .oferta-acordeon-btn { width: 100%; text-align: left; background: #fff; font-family: "Poppins", sans-serif;border: none; padding: 18px 20px; font-size: 1.15rem; font-weight: 700; color: #004b79; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
        .oferta-acordeon-btn:hover { background: #fafafa; color:#154573; }
        .oferta-acordeon-btn:focus { outline: none; }
        
        .acordeon-icon { display: flex; align-items: center; transition: transform 0.3s ease; }
        .oferta-item.activo .acordeon-icon { transform: rotate(180deg); }
        
        .oferta-acordeon-contenido { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; background: #fff; }
        
        .profesor-ficha { display: flex; padding: 25px 20px; border-top: 1px dashed #e0e0e0; gap: 25px; align-items: flex-start; }
        .profesor-ficha:first-child { border-top: none; }
        
        .profesor-foto { flex-shrink: 0; }
        /* Controlamos que si no hay foto real, no se vea un cuadro gris roto */
        .profesor-foto img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; display: block; background-color: #f0f0f0; }
        .profesor-foto img[src^="data:"] { opacity: 0; } 
        
        .profesor-info { flex: 1; }
        .profesor-nombre { margin: 0 0 8px 0; color: #004b79; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
        .profesor-linkedin-icon { display: inline-flex; align-items: center; transition: opacity 0.2s; }
        .profesor-linkedin-icon:hover { opacity: 0.8; }
        
        .profesor-desc { margin: 0; font-size: 0.95rem; color: #444; line-height: 1.6; }
        .profesor-desc p { margin-top: 0; margin-bottom: 10px; }
        .profesor-desc p:last-child { margin-bottom: 0; }
        
        @media (max-width: 600px) {
            .profesor-ficha { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
            .profesor-nombre { justify-content: center; }
        }

/* ==========================================================
   PROGRAMAS RELACIONADOS (SHORTCODE)
   ========================================================== */
.umpe-rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas por defecto para escritorio */
    gap: 20px;
}

.umpe-rel-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #eef0f2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
}
.elementor-heading-title.elementor-size-default{
	color:#154572 !important;
}
.umpe-rel-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px); /* Pequeño efecto de elevación al pasar el mouse */
}

.umpe-rel-area {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.umpe-rel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.umpe-rel-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.4;
    flex-grow: 1; /* Empuja la línea de color y los metadatos hacia abajo si los títulos tienen diferente altura */
}

.umpe-rel-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    font-weight: 500;
}

.umpe-rel-line {
    height: 3px;
    width: 100%;
    border-radius: 2px;
    margin-top: auto; /* Se asegura de quedar siempre al fondo de la tarjeta */
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .umpe-rel-grid {
        grid-template-columns: 1fr; /* Pasa a 1 columna en pantallas pequeñas */
    }
}

/* ==========================================================
   MEGA LISTADO DE OFERTAS ACADÉMICAS
   ========================================================== */
.umpe-mega-listado-wrapper {
    margin-bottom: 50px;
}

.umpe-mega-titulo {
    font-size: 28px;
    font-weight: 800;
    color: #003366; /* Azul de tu marca */
    margin: 60px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f2;
}

/* El primer título no necesita tanto margen superior */
.umpe-mega-listado-wrapper .umpe-mega-titulo:first-child {
    margin-top: 0;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #003366;
}

.testimonios-profesores-video-container iframe{
  width:100% !important;
  height:auto !important;
  aspect-ratio:9/16;
  display:block;
  border:0;
}

.testimonios-profesores-video-principal .testimonios-profesores-video-container{
  max-width:320px;
  margin:0 auto;
}