/* Shared article page styles — extracted from inline blocks */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00d4ff;
            --primary-dark: #00a8cc;
            --secondary: #213A5C;
            --accent: #758D93;
            --bg-dark: #0b1220;
            --bg-gradient-start: #0b1220;
            --bg-gradient-end: #1a2332;
            --text-primary: #ffffff;
            --text-secondary: rgba(255, 255, 255, 0.7);
            --quote-bg: rgba(0, 212, 255, 0.1);
            --quote-border: rgba(0, 212, 255, 0.3);
        }

        /* Custom Cursor */
        .custom-cursor {
            width: 20px;
            height: 20px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 99999;
            transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
            transform: translate(-50%, -50%);
            mix-blend-mode: difference;
        }

        .custom-cursor-dot {
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 99998;
            transition: transform 0.05s ease;
            transform: translate(-50%, -50%);
        }

        .custom-cursor.hover {
            width: 50px;
            height: 50px;
            background: rgba(0, 212, 255, 0.1);
            border-color: var(--primary);
        }

        /* Light mode cursor - remove mix-blend-mode to prevent pink colors */
        [data-theme="light"] .custom-cursor {
            mix-blend-mode: normal !important;
            border-color: #0E2038 !important;
            background: rgba(14, 32, 56, 0.1) !important;
        }

        [data-theme="light"] .custom-cursor-dot {
            background: #0E2038 !important;
        }

        [data-theme="light"] .custom-cursor.hover {
            background: rgba(14, 32, 56, 0.15) !important;
            border-color: var(--primary) !important;
        }

        html {
            background: #0b1220 !important;
            background-color: #0b1220 !important;
        }
        
        body {
            font-family: 'Sansation', sans-serif;
            font-weight: 300;
            font-size: 1.05rem;
            overflow-x: hidden;
            background: #0b1220 !important;
            background-color: #0b1220 !important;
            color: #ffffff !important;
            cursor: none;
            line-height: 1.8;
            min-height: 100vh;
        }
        
        /* Force all default text to be visible */
        body {
            color: #ffffff !important;
        }
        
        p, span, li, td, th, time {
            color: #ffffff !important;
        }
        
        /* Colored elements override */
        .article-content h2 {
            color: var(--primary) !important;
        }
        
        .article-content h3 {
            color: var(--accent) !important;
        }
        
        .article-content h4 {
            color: rgba(255, 255, 255, 0.95) !important;
        }

        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%, #0f1a2e 100%);
            background-size: 200% 200%;
            animation: gradientShift 15s ease infinite;
            z-index: -2;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* Navigation - Match main portfolio */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(11, 18, 32, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 10000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            height: 80px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar.scrolled {
            background: rgba(11, 18, 32, 0.95);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 4rem;
            height: 100%;
        }

        .nav-logo a {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            text-decoration: none;
            white-space: nowrap;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0.25rem;
            margin: 0;
            padding: 0;
        }

        .nav-menu .nav-item {
            display: flex;
            align-items: center;
            padding: 0 0.3rem;
            margin: 0;
            background: transparent;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            z-index: 1001;
            box-sizing: border-box;
        }

        .nav-link {
            text-decoration: none;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            padding: 0 0.2rem;
            border-radius: 3px;
            display: block;
            position: relative;
            z-index: 1002;
            cursor: pointer;
        }

        .nav-link:hover {
            color: #00d4ff;
            text-decoration: none;
        }

        .nav-menu .nav-item:hover {
            transform: translateY(-1px);
        }

        .nav-menu .nav-item.active {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50px;
        }

        .nav-menu .nav-item.active .nav-link {
            color: #00d4ff;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(14,32,56,0.85), rgba(11,18,32,0.9));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 1001;
            box-shadow: 0 6px 18px rgba(14, 32, 56, 0.35);
        }

        .hamburger:hover {
            background: linear-gradient(135deg, rgba(14,32,56,0.92), rgba(11,18,32,0.96));
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 10px 28px rgba(14, 32, 56, 0.45);
        }

        .hamburger:active {
            transform: scale(0.96);
        }

        .bar {
            width: 22px;
            height: 3px;
            background: linear-gradient(90deg, #5bbcff 0%, #80eaff 50%, #6ee7c8 100%);
            margin: 3px 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
        }

        .hamburger.active {
            background: linear-gradient(135deg, rgba(14,32,56,0.85), rgba(11,18,32,0.92));
            border-color: rgba(0, 212, 255, 0.45);
            box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
        }

        .hamburger.active .bar:nth-child(1) {
            transform: rotate(-45deg) translate(-6px, 7px);
            background: linear-gradient(90deg, #00d4ff 0%, #5bbcff 50%, #80eaff 100%) !important;
            box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .hamburger.active .bar:nth-child(3) {
            transform: rotate(45deg) translate(-6px, -7px);
            background: linear-gradient(90deg, #00d4ff 0%, #5bbcff 50%, #80eaff 100%) !important;
            box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
        }

        .hamburger::before {
            content: '';
            position: absolute;
            inset: -1.5px;
            border-radius: inherit;
            padding: 1.5px;
            background: linear-gradient(135deg, rgba(0,212,255,0.35), rgba(110,231,200,0.25));
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
            pointer-events: none;
            opacity: 0.6;
            transition: opacity .25s ease, transform .25s ease;
        }

        .hamburger:hover::before { 
            opacity: 1; 
            transform: scale(1.02); 
        }

        .hamburger:active::before { 
            opacity: 1; 
        }

        /* Tap ripple feedback */
        .hamburger::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,0.25), transparent 45%);
            opacity: 0;
            transition: opacity .35s ease;
            pointer-events: none;
        }

        .hamburger:active::after { opacity: 1; }

        /* Hide nav-menu on desktop when hamburger is present */
        @media (min-width: 769px) {
            .nav-menu {
                display: flex;
            }
        }

        /* Mobile Navigation Styles */
        @media (max-width: 768px) {
            /* Prevent body scroll when menu is open */
            body.menu-open {
                overflow: hidden !important;
                position: fixed !important;
                width: 100% !important;
                height: 100% !important;
            }

            /* Clip horizontal overflow on <body> only. Putting overflow-x:hidden
               on <html> locks iOS Safari's horizontal panning while pinch-zoomed,
               which traps the article text against the screen edges. */
            body {
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100vw !important;
                position: relative !important;
            }

            .navbar {
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100vw !important;
                height: 80px !important;
                min-height: 80px !important;
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                box-sizing: border-box !important;
            }
            
            .nav-container {
                gap: 1rem !important;
                padding: 0 20px !important;
                padding-right: 60px !important;
                overflow-x: hidden !important;
                min-width: 0 !important;
                max-width: 100% !important;
                width: 100% !important;
                box-sizing: border-box !important;
                position: relative !important;
                height: 100% !important;
            }
            
            .nav-logo {
                flex: 1 1 auto !important;
                min-width: 0 !important;
                overflow: hidden !important;
                max-width: calc(100% - 60px) !important;
            }
            
            .nav-logo a {
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                max-width: 100% !important;
                display: block !important;
            }

            .hamburger {
                display: flex !important;
                position: relative !important;
                z-index: 1001 !important;
                flex-shrink: 0 !important;
                margin-left: auto !important;
            }

            /* Mobile nav menu: force Articles layout across all sections */
            .nav-menu {
                position: fixed !important;
                left: -100% !important;
                top: 0 !important;
                height: 100vh !important;
                min-height: 100vh !important;
                width: 220px !important;
                max-width: 75% !important;
                flex-direction: column !important;
                background: linear-gradient(135deg, 
                    rgba(11, 18, 32, 0.98) 0%, 
                    rgba(14, 32, 56, 0.95) 50%, 
                    rgba(11, 18, 32, 0.98) 100%) !important;
                backdrop-filter: blur(20px) !important;
                -webkit-backdrop-filter: blur(20px) !important;
                transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
                box-shadow: 
                    0 0 0 1px rgba(255, 255, 255, 0.1),
                    0 25px 50px -12px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(255, 255, 255, 0.05) !important;
                z-index: 10001 !important;
                padding: 0 !important;
                overflow: hidden !important;
                border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
                display: flex !important;
                justify-content: flex-start !important;
                align-items: stretch !important;
                padding-top: 3rem !important;
                padding-bottom: 1.5rem !important;
                gap: 0 !important;
                box-sizing: border-box !important;
            }

            .nav-menu {
                visibility: hidden !important;
                opacity: 0 !important;
            }

            .nav-menu.active {
                left: 0 !important;
                visibility: visible !important;
                opacity: 1 !important;
                transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
            }

            /* Overlay effect using ::before pseudo-element */
            .nav-menu::before {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
                z-index: -1;
                opacity: 0;
                transition: opacity 0.3s ease;
                pointer-events: none;
            }

            .nav-menu.active::before {
                opacity: 1;
                pointer-events: auto;
            }

            /* Hide the JavaScript-created overlay - we use ::before instead */
            .nav-menu-overlay {
                display: none !important;
            }

            .nav-menu .nav-item {
                padding: 0 !important;
                margin: 0 !important;
                margin-bottom: 0.1rem !important;
                background: none !important;
                border: none !important;
                border-radius: 0 !important;
                transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
                position: relative !important;
                overflow: visible !important;
                flex-shrink: 1 !important;
                flex-grow: 0 !important;
                flex-basis: auto !important;
                width: 100% !important;
                min-height: 0 !important;
            }
            
            /* Ensure theme toggle is excluded from regular nav-item rules */
            .nav-menu .nav-item:not(.theme-toggle-mobile) {
                flex-grow: 0 !important;
            }

            .nav-menu .nav-item::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, 
                    transparent, 
                    rgba(255, 255, 255, 0.1), 
                    transparent) !important;
                transition: left 0.6s ease !important;
            }

            .nav-menu .nav-item:hover::before {
                left: 100%;
            }

            .nav-menu .nav-link {
                display: flex !important;
                align-items: center !important;
                padding: 0.4rem 0.7rem !important;
                color: rgba(255, 255, 255, 0.85) !important;
                text-decoration: none !important;
                font-weight: 500 !important;
                font-size: 0.85rem !important;
                letter-spacing: 0.2px !important;
                transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
                position: relative !important;
                border-left: 2px solid transparent !important;
                border-radius: 0 6px 6px 0 !important;
                margin-left: 0.4rem !important;
                margin-right: 0.4rem !important;
                z-index: 1 !important;
                min-height: 32px !important;
                max-height: 32px !important;
                box-sizing: border-box !important;
            }

            .nav-menu .nav-item:hover .nav-link {
                color: var(--primary) !important;
                background: rgba(33, 58, 92, 0.1) !important;
                border-left-color: var(--primary) !important;
                transform: translateX(8px) !important;
                box-shadow: 
                    inset 0 0 0 1px rgba(33, 58, 92, 0.2),
                    0 4px 12px rgba(33, 58, 92, 0.15) !important;
            }

            .nav-menu .nav-item:active .nav-link {
                transform: translateX(4px) scale(0.98) !important;
            }

            .nav-menu .nav-item.active .nav-link {
                color: var(--primary) !important;
                background: rgba(33, 58, 92, 0.15) !important;
                border-left-color: var(--primary) !important;
                box-shadow: 
                    inset 0 0 0 1px rgba(33, 58, 92, 0.3),
                    0 4px 12px rgba(33, 58, 92, 0.2) !important;
            }

            .nav-menu .nav-link::after {
                display: none;
            }

            /* Theme toggle button in mobile menu - force to bottom */
            .nav-menu .theme-toggle-mobile {
                margin-top: auto !important;
                flex-shrink: 0 !important;
            }
            
            .nav-menu .theme-toggle-mobile .nav-link {
                margin-top: 0.2rem !important;
                border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
                padding-top: 0.5rem !important;
                padding-bottom: 0.4rem !important;
                min-height: 32px !important;
                max-height: 32px !important;
            }

            /* Light mode mobile nav-menu styling */
            [data-theme="light"] .nav-menu {
                background: linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.98) 0%, 
                    rgba(247, 249, 252, 0.95) 50%, 
                    rgba(255, 255, 255, 0.98) 100%) !important;
                border-right-color: rgba(0, 0, 0, 0.08) !important;
                box-shadow: 
                    0 0 0 1px rgba(0, 0, 0, 0.05),
                    0 25px 50px -12px rgba(0, 0, 0, 0.15),
                    0 0 0 1px rgba(0, 0, 0, 0.02) !important;
            }

            [data-theme="light"] .nav-menu::before {
                background: rgba(255, 255, 255, 0.92) !important;
                backdrop-filter: blur(12px) !important;
                -webkit-backdrop-filter: blur(12px) !important;
            }

            [data-theme="light"] .nav-menu .nav-link {
                color: rgba(11, 18, 32, 0.85) !important;
            }

            [data-theme="light"] .nav-menu .nav-item:hover .nav-link {
                color: var(--primary) !important;
                background: rgba(0, 212, 255, 0.08) !important;
                border-left-color: var(--primary) !important;
                box-shadow: 
                    inset 0 0 0 1px rgba(0, 212, 255, 0.15),
                    0 4px 12px rgba(0, 212, 255, 0.1) !important;
            }

            [data-theme="light"] .nav-menu .nav-item.active .nav-link {
                color: var(--primary) !important;
                background: rgba(0, 212, 255, 0.12) !important;
                border-left-color: var(--primary) !important;
                box-shadow: 
                    inset 0 0 0 1px rgba(0, 212, 255, 0.2),
                    0 4px 12px rgba(0, 212, 255, 0.15) !important;
            }

            [data-theme="light"] .theme-toggle-btn {
                color: rgba(11, 18, 32, 0.85) !important;
            }

            [data-theme="light"] .theme-toggle-btn:hover {
                color: var(--primary) !important;
                background: rgba(0, 212, 255, 0.08) !important;
            }

            [data-theme="light"] .nav-menu .nav-item::before {
                background: linear-gradient(90deg, 
                    transparent, 
                    rgba(0, 212, 255, 0.08), 
                    transparent) !important;
            }
        }

        /* Article Container */
        .article-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 6rem 2rem 4rem;
            position: relative;
            z-index: 1;
            background: transparent !important;
            background-color: transparent !important;
        }

        /* Article Header */
        .article-header {
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .article-meta {
            display: flex;
            gap: 1rem;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .article-category {
            color: var(--primary);
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 0.5rem 1rem;
            background: rgba(0, 212, 255, 0.1);
            border-radius: 20px;
            border: 1px solid rgba(0, 212, 255, 0.3);
        }

        .article-date {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.875rem;
        }

        .article-views {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.875rem;
        }

        .article-views .views-count {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .article-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .article-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
        }

        /* Featured Image */
        .article-featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 20px;
            margin: 3rem 0;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Article Content */
        .article-content {
            font-size: 1.125rem;
            line-height: 1.9;
            color: rgba(255, 255, 255, 0.9) !important;
            background: transparent !important;
            background-color: transparent !important;
        }
        
        .article-content p {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .article-content li {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .article-content ul,
        .article-content ol {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .article-content a {
            color: var(--primary) !important;
        }
        
        .article-header {
            color: #ffffff !important;
        }
        
        .article-title {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
        }
        
        .article-subtitle {
            color: rgba(255, 255, 255, 0.8) !important;
        }
        
        .article-footer {
            color: rgba(255, 255, 255, 0.6) !important;
        }
        
        .article-footer p {
            color: rgba(255, 255, 255, 0.6) !important;
        }

        /* Rating and Comments Section */
        .rating-comments-section {
            margin-top: 4rem;
            padding: 2.5rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .rating-section, .comments-section {
            margin-bottom: 3rem;
        }

        .rating-section:last-child, .comments-section:last-child {
            margin-bottom: 0;
        }

        .rating-section h3, .comments-section h3 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        /* Star Rating */
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .star-rating input[type="radio"] {
            display: none;
        }

        .star-rating label {
            font-size: 2rem;
            color: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .star-rating label:hover,
        .star-rating label:hover ~ label {
            color: #ffd700;
        }

        .star-rating input[type="radio"]:checked ~ label {
            color: #ffd700;
        }

        .star-rating input[type="radio"]:checked ~ label ~ label {
            color: #ffd700;
        }

        .rating-stats {
            margin-top: 1rem;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Comment Form */
        .comment-form {
            margin-bottom: 2rem;
        }

        .comment-input-group {
            margin-bottom: 1.5rem;
        }

        .comment-input-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .comment-input-group input,
        .comment-input-group textarea {
            width: 100%;
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: #ffffff;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .comment-input-group input:focus,
        .comment-input-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
        }

        .comment-input-group input::placeholder,
        .comment-input-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .submit-btn {
            padding: 0.75rem 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: #ffffff;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Comments List */
        .comments-list {
            margin-top: 2rem;
        }

        .comment-item {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border-left: 3px solid var(--primary);
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .comment-author {
            font-weight: 600;
            color: var(--primary);
        }

        .comment-date {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .comment-text {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
        }

        .no-comments {
            text-align: center;
            padding: 2rem;
            color: rgba(255, 255, 255, 0.5);
            font-style: italic;
        }

        .article-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 3rem 0 1.5rem;
            color: var(--primary);
            line-height: 1.3;
        }

        .article-content h3 {
            font-size: 1.75rem;
            font-weight: 600;
            margin: 2.5rem 0 1rem;
            color: var(--accent);
        }

        .article-content h4 {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 2rem 0 1rem;
            color: rgba(255, 255, 255, 0.95);
        }

        .article-content p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        .article-content ul, .article-content ol {
            margin: 1.5rem 0 1.5rem 2rem;
        }

        .article-content li {
            margin-bottom: 0.75rem;
        }

        /* Blockquotes */
        .article-content blockquote {
            margin: 2rem 0;
            padding: 2rem;
            background: var(--quote-bg) !important;
            background-color: rgba(0, 212, 255, 0.1) !important;
            border-left: 4px solid var(--quote-border) !important;
            border-radius: 8px;
            font-style: italic;
            font-size: 1.25rem;
            line-height: 1.8;
            position: relative;
        }

        .article-content blockquote::before {
            content: '"';
            font-size: 4rem;
            position: absolute;
            top: -10px;
            left: 15px;
            color: var(--primary) !important;
            opacity: 0.3;
            font-family: Georgia, serif;
        }

        .article-content blockquote p {
            margin: 0;
            position: relative;
            z-index: 1;
            color: rgba(255, 255, 255, 0.95) !important;
        }
        
        .article-content blockquote {
            color: rgba(255, 255, 255, 0.95) !important;
        }

        /* Reading Progress */
        .reading-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            z-index: 10001;
            transition: width 0.1s ease;
        }

        /* Back to Articles */
        /* Breadcrumbs */
        .breadcrumbs {
            margin-bottom: 1.5rem;
            padding: 0.5rem 0;
        }

        .breadcrumbs ol {
            list-style: none;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0;
            padding: 0;
        }

        .breadcrumbs li {
            display: flex;
            align-items: center;
        }

        .breadcrumbs a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.9rem;
        }

        .breadcrumbs a:hover {
            color: var(--primary);
        }

        .breadcrumbs span:not(.breadcrumb-separator) {
            color: var(--text-primary);
        }

        .breadcrumb-separator {
            color: var(--text-secondary);
            margin: 0 0.25rem;
            font-size: 0.9rem;
        }

        .breadcrumbs li:last-child span {
            color: var(--primary);
            font-weight: 500;
        }

        .back-to-articles {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            margin-bottom: 2rem;
            padding: 0.75rem 1.5rem;
            background: rgba(0, 212, 255, 0.1);
            border-radius: 25px;
            border: 1px solid rgba(0, 212, 255, 0.3);
            transition: all 0.3s ease;
        }

        .back-to-articles:hover {
            background: rgba(0, 212, 255, 0.2);
            transform: translateX(-5px);
        }

        /* Cookie Consent Styles */
        .cookie-consent-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(11, 18, 32, 0.9);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            color: #EAF2FF;
            padding: 22px 20px;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
            z-index: 10002;
            transform: translateY(100%);
            transition: transform 0.35s ease-in-out;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
        }

        .cookie-consent-banner.show {
            transform: translateY(0);
        }

        /* Prevent banner from showing if preferences are saved */
        .cookie-consent-banner[data-prefs-saved="true"] {
            display: none !important;
            transform: translateY(100%) !important;
            visibility: hidden !important;
            opacity: 0 !important;
        }

        .cookie-consent-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .cookie-consent-text h3 {
            margin: 0 0 10px 0;
            font-size: 1.3rem;
            color: #EAF2FF;
        }

        .cookie-consent-text p {
            margin: 0 0 15px 0;
            line-height: 1.5;
            opacity: 0.9;
            color: #EAF2FF !important;
        }

        .cookie-details summary {
            cursor: pointer;
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 10px;
        }

        .cookie-consent-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 12px 24px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            min-width: 120px;
            color: #EAF2FF;
        }

        .cookie-btn-accept {
            background: linear-gradient(135deg, rgba(14, 32, 56, 0.8), rgba(11, 18, 32, 0.9));
            box-shadow: 0 8px 24px rgba(14, 32, 56, 0.35);
        }

        .cookie-btn-accept:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(14, 32, 56, 0.5);
        }

        .cookie-btn-essential {
            background: rgba(255, 255, 255, 0.06);
        }

        .cookie-btn-essential:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateY(-2px);
        }

        .cookie-btn-customize {
            background: rgba(255, 255, 255, 0.08);
        }

        .cookie-btn-customize:hover {
            background: rgba(255, 255, 255, 0.16);
            transform: translateY(-2px);
        }

        .cookie-settings-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10002;
            padding: 20px;
        }

        .cookie-settings-modal.show {
            display: flex;
        }

        .cookie-settings-content {
            background: rgba(11, 18, 32, 0.96);
            color: #EAF2FF;
            border-radius: 16px;
            max-width: 640px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .cookie-settings-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 25px 0 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 20px;
        }

        .cookie-settings-header h3 {
            margin: 0;
            color: #EAF2FF;
            font-size: 1.5rem;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #999;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #EAF2FF;
        }

        .cookie-settings-body {
            padding: 0 25px;
        }

        .cookie-category {
            margin-bottom: 25px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .cookie-category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .cookie-category-header h4 {
            margin: 0;
            color: #EAF2FF;
            font-size: 1.1rem;
        }

        .cookie-toggle {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
            cursor: pointer;
        }

        .cookie-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.3s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
        }

        .cookie-toggle input:checked + .toggle-slider {
            background-color: var(--accent);
        }

        .cookie-toggle input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }

        .cookie-toggle input:disabled + .toggle-slider {
            background-color: var(--primary);
            opacity: 0.7;
        }

        .cookie-category p {
            margin: 0;
            color: rgba(234, 242, 255, 0.8);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .cookie-settings-footer {
            padding: 20px 25px 25px 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }

        .cookie-btn-save {
            background: linear-gradient(135deg, rgba(14, 32, 56, 0.8), rgba(11, 18, 32, 0.9));
            color: #EAF2FF;
            padding: 12px 30px;
            font-size: 1rem;
        }

        .cookie-btn-save:hover {
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .cookie-consent-content {
                gap: 15px;
            }
            .cookie-consent-buttons {
                flex-direction: column;
                gap: 10px;
            }
            .cookie-btn {
                width: 100%;
                min-width: auto;
            }
            .cookie-settings-content {
                margin: 10px;
                max-height: 90vh;
            }
        }

        /* Easter Egg Message */
        #easter-egg-message {
            position: fixed;
            top: 50%;
            left: 50%;
            transition: transform 0.05s ease;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 1rem 2rem;
            border-radius: 10px;
            font-size: 1.2rem;
            font-weight: 600;
            z-index: 10000;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            text-align: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .easter-egg-visible {
            opacity: 1 !important;
            visibility: visible !important;
            animation: easterEggPop 0.5s ease-out;
        }

        .easter-egg-hidden {
            opacity: 0;
            visibility: hidden;
            transform: translate(-50%, -50%) scale(0.8);
        }

        @keyframes easterEggPop {
            0% {
                transform: translate(-50%, -50%) scale(0.5);
                opacity: 0;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        @media (max-width: 768px) {
            #easter-egg-message {
                font-size: 1rem;
                padding: 0.8rem 1.5rem;
                max-width: 90%;
                word-wrap: break-word;
            }
        }

        @media (max-width: 480px) {
            #easter-egg-message {
                font-size: 0.9rem;
                padding: 0.7rem 1.2rem;
                max-width: 95%;
            }
        }

        /* Footer */
        .article-footer {
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            background: transparent !important;
            background-color: transparent !important;
        }

        .article-footer p {
            color: rgba(255, 255, 255, 0.6) !important;
            font-style: italic;
        }
        
        .article-footer strong {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        /* Back to Top Button */
        .back-to-top {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 3rem;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: #ffffff !important;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .back-to-top::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .back-to-top:hover::before {
            left: 100%;
        }

        .back-to-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
            color: #ffffff;
        }

        .back-to-top:active {
            transform: translateY(-1px);
        }

        .back-to-top i {
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .back-to-top:hover i {
            transform: translateY(-3px);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .article-container {
                padding: 5rem 1.5rem 3rem;
            }

            .article-content {
                font-size: 1rem;
            }

            .article-content h2 {
                font-size: 2rem;
            }

            .article-content h3 {
                font-size: 1.5rem;
            }

            body {
                cursor: auto;
            }

            .custom-cursor,
            .custom-cursor-dot {
                display: none;
            }
        }

        /* Desktop styling for Back to Articles button */
        @media (min-width: 769px) {
            .back-to-articles {
                margin-top: 3.5rem;
            }
        }

        /* Light Theme Overrides */
        [data-theme="light"] {
            --bg-dark: #ffffff;
            --bg-gradient-start: #f7f9fc;
            --bg-gradient-end: #eef2f7;
            --text-primary: #0b1220;
            --text-secondary: rgba(0, 0, 0, 0.65);
            --quote-bg: rgba(0, 212, 255, 0.06);
            --quote-border: rgba(0, 212, 255, 0.25);
        }

        [data-theme="light"] html {
            background: #f7f9fc !important; /* Match hero section */
            background-color: #f7f9fc !important;
        }

        [data-theme="light"] body {
            background: #f7f9fc !important; /* Match hero section */
            background-color: #f7f9fc !important;
            color: #0b1220 !important;
        }

        [data-theme="light"] p,
        [data-theme="light"] span,
        [data-theme="light"] li,
        [data-theme="light"] td,
        [data-theme="light"] th,
        [data-theme="light"] time {
            color: #0b1220 !important;
        }

        [data-theme="light"] .article-views {
            color: rgba(11, 18, 32, 0.6) !important;
        }

        [data-theme="light"] .article-views .views-count {
            color: rgba(11, 18, 32, 0.8) !important;
        }

        [data-theme="light"] .navbar {
            background: #ffffff !important;
            border-bottom-color: rgba(0, 0, 0, 0.08) !important;
        }

        [data-theme="light"] .navbar.scrolled {
            background: #ffffff !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        }

        [data-theme="light"] .nav-link {
            color: #0b1220 !important;
            text-shadow: none !important;
        }

        [data-theme="light"] .nav-link:hover {
            color: var(--primary) !important;
        }

        [data-theme="light"] .nav-menu .nav-item.active {
            background: rgba(0, 0, 0, 0.08) !important;
        }

        [data-theme="light"] .nav-menu .nav-item.active .nav-link {
            color: var(--primary) !important;
        }

        [data-theme="light"] .nav-logo a {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        [data-theme="light"] .article-header {
            border-bottom-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .article-subtitle {
            color: rgba(0, 0, 0, 0.7) !important;
        }

        [data-theme="light"] .article-content {
            color: rgba(0, 0, 0, 0.85) !important;
        }

        [data-theme="light"] .article-content p,
        [data-theme="light"] .article-content li,
        [data-theme="light"] .article-content ul,
        [data-theme="light"] .article-content ol {
            color: rgba(0, 0, 0, 0.85) !important;
        }

        [data-theme="light"] .article-content blockquote p,
        [data-theme="light"] .article-content blockquote {
            color: rgba(0, 0, 0, 0.9) !important;
        }

        [data-theme="light"] .article-footer,
        [data-theme="light"] .article-footer p,
        [data-theme="light"] .article-footer strong {
            color: rgba(0, 0, 0, 0.6) !important;
        }

        [data-theme="light"] .cookie-consent-banner {
            background: rgba(255, 255, 255, 0.9);
            color: #0b1220;
            border-top-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .cookie-consent-text h3,
        [data-theme="light"] .cookie-consent-text p {
            color: #0b1220 !important;
        }

        [data-theme="light"] .cookie-settings-content {
            background: rgba(255, 255, 255, 0.96);
            color: #0b1220;
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .close-btn:hover {
            background: rgba(0, 0, 0, 0.06);
            color: #0b1220;
        }

        /* Light mode styles for Rating and Comments Section */
        [data-theme="light"] .rating-comments-section {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 249, 252, 0.9) 100%) !important;
            border-color: rgba(0, 0, 0, 0.1) !important;
        }

        [data-theme="light"] .rating-section h3,
        [data-theme="light"] .comments-section h3 {
            color: var(--primary) !important;
        }

        [data-theme="light"] .star-rating label {
            color: rgba(0, 0, 0, 0.3) !important;
        }

        [data-theme="light"] .star-rating label:hover,
        [data-theme="light"] .star-rating label:hover ~ label {
            color: #ffd700 !important;
        }

        [data-theme="light"] .star-rating input[type="radio"]:checked ~ label {
            color: #ffd700 !important;
        }

        [data-theme="light"] .star-rating input[type="radio"]:checked ~ label ~ label {
            color: #ffd700 !important;
        }

        [data-theme="light"] .rating-stats {
            color: rgba(0, 0, 0, 0.7) !important;
        }

        [data-theme="light"] .comment-input-group label {
            color: rgba(0, 0, 0, 0.9) !important;
        }

        [data-theme="light"] .comment-input-group input,
        [data-theme="light"] .comment-input-group textarea {
            background: rgba(255, 255, 255, 0.8) !important;
            border-color: rgba(0, 0, 0, 0.2) !important;
            color: #0b1220 !important;
        }

        [data-theme="light"] .comment-input-group input:focus,
        [data-theme="light"] .comment-input-group textarea:focus {
            background: rgba(255, 255, 255, 0.95) !important;
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
        }

        [data-theme="light"] .comment-input-group input::placeholder,
        [data-theme="light"] .comment-input-group textarea::placeholder {
            color: rgba(0, 0, 0, 0.4) !important;
        }

        [data-theme="light"] .comment-item {
            background: rgba(255, 255, 255, 0.6) !important;
            border-left-color: var(--primary) !important;
        }

        [data-theme="light"] .comment-author {
            color: var(--primary) !important;
        }

        [data-theme="light"] .comment-date {
            color: rgba(0, 0, 0, 0.5) !important;
        }

        [data-theme="light"] .comment-text {
            color: rgba(0, 0, 0, 0.9) !important;
        }

        [data-theme="light"] .no-comments {
            color: rgba(0, 0, 0, 0.5) !important;
        }

        [data-theme="light"] .back-to-top {
            color: #ffffff !important;
        }

        /* Light mode hamburger styling */
        [data-theme="light"] .hamburger {
            background: linear-gradient(135deg, rgba(247, 249, 252, 0.85), rgba(238, 242, 247, 0.9));
            border-color: rgba(0, 0, 0, 0.15);
        }

        [data-theme="light"] .hamburger:hover {
            background: linear-gradient(135deg, rgba(247, 249, 252, 0.92), rgba(238, 242, 247, 0.96));
            border-color: rgba(0, 0, 0, 0.25);
        }

        [data-theme="light"] .hamburger.active {
            background: linear-gradient(135deg, rgba(247, 249, 252, 0.85), rgba(238, 242, 247, 0.92));
            border-color: rgba(0, 212, 255, 0.35);
        }

        [data-theme="light"] .hamburger .bar {
            background: linear-gradient(90deg, #0b1220 0%, rgba(11, 18, 32, 0.8) 50%, #0b1220 100%);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        [data-theme="light"] .hamburger.active .bar:nth-child(1),
        [data-theme="light"] .hamburger.active .bar:nth-child(3) {
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
        }

        /* Theme Toggle - Mobile inside menu, Desktop next to hamburger */
        .theme-toggle-mobile {
            display: none;
        }

        .theme-toggle-desktop {
            display: none;
        }

        @media (max-width: 768px) {
            .theme-toggle-mobile {
                display: block !important;
            }
            .theme-toggle-desktop {
                display: none !important;
                visibility: hidden !important;
            }
            .theme-toggle-btn {
                color: rgba(255, 255, 255, 0.9) !important;
                width: 100%;
                text-align: left;
                padding: 0.4rem 0.7rem !important;
                margin: 0 !important;
                display: flex !important;
                align-items: center !important;
                gap: 0.4rem !important;
                font-weight: 500 !important;
                font-size: 0.85rem !important;
                letter-spacing: 0.2px !important;
                border-left: 3px solid transparent !important;
                position: relative !important;
            }
            .theme-toggle-btn i {
                flex-shrink: 0;
            }
            .theme-toggle-btn:hover {
                color: var(--primary) !important;
            }
        }

        @media (min-width: 769px) {
            .theme-toggle-mobile {
                display: none !important;
            }
            .theme-toggle-desktop {
                display: inline-flex !important;
                align-items: center !important;
                gap: 0.5rem !important;
                margin-left: 1rem;
            }
        }

        [data-theme="light"] .theme-toggle-btn {
            color: #0b1220 !important;
        }

        [data-theme="light"] .theme-toggle-btn:hover {
            color: var(--primary) !important;
        }

        /* Light mode mobile nav-menu styling - moved to main mobile media query block above */

        /* Mobile-specific theme fixes - Ensure all sections match hero background on mobile */
        @media (max-width: 768px) {
            /* Light mode navbar - ensure solid white on mobile */
            [data-theme="light"] .navbar {
                background: #ffffff !important;
                background-color: #ffffff !important;
            }
            
            [data-theme="light"] .navbar.scrolled {
                background: #ffffff !important;
                background-color: #ffffff !important;
            }
            
            /* Light mode - all sections match hero */
            [data-theme="light"] .article-container,
            [data-theme="light"] .article-header,
            [data-theme="light"] .article-content,
            [data-theme="light"] .article-footer,
            [data-theme="light"] body {
                background: #f7f9fc !important;
                background-color: #f7f9fc !important;
            }
            
            /* Dark mode - all sections match hero */
            [data-theme="dark"] .article-container,
            html:not([data-theme="light"]) .article-container,
            [data-theme="dark"] .article-header,
            html:not([data-theme="light"]) .article-header,
            [data-theme="dark"] .article-content,
            html:not([data-theme="light"]) .article-content,
            [data-theme="dark"] .article-footer,
            html:not([data-theme="light"]) .article-footer,
            [data-theme="dark"] .navbar,
            html:not([data-theme="light"]) .navbar,
            [data-theme="dark"] body,
            html:not([data-theme="light"]) body {
                background: #0b1220 !important;
                background-color: #0b1220 !important;
            }
        }

/* Related articles section */
.related-articles{max-width:900px;margin:3.5rem auto 0;padding-top:2.5rem;border-top:1px solid var(--quote-border,rgba(0,212,255,.28));}
        .related-articles__title{font-size:1.55rem;font-weight:700;margin-bottom:1.4rem;color:var(--text-primary,#fff);display:flex;align-items:center;gap:.6rem;}
        .related-articles__title::before{content:"";width:4px;height:1.1em;background:var(--primary,#00d4ff);border-radius:2px;}
        .related-articles__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.15rem;}
        .related-card{position:relative;display:flex;flex-direction:column;gap:.55rem;padding:1.3rem 1.4rem;border-radius:14px;background:var(--quote-bg,rgba(0,212,255,.06));border:1px solid var(--quote-border,rgba(0,212,255,.18));text-decoration:none;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
        .related-card::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 55%,rgba(0,212,255,.1));opacity:0;transition:opacity .25s ease;pointer-events:none;}
        .related-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(0,0,0,.28);border-color:var(--primary,#00d4ff);}
        .related-card:hover::after{opacity:1;}
        .related-card__eyebrow{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--primary,#00d4ff);}
        .related-card__title{font-size:1.05rem;line-height:1.35;font-weight:700;color:var(--text-primary,#fff);}
        .related-card__cta{margin-top:auto;display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--text-secondary,rgba(255,255,255,.7));transition:gap .2s ease,color .2s ease;}
        .related-card__cta svg{width:14px;height:14px;}
        .related-card:hover .related-card__cta{gap:.65rem;color:var(--primary,#00d4ff);}
        @media(max-width:480px){.related-articles__grid{grid-template-columns:1fr;}}
