/* ============================================================
   CONTENEDOR GENERAL
   ============================================================ */
.events-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ============================================================
   BANDA DEL AÑO (STICKY, REDONDEADA, ANIMADA, COLOR POR ÉPOCA)
   ============================================================ */
.year-header {
    position: sticky;
    top: 65px;
    z-index: 20;

    display: inline-block;
    margin: 0 auto;
    padding: 10px 26px;
    border-radius: 40px;

    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    text-align: center;

    color: white;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);

    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    animation: yearPop 0.35s ease;
}

@keyframes yearPop {
    0%   { transform: scale(0.7); opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

/* Colores por época */
.year-epoca-actual {
    background: #1C7F88;
    color: white;
}

.year-epoca-2008 {
    background: #D13E25;
    color: white;
}

.year-epoca-2002 {
    background: #facc15;
    color: #78350f;
}

.year-epoca-1996 {
    background: #8b5cf6;
    color: white;
}

.year-epoca-antiguo {
    background: #a16207;
    color: #fff7e6;
}

/* ============================================================
   TARJETA DE EVENTO
   ============================================================ */
.event-card {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    align-items: flex-start;
    position: relative;
}

/* ============================================================
   MINIATURA CUADRADA A LA IZQUIERDA
   ============================================================ */
.event-thumb-wrap {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f3f4f6;
}
.event-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.thumb-real {
    cursor: pointer;
}
.thumb-generic {
    cursor: default;
}

/* ============================================================
   INFORMACIÓN DEL EVENTO
   ============================================================ */
.event-main {
    flex: 1;
}

.event-date-city {
    display: flex;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.event-separator {
    opacity: 0.5;
}

.event-desc {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #4b5563;
}

.event-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.event-link:hover {
    color: #1d4ed8;
}

/* ============================================================
   ETIQUETA DE TIPO A LA DERECHA
   ============================================================ */
.event-type {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

/* Colores */
.event-type.concierto {
    background: #dbeafe;
    color: #1d4ed8;
}

.event-type.festival {
    background: #dcfce7;
    color: #15803d;
}

.event-type.concierto-especial {
    background: #ede9fe;
    color: #6d28d9;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .event-card {
        padding: 10px 12px;
        gap: 10px;
    }
    .event-thumb-wrap {
        width: 70px;
        height: 70px;
    }
    .year-header {
        top: 60px;
        font-size: 1.4rem;
    }
	.event-type { display: none; }
}

