/***** Arrows *****/
.troisg-elementor-widget .swiper-custom-button {
    display: flex;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.troisg-elementor-widget .swiper-custom-button {
    width: 40px;
    height: 40px;
}

.troisg-elementor-widget .swiper-custom-button.swiper-custom-button-prev {
    right: calc(100% + 40px);
}

.troisg-elementor-widget .swiper-custom-button.swiper-custom-button-next {
    left: calc(100% + 40px);
}

.troisg-elementor-widget .swiper-custom-button svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
}

/***** Card *****/
.troisg-elementor-widget.troisg-slider_realisations .realisations-container {
    height: fit-content;
    display: grid;
}


.troisg-elementor-widget.troisg-slider_realisations .realisations-container .troisg-slider-realisations-swiper {
    overflow: hidden;
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide {
    display: grid;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    overflow: hidden;
    border-radius: 8px;
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100%);
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card a.realisation-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}



.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card a.realisation-link div.realisation-location {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #fff;
    padding: 9px 10px;
    border-radius: 0px 0px 10px 0px;
    color: rgba(45, 54, 77, 0.80);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card a.realisation-link div.realisation-title-container {
    padding: 20px;
    z-index: 2;
    position: absolute;
    bottom: 0px;
    width: 100%;
}


.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card a.realisation-link div.realisation-title-container::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(/wp-content/uploads/2025/01/left-arrow-round.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card a.realisation-link div.realisation-title-container h3.realisation-title {
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    white-space: normal;
}






/***** Responsive *****/
@media screen and (max-width: 1200px) {
    .troisg-elementor-widget.troisg-slider_realisations {
        grid-template-columns: .4fr .6fr;
        column-gap: 30px;
    }
}

@media screen and (max-width: 991px) {
    .troisg-elementor-widget.troisg-slider_realisations {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 630px) {
    .troisg-elementor-widget.troisg-slider_realisations .content-container {
        padding: 0 10px;
    }

    .troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide {
        width: 70%;
    }

    .troisg-elementor-widget.troisg-slider_realisations .realisations-container .swiper-slide article.slider-realisations-card {
        min-height: 320px;
    }
}