html {
    scroll-behavior: smooth;
}

@media only screen and (min-width: 768px) {
    .w-auto {
        width: auto !important;
    }
}

header.wp-block-template-part,
.main-menu-sticky:not(header.wp-block-template-part .main-menu-sticky) {
    position: sticky;
    top: 0;
    z-index: 999;

}
.logged-in.admin-bar header.wp-block-template-part,
.logged-in.admin-bar .main-menu-sticky:not(header.wp-block-template-part .main-menu-sticky) {
    top: 32px;
}

/* search bar typing effect*/
.search-bar-text-effect {
    position: relative;
}
    .search-bar-text-effect .typing-effect {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        pointer-events: none;
    }
    /*.search-bar-text-effect .search-bar {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;
        width: 100%;
    }*/
    .search-bar-text-effect .wp-block-search__inside-wrapper {
        border-color: #bfbfbf;
        background-color: #fff;
    }
    .search-bar-text-effect .search-bar input {
        padding-inline: 15px;
        /*order: 1;*/
    }
    .search-bar-text-effect .search-bar button {
        /*margin-left: 0;
        margin-right: 10px;*/
        border-radius: 100%;
        padding-block: 11px;
    }
    .search-bar-text-effect .search-bar button svg,
    .search-bar-result button svg {
        fill: #fff;
        min-height: 32px;
        min-width: 32px;
    }
    .search-bar-result button {
        padding: 4px 8px;
    }

.d-none {
    display: none;
}

.logged-in.admin-bar .submenu {
    top: 80px;
}
.submenu {
    top: 48px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.13);
}
@media screen and (min-width: 769px) {
    .submenu { top: 48px}
}


.submenu ul {
    text-align: left;
}

.submenu .btn-menu a {
    display: flex;
    background: #b31d15;
    border-width: 0 ;
    color: #fff !important;
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 14px;
}

/*plugin mega menu*/
.gw-mm-item__dropdown {
    padding: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.menu-principal .gw-mm-item__link a {
    padding-left: 24px;
}
.menu-principal .gw-mm-item.has-children a {
    padding-right: 0;
}
.menu-principal .dashicons.dashicons-arrow-down {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjI5Mjg5IDQuMjkyODlDMS42ODM0MiAzLjkwMjM3IDIuMzE2NTggMy45MDIzNyAyLjcwNzExIDQuMjkyODlMNiA3LjU4NTc5TDkuMjkyODkgNC4yOTI4OUM5LjY4MzQyIDMuOTAyMzcgMTAuMzE2NiAzLjkwMjM3IDEwLjcwNzEgNC4yOTI4OUMxMS4wOTc2IDQuNjgzNDIgMTEuMDk3NiA1LjMxNjU4IDEwLjcwNzEgNS43MDcxMUw2IDEwLjQxNDJMMS4yOTI4OSA1LjcwNzExQzAuOTAyMzY5IDUuMzE2NTggMC45MDIzNjkgNC42ODM0MiAxLjI5Mjg5IDQuMjkyODlaIiBmaWxsPSIjQjMxRDE1Ii8+Cjwvc3ZnPgo=);
    background-repeat: no-repeat;
    background-position: center;
}
.menu-principal .dashicons.dashicons-arrow-down::before {
    content: '';
}

.menu-institucional .gw-mm-item__dropdown {
    display: flex;
    justify-content: right;
    background: transparent;
    box-shadow: 0 0 0 transparent !important;
}
.menu-institucional .gw-mm-item__dropdown-content {
    background: transparent;
    margin: 0;
}
.menu-institucional .gw-pm-item {
    display: block;
    width: 100%;
}

