/* RESET Y VARIABLES */
:root {
    --rojo: #e1010c;
    --negro-suave: #1a1d23; /* Un gris muy oscuro, mucho más elegante que el negro */
    --gris-texto: #4b5563; /* Gris para el cuerpo de texto */
    --gris-claro: #f3f4f6;
    --primary-red: #e1010c;
    --dark-blue: #010207;
    --light-gray: #f4f4f4;
    --white: #ffffff;
}

/* Aplicamos Inter a TODO para que no haya contrastes chocantes */
html, body, p, span, h1, h2, h3, h4, .modern-h2, a {
    font-family: 'Inter', sans-serif !important;
    color: var(--negro-suave);
    -webkit-font-smoothing: antialiased; /* Suaviza el renderizado de la fuente */
}

/* Títulos: Menos grosor y letras más juntas (Look Moderno) */
h1, h2, h3, h4 {
    font-weight: 600 !important; /* Bajamos de 800 a 600 */
    letter-spacing: -0.02em !important; /* Letras un pelín más juntas */
    line-height: 1.2;
}

/* BARRA SUPERIOR */
.top-bar { background: var(--negro-suave); padding: 8px 0; font-size: 13px; }
.contact-links { display: flex; justify-content: flex-end; gap: 20px; }
.contact-links a { color: #ccc; text-decoration: none; transition: 0.3s; }
.contact-links a:hover { color: var(--rojo); }

/* HEADER PRINCIPAL */
.header-main  
{
    position: relative; /* Fundamental para que el menú absoluto se posicione bien */
    z-index: 9999;      /* Elevamos todo el header por encima del contenido */
    
    background: white; border-bottom: 2px solid #eee; padding: 15px 0; 
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-container img { height: 65px; width: auto; }



/* Ocultamos el checkbox físicamente siempre */
#menu-check {
    display: none;
}

/* Solo en móvil (max-width: 992px o similar) */
@media (max-width: 992px) {
    .menu-abrir {
        display: block; /* Mostramos el icono hamburguesa */
        font-size: 28px;
        cursor: pointer;
        color: var(--negro-suave);
    }

    .nav-links {
        display: none; /* Menú oculto por defecto en móvil */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 10000;     /* Un número mayor que cualquier otro elemento */
        flex-direction: column;
        padding: 20px;
        border-top: 3px solid var(--rojo);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* EL "TRUCO": Si el checkbox está marcado, mostramos el menú */
    #menu-check:checked ~ .nav-links {
        display: flex !important;
    }

    /* Ajuste para los enlaces en móvil */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links li a {
        padding: 15px 0;
        width: 100%;
    }
}




/* LISTA DE ENLACES */
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; gap: 5px; }
.nav-links li a { 
    padding: 10px 15px; 
    text-decoration: none; 
    color: var(--negro-suave); 
    font-weight: 600;
    font-size: 15px;
    display: block;
}
.nav-links li a:hover { color: var(--rojo); }

/* SUBMENÚS (Hover funcional) */
.dropdown-item { position: relative; }
.submenu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: white; 
    min-width: 220px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    border-radius: 8px; 
    border-top: 3px solid var(--rojo);
    display: none; /* Oculto por defecto */
    padding: 10px 0;
    z-index: 1000;
}
.submenu li a { font-weight: 400; font-size: 14px; }
.dropdown-item:hover .submenu { display: block; } /* Mostrar al pasar ratón */

/* Limpieza radical para los submenús en escritorio */
.nav-links .submenu {
    list-style: none !important; /* Adiós puntos */
    margin: 0 !important;
    padding: 10px 0 !important;
    display: none; /* Se muestra con el hover que ya tienes */
}

.nav-links .submenu li {
    list-style: none 

!important;
    padding: 0;
    margin: 0;
}

.nav-links .submenu li a {
    padding: 10px 20px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: var(--negro-suave) !important;
    display: block;
    transition: 0.3s;
    white-space: nowrap; /* Evita que el texto salte de línea */
}

