/* ============================================
   READING MODE - Focused Reading Experience
   ============================================ */

.reading-mode {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.reading-mode:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.reading-mode.active {
    background: var(--color-accent);
}

/* Reading Mode Styles */
body.reading-mode-active {
    overflow: hidden;
}

body.reading-mode-active .site-header,
body.reading-mode-active .site-footer,
body.reading-mode-active .sidebar,
body.reading-mode-active .pagination-wrapper,
body.reading-mode-active .entry-footer,
body.reading-mode-active .social-sharing,
body.reading-mode-active .post-navigation {
    display: none !important;
}

body.reading-mode-active .site-main {
    max-width: 100%;
    padding: var(--space-8) var(--space-6);
}

body.reading-mode-active .entry-content {
    max-width: var(--content-max-reading);
    margin: 0 auto;
    padding: var(--space-10) var(--space-6);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

body.reading-mode-active .reading-mode {
    position: fixed;
    top: 20px;
    right: 20px;
    transform: none;
}

@media (max-width: 768px) {
    .reading-mode {
        top: auto;
        bottom: 80px;
        right: 15px;
        transform: none;
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }
    
    body.reading-mode-active .entry-content {
        padding: var(--space-6) var(--space-4);
    }
}

