.timeline-container-49ae529c {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line-wrapper-49ae529c {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line-base-49ae529c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.timeline-line-active-49ae529c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; /* updated by JS */
    background-color: #d32f2f;
    transition: height 0.1s ease-out;
}

.timeline-items-49ae529c {
    position: relative;
    z-index: 2;
}

.timeline-item-49ae529c {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item-49ae529c:last-child {
    margin-bottom: 0;
}

/* Alternate layout */
.timeline-item-49ae529c:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year-49ae529c, .timeline-content-49ae529c {
    width: 45%;
    padding: 0 20px;
}

.timeline-item-49ae529c:nth-child(odd) .timeline-year-49ae529c {
    text-align: left;
}

.timeline-item-49ae529c:nth-child(odd) .timeline-content-49ae529c {
    text-align: right;
}

.timeline-item-49ae529c:nth-child(even) .timeline-year-49ae529c {
    text-align: right;
}

.timeline-item-49ae529c:nth-child(even) .timeline-content-49ae529c {
    text-align: left;
}

.timeline-year-49ae529c {
    font-size: 2em;
    font-weight: bold;
    color: #e0e0e0;
    line-height: 1;
    margin-top: 5px;
}

.timeline-dot-wrapper-49ae529c {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.timeline-dot-49ae529c {
    width: 16px;
    height: 16px;
    border: 2px solid #d32f2f;
    background-color: #fff;
    border-radius: 0; /* Square like example */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.timeline-dot-inner-49ae529c {
    width: 6px;
    height: 6px;
    background-color: #d32f2f;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* JS adds active class when scrolled past */
.timeline-item-49ae529c.is-active .timeline-dot-inner-49ae529c {
    opacity: 1;
}

.timeline-title-49ae529c {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #d32f2f;
    text-transform: uppercase;
}

.timeline-desc-49ae529c {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .timeline-line-wrapper-49ae529c {
        left: 20px;
        transform: none;
    }
    
    .timeline-item-49ae529c, .timeline-item-49ae529c:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    
    .timeline-year-49ae529c, .timeline-content-49ae529c {
        width: 100%;
        text-align: left !important;
        padding: 0;
    }
    
    .timeline-year-49ae529c {
        margin-bottom: 10px;
    }
    
    .timeline-dot-wrapper-49ae529c {
        position: absolute;
        left: 12px;
        top: 0;
        width: auto;
        padding-top: 5px;
    }
}
