.timeline-area {
    overflow-x: hidden;
}

.timeline-vertical {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #d9e8ff, #0d6efd);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 22px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border: 4px solid #0d6efd;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.1);
    z-index: 2;
}

.timeline-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 24px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef3f8;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.timeline-date {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
    padding: 6px 12px;
    border-radius: 30px;
}

.timeline-card h4 {
    margin-bottom: 10px;
}

.timeline-card p {
    margin-bottom: 0;
}

.timeline-extra {
    display: none;
}

.timeline-extra.is-open {
    display: block;
}

.timeline-blur-backgound {
    position: absolute;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%, /* totalmente transparente arriba */
            rgba(255, 255, 255, 1) 100% /* blanco sólido abajo */
        );
    margin-top: -150px;
    z-index: 4;
}

.timeline-actions {
    margin-top: 10px;
}

.btn-timeline {
    padding: 12px 35px;
    border-radius: 30px;
    color: var(--white);
    font-weight: 700;
    margin-top: 15px;
}

.timeline-events-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.timeline-event{
    width: 200px;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.timeline-event-title h5 {
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.70);
}

.timeline-event-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .timeline-vertical {
        padding-left: 38px;
    }

    .timeline-vertical::before {
        left: 10px;
    }

    .timeline-dot {
        left: -34px;
        width: 16px;
        height: 16px;
    }

    .timeline-card {
        padding: 20px 18px;
    }
}