/* Efecto hover en los elementos del submenú */
.nav-links .submenu li a:hover {
    background-color: var(--gris-claro);
    color: var(--rojo) !important;
    padding-left: 25px !important; /* Pequeño desplazamiento lateral */
}







/* BOTÓN ÁREA FAMILIAS */
.cta-familias a { 
    background: var(--rojo) !important; 
    color: white !important; 
    border-radius: 50px; 
    padding: 10px 25px !important;
    margin-left: 10px;
}

/* RESPONSIVE (Móvil) */
#menu-check, .menu-abrir { display: none; }

@media (max-width: 992px) {
    .menu-abrir { display: block; font-size: 25px; cursor: pointer; color: var(--negro-suave); }
    .nav-links { 
        position: absolute; top: 100%; left: 0; width: 100%; background: white; 
        flex-direction: column; display: none; padding: 20px; border-bottom: 2px solid var(--rojo);
    }
    #menu-check:checked ~ .nav-links { display: flex; }
    .submenu { position: static; box-shadow: none; border: none; padding-left: 20px; display: block; }
}


/* Footer Modernizado */
#fh5co-footer {
    background: var(--dark-blue) !important;
    padding: 70px 0 30px !important;
}

#fh5co-footer h3 {
    color: var(--white) !important;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

#fh5co-footer .fh5co-footer-links li a {
    color: rgba(255,255,255,0.7) !important;
}

#fh5co-footer .fh5co-footer-links li a:hover {
    color: var(--primary-red) !important;
}

/* Iconos del footer */
#fh5co-footer i.fa {
    color: var(--primary-red) !important; /* Cambiamos el naranja por tu rojo */
}


/* --- ESTILO PARA DESTACADOS (litDes) --- */
.fh5co-event {
    background: white;
    border-radius: 

12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: flex; /* Alineamos fecha y texto */
    gap: 15px;
}

.fh5co-event:hover { transform: translateY(-5px); }

.fh5co-event .date {
    background: var(--primary-red) !important;
    border-radius: 8px;
    min-width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    padding: 5px;
}

.fh5co-event h4 a {
    color: var(--dark-text) !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
    text-decoration: none;
}