/* area estudio fix css tabs */
.link-area-estudio .wp-block-uagb-container.mm-child.uagb-block-4f3ec17e {
    background: #333;
}
.link-area-estudio .uagb-block-8134702b .uagb-tabs__panel .uagb-tab {
 background: #1D1D18;
}
.link-area-estudio .uagb-block-8134702b.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab a {
    color: #ACACAC;
}
.link-area-estudio .uagb-block-8134702b.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab.uagb-tabs__active a {
    color: #fff;
}
.link-area-estudio .uagb-block-8134702b.uagb-tabs__wrap .uagb-tabs__body-wrap {
    background: #333;
}

.menu-search {
    display: flex;
    align-items: center;
}
.modal-search-form {
    width: 100%;

}

.menu-sobre-aden .wp-block-navigation__container {
    gap: 8px;
}
.menu-sobre-aden .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.menu-sobre-aden .wp-block-navigation-item__content:focus .wp-block-navigation-item__label {
    color:#BFBFBF
}

.sidemenu .wp-block-navigation__responsive-container-open {
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    background: #b31d15;
}
.sidemenu .wp-block-navigation__responsive-container-open svg {
    fill: #fff
}

.sidemenu .wp-block-navigation__responsive-container {
    background: rgba(0,0,0,0.5);
    padding: 0;
}

.sidemenu .wp-block-navigation__responsive-close {
    background: #1D1D18;
    width: 100%;
    margin-right: 0;
}
@media screen and (min-width: 768px) {
    .sidemenu .wp-block-navigation__responsive-close {
        width: 300px;
        height: 100%;
    }
}

.sidemenu .wp-block-navigation__container {
    width: 100%;
    align-items: baseline !important;
    gap: 0 !important;
}

.sidemenu .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content {
    padding: 12px;
    line-height: 1;
}

.sidemenu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
    background: #141414 !important;
    width: 100%;
}
.sidemenu .wp-block-navigation__submenu-container.has-text-color.has-neutral-0-color.wp-block-navigation-submenu {
    padding: 4px 0;
    gap: 0;
}
.sidemenu .wp-block-navigation__submenu-container.has-text-color.has-neutral-0-color.wp-block-navigation-submenu .wp-block-navigation-item__content {
    color: #ACACAC;
    padding: 8px 20px;
    font-size: 12px;
}

.sidemenu .wp-block-navigation-item {
    align-items: baseline !important;
    width: 100%;
}

.card-faculty article {
    border: 1px solid #BFBFBF;
    border-radius: 20px;
    overflow: hidden;
}

/*.profile-gray img {
    filter: grayscale(1) !important;
}*/

.program-list .uagb-loop-container,
.ultimas-publicaciones .uagb-loop-container,
.wp-block-uagb-taxonomy-list {
    /*max-width: 50%;*/
    width: 100%;
    border: 1px solid #BFBFBF;
    border-radius: 12px;
    overflow: hidden;
}
@media screen and (min-width: 769px) {
    .program-list .uagb-loop-container {
        max-width: 50%;
    }
}
.home .program-list .uagb-loop-container,
.faculty-template .program-list .uagb-loop-container {
    max-width: 100%;
}
.program-list.full .uagb-loop-container {
    max-width: 100%;
}
    .program-list .uagb-loop-post,
    .ultimas-publicaciones .uagb-loop-post,
    .ultimas-publicaciones .wp-block-post-template {
        width: 100%;
        max-width: 100%;
        border-bottom: 1px solid #BFBFBF;
    }
        .program-list .uagb-loop-container .uagb-loop-post:last-child,
        .ultimas-publicaciones .uagb-loop-container .uagb-loop-post:last-child {
            border-bottom: 0;
        }
        .home .program-list .uagb-button__link,
        .faculty-template .program-list .uagb-button__link,
        .ultimas-publicaciones .uagb-button__link {
            text-align: left;
        }


