/* ================================================================================================================================================================= */
/* ===================================================================== ESTILOS PERSONALIZADOS ==================================================================== */
/* ================================================================================================================================================================= */





/* ================================ COLORES PERSONALIZADOS ================================ */
:root {
  --it-common-white: #ffffff;
  --it-common-black: #1F2432;
  --it-common-black-2: #313537;
  --it-common-brown: #272422;
  --it-common-brown-2: #4e3d32;
  --it-common-brown-3: #b48a67;
  --it-common-yellow: #fff2bb;
  --it-common-yellow-2: #ffd500;
  --it-common-yellow-3: #fff6d4;
  --it-heading-primary: #0C121D;
  --it-gray-1: #F0F4F5;
  --it-gray-2: #D9D9D9;
  --it-gray-3: #F5F7F9;
  --it-gray-4: #FFF8F4;
  --it-text-body: #6C757D;
  --it-theme-1: #030230;
  --it-theme-2: #fff0bc;
  --it-theme-3: #e2a570;
  --it-theme-4: #618269;
  --it-theme-5: #FE8235;
  --it-theme-6: #CD935A;
  --it-theme-7: #4fd1c5;
}







/* ================================ ESPACEADO ================================ */


/* =========================
   MARGIN TOP
========================= */
.mt-0 {margin-top: 0 !important;}
.mt-5 {margin-top: 5px !important;}
.mt-10 {margin-top: 10px !important;}
.mt-15 {margin-top: 15px !important;}
.mt-20 {margin-top: 20px !important;}
.mt-25 {margin-top: 25px !important;}
.mt-30 {margin-top: 30px !important;}
.mt-35 {margin-top: 35px !important;}
.mt-40 {margin-top: 40px !important;}
.mt-45 {margin-top: 45px !important;}
.mt-50 {margin-top: 50px !important;}
.mt-55 {margin-top: 55px !important;}
.mt-60 {margin-top: 60px !important;}
.mt-65 {margin-top: 65px !important;}
.mt-70 {margin-top: 70px !important;}
.mt-75 {margin-top: 75px !important;}
.mt-80 {margin-top: 80px !important;}
.mt-85 {margin-top: 85px !important;}
.mt-90 {margin-top: 90px !important;}
.mt-95 {margin-top: 95px !important;}
.mt-100 {margin-top: 100px !important;}


/* =========================
   MARGIN BOTTOM
========================= */
.mb-0 {margin-bottom: 0 !important;}
.mb-5 {margin-bottom: 5px !important;}
.mb-10 {margin-bottom: 10px !important;}
.mb-15 {margin-bottom: 15px !important;}
.mb-20 {margin-bottom: 20px !important;}
.mb-25 {margin-bottom: 25px !important;}
.mb-30 {margin-bottom: 30px !important;}
.mb-35 {margin-bottom: 35px !important;}
.mb-40 {margin-bottom: 40px !important;}
.mb-45 {margin-bottom: 45px !important;}
.mb-50 {margin-bottom: 50px !important;}
.mb-55 {margin-bottom: 55px !important;}
.mb-60 {margin-bottom: 60px !important;}
.mb-65 {margin-bottom: 65px !important;}
.mb-70 {margin-bottom: 70px !important;}
.mb-75 {margin-bottom: 75px !important;}
.mb-80 {margin-bottom: 80px !important;}
.mb-85 {margin-bottom: 85px !important;}
.mb-90 {margin-bottom: 90px !important;}
.mb-95 {margin-bottom: 95px !important;}
.mb-100 {margin-bottom: 100px !important;}


/* =========================
   MARGIN LEFT
========================= */
.ml-0 {margin-left: 0 !important;}
.ml-5 {margin-left: 5px !important;}
.ml-10 {margin-left: 10px !important;}
.ml-15 {margin-left: 15px !important;}
.ml-20 {margin-left: 20px !important;}
.ml-25 {margin-left: 25px !important;}
.ml-30 {margin-left: 30px !important;}
.ml-35 {margin-left: 35px !important;}
.ml-40 {margin-left: 40px !important;}
.ml-45 {margin-left: 45px !important;}
.ml-50 {margin-left: 50px !important;}
.ml-55 {margin-left: 55px !important;}
.ml-60 {margin-left: 60px !important;}
.ml-65 {margin-left: 65px !important;}
.ml-70 {margin-left: 70px !important;}
.ml-75 {margin-left: 75px !important;}
.ml-80 {margin-left: 80px !important;}
.ml-85 {margin-left: 85px !important;}
.ml-90 {margin-left: 90px !important;}
.ml-95 {margin-left: 95px !important;}
.ml-100 {margin-left: 100px !important;}