/* FOOTER RADICAL */
.footer-radical {
    background: #0b0c10; /* Casi negro para contraste radical */
    color: #e0e0e0;
    padding: 

80px 0 30px;
    margin-top: 50px;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-logo {
    height: 60px;
    /*filter: brightness(0) invert(1); /* Logo en blanco para el fondo oscuro */
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.contact-card-modern a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: 0.3s;
}

.contact-card-modern i {
    color: var(--rojo);
    margin-right: 10px;
    width: 20px;
}

.footer-links-section h4, 
.footer-news-section h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-section ul { list-style: none; padding: 0; }
.footer-links-section ul li { margin-bottom: 12px; }
.footer-links-section ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links-section ul li a:hover { color: var(--rojo); padding-left: 5px; }

/* Estilo para los Badges de categorías (litCatnoti) */
.footer-badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges li a {
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-badges li a:hover { background: var(--rojo); }

/* BOTTOM BAR */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 12px;
    color: #666;
}

.legal-links a { color: #666; margin-right: 15px; text-decoration: none; }
.legal-links a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
}



/* CONTENEDOR DE NOTICIAS */
.noticias-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-noticia-moderna {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.card-noticia-moderna:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(225, 1, 12, 0.1);
    border-color: rgba(225, 1, 12, 0.2);
}

/* Títulos de noticias */
.noticia-header h3 a {
    font-size: 21px !important;
    color: var(--negro-suave) !important;
    transition: color 0.2s ease;
}

.noticia-header h3 a:hover {
    color: var(--rojo) !important;
}

/* Subtítulos y fechas */
.noticia-subt, .meta-info {
    font-size: 13px !important;
    color: #9ca3af !important; /* Gris suave */
    font-weight: 500;
}

/* Imagen */
.noticia-img { margin: 20px 0; overflow: hidden; border-radius: 12px; }
.noticia-img img { 
    width: 100%; 
    height: auto; 
    transition: transform 0.5s ease;
}
.card-noticia-moderna:hover .noticia-img img { transform: scale(1.03); }

/* Texto de la noticia (Cuerpo) */
.noticia-extracto {
    font-size: 15px !important;
    color: var(--gris-texto) !important; /* Gris oscuro en lugar de negro */
    font-weight: 400;
    line-height: 1.6;
}

/* Meta y Botón */
.noticia-meta-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-info { display: flex; gap: 20px; color: #999; font-size: 13px; }
.meta-info i { color: var(--rojo); }

/* AJUSTE PARA ENLACES DE DESCARGA EN HOVER */

.btn-leer-mas {
    background: #f8f9fa;
    color: var(--negro-suave);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-leer-mas:hover {
    background: var(--rojo) !important;
    color: white !important;
    text-decoration: none !important; /* Refuerzo para evitar subrayado */
}

/* Cuando el botón está en hover, el icono dentro de él pasa a blanco */
.btn-leer-mas:hover i {
    color: white !important;
}

/* Opcional: si quieres que el icono de descarga (el pequeño) también sea blanco */
.btn-leer-mas:hover .fa-download {
    opacity: 1 !important;
    color: white !important;
}




/* WIDGETS LATERALES (Destacados) */
.card-destacado-lateral {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 

12px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.card-destacado-lateral:hover {
    border-color: var(--rojo);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* El cuadro del calendario */
.fecha-badge {
    background: #f8f9fa;
    border-radius: 10px;
    min-width: 60px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.fecha-badge .dia {
    font-size: 20px;
    font-weight: 800;
    color: var(--negro-suave);
    line-height: 1;
}

.fecha-badge .mes {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--rojo);
    font-weight: 700;
}

/* Info del texto */
.destacado-info h4 { margin: 0 0 5px 0; line-height: 1.3; }
.destacado-info h4 a {
    color: var(--negro-suave);
    font-size: 15px;
    text-decoration: none;
    font-weight: 700;
}

.destacado-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.link-simple {
    font-size: 12px;
    color: var(--rojo);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
}

.link-simple i { font-size: 10px; margin-left: 5px; }

/* Video en el lateral */
.video-destacado {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}



/* Espaciado en la columna lateral */
.side-content {
    padding-right: 30px; /* Separación con la columna principal */
}

.section-header-sm, .section-header {
    margin-bottom: 35px; /* Espacio debajo del título "Últimas Noticias" */
}

/* FUERZA BRUTA PARA CATEGORÍAS LATERALES */
.side-content .footer-badges li a {
    background-color: #f8f9fa !important; /* Gris muy claro */
    color: #1a1d23 !important;           /* Negro suave (tu variable --negro-suave) */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 

10px 15px !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

/* Estado HOVER (al pasar el ratón) */
.side-content .footer-badges li a:hover {
    background-color: #e1010c !important; /* Rojo principal */
    color: #ffffff !important;           /* Blanco */
    border-color: #e1010c !important;
}

/* Estilo del numerito (badge) */
.side-content .footer-badges li a .badge {
    background-color: #eee !important;
    color: #e1010c !important;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
}

.side-content .footer-badges li a:hover .badge {
    background-color: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
}




/* CONTACTO MODERNO */
.contacto-section {
    padding: 60px 0;
    background: #fdfdfd;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 

400px 1fr; /* Columna fija para info y mapa flexible */
    gap: 40px;
    align-items: start;
}

.contacto-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 30px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #fef2f2; /* Rojo muy pálido */
    color: var(--rojo);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.info-text span, .info-text a {
    color: var(--negro-suave);
    font-size: 15px;
    text-decoration: none;
}

/* El mapa ahora es elegante */
.map-container {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 5px solid white;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .contacto-wrapper { grid-template-columns: 1fr; }
    .map-container { height: 300px; }
}






/* PRESENTACIÓN Y BIENVENIDA */
.presentacion-container { padding: 40px 0; background: #fafafa; }

.bienvenida-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    max-width: 900px;
    margin: 0 auto 60px;
}

.texto-presentacion p {
    font-size: 

17px;
    line-height: 1.8;
    color: var(--gris-texto);
    margin-bottom: 20px;
    text-align: justify;
}

.firma-junta { margin-top: 40px; padding-top: 20px; border-top: 1px dashed #eee; }
.nombre-firma { color: var(--rojo); font-weight: 700; font-size: 18px; }

/* REJILLA DE LA JUNTA */
.section-title-modern { margin-bottom: 40px; font-weight: 700; color: var(--negro-suave); }

.junta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.perfil-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.perfil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--rojo);
}

.perfil-card.principal {
    background: #fff;
    border-bottom: 4px solid var(--rojo); /* Destacamos cargos principales */
}

.cargo {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 10px;
}

.perfil-card h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
    color: var(--negro-suave);
}

.socio { font-size: 13px; color: #bbb; font-style: italic; }

@media (max-width: 600px) {
    .bienvenida-card { padding: 30px 20px; }
}








/* CONTENEDOR PRINCIPAL */
.extraescolares-main-container { padding: 60px 0; background: #fcfcfc; }

.card-hero-text {
    background: white;
    padding: 

40px;
    border-radius: 24px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.02);
}

.p-destacado {
    font-size: 18px;
    color: var(--rojo);
    font-weight: 500;
    margin-bottom: 25px;
}

.cuerpo-texto p {
    color: var(--gris-texto);
    line-height: 1.8;
    margin-bottom: 15px;
}

.rounded-img {
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* GRID DE SERVICIOS (DASHBOARD) */
.title-sidebar {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 4px solid var(--rojo);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas de botones */
    gap: 15px;
}

.card-servicio {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none !important;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-servicio i {
    font-size: 24px;
    color: var(--rojo);
    margin-bottom: 12px;
}

.card-servicio span {
    font-size: 13px;
    font-weight: 600;
    color: var(--negro-suave);
}

.card-servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--rojo);
}

/* Botón destacado */
.card-servicio.destacada {
    background: var(--rojo);
    border: none;
}
.card-servicio.destacada i, .card-servicio.destacada span {
    color: white !important;
}

@media (max-width: 768px) {
    .grid-servicios { grid-template-columns: 1fr; }
}






/* CONTENEDOR CUADRO */
.cuadro-container { padding: 40px 0 80px; background: #f9fafb; }

.header-action { margin-bottom: 

30px; display: flex; justify-content: flex-end; }

.btn-volver {
    text-decoration: none !important;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-volver:hover { color: var(--rojo); }

/* TARJETA DEL DOCUMENTO */
.document-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.document-info { text-align: center; margin-bottom: 40px; }
.document-info p { color: #6b7280; margin-top: 10px; }

/* BOTÓN DESCARGA MODERNO */
.btn-download-modern {
    display: inline-flex;
    align-items: center;
    background: #1a1d23; /* Negro suave */
    color: white !important;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none !important;
    margin-top: 25px;
    transition: all 0.3s ease;
    text-align: left;
}

.btn-download-modern:hover {
    background: var(--rojo);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 1, 12, 0.2);
}

.download-icon { font-size: 28px; margin-right: 15px; }
.download-text span { display: block; font-size: 11px; text-transform: uppercase; opacity: 0.8; }
.download-text strong { font-size: 15px; }

/* VISUALIZADOR TIPO NAVEGADOR */
.image-viewer-modern {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.viewer-header {
    background: #f3f4f6;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot { width: 8px; height: 8px; background: #ddd; border-radius: 50%; }
.viewer-title {
    margin-left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}

.image-viewer-modern img { width: 100%; border-top: 1px solid #eee; }






/* Estilo específico para la página activa del buscador/pager */
.active-page {
    background: var(--rojo) !important;
    color: white !important;
    border-color: var(--rojo) !important;
    cursor: default;
}

.pagination-wrapper .btn-leer-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 

40px;
    height: 40px;
    padding: 0 15px;
    margin: 0 2px;
}






/* Quitamos los puntos de la lista que genera ASP.NET */
.custom-chk-list, 
.custom-chk-list ul {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-chk-list li {
    list-style: none !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Espaciado para el texto al lado del check */
.custom-chk-list label {
    margin-left: 10px;
    cursor: pointer;
    font-weight: 400;
    color: var(--gris-texto);
    font-size: 14px;
    display: inline-block;
}

/* Color del checkbox moderno */
.custom-chk-list input[type="checkbox"] {
    accent-color: var(--rojo);
    width: 17px;
    height: 17px;
    cursor: pointer;
}






/* Estilo para las Tarjetas de Actividades */
.price-box {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    transition: all 

0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%; /* Para que todas midan lo mismo en la misma fila */
}

.price-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #337ab7;
}

/* Títulos y textos dentro de la tarjeta */
.pricing__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.callout-info {
    background-color: #f4f7f9 !important;
    border-left: 4px solid #337ab7;
    padding: 12px;
    margin: 15px 0;
    font-size: 0.85em;
    color: #555;
}

/* Estilo para los Dropdowns (Selects) */
.conFgris {
    height: 45px !important;
    border: 2px solid #eee !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease;
}

.conFgris:focus {
    border-color: #337ab7 !important;
    outline: 0;
}

/* Estilo para la lista de Checkbox (Días) */
.chkCss label {
    font-weight: normal;
    margin-left: 8px;
    cursor: pointer;
}

.chkCss input[type="checkbox"] {
    cursor: pointer;
    transform: scale(1.2);
}

/* Botón Aplicar Filtros */
.btn-primary {
    background: #337ab7;
    border: 2px solid #337ab7;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #286090;
    border-color: #286090;
}




/* Estilo para los botones del paginador */
.pagination-container .btn {
    margin: 0 2px;
    border-radius: 4px;
}

.pagination-container .btn-primary.active {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
}






/* Estilo para las tablas de Precios y Horarios */
.table {
    border-radius: 8px;
    overflow: hidden;
    border: 

1px solid #eee;
}

.table thead th {
    background-color: #337ab7;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    border: none !important;
}

/* Badges (Insignias) más modernas */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.badge-info { background-color: #337ab7; }
.badge-danger { background-color: #d9534f; }
.badge-success { background-color: #5cb85c; }

/* Cajas laterales de Inscripción */
.task {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    background: #fff;
    margin-bottom: 20px;
}

.priority {
    padding: 10px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    text-align: center;
    color: white;
}

.priority.low { background-color: #5cb85c; } /* Abierta */
.priority.high { background-color: #d9534f; } /* Cerrada */

/* Ajuste del cuadro de descripción */
.desc-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.date {
    display: inline-block;
    background: #337ab7;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
    margin-right: 15px;
    float: left;
}
.day { font-size: 24px; font-weight: bold; line-height: 1; }
.month { font-size: 12px; text-transform: uppercase; }

.meta h3 { margin: 0; line-height: 1; }
.meta + p { margin: 0; color: #888; font-weight: bold; text-transform: uppercase; font-size: 11px; }

/* Limpiar flotados */
.grid-categories div { clear: both; overflow: hidden; }

/* Estilo para que el TextBox de descripción no parezca un input */
.desc-limpia {
    border: none !important;
    background: transparent !important;
    font-family: inherit;
    font-size: 16px;
    color: #555;
    resize: none;
    padding: 0;
    line-height: 1.6;
}



/* Lista de cursos en el detalle */
.lista-cursos li {
    font-size: 14px;
    display: block;
    padding: 5px 0;
    border-bottom: 

1px dashed #eee;
}

.lista-cursos li:last-child {
    border-bottom: none;
}

.lista-cursos i {
    margin-right: 10px;
    font-size: 16px;
    color: #337ab7; /* Azul a juego con el resto */
}

/* Ajuste para que los bloques de fecha no se pisen */
.fecha-item {
    clear: both;
    display: block;
    padding: 10px 0;
}




/* Tarjeta principal */
.detail-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.main-img { width: 100%; max-height: 400px; object-fit: cover; }
.desc-box { padding: 

30px; font-size: 16px; line-height: 1.8; }

/* Bloques de información (Grilla) */
.info-block { background: #f9f9f9; padding: 20px; border-radius: 8px; height: 100%; border: 1px solid #eee; }
.info-block h4 { color: #337ab7; margin-bottom: 15px; border-bottom: 2px solid #337ab7; display: inline-block; }

/* Sidebar de acción */
.action-sidebar { background: #fff; padding: 25px; border-radius: 12px; border: 1px solid #eee; position: sticky; top: 20px; }
.registration-box.open { background: #e8f5e9; padding: 20px; border-radius: 8px; text-align: center; margin-bottom: 20px; }
.registration-box h3 { color: #2e7d32; margin-top: 0; font-weight: bold; }

/* Grilla de plazas (Horizontal) */
.stats-grid { display: flex; gap: 10px; margin-bottom: 20px; }
.stat-item { flex: 1; background: #333; color: #fff; padding: 10px; text-align: center; border-radius: 6px; }
.stat-item span { display: block; font-size: 10px; text-transform: uppercase; opacity: 0.8; }
.stat-item strong { font-size: 18px; }

/* Mini calendarios corregidos */
.mini-calendar-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }


.action-sidebar { background: #fcfcfc; padding: 20px; border: 1px solid #eee; border-radius: 8px; }
.status-box { padding: 15px; border-radius: 6px; text-align: center; margin-bottom: 20px; }
.status-box.open { background: #eef9ee; border: 

1px solid #c3e6cb; }
.status-box.closed { background: #f2dede; border: 1px solid #ebccd1; }
.label-status { font-weight: bold; font-size: 12px; letter-spacing: 1px; }

.stats-container { margin-bottom: 20px; background: #fff; border: 1px solid #eee; border-radius: 6px; }
.stat-row { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid #f9f9f9; font-size: 13px; }
.stat-row.highlight { background: #fff5f5; font-weight: bold; }
.stat-value { font-weight: bold; color: #333; }

.block-title { font-size: 16px; border-bottom: 2px solid #337ab7; padding-bottom: 8px; margin-bottom: 15px; color: #337ab7; }
.info-block { background: #fff; padding: 15px; border: 1px solid #eee; border-radius: 8px; height: 100%; }
.program-download { padding: 15px; background: #f8f9fa; border-bottom: 1px solid #eee; }




/* --- ESTILOS PARA HORARIOS (hour-tag) --- */
.hour-tag {
    background: #f8f9fa;
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid #337ab7;
    font-size: 14px;
    color: #444;
}

.hour-tag strong {
    color: #333;
    display: inline-block;
    width: 80px; /* Alinea los nombres de los días */
}

.hour-tag small {
    display: block;
    color: #888;
    margin-top: 2px;
    font-style: italic;
    margin-left: 84px; /* Alinea el lugar debajo de la hora */
}

/* --- AJUSTE PARA EL CONTENEDOR DE BLOQUES --- */
.info-block {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateY(-3px);
}



.status-bar-horizontal {
    display: flex;
    background: #222; /* Un negro más profundo */
    color: #ffffff 

!important; /* Texto siempre blanco */
    padding: 20px 15px;
    justify-content: space-around;
    align-items: center;
    border-bottom: 3px solid #337ab7; /* Línea decorativa azul */
}

.stat-box {
    text-align: center;
}

.stat-box i {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: #5bc0de; /* Azul cian brillante para que destaque en el negro */
}

.stat-box span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd; /* Gris muy clarito para las etiquetas */
}

.stat-box strong {
    font-size: 20px;
    color: #ffffff; /* Los números en blanco puro */
    display: block;
    margin-top: 2px;
}

/* El cuadro de PLAZAS LIBRES - Ahora es el protagonista */
.stat-box.highlight {
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px dashed #5bc0de;
}

.stat-box.highlight strong {
    color: #f0ad4e; /* Color oro/naranja vibrante para captar la atención */
    font-size: 24px;
}

.stat-box.highlight span {
    color: #f0ad4e;
    font-weight: bold;
}



/* Contenedor total */
.price-tag {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden; /* Importante para que el diseño no se escape */
    box-shadow: 

0 4px 6px rgba(0,0,0,0.02);
}

/* Parte superior (Ya te gustaba) */
.price-main {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 2px solid #337ab7;
    font-size: 28px;
    font-weight: bold;
    color: #337ab7;
}

/* Parte inferior (La que fallaba) */
.price-sub-container {
    padding: 15px;
    background: #fff;
}

.price-sub {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
    font-weight: 600;
}

.price-footer {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
    display: block;
}

.price-footer i {
    width: 18px;
    color: #337ab7;
}





/* Listas personalizadas para documentos legales */
.custom-list {
    padding-left: 25px;
    margin-top: 15px;
}

.custom-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 5px;
}

/* Listas tipo A, B, C... */
.custom-list.alpha {
    list-style-type: upper-alpha;
    color: #555;
}

/* Listas tipo 1, 2, 3... */
.custom-list.decimal {
    list-style-type: decimal;
    font-weight: 600; /* Resalta el punto principal */
    color: #333;
}

.custom-list.decimal li {
    margin-bottom: 25px;
}

/* Sub-listas dentro de un artículo */
.inner-list {
    font-weight: normal;
    margin-top: 10px;
    color: #666;
}

.inner-list li {
    margin-bottom: 8px;
}

/* Separador elegante entre secciones grandes */
.doc-divider {
    margin: 60px 0;
    border: 0;
    border-top: 1px solid #eee;
    position: relative;
}

.doc-divider::after {
    content: "§";
    position: absolute;
    top: -15px;
    left: 50%;
    background: #fff;
    padding: 0 15px;
    color: #ccc;
    font-size: 20px;
}




/* Tarjeta de Introducción */
.cookie-intro-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid #337ab7;
    margin-bottom: 40px;
}

/* Ítems de la política */
.cookie-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.cookie-item h4 {
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.cookie-item h4 i {
    margin-right: 15px;
    font-size: 24px;
}

/* Lista personalizada */
.custom-check-list {
    list-style: none;
    padding-left: 0;
}

.custom-check-list li {
    padding: 8px 0;
    color: #555;
}

.custom-check-list li i {
    color: #5cb85c;
    margin-right: 10px;
}

/* Iconos de Navegadores */
.fa-chrome { color: #4285F4; }
.fa-firefox { color: #E66000; }
.fa-safari { color: #00AEEF; }
.fa-edge { color: #0078D7; }




/* Tarjeta principal de Privacidad */
.privacy-card {
    background: #fff;
    padding: 

35px;
    border-radius: 12px;
    border-left: 6px solid #337ab7;
    margin-bottom: 30px;
}

.card-title {
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.card-title i { margin-right: 10px; color: #337ab7; }

/* Listado de checks */
.privacy-list { list-style: none; padding: 0; }
.privacy-list li { margin-bottom: 10px; color: #666; font-size: 15px; }
.privacy-list li i { color: #5cb85c; margin-right: 8px; }

/* Bloques de detalle (Grid) */
.detail-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    height: 100%;
}

.detail-box h5 {
    color: #337ab7;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.detail-box p { font-size: 14px; margin-bottom: 0; color: #555; }



