/*
Theme Name: MovementBuilding
Theme URI: https://movementbuilding.org
Author: MovementBuilding
Author URI: https://movementbuilding.org
Description: Magazine bien-être féminin - Santé, beauté, développement personnel et activité physique. Thème premium avec hero image et design moderne.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: movementbuilding
Tags: blog, lifestyle, wellness, custom-logo, custom-menu, featured-images

MovementBuilding - Construisez votre mouvement, cultivez votre équilibre.
*/

/* ================================
   DESIGN TOKENS
   ================================ */
:root {
    /* Light Theme Colors */
    --mb-bg-primary: #fefefe;
    --mb-bg-secondary: #faf8f6;
    --mb-bg-tertiary: #f5f2ef;
    --mb-bg-card: #ffffff;
    
    /* Accent Colors */
    --mb-accent-rose: #f472b6;
    --mb-accent-rose-dark: #ec4899;
    --mb-accent-sage: #10b981;
    --mb-accent-sage-light: #34d399;
    --mb-accent-warm: #f59e0b;
    --mb-accent-lavender: #a78bfa;
    
    /* Text Colors */
    --mb-text-primary: #1f2937;
    --mb-text-secondary: #4b5563;
    --mb-text-muted: #9ca3af;
    --mb-text-light: #ffffff;
    
    /* Borders & Surfaces */
    --mb-border: rgba(0, 0, 0, 0.08);
    --mb-border-light: rgba(0, 0, 0, 0.05);
    --mb-surface-glow: rgba(244, 114, 182, 0.1);
    --mb-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --mb-shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    
    /* Gradients */
    --mb-gradient-rose: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    --mb-gradient-sage: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --mb-gradient-warm: linear-gradient(135deg, #faf8f6 0%, #fefefe 100%);
    --mb-gradient-hero: linear-gradient(180deg, #faf8f6 0%, #fefefe 100%);
    
    /* Typography */
    --mb-font-heading: 'Playfair Display', Georgia, serif;
    --mb-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --mb-container: 1140px;
    --mb-radius-sm: 6px;
    --mb-radius-md: 10px;
    --mb-radius-lg: 16px;
    --mb-radius-xl: 24px;
    --mb-radius-full: 9999px;
    
    /* Transitions */
    --mb-transition: 0.25s ease;
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--mb-font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--mb-text-primary);
    background: var(--mb-bg-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mb-font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--mb-text-primary);
    margin: 0 0 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }

p {
    margin: 0 0 1.25rem;
}

a {
    color: var(--mb-accent-rose);
    text-decoration: none;
    transition: color var(--mb-transition);
}

a:hover {
    color: var(--mb-accent-rose-dark);
}

a:focus-visible {
    outline: 2px solid var(--mb-accent-rose);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   ACCESSIBILITY
   ================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--mb-accent-rose);
    color: var(--mb-text-light);
    padding: 12px 24px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--mb-bg-primary);
    color: var(--mb-text-primary);
    padding: 12px 24px;
}

/* ================================
   LAYOUT
   ================================ */
.mb-container {
    max-width: var(--mb-container);
    margin: 0 auto;
    padding: 0 24px;
}

.mb-section {
    padding: 80px 0;
}

.mb-section--alt {
    background: var(--mb-bg-secondary);
}

.mb-section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ================================
   HEADER
   ================================ */
.mb-header {
    background: var(--mb-bg-primary);
    border-bottom: 1px solid var(--mb-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--mb-container);
    margin: 0 auto;
}

.mb-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mb-header__logo img {
    height: 42px;
    width: auto;
}

.mb-header__logo-text {
    font-family: var(--mb-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mb-text-primary);
}

.mb-header__logo-text span {
    color: var(--mb-accent-rose);
}

/* Navigation */
.mb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mb-nav__link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mb-text-secondary);
    border-radius: var(--mb-radius-full);
    transition: all var(--mb-transition);
}

.mb-nav__link:hover,
.mb-nav__link:focus-visible {
    color: var(--mb-accent-rose);
    background: var(--mb-surface-glow);
}

.mb-nav__link--active {
    color: var(--mb-accent-rose);
    background: var(--mb-surface-glow);
}

/* Mobile Menu */
.mb-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mb-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mb-text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

