/* @group reusable-slider
------------------------------------ */

.reusable-slider {
    overflow: hidden;
}

.reusable-slider h3 {
    font-weight: 400;
}

.reusable-slider .splide__track {
    overflow: visible;
}

.reusable-slider .splide__pagination {
    height: 1rem;
    width: 17.5vw;
    margin-inline: auto;
    display: block;
    position: relative;
    display: flex;
}

.reusable-slider .splide__pagination,
.reusable-slider .splide__pagination :is(li, button) {
    padding: 0;
}

.reusable-slider .splide__pagination li {
    opacity: 0;
    flex: 1;
}

.reusable-slider .splide__pagination :is(li, button) {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
}

.reusable-slider .bar {
    position: absolute;
    inset: 0;
}

.reusable-slider .thumb {
    position: absolute;
    background-color: var(--_color);
    inset: 2px;
    border-radius: 3rem;
    overflow: hidden;
    transition: left 0.25s;
}

.reusable-slider .img-box {
    position: relative;
    overflow: visible;
}
.reusable-slider .img-box::after {
    content: '';
    background: rgba(0,0,0,.15) none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.reusable-slider .splide__slide h3 {
    position: absolute;
    top: calc(var(--_offset-y) * -1);
    left: calc(var(--_offset-x) * -1);
    z-index: 1;
}

.reusable-slider .splide__slide {
    --_offset-y: 0rem;
    --_offset-x: 0rem;
    display: flex;
    padding-top: var(--_offset-y);
    padding-left: var(--_offset-x);
}

.reusable-slider .splide__slide h4 {
    padding-bottom: 3rem;
}

.reusable-slider .splide__slide .bttn {
    margin-top: 4rem;
}


@media only screen and (min-width : 961px) {



    .reusable-slider .splide__slide {
        --_offset-y: 8.9rem;
        --_offset-x: 4.7rem;
        width: 120.1rem;
        gap: 7.5rem;
    }

    .reusable-slider .img-box {
        width: 65.3rem;
        height: 37rem;
        position: relative;
        overflow: visible;
    }

    .reusable-slider article {
        width: 42.3rem;
    }

    .reusable-slider .splide__slide h3 {
        width: 51.6rem;
    }

    .reusable-slider .splide__pagination {
        margin-top: 3.9rem;
    }
    .page-template-experience .reusable-slider .splide__pagination {
        margin-top: 9.5rem;
    }

}


@media only screen and (min-width : 0) and (max-width : 960px) {
    .reusable-slider .splide__pagination {
        width: 40.6vw;
    }

    .reusable-slider .splide__slide {
        --_offset-y: 5.2rem;
        --_offset-x: 4.5rem;
        width: 36.6rem;
        flex-direction: column;
        gap: 4rem;
    }

    .reusable-slider .splide__slide h3 {
        position: absolute;
        top: calc(var(--_offset-y) * -1);
        left: calc(var(--_offset-x) * -1);
        max-width: 33.1rem;
    }
    .reusable-slider .img-box {
        height: 22rem;
    }
    .reusable-slider .splide__track {
        padding-bottom: 6rem;
    }
    .reusable-slider .splide__slide article {
        max-width: 32rem;
    }

    .reusable-slider .splide__pagination {
        margin-top: 0;
    }

    .reusable-slider .splide__slide .bttn {
        padding-block: 1.2rem;
    }
}

/* @end */

/* ANIMATIONS */
.reusable-slider :is(h3, img, article, .splide__pagination ) {
    opacity: 0;
    --duration: 1s;
}

.reusable-slider:where(.animateActive) :is(h3, img, article, .splide__pagination) {
    animation: fade var(--duration) forwards;
    animation-delay: var(--delay, 0);
}

.reusable-slider:where(.animateActive) img {
    --delay: 0.5s;
}

.reusable-slider:where(.animateActive) h3 {
    --delay: 1s;
}
.reusable-slider:where(.animateActive) article {
    --delay: 1.25s;
}
.reusable-slider:where(.animateActive) .splide__pagination {
    --delay: 1.5s;
}
