/*

BLOG

*/


/* Résumé */

    /* Picture */
    .tease-post_picture{
        position: relative;
    }
    .tease-post_picture::before{
        display: block;
        width: 100%;
        padding-top: 70%;
        content: "";
    }
    .tease-post_picture a{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        overflow: hidden;
        text-decoration: none;
    }

    .no-picture{
        max-height: 80%;
        max-width: 80%;
    }
    .tease-post_picture img{
        transition: 0.2s ease-in-out;
    }
    .tease-post_picture:hover img{
        transform: scale(1.1);
    }



.tease-post_picture {
    border-radius: 50px 50px 0 0;
    overflow: hidden;
}

.tease-post_content {
    position: relative;
    padding: 35px 45px 40px 45px;
    min-height: 275px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
}
.tease-post_content a {
    margin-top: auto;
}
.tease-post_content p {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--grey);
}
.tease-post_categories {
    position: absolute;
    bottom: calc(100% + -10px);
}
.tease-post_category {
    color: #fff;
    background-color: var(--yellow);
    text-transform: uppercase;
    font-size: 1.4rem;
    border-radius: 10px;
    min-height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px 0 8px;
    text-decoration: none;
    line-height: 0;
    font-weight: 500;
}

.tease-post_content h2, .tease-post_content .like-h5 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--grey);
    margin-top: 0;
    margin-bottom: 14px;
    font-family: var(--font-secondary);
}
.tease-post.small .tease-post_content h2,.tease-post.small .tease-post_content .like-h5 {
    font-size: 2.7rem;
    font-weight: 600;
}
.tease-post_content h2 a, .tease-post_content h3 a, .tease-post_content .like-h5 a {
    text-decoration: none;
    color: var(--grey);
}
.tease-post_content > a {
    color: var(--yellow);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}
.tease-post {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: -5px 11px 34px rgba(0,0,0,.16);
    height: 100%;
}


.slider-actus .slick-list {
    padding: 5rem;
}
@media screen and (max-width:768px) {
    .slider-actus .slick-list {
        padding: 5rem 2rem;
    }
    .slider-actus button.slick-arrow.slick-prev {
        left: 3px;
        width: 30px;
        height: 30px;
    }
    .slider-actus button.slick-arrow.slick-next {
        right: 3px;
        width: 30px;
        height: 30px;
    }
}
.slider-actus .slick-list .slick-slide {
    opacity: 1;
    transition: .5s;
    padding: 0 20px;
}
.slider-actus .slick-list .slick-slide:not(.slick-current):not(.slick-active) {
    opacity: 0;
    transition: .5s;
}

.list-posts > div {
    margin-bottom: 26px;
}
.list-posts {
    margin-bottom: 44px;
}

.list-categories {
    display: flex;
    justify-content: center;
    border-bottom: 4px solid var(--grey);
    padding-bottom: 25px;
    margin-bottom: 77px;
}
.list-categories__categorie  {
    margin: 0 30px;
}
@media screen and (max-width:768px) {
    .list-categories__categorie {
        margin: 0 15px;
    }
}
@media screen and (max-width: 550px) {
    .list-categories {
        flex-wrap: wrap;
    }
    .list-categories__categorie {
        width: calc(50% - 50px);
        margin: 10px 0;
    }
}
@media screen and (max-width: 400px) {
    .list-categories__categorie {
        width: 100%;
        text-align: center;
    }
}
.list-categories__categorie a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.8rem;
}
.list-categories__categorie.active a {
    color: var(--color-primary);
    font-weight: 500;
}
