/**
 * slider-timeline Block Styles (MOBILE FIRST – FIXED)
 */


.timeline-events-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding-bottom: 30px;
}

.timeline-events-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 2.4rem;
    height: 2px;
    background: #fff;
    z-index: 0;
}

.timeline-filling-line {
    position: absolute;
    left: 0;
    top: 2.4rem;
    height: 2px;
    background: #fff;
    width: 100%;
    z-index: 0;
    display: none;
}

/* EVENTS */
.timeline-events {
    position: relative;
    z-index: 2;
}

.timeline-events ol {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

/* JAARTALLEN */
.timeline-events a {
    position: relative;
    display: inline-block;
    z-index: 3;
    color: #fff;
    text-decoration: none;
}

/* DOTS */
.timeline-events a::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    z-index: 4;
}

/* ACTIEF */
.timeline-events a.is-active {
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.timeline-events a.is-active::after {
    background: white;
    border-color: white;
    top: 1.9rem;
}



.timeline-content {
    position: relative;
    overflow: hidden;
    min-height: 1px;
}

.timeline-content ol {
    position: relative;
}


.timeline-content li {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform .45s ease, opacity .45s ease;
    pointer-events: none;
}

.timeline-content li.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}



.timeline-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-events li {
    flex: 0 0 auto;
    width: 60px;
    text-align: center;
}

/* NAV BUTTONS (mobile) */
.timeline-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.timeline-nav i {
    font-size: 16px;
    color: #000;
}



@media (min-width: 992px) {
    .timeline-events-wrapper::before {
        background: #c7c7c7;
    }

    /* desktop: lijn wordt dynamisch gevuld */
    .timeline-filling-line {
        width: 0;
        transition: width .3s ease;
        display: block;
    }

    .timeline-bar {
        gap: 0;
    }

    .timeline-events-wrapper {
        overflow: visible;
        padding-bottom: 0;
    }

    .timeline-events ol {
        justify-content: space-between;
        gap: 0;
    }

    .timeline-events li {
        width: auto;
    }

    .timeline-nav {
        display: none;
    }
}