.eventi-timeline-container {
    position: relative;
    padding-left: 20px;
    margin-top: 1.5rem;
}

.eventi-timeline-container::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 14px;
    bottom: 0;
    width: 2px;
    background-color: #D1D5E1;
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    padding-bottom: 2.5rem;
}

.timeline-marker-container {
    width: 16px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #5C6F82;
    position: relative;
    margin-top: 6px;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #5C6F82;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.status-passato .timeline-marker { border-color: #D9364F; }
.status-passato .timeline-marker::after { background-color: #D9364F; }
.status-passato .status-badge { background-color: #FBE9EB; color: #D9364F; }

.status-prossimo .timeline-marker { border-color: #00875E; }
.status-prossimo .timeline-marker::after { background-color: #00875E; }
.status-prossimo .status-badge { background-color: #E6F3EF; color: #00875E; }

.event-date {
    font-size: 0.85rem;
    color: #5C6F82;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.status-badge {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.event-title {
    font-weight: 500;
}

.event-time {
    font-size: 1rem;
    color: #5C6F82;
}

.event-link {
    font-size: 0.95rem;
}

.legend {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.badge-passato-dot,
.badge-prossimo-dot {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-passato-dot::before,
.badge-prossimo-dot::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.badge-passato-dot::before { background-color: #D9364F; }
.badge-prossimo-dot::before { background-color: #00875E; }