.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);
    padding-left: var(--gutters);
}
@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%;
}
.slider-block__col{
    width: 48%;
    display: flex;
    flex-direction: column;
}
.slider-block__col--right{
    position: relative;
}
@media (max-width: 768px){
    .slider-block__col--right{
        display: none;
    }
}
.slider{
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    overflow-x: hidden;
}
.slide-track{
    display: flex;
    gap: 1rem;
}
.slide{
    min-width: 350px;
    height: 530px;
    position: relative;
}
.slide__inner{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.slide__inner img{
    transform: scale(1.2);
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 100%;
}
.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:hover img{
    transform: scale(1);
}
.slider-block__controls{
    display: flex;
    padding-top: 2rem;
}
.slider-block__nav{
    display: flex;
    width: 100%;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.slider-title-item{
    display: flex;
    width: fit-content;
}
.slider-title-button{
    border: none;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    color: var(--wp--preset--color--blanc);
    padding: 0;
    display: flex;
    width: max-content;
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--wp--preset--font-size--s-title);
    transition: font-size 0.3s ease, font-weight 0.3s ease;
    &:hover{ 
        cursor: pointer;
    }
}
.slider-title-item.is-active .slider-title-button{
    font-weight: 700;
    font-size: var(--wp--preset--font-size--m-title);
    cursor: default;
}
.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;
}

/* Background layers for crossfade */
.solutions-block-bkg{     
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.solutions-block-bkg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}
.solutions-block-bkg-layer{ position:absolute; top:0; left:0; width:100%; height:100%; background-repeat:no-repeat; background-position:center; background-size:cover; opacity:0; transition: opacity 700ms ease; will-change:opacity,background-image; }
.solutions-block-bkg-layer.layer-1{ z-index:0; }
.solutions-block-bkg-layer.layer-2{ z-index:1; }

/* Descriptions: hidden by default; JS will show active one */
.slider-block__content .slide-description{ display:none; }

/* Modal styles */
.solutions-modal-overlay{ position:fixed; inset:0; background: rgba(0,0,0,0.6); z-index:10000; display:flex; align-items:center; justify-content:center; padding:2rem; }
.solutions-modal-inner{ background:#fff; padding:2rem; max-width:900px; max-height:90vh; overflow:auto; border-radius:8px; position:relative; }
.solutions-modal-close{ position:absolute; top:8px; right:8px; background:transparent; border:none; font-size:1.25rem; cursor:pointer; }

.modal-open{ overflow:hidden; }

.solutions-wrap .slide-description, .solutions-wrap .slide-description p, .solutions-wrap .slider-counter{
    color: var(--wp--preset--color--blanc);
}

.solutions-wrap .slide__inner img{
    height: 100%;
    width: 100%;
}
.solutions-wrap .slide{
    transition: height 0.6s ease, margin-top 0.6s ease;
}
.solutions-wrap .slider-block__col--left{
    position: relative;
    & .btn-cta{
        display: flex!important;
        &::before{
            background-color: var(--wp--preset--color--blanc);
        }
    }
}
.solutions-wrap .slider-block__controls-wrap{
    position: absolute;
    bottom: -175px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.slide-logos{
    display: flex!important;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.slider-block__nav--titles{
    width: calc(100vw - var(--gutters));
    justify-content: center;
}
.slider-current-units-track{
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media(max-width:576px){
    .solutions-wrap .slider-block__inner{
        flex-direction: column;
        gap: 2rem;
    }
    .solutions-wrap .slider-block__col{
        width: 100%;
        justify-content: space-between;
    }
    .solutions-wrap .slider{
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 2rem;
    }
    .slide-track{
        max-height: 350px;
    }
    .slide{
        max-height: 350px;
    }
    .slider-block__nav--titles{
        display: none;
    }
    .solutions-wrap .slider-block__controls-wrap{
        position: static;
        left: unset;
        top: unset;
    }
}
@media (max-width: 768px){
    .slider-block__content{
        margin-top: auto;
        margin-bottom: auto;
    }
}