.mb-menu-toggle:focus-visible {
    outline: 2px solid var(--mb-accent-rose);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mb-menu-toggle {
        display: block;
    }
    
    .mb-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--mb-bg-primary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--mb-border);
        display: none;
    }
    
    .mb-nav.is-active {
        display: flex;
    }
    
    .mb-nav__link {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   HERO
   ================================ */
.mb-hero {
    position: relative;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 140px 0 120px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Voile désactivé - image hero visible directement */
.mb-hero::before {
    display: none;
}

.mb-hero > .mb-container {
    position: relative;
    z-index: 2;
}

.mb-hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.3);
}

.mb-hero__title span {
    color: #fca5a5;
    background: linear-gradient(135deg, #fca5a5 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.mb-hero__subtitle {
    font-size: 1.35rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mb-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--mb-gradient-rose);
    color: var(--mb-text-light);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--mb-radius-full);
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
    transition: transform var(--mb-transition), box-shadow var(--mb-transition);
}

.mb-hero__cta:hover,
.mb-hero__cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 114, 182, 0.4);
    color: var(--mb-text-light);
}

/* ================================
   CATEGORY BADGES
   ================================ */
.mb-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--mb-radius-full);
    transition: transform var(--mb-transition);
}

.mb-badge:hover {
    transform: scale(1.05);
}

.mb-badge--default {
    background: rgba(156, 163, 175, 0.12);
    color: var(--mb-text-secondary);
}

.mb-badge--sante {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.mb-badge--beaute {
    background: rgba(244, 114, 182, 0.12);
    color: var(--mb-accent-rose-dark);
}

.mb-badge--developpement {
    background: rgba(167, 139, 250, 0.12);
    color: #7c3aed;
}

.mb-badge--sport {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

/* ================================
   CARDS
   ================================ */
.mb-card {
    background: var(--mb-bg-card);
    border-radius: var(--mb-radius-lg);
    overflow: hidden;
    box-shadow: var(--mb-shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mb-shadow-medium);
}

.mb-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--mb-bg-tertiary);
}

.mb-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mb-card:hover .mb-card__image img {
    transform: scale(1.05);
}

.mb-card__content {
    padding: 24px;
}

.mb-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mb-card__date {
    font-size: 0.85rem;
    color: var(--mb-text-muted);
}

.mb-card__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mb-card__title a {
    color: var(--mb-text-primary);
}

.mb-card__title a:hover {
    color: var(--mb-accent-rose);
}

.mb-card__excerpt {
    font-size: 0.95rem;
    color: var(--mb-text-secondary);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Card Grid */
.mb-grid {
    display: grid;
    gap: 30px;
}

.mb-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.mb-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.mb-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .mb-grid--3, .mb-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mb-grid--2, .mb-grid--3, .mb-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ================================
   NO POSTS STATE
   ================================ */
.mb-no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--mb-bg-card);
    border-radius: var(--mb-radius-lg);
}

.mb-no-posts--fullwidth {
    grid-column: 1 / -1;
}

.mb-no-posts h2,
.mb-no-posts h3 {
    margin-bottom: 12px;
    color: var(--mb-text-primary);
}

.mb-no-posts p {
    color: var(--mb-text-secondary);
    margin-bottom: 0;
}

.mb-no-posts .mb-btn {
    margin-top: 24px;
}

/* ================================
   SECTION HEADERS
   ================================ */
.mb-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.mb-section-header__title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.mb-section-header__subtitle {
    font-size: 1.1rem;
    color: var(--mb-text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ================================
   FEATURED CATEGORIES
   ================================ */
.mb-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mb-category-card {
    background: var(--mb-bg-card);
    border-radius: var(--mb-radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--mb-shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--mb-border-light);
}

.mb-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mb-shadow-medium);
}

.mb-category-card:focus-visible {
    outline: 2px solid var(--mb-accent-rose);
    outline-offset: 4px;
}

