/* section categorie */
    .container_categories{        
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
        width: max-content;
        max-width:  100%;
        margin: 0 auto;
        scroll-behavior: smooth;
        anchor-name: --caroussel;
        position: relative;
        scroll-snap-type: x mandatory;                    
        scroll-marker-group: after;
    }

    .container_categories::scroll-marker-group{
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
        display: none;
    }

    .content_categorie::scroll-marker{
        content: '';
        width: 8px; height: 8px;
        background: white;
        border-radius: 16px;
        color: var(--blue);
    }

    .content_categorie::scroll-marker:target-current{
        background: var(--blue);
    }

    .container_categories::-webkit-scrollbar{
        display: none;
    }

    .container_categories::scroll-button(right), .container_categories::scroll-button(left){
        border: none;
        background-color: var(--red);
        padding: 5px 14px;
        color: var(--white);
        cursor: pointer;
        position: absolute;
        position-anchor: --caroussel;
        border-radius: 5px;
        margin-top:30px;
    }

    .container_categories::scroll-button(left){                    
        content: "\21D0";
        position-area: center bottom;
        translate: -50%;
        margin-right: 8px;
        margin-top: 8px;
    }

    .container_categories::scroll-button(right){                    
        content: "\21D2";
        position-area: center bottom;
        translate: 50%;
        margin-left: 8px;
        margin-top: 8px;
    }

    .container_categories::scroll-button(right):disabled, .container_categories::scroll-button(left):disabled{
        opacity: 0.5;
        cursor: auto;
    }

    .content_categorie{
        scroll-snap-align: start;
        position: relative;
        flex: 0 0 auto;
        
        background: var(--blue);
        padding: 8px 16px;
        border-radius: 16px;
        color: var(--white);
    }
    
    .content_categorie:hover, .content_categorie.active {
        background: none;
        color: var(--blue);
        border: 1px solid var(--blue);
    }
/* section categorie */

/* section articles */
    .container_services{
        display: grid;
        grid-template-columns: repeat(4,1fr);
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 32px;
    }

    .box_img_service{
        position: relative;
        width: 100%;
        height: 200px;
        border-radius: 8px;
        anchor-name: --categorie;
        
    }
    
    .box_img_service:before{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0; left: 0;
        background: var(--black);
        opacity: .2;
        z-index: 1;
        border-radius: 8px;
    }

    .box_img_service img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        border-radius: 8px;
    }
    
    .box_categorie{
        background: var(--red);
        color: var(--white);
        position: absolute;
        bottom: 0; right: 10%;
        z-index: 100;
        padding: 8px;
        position-anchor: --categorie;
        position-area: center right;
        translate: 0 50%; 
        border-radius: 5px;
    }
    
    /*.content_service:nth-child(even) .box_categorie{*/
    /*    background: var(--red);*/
    /*}*/
    /*.content_service:nth-child(odd) .box_categorie{*/
    /*    background: var(--blue);*/
    /*}*/
    
    .info_service{
        padding: 20px 8px;
    }
    
    .info_service .date{
        color: var(--blue);
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }
    
    .info_service .date span{
        display: flex;
        align-items: center;
    }

    .service_title{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-weight: 600;
        margin: 8px auto;
    }
    
    .service_desc{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 8px auto;
        color: var(--gray);
    }
    
    .info_service .bottom{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    
    .info_service .bottom .flexBtn{
        margin-top: 0;
    }
    
    .profile_auteur{
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .profile_auteur p:first-child{
        width: 35px; height: 35px;
        border-radius: 50%;
        padding: 3px;
        background: linear-gradient(to right, var(--blue), var(--red));
    }
    
    .profile_auteur p:first-child img{
        width: 100%; height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid var(white);
    }
    
    .profile_auteur p:last-child{
        font-size: 15px;
    }
    
    
    @media (max-width: 768px) {
       .container_services{
            grid-template-columns: repeat(2,1fr);
        }
    }
    @media (max-width: 450px) {
       .container_services{
            grid-template-columns: repeat(1,1fr);
        }
    }
/* section articles */