/********************************************
 * STYLE – ATH13 BLOG ROTATION
 * Mise en page cohérente avec la charte :
 * - Couleurs : #d5cab6 / #373a3d / #6a6e72
 * - Typo : Montserrat
 ********************************************/

/* ----- RESET DE BASE ----- */
.articles-grid, 
.blog-article, 
#cta {
    font-family: 'Montserrat', sans-serif !important;
    box-sizing: border-box;
}


/********************************************
 *  🟫 GRILLE DES ARTICLES
 ********************************************/
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.blog-article {
    background: #ffffff;
    border: 1px solid #d5cab6;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

.blog-article:hover {
    transform: translateY(-4px);
}


/********************************************
 *  🟦 IMAGE DES ARTICLES (uniformisée)
 ********************************************/
.blog-article img {
    width: 100%;
    aspect-ratio: 4 / 3;       /* Taille uniforme */
    object-fit: cover;          /* Remplir sans déformation */
    object-position: center;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}


/********************************************
 *  🟤 TITRES & TEXTES
 ********************************************/
.blog-article h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #373a3d;
    font-weight: 700;
}

.blog-article p {
    font-size: 15px;
    color: #6a6e72;
    margin-bottom: 20px;
}


/********************************************
 *  🟪 BOUTON DES ARTICLES
 ********************************************/
.blog-article .cta-button {
    display: inline-block;
    background: #6a6e72;
    color: #d5cab6;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.blog-article .cta-button:hover {
    background: #373a3d;
}



/********************************************
 *  🟧 BLOC CTA FINAL
 ********************************************/
#cta {
    background: #d5cab6;
    color: #373a3d;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
    margin-top: 70px;
}

#cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

#cta p {
    font-size: 18px;
    margin-bottom: 25px;
}

#cta .cta-button {
    background: #6a6e72;
    color: #d5cab6;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 17px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s ease;
}

#cta .cta-button:hover {
    background: #373a3d;
}
