/**
 * Custom Blog Styles - BGStudio
 * Styles pour la page blog (remplace les styles inline)
 */

/* ======================
   Hero Section
   ====================== */

.blog-hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

.blog-hero-badge {
    background-color: #C6F962;
    color: #030303;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: #666;
}

/* ======================
   Blog Grid Section
   ====================== */

.blog-grid-section {
    padding-top: 80px;
    padding-bottom: 120px;
}

/* ======================
   Blog Cards
   ====================== */

.blog-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ======================
   Author Section
   ====================== */

.blog-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background-color: #C6F962;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-name {
    display: block;
    font-weight: 600;
    color: #030303;
    font-size: 14px;
    margin-bottom: 2px;
}

.blog-author-role {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* ======================
   Date Meta
   ====================== */

.blog-date-meta {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date-meta svg {
    flex-shrink: 0;
}

/* ======================
   Thumbnail
   ====================== */

.blog-thumbnail {
    overflow: hidden;
    border-radius: 8px;
    margin-left: -30px;
    margin-right: -30px;
    margin-top: -30px;
    position: relative;
}

.blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

/* Overlay TRÈS sombre sur toute l'image pour le texte blanc */
.blog-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* Améliorer encore plus le contraste en ajoutant text-shadow sur le texte dans l'image */
.blog-thumbnail * {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

/* ======================
   Category Tag
   ====================== */

.blog-category-tag {
    background-color: #030303;
    color: #C6F962;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    display: inline-block;
    text-transform: uppercase;
}

/* ======================
   Article Title
   ====================== */

.blog-article-title {
    color: #030303;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    transition: color 0.3s ease;
}

.blog-article-title:hover {
    color: #C6F962;
}

/* ======================
   Read More Button
   ====================== */

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #030303;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #C6F962;
    gap: 12px;
}

.blog-read-more-icon {
    display: inline-flex;
}
