/* Styles propres à la page blog-details.php */
/* Badge "À la une" pour article */
.blog-img .article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Style de l'extrait d'article */
.article-excerpt {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.article-excerpt .lead {
    margin-bottom: 0;
    font-style: italic;
    color: #2c3e50;
}

/* Contenu de l'article */
.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2, 
.article-content h3, 
.article-content h4 {
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
}

.article-content blockquote {
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    padding: 20px;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Articles similaires */
.related-articles {
    border-top: 2px solid #ecf0f1;
    padding-top: 2rem;
    margin-top: 2rem;
}

.related-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-3px);
}

.related-img {
    height: 120px;
    overflow: hidden;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-meta {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 8px;
}

.related-content h6 {
    margin: 0;
    line-height: 1.4;
}

.related-content h6 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-content h6 a:hover {
    color: #3498db;
}

/* Avatar de commentaire */
.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/* Partage social amélioré */
.th-social.style4 a {
    transition: all 0.3s ease;
}

.th-social.style4 a:hover {
    transform: translateY(-2px);
}

/* Couleurs de catégorie dans sidebar */
.widget_categories .category-color {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.widget_categories .category-count {
    color: #95a5a6;
    font-size: 12px;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-content {
        font-size: 14px;
    }

    .blog-img .article-badge {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .related-articles .row > div {
        margin-bottom: 1rem;
    }
}
