.slider-block--wrap{
    display: flex;
    /* mobile defaults use CSS variables set inline on the wrapper */
    margin-top: var(--sb-mt-mobile, 0);
    margin-bottom: var(--sb-mb-mobile, 0);
}
@media (min-width: 768px) {
    .slider-block--wrap {
        /* desktop defaults use CSS variables set inline on the wrapper */
        margin-top: var(--sb-mt-desktop, 0);
        margin-bottom: var(--sb-mb-desktop, 0);
    }
}

.slider-block__inner{
    display: flex;
    width: 100%;
    gap: 4%;
}
@media(max-width:576px){
    .slider-block__inner{
        flex-direction: column;
        gap: 2rem;
    }
}
.slider-block__col{
    width: 48%;
    display: flex;
    flex-direction: column;
}
@media(max-width:576px){
    .slider-block__col{
        width: 100%;
    }
}
.slider-block__col--right{
    position: relative;
    & .slider-prev, & .slider-next{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    & .slider-prev{
        left: 1rem;
    }
    & .slider-next{
        right: calc(-1 * calc(var(--gutters) - 1rem));
    }
}
@media (max-width: 768px){
    .slider-block__col--right{
        & .slider-prev, & .slider-next{
            display: none;
        }
    }
}
.slider{
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}
@media(max-width:576px){
    .slider{
        position: static;
    }
}
.slide-track{
    display: flex;
    gap: 1rem;
}
@media(max-width:576px){
    .slide-track{
        max-height: 350px;
    }
}
.slide{
    min-width: 350px;
    height: 530px;
    position: relative;
}
@media(max-width:576px){
    .slide{
        max-height: 300px;
    }
}
.slide__inner{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.slide__inner .slide__inner-bkg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.slide__inner img{
    transform: scale(1.2);
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
}
.slide:hover img{
    transform: scale(1);
}
.slider-block__controls{
    display: flex;
    padding-top: 2rem;
}
.slider-block__nav{
    display: flex;
    gap: 1rem;
    align-items: center;
}
.slider-prev, .slider-next{
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    background: var(--wp--preset--color--noir);
    position: relative;
    transition: background 0.3s ease;
}
.slider-prev::before, .slider-next::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    
}
.slider-prev::before{
    background: url(../../../assets/svg/leftarrow.svg) no-repeat center;
}
.slider-next::before{
    background: url(../../../assets/svg/rightarrow.svg) no-repeat center;
}
.slider-counter{
    display: flex;
    padding-left: 3rem;
    gap: 0.25rem;
    font-size: var(--wp--preset--font-size--l-title);
    font-weight: 500;
}
.slider-prev.inactive, .slider-next.inactive{
    opacity: 0.1;
}
.slide__type{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    background: transparent;
    color: var(--wp--preset--color--blanc);
    padding: 0.5rem 1rem;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    text-transform: uppercase;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 80%;
    z-index: 2;
}
.slide__type p:first-child{
    text-wrap: nowrap;
    font-size: var(--wp--preset--font-size--m-title);
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--wp--preset--color--blanc);
}
.slide__type p:nth-child(2){
    text-wrap: nowrap;
    font-size: var(--wp--preset--font-size--xs-text);
    margin: 0.5rem 0;
    color: var(--wp--preset--color--blanc);
}
.slider-block__links{
    & .btn-cta{
        &::before{
            opacity: 0;
            transition: opacity 500ms ease 500ms, transform 500ms ease, height 500ms ease;
        }
        &.is-revealed{
            &::before{
                opacity: 1;
            }
            overflow: visible!important;
        }
    }
}
.slider-current-units-track{
    display: flex;
    flex-direction: column;
    align-items: center;
}