/* listado categorias*/
.wp-block-uagb-taxonomy-list {
    margin: 0 !important;
}
    .wp-block-uagb-taxonomy-list ul {
        margin: 0 !important;
        padding: 0;
        height: 370px;
        overflow-x: auto;
    }
        .wp-block-uagb-taxonomy-list li {
            border-bottom: 1px solid #BFBFBF;
        }
        .wp-block-uagb-taxonomy-list ul li:last-child {
            border-bottom: 0;
        }
        .wp-block-uagb-taxonomy-list h3 {
            padding: 0;
            margin: 0 !important;
            font-size: 14px;
            font-weight: 700;
            font-family: 'Lato';
            color: #1D1D18;
        }
            .wp-block-uagb-taxonomy-list h3 a {
                padding: 8px 16px;
                display: block;
            }

.loop-sedes .wp-block-post,
.loop-search .wp-block-post > .wp-block-group {
    display: flex;
}
.loop-search .wp-block-post > .wp-block-group {
    height: 100%;
    flex-direction: column;
}

.loop-sedes ul .sede:nth-child(-n+3) h4 a {
    color: #b31d15 !important;
}

.loop-search img[src$=".svg"],
.carousel-destacados img[src$=".svg"] {
    width: 100px;
    height: auto !important;
    margin: 20px auto;
    display: block;
    object-fit: contain !important;
}

.carousel-destacados,
.carousel-destacados .slick-track {
    gap: 20px;
    display: flex;
}
@media screen and (min-width: 769px) {
    .carousel-destacados,
    .carousel-destacados .slick-track {
        gap: 32px;
    }
}
    .carousel-destacados img[src$=".svg"] {
        margin-inline: 16px;
    }
     .uagb-post-grid:not(.is-grid).carousel-destacados .uagb-post__inner-wrap {
        background-clip: border-box !important;
        border: 1px solid #BFBFBF;
        /*background-color: #fff;*/
        border-radius: 8px
    }

    .carousel-destacados.influencer .uagb-post__image {
        /*padding-top: 15px !important;*/
        margin: 0 -15px;
    }
    .carousel-destacados.influencer .uagb-post__image a {
        display: flex !important;
        justify-content: center !important;
    }
    /*.carousel-destacados.influencer .uagb-post__image img {
        border-radius: 50%;
        object-fit: cover;
        width: 120px;
        height: 120px;
    }*/

.social-links a[href=""] {
    display:none
}

@media screen and (min-width: 992px) {
    .featured-post,
    .featured-post div {
        height: 100%;
    }
}

.featured-list-post-magazine-home,
.featured-list-post-magazine-home .uagb-loop-container {
    height: 100%;
}
    .featured-list-post-magazine-home .uagb-loop-container {
        justify-content: space-between;
    }

/*tabs areas de estudio*/
.tab-area-estudio.uagb-tabs__wrap .uagb-tabs__body-container.uagb-tabs-body__active {
    border: 1px solid #acacac;
    border-radius: 12px;
    padding: 20px;
}

/* ocultar tab link area de estudio por error que pisa css plugin de tabs */
.page-id-12826 .link-area-estudio {
    display: none;
}

/*tabs menu*/
.uagb-block-8134702b.uagb-tabs__wrap .uagb-tabs__body-wrap {
    padding: 0 !important;
}

.single-post .entry-content.wp-block-post-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
:is(.single-post .entry-content.wp-block-post-content) :is(h2,h3,h4,h5,h6,b,strong)  {
    color: #1D1D18
}
:is(.single-post .entry-content.wp-block-post-content) :is(h1, h2, h3, h4) {
    text-wrap: balance;
}
:is(.single-post .entry-content.wp-block-post-content) :is(p) {
    text-wrap: pretty;
}
:is(.single-post .entry-content.wp-block-post-content) :is(a, a > strong)  {
    color: #b31d15
}
:is(.single-post .entry-content.wp-block-post-content) :is(li) {
    margin-bottom: 8px;
}
:is(.single-post .entry-content.wp-block-post-content) :is(img) {
    max-width: 100%;
}


