.zdt-timeline-shell{
    --zdt-accent:#27b34a;
    --zdt-line:#0b6b63;
    --zdt-bg:#efefef;
    --zdt-card:#ffffff;
    --zdt-text:#666b70;
    --zdt-shadow:0 14px 34px rgba(0,0,0,.08);
    position:relative;
    background:var(--zdt-bg);
    padding:40px 44px 38px;
    overflow:hidden;
}

.zdt-topbar{
    display:grid;
    grid-template-columns:52px 1fr 52px;
    align-items:center;
    gap:18px;
    margin:0 auto 34px;
}

.zdt-arrow{
    width:40px;
    height:40px;
    border-radius:8px;
    border:2px solid var(--zdt-line);
    background:transparent;
    color:var(--zdt-line);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:all .2s ease;
    padding:0;
    font-size:27px;
    line-height:1;
}

.zdt-arrow:hover{
    background:#fff;
    transform:translateY(-1px);
}

.zdt-arrow:disabled{
    opacity:.5;
    cursor:not-allowed;
    transform:none;
}

.zdt-progress{
    position:relative;
    height:32px;
}

.zdt-progress-line{
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:2px;
    transform:translateY(-50%);
    background:var(--zdt-line);
}

.zdt-progress-dots{
    position:relative;
    z-index:2;
    height:100%;
}

.zdt-progress-dots button{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    width:18px;
    height:18px;
    border-radius:999px;
    border:none;
    background:#000;
    box-shadow:0 0 0 5px var(--zdt-bg);
    padding:0;
    cursor:pointer;
    transition:transform .2s ease, background .2s ease;
}

.zdt-progress-dots button.is-active{
    background:var(--zdt-accent);
    transform:translate(-50%,-50%) scale(1.45);
}

.zdt-progress-dots button:hover{
    transform:translate(-50%,-50%) scale(1.15);
}

.zdt-viewport{
    overflow:hidden;
}

.zdt-track{
    display:flex;
    gap:28px;
    transition:transform .45s cubic-bezier(.2,.8,.2,1);
    will-change:transform;
    touch-action:pan-y;
}

.zdt-card{
    position:relative;
    flex:0 0 calc((100% - 56px)/3);
}

.zdt-card-inner{
    background:var(--zdt-card);
    padding:18px 18px 14px;
    min-height:324px;
    height:100%;
    box-shadow:0 0 0 1px rgba(0,0,0,.02);
    transition:transform .24s ease, box-shadow .24s ease;
}

.zdt-card:hover .zdt-card-inner{
    transform:translateY(-2px);
    box-shadow:var(--zdt-shadow);
}

.zdt-card-hit{
    position:absolute;
    inset:0;
    z-index:3;
    background:transparent;
    border:none;
    cursor:pointer;
}

.zdt-image-wrap{
    width:100%;
    aspect-ratio:1.82 / 1;
    overflow:hidden;
    background:#ddd;
    margin-bottom:18px;
}

.zdt-image-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.zdt-no-image{
    color:#616161;
    font-size:14px;
    padding:18px;
}

.zdt-card-body{
    font-size:18px;
    line-height:1.18;
    color:var(--zdt-text);
}

.zdt-card-text{
    word-break:break-word;
}

.zdt-card-year{
    display:none !important;
}

.zdt-mobile-hint{
    display:none;
    margin-top:16px;
    font-size:13px;
    color:#6f757a;
    text-align:center;
}

/* Modal */
.zdt-modal[hidden]{
    display:none !important;
}

.zdt-modal{
    position:fixed !important;
    inset:0 !important;
    z-index:2147483647 !important;
    display:block;
}

.zdt-modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.84);
    z-index:1;
}

.zdt-modal-dialog{
    position:fixed;
    inset:0;
    z-index:2;
    width:100%;
    height:100%;
    overflow:auto;
    padding-top:140px;
    padding-bottom:40px;
    box-sizing:border-box;
}

