/* CARRUSEL CON ESTILOS ORIGINALES */
.ce-carrusel {
    padding: 20px 0;
    background-color: rgba(36, 55, 72, 1);
}

.ce-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
    padding: 0 15px;
}

/* TARJETA CON ESTILOS ORIGINALES PERO MÁS COMPACTA */
.ce-event-item {
    flex: 0 0 calc(50% - 7.5px);
    min-width: 0;
    border-radius: 5px;
    padding: 15px;
    margin: 5px 0;
    font-size: small;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    height: 320px; /* Altura fija para consistencia */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* APLICAR ESTILOS ORIGINALES DIRECTAMENTE */
.ce-event-item .scrolla {
    color: rgba(36, 55, 72, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ce-event-item .event-fecha {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ebbf29ff;
    flex-shrink: 0;
}

.ce-event-item .event-fecha-day {
    margin: 0;
    padding: 0;
    font-size: larger;
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

.ce-event-item .event-fecha-month {
    margin-top: 0;
    padding: 0;
    font-size: small;
    font-weight: bold;
    line-height: 1.2;
}

.ce-event-item .event-title {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.ce-event-item .event-title span {
    display: block;
    margin-bottom: 5px;
}

.ce-event-item .event-title span:first-child {
    text-transform: uppercase;
    font-size: larger;
    font-weight: bold;
}

.ce-event-item .event-title span:not(:first-child) {
    font-weight: lighter;
    font-size: smaller;
}

.ce-event-item .event-datos {
    margin-top: 0.5rem;
    border-top: 0.1rem solid;
    padding-top: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ce-event-item .event-info {
    margin: 8px 0;
    line-height: 1.3;
}

.ce-event-item .location {
    font-weight: bold;
    text-transform: uppercase;
}

.ce-event-item .adress {
    font-weight: lighter;
    font-size: smaller;
}

.ce-event-item .btn-event {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgba(36, 55, 72, 1);
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(36, 55, 72, 0.2);
}

.ce-event-item .idreunion {
    text-align: center;
    margin-top: 10px;
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.ce-event-item .categs {
    font-weight: bold;
}

/* TÍTULOS */
.ce-main-heading {
    font-size: 2.67rem;
    font-weight: 800;
    background: linear-gradient(135deg, #005A9C, #2A9D8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.33rem;
    line-height: 1.1;
}

.ce-hero-subtitle-sec {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #64748b;
}

.centrar-texto {
    text-align: center;
}

/* CONTROLES */
.ce-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.ce-btn {
    background-color: #ebbf29ff;
    color: rgba(36, 55, 72, 1);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size: 14px;
    min-width: 100px;
}

.ce-btn:hover {
    background-color: #d4a824;
}

.ce-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.ce-btn-ver-mas {
    background-color: #2A9D8F;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width: 150px;
    text-align: center;
}

.ce-btn-ver-mas:hover {
    background-color: #21867a;
    color: white;
}

.ce-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.ce-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ebbf29ff;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.ce-indicator.active {
    opacity: 1;
}

.ce-loading, .loading {
    text-align: center;
    padding: 40px;
    font-style: italic;
    color: white;
    font-size: 1.2rem;
}

.error {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ce-event-item {
        flex: 0 0 calc(100% - 10px);
        height: 300px;
        padding: 12px;
    }
    
    .ce-container {
        gap: 10px;
        padding: 0 10px;
    }
    
    .ce-main-heading {
        font-size: 2rem;
    }
    
    .ce-hero-subtitle-sec {
        font-size: 1rem;
    }
    
    .ce-controls {
        flex-direction: column;
        gap: 12px;
    }
}