/*
 * Liste des articles
 *
 * Extrait des blocs <style> inline des gabarits : contenu inchange,
 * seul l'emplacement change.
 */

.blog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.blog-header h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.blog-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-thumb img {
    width: 100%;
    height: 200px; /* ← Taille uniforme */
    object-fit: cover; /* ← Important pour garder l'apparence clean */
    display: block;
}

.blog-content {
    padding: 1.5rem;
}
.blog-title {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}
.blog-excerpt {
    font-size: 1rem;
    color: #333;
}
.blog-readmore {
    display: inline-block;
    margin-top: 1rem;
    color: #fff;
    background: #c40000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}
.blog-readmore:hover {
    background: #900000;
}
@media (max-width: 768px) {
    .blog-card {
        flex: 1 1 100%;
    }
}