/* =========================
   MARGIN RIGHT
========================= */
.mr-0 {margin-right: 0 !important;}
.mr-5 {margin-right: 5px !important;}
.mr-10 {margin-right: 10px !important;}
.mr-15 {margin-right: 15px !important;}
.mr-20 {margin-right: 20px !important;}
.mr-25 {margin-right: 25px !important;}
.mr-30 {margin-right: 30px !important;}
.mr-35 {margin-right: 35px !important;}
.mr-40 {margin-right: 40px !important;}
.mr-45 {margin-right: 45px !important;}
.mr-50 {margin-right: 50px !important;}
.mr-55 {margin-right: 55px !important;}
.mr-60 {margin-right: 60px !important;}
.mr-65 {margin-right: 65px !important;}
.mr-70 {margin-right: 70px !important;}
.mr-75 {margin-right: 75px !important;}
.mr-80 {margin-right: 80px !important;}
.mr-85 {margin-right: 85px !important;}
.mr-90 {margin-right: 90px !important;}
.mr-95 {margin-right: 95px !important;}
.mr-100 {margin-right: 100px !important}


/* =========================
   MARGIN TOP + BOTTOM
========================= */
.mtb-0 {margin-top: 0 !important; bottom: 0 !important;}
.mtb-5 {margin-top: 5px !important; bottom: 5px !important;}
.mtb-10 {margin-top: 10px !important; bottom: 10px !important;}
.mtb-15 {margin-top: 15px !important; bottom: 15px !important;}
.mtb-20 {margin-top: 20px !important; bottom: 20px !important;}
.mtb-25 {margin-top: 25px !important; bottom: 25px !important;}
.mtb-30 {margin-top: 30px !important; bottom: 30px !important;}
.mtb-35 {margin-top: 35px !important; bottom: 35px !important;}
.mtb-40 {margin-top: 40px !important; bottom: 40px !important;}
.mtb-45 {margin-top: 45px !important; bottom: 45px !important;}
.mtb-50 {margin-top: 50px !important; bottom: 50px !important;}
.mtb-55 {margin-top: 55px !important; bottom: 55px !important;}
.mtb-60 {margin-top: 60px !important; bottom: 60px !important;}
.mtb-65 {margin-top: 65px !important; bottom: 65px !important;}
.mtb-70 {margin-top: 70px !important; bottom: 70px !important;}
.mtb-75 {margin-top: 75px !important; bottom: 75px !important;}
.mtb-80 {margin-top: 80px !important; bottom: 80px !important;}
.mtb-85 {margin-top: 85px !important; bottom: 85px !important;}
.mtb-90 {margin-top: 90px !important; bottom: 90px !important;}
.mtb-95 {margin-top: 95px !important; bottom: 95px !important;}
.mtb-100 {margin-top: 100px !important; bottom: 100px !important}


/* =========================
   MARGIN ALL SIDES
========================= */
.m-0 {margin: 0 !important;}
.m-5 {margin: 5px !important;}
.m-10 {margin: 10px !important;}
.m-15 {margin: 15px !important;}
.m-20 {margin: 20px !important;}
.m-25 {margin: 25px !important;}
.m-30 {margin: 30px !important;}
.m-35 {margin: 35px !important;}
.m-40 {margin: 40px !important;}
.m-45 {margin: 45px !important;}
.m-50 {margin: 50px !important;}
.m-55 {margin: 55px !important;}
.m-60 {margin: 60px !important;}
.m-65 {margin: 65px !important;}
.m-70 {margin: 70px !important;}
.m-75 {margin: 75px !important;}
.m-80 {margin: 80px !important;}
.m-85 {margin: 85px !important;}
.m-90 {margin: 90px !important;}
.m-95 {margin: 95px !important;}
.m-100 {margin: 100px !important}




/* =========================
   PADDING TOP
========================= */
.pt-0 {padding-top: 0 !important;}
.pt-5 {padding-top: 5px !important;}
.pt-10 {padding-top: 10px !important;}
.pt-15 {padding-top: 15px !important;}
.pt-20 {padding-top: 20px !important;}
.pt-25 {padding-top: 25px !important;}
.pt-30 {padding-top: 30px !important;}
.pt-35 {padding-top: 35px !important;}
.pt-40 {padding-top: 40px !important;}
.pt-45 {padding-top: 45px !important;}
.pt-50 {padding-top: 50px !important;}
.pt-55 {padding-top: 55px !important;}
.pt-60 {padding-top: 60px !important;}
.pt-65 {padding-top: 65px !important;}
.pt-70 {padding-top: 70px !important;}
.pt-75 {padding-top: 75px !important;}
.pt-80 {padding-top: 80px !important;}
.pt-85 {padding-top: 85px !important;}
.pt-90 {padding-top: 90px !important;}
.pt-95 {padding-top: 95px !important;}
.pt-100 {padding-top: 100px !important;}


