/**
 * Styles pour Page Blog (page-blog.php - /blog/)
 * Grille d'articles 3 colonnes pleine largeur - Layout compact
 */

/* Forcer pleine largeur sur page blog */
.page-template-page-blog .blog-container {
    max-width: 100% !important;
    width: 100% !important;
}

.page-template-page-blog .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 2rem !important;
    margin: 0 !important;
}

/* Grille 3 colonnes pour page blog - Ultra compact */
.page-template-page-blog .articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
    width: 100% !important;
}

/* Réduction maximale espaces blancs ciblés - BONS SÉLECTEURS */
.page-template-page-blog .article-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.35rem !important;
    margin-top: 0 !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

.page-template-page-blog .article-content {
    padding: 0.5rem !important;
    padding-top: 0.25rem !important;
}

.page-template-page-blog .article-excerpt {
    font-size: 0.8125rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.page-template-page-blog .article-image {
    height: 180px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.page-template-page-blog .article-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.page-template-page-blog .article-footer {
    margin-top: 0.15rem !important;
    margin-bottom: 0 !important;
}

/* Style bouton catégorie - même bleu que bouton recherche */
.page-template-page-blog .article-meta {
    font-size: 0.75rem !important;
    margin-bottom: 0.15rem !important;
    gap: 0.5rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-template-page-blog .category-badge-small {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.7rem !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

.page-template-page-blog .article-card {
    border-radius: 8px !important;
}

@media (max-width: 992px) {
    .page-template-page-blog .articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .page-template-page-blog .articles-grid {
        grid-template-columns: 1fr !important;
    }
}