.mb-category-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: var(--mb-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-category-card__icon svg {
    width: 28px;
    height: 28px;
}

.mb-category-card__icon--sante {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.mb-category-card__icon--beaute {
    background: rgba(244, 114, 182, 0.12);
    color: var(--mb-accent-rose-dark);
}

.mb-category-card__icon--developpement {
    background: rgba(167, 139, 250, 0.12);
    color: #7c3aed;
}

.mb-category-card__icon--sport {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.mb-category-card__title {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--mb-text-primary);
}

.mb-category-card__count {
    font-size: 0.9rem;
    color: var(--mb-text-muted);
    margin: 0;
}

@media (max-width: 992px) {
    .mb-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mb-categories {
        grid-template-columns: 1fr;
    }
}

/* ================================
   NEWSLETTER
   ================================ */
.mb-newsletter {
    background: var(--mb-gradient-rose);
    border-radius: var(--mb-radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: var(--mb-text-light);
}

.mb-newsletter__title {
    color: var(--mb-text-light);
    margin-bottom: 12px;
}

.mb-newsletter__text {
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.mb-newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 420px;
    margin: 0 auto;
}

.mb-newsletter__input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--mb-radius-full);
    font-size: 1rem;
    font-family: var(--mb-font-body);
}

.mb-newsletter__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.mb-newsletter__btn {
    padding: 14px 28px;
    background: var(--mb-text-primary);
    color: var(--mb-text-light);
    border: none;
    border-radius: var(--mb-radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--mb-transition);
    font-family: var(--mb-font-body);
}

.mb-newsletter__btn:hover {
    transform: scale(1.05);
}

.mb-newsletter__btn:focus-visible {
    outline: 2px solid var(--mb-text-light);
    outline-offset: 2px;
}

.mb-newsletter__notice {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 16px;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .mb-newsletter__form {
        flex-direction: column;
    }
    
    .mb-newsletter {
        padding: 40px 24px;
    }
}

/* ================================
   ABOUT SECTION
   ================================ */
.mb-about {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.mb-about__text {
    font-size: 1.1rem;
    color: var(--mb-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mb-about__text:last-child {
    margin-bottom: 0;
}

/* ================================
   FOOTER
   ================================ */
.mb-footer {
    background: #1f2937;
    color: #ffffff;
    padding: 70px 0 30px;
}

.mb-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.mb-footer__brand {
    max-width: 280px;
}

.mb-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mb-footer__logo img {
    height: 36px;
}

.mb-footer__logo-text {
    font-family: var(--mb-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.mb-footer__logo-text span {
    color: var(--mb-accent-rose);
}

.mb-footer__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.mb-footer__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.mb-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mb-footer__links li {
    margin-bottom: 12px;
}

.mb-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--mb-transition);
}

.mb-footer__links a:hover,
.mb-footer__links a:focus-visible {
    color: var(--mb-accent-rose);
}

.mb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.mb-footer__social {
    display: flex;
    gap: 16px;
}

.mb-footer__social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--mb-transition);
}

.mb-footer__social a:hover,
.mb-footer__social a:focus-visible {
    color: var(--mb-accent-rose);
}

@media (max-width: 992px) {
    .mb-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mb-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .mb-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ================================
   SINGLE POST
   ================================ */
.mb-single {
    padding: 60px 0;
}

.mb-single__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.mb-single__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mb-single__date,
.mb-single__reading-time {
    font-size: 0.9rem;
    color: var(--mb-text-muted);
}

.mb-single__separator {
    color: var(--mb-text-muted);
}

.mb-single__title {
    font-size: 2.5rem;
    line-height: 1.25;
}

.mb-single__featured {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: var(--mb-radius-lg);
    overflow: hidden;
}

.mb-single__content {
    max-width: 720px;
    margin: 0 auto;
}

.mb-single__content p {
    margin-bottom: 1.5rem;
}

.mb-single__content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.mb-single__content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.mb-single__content ul, 
.mb-single__content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.mb-single__content li {
    margin-bottom: 0.5rem;
}

.mb-single__content blockquote {
    margin: 2rem 0;
    padding: 24px 30px;
    background: var(--mb-bg-secondary);
    border-left: 4px solid var(--mb-accent-rose);
    border-radius: 0 var(--mb-radius-md) var(--mb-radius-md) 0;
    font-style: italic;
    color: var(--mb-text-secondary);
}

/* Single Post Footer */
.mb-single__footer {
    max-width: 720px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--mb-border);
}

.mb-single__footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.mb-single__footer-label {
    display: block;
    font-size: 0.9rem;
    color: var(--mb-text-muted);
    margin-bottom: 8px;
}

.mb-single__category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mb-single__share-links {
    display: flex;
    gap: 12px;
}

.mb-single__share-link {
    color: var(--mb-text-secondary);
    transition: color var(--mb-transition);
}

.mb-single__share-link:hover,
.mb-single__share-link:focus-visible {
    color: var(--mb-accent-rose);
}

/* ================================
   ARCHIVE
   ================================ */
.mb-archive__header {
    background: var(--mb-bg-secondary);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.mb-archive__badge {
    display: inline-block;
    margin-bottom: 16px;
}

.mb-archive__title {
    font-size: 2.25rem;
    margin-bottom: 10px;
}

.mb-archive__desc {
    color: var(--mb-text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ================================
   PAGINATION
   ================================ */
.mb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.mb-pagination a,
.mb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--mb-radius-md);
    font-weight: 500;
    transition: all var(--mb-transition);
}

.mb-pagination a {
    background: var(--mb-bg-card);
    color: var(--mb-text-secondary);
    border: 1px solid var(--mb-border);
}

.mb-pagination a:hover,
.mb-pagination a:focus-visible {
    background: var(--mb-surface-glow);
    color: var(--mb-accent-rose);
    border-color: var(--mb-accent-rose);
}

.mb-pagination .current {
    background: var(--mb-gradient-rose);
    color: var(--mb-text-light);
}

/* ================================
   404 PAGE
   ================================ */
.mb-404 {
    text-align: center;
    padding: 100px 20px;
}

.mb-404__code {
    font-size: 8rem;
    font-family: var(--mb-font-heading);
    font-weight: 700;
    background: var(--mb-gradient-rose);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.mb-404__title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.mb-404__text {
    color: var(--mb-text-secondary);
    margin-bottom: 30px;
}

/* ================================
   BUTTONS
   ================================ */
.mb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--mb-radius-full);
    transition: all var(--mb-transition);
    cursor: pointer;
    border: none;
    font-family: var(--mb-font-body);
}

.mb-btn--primary {
    background: var(--mb-gradient-rose);
    color: var(--mb-text-light);
}

.mb-btn--primary:hover,
.mb-btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 114, 182, 0.3);
    color: var(--mb-text-light);
}