/* =========================
   PADDING BOTTOM
========================= */
.pb-0 {padding-bottom: 0 !important;}
.pb-5 {padding-bottom: 5px !important;}
.pb-10 {padding-bottom: 10px !important;}
.pb-15 {padding-bottom: 15px !important;}
.pb-20 {padding-bottom: 20px !important;}
.pb-25 {padding-bottom: 25px !important;}
.pb-30 {padding-bottom: 30px !important;}
.pb-35 {padding-bottom: 35px !important;}
.pb-40 {padding-bottom: 40px !important;}
.pb-45 {padding-bottom: 45px !important;}
.pb-50 {padding-bottom: 50px !important;}
.pb-55 {padding-bottom: 55px !important;}
.pb-60 {padding-bottom: 60px !important;}
.pb-65 {padding-bottom: 65px !important;}
.pb-70 {padding-bottom: 70px !important;}
.pb-75 {padding-bottom: 75px !important;}
.pb-80 {padding-bottom: 80px !important;}
.pb-85 {padding-bottom: 85px !important;}
.pb-90 {padding-bottom: 90px !important;}
.pb-95 {padding-bottom: 95px !important;}
.pb-100 {padding-bottom: 100px !important;}


/* =========================
   PADDING LEFT
========================= */
.pl-0 {padding-left: 0 !important;}
.pl-5 {padding-left: 5px !important;}
.pl-10 {padding-left: 10px !important;}
.pl-15 {padding-left: 15px !important;}
.pl-20 {padding-left: 20px !important;}
.pl-25 {padding-left: 25px !important;}
.pl-30 {padding-left: 30px !important;}
.pl-35 {padding-left: 35px !important;}
.pl-40 {padding-left: 40px !important;}
.pl-45 {padding-left: 45px !important;}
.pl-50 {padding-left: 50px !important;}
.pl-55 {padding-left: 55px !important;}
.pl-60 {padding-left: 60px !important;}
.pl-65 {padding-left: 65px !important;}
.pl-70 {padding-left: 70px !important;}
.pl-75 {padding-left: 75px !important;}
.pl-80 {padding-left: 80px !important;}
.pl-85 {padding-left: 85px !important;}
.pl-90 {padding-left: 90px !important;}
.pl-95 {padding-left: 95px !important;}
.pl-100 {padding-left: 100px !important;}


/* =========================
   PADDING RIGHT
========================= */
.pr-0 {padding-right: 0 !important;}
.pr-5 {padding-right: 5px !important;}
.pr-10 {padding-right: 10px !important;}
.pr-15 {padding-right: 15px !important;}
.pr-20 {padding-right: 20px !important;}
.pr-25 {padding-right: 25px !important;}
.pr-30 {padding-right: 30px !important;}
.pr-35 {padding-right: 35px !important;}
.pr-40 {padding-right: 40px !important;}
.pr-45 {padding-right: 45px !important;}
.pr-50 {padding-right: 50px !important;}
.pr-55 {padding-right: 55px !important;}
.pr-60 {padding-right: 60px !important;}
.pr-65 {padding-right: 65px !important;}
.pr-70 {padding-right: 70px !important;}
.pr-75 {padding-right: 75px !important;}
.pr-80 {padding-right: 80px !important;}
.pr-85 {padding-right: 85px !important;}
.pr-90 {padding-right: 90px !important;}
.pr-95 {padding-right: 95px !important;}
.pr-100 {padding-right: 100px !important;}


/* =========================
   PADDING ALL SIDES
========================= */
.p-0 {padding: 0 !important;}
.p-5 {padding: 5px !important;}
.p-10 {padding: 10px !important;}
.p-15 {padding: 15px !important;}
.p-20 {padding: 20px !important;}
.p-25 {padding: 25px !important;}
.p-30 {padding: 30px !important;}
.p-35 {padding: 35px !important;}
.p-40 {padding: 40px !important;}
.p-45 {padding: 45px !important;}
.p-50 {padding: 50px !important;}
.p-55 {padding: 55px !important;}
.p-60 {padding: 60px !important;}
.p-65 {padding: 65px !important;}
.p-70 {padding: 70px !important;}
.p-75 {padding: 75px !important;}
.p-80 {padding: 80px !important;}
.p-85 {padding: 85px !important;}
.p-90 {padding: 90px !important;}
.p-95 {padding: 95px !important;}
.p-100 {padding: 100px !important;}














/* ================================ HEADER ================================ */

.it-header-height {
    height: auto;
}



.it-header-logo img {
    max-height: 80px !important;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .it-header-logo img {
        max-height: 45px;
    }
}



