/* --- ESTILOS GENERALES --- */
.cei-eventos-lista { 
    max-width: 800px; 
    margin: 0 auto; 
}

.cei-evento-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.cei-evento-thumbnail img {
    border-radius: 8px;
    width: 200px;
    height: auto;
    object-fit: cover;
}

.cei-evento-fecha {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.cei-evento-titulo {
    margin: 0 0 10px 0;
}

.cei-evento-leer-mas {
    text-decoration: none;
    font-weight: bold;
    color: #0073aa;
}

/* --- PAGINACIÓN --- */
.cei-pagination { 
    margin: 40px 0; 
    text-align: center; 
    clear: both; 
}

.cei-pagination .page-numbers {
    display: inline-flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0;
    gap: 8px;
    justify-content: center;
}

.cei-pagination a.page-numbers, 
.cei-pagination span.page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
    border-radius: 4px;
    background: #fff;
    transition: 0.2s;
}

.cei-pagination span.current { 
    background: #0073aa; 
    color: #fff; 
    border-color: #0073aa; 
}

/* --- BOTONES DE CALENDARIO (DETALLE) --- */
.cei-event-details-box {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cei-btn-cal {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    transition: 0.2s;
}

.cei-btn-cal.google:hover { 
    background: #4285F4; 
    color: #fff; 
    border-color: #4285F4; 
}

.cei-btn-cal.ical:hover { 
    background: #0073aa; 
    color: #fff; 
    border-color: #0073aa; 
}

/* --- BOTÓN VOLVER (NEGRO Y NEGRILLA) --- */
.cei-btn-back {
    transition: 0.2s;
}

.cei-btn-back:hover {
    background-color: #333 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- ELIMINAR MIGAS DE PAN (BREADCRUMBS) --- */
/* Bloqueo total de selectores de temas populares para la página de evento */
.single-cei_event .breadcrumb, 
.single-cei_event .breadcrumbs, 
.single-cei_event .entry-breadcrumb,
.single-cei_event .ast-breadcrumbs,
.single-cei_event .rank-math-breadcrumb,
.single-cei_event .woocommerce-breadcrumb,
.single-cei_event .yoast-breadcrumbs,
.single-cei_event header .site-description + nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- RESPONSIVO --- */
@media (max-width: 600px) {
    .cei-evento-item { 
        flex-direction: column; 
    }
    .cei-evento-thumbnail img { 
        width: 100%; 
    }
    .cei-pagination .page-numbers {
        gap: 5px;
    }
}
/* Estilo para el mensaje de "No hay eventos" en el calendario */
.fc-list-empty-cushion {
    font-weight: bold;
    color: #444;
    font-size: 1.1em;
    padding: 40px 0 !important;
}
/* Bloqueador específico para temas que usan contenedores de migas de pan */
.single-cei_event .ast-breadcrumb-container,
.single-cei_event .entry-header .breadcrumb {
    display: none !important;
}
/* --- TRUCO MAESTRO PARA TRADUCIR EL MENSAJE DEL CALENDARIO --- */

/* 1. Ocultamos el texto original (No events to display) */
.fc-list-empty-cushion {
    font-size: 0 !important;
}

/* 2. Inyectamos el nuevo texto en español */
.fc-list-empty-cushion::after {
    content: '¡En este rango de fechas no hay eventos para mostrar!';
    font-size: 16px !important; /* Devolvemos el tamaño de fuente */
    display: block;
    text-align: center;
    font-weight: bold;
    color: #444;
    padding: 20px;
}