.mb-btn--outline {
    background: transparent;
    color: var(--mb-accent-rose);
    border: 2px solid var(--mb-accent-rose);
}

.mb-btn--outline:hover,
.mb-btn--outline:focus-visible {
    background: var(--mb-accent-rose);
    color: var(--mb-text-light);
}

/* ================================
   SIDEBAR
   ================================ */
.mb-sidebar {
    position: sticky;
    top: 100px;
}

.mb-widget {
    background: var(--mb-bg-card);
    border-radius: var(--mb-radius-lg);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--mb-shadow-soft);
}

.mb-widget__title {
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mb-border);
}

/* ================================
   SEARCH
   ================================ */
.mb-search {
    display: flex;
    gap: 10px;
}

.mb-search--centered {
    max-width: 400px;
    margin: 30px auto;
}

.mb-search__input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius-md);
    font-size: 1rem;
    font-family: var(--mb-font-body);
    background: var(--mb-bg-primary);
}

.mb-search__input:focus {
    outline: none;
    border-color: var(--mb-accent-rose);
}

.mb-search__btn {
    padding: 12px 18px;
    background: var(--mb-gradient-rose);
    color: var(--mb-text-light);
    border: none;
    border-radius: var(--mb-radius-md);
    cursor: pointer;
    transition: transform var(--mb-transition);
}

.mb-search__btn:hover,
.mb-search__btn:focus-visible {
    transform: scale(1.05);
}

/* ================================
   UTILITIES
   ================================ */
