/***** Arrows *****/

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


.troisg-elementor-widget.troisg-slider_posts .posts-container .troisg-slider-posts-swiper {
    overflow: hidden;
}

/*----- Swiper pagination -----*/
.troisg-elementor-widget.troisg-slider_posts .swiper-custom-pagination-posts {
    top: calc(100% + 30px);
    height: 2px;
    width: 100%;
    max-width: 1240px;
    background-color: rgba(196, 190, 167, 0.5);
    left: 50%;
    transform: translateX(-50%);
}

.troisg-elementor-widget.troisg-slider_posts .swiper-pagination-progressbar-fill {
    height: 4px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 5px !important;
    background-color: #B72033;
}

/* ------- */

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

.troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide article.slider-posts-card {
    width: 100%;
    height: 100%;
}

.troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide article.slider-posts-card img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    border-radius: 5px;
    object-fit: cover;
    object-position: center;
    margin-bottom: -15px;
    z-index: 1;
    position: relative;
}



.troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide article.slider-posts-card div.post-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-radius: 10px;
    border: 1px solid rgba(196, 190, 167, 0.60);
    background: #FFF;
    padding: 33px 18px 18px 18px;
    position: relative;
    height: auto;
    z-index: 0;
}

.troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide article.slider-posts-card div.post-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;
    left: 20px;
    bottom: 20px;
}

.troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide article.slider-posts-card div.post-title-container span.post-date {
    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_posts .posts-container .swiper-slide article.slider-posts-card div.post-title-container h3.post-title {
    color: #2D364D;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 30px;
}




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

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

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

    .troisg-elementor-widget.troisg-slider_posts .posts-container .swiper-slide {
        width: 70%;
    }

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