.carousel {
    position: relative;
    z-index: 40;
}

.carousel .slider {
    display: flex;
    align-items: center;
    margin-left: calc(-1 * var(--padding-horizontal));
    width: calc(100% + (2 * var(--padding-horizontal)));
    height: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--clr-bg-blue);
    /*border-radius: 4.5rem;*/
}

.carousel .slider::-webkit-scrollbar {
    display:none;
}


.carousel .item {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    scroll-snap-align: start;
    margin: 0;
    padding: 0 var(--padding-horizontal);
    width: 100%;
}

.carousel .itemInner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.25rem;
}

.carousel .item .image {
    width: 25.2rem;
    height: 24.8rem;
    max-height: 24.8rem;
}

.carousel .item .title {
    top: unset;
    margin-top: 1.0rem;
    padding-bottom: 0rem;
    color: var(--clr-brown);
    font-size: 2rem;
    line-height: 2.3rem;
    font-weight: 700;
}


.carousel .arrow {
    position: absolute;
    top: 31.7%;
    transform: translateY(50%);
    width: 2.6rem;
    height: 2.6rem;
}

.carousel .arrow.left {
    left: 0;
    background-image: url('/public/images/soutez/carousel/arrow-left.svg?v=1');
}

.carousel .arrow.right {
    right: 0;
    background-image: url('/public/images/soutez/carousel/arrow-right.svg?v=1');
}


.carousel .navigator {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.0rem;
}

.carousel .navigator .navItem {
    width: 1.0rem;
    height: 1.0rem;
    background-image: url('/public/images/soutez/carousel/navitem.svg?v=1');
    transition: background-image 0.5s;
}

.carousel .navigator .navItem.active {
    background-image: url('/public/images/soutez/carousel/navitem-active.svg?v=1');
    transition: background-image 0.5s;
}


.carousel .item .waiting {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 6.2rem;
    inset: 0;
    background-color: #2C2B2D99;
    pointer-events: none;
    
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;

    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
}

.carousel .item .h4 {
    margin-bottom: 0;
    color: var(--clr-white);
    font-size: 3.0rem;
    line-height: 3.0rem;
    font-weight: 700;
    text-transform: none;
}

.carousel .item .text {
    color: var(--clr-white);
    font-size: 2.0rem;
    line-height: 3.0rem;
    font-weight: 700;
}