/* ================================ FOOTER ================================ */
.text-footer {
    background-color: rgba(248, 249, 250, 0.8); 
    padding: 15px 15px 3px 15px; 
    margin-bottom: 20px; 
    border-radius: 20px;
}





/* ================================ ASIDE (MENU - NOTICIAS RECIENTES) ================================ */
.custom-side-menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-side-menu .menu li {
    border-bottom: 1px solid #eee;
    position: relative;
}

.custom-side-menu .menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.custom-side-menu .menu a:hover {
    background: #f5f5f5;
    color: var(--it-theme-1);
}

/* SUBMENU */
.custom-side-menu .menu li ul {
    list-style: none;
    margin: 0;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
}

.custom-side-menu .menu li.active > ul {
    max-height: 300px;
}

/* flecha */
.custom-side-menu .has-sub > a::after {
    content: "▸";
    position: absolute;
    right: 15px;
    transition: transform 0.3s;
}

.custom-side-menu .has-sub.active > a::after {
    transform: rotate(90deg);
}



/* ================================ ICONOS ================================ */
.icon-1 {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
}


.icon-s {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 8px;
}

.icon-m {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
}

.icon-l {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 8px;
}




/* ================================ BG BANNER AREA ================================ */

.bg-dark {
    position: relative;
    z-index: 1;
}


.it-breadcrumb-thumb {
    width: 100%;
    height: 400px; /* altura fija del contenedor */
    overflow: hidden;
}

.it-breadcrumb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 clave */
    object-position: center; /* puedes ajustar foco */
}


/* overlay oscuro */
.bg-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85); /* ajusta la intensidad aquí */
    z-index: -1;
}


.bg-banner {
    position: relative;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* overlay */
.bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* contenido */
.bg-content {
    position: relative;
    color: #fff;
    padding: 20px;
    max-width: 800px;

    text-align: left; /* 🔥 ESTE ES EL CAMBIO CLAVE */
}

/* título */
.bg-title {
    color: var(--it-common-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* texto */
.bg-text {
    color: var(--it-gray-2);
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* responsive */
@media (max-width: 768px) {
    .bg-title {
        font-size: 1.8rem;
    }

    .bg-text {
        font-size: 1rem;
    }

    .bg-banner {
        min-height: 250px;
    }
}







/* ================================ TABLA ================================ */

.it-directorio-table table {
    width: 100%;
    border-collapse: collapse;
}

.it-directorio-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.it-directorio-table tr td:first-child {
    font-weight: 500;
    color: #333;
}

.it-directorio-table tr td:last-child {
    color: var(--it-theme-1);
    font-weight: 500;
}

.it-directorio-table tr:hover {
    background-color: var(--it-common-yellow-3);
}






/* ================================ PARTER AREA ================================ */

.partner-area {
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* oscurecer mejor el fondo sin inline style */
.partner-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.92));
    z-index: 0;
}

/* contenido encima del overlay */
.partner-area .container {
    position: relative;
    z-index: 1;
}

/* título */
.site-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--it-common-yellow-2);
    opacity: 0.9;
}


.site-heading span.category  {
    color: var(--it-theme-1);
    border: solid 1px var(--it-common-yellow-2);
    border-radius: 30px;
    background-color: var(--it-common-yellow-3);
    padding: 4px 12px;
}

.site-heading img {
    width: 28px;
    height: 28px;
}

/* título principal */
.site-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.site-title .color-2 {
    color: var(--it-common-yellow-2); /* puedes cambiarlo a tu color institucional */
}

/* GRID DE PARTNERS */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

/* cada logo */
.partner-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

/* imagen */
.partner-grid img {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* hover */
.partner-grid a:hover {
    transform: translateY(-6px);
    border-color: var(--it-common-yellow-2);
    background: var(--it-common-black-2);
}

.partner-grid a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 1.7rem;
    }
}




/* ================================ DIRECTIVOS ================================ */

.no-overlay::after {
    display: none !important;
}


/* ================================ MURAL CORPORACION AREA ================================ */

.it-course-style-3 .it-course-thumb img {
    max-height: 400px;
    width: auto;
}







/* ================================ PUBLICACIONES (COLUMNAS DE OPINION/CONVENIOS/NOTICIAS) ================================ */

.img-contain {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 🔥 clave */
}


/* ultimas noticias */
.it-shop-widget-content h5 a:hover {
    color: var(--it-common-brown-3);
}


.it-blog-meta span:last-child {
    display: inline-block;
    max-width: 180px; /* ajusta según diseño */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}


.it-testimonial-item {
    min-height: 450px;
}

.it-shop-widget-thumb {
    width: 120px;   /* o el tamaño que uses normalmente */
    min-width: 120px;
    border: none;
}

.it-shop-widget-thumb img {
    width: 100%;
    height: auto;
}


