/**
 * Big Bang — Média by Big Neurons
 * Lecture claire, accent teal, CTA mode sombre.
 */
body.bigbang-page {
    background-color: #FCFCFC !important;
    color: #1a1a1a !important;
}
body.bigbang-page .bn-header-bar,
body.bigbang-page .navbar-mobile { background: #111 !important; }
body.bigbang-page .menu-el,
body.bigbang-page .inherit-a.menu-el,
body.bigbang-page .bn-header-nav a,
body.bigbang-page .navbar-mobile a { color: #fff !important; }
body.bigbang-page .navbar-mobile .navbar-mobile-label,
body.bigbang-page .navbar-mobile-el,
body.bigbang-page .mobile-menu-icon { color: #fff !important; }
body.bigbang-page .navbar-mobile-el { background-color: rgba(17, 17, 17, 0.98) !important; }
body.bigbang-page .navbar-mobile-el a:hover,
body.bigbang-page .navbar-mobile-ressources a:hover { color: #d800ff !important; }
body.bigbang-page .brief-btn { background: #d800ff; color: #fff; }
/* Logo header visible sur fond noir (Big Bang) */
body.bigbang-page .bn-header-logo img { filter: brightness(0) invert(1); }

/* Accent Big Bang (teal) */
.bigbang-accent { color: #0D9488; }
.bigbang-bg-accent { background-color: #0D9488; }
.bigbang-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(13, 148, 136, 0.15);
    color: #0D9488;
    border-radius: 4px;
    text-decoration: none;
}
.bigbang-tag:hover { background: rgba(13, 148, 136, 0.25); color: #0D9488; }

/* Hero éditorial (home) */
.bigbang-hero {
    padding: 2rem 0 3rem;
    max-width: 900px;
    margin: 0 auto;
}
.bigbang-hero .bigbang-hero-cat { margin-bottom: 0.75rem; }
.bigbang-hero h1 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.bigbang-hero .bigbang-chapeau {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
.bigbang-hero .bigbang-meta { font-size: 0.9rem; color: #666; }
.bigbang-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Grille articles */
.bigbang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 992px) {
    .bigbang-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .bigbang-grid { grid-template-columns: 1fr; }
}
.bigbang-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.bigbang-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.bigbang-card a { text-decoration: none; color: inherit; }
.bigbang-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eee;
}
.bigbang-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bigbang-card-body { padding: 1rem; }
.bigbang-card .bigbang-tag { margin-bottom: 0.5rem; }
.bigbang-card h2 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}
.bigbang-card-chapeau { font-size: 0.9rem; color: #555; line-height: 1.4; }
.bigbang-card-meta { font-size: 0.8rem; color: #888; margin-top: 0.5rem; }

/* Layout article : l'article prend la place principale, le sommaire en colonne étroite à droite */
.bigbang-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}
@media (max-width: 992px) {
    .bigbang-layout { grid-template-columns: 1fr; }
    /* Archive et catégories : une seule colonne sur tablette/mobile (contenu au-dessus, sidebar en dessous) */
    .bigbang-archive-layout.bigbang-layout { grid-template-columns: 1fr; }
}
.bigbang-main { min-width: 0; }
/* Sur desktop : sommaire à droite (ordre visuel = article puis TOC) */
.bigbang-layout .bigbang-sidebar.bigbang-toc { order: 2; }
.bigbang-layout .bigbang-main { order: 1; }

/* Archive blog : hero pleine largeur, puis [Grille articles | Sidebar] côte à côte */
.bigbang-hero-full {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}
.bigbang-archive-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}
.bigbang-archive-layout .bigbang-main { order: 1; min-width: 0; }
.bigbang-archive-layout .bigbang-archive-sidebar { order: 2; min-width: 0; align-self: start; }
.bigbang-archive-sidebar .bigbang-sidebar { position: sticky; top: 100px; }
/* Mobile / tablette : une colonne, contenu en premier puis sidebar (déjà géré par 992px ci-dessus) */

/* Sidebar */
.bigbang-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.bigbang-sidebar h3 {
    font-family: 'Clash Display', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}
.bigbang-sidebar ul { list-style: none; padding: 0; margin: 0; }
.bigbang-sidebar li { margin-bottom: 0.5rem; }
.bigbang-sidebar a { color: #333; text-decoration: none; }
.bigbang-sidebar a:hover { color: #0D9488; }
.bigbang-cta-sidebar {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #111;
    color: #fff;
    border-radius: 8px;
}
.bigbang-cta-sidebar p { margin-bottom: 0.75rem; font-size: 0.95rem; }
.bigbang-cta-sidebar a {
    color: #0D9488;
    font-weight: 600;
    text-decoration: none;
}
.bigbang-cta-sidebar a:hover { text-decoration: underline; }

/* Barre de progression lecture (article) */
.bigbang-read-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #0D9488;
    z-index: 99999;
    transition: width 0.1s linear;
}

/* Article single */
.bigbang-article-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    background: #FCFCFC;
    color: #1a1a1a;
}
/* Titre article : taille lisible, pas de titraille géante */
body.bigbang-page .bigbang-article-wrap h1 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 1.75rem !important;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #1a1a1a;
    word-wrap: normal;
    overflow-wrap: normal;
}
@media (min-width: 768px) {
    body.bigbang-page .bigbang-article-wrap h1 {
        font-size: 2rem !important;
    }
}
.bigbang-article-wrap .bigbang-article-chapeau {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}
.bigbang-article-meta { font-size: 0.9rem; color: #666; margin-bottom: 1.5rem; }
.bigbang-article-content {
    font-size: 1.1rem;
    line-height: 1.7;
}
.bigbang-article-content h2 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.bigbang-article-content p { margin-bottom: 1rem; }
.bigbang-article-content a { color: #0D9488; font-weight: 600; }
.bigbang-article-content a:hover { text-decoration: underline; }

/* TOC */
.bigbang-toc {
    position: sticky;
    top: 100px;
    padding: 1rem;
    border-left: 3px solid #0D9488;
    background: #f8f8f8;
    border-radius: 0 8px 8px 0;
}
.bigbang-toc h3 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.bigbang-toc ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.bigbang-toc li { margin-bottom: 0.35rem; }
.bigbang-toc a { color: #333; text-decoration: none; }
.bigbang-toc a:hover { color: #0D9488; }

/* Bloc Chiffre Clé */
.wp-block-bigneurons-chiffre-cle {
    padding: 1.5rem;
    background: rgba(13, 148, 136, 0.12);
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
}
.wp-block-bigneurons-chiffre-cle .chiffre-cle-value {
    font-family: 'Clash Display', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: #0D9488;
    line-height: 1;
}
.wp-block-bigneurons-chiffre-cle .chiffre-cle-text { margin-top: 0.5rem; color: #333; }

/* Bloc À retenir */
.wp-block-bigneurons-a-retenir {
    padding: 1rem 1.25rem;
    border-left: 4px solid #0D9488;
    background: #f8f8f8;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

/* CTA milieu (contextuel) */
/* CTA milieu : encadré léger pour le distinguer du texte */
.bigbang-cta-mid {
    margin: 2rem 0;
    padding: 1rem 1.25rem;
    background: rgba(13, 148, 136, 0.08);
    border-left: 4px solid #0D9488;
    border-radius: 0 8px 8px 0;
}
.bigbang-cta-mid p { margin: 0; }
.bigbang-cta-mid a {
    color: #0D9488;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #0D9488;
}
.bigbang-cta-mid a:hover { opacity: 0.85; }

/* CTA fin (mode sombre) */
.bigbang-cta-end {
    margin: 3rem -1.5rem 0;
    padding: 2.5rem 1.5rem;
    background: #111;
    color: #fff;
    text-align: center;
}
.bigbang-cta-end p { margin-bottom: 1rem; font-size: 1.1rem; opacity: 0.95; }
.bigbang-cta-end .brief-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #d800ff;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 0.5rem;
}
.bigbang-cta-end .brief-btn:hover { opacity: 0.9; color: #fff; }

/* Bio auteur */
.bigbang-author {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}
.bigbang-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.bigbang-author .author-name { font-weight: 700; color: #1a1a1a; }
.bigbang-author .author-bio { font-size: 0.95rem; color: #555; margin-top: 0.25rem; }

/* Articles similaires */
.bigbang-related h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.bigbang-related .bigbang-grid { margin-top: 0; }

/* Header Big Bang (bandeau) */
.bigbang-header-band {
    text-align: center;
    padding: 1rem 0;
    background: #FCFCFC;
    border-bottom: 1px solid #eee;
}
.bigbang-header-band .bigbang-tagline { font-size: 0.9rem; color: #666; margin-top: 0.25rem; }