/* mega menu casero */
.mm-wrap {
    position: static !important;
}
@media only screen and (max-width: 1024px) {
    .mm-wrap {
        display: none;
    }
}
.mm-parent {
    position: static !important;
    width: fit-content !important;
}
.mm-child {
    display: none !important;
    position: absolute !important;
    top: 100%;

}
.mm-parent:hover .mm-child {
    display: flex !important;
    z-index: 2;

}


/* estilos mega menu casero */
.mm-parent .mm-link/*:is(a,p:not(:has(a)))*/ {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
    justify-content: space-between;
    align-items: center;
}
.mm-parent:has( > .mm-child) .mm-link::after {
    display: flex;
    content: '';
    width: 10px;
    height: 10px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjI5Mjg5IDQuMjkyODlDMS42ODM0MiAzLjkwMjM3IDIuMzE2NTggMy45MDIzNyAyLjcwNzExIDQuMjkyODlMNiA3LjU4NTc5TDkuMjkyODkgNC4yOTI4OUM5LjY4MzQyIDMuOTAyMzcgMTAuMzE2NiAzLjkwMjM3IDEwLjcwNzEgNC4yOTI4OUMxMS4wOTc2IDQuNjgzNDIgMTEuMDk3NiA1LjMxNjU4IDEwLjcwNzEgNS43MDcxMUw2IDEwLjQxNDJMMS4yOTI4OSA1LjcwNzExQzAuOTAyMzY5IDUuMzE2NTggMC45MDIzNjkgNC42ODM0MiAxLjI5Mjg5IDQuMjkyODlaIiBmaWxsPSIjQjMxRDE1Ii8+Cjwvc3ZnPgo=);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mm-link > .uagb-heading-text a {
    font-family: inherit !important;
    font-weight: inherit !important;
}

/*lightbox sede*/
.spectra-image-gallery__control-lightbox--main .swiper-slide img {
    object-fit: contain;
}

@media only screen and (max-width: 992px) {
    .tax-categoria header .uag-hide-tab.uag-hide-mob {
        display: none;
    }
}
.home .events-container {
    padding: 32px 0;
    max-width: 1200px;
    margin-inline: auto;
}
.events-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.events-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
    .events-heading-title,
    .events-heading-title-2,
    .events-heading-description {
        text-wrap: balance;
        text-align: center;
        letter-spacing: 0;
        margin: 0;
    }
    .events-heading-title {
        font-size: 40px;
        font-weight: 400;
        line-height: 1.2;
        color: #1D1D18;
    }
    .events-heading-title-2 {
        font-size: 24px;
        font-weight: 300;
        color: #1D1D18;
    }

.list-events {
    width: 100%;
    /*max-width: 768px;
    margin-inline: auto;*/
}
    .list-events .event:first-child {
        border-top: 1px solid #BFBFBF;
    }