.text-center { text-align: center; }
.text-rose { color: var(--mb-accent-rose); }
.text-sage { color: var(--mb-accent-sage); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   RESPONSIVE TYPOGRAPHY
   ================================ */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
    
    .mb-hero {
        padding: 100px 0 80px;
        min-height: 60vh;
    }
    
    .mb-hero__title {
        font-size: 2.5rem;
    }
    
    .mb-hero__subtitle {
        font-size: 1.15rem;
    }
    
    .mb-single__title {
        font-size: 2rem;
    }
    
    .mb-404__code {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .mb-hero {
        padding: 80px 0 60px;
        min-height: 50vh;
    }
    
    .mb-hero__title {
        font-size: 2rem;
    }
    
    .mb-hero__subtitle {
        font-size: 1rem;
    }
    
    .mb-hero__cta {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ================================
   CONTENT TABLES - Professional SEO Style
   ================================ */
.mb-single__content table,
.entry-content table,
article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0 2.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: var(--mb-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mb-single__content table thead,
.entry-content table thead,
article table thead {
    background: linear-gradient(135deg, var(--mb-accent-rose) 0%, var(--mb-accent-coral) 100%);
}

.mb-single__content table th,
.entry-content table th,
article table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.mb-single__content table td,
.entry-content table td,
article table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--mb-border);
    color: var(--mb-text-primary);
    vertical-align: top;
}

.mb-single__content table tbody tr,
.entry-content table tbody tr,
article table tbody tr {
    background: white;
    transition: background-color var(--mb-transition);
}

.mb-single__content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
article table tbody tr:nth-child(even) {
    background: var(--mb-bg-warm);
}

.mb-single__content table tbody tr:hover,
.entry-content table tbody tr:hover,
article table tbody tr:hover {
    background: rgba(244, 114, 182, 0.08);
}

.mb-single__content table tbody tr:last-child td,
.entry-content table tbody tr:last-child td,
article table tbody tr:last-child td {
    border-bottom: none;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .mb-single__content table,
    .entry-content table,
    article table {
        font-size: 0.85rem;
    }
    
    .mb-single__content table th,
    .mb-single__content table td,
    .entry-content table th,
    .entry-content table td,
    article table th,
    article table td {
        padding: 0.75rem 0.875rem;
    }
}

/* ================================
   BLOCKQUOTES - Anecdotes & Citations
   ================================ */
.mb-single__content blockquote,
.entry-content blockquote,
article blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.75rem 2rem 1.75rem 2.5rem;
    background: linear-gradient(135deg, var(--mb-bg-warm) 0%, rgba(254, 226, 226, 0.3) 100%);
    border-left: 4px solid var(--mb-accent-rose);
    border-radius: 0 var(--mb-radius-lg) var(--mb-radius-lg) 0;
    font-style: italic;
    color: var(--mb-text-secondary);
}

.mb-single__content blockquote::before,
.entry-content blockquote::before,
article blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--mb-accent-rose);
    opacity: 0.3;
    line-height: 1;
}

.mb-single__content blockquote p,
.entry-content blockquote p,
article blockquote p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mb-single__content blockquote strong,
.entry-content blockquote strong,
article blockquote strong {
    color: var(--mb-text-primary);
    font-style: normal;
}

/* ================================
   FAQ SECTION - Schema.org Ready
   ================================ */
.mb-faq {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--mb-bg-warm);
    border-radius: var(--mb-radius-lg);
}

.mb-faq__title {
    font-size: 1.5rem;
    color: var(--mb-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--mb-accent-rose);
}

.mb-faq__item {
    margin-bottom: 1.25rem;
    background: white;
    border-radius: var(--mb-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mb-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--mb-text-primary);
    cursor: pointer;
    transition: background-color var(--mb-transition);
}

.mb-faq__question:hover {
    background: rgba(244, 114, 182, 0.05);
}

.mb-faq__question::before {
    content: 'Q.';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background: var(--mb-gradient-rose);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.mb-faq__answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    padding-left: calc(1.5rem + 40px);
    color: var(--mb-text-secondary);
    line-height: 1.7;
}

.mb-faq__answer p {
    margin: 0;
}

/* ================================
   KEY POINTS BOX
   ================================ */
.mb-keypoints {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(167, 199, 171, 0.15) 0%, rgba(167, 199, 171, 0.05) 100%);
    border: 1px solid rgba(167, 199, 171, 0.3);
    border-radius: var(--mb-radius-lg);
}

.mb-keypoints__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mb-accent-sage);
    margin-bottom: 1rem;
}

.mb-keypoints__title::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--mb-accent-sage);
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
}

.mb-keypoints ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.mb-keypoints li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--mb-text-secondary);
}

.mb-keypoints li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--mb-accent-sage);
    font-weight: 600;
}

/* ================================
   WARNING/INFO BOXES
   ================================ */
.mb-infobox {
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    border-radius: var(--mb-radius-md);
    border-left: 4px solid;
}

.mb-infobox--warning {
    background: rgba(251, 191, 36, 0.1);
    border-color: #f59e0b;
}

.mb-infobox--info {
    background: rgba(59, 130, 246, 0.08);
    border-color: #3b82f6;
}

.mb-infobox--success {
    background: rgba(34, 197, 94, 0.08);
    border-color: #22c55e;
}

.mb-infobox__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mb-infobox--warning .mb-infobox__title { color: #d97706; }
.mb-infobox--info .mb-infobox__title { color: #2563eb; }
.mb-infobox--success .mb-infobox__title { color: #16a34a; }

/* ================================
   CONTENT LISTS - Enhanced
   ================================ */
.mb-single__content ul,
.entry-content ul,
article ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.mb-single__content ul li,
.entry-content ul li,
article ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.mb-single__content ul li::before,
.entry-content ul li::before,
article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--mb-gradient-rose);
    border-radius: 50%;
}

.mb-single__content ol,
.entry-content ol,
article ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
    counter-reset: item;
}

