/* Scrolling Timeline — e87b66f6 */

.st-e87b66f6-wrap {
    margin: 0 auto;
    border-radius: 8px;
    box-sizing: border-box;
}

.st-e87b66f6-timeline {
    position: relative;
}

/* Vertical line */
.st-e87b66f6-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.st-e87b66f6-line-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.st-e87b66f6-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    border-radius: 2px;
    transition: height 0.05s linear;
}

/* Item row */
.st-e87b66f6-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.st-e87b66f6-item:last-child {
    padding-bottom: 0 !important;
}

/* Year column */
.st-e87b66f6-year-col {
    flex: 0 0 calc(50% - 30px);
    text-align: right;
    padding-right: 30px;
    box-sizing: border-box;
}

.st-e87b66f6-year {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Dot column */
.st-e87b66f6-dot-col {
    flex: 0 0 60px;
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.st-e87b66f6-dot {
    border-radius: 50%;
    border: 2px solid;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.st-e87b66f6-dot.is-active {
    transform: scale(1.3);
}

/* Content column */
.st-e87b66f6-content-col {
    flex: 0 0 calc(50% - 30px);
    padding-left: 30px;
    padding-top: 6px;
    box-sizing: border-box;
}

.st-e87b66f6-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.st-e87b66f6-desc {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 380px;
}

/* ── Fade-in animation ── */
.st-e87b66f6-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.st-e87b66f6-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile: stack layout ── */
@media (max-width: 767px) {
    .st-e87b66f6-line {
        left: 20px;
        transform: none;
    }

    .st-e87b66f6-line-track,
    .st-e87b66f6-line-progress {
        left: 0;
        transform: none;
    }

    .st-e87b66f6-item {
        flex-direction: column;
        padding-left: 50px;
    }

    .st-e87b66f6-year-col {
        flex: none;
        text-align: left;
        padding-right: 0;
        margin-bottom: 4px;
    }

    .st-e87b66f6-year {
        font-size: 32px;
    }

    .st-e87b66f6-dot-col {
        position: absolute;
        left: -30px;
        top: 8px;
        flex: none;
        padding-top: 0;
    }

    .st-e87b66f6-content-col {
        flex: none;
        padding-left: 0;
        padding-top: 0;
    }

    .st-e87b66f6-desc {
        max-width: 100%;
    }
}

/* ── Tablet adjustments ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .st-e87b66f6-year {
        font-size: 36px;
    }

    .st-e87b66f6-year-col {
        padding-right: 20px;
    }

    .st-e87b66f6-content-col {
        padding-left: 20px;
    }
}
