.category__page{
    background-color: #00263C;
    padding-bottom: 60px;
}

@media screen and (min-width: 1200px) {
    .category__page .container {
        width: 1100px;
    }
}

@media screen and  (max-width: 1030px) and (min-width: 870px){
    .category__page .container {
        width: 860px;
    }
}
.desktop__category__page{
    display: flex;
    justify-content: center;
}

.category__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrer horizontalement les éléments */
    width: 100%;
}

.category__card {
    position: relative;
    flex-basis: calc(25% - 20px);
    background-color: #fff;
    /*/margin-bottom: 25px;*/
    margin: 10px;
    display: flex;
    width: 240px;
    padding: 20px 15px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
}

.category__card__img{
    margin-top: 40px;
}

.category__page .category__card img {
    height: 48px;
    width: 48px;
    cursor: pointer;
}

.category__page .category__card .category__card__title {
    margin-top: 0px;
    margin-bottom: 60px;
    color: #00263C;
    text-align: center;
    font-family: 'Bouygues Read', Arial, sans-serif !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    max-width: 210px;
    padding: 5px;
}
.category__page .is-tri{
    position: absolute;
    bottom: 40px;
}

.category__page .category__card a {
    display: block;
    margin-top: 10px;
}

@media screen and (max-width: 1025px) {
    .category__page .category__card {
        flex-basis: calc(33.33% - 20px); /* 3 cartes par ligne sur tablette */
    }
}

@media screen and (max-width: 767px) {
    .category__page .category__card {
        flex-basis: calc(50% - 20px); /* 2 cartes par ligne sur mobile */
    }
}

.category__page .generic-title {
    color: #ffffff;
}

@media screen and (min-width: 870px) {
    .mobile__category__page {
     display: none;
    }
}

@media screen and (max-width: 869px) {
    .desktop__category__page {
        display: none;
    }
}

.category__card .cta_link:hover:after{
    -webkit-animation: sliding-link-button 1s cubic-bezier(.654, .045, .355, 1) !important;
    animation: sliding-link-button 1s cubic-bezier(.654, .045, .355, 1) !important;
}

@-webkit-keyframes sliding-link-button{
    50%{left:100%;right:0}
    50.01%{left:0;right:100%}
}

/*
Category Page en mobile
 */

@media screen and (max-width: 869px){
    .category__page {
        padding-top: 60px;
    }

    img.category__arrow__left{
        width: 15px;
        height: 15px;
    }

    .category__page .mobile__category__page .accordion__item {
        display: flex;
        padding: 12px 20px;
        align-items: center;
        gap: 14px;
        box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.10) inset;

    }

    .category__page .mobile__category__page .accordion__item .accordion__item__title {
        font-family: 'Bouygues Read', Arial, sans-serif;
        color: #FFF;
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: 16px;
    }

    .category__page .mobile__category__page .accordion__item h2 {
        margin: 0; /* Annuler les marges du titre */
        flex: 1; /* Le titre prendra autant d'espace que possible */
    }

    .category__page .mobile__category__page .accordion__arrow {
        margin-left: auto; /* Pousse la flèche vers la droite */
    }
    img.category__icon__mobile {
        width: 33px;
        height: 33px;
        flex-shrink: 0;
    }
    .category__page .generic-title {
        font-size: 30px !important;
    }

}

.category__card:hover{
    box-shadow: 0 0 6px 0 rgba(0,68,128,.8) !important;
    transform: scale(1.02) !important;
}

.category__card:hover .cta_link:after {
    -webkit-animation: sliding-link-button 1s cubic-bezier(.654, .045, .355, 1) !important;
    animation: sliding-link-button 1s cubic-bezier(.654, .045, .355, 1) !important;

}

.archive.category .post-breadcrumb {
    padding-top: 15px;
    padding-left: 70px;
}
.archive.category .post-breadcrumb .breadcrumb li:last-child {
    color: #fff !important;
}

.archive.category .post-breadcrumb .breadcrumb > li + li:not(.paged):before {
    color: #7d7d7d !important;
}
.archive.category .breadcrumb li a{
    color: #7d7d7d !important;
}
@media screen and (max-width: 869px) {
    .archive.category .post-breadcrumb {
        padding-top: 15px;
        padding-left: 25px;
    }
    .post-breadcrumb .breadcrumb > li + li:not(.paged):after {
        color: #7d7d7d;
    }
}

/*
Categoy Icon Mobile
 */

.imgmb__card__category{
    min-width: 35px;
}
.category__card__img{
    min-height: 50px;
}

.category__page .category__card .category__card__title{
    margin-top: 2px;
}