/* ===================================
   BLOG - STYLES
   =================================== */
   
/* Fond dégradé pour les pages blog */
body.bg-gradient-blog {
    background: linear-gradient(135deg, #8b7355 0%, #a89f91 30%, #c8b8a0 60%, #e8dcc8 100%);
    min-height: 100vh;
}

/* Alternative plus claire si trop foncé */
/* body.bg-gradient-blog {
    background: linear-gradient(135deg, #d4c5b0 0%, #e8dcc8 50%, #f5f0e8 100%);
} */

/* En-tête du blog */
.blog-header {
    padding: 2rem 0;
}

.blog-header h1 {
    color: #7c3aed;
    font-weight: 700;
}

.blog-header .lead {
    font-size: 1.2rem;
}

/* Cartes d'articles */
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15) !important;
}

.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.article-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
}

.article-card .card-title {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.article-card .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-meta {
    font-size: 0.85rem;
}

.article-meta i {
    margin-right: 0.25rem;
}

/* Détail de l'article */
.article-header h1 {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.2;
}

.featured-image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.article-content h2 {
    color: #7c3aed;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: #1f2937;
    font-weight: 600;
}

.article-content blockquote {
    border-left: 4px solid #7c3aed;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.article-content code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #7c3aed;
}

.article-content pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
}

.article-content table th {
    background: #f3f4f6;
    font-weight: 600;
    color: #1f2937;
}

.article-content table tr:hover {
    background: #f9fafb;
}

/* CTA Box */
.cta-box {
    border-width: 2px !important;
}

.cta-box h3 i {
    font-size: 1.5rem;
}

.cta-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Social Share */
.social-share a {
    text-decoration: none;
}

.social-share .btn {
    transition: transform 0.2s ease;
}

.social-share .btn:hover {
    transform: scale(1.05);
}

/* Articles similaires */
.related-articles h2 {
    color: #1f2937;
    font-weight: 700;
}

/* Fil d'Ariane */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: #7c3aed;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .featured-image img {
        max-height: 300px;
    }
}

/* Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeIn 0.5s ease-out;
}