/* ============================================
           BLOG POST DETAILS PAGE - COMPLETE STYLING
        ============================================ */
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.8;
            color: #1f2937;
            background: #f9fafb;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }
        
        /* Prevent all elements from causing horizontal scroll */
        * {
            max-width: 100%;
            box-sizing: border-box;
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        /* Scroll Progress Bar */
        .scroll-progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
            z-index: 9999;
            transition: width 0.1s linear;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
        }
        
        /* Breadcrumb Navigation */
        .breadcrumb-section {
            background: white;
            padding: 1.5rem 5%;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .breadcrumb {
            max-width: 1600px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        
        .breadcrumb a {
            color: #6b7280;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }
        
        .breadcrumb a:hover {
            color: #3b82f6;
        }
        
        .breadcrumb-separator {
            color: #d1d5db;
        }
        
        .breadcrumb-current {
            color: #1f2937;
            font-weight: 600;
        }
        
        /* Post Header */
        .post-header {
            background: linear-gradient(180deg, #ffffff 0%, #fef3f2 50%, #fff7ed 100%);
            padding: 4rem 5% 3rem;
            position: relative;
            overflow: hidden;
        }
        
        .post-header::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
            top: -200px;
            right: -100px;
            animation: float-blob 20s infinite ease-in-out;
        }
        
        @keyframes float-blob {
            0%, 100% {
                transform: translate(0, 0) scale(1);
            }
            50% {
                transform: translate(30px, -30px) scale(1.1);
            }
        }
        
        .post-header-content {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        .post-category-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #1e40af;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 700;
            border: 2px solid #bfdbfe;
            margin-bottom: 2rem;
        }
        
        .post-header-title {
            font-size: 3.5rem;
            font-weight: 900;
            color: #0f172a;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }
        
        .post-header-excerpt {
            font-size: 1.3rem;
            color: #64748b;
            line-height: 1.8;
            margin-bottom: 2rem;
        }
        
        .post-meta-header {
            display: flex;
            align-items: center;
            gap: 2rem;
            padding: 2rem;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            flex-wrap: wrap;
        }
        
        .post-author-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .author-avatar-large {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #3b82f6;
        }
        
        .author-details {
            display: flex;
            flex-direction: column;
        }
        
        .author-name-large {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1f2937;
        }
        
        .author-role-large {
            font-size: 0.9rem;
            color: #6b7280;
        }
        
        .post-meta-items {
            display: flex;
            align-items: center;
            gap: 2rem;
            flex-wrap: wrap;
            flex: 1;
            justify-content: flex-end;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #6b7280;
            font-size: 0.95rem;
        }
        
        .meta-icon {
            font-size: 1.2rem;
        }
        
        /* Main Container */
        .post-container {
            max-width: 1800px;
            margin: 0 auto;
            padding: 4rem 2%;
            display: grid;
            grid-template-columns: 280px 1fr 380px;
            gap: 3rem;
            width: 100%;
        }
        
        /* Post Content */
        .post-content {
            background: white;
            padding: 4rem;
            border-radius: 30px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
            min-width: 0;
            overflow: hidden;
        }
        
        .post-featured-image {
            width: calc(100% + 8rem);
            margin: -4rem -4rem 3rem;
            border-radius: 30px 30px 0 0;
            overflow: hidden;
        }
        
        .post-featured-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }
        
        /* Article Content Styling */
        .article-content {
            font-size: 1.15rem;
            line-height: 1.9;
            color: #374151;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        .article-content * {
            max-width: 100%;
        }
        
        .article-content h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: #1f2937;
            margin: 3rem 0 1.5rem;
            line-height: 1.3;
        }
        
        .article-content h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1f2937;
            margin: 2.5rem 0 1.2rem;
        }
        
        .article-content h4 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1f2937;
            margin: 2rem 0 1rem;
        }
        
        .article-content p {
            margin-bottom: 1.8rem;
        }
        
        .article-content ul,
        .article-content ol {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }
        
        .article-content li {
            margin-bottom: 1rem;
        }
        
        .article-content li::marker {
            color: #3b82f6;
        }
        
        .article-content blockquote {
            border-left: 5px solid #3b82f6;
            padding: 1.5rem 2rem;
            margin: 2.5rem 0;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-radius: 0 15px 15px 0;
            font-style: italic;
            color: #1e40af;
        }
        
        .article-content code {
            background: #f1f5f9;
            padding: 0.2rem 0.6rem;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 0.95em;
            color: #e11d48;
        }
        
        .article-content pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 2rem;
            border-radius: 15px;
            overflow-x: auto;
            margin: 2rem 0;
            border: 2px solid #334155;
        }
        
        .article-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }
        
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            margin: 2.5rem 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .article-content a {
            color: #3b82f6;
            text-decoration: underline;
            transition: color 0.3s ease;
        }
        
        .article-content a:hover {
            color: #1e40af;
        }
        
        /* Info Boxes */
        .info-box {
            padding: 2rem;
            border-radius: 15px;
            margin: 2.5rem 0;
            border-left: 5px solid;
        }
        
        .info-box.tip {
            background: #f0fdf4;
            border-color: #10b981;
        }
        
        .info-box.warning {
            background: #fef3c7;
            border-color: #f59e0b;
        }
        
        .info-box.danger {
            background: #fef2f2;
            border-color: #ef4444;
        }
        
        .info-box-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* Sidebar */
        .post-sidebar {
            position: sticky;
            top: 2rem;
        }
        
        /* Ebook Opt-in Widget */
        .ebook-widget {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            padding: 0;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(30, 64, 175, 0.3);
            overflow: hidden;
            margin-bottom: 2rem;
            position: relative;
        }
        
        .ebook-widget::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
            pointer-events: none;
        }
        
        .ebook-header {
            background: linear-gradient(135deg, rgba(30, 64, 175, 0.5) 0%, rgba(59, 130, 246, 0.5) 100%);
            padding: 2rem;
            text-align: center;
            color: white;
            position: relative;
        }
        
        .ebook-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            border: 2px solid rgba(255, 255, 255, 0.3);
            margin-bottom: 1rem;
        }
        
        .ebook-title {
            font-size: 1.5rem;
            font-weight: 900;
            margin-bottom: 0.75rem;
            line-height: 1.3;
        }
        
        .ebook-subtitle {
            font-size: 0.95rem;
            opacity: 0.95;
            line-height: 1.6;
        }
        
        .ebook-cover-container {
            padding: 2rem;
            background: white;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .ebook-cover {
            position: relative;
            width: 100%;
            max-width: 280px;
            aspect-ratio: 3/4;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transition: transform 0.4s ease;
        }
        
        .ebook-cover:hover {
            transform: translateY(-10px) rotateY(5deg);
        }
        
        .ebook-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .ebook-cover::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
            pointer-events: none;
        }
        
        .ebook-form-container {
            padding: 2rem;
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
        }
        
        .ebook-benefits {
            margin-bottom: 2rem;
        }
        
        .benefit-item {
            display: flex;
            align-items: start;
            gap: 0.75rem;
            color: white;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            line-height: 1.6;
        }
        
        .benefit-icon {
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        
        .ebook-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .ebook-input {
            width: 100%;
            padding: 1.2rem 1.5rem;
            border-radius: 12px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.95);
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .ebook-input:focus {
            outline: none;
            background: white;
            border-color: white;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
        }
        
        .ebook-button {
            width: 100%;
            padding: 1.2rem;
            border-radius: 12px;
            border: none;
            background: white;
            color: #1e40af;
            font-size: 1.1rem;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }
        
        .ebook-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .ebook-privacy {
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.9);
            margin-top: 1rem;
        }
        
        /* Author Bio Widget */
        .author-bio-widget {
            background: white;
            padding: 2.5rem;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .author-bio-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #3b82f6;
            margin: 0 auto 1.5rem;
        }
        
        .author-bio-name {
            font-size: 1.5rem;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }
        
        .author-bio-role {
            color: #6b7280;
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .author-bio-description {
            color: #4b5563;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 2rem;
        }
        
        .author-social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: #3b82f6;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid #bfdbfe;
        }
        
        .social-icon:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            color: white;
            transform: translateY(-3px);
        }
        
        /* Table of Contents Widget - LEFT SIDE */
        .left-toc {
            width: 280px;
            flex-shrink: 0;
        }
        
        .toc-widget {
            background: white;
            padding: 2rem;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
            position: -webkit-sticky;
            position: sticky;
            top: 2rem;
            width: 100%;
            max-height: calc(100vh - 4rem);
            overflow-y: auto;
            z-index: 100;
            will-change: transform;
        }
        
        /* Custom scrollbar for TOC */
        .toc-widget::-webkit-scrollbar {
            width: 6px;
        }
        
        .toc-widget::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }
        
        .toc-widget::-webkit-scrollbar-thumb {
            background: #3b82f6;
            border-radius: 10px;
        }
        
        .toc-widget::-webkit-scrollbar-thumb:hover {
            background: #1e40af;
        }
        
        .toc-title {
            font-size: 1.1rem;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e5e7eb;
        }
        
        .toc-list {
            list-style: none;
        }
        
        .toc-item {
            margin-bottom: 0.5rem;
        }
        
        .toc-link {
            color: #6b7280;
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: start;
            gap: 0.5rem;
            padding: 0.75rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            line-height: 1.5;
        }
        
        .toc-link:hover {
            background: #eff6ff;
            color: #3b82f6;
            border-left-color: #3b82f6;
            padding-left: 1.25rem;
        }
        
        /* Active TOC item (current section) */
        .toc-link.active {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #1e40af;
            border-left-color: #3b82f6;
            font-weight: 700;
            padding-left: 1.25rem;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
        }
        
        .toc-link-number {
            font-weight: 700;
            color: #3b82f6;
            min-width: 20px;
            font-size: 0.85rem;
        }
        
        .toc-link.active .toc-link-number {
            color: #1e40af;
        }
        
        /* Progress indicator on left side of TOC */
        .toc-progress {
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 0%;
            background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
            border-radius: 3px;
            transition: height 0.3s ease;
        }
        
        /* Related Posts Widget */
        .related-posts-widget {
            background: white;
            padding: 2rem;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }
        
        .related-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .related-post-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            text-decoration: none;
            margin-bottom: 1rem;
        }
        
        .related-post-item:hover {
            background: #f9fafb;
            transform: translateX(5px);
        }
        
        .related-post-image {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .related-post-content {
            flex: 1;
        }
        
        .related-post-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: #1f2937;
            line-height: 1.4;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-post-date {
            font-size: 0.85rem;
            color: #6b7280;
        }
        
        /* Tags Section */
        .post-tags {
            padding: 2rem 0;
            border-top: 2px solid #e5e7eb;
            border-bottom: 2px solid #e5e7eb;
            margin: 3rem 0;
        }
        
        .tags-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 1rem;
        }
        
        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .tag {
            padding: 0.5rem 1.2rem;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #1e40af;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            border: 2px solid #bfdbfe;
            transition: all 0.3s ease;
        }
        
        .tag:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            color: white;
            transform: translateY(-2px);
        }
        
        /* Share Section */
        .share-section {
            padding: 2rem;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-radius: 20px;
            margin: 3rem 0;
            text-align: center;
        }
        
        .share-title {
            font-size: 1.3rem;
            font-weight: 800;
            color: #1e40af;
            margin-bottom: 1.5rem;
        }
        
        .share-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .share-btn {
            padding: 1rem 2rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .share-btn.twitter {
            background: #1da1f2;
            color: white;
        }
        
        .share-btn.linkedin {
            background: #0077b5;
            color: white;
        }
        
        .share-btn.facebook {
            background: #1877f2;
            color: white;
        }
        
        .share-btn.copy {
            background: white;
            color: #1e40af;
            border: 2px solid #bfdbfe;
        }
        
        .share-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }
        
        /* Comments Section */
        .comments-section {
            padding: 3rem;
            background: #f9fafb;
            border-radius: 20px;
            margin-top: 3rem;
        }
        
        .comments-title {
            font-size: 2rem;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        /* Responsive Design */
        @media (max-width: 1400px) {
            .post-container {
                grid-template-columns: 240px 1fr 350px;
                gap: 2rem;
                padding: 4rem 2%;
            }
            
            .left-toc {
                width: 240px;
            }
            
            .toc-widget {
                padding: 1.5rem;
            }
        }
        
        @media (max-width: 1200px) {
            .post-container {
                grid-template-columns: 1fr 350px;
                gap: 3rem;
                padding: 4rem 4%;
            }
            
            /* Hide left TOC completely on tablets and mobile */
            .left-toc {
                display: none;
            }
            
            /* Keep sidebar sticky on tablets */
            .post-sidebar {
                position: sticky;
                top: 2rem;
            }
        }
        
        @media (max-width: 968px) {
            .post-container {
                grid-template-columns: 1fr !important;
                gap: 2rem;
                padding: 3rem 5%;
                display: block;
                width: 100%;
            }
            
            /* Stack sidebar below content on mobile */
            .post-sidebar {
                position: static;
                width: 100%;
                margin-top: 2rem;
            }
            
            .post-content {
                padding: 2.5rem;
                width: 100%;
                max-width: 100%;
            }
            
            .post-featured-image {
                width: calc(100% + 5rem);
                margin: -2.5rem -2.5rem 2rem;
            }
            
            .post-featured-image img {
                height: 300px;
                width: 100%;
            }
            
            /* Hide TOC on mobile */
            .left-toc {
                display: none !important;
            }
        }
        
        @media (max-width: 768px) {
            .post-header {
                padding: 3rem 5% 2rem;
            }
            
            .post-header-title {
                font-size: 2rem;
                line-height: 1.3;
            }
            
            .post-header-excerpt {
                font-size: 1.1rem;
            }
            
            .post-meta-header {
                flex-direction: column;
                align-items: flex-start;
                padding: 1.5rem;
                gap: 1rem;
            }
            
            .post-meta-items {
                justify-content: flex-start;
                width: 100%;
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .post-container {
                padding: 2rem 5%;
            }
            
            .post-content {
                padding: 2rem;
                border-radius: 20px;
            }
            
            .post-featured-image {
                width: calc(100% + 4rem);
                margin: -2rem -2rem 1.5rem;
                border-radius: 20px 20px 0 0;
            }
            
            .post-featured-image img {
                height: 250px;
            }
            
            .article-content {
                font-size: 1.05rem;
            }
            
            .article-content h2 {
                font-size: 1.8rem;
                margin: 2rem 0 1rem;
            }
            
            .article-content h3 {
                font-size: 1.5rem;
            }
            
            .article-content h4 {
                font-size: 1.3rem;
            }
            
            .article-content pre {
                padding: 1.5rem;
                font-size: 0.85rem;
                overflow-x: auto;
                border-radius: 10px;
                max-width: 100%;
                word-wrap: break-word;
                white-space: pre-wrap;
            }
            
            .article-content code {
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
            
            .article-content blockquote {
                padding: 1rem 1.5rem;
                margin: 2rem 0;
            }
            
            .info-box {
                padding: 1.5rem;
            }
            
            .post-tags {
                padding: 1.5rem 0;
            }
            
            .tags-list {
                gap: 0.5rem;
            }
            
            .tag {
                padding: 0.4rem 1rem;
                font-size: 0.85rem;
            }
            
            .share-section {
                padding: 2rem 1.5rem;
                margin: 2rem 0;
            }
            
            .share-buttons {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .share-btn {
                width: 100%;
                justify-content: center;
                padding: 1rem 1.5rem;
            }
            
            .comments-section {
                padding: 2rem 1.5rem;
            }
            
            /* Sidebar Widgets - Mobile */
            .post-sidebar {
                width: 100% !important;
                max-width: 100%;
            }
            
            .ebook-widget {
                border-radius: 20px;
                width: 100%;
                max-width: 100%;
            }
            
            .ebook-header {
                padding: 1.5rem;
                width: 100%;
            }
            
            .ebook-title {
                font-size: 1.3rem;
            }
            
            .ebook-subtitle {
                font-size: 0.9rem;
            }
            
            .ebook-cover-container {
                padding: 1.5rem;
                width: 100%;
            }
            
            .ebook-cover {
                max-width: 220px;
                margin: 0 auto;
            }
            
            .ebook-form-container {
                padding: 1.5rem;
                width: 100%;
            }
            
            .ebook-form {
                width: 100%;
            }
            
            .ebook-input {
                padding: 1rem 1.2rem;
                font-size: 0.95rem;
                width: 100%;
            }
            
            .ebook-button {
                padding: 1rem;
                font-size: 1rem;
                width: 100%;
            }
            
            .author-bio-widget {
                padding: 2rem;
                border-radius: 20px;
                width: 100%;
                max-width: 100%;
            }
            
            .author-bio-avatar {
                width: 80px;
                height: 80px;
            }
            
            .author-bio-name {
                font-size: 1.3rem;
            }
            
            .related-posts-widget {
                padding: 1.5rem;
                border-radius: 20px;
                width: 100%;
                max-width: 100%;
            }
            
            .related-title {
                font-size: 1.2rem;
            }
            
            .related-post-image {
                width: 70px;
                height: 70px;
            }
        }
        
        @media (max-width: 480px) {
            .breadcrumb {
                font-size: 0.85rem;
                gap: 0.5rem;
            }
            
            .post-header {
                padding: 2.5rem 5% 1.5rem;
            }
            
            .post-category-badge {
                padding: 0.5rem 1.2rem;
                font-size: 0.85rem;
            }
            
            .post-header-title {
                font-size: 1.6rem;
            }
            
            .post-header-excerpt {
                font-size: 1rem;
            }
            
            .post-meta-header {
                padding: 1.2rem;
            }
            
            .author-avatar-large {
                width: 50px;
                height: 50px;
            }
            
            .author-name-large {
                font-size: 1rem;
            }
            
            .author-role-large {
                font-size: 0.85rem;
            }
            
            .meta-item {
                font-size: 0.85rem;
            }
            
            .post-container {
                padding: 1.5rem 5%;
            }
            
            .post-content {
                padding: 1.5rem;
            }
            
            .post-featured-image {
                width: calc(100% + 3rem);
                margin: -1.5rem -1.5rem 1.5rem;
            }
            
            .post-featured-image img {
                height: 200px;
            }
            
            .article-content {
                font-size: 1rem;
            }
            
            .article-content h2 {
                font-size: 1.5rem;
                margin: 1.5rem 0 1rem;
            }
            
            .article-content h3 {
                font-size: 1.3rem;
            }
            
            .article-content h4 {
                font-size: 1.1rem;
            }
            
            .article-content pre {
                padding: 1rem;
                font-size: 0.8rem;
                margin: 1.5rem 0;
            }
            
            .article-content blockquote {
                padding: 1rem;
                margin: 1.5rem 0;
                font-size: 0.95rem;
            }
            
            .info-box {
                padding: 1rem;
                margin: 1.5rem 0;
            }
            
            .info-box-title {
                font-size: 1rem;
            }
            
            .share-section {
                padding: 1.5rem 1rem;
            }
            
            .share-title {
                font-size: 1.1rem;
            }
            
            .share-btn {
                padding: 0.9rem 1.2rem;
                font-size: 0.9rem;
            }
            
            .comments-section {
                padding: 1.5rem 1rem;
            }
            
            .comments-title {
                font-size: 1.5rem;
            }
            
            /* Ebook Widget - Small Mobile */
            .ebook-header {
                padding: 1.2rem;
            }
            
            .ebook-badge {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .ebook-title {
                font-size: 1.1rem;
            }
            
            .ebook-subtitle {
                font-size: 0.85rem;
            }
            
            .ebook-cover-container {
                padding: 1.2rem;
            }
            
            .ebook-cover {
                max-width: 180px;
            }
            
            .ebook-form-container {
                padding: 1.2rem;
            }
            
            .benefit-item {
                font-size: 0.85rem;
            }
            
            .ebook-input {
                padding: 0.9rem 1rem;
                font-size: 0.9rem;
            }
            
            .ebook-button {
                padding: 0.9rem;
                font-size: 0.95rem;
            }
            
            .ebook-privacy {
                font-size: 0.75rem;
            }
            
            .author-bio-widget {
                padding: 1.5rem;
            }
            
            .author-bio-avatar {
                width: 70px;
                height: 70px;
            }
            
            .author-bio-name {
                font-size: 1.2rem;
            }
            
            .author-bio-role {
                font-size: 0.9rem;
            }
            
            .author-bio-description {
                font-size: 0.9rem;
            }
            
            .social-icon {
                width: 36px;
                height: 36px;
                font-size: 1.1rem;
            }
            
            .related-posts-widget {
                padding: 1.2rem;
            }
            
            .related-title {
                font-size: 1.1rem;
            }
            
            .related-post-item {
                padding: 0.8rem;
            }
            
            .related-post-image {
                width: 60px;
                height: 60px;
            }
            
            .related-post-title {
                font-size: 0.85rem;
            }
            
            .related-post-date {
                font-size: 0.8rem;
            }
        }
        
        /* Touch-friendly improvements */
        @media (hover: none) and (pointer: coarse) {
            .share-btn,
            .ebook-button,
            .btn,
            .category-btn,
            .tag,
            .toc-link {
                min-height: 44px;
                touch-action: manipulation;
            }
            
            .ebook-input,
            .newsletter-input {
                font-size: 16px; /* Prevent zoom on iOS */
            }
        }
/* ── WordPress single post additions ── */

/* Article content from WP editor */
.article-content h2 { font-size:1.7rem; font-weight:800; color:#1f2937; margin:2.5rem 0 1rem; padding-top:.5rem; }
.article-content h3 { font-size:1.3rem; font-weight:700; color:#1f2937; margin:2rem 0 .75rem; }
.article-content h4 { font-size:1.1rem; font-weight:700; color:#374151; margin:1.5rem 0 .5rem; }
.article-content p  { margin-bottom:1.25rem; line-height:1.85; color:#374151; }
.article-content ul, .article-content ol { margin:1rem 0 1.5rem 1.5rem; }
.article-content li { margin-bottom:.5rem; line-height:1.8; color:#374151; }
.article-content a  { color:#3b82f6; text-decoration:underline; text-underline-offset:3px; }
.article-content a:hover { color:#1d4ed8; }
.article-content blockquote {
    border-left:4px solid #3b82f6; background:#eff6ff; color:#1e40af;
    padding:1.2rem 1.5rem; border-radius:0 12px 12px 0; margin:2rem 0;
    font-style:italic; font-size:1.05rem;
}
.article-content code {
    background:#f3f4f6; color:#dc2626; padding:2px 6px;
    border-radius:4px; font-size:.88em; font-family:monospace;
}
.article-content pre {
    background:#1e293b; color:#e2e8f0; padding:1.5rem;
    border-radius:12px; overflow-x:auto; margin:1.5rem 0;
    font-size:.9rem; line-height:1.7;
}
.article-content pre code { background:none; color:inherit; padding:0; font-size:inherit; }
.article-content img { border-radius:12px; margin:1.5rem 0; max-width:100%; }
.article-content table { width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:.9rem; }
.article-content th { background:#f1f5f9; padding:.75rem 1rem; font-weight:700; text-align:left; border:1px solid #e2e8f0; }
.article-content td { padding:.75rem 1rem; border:1px solid #e2e8f0; }
.article-content tr:nth-child(even) td { background:#f9fafb; }
.article-content hr { border:none; border-top:2px solid #e5e7eb; margin:2.5rem 0; }

/* Tags */
.tag { display:inline-flex; align-items:center; padding:4px 14px; background:#f1f5f9; color:#475569; font-size:.8rem; font-weight:600; border-radius:100px; text-decoration:none; border:1px solid #e2e8f0; transition:all .2s; }
.tag:hover { background:#eff6ff; color:#3b82f6; border-color:#bfdbfe; }

/* Post navigation prev/next */
.post-navigation { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin:3rem 0 2rem; }
.post-nav-link { display:flex; flex-direction:column; gap:6px; padding:1.25rem 1.5rem; background:white; border:2px solid #e5e7eb; border-radius:16px; text-decoration:none; color:inherit; transition:all .25s; }
.post-nav-link:hover { border-color:#3b82f6; box-shadow:0 6px 20px rgba(59,130,246,.12); transform:translateY(-2px); }
.post-nav-link.nav-prev { text-align:left; }
.post-nav-link.nav-next { text-align:right; align-items:flex-end; }
.nav-label { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.8px; color:#9ca3af; }
.nav-arrow { font-size:1.1rem; color:#3b82f6; }
.nav-title { font-size:.9rem; font-weight:700; color:#1f2937; line-height:1.4; }
@media(max-width:600px){ .post-navigation { grid-template-columns:1fr; } }

/* WP comments */
.comments-section { margin-top:3rem; padding-top:2rem; border-top:2px solid #f0f0f0; }
.comments-section .comments-title { font-size:1.4rem; font-weight:800; color:#1f2937; margin-bottom:1.5rem; display:flex; align-items:center; gap:8px; }
.comment-list { list-style:none; padding:0; }
.comment { padding:1.25rem 0; border-bottom:1px solid #f3f4f6; }
.comment-author-avatar { width:44px; height:44px; border-radius:50%; }
.comment-header { display:flex; align-items:center; gap:12px; margin-bottom:.5rem; }
.comment-author-name { font-weight:700; color:#1f2937; font-size:.95rem; }
.comment-date { font-size:.8rem; color:#9ca3af; margin-left:auto; }
.comment-text { color:#4b5563; line-height:1.75; font-size:.95rem; }
.comment-reply-link { font-size:.8rem; font-weight:600; color:#3b82f6; text-decoration:none; margin-top:.5rem; display:inline-block; }
.comment-respond { margin-top:2rem; }
.comment-respond h3 { font-size:1.2rem; font-weight:700; margin-bottom:1rem; }
.comment-form p { margin-bottom:.75rem; }
.comment-form input, .comment-form textarea { width:100%; padding:.75rem 1rem; border:2px solid #e5e7eb; border-radius:10px; font-size:.95rem; outline:none; transition:border-color .2s; font-family:inherit; }
.comment-form input:focus, .comment-form textarea:focus { border-color:#3b82f6; }
.comment-form textarea { resize:vertical; min-height:120px; }
.comment-form .submit { background:linear-gradient(135deg,#3b82f6,#1d4ed8); color:white; border:none; padding:.75rem 2rem; border-radius:100px; font-weight:700; font-size:.95rem; cursor:pointer; transition:all .3s; }
.comment-form .submit:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(59,130,246,.3); }

/* Kit.com embed overrides in sidebar */
.kit-sidebar-wrap .formkit-form { background:transparent !important; }

/* Reading progress pill */
.reading-progress-pill {
    position:fixed; bottom:2rem; right:2rem; z-index:999;
    background:white; border:2px solid #e5e7eb; border-radius:100px;
    padding:8px 16px; font-size:.8rem; font-weight:700; color:#374151;
    box-shadow:0 4px 20px rgba(0,0,0,.1); display:flex; align-items:center; gap:8px;
    opacity:0; transition:opacity .3s;
}
.reading-progress-pill.visible { opacity:1; }
.reading-progress-pill .rp-bar { width:48px; height:5px; background:#e5e7eb; border-radius:100px; overflow:hidden; }
.reading-progress-pill .rp-fill { height:100%; background:linear-gradient(90deg,#3b82f6,#7c3aed); border-radius:100px; transition:width .2s; }

/* Override global max-width reset specifically for featured image */
.post-featured-image,
.post-featured-image img {
    max-width: none !important;
}

.post-featured-image {
    width: calc(100% + 8rem);
    margin: -4rem -4rem 3rem;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    display: block;
}

.post-featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}