.event {
    display: grid;
    padding: 4px 20px;
    border-bottom: 1px solid #BFBFBF;
    transition: background 200ms ease-in-out;
}
    .event > * {
        padding: 4px 0px;
        margin: 0;
        align-self: center;
        line-height: 1.2;
        font-size: 14px;
        font-family: 'Lato', sans-serif;
        color: #666;
    }
    .event:hover {
        background-color: #f0f0f0;
    }
    .event .event-title {
        padding-left: 0;
        font-weight: 300;
        font-size: 20px;
        letter-spacing: 0;
        color: #1D1D18;
    }
        .event .event-title a {
            font-weight: 300;
            color: inherit;
        }
    .event-content {
        display: flex;
        gap: 12px;
    }
        .event-content p {
            margin: 0;
        }
    .event .event-type {
        text-transform: capitalize;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .event .event-country {
        /*font-size: 12px;*/
        text-transform: capitalize;
    }
    .event .event-link {
        padding-right: 0;
    }
    .event .event-link a {
        display: inline-block;
        /*padding: 4px 12px;*/
        color: #fff;
        /*background: #b31d15;*/
        /*border-radius: 32px;*/
        text-align: center;
        font-size: 12px;
    }
    .event .event-link a:hover,
    .event .event-link a:focus {
        /*background: #9E1B15;*/
        filter: brightness(1.2);
    }

    @media (max-width: 768px) {
        .event-title {
            padding-top: 16px;
        }
        .event-link {
            padding-bottom: 16px;
        }
    }
    @media (min-width: 769px) {
        .event {
            grid-template-columns: 60% 30% 10%
        }
        .event > * {
            padding: 12px 8px;
        }
        .event-content {
            display: grid;
            gap: 0;
            grid-template-columns: 1fr 1fr;
            text-align: center;
            align-items: center;
        }
        .event .event-type {
            flex-direction: column;
            gap: 0;
            line-height: 1.1;
            align-items: center;
        }
        .event .event-country {
            font-size: 12px;
        }
        .event .event-link {
            text-align: right;
        }
    }

/* ****************************************************************
* Related posts
******************************************************************/

.related-posts {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /*gap: 1px;*/
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    border: 1px solid #BFBFBF;
    border-radius: 12px;
    overflow: hidden;
}
    .related-posts .rp-post {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        max-width: 100%;
        width: 100%;
        padding: 12px;
        margin: 0;
        border-bottom: 1px solid #BFBFBF;
    }
    .related-posts .rp-post:last-child {
        border-bottom: 0;
    }
        .related-posts .rp-post > * {
            width: 100%;
            padding: 0;
            margin: 0;
            display: flex;
        }
        .related-posts .rp-post .rp-post-title {
            max-width: 84%;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: nowrap;
        }
            .related-posts .rp-post .rp-post-title a {
                color: #1D1D18;
                font-size: clamp(.8rem,7vw - 1rem,1rem);
                line-height: 1.2;
            }
        .related-posts .rp-post .rp-post-btn {
            max-width: 15%;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: nowrap;
        }
        .related-posts .rp-post .rp-post-btn a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #b31d15;
        }
            .related-posts .rp-post .rp-post-btn a:hover,
            .related-posts .rp-post .rp-post-btn a:focus {
                background: #9E1B15;
            }
        .related-posts .rp-post .rp-post-btn a span {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
            color: #000;
            display: block;
        }
        .related-posts .rp-post .rp-post-btn a svg {
            width: 14px;
            height: 14px;
        }

/* ****************************************************************
* Corporate
******************************************************************/

@media screen and (max-width: 768px) {
    .slider-corporate .swiper-button-next,
    .slider-corporate .swiper-button-prev {
        display: none;
    }
}

.list-bootcamps {
    height: 400px;
    overflow: hidden !important;
    overflow-y: auto !important;
}
    .list-bootcamps > div:last-child {
        border-bottom:0
    }

/* ****************************************************************
* Alumni
******************************************************************/

