/* Mode lecture épuré */
body.reading-mode {
    background: #f5f5f5;
}

body.reading-mode .motopress-wrapper.content-holder,
body.reading-mode .container,
body.reading-mode .row {
    max-width: none;
}

body.reading-mode .span8,
body.reading-mode .span12 {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

body.reading-mode .site-header,
body.reading-mode .nav_wrapper,
body.reading-mode .sidebar,
body.reading-mode .article-toc,
    body.reading-mode .next-path,
    body.reading-mode .related-posts,
body.reading-mode .post_meta,
body.reading-mode .breadcrumb,
    body.reading-mode .title-section,
body.reading-mode .site-footer,
body.reading-mode .site-nav {
    display: none !important;
}

body.reading-mode .post__holder {
    background: white;
    padding: 60px 40px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.reading-mode .post_content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 100%;
}

body.reading-mode .post_content h1,
body.reading-mode .post_content h2,
body.reading-mode .post_content h3,
body.reading-mode .post_content h4,
body.reading-mode .post_content h5,
body.reading-mode .post_content h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #222;
}

body.reading-mode .post_content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

body.reading-mode .post_content img {
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    display: block;
    border-radius: 4px;
}

body.reading-mode .post_content figure {
    margin: 2em auto;
    text-align: center;
}

body.reading-mode .post_content blockquote {
    border-left: 4px solid #d06e0a;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

body.reading-mode .post_content ul,
body.reading-mode .post_content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

body.reading-mode .post_content li {
    margin-bottom: 0.8em;
}

body.reading-mode .post_content a {
    color: #d06e0a;
    text-decoration: underline;
}

body.reading-mode .post_content a:hover {
    color: #b85e08;
}

/* Bouton de basculement du mode lecture */
.reading-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #d06e0a;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(208, 110, 10, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reading-mode-toggle:hover {
    background: #b85e08;
    box-shadow: 0 6px 16px rgba(208, 110, 10, 0.5);
    transform: translateY(-2px);
}

.reading-mode-toggle:active {
    transform: translateY(0);
}

.reading-mode-toggle i {
    font-size: 16px;
}

body.reading-mode .reading-mode-toggle {
    background: #8a6d4f;
}

body.reading-mode .reading-mode-toggle:hover {
    background: #6f573f;
}

/* Responsive */
@media (max-width: 767px) {
    body.reading-mode .post__holder {
        padding: 40px 20px;
        margin: 20px 10px;
    }

    body.reading-mode .post_content {
        font-size: 16px;
        line-height: 1.7;
    }

    .reading-mode-toggle {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

