/* Updated: 2026-04-15 17:16:59 */
/* ============================================
   EQUIRIDER — Design Articles (single posts)
   Version 1.1 — Avril 2026
   Scope: body.single-post pour eviter conflits Elementor
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

body.single-post {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #404040;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

body.single-post a { color: #1A5632; text-decoration: none; }
body.single-post a:hover { text-decoration: underline; }
body.single-post img { max-width: 100%; height: auto; display: block; }

body.single-post .site-main { padding: 0; margin: 0; }

/* ============================================
   ARTICLE HEADER
   ============================================ */
body.single-post .article-header {
    padding: 24px 16px 0;
    max-width: 720px;
    margin: 0 auto;
}

body.single-post .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #737373;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
body.single-post .breadcrumb a { color: #737373; }
body.single-post .breadcrumb a:hover { color: #1A5632; }
body.single-post .breadcrumb svg { width: 14px; height: 14px; flex-shrink: 0; }

body.single-post .article-category {
    display: inline-block;
    padding: 6px 14px;
    background: #1A5632;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-decoration: none;
}
body.single-post .article-category:hover { color: #fff; text-decoration: none; }
body.single-post .article-category.sante { background: #7C3AED; }
body.single-post .article-category.sport { background: #EA580C; }
body.single-post .article-category.formation { background: #4F46E5; }
body.single-post .article-category.turf { background: #DC2626; }
body.single-post .article-category.magazine { background: #EC4899; }

body.single-post .article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin: 0 0 16px 0;
}

body.single-post .article-excerpt {
    font-size: 1.125rem;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 20px;
}

body.single-post .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
    flex-wrap: wrap;
}
body.single-post .author { display: flex; align-items: center; gap: 10px; }
body.single-post .author-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #E5E5E5; }
body.single-post .author-info { display: flex; flex-direction: column; }
body.single-post .author-name { font-weight: 600; font-size: 14px; color: #000; }
body.single-post .author-title { font-size: 12px; color: #737373; }
body.single-post .meta-separator { width: 4px; height: 4px; background: #D4D4D4; border-radius: 50%; }
body.single-post .meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #737373; }
body.single-post .meta-item svg { width: 16px; height: 16px; }

/* ============================================
   FEATURED IMAGE
   ============================================ */
body.single-post .featured-image {
    margin: 24px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #F5F5F5;
}
body.single-post .featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
body.single-post .featured-image figcaption { padding: 12px 16px; font-size: 13px; color: #737373; background: #FAFAFA; text-align: center; }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
body.single-post .toc-mobile {
    margin: 0 16px 24px;
    padding: 20px;
    background: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
body.single-post .toc-mobile-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
body.single-post .toc-mobile-title { font-weight: 600; font-size: 14px; color: #000; display: flex; align-items: center; gap: 8px; }
body.single-post .toc-mobile-title svg { width: 18px; height: 18px; color: #1A5632; }
body.single-post .toc-mobile-toggle { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #E5E5E5; border-radius: 4px; transition: transform 0.2s; }
body.single-post .toc-mobile-toggle svg { width: 16px; height: 16px; color: #737373; }
body.single-post .toc-mobile.open .toc-mobile-toggle { transform: rotate(180deg); }
body.single-post .toc-list { list-style: none; margin-top: 16px; padding: 0; display: none; }
body.single-post .toc-mobile.open .toc-list { display: block; }
body.single-post .toc-list li { margin-bottom: 10px; }
body.single-post .toc-list a { font-size: 14px; color: #525252; display: flex; align-items: flex-start; gap: 10px; text-decoration: none; }
body.single-post .toc-list a:hover { color: #1A5632; text-decoration: none; }
body.single-post .toc-number { font-weight: 600; color: #1A5632; font-size: 12px; min-width: 20px; }

/* ============================================
   ARTICLE CONTENT
   ============================================ */
body.single-post .article-content {
    padding: 0 16px;
    max-width: 720px;
    margin: 0 auto;
}

body.single-post .article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid #E5E5E5;
}
body.single-post .article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

body.single-post .article-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 32px 0 12px;
}

body.single-post .article-content p { margin-bottom: 20px; }
body.single-post .article-content strong { color: #000; font-weight: 600; }
body.single-post .article-content a { color: #1A5632; }
body.single-post .article-content a:hover { text-decoration: underline; }
body.single-post .article-content ul,
body.single-post .article-content ol { margin: 0 0 20px 24px; }
body.single-post .article-content li { margin-bottom: 8px; }

/* Blockquote */
body.single-post .article-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: #E6F2EB;
    border-left: 4px solid #1A5632;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #404040;
}
body.single-post .article-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #1A5632;
}

/* Figures */
body.single-post .article-content figure { margin: 28px 0; border-radius: 12px; overflow: hidden; }
body.single-post .article-content figure img { width: 100%; }
body.single-post .article-content figcaption { padding: 12px; font-size: 13px; color: #737373; background: #FAFAFA; text-align: center; }

/* Info box */
body.single-post .info-box {
    margin: 28px 0;
    padding: 20px;
    background: #F5EFE0;
    border-radius: 12px;
    border: 1px solid rgba(201,169,89,0.3);
}
body.single-post .info-box-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
body.single-post .info-box-icon { width: 32px; height: 32px; background: #C9A959; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
body.single-post .info-box-icon svg { width: 18px; height: 18px; color: #fff; }
body.single-post .info-box-title { font-weight: 700; font-size: 14px; color: #000; }
body.single-post .info-box p { font-size: 14px; margin-bottom: 0; }

/* Warning box */
body.single-post .warning-box { margin: 28px 0; padding: 20px; background: #FEF2F2; border-radius: 12px; border: 1px solid #FECACA; }
body.single-post .warning-box .info-box-icon { background: #EF4444; }

/* Comparison table */
body.single-post .comparison-table { margin: 28px 0; overflow-x: auto; border-radius: 12px; border: 1px solid #E5E5E5; }
body.single-post .comparison-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
body.single-post .comparison-table th,
body.single-post .comparison-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #E5E5E5; }
body.single-post .comparison-table th { background: #FAFAFA; font-weight: 600; color: #000; }
body.single-post .comparison-table tr:last-child td { border-bottom: none; }

/* Tables generiques (contenu WP) */
body.single-post .article-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 28px 0; border: 1px solid #E5E5E5; border-radius: 12px; overflow: hidden; }
body.single-post .article-content th,
body.single-post .article-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #E5E5E5; }
body.single-post .article-content th { background: #FAFAFA; font-weight: 600; color: #000; }
body.single-post .article-content tr:last-child td { border-bottom: none; }

/* CTA in article */
body.single-post .article-cta {
    margin: 40px 0;
    padding: 28px 20px;
    background: linear-gradient(135deg, #000 0%, #262626 100%);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}
body.single-post .article-cta h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
body.single-post .article-cta p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
body.single-post .article-cta-btn { display: inline-block; padding: 14px 28px; background: #C9A959; color: #000; font-weight: 700; font-size: 14px; border-radius: 12px; text-decoration: none; }
body.single-post .article-cta-btn:hover { background: #F5EFE0; text-decoration: none; }

/* ============================================
   SHARE & ACTIONS
   ============================================ */
body.single-post .article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #E5E5E5;
    flex-wrap: wrap;
    gap: 16px;
}
body.single-post .share-buttons { display: flex; align-items: center; gap: 8px; }
body.single-post .share-label { font-size: 13px; font-weight: 600; color: #525252; margin-right: 4px; }
body.single-post .share-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: #F5F5F5; border-radius: 8px; color: #525252;
    transition: all 0.2s; text-decoration: none; border: none; cursor: pointer;
}
body.single-post .share-btn:hover { background: #1A5632; color: #fff; }
body.single-post .share-btn svg { width: 18px; height: 18px; }

body.single-post .bookmark-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; background: #F5F5F5; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: #404040;
    text-decoration: none; border: none; cursor: pointer;
}
body.single-post .bookmark-btn svg { width: 18px; height: 18px; }

/* ============================================
   AUTHOR BIO
   ============================================ */
body.single-post .author-bio {
    margin: 40px 0;
    padding: 24px;
    background: #FAFAFA;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
body.single-post .author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
body.single-post .author-bio-content { flex: 1; }
body.single-post .author-bio-name { font-weight: 700; font-size: 16px; color: #000; margin-bottom: 4px; }
body.single-post .author-bio-role { font-size: 13px; color: #1A5632; font-weight: 500; margin-bottom: 8px; }
body.single-post .author-bio-desc { font-size: 14px; color: #525252; line-height: 1.5; }

/* ============================================
   RELATED ARTICLES
   ============================================ */
body.single-post .related-section { margin: 48px 0; padding: 0 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
body.single-post .related-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 600; color: #000; margin-bottom: 20px; }
body.single-post .related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
body.single-post .related-card { display: flex; gap: 14px; padding: 12px; background: #FAFAFA; border-radius: 12px; transition: background 0.2s; text-decoration: none; }
body.single-post .related-card:hover { background: #F5F5F5; text-decoration: none; }
body.single-post .related-card-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #E5E5E5; }
body.single-post .related-card-content { flex: 1; min-width: 0; }
body.single-post .related-card-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #1A5632; margin-bottom: 4px; }
body.single-post .related-card-title { font-weight: 600; font-size: 14px; color: #000; line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.single-post .related-card-meta { font-size: 12px; color: #737373; }

/* ============================================
   NEWSLETTER
   ============================================ */
body.single-post .newsletter-section {
    margin: 48px 16px; padding: 32px 20px;
    background: linear-gradient(135deg, #1A5632 0%, #0F3D22 100%);
    border-radius: 16px; text-align: center; color: #fff;
    max-width: 720px; margin-left: auto; margin-right: auto;
}
body.single-post .newsletter-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
body.single-post .newsletter-icon svg { width: 24px; height: 24px; }
body.single-post .newsletter-section h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
body.single-post .newsletter-section p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
body.single-post .newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin: 0 auto; }
body.single-post .newsletter-form input { padding: 14px 16px; border: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 15px; background: rgba(255,255,255,0.95); }
body.single-post .newsletter-form input::placeholder { color: #A3A3A3; }
body.single-post .newsletter-form button { padding: 14px; background: #C9A959; color: #000; border: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; }
body.single-post .newsletter-form button:hover { background: #F5EFE0; }

/* ============================================
   DESKTOP
   ============================================ */
@media (min-width: 768px) {
    body.single-post .article-header { padding: 40px 24px 0; }
    body.single-post .article-title { font-size: 2.5rem; }
    body.single-post .featured-image { margin: 32px auto; max-width: 900px; border-radius: 24px; }
    body.single-post .article-content { padding: 0 24px; }
    body.single-post .article-content h2 { font-size: 1.75rem; }
    body.single-post .related-grid { grid-template-columns: repeat(2, 1fr); }
    body.single-post .newsletter-form { flex-direction: row; }
    body.single-post .newsletter-form input { flex: 1; }
    body.single-post .newsletter-form button { padding: 14px 28px; }
}

@media (min-width: 1024px) {
    body.single-post .related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   FIXES MOBILE ARTICLE
   ============================================ */

/* Image featured — pleine largeur sans border-radius sur mobile */
@media (max-width: 767px) {
    body.single-post .featured-image {
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
    }
    body.single-post .featured-image img {
        border-radius: 0;
        width: 100%;
        max-height: 280px;
        object-fit: cover;
    }
}

/* Meta auteur — tout sur une seule ligne */
body.single-post .article-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 13px;
}

body.single-post .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Separateur remplace par point median */
body.single-post .meta-separator {
    display: none;
}

body.single-post .meta-item + .meta-item::before {
    content: '\00B7';
    margin-right: 6px;
    opacity: 0.5;
    color: #737373;
}