@media screen and (min-width: 920px) {
    .ig-grid .spectra-ig-feed {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
        .ig-grid .spectra-ig-feed > div:first-child { grid-area: 1 / 1 / 3 / 3; } 
        .ig-grid .spectra-ig-feed > div:nth-child(7) {grid-area: 2 / 4 / 4 / 6; }
    
        .ig-grid .spectra-ig-feed > div {
            border-radius: 12px;
            overflow: hidden;
        }
    .galerie > div:first-child { grid-area: 1 / 1 / 3 / 3; }
    .galerie > div:nth-child(7) {grid-area: 2 / 4 / 4 / 6; }
}

/* ****************************************************************
* PAÍS
******************************************************************/
@media screen and (min-width: 920px) {
    .galery > div:first-child { grid-area: 1 / 1 / 2 / 3; }
}

/* ****************************************************************
* MBA
******************************************************************/

.alumno-mba > div {
    width: 100%;
    height: 100%;
}
.alumno-mba figure {
    margin-top: -30px;
    height: calc(100% + 30px);
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.alumno-mba img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

.alumno-mba .uagb-slider-container {
    height: calc(100% + 30px) !important;
}
    .alumno-mba .uagb-slider-container div {
        height: 100% !important;
    }
    .alumno-mba .uagb-slider-container figure {
        margin-top: 0;
        height: 100%;
    }

.faculty-loop {
    display: flex;
    justify-content: center;
}
.faculty-loop > div {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    cursor: grab; /* Indica que el contenedor es draggable */
    scroll-behavior: smooth; /* Añade un efecto suave al desplazamiento */
}
.faculty-loop > div:active {
    cursor: grabbing; /* Cambia el cursor cuando se arrastra */
}
.faculty-loop .uagb-loop-post {
    display: flex;
    flex: 0 0 auto; /* Evita que los elementos se encojan y se mantengan en tamaño fijo */
    width: 300px !important;
    scroll-snap-align: start;
    user-select: none;
}

@media screen and (min-width: 993px) {
    .program-list.mba .uagb-loop-container {
        max-width: 78%;
        width: 390px;
    }
}

.program-list.mba .uagb-button__link {
    text-align: left;
}

/*@media screen and (min-width: 978px) {
    .wp-block-uagb-container.uagb-block-79363f3c.wp-block-uagb-container > .uagb-container-inner-blocks-wrap > .bg-div:not(.wp-block-uagb-column):not(.wp-block-uagb-section):not(.uagb-container__shape):not(.uagb-container__video-wrap):not(.uagb-slider-container):not(.spectra-image-gallery__control-lightbox) {
        width: 25% !important;
    }
}*/

/* ****************************************************************
* EBOOK
******************************************************************/

.card-ebook {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ****************************************************************
* FEATURED IMAGE SHORTCODE
******************************************************************/
.featured-image {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-height: 234px;
    margin: 0;
    aspect-ratio:16/9;
}
.featured-image img {
    object-fit: cover;
    width: 480px;
    height: 234px;
    border-radius: 12px;
    display: flex;
    max-width: 100%;
    border-radius: 12px;
    aspect-ratio:16/9;
}
@media only screen and (min-width: 768px) {
    .featured-image img {
      width: 648px;
      height: 360px;
    }
}
@media only screen and (min-width: 978px) {
    .featured-image img {
        width: 720px;
        height: 360px;
    }
}

/* ****************************************************************
* ACTIVE C. FORM
******************************************************************/
._form_3 form {
    margin: 12px 0 0 !important;
    padding: 0 !important;
}
._form_3 ._form-label {
    color: #1D1D18 !important;
}

/* ****************************************************************
* Lead FORM
******************************************************************/
.iti--fullscreen-popup.iti--container {
    z-index: 99999;
}

/* ****************************************************************
* Elige MBA
******************************************************************/
.mba-overlay-title {
    display: grid;
    grid-template-areas: "superpuesto";
    justify-content: center;
    align-items: center;
    text-align: center;
}
    .mba-overlay-title > * {
        grid-area: superpuesto;
    }
    .mba-title {
        display: grid;
        grid-template-areas:"stack";
        align-items: center;
        height: 30%;
    }
        .mba-title::before {
            content: '';
            display: block;
            width: 100%;
            height: 100%;
            background: #b31d15;
            grid-area: stack;
            mix-blend-mode: multiply;
        }
        .mba-title .uagb-heading-text {
            grid-area: stack;
            color: #fff !important;
            position: relative;
            z-index: 1;
            padding: 16px 24px;
        }

/* ****************************************************************
* FAQ
******************************************************************/
.single-plaza .uagb-faq-item[aria-expanded="true"] {
    background-color: #f0f0f0;
}

/* ****************************************************************
* FORM ACTIVE CAMPAIGN IA
******************************************************************/
#_form_67EAE30B0725D_ {
    padding: 0 !important;
    margin: 0 !important;
}
@media screen and (min-width: 1200px) {
    ._form-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 20px !important;
    }
    .sms_consent_checkbox {
        grid-column: span 2 !important;
    }
}

/* ****************************************************************
* TABLA ASIGNATURAS
******************************************************************/
.tabla-asignaturas {
    overflow-x: initial; /*importante para que sticky funcione*/
}
.tabla-asignaturas table {
    width: 100%;
    max-width: 600px;
    border: 0;
}
.tabla-asignaturas thead {
    position: sticky;
    top: 128px;
    z-index: 9;
    background: #f9f9f9ff;
}
.tabla-asignaturas tr {
    border-bottom: 1px solid #BFBFBF !important;
}
.tabla-asignaturas tr:last-child {
    border-bottom: 0 !important;
}
.tabla-asignaturas td {
    line-height: 1.2;
    padding: 0.7em;
}
.tabla-asignaturas th {
    font-weight: 500;
    color: #1D1D18;
}
/*.tabla-asignaturas th:nth-child(1),
.tabla-asignaturas td:nth-child(1) {
    padding-left: 0;
}*/
.tabla-asignaturas th:nth-child(2),
.tabla-asignaturas td:nth-child(2) {
    width: 20%;
    min-width: 100px;
    padding-right: 0;
    text-align: center;
}

/* ****************************************************************
* FILTRADO PROGRAMAS
******************************************************************/
.card-filter {
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}



.uagb-tm__desc {
padding-top:125px;
padding-right: 80px;
}

/* Tablet (ancho máximo 1024px) */
@media (max-width: 1024px) {
  .uagb-tm__desc {
    padding-top: 80px;
    padding-left: 40px;
  }
}

/* Móvil (ancho máximo 768px) */
@media (max-width: 768px) {
  .uagb-tm__desc {
    padding-top: 20px;
    padding-left: 20px;
  }
}

/* Tablet (ancho máximo 1024px) */
@media (max-width: 1024px) {
  .uagb-testimonial-details {
    padding-right: 80px;
    padding-left: 40px;
  }
}

/* Móvil (ancho máximo 768px) */
@media (max-width: 768px) {
  .uagb-testimonial-details {
    padding-left: 20px;
  }
}

body {
  overflow-x: hidden;
}

/* Contenedor de miniaturas */
.testimonial-thumbnails {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-thumb-list {
  display: flex;
  gap: 10px;
}

.testimonial-thumb-list img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
  object-fit: cover;
}

.testimonial-thumb-list img.active {
  border-color: #b71c1c;
}

/* Flechas */
.testimonial-prev,
.testimonial-next {
  background: none;
  border: 2px solid #b71c1c;
  color: #b71c1c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ocultar todos los testimonios por defecto */
.uagb-testimonial__wrap {
  display: none;
}

/* Mostrar el testimonio activo */
.uagb-testimonial__wrap.active {
  display: block;
}

.wp-block-uagb-testimonial .slick-dots,
.wp-block-uagb-testimonial button[role="tab"] {
  display: none !important;
}

.uagb-tm__desc { 
padding-top:45px; 
}

.uagb-testimonial__wrap {
  display: none;
}

.uagb-testimonial__wrap.active {
  display: flex !important;
  opacity: 1 !important;
}


.uagb-block-35d26582 .uag-tabs__body-wrap {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

div.uagb-tabs__body-container.uagb-tabs-body_active {
  padding: 0 !important;
}

.aden-hero-text {
  text-align: left;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.aden-hero-text h2 {
  font-size: 54px;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 10px;
}

.aden-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
}

.aden-cta {
  display: inline-block;
  background-color: #BB3115;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.aden-cta:hover {
  background-color: #9E1B15;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .aden-hero-text h2 {
    font-size: 36px;
  }
  .aden-hero-text p {
    font-size: 16px;
  }

}
 .aden-hero-text {
  text-align: left !important;
  margin-left: 0 !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.aden-hero-text h2,
.aden-hero-text p,
.aden-hero-text .aden-cta {
  text-align: left !important;
}

.uagb-icon-wrapper uagb-block-5f0f2dc0 mm-link {
    padding-bottom: 10px;
}

.mm-parent.user-parent .mm-link::after {
    margin-bottom: 5px;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 {
  width: 100%;
  max-width: 600px;
  height: 300px;
  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  color: #fff;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 h2 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 300;
  margin: 0 0 8px 0;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 h2 strong {
  font-weight: 700;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 .aden-cta {
  display: inline-block;
  background-color: #BB3115;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 .aden-cta:hover {
  background-color: #9E1B15;
}

.uagb-block-d1a6eab9 .aden-hero-text-600 .aden-cta {
  display: block; 
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
  .uagb-block-bb1bca25 .spectra-image-gallery__media-thumbnail-caption {
    padding: 0 !important;
  }
}

@media only screen and (max-width: 976px) { 
  .uagb-block-b742138b .spectra-image-gallery__media-thumbnail-caption {
    padding: 0 !important;
  }
}

/* Comillas decorativas en la esquina para el bloque de testimonios UAGB */
.uagb-testimonial__wrap .uagb-tm__content::after {
  content: "❞";
  font-size: 100px;
  color: white;
  position: absolute;
  top: 20px;
  right: 32px;
  z-index: 0;
  line-height: 1;
  font-family: serif;
  font-style: normal;
  opacity: 0.2;
  pointer-events: none;
}

/* Ocultar comillas en móviles */
@media (max-width: 767px) {
  .uagb-testimonial__wrap .uagb-tm__content::after {
    content: none;
  }
}

/* Estructura general */
.uagb-testimonial__wrap .uagb-tm__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Ajustes responsive sin romper estructura */
.uagb-testimonial__wrap .uagb-tm__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* Que el texto no se desborde en móvil */
.uagb-testimonial__wrap .uagb-tm__text-wrap {
  flex: 1;
  min-width: 0;
}


/* =========================
   ESTILOS MEGA MENÚ
   ========================= */

.mm-parent {
  position: static !important;
}

.mm-child {
  position: fixed !important;
  top: 66px; 
  left: 0;
  width: 100vw !important;
  background: #fff !important;
  z-index: 99999 !important;

  display: none; 
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 60px;
  overflow-y: auto;
}


.mm-parent:hover > .mm-child {
  display: flex !important;
  animation: fadeIn 0.3s ease-in-out;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Aumentar tamaño de los dots en desktop */
.uagb-slider-container .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #fff; /* color blanco, ajustalo si querés */
  opacity: 0.7;
}

.uagb-slider-container .swiper-pagination-bullet-active {
  background: #B31D15; /* color activo */
  opacity: 1;
}

/* Ocultar dots en mobile */
@media (max-width: 767px) {
  .uagb-slider-container .swiper-pagination {
    display: none !important;
  }
}

.videoPadre {
      max-width: 100vw !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important; 
}

.page-id-9819 .entry-content.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-id-9819 .videoPadre {
  width: 100% !important;
  max-width: 100% !important;
}


/* ****************************************************************
* FILTRADO PROGRAMAS
******************************************************************/
@media screen and (min-width: 769px) {
    .nav-filters {
        position: sticky;
        top: 90px;
        height: 90vh;
        overflow-y: auto !important;
    }
    .close-filters {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .nav-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        z-index: 9999;
        border-radius: 0 !important;
    }
    .nav-filters.open-filters {
        display: flex;
        overflow-y: auto !important;
    }
    .nav-filters .close-filters-x {
        background: transparent;
        border: 0;
        width: 30px !important;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .nav-filters .close-filters-x svg {
        fill: #b31d15;
    }
    .filter-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
}
.card-filter {
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}


/*
* badge lists home
*/
.badge-lists > .wp-block-uagb-container {
    width: fit-content !important;
}

.card-filter { 
overflow: hidden;
}

.wp-block-group.has-background {
padding: 0; }