.zdt-modal-panel{
    position:relative;
    width:min(860px, calc(100vw - 80px));
    margin:0 auto;
    background:#fff;
    box-shadow:0 30px 70px rgba(0,0,0,.35);
    z-index:3;
}

.zdt-modal-close{
    position:absolute;
    top:10px;
    right:10px;
    z-index:10;
    width:36px;
    height:36px;
    min-width:36px;
    border:none;
    border-radius:999px;
    background:rgba(0,0,0,.78);
    color:#fff;
    font-size:26px;
    line-height:34px;
    text-align:center;
    cursor:pointer;
    padding:0;
}

.zdt-modal-close:hover{
    background:#000;
}

.zdt-modal-media{
    background:#111;
}

.zdt-modal-image{
    display:block;
    width:100%;
    max-height:62vh;
    object-fit:contain;
    margin:0 auto;
    background:#111;
}

.zdt-modal-caption{
    background:#fff;
    padding:18px 18px 20px;
    min-height:58px;
}

.zdt-modal-year{
    font-size:18px;
    color:#111;
    font-weight:500;
    margin-bottom:8px;
}

.zdt-modal-text{
    color:#555b60;
    font-size:16px;
    line-height:1.5;
}

.zdt-modal-text:empty{
    display:none;
}

.zdt-modal-text p{
    margin:0 0 10px;
}

.zdt-modal-text p:last-child{
    margin-bottom:0;
}

html.zdt-modal-open,
body.zdt-modal-open{
    overflow:hidden !important;
}

body.zdt-modal-open{
    position:fixed;
    left:0;
    right:0;
    width:100%;
}

/* Responsive */
@media (max-width:1100px){
    .zdt-card{
        flex-basis:calc((100% - 28px)/2);
    }

    .zdt-card-inner{
        min-height:305px;
    }
}

@media (max-width:767px){
    .zdt-timeline-shell{
        padding:24px 18px 22px;
    }

    .zdt-topbar{
        grid-template-columns:42px 1fr 42px;
        gap:10px;
        margin-bottom:22px;
    }

    .zdt-arrow{
        width:34px;
        height:34px;
        font-size:24px;
    }

    .zdt-card{
        flex-basis:100%;
    }

    .zdt-card-inner{
        padding:14px 14px 16px;
        min-height:0;
    }

    .zdt-card-body{
        font-size:16px;
    }

    .zdt-mobile-hint{
        display:block;
    }

    .zdt-modal-dialog{
        padding-top:95px;
        padding-left:14px;
        padding-right:14px;
        padding-bottom:24px;
    }

    .zdt-modal-panel{
        width:100%;
    }

    .zdt-modal-image{
        max-height:58vh;
    }

    .zdt-modal-caption{
        padding:14px 14px 16px;
    }

    .zdt-modal-year{
        font-size:17px;
    }

    .zdt-modal-text{
        font-size:15px;
    }
}
/* Timeline popup moet boven alles komen */
.zdt-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
}

.zdt-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.84) !important;
    z-index: 2147483646 !important;
}

.zdt-modal-dialog {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    overflow: auto !important;
    padding: 120px 30px 60px !important;
    box-sizing: border-box !important;
}

.zdt-modal-panel {
    position: relative !important;
    z-index: 2147483647 !important;
    width: min(860px, calc(100vw - 80px)) !important;
    margin: 0 auto !important;
    background: #fff !important;
}

.zdt-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 2147483647 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #000 !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 26px !important;
    line-height: 36px !important;
    cursor: pointer !important;
}

/* Salient header/footer NIET boven popup laten komen */
body.zdt-modal-open #header-outer,
body.zdt-modal-open #top,
body.zdt-modal-open header,
body.zdt-modal-open .nectar-header,
body.zdt-modal-open #footer-outer,
body.zdt-modal-open footer {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* voorkom scroll-chaos */
html.zdt-modal-open,
body.zdt-modal-open {
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .zdt-modal-dialog {
        padding: 90px 14px 30px !important;
    }

    .zdt-modal-panel {
        width: 100% !important;
    }
}