.calendario-header {
    /* background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%); */
    /* color: white; */
    /* padding: 40px 0; */
    margin-bottom: 30px;
}

.calendario-header h1 {
    margin: 0;
    font-weight: 700;
}

.mes-section {
    margin-bottom: 30px;
}

.mes-title {
    background: #f8f9fa;
    padding: 15px 20px;
    border-left: 4px solid #1976d2;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
}

.evento-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.evento-item:last-child {
    border-bottom: none;
}

.evento-fecha {
    width: 100px;
    flex-shrink: 0;
    text-align: center;
}

.evento-fecha .dia {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    line-height: 1;
}

.evento-fecha .diasemana {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.evento-contenido {
    flex: 1;
}

.evento-titulo {
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.evento-titulo a {
    color: #1565c0;
    text-decoration: none;
    background-color: rgba(25, 118, 210, 0.08);
    /* Fondo azul muy suave */
    padding: 6px 12px;
    border-radius: 50px;
    /* Bordes totalmente redondeados */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Espacio entre texto e icono */
    transition: all 0.2s ease;
    border: 1px solid transparent;
    /* Para evitar saltos si quisiéramos poner borde al hover */
}

.evento-titulo a:hover {
    background-color: rgba(25, 118, 210, 0.15);
    /* Fondo un poco más oscuro al hover */
    color: #0d47a1;
    text-decoration: none;
}

.evento-titulo a i {
    font-size: 1rem;
    /* Icono un poco más grande */
}

.evento-descripcion {
    color: #666;
    font-size: 0.9rem;
}

.badge.bg-purple {
    background-color: #9c27b0 !important;
}

.year-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.year-selector a {
    /* color: rgba(255, 255, 255, 0.8); */
    text-decoration: none;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s;
}

.year-selector a:hover,
.year-selector a.active {
    background: rgba(0, 0, 0, 0.1);
    /* color: white; */
}

.no-eventos {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

@media (max-width: 576px) {
    .evento-item {
        flex-direction: column;
        gap: 10px;
    }

    .evento-fecha {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .evento-fecha .dia {
        font-size: 1.2rem;
    }
}

.sticky-filter-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    margin: 0 -15px 20px -15px;
    padding-left: 15px;
    padding-right: 15px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.sticky-filter-bar::-webkit-scrollbar {
    display: none;
}

.sticky-filter-bar button {
    flex-shrink: 0;
    transition: all 0.2s;
}