/* =========================================================
   ARTICLES
   ========================================================= */

.articles-section {
    width: 100%;
    padding: 70px 0 90px;
    box-sizing: border-box;
}

/* LOCATION MEUBLÉE */
.articles-location-meublee {
    background-color: #D8C1A3;
}

.articles-container {
    width: min(1165px, 88%);
    margin: 0 auto;
}

.articles-title {
    margin: 0 0 75px;

    text-align: center;

    font-family: "Open Sans Local", "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 2.7px;
    text-transform: uppercase;

    color: #210706;
}


/* =========================================================
   GRILLE
   ========================================================= */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    gap: 24px;
}


/* =========================================================
   CARTE
   ========================================================= */

.article-card {
    width: 100%;
    min-width: 0;
}

.article-card__link {
    display: block;

    width: 100%;

    color: inherit;
    text-decoration: none;
}

.article-card__image {
    width: 100%;
    aspect-ratio: 1.5 / 1;

    overflow: hidden;
}

.article-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.article-card__link:hover .article-card__image img {
    transform: scale(1.025);
}


/* =========================================================
   TITRE ARTICLE
   ========================================================= */

.article-card h3 {
    max-width: 340px;

    margin: 15px auto 0;

    font-family: "Open Sans Local", "Open Sans", Arial, sans-serif;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.3;

    text-align: center;

    color: #210706;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .articles-section {
        padding: 50px 0 65px;
    }

    .articles-container {
        width: 88%;
    }

    .articles-title {
        margin-bottom: 50px;

        font-size: 12px;
        line-height: 1.5;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .article-card h3 {
        font-size: 17px;
    }

}