.home-container-card-article {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: black;
    overflow: hidden;
    justify-content: space-between;
}
.home-card-article{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.img-avatar {
    width: 30px;
    height: 30px !important;
    border-radius: 100% !important;
    object-fit: cover;
}
.home-thumbnail-container {
    height: 151px;
    margin-bottom: 10px;
    position: relative;
    a{
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
    

}

.home-thumbnail-container > a::before {
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    content: '';
    display: block;
    width: 100%;
    height: 151px;
}

.home-thumbnail-container img {
    width: 100%;
    height: 151px;
    object-fit: cover;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.home-category-date {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.home-category {
    display: flex;
    align-items: center;
    max-height: 31px;
    font-size: 14px;
    background-color: rgba(7, 23, 34, 0.1);
    border-radius: 30px;
    padding: 10px;
    font-weight: 600;
    font-style: italic;
    color: #071621;
}

.home-date {
    font-size: 14px;
    color: #071621;
    font-weight: 500;
}

.home-title-articles {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 5px;
    color: #071621;
}

.home-center-card-article > p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Ajouté pour les points de suspension */
}

.home-center-card-article {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 20px;
}

.home-footer-article {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.home-footer-article .home-author {
    display: flex;
    align-items: center;
}

.home-footer-article .home-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}




/* Style for card with enable_card_style = yes */

.article-card-home.swiper-active {
    background-color: #FFFEF0;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    .home-thumbnail-container{
        margin-bottom: 0px;
    }
    .home-card-article {
        padding: 15px 20px;
        height: 100%;
        .home-footer-article{
            margin-top: auto;
        }
    }
}




/* style small card*/

.article-card-small{
    justify-content: start;
}

.article-card-small > .article-card-home {
    width: 100%;
    .home-container-card-article {
        justify-content: start;
        max-height: 85px;
        min-height: 0px ;
        flex-direction: row;
        gap: 10px;
        .home-card-article{
            max-height: 85px;
        }
        .home-thumbnail-container {
            height: 100%;
            width: 100%;
            max-height:85px ;
            max-width: 155px;
            a{
                border-radius: 0px;
            }
            img{
                height: 100%;
                width: 100%;
                max-height:85px ;
                max-width: 155px;
                border-radius: 10px;
            }
        }
    }
    .home-category-date{
        display: none;
    }
    .home-center-card-article{
        display: none;
    }
}

.article-card-small > .article-card-home > .home-container-card-article > .home-thumbnail-container > a::before {
    max-height:85px ;
    max-width: 155px;
    height: 100%;
}








.sesamers-articles-cards-container.flex-row {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
}


.sesamers-articles-cards-container.flex-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px; 
}
