.metagestion-timeline {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Open Sans', 'Lato', sans-serif;
    position: relative;
    box-sizing: border-box;
}

.metagestion-timeline .timeline-item {
    padding-bottom: 40px;
    padding-left: 30px;
    /* Space for line and dot */
    position: relative;
    opacity: 0;
    /* Hidden processing animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation State */
.metagestion-timeline .timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Vertical Line */
.metagestion-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: 6px;
    /* Center of the 12px width dot? Let's say dot is 10px, line is 1px. left = (10 - 1)/2 + padding... no wait. absolute to container */
    top: 5px;
    /* Start slightly below top to align with date text */
    bottom: -5px;
    /* Extend to next item */
    width: 1px;
    background-color: #e5e5e5;
}

.metagestion-timeline .timeline-item:last-child::before {
    display: none;
    /* No line after last item */
}

/* Dot */
.metagestion-timeline .timeline-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    /* Align with Date text roughly */
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #333333;
    box-sizing: border-box;
    z-index: 1;
}

.metagestion-timeline .timeline-date {
    font-size: 14px;
    color: #333333;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 2px;
    /* Slight adjustment for alignment with dot */
}

.metagestion-timeline .timeline-title {
    font-size: 20px;
    color: #333333;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.metagestion-timeline .timeline-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
}

.metagestion-timeline .timeline-description p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .metagestion-timeline .timeline-title {
        font-size: 18px;
    }

    .metagestion-timeline .timeline-description {
        font-size: 15px;
    }
}