/* =========================================================
   CARTE ARTICLE
   ========================================================= */

.carte-article {
    width: 100%;
    min-width: 0;
}


/* IMAGE
   ========================================================= */

.carte-article__image {
    display: block;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    text-decoration: none;
}

.carte-article__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.carte-article__image:hover img {
    transform: scale(1.02);
}


/* CONTENU
   ========================================================= */

.carte-article__contenu {
    padding-top: 22px;
}


/* META
   ========================================================= */

.carte-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 13px;

    margin-bottom: 17px;

    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;

    color: #210706;
}

.carte-article__categorie {
    color: inherit;
    text-decoration: none;
}

.carte-article__categorie:hover {
    text-decoration: underline;
}

.carte-article__auteur,
.carte-article__meta time {
    color: inherit;
}


/* TITRE
   ========================================================= */

.carte-article__titre {
    margin: 0 0 18px;

    font-family: "Instrument Serif", serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.08;

    color: #210706;
}

.carte-article__titre a {
    color: inherit;
    text-decoration: none;
}


/* LIRE LA SUITE
   ========================================================= */

.carte-article__lien {
    display: inline-block;

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;

    color: #210706;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .carte-article__contenu {
        padding-top: 18px;
    }

    .carte-article__titre {
        font-size: 25px;
    }

}

/* =========================================================
   LISTE ARTICLES
   ========================================================= */

.liste-articles {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 65px 38px;
}


/* TABLETTE
   ========================================================= */

@media (max-width: 1024px) {

    .liste-articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 55px 30px;
    }

}


/* MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .liste-articles {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}
/* =========================================================
   PAGE BLOG
   ========================================================= */

.blog-page {
    width: 100%;
    padding: 80px 40px 120px;
    background-color: #f7f2eb;
    box-sizing: border-box;
}



/* =========================================================
   FILTRES
   ========================================================= */

.blog-filtres {
    width: min(1300px, 100%);
    margin: 0 auto 55px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px 35px;
}

.blog-filtre {
    position: relative;

    padding: 7px 0;

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #210706;
    text-decoration: none;
}

.blog-filtre::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background-color: #210706;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.blog-filtre:hover::after,
.blog-filtre--actif::after {
    transform: scaleX(1);
}


/* =========================================================
   LISTE
   ========================================================= */

.blog-liste {
    width: min(1300px, 100%);
    margin: 0 auto;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1024px) {

    .blog-page {
        padding: 70px 35px 100px;
    }

    .blog-header h1 {
        font-size: 52px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .blog-page {
        padding: 55px 20px 75px;
    }

    .blog-header {
        margin-bottom: 40px;
    }

    .blog-header h1 {
        margin-bottom: 17px;
        font-size: 42px;
    }

    .blog-header p {
        font-size: 13.7px;
    }

    .blog-filtres {
        margin-bottom: 45px;
        gap: 10px 22px;
    }

    .blog-filtre {
        font-size: 10.5px;
        letter-spacing: 1.2px;
    }

}
/* =========================================================
   CTA BLOG
   ========================================================= */

.blog-cta {
    width: 100%;
    padding: 125px 40px 80px;

    background-color: #a66f4b;

    box-sizing: border-box;
}

.blog-cta__inner {
    width: min(1100px, 100%);
    margin: 0 auto;

    text-align: center;
}

.blog-cta h2 {
    max-width: 1050px;
    margin: 0 auto 65px;

    font-family: "Instrument Serif", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.12;

    color: #ffffff;
}

.blog-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 53px;
    padding: 0 25px;

    background-color: #ffffff;

    border-radius: 3px;

    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #9b6344;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.blog-cta__button:hover {
	background-color: #f1e8df;
    color: #9b6344;
}


/* MOBILE */

@media (max-width: 767px) {

    .blog-cta {
        padding: 75px 20px 65px;
    }

    .blog-cta h2 {
        margin-bottom: 45px;

        font-size: 34px;
        line-height: 1.12;
    }

    .blog-cta__button {
        min-height: 52px;
        padding: 0 22px;

        font-size: 11px;
        letter-spacing: 2px;
		    transition: background-color 0.2s ease;

    }

}
.blog-hero {
    position: relative;

    width: 100%;
    height: 410px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("/images/blog-hero.webp");
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;

    overflow: hidden;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;

    background-color: rgba(20, 10, 5, 0.28);
}

.blog-hero__content {
    position: relative;
    z-index: 2;

    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;

    text-align: center;
}

.blog-hero__surtitre {
    margin: 0 0 52px;

    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #ffffff;
}

.blog-hero h1 {
    margin: 0;

    font-family: "Instrument Serif", serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.08;

    color: #ffffff;
}