        /* ARTICLE PAGE STYLES */
        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            background: var(--bg-primary, #ffffff);
            color: var(--text-primary, #111827);
            line-height: 1.6;
        }
        
        .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 var(--spacing-lg);
        }
        
        /* ARTICLE LAYOUT */
        .article-page {
            padding: 40px 0;
        }
        
        .article-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }
        
        @media (max-width: 768px) {
            .article-wrapper {
                grid-template-columns: 1fr;
            }
        }
        
        /* MAIN ARTICLE CONTENT */
        .article-content {
            background: var(--bg-secondary, #f9fafb);
            border-radius: 16px;
            overflow: hidden;
        }
        
        .article-header {
            padding: 30px 30px 20px;
        }
        
        .article-meta-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        
        .article-category {
            background: var(--primary-light, #e0f2fe);
            color: var(--primary, #0284c7);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .article-badges {
            display: flex;
            gap: 8px;
        }
        
        .badge {
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
        }
        
        .badge.breaking {
            background: #ef4444;
            color: white;
        }
        
        .badge.hot {
            background: #f97316;
            color: white;
        }
        
        .article-title {
            font-size: 2.5rem;
            line-height: 1.2;
            margin: 16px 0 20px;
            font-weight: 800;
        }
        
        @media (max-width: 768px) {
            .article-title {
                font-size: 1.8rem;
            }
        }
        
        .article-byline {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px 0;
            border-top: 1px solid var(--border, #e5e7eb);
            border-bottom: 1px solid var(--border, #e5e7eb);
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
        
        .author-avatar-large {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary-light, #e0f2fe);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
        }
        
        .author-info h4 {
            margin: 0 0 4px;
            font-size: 1.2rem;
        }
        
        .author-info p {
            margin: 0;
            color: var(--text-secondary, #6b7280);
            font-size: 0.9rem;
        }
        
        .article-date {
            color: var(--text-secondary, #6b7280);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        /* IMAGE PLACEHOLDERS - DELETE THE ONES YOU DON'T NEED */
        .image-placeholders {
            margin: 30px 0;
        }
        
        .image-note {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 12px 20px;
            margin-bottom: 30px;
            border-radius: 8px;
            font-size: 0.95rem;
        }
        
        .image-note i {
            color: #f59e0b;
            margin-right: 8px;
        }
        
        .image-option {
            margin-bottom: 40px;
            border: 2px dashed var(--border, #d1d5db);
            border-radius: 12px;
            padding: 20px;
            position: relative;
        }
        
        .image-option::before {
            content: "📸 IMAGE OPTION - DELETE IF NOT USED";
            position: absolute;
            top: -12px;
            left: 20px;
            background: var(--bg-primary, white);
            padding: 0 10px;
            font-size: 0.8rem;
            color: #6b7280;
            font-weight: 600;
        }
        
        .featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 30px;
        }
        
        .image-caption {
            text-align: center;
            color: #6b7280;
            font-size: 0.85rem;
            margin-top: 8px;
            font-style: italic;
        }
        
        .image-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 30px 0;
        }
        
        .image-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 30px 0;
        }
        
        .image-left {
            float: left;
            width: 40%;
            margin: 0 20px 20px 0;
            border-radius: 12px;
        }
        
        .image-right {
            float: right;
            width: 40%;
            margin: 0 0 20px 20px;
            border-radius: 12px;
        }
        
        .image-center {
            display: block;
            width: 80%;
            margin: 30px auto;
            border-radius: 12px;
        }
        
        .full-width-image {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            max-height: 400px;
            object-fit: cover;
        }
        
        @media (max-width: 768px) {
            .image-left, .image-right {
                float: none;
                width: 100%;
                margin: 20px 0;
            }
            
            .image-grid-2, .image-grid-3 {
                grid-template-columns: 1fr;
            }
            
            .image-center {
                width: 100%;
            }
        }
        
        /* ARTICLE BODY */
        .article-body {
            padding: 0 30px 30px;
        }
        
        .article-body h2 {
            font-size: 1.8rem;
            margin: 40px 0 20px;
        }
        
        .article-body h3 {
            font-size: 1.4rem;
            margin: 30px 0 15px;
        }
        
        .article-body p {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        
        .article-body blockquote {
            margin: 30px 0;
            padding: 20px 30px;
            background: var(--bg-tertiary, #f3f4f6);
            border-left: 4px solid var(--primary, #0284c7);
            font-style: italic;
            font-size: 1.2rem;
            border-radius: 0 12px 12px 0;
        }
        
        .article-body ul, .article-body ol {
            margin: 20px 0 30px;
            padding-left: 30px;
        }
        
        .article-body li {
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .article-body .highlight {
            background: #fef9c3;
            padding: 2px 6px;
            border-radius: 4px;
        }
        
        .article-body .stats-box {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            border-radius: 12px;
            margin: 30px 0;
        }
        
        .article-body .stats-box h4 {
            margin-top: 0;
            font-size: 1.4rem;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 2rem;
            font-weight: 700;
        }
        
        .stat-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        /* TAGS */
        .article-tags {
            padding: 20px 30px 30px;
            border-top: 1px solid var(--border, #e5e7eb);
        }
        
        .tags-title {
            font-size: 1.1rem;
            margin-bottom: 15px;
        }
        
        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .tag {
            padding: 6px 15px;
            background: var(--bg-tertiary, #f3f4f6);
            border-radius: 20px;
            font-size: 0.9rem;
            transition: background 0.2s;
            cursor: pointer;
        }
        
        .tag:hover {
            background: var(--primary, #0284c7);
            color: white;
        }
        
        /* SIDEBAR */
        .article-sidebar {
            position: sticky;
            top: 20px;
            height: fit-content;
        }
        
        .sidebar-widget {
            background: var(--bg-secondary, #f9fafb);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
        }
        
        .sidebar-widget h3 {
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .share-buttons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .share-btn-sidebar {
            padding: 10px 0;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: opacity 0.2s;
            font-size: 0.85rem;
        }
        
        .share-btn-sidebar.twitter {
            background: #000;
            color: white;
        }
        
        .share-btn-sidebar.facebook {
            background: #1877f2;
            color: white;
        }
        
        .share-btn-sidebar.linkedin {
            background: #0a66c2;
            color: white;
        }
        
        .share-btn-sidebar.telegram {
            background: #0088cc;
            color: white;
        }
        
        .share-btn-sidebar.whatsapp {
            background: #25D366;
            color: white;
        }
        
        .share-btn-sidebar.reddit {
            background: #FF4500;
            color: white;
        }
        
        .share-btn-sidebar.email {
            background: #6b7280;
            color: white;
        }
        
        .share-btn-sidebar.copy {
            background: #4b5563;
            color: white;
        }
        
        .share-btn-sidebar:hover {
            opacity: 0.9;
        }
        
        .share-more-btn {
            width: 100%;
            padding: 10px;
            background: var(--bg-tertiary, #f3f4f6);
            border: 1px solid var(--border, #e5e7eb);
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
            color: var(--text-primary, #111827);
        }
        
        .share-more-btn:hover {
            background: var(--border, #d1d5db);
        }
        
        /* MORE SHARE MODAL */
        .share-more-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            backdrop-filter: blur(5px);
        }
        
        .share-more-modal {
            background: var(--bg-primary, white);
            border-radius: 16px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        
        .share-more-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            border-bottom: 1px solid var(--border, #e5e7eb);
        }
        
        .share-more-header h3 {
            margin: 0;
            font-size: 1.3rem;
        }
        
        .share-more-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-secondary, #6b7280);
        }
        
        .share-more-body {
            padding: 25px;
        }
        
        .share-url-container {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
        }
        
        .share-url-container input {
            flex: 1;
            padding: 12px;
            border: 1px solid var(--border, #d1d5db);
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            background: var(--bg-secondary, #f9fafb);
        }
        
        .copy-url-btn {
            padding: 0 20px;
            background: var(--primary, #0284c7);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .share-platforms-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }
        
        .share-platform {
            padding: 12px;
            border-radius: 8px;
            text-decoration: none;
            color: white;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: opacity 0.2s;
        }
        
        .share-platform:hover {
            opacity: 0.9;
            color: white;
        }
        
        .share-platform.x { background: #000; }
        .share-platform.facebook { background: #1877f2; }
        .share-platform.linkedin { background: #0a66c2; }
        .share-platform.telegram { background: #0088cc; }
        .share-platform.whatsapp { background: #25D366; }
        .share-platform.discord { background: #5865F2; }
        .share-platform.reddit { background: #FF4500; }
        .share-platform.wechat { background: #07C160; }
        .share-platform.threads { background: #000; }
        .share-platform.bluesky { background: #0285FF; }
        .share-platform.email { background: #6b7280; }
        .share-platform.hackernews { background: #F0652F; }
        .share-platform.pinterest { background: #E60023; }
        .share-platform.tumblr { background: #35465C; }
        .share-platform.snapchat { background: #FFFC00; color: #000; }
        .share-platform.signal { background: #3A76F0; }
        
        .trending-article {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border, #e5e7eb);
            cursor: pointer;
        }
        
        .trending-article:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .trending-article:hover .trending-title {
            color: var(--primary, #0284c7);
        }
        
        .trending-image {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
        }
        
        .trending-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin: 0 0 5px;
            transition: color 0.2s;
        }
        
        .trending-meta {
            font-size: 0.8rem;
            color: var(--text-secondary, #6b7280);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .trending-badge {
            background: #ef4444;
            color: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 700;
        }
        
        /* WORD COUNT GUIDES - DELETE THIS SECTION AFTER WRITING */
        .word-count-guide {
            background: #e0f2fe;
            border-radius: 8px;
            padding: 15px 20px;
            margin: 30px 0;
            font-size: 0.95rem;
            border: 1px solid #bae6fd;
        }
        
        .word-count-guide h4 {
            margin-top: 0;
            color: #0369a1;
        }
        
        .word-count-guide ul {
            margin: 10px 0 0;
            padding-left: 20px;
        }
        
        .guide-short { color: #059669; font-weight: 600; }
        .guide-medium { color: #d97706; font-weight: 600; }
        .guide-long { color: #dc2626; font-weight: 600; }
        
        /* VIEW COUNT STYLES */
        .view-count {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--text-secondary, #6b7280);
        }
   
        /* ================= DARK MODE ARTICLE FIX ================= */

[data-theme="dark"] body {
    background: #0f172a;
    color: #e5e7eb;
}

/* Main article card */
[data-theme="dark"] .article-content {
    background: #1e293b;
    color: #e5e7eb;
}

/* Sidebar widgets */
[data-theme="dark"] .sidebar-widget {
    background: #1e293b;
    color: #e5e7eb;
}

/* Meta text */
[data-theme="dark"] .clean-meta,
[data-theme="dark"] .image-caption,
[data-theme="dark"] .trending-meta {
    color: #94a3b8;
}

/* Headings */
[data-theme="dark"] .clean-title,
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3,
[data-theme="dark"] .trending-title {
    color: #ffffff;
}

/* Article paragraphs */
[data-theme="dark"] .article-body p {
    color: #d1d5db;
}

/* Blockquote */
[data-theme="dark"] .article-body blockquote {
    background: #111827;
    border-left: 4px solid #38bdf8;
    color: #e5e7eb;
}

/* Stats box */
[data-theme="dark"] .clean-stats {
    background: #0f172a;
}

/* Share modal */
[data-theme="dark"] .share-more-modal {
    background: #1e293b;
    color: #e5e7eb;
}

/* Input fields */
[data-theme="dark"] .share-url-container input {
    background: #0f172a;
    border: 1px solid #334155;
    color: #e5e7eb;
}

/* Trending articles */
[data-theme="dark"] .trending-article {
    border-bottom: 1px solid #334155;
}

/* ================= FORCE DARK – AUTHOR SECTION ================= */

:root[data-theme="dark"] .clean-meta,
:root[data-theme="dark"] .clean-meta span,
:root[data-theme="dark"] .clean-meta strong {
    color: #e2e8f0 !important;
}

:root[data-theme="dark"] .author-info h4 {
    color: #ffffff !important;
}

:root[data-theme="dark"] .author-info p {
    color: #94a3b8 !important;
}

:root[data-theme="dark"] .article-byline {
    border-top: 1px solid #334155 !important;
    border-bottom: 1px solid #334155 !important;
}