/* =========================================================
   K6 HISTORY
   ========================================================= */

.k6-history-section {
    padding: 80px 20px;
    background: #ffffff;
}

.k6-history-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   TITLE
   ========================================================= */

.k6-history-heading {
    margin-bottom: 45px;
    text-align: center;
}

.k6-history-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 38px;
    line-height: 1.2;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.k6-history-timeline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.k6-history-timeline::before {
    content: "";
    position: absolute;
    left: 60px;
    right: 60px;
    top: 50%;
    height: 2px;
    background: #1769aa;
    transform: translateY(-50%);
    z-index: 0;
}


/* =========================================================
   YEAR BUTTONS
   ========================================================= */

.k6-history-year {
    position: relative;
    z-index: 1;

    width: 84px;
    height: 84px;

    flex: 0 0 84px;

    border: 4px solid #1769aa;
    border-radius: 50%;

    background: #ffffff;
    color: #7d858d;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}

.k6-history-year:hover,
.k6-history-year:focus-visible,
.k6-history-year.is-active {
    background: #1769aa;
    border-color: #1769aa;
    color: #ffffff;
    outline: none;
}


/* Pijl onder actief jaar */

.k6-history-year.is-active::after {
    content: "";

    position: absolute;

    left: 50%;
    top: calc(100% + 58px);

    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid #1769aa;
}


/* =========================================================
   CONTENT PANEL
   ========================================================= */

.k6-history-panel {
    display: none;
}

.k6-history-panel.is-active {
    display: block;
}

.k6-history-panel-inner {
    display: block;

    min-height: 320px;

    overflow: hidden;

    background: #1769aa;

    border-radius: 0 0 16px 16px;
}


/* =========================================================
   TEXT
   ========================================================= */

.k6-history-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    min-height: 320px;

    max-width: 900px;

    margin: 0 auto;

    padding: 45px 55px;

    color: #ffffff;
}

.k6-history-content h3 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 30px;
    line-height: 1.2;
}

.k6-history-text {
    color: #ffffff;

    font-size: 17px;
    line-height: 1.7;
}

.k6-history-text p {
    margin: 0 0 15px;
}


/* =========================================================
   LEES MEER
   ========================================================= */

.k6-history-read-more {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    margin-top: 15px;
    padding: 14px 28px;

    border-radius: 30px;

    background: #ffffff;
    color: #1769aa;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.k6-history-read-more:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .k6-history-timeline {
        gap: 20px;

        overflow-x: auto;

        justify-content: flex-start;

        padding: 0 10px 15px;
    }

    .k6-history-timeline::before {
        left: 50px;
        right: auto;
        width: 900px;
    }

    .k6-history-year {
        width: 72px;
        height: 72px;

        flex-basis: 72px;

        font-size: 15px;
    }

    .k6-history-content {
        padding: 35px 30px;
    }
}


@media (max-width: 600px) {

    .k6-history-section {
        padding: 60px 15px;
    }

    .k6-history-heading h2 {
        font-size: 30px;
    }

    .k6-history-timeline {
        margin-bottom: 45px;
    }

    .k6-history-year {
        width: 64px;
        height: 64px;

        flex-basis: 64px;

        border-width: 3px;

        font-size: 14px;
    }

    .k6-history-content {
        padding: 30px 22px;
    }

    .k6-history-content h3 {
        font-size: 25px;
    }
}