.site-main-mt-archive {
    background-image: url("/wp-content/uploads/2023/01/bkg-articles.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100%;
}

.mt-archive {
    margin-bottom: 70px;
}

.mt-archive-filter {
    margin-bottom: 50px;
}
.mt-archive-filter .thematiques-filter .mobile-filter {
    display: none;
}
.mt-archive-filter ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.mt-archive-filter ul li.elementor-button-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    color:#4194D1;
    border-radius: 20px;
    padding: 5px 25px;
    margin-right: 10px;

    cursor: pointer;
}
.mt-archive-filter ul li.elementor-button-link:after {
    background-color: white;
    border: 1px solid #4194D1 !important;
}
.mt-archive-filter ul li.active:after {
    background-color: transparent;
    content: 'x';
    width: 24px;
    height: 24px;
    line-height: 24px;
    right: 0px;
    left: inherit;
    bottom: 4px;
    z-index: -1;
}
.mt-archive-filter ul li:last-child {
    margin-right: 0;
}

.mt-articles {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.mt-articles .post {
    display: flex;
    flex-direction: column;
    align-items: start;
    align-self: stretch;
    justify-content: space-between;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(21, 93, 181, 0.4);
    border-radius: 40px;
    width: 48%;
    margin-bottom: 4%;
}
.mt-articles .post .post-infos {
    display: flex;
    width: 100%;
}
.mt-articles .post .post-infos .post-category {
    text-align: left;
    width: 65%;
}
.mt-articles .post .post-infos .post-category button {
    line-height: 14px;
    font-size: 10px;
    font-weight: 600;
    color: #4194D1;
    border: 1px solid #4194D1;
    border-radius: 20px;
    background-color: white;
    text-transform: none;
    /*padding: 8px 22px;*/
    padding: 8px 10px;
    cursor: inherit;
    margin-bottom: 5px;
}
.mt-articles .post .post-infos .post-date {
    text-align: right;
    line-height: 15px;
    font-size: 11px;
    font-weight: 500;
    color: #5E657C;
    width: 35%;
}
.mt-articles .post .post-infos > div {
    /*width: 50%;*/
    align-self: center;
    margin-bottom: 40px;
}
.mt-articles .post h2, .mt-articles .post h2 a {
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
}
.mt-articles .post p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    min-height: 150px;
}

.mt-articles a.elementor-button {
    margin-top: 20px;
}

.mt-articles a.elementor-button,
.mt-archive-more button.elementor-button {
    padding-left: 30px;
    padding-right: 30px;
    align-self: center;
}
.mt-articles a.elementor-button, .mt-articles a.elementor-button:hover,
.mt-archive-more button.elementor-button, .mt-archive-more button.elementor-button:hover {
    font-size: 13px;
    font-weight: 900;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.mt-archive-more {
    text-align: center;
}

.mt-retour p {
    margin-bottom: 0;
}
.mt-retour a {
    background-image: url("../images/bt-retour.png");
    background-position: left center;
    background-size: 28px;
    background-repeat: no-repeat;

    padding: 7px 0 7px 35px;
    margin-left: 15px;
    font-size: 15px !important;
    line-height: 28px !important;
}


@media (max-width: 1024px) {
    .mt-archive-filter ul li.active:after {
        bottom: 5px;
    }

    .mt-articles .post h2, .mt-articles .post h2 a {
        font-size: 17px;
        line-height: 20px;
    }
}

@media (max-width: 768px) {
    .mt-archive-filter .thematiques-filter {
        border: 1px solid #155DB5;
        border-radius: 28px;
        padding: 15px;
    }
    .mt-archive-filter .thematiques-filter .mobile-filter {
        display: block;
        cursor: pointer;
        position: relative;
        font-size: 14px;
        font-weight: 400;
        line-height: 25px;
        padding-left: 30px;
        background-image: url("../images/bt-thematiques.png");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 25px;
    }
    .mt-archive-filter .thematiques-filter .mobile-filter:after {
        position: absolute;
        top: 9px;
        right: 0;
        content: '';
        width: 14px;
        height: 8px;
        background-image: url("../images/bt-chevron.png");
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 14px;
    }

    .mt-archive-filter ul {
        display: none;
        margin-top: 15px;
    }

    .mt-archive-filter ul li.elementor-button-link {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .mt-articles .post {
        width: 100%;
        margin-bottom: 20px;
    }
    .mt-articles .post .post-infos {
        flex-direction: column;
    }
    .mt-articles .post .post-infos > div {
        width: 100%;
        margin-bottom: 20px;
    }
    .mt-articles .post .post-infos .post-category, .mt-articles .post .post-infos .post-date {
        text-align: center;
    }
    .mt-articles .post .post-infos .post-category button {
        font-size: 12px;
    }
    .mt-articles .post .post-infos .post-date {
        font-size: 13px;
        line-height: 20px;
    }

    .mt-articles .post h2, .mt-articles .post p {
        width: 100%;
        text-align: center;
    }
    .mt-articles .post p {
        min-height: 100px;
    }

    .mt-archive-more {
        padding-bottom: 40px;
    }
}