.mb-single__content ol li,
.entry-content ol li,
article ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    counter-increment: item;
}

.mb-single__content ol li::before,
.entry-content ol li::before,
article ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mb-gradient-rose);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
}

/* ================================
   CONTENT HEADINGS - Enhanced
   ================================ */
.mb-single__content h2,
.entry-content h2,
article h2 {
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--mb-border);
    color: var(--mb-text-primary);
}

.mb-single__content h3,
.entry-content h3,
article h3 {
    margin: 2.25rem 0 1rem;
    color: var(--mb-text-primary);
    position: relative;
    padding-left: 1rem;
}

.mb-single__content h3::before,
.entry-content h3::before,
article h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    background: var(--mb-gradient-rose);
    border-radius: 2px;
}

.mb-single__content h4,
.entry-content h4,
article h4 {
    margin: 1.75rem 0 0.75rem;
    color: var(--mb-accent-rose);
    font-size: 1.1rem;
}

/* ================================
   INLINE CODE & PRE
   ================================ */
.mb-single__content code,
.entry-content code,
article code {
    background: rgba(244, 114, 182, 0.1);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--mb-accent-rose);
}

.mb-single__content pre,
.entry-content pre,
article pre {
    background: var(--mb-text-primary);
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: var(--mb-radius-md);
    overflow-x: auto;
    margin: 2rem 0;
}

.mb-single__content pre code,
.entry-content pre code,
article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ========================================
   ARTICLES SEO - STYLES PROFESSIONNELS
   ======================================== */

/* === CONTAINER ARTICLE === */
.mb-single__content,
.entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.85;
    color: #2d3748;
}

