/**********************************************************************/
/* BLOG ***************************************************************/
/**********************************************************************/
/* #bann-home .row-bg-wrap {
    background: 
    radial-gradient(circle at 90% 50%, #f7bf33 0%, #f7bf33 20%, transparent 100%), 
    radial-gradient(circle at 60% 60%, #d60b52 0%, #d60b52 15%, transparent 100%),
    radial-gradient(circle at 70% 40%, #37a5b7 0%, #37a5b7 10%, #FFF 100%);
} */

#blog-single-post .row,
.archive.category .container.main-content>.row,
#block-blog .wpb_wrapper>.row {
    display: flex;
    flex-direction: column;
}

#blog-single-post .row .post-area.col {
    max-width: 100% !important;
}

.post-area.col {
    order: 2;
}

#sidebar {
    order: 1;
}

ul.wp-block-categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.material #sidebar .widget ul.wp-block-categories-list li a {
    padding: 12px 25px !important;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin: 10px;
    transform: scale(1);
    transition: all .2s ease;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
}

.material #sidebar .widget ul.wp-block-categories-list li a:hover {
    transform: scale(0.9);
    color: #FFF !important;
}


/*******/

.post-featured-img-wrap,
.post-featured-img-wrap img {
    border-radius: 20px !important;
}

.post-content.classic .excerpt p {
    font-size: 16px;
    line-height: 26px;
}


.cat-item-1 a {
    background: var(--color-1);
}
.cat-item-7 a {
    background: var(--color-2);
}
.cat-item-8 a {
    background: var(--color-3);
}
.cat-item-9 a {
    background: var(--color-4);
}

/* .post .content-inner .post-featured-img img {
    border-radius: 7px;
} */

.fullscreen-blog-header #single-below-header {
    margin-bottom: 0;
}

#single-below-header .meta-category {
    display: none !important;
}

.meta-category {
    font-size: 0;
}

.meta-category a {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    /* padding: 12px 20px 12px; */
    color: var(--color-1) !important;
    border-bottom: 2px solid var(--color-1);
    margin-right: 15px;
    margin: 10px 10px 10px 0!important;
    display: inline-block;
    line-height: normal;
}

.meta-category a:hover {
    border-bottom: 2px solid;
}

.post-area.featured_img_left .meta-category a {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 20px 12px;
    color: #FFF !important;
    border: none;
    border-radius: 30px;
    margin-right: 15px;
    margin: 10px 10px 20px 0!important;
    display: inline-block;
    line-height: normal;
}

.post-area.featured_img_left .meta-category a:hover {
    border: none;
}

.post-area.featured_img_left .meta-category a:before {
    display: none !important;
}

.post-area.featured_img_left .meta-category a:hover:before {
    border: none !important;
}

.post .post-content.classic .content-inner {
    border-bottom: none;
    padding: 0;
    margin-bottom: 10px;
}

/*****************************************/
/* ARTICLE BLOC */
/*****************************************/
.post-area  .posts-container {
    display: flex;
    flex-wrap: wrap;
}

.post-area .posts-container article {
    width: 100%;
    background: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: scale(1);
    transition: .2s all ease;
}

.post-area .posts-container article:hover {
    transform: scale(1.05);
}

@media all and (max-width: 1000px) {
    .post-area .posts-container article {
        margin-bottom: 30px;
    }
    .post-area .posts-container article:last-child {
        margin-bottom: 0px;
    }
}

.post-area .posts-container article .article-content-wrap {
    padding: 0 30px 10px;
}

.post-area .posts-container article .excerpt {
    display: none;
}

.post a.more-link {
    display: none !important;
/*     background: var(--color-1);
    width: 40px;
    height: 40px;
    right: 10px;
    position: absolute;
    right: 30px;
    bottom: 10px;
    border-radius: 50%;
    transition: all .2s ease; */
}

.post:hover a.more-link {
    background: var(--color-2);
}

.post a.more-link span {
    display: none;
}

.post a.more-link::after {
    content: "";
    background: url('../img/arrow.svg') center/cover !important;
    width: 25px;
    height: 14px;
    display: block;
    position: absolute;
    margin: 13px 0 0 6px;
    filter: var(--filter-blanc);
}

@media all and (min-width:1000px) {
    .post-area.masonry.span_9.material .masonry-blog-item {
        width: 33%;
    }

    .post-area.masonry.span_9,
    .post-area.span_9,
    #sidebar  {
        width: 100% !important;
        margin: 0 0 5px 0 !important;
    }

    .posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Vous pouvez ajuster cette valeur */
    }

    .post-area .posts-container article {
        width: calc(33.3333% - 20px); /* (gap * (nombre d'éléments - 1)) / nombre d'éléments */
    }
}

.post-une .post-area .posts-container article:nth-child(1n) {
    border: 1px  solid #e4e4e4!important;
}

.post-une .post-featured-img {
    display: none;
}

.post-une .post-area .posts-container {
    border-top: 0px solid #e4e4e4;

}

.post-une .post-area .posts-container article {
    padding-bottom: 15px;
}


.post-header h2 {
    font-size: 25px !important;
    line-height: 30px !important;
}

.post-header h2 a {
    color: #3b3b3b !important;
}


/*******************************/
.related-post-wrap .row-bg-wrap .row-bg {
    background-color: transparent !important;
}