/* ========================================
   BLOG ARTICLES - STYLING COMPLET
   ======================================== */

/* Article principal */
.blog-post {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Post meta (date, auteur, catégorie) */
.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-meta span {
    font-size: 14px;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-date::before {
    content: "📅";
}

.post-author::before {
    content: "👤";
}

.post-category {
    background: var(--primary-color, #354e33);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* Titres dans les articles */
.blog-post h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.3;
}

.blog-post h3 {
    font-size: 26px;
    font-weight: 600;
    color: #444;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color, #354e33);
}

.blog-post h4 {
    font-size: 20px;
    font-weight: 600;
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post h5 {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-top: 20px;
    margin-bottom: 12px;
}

/* Paragraphes */
.blog-post p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.blog-post p strong {
    color: #333;
    font-weight: 600;
}

/* Listes */
.blog-post ul,
.blog-post ol {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-post ul li,
.blog-post ol li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.blog-post ul li::marker {
    color: var(--primary-color, #354e33);
    font-weight: bold;
}

/* Tableaux */
.blog-post table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.blog-post table thead {
    background: var(--primary-color, #354e33);
    color: #fff;
}

.blog-post table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.blog-post table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #555;
}

.blog-post table tbody tr:hover {
    background: #f8f8f8;
}

.blog-post table tbody tr:last-child td {
    border-bottom: none;
}

/* Accordéons FAQ */
.blog-post .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.blog-post .accordion-button {
    background: #f8f8f8;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    padding: 18px 20px;
}

.blog-post .accordion-button:not(.collapsed) {
    background: var(--primary-color, #354e33);
    color: #fff;
}

.blog-post .accordion-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Alertes / Call-outs */
.blog-post .alert {
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid;
}

.blog-post .alert-info {
    background: #e7f3ff;
    border-color: #2196F3;
    color: #1565C0;
}

.blog-post .alert-success {
    background: #e8f5e9;
    border-color: #4CAF50;
    color: #2E7D32;
}

.blog-post .alert-warning {
    background: #fff3e0;
    border-color: #FF9800;
    color: #E65100;
}

/* Citations / Blockquotes */
.blog-post blockquote {
    border-left: 4px solid var(--primary-color, #354e33);
    background: #f8f8f8;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* Images */
.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-post .img-fluid {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Cards dans blog */
.blog-post .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-post .card-header {
    font-size: 18px;
    padding: 15px 20px;
    border-bottom: none;
}

.blog-post .card-body {
    padding: 20px;
}

/* Liens */
.blog-post a {
    color: var(--primary-color, #354e33);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-post a:hover {
    color: #1a2718;
    text-decoration: none;
}

/* CTA Buttons */
.blog-post .btn-main {
    display: inline-block;
    background: var(--primary-color, #354e33);
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(53, 78, 51, 0.3);
}

.blog-post .btn-main:hover {
    background: #1a2718;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(53, 78, 51, 0.4);
}

/* Section témoignages */
.testimonial-card {
    background: #f8f8f8;
    border-left: 4px solid var(--primary-color, #354e33);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: #333;
    margin-top: 15px;
    font-size: 16px;
}

.testimonial-card .client-location {
    color: #888;
    font-size: 14px;
}

.testimonial-card .rating {
    color: #FFB800;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Sidebar blog */
.blog-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.blog-sidebar h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul li {
    margin-bottom: 12px;
}

.blog-sidebar ul li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.blog-sidebar ul li a:hover {
    color: var(--primary-color, #354e33);
    padding-left: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post {
        padding: 25px 20px;
    }

    .blog-post h2 {
        font-size: 26px;
    }

    .blog-post h3 {
        font-size: 22px;
    }

    .post-meta {
        gap: 10px;
    }
}

/* Print-friendly */
@media print {
    .blog-post {
        box-shadow: none;
        padding: 0;
    }
}