/* === PARAGRAPHES === */
.mb-single__content p,
.entry-content p {
    margin-bottom: 1.75rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.mb-single__content p:first-of-type,
.entry-content p:first-of-type {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* === MISE À JOUR / META INFO === */
.mb-single__content > p:first-child em,
.entry-content > p:first-child em {
    display: block;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 2rem;
    border-left: 3px solid var(--mb-accent-rose, #f472b6);
}

/* === TITRES H2 === */
.mb-single__content h2,
.entry-content h2 {
    font-family: var(--mb-font-heading, 'Playfair Display', serif);
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a202c;
    margin: 3.5rem 0 1.5rem;
    padding-bottom: 1rem;
    position: relative;
    line-height: 1.3;
}

.mb-single__content h2::after,
.entry-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mb-accent-rose, #f472b6) 0%, var(--mb-accent-coral, #fb7185) 100%);
    border-radius: 2px;
}

/* === TITRES H3 === */
.mb-single__content h3,
.entry-content h3 {
    font-family: var(--mb-font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2.5rem 0 1.25rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--mb-accent-rose, #f472b6);
    line-height: 1.4;
}

/* === TITRES H4 === */
.mb-single__content h4,
.entry-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === TEXTE FORT / IMPORTANT === */
.mb-single__content strong,
.entry-content strong {
    font-weight: 700;
    color: #1a202c;
}

/* Highlight sur les strong dans les paragraphes */
.mb-single__content p strong,
.entry-content p strong {
    background: linear-gradient(120deg, rgba(244, 114, 182, 0.15) 0%, rgba(251, 113, 133, 0.1) 100%);
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

/* === TEXTE ITALIQUE === */
.mb-single__content em,
.entry-content em {
    font-style: italic;
    color: #4a5568;
}

/* === LIENS === */
.mb-single__content a,
.entry-content a {
    color: var(--mb-accent-rose, #f472b6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.mb-single__content a:hover,
.entry-content a:hover {
    color: #db2777;
    border-bottom-color: #db2777;
}

/* === POINTS CLÉS BOX === */
.mb-single__content > h2:first-of-type,
.entry-content > h2:first-of-type {
    margin-top: 0;
}

/* Style spécial pour "Points clés de cet article" */
.mb-single__content > h2:first-of-type + ul,
.entry-content > h2:first-of-type + ul {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    border: 1px solid rgba(244, 114, 182, 0.2);
    border-left: 5px solid var(--mb-accent-rose, #f472b6);
    border-radius: 0 16px 16px 0;
    padding: 2rem 2.5rem;
    margin: 0 0 3rem 0;
    box-shadow: 0 4px 15px rgba(244, 114, 182, 0.1);
    list-style: none;
}

.mb-single__content > h2:first-of-type + ul li,
.entry-content > h2:first-of-type + ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.mb-single__content > h2:first-of-type + ul li::before,
.entry-content > h2:first-of-type + ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--mb-accent-rose, #f472b6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.mb-single__content > h2:first-of-type + ul li:last-child,
.entry-content > h2:first-of-type + ul li:last-child {
    margin-bottom: 0;
}

/* Masquer le H2 "Points clés" visuellement mais garder pour SEO */
.mb-single__content > h2:first-of-type,
.entry-content > h2:first-of-type {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    margin: 0;
    padding: 1.5rem 2.5rem 0;
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(244, 114, 182, 0.2);
    border-bottom: none;
    border-left: 5px solid var(--mb-accent-rose, #f472b6);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mb-single__content > h2:first-of-type::before,
.entry-content > h2:first-of-type::before {
    content: "📌";
    font-size: 1.5rem;
}

.mb-single__content > h2:first-of-type::after,
.entry-content > h2:first-of-type::after {
    display: none;
}

/* === LISTES GÉNÉRALES UL === */
.mb-single__content ul,
.entry-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 2rem;
}

.mb-single__content ul li,
.entry-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.875rem;
    line-height: 1.75;
}

.mb-single__content ul li::before,
.entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--mb-accent-rose, #f472b6) 0%, var(--mb-accent-coral, #fb7185) 100%);
    border-radius: 50%;
}

/* Listes imbriquées */
.mb-single__content ul ul,
.entry-content ul ul {
    margin: 0.75rem 0 0.5rem;
}

.mb-single__content ul ul li::before,
.entry-content ul ul li::before {
    width: 6px;
    height: 6px;
    background: #cbd5e0;
}

/* === LISTES ORDONNÉES OL === */
.mb-single__content ol,
.entry-content ol {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 2rem;
    counter-reset: ol-counter;
}

.mb-single__content ol li,
.entry-content ol li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.75;
    counter-increment: ol-counter;
}

.mb-single__content ol li::before,
.entry-content ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--mb-accent-rose, #f472b6) 0%, var(--mb-accent-coral, #fb7185) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

/* === TABLEAUX === */
.mb-single__content table,
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mb-single__content table thead,
.entry-content table thead {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

.mb-single__content table th,
.entry-content table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mb-single__content table td,
.entry-content table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: top;
}

.mb-single__content table tbody tr,
.entry-content table tbody tr {
    background: white;
    transition: background 0.2s ease;
}

.mb-single__content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) {
    background: #f7fafc;
}

.mb-single__content table tbody tr:hover,
.entry-content table tbody tr:hover {
    background: #fdf2f8;
}

.mb-single__content table tbody tr:last-child td,
.entry-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive tables */
@media (max-width: 768px) {
    .mb-single__content table,
    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 0.875rem;
    }
    
    .mb-single__content table th,
    .mb-single__content table td,
    .entry-content table th,
    .entry-content table td {
        padding: 0.75rem 1rem;
        min-width: 120px;
    }
}

/* === CITATIONS / BLOCKQUOTES === */
.mb-single__content blockquote,
.entry-content blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem 2rem 3.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 5px solid var(--mb-accent-rose, #f472b6);
    font-style: italic;
    color: #4a5568;
}

.mb-single__content blockquote::before,
.entry-content blockquote::before {
    content: """;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--mb-accent-rose, #f472b6);
    opacity: 0.3;
    line-height: 1;
}

.mb-single__content blockquote p,
.entry-content blockquote p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.mb-single__content blockquote cite,
.entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    color: #718096;
}

.mb-single__content blockquote cite::before,
.entry-content blockquote cite::before {
    content: "— ";
}

/* === CODE INLINE === */
.mb-single__content code,
.entry-content code {
    background: #edf2f7;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: #d53f8c;
}

/* === BLOCS DE CODE === */
.mb-single__content pre,
.entry-content pre {
    background: #1a202c;
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.mb-single__content pre code,
.entry-content pre code {
    background: transparent;
    padding: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === IMAGES DANS LE CONTENU === */
.mb-single__content img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mb-single__content figure,
.entry-content figure {
    margin: 2.5rem 0;
}

.mb-single__content figcaption,
.entry-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.75rem;
    font-style: italic;
}

/* === SÉPARATEUR HR === */
.mb-single__content hr,
.entry-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--mb-accent-rose, #f472b6), transparent);
    margin: 3rem 0;
    border-radius: 2px;
}

/* === FAQ SECTION === */
/* Détection automatique de la section FAQ par les H3 avec "?" */
.mb-single__content h2:nth-last-of-type(2),
.entry-content h2:nth-last-of-type(2) {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

/* Style des questions FAQ (H3 avec ?) */
.mb-single__content h3:has(+ p),
.entry-content h3:has(+ p) {
    background: #f7fafc;
    margin: 1.5rem 0 0;
    padding: 1.25rem 1.5rem;
    border-radius: 8px 8px 0 0;
    border-left: 4px solid var(--mb-accent-rose, #f472b6);
    font-size: 1.15rem;
}

/* Style de la réponse qui suit */
.mb-single__content h3 + p,
.entry-content h3 + p {
    background: #f7fafc;
    margin-top: 0;
    padding: 0 1.5rem 1.25rem;
    border-radius: 0 0 8px 8px;
    border-left: 4px solid #e2e8f0;
}

/* === SOURCES / RÉFÉRENCES (dernier élément) === */
.mb-single__content > ol:last-of-type,
.entry-content > ol:last-of-type {
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-top: 3rem;
    border-top: 3px solid #e2e8f0;
}

.mb-single__content > ol:last-of-type::before,
.entry-content > ol:last-of-type::before {
    content: "📚 Sources et références";
    display: block;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.mb-single__content > ol:last-of-type li,
.entry-content > ol:last-of-type li {
    font-size: 0.9rem;
    color: #718096;
    padding-left: 1.5rem;
}

.mb-single__content > ol:last-of-type li::before,
.entry-content > ol:last-of-type li::before {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.7rem;
    background: #a0aec0;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
    .mb-single__content,
    .entry-content {
        font-size: 1rem;
        line-height: 1.75;
        padding: 0 1rem;
    }
    
    .mb-single__content p:first-of-type,
    .entry-content p:first-of-type {
        font-size: 1.1rem;
    }
    
    .mb-single__content h2,
    .entry-content h2 {
        font-size: 1.5rem;
        margin: 2.5rem 0 1.25rem;
    }
    
    .mb-single__content h3,
    .entry-content h3 {
        font-size: 1.25rem;
        margin: 2rem 0 1rem;
    }
    
    .mb-single__content > h2:first-of-type,
    .entry-content > h2:first-of-type {
        padding: 1rem 1.5rem 0;
        font-size: 1.1rem;
    }
    
    .mb-single__content > h2:first-of-type + ul,
    .entry-content > h2:first-of-type + ul {
        padding: 1.5rem;
    }
    
    .mb-single__content blockquote,
    .entry-content blockquote {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
        margin: 2rem 0;
    }
    
    .mb-single__content blockquote::before,
    .entry-content blockquote::before {
        font-size: 3rem;
        left: 10px;
    }
}

/* === PRINT STYLES === */
@media print {
    .mb-single__content,
    .entry-content {
        font-size: 11pt;
        line-height: 1.5;
        color: black;
    }
    
    .mb-single__content h2,
    .entry-content h2 {
        page-break-after: avoid;
    }
    
    .mb-single__content table,
    .entry-content table {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ========================================
   BREADCRUMB SEO
   ======================================== */
.mb-breadcrumb {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.mb-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mb-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mb-breadcrumb__link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mb-breadcrumb__link:hover {
    color: var(--color-primary, #e57373);
    text-decoration: underline;
}

.mb-breadcrumb__separator {
    color: #adb5bd;
    display: flex;
    align-items: center;
}

.mb-breadcrumb__current {
    color: #212529;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mb-breadcrumb {
        padding: 0.5rem 0;
        font-size: 0.8125rem;
    }
    
    .mb-breadcrumb__current {
        max-width: 150px;
    }
}

/* ========================================
   SEO OPTIMIZATIONS - TIME ELEMENT
   ======================================== */
.mb-time {
    color: inherit;
}

/* Screen reader only - for SEO hidden content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   AUTEUR SINGLE POST
   ======================================== */
.mb-single__author {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #6c757d;
}

.mb-single__author-label {
    margin-right: 0.25rem;
}

.mb-single__author-name {
    color: var(--color-primary, #e57373);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mb-single__author-name:hover {
    color: var(--color-secondary, #c62828);
    text-decoration: underline;
}

/* Share button LinkedIn */
.mb-single__share-link[aria-label*="LinkedIn"] {
    background-color: #0077b5;
    color: white;
}

.mb-single__share-link[aria-label*="LinkedIn"]:hover {
    background-color: #005582;
}
