/*
Theme Name: Kanban Method
Description: Современная тема для сайта о канбан-методе
Version: 2.0
Author: Custom Theme
*/

/* Reset & Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-blue: #4A90D9;
            --secondary-blue: #E8EEF4;
            --warm-gray: #F5F7FA;
            --accent-blue: #2D6CB4;
            --text-dark: #2D3748;
            --text-light: #718096;
            --white: #ffffff;
            --shadow-light: 0 2px 8px rgba(74, 144, 217, 0.08);
            --shadow-medium: 0 4px 16px rgba(74, 144, 217, 0.12);
            --shadow-heavy: 0 8px 24px rgba(74, 144, 217, 0.18);
        }
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--white);
            overflow-x: hidden;
        }
        
        /* Background Kanban Board */
        .bg-kanban {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            opacity: 0.04;
            pointer-events: none;
        }
        
        .kanban-columns {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
            height: 100%;
            padding: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .kanban-column {
            background: var(--primary-blue);
            border-radius: 12px;
            padding: 1rem;
            position: relative;
        }
        
        .kanban-column h3 {
            color: var(--white);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .kanban-card {
            background: var(--white);
            padding: 1rem;
            margin-bottom: 0.8rem;
            border-radius: 8px;
            min-height: 80px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        /* Header */
        .header {
            background: var(--white);
            border-bottom: 1px solid var(--secondary-blue);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            transition: opacity 0.3s ease;
        }
        
        .logo:hover {
            opacity: 0.8;
        }
        
        .logo-icon {
            width: 40px;
            height: 40px;
        }
        
        .logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-blue);
        }
        
        .nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        
        .nav-link {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: var(--primary-blue);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-blue);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .search-box {
            position: relative;
        }
        
        .search-input {
            padding: 0.6rem 1rem;
            border: 2px solid var(--secondary-blue);
            border-radius: 25px;
            font-size: 0.9rem;
            background: var(--warm-gray);
            transition: all 0.3s ease;
            width: 200px;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--warm-gray) 0%, var(--secondary-blue) 100%);
            padding: 4rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }
        
        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-blue);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            font-weight: 400;
        }
        
        .hero-cta {
            display: inline-block;
            background: var(--primary-blue);
            color: var(--white);
            padding: 1rem 2rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-light);
        }
        
        .hero-cta:hover {
            background: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
        }
        
        /* Main Content */
        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        
        .content-section {
            grid-column: 1;
        }
        
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-blue);
            margin-bottom: 2rem;
        }
        
        /* Articles Grid */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .article-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }
        
        .article-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: var(--shadow-heavy);
        }
        
        .article-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px 12px 0 0;
            transition: transform 0.3s ease;
        }
        
        .article-card:hover .article-image {
            transform: scale(1.05);
        }
        
        .article-category {
            display: inline-block;
            background: var(--secondary-blue);
            color: var(--accent-blue);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            margin: 1.5rem 1.5rem 0 1.5rem;
            transition: background-color 0.3s ease;
        }
        
        .article-card:hover .article-category {
            background: var(--primary-blue);
            color: var(--white);
        }
        
        .article-content {
            padding: 0 1.5rem 1.5rem;
        }
        
        .article-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 1rem 0 0.5rem;
            line-height: 1.4;
        }
        
        .article-description {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }
        
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-light);
            font-size: 0.85rem;
        }
        
        .article-date {
            font-weight: 500;
        }
        
        .article-author {
            color: var(--primary-blue);
            font-weight: 500;
        }
        
        /* Sidebar */
        .sidebar {
            grid-column: 2;
        }
        
        .sidebar-widget {
            background: var(--warm-gray);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .widget-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--accent-blue);
            margin-bottom: 1.5rem;
        }
        
        .popular-list {
            list-style: none;
        }
        
        .popular-item {
            padding: 1rem 0;
            border-bottom: 1px solid var(--secondary-blue);
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .popular-item:last-child {
            border-bottom: none;
        }
        
        .popular-image {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }
        
        .popular-item:hover .popular-image {
            transform: scale(1.05);
        }
        
        .popular-content {
            flex: 1;
        }
        
        .popular-link {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s ease;
            display: block;
        }
        
        .popular-link:hover {
            color: var(--primary-blue);
        }
        
        .popular-date {
            color: var(--text-light);
            font-size: 0.8rem;
            margin-top: 0.25rem;
        }
        
        /* Footer */
        .footer {
            background: var(--text-dark);
            color: var(--white);
            padding: 3rem 0 2rem;
            margin-top: 4rem;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .footer-section h3 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--primary-blue);
        }
        
        .footer-bottom {
            border-top: 1px solid #4A5568;
            margin-top: 2rem;
            padding-top: 2rem;
            text-align: center;
            color: var(--text-light);
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .search-input {
                width: 150px;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .main-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 2rem 1rem;
            }
            
            .articles-grid {
                grid-template-columns: 1fr;
            }
            
            .article-card {
                margin: 0 auto;
                max-width: 400px;
            }
            
            .kanban-columns {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            .hero-container {
                padding: 0 1rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            .articles-grid {
                grid-template-columns: 1fr;
            }
        }
/* WP overrides */
.article-image-wrap{overflow:hidden;border-radius:12px 12px 0 0}
.article-image{width:100%;height:200px;object-fit:cover;transition:transform .4s ease}
.article-card:hover .article-image{transform:scale(1.05)}
body.admin-bar .header{top:32px}
.nav-links{display:flex;gap:.5rem;justify-content:center;margin-top:2rem}
.nav-links .page-numbers{padding:.5rem 1rem;border-radius:8px;background:var(--secondary-blue);color:var(--text-dark);text-decoration:none;transition:all .3s ease}
.nav-links .page-numbers.current,.nav-links .page-numbers:hover{background:var(--primary-blue);color:#fff}

/* === SINGLE POST STYLES v2 === */
:root {
            --primary-blue: #4A90D9;
            --secondary-blue: #E8EEF4;
            --warm-gray: #F5F7FA;
            --accent-blue: #2D6CB4;
            --text-dark: #2D3748;
            --text-light: #718096;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: #fff;
        }

        /* Header */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #edf2f7;
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 0;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--text-dark);
        }

        .logo svg {
            width: 32px;
            height: 32px;
            margin-right: 0.5rem;
        }

        .logo-text {
            font-weight: 600;
            font-size: 1.25rem;
        }

        .nav {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            transition: color 0.2s ease;
        }

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

        .search-container {
            position: relative;
        }

        .search-input {
            padding: 0.5rem 2.5rem 0.5rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.9rem;
            width: 240px;
            transition: border-color 0.2s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-blue);
        }

        .search-icon {
            position: absolute;
            right: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }

        /* Breadcrumbs */
        .breadcrumbs {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .breadcrumbs a {
            color: var(--text-light);
            text-decoration: none;
        }

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

        .breadcrumbs-separator {
            margin: 0 0.5rem;
        }

        /* Main container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            margin-bottom: 4rem;
        }

        /* Article */
        .article {
            max-width: 100%;
        }

        .article-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--accent-blue);
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .title-border {
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
            border-radius: 2px;
            margin-bottom: 1.5rem;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            font-size: 0.9rem;
            color: var(--text-light);
            flex-wrap: wrap;
        }

        .category-badge {
            background: var(--secondary-blue);
            color: var(--accent-blue);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .hero-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
            transition: box-shadow 0.3s ease;
        }

        .hero-image:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        /* Drop cap */
        .drop-cap::first-letter {
            float: left;
            font-size: 4rem;
            line-height: 3.5rem;
            margin: 0.1rem 0.5rem 0 0;
            color: var(--primary-blue);
            font-weight: 700;
        }

        /* Typography */
        .article p {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .article h2 {
            font-size: 1.5rem;
            color: var(--accent-blue);
            border-left: 4px solid var(--primary-blue);
            padding-left: 1rem;
            margin: 2.5rem 0 1rem 0;
            font-weight: 600;
        }

        .article h3 {
            font-size: 1.2rem;
            color: var(--text-dark);
            font-weight: 600;
            margin: 2rem 0 1rem 0;
        }

        .article h4 {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-light);
            margin: 1.5rem 0 0.5rem 0;
        }

        /* Custom lists */
        .article ul {
            margin: 1.5rem 0;
            padding-left: 0;
            list-style: none;
        }

        .article ul li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 0.75rem;
            line-height: 1.6;
        }

        .article ul li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: bold;
            font-size: 1.1rem;
        }

        .article ol {
            margin: 1.5rem 0;
            padding-left: 0;
            list-style: none;
            counter-reset: list-counter;
        }

        .article ol li {
            position: relative;
            padding-left: 2.5rem;
            margin-bottom: 0.75rem;
            line-height: 1.6;
            counter-increment: list-counter;
        }

        .article ol li::before {
            content: counter(list-counter);
            position: absolute;
            left: 0;
            top: 0;
            background: var(--primary-blue);
            color: white;
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Blockquote */
        blockquote {
            background: var(--warm-gray);
            border-left: 4px solid var(--primary-blue);
            border-radius: 12px;
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            position: relative;
            font-style: italic;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        blockquote::before {
            content: "«";
            font-size: 3rem;
            color: var(--primary-blue);
            position: absolute;
            top: 0.5rem;
            left: 1rem;
            line-height: 1;
        }

        blockquote p {
            margin: 0;
            padding-left: 2rem;
        }

        /* Links */
        .article a {
            color: var(--primary-blue);
            text-decoration: none;
            position: relative;
            transition: color 0.2s ease;
        }

        .article a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-blue);
            transition: width 0.3s ease;
        }

        .article a:hover {
            color: var(--accent-blue);
        }

        .article a:hover::after {
            width: 100%;
        }

        /* Info box */
        .info-box {
            background: var(--secondary-blue);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 2rem 0;
            border: 1px solid rgba(74, 144, 217, 0.2);
        }

        .info-box-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .info-box-icon {
            font-size: 1.25rem;
            margin-right: 0.5rem;
        }

        .info-box-title {
            font-weight: 600;
            color: var(--accent-blue);
        }

        /* Divider */
        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-blue), var(--secondary-blue), transparent);
            margin: 3rem 0;
        }

        /* Inline code */
        code {
            background: #F1F5F9;
            padding: 2px 8px;
            border-radius: 4px;
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 0.9em;
        }

        /* Code blocks */
        pre {
            background: #1E293B;
            color: #E2E8F0;
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            overflow-x: auto;
            font-family: 'Monaco', 'Menlo', monospace;
        }

        pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

        /* Article images */
        .article img {
            max-width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin: 1.5rem 0;
            transition: box-shadow 0.3s ease;
        }

        .article img:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        /* Sidebar */
        .sidebar {
            position: relative;
        }

        .sidebar-sticky {
            position: sticky;
            top: 100px;
        }

        .toc {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .toc-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .toc-list {
            list-style: none;
        }

        .toc-list li {
            margin-bottom: 0.5rem;
        }

        .toc-list a {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.9rem;
            padding: 0.25rem 0;
            border-left: 3px solid transparent;
            padding-left: 0.75rem;
            display: block;
            transition: all 0.2s ease;
        }

        .toc-list a:hover,
        .toc-list a.active {
            color: var(--primary-blue);
            border-left-color: var(--primary-blue);
            padding-left: 1rem;
        }

        .toc-list .toc-h3 a {
            padding-left: 1.5rem;
            font-size: 0.85rem;
        }

        .toc-list .toc-h3 a:hover,
        .toc-list .toc-h3 a.active {
            padding-left: 2rem;
        }

        /* Author block */
        .author-block {
            background: var(--warm-gray);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
        }

        .author-name {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .author-bio {
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .author-link {
            color: var(--primary-blue);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Popular articles */
        .popular-articles {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.5rem;
        }

        .popular-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .popular-article {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #f1f5f9;
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s ease;
        }

        .popular-article:hover {
            transform: translateY(-2px);
        }

        .popular-article:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .popular-thumb {
            width: 60px;
            height: 60px;
            background: var(--secondary-blue);
            border-radius: 8px;
            flex-shrink: 0;
        }

        .popular-content h4 {
            font-size: 0.9rem;
            font-weight: 500;
            margin: 0 0 0.25rem 0;
            text-transform: none;
            letter-spacing: normal;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .popular-content p {
            font-size: 0.8rem;
            color: var(--text-light);
            margin: 0;
        }

        /* Post footer */
        .post-footer {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #e2e8f0;
        }

        .tags {
            margin-bottom: 2rem;
        }

        .tags-title {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-dark);
        }

        .tag {
            display: inline-block;
            background: var(--secondary-blue);
            color: var(--accent-blue);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            text-decoration: none;
            margin: 0 0.5rem 0.5rem 0;
            transition: background-color 0.2s ease;
        }

        .tag:hover {
            background: var(--primary-blue);
            color: white;
        }

        /* Navigation */
        .post-nav {
            display: flex;
            justify-content: space-between;
            margin-bottom: 3rem;
            gap: 1rem;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            text-decoration: none;
            color: var(--text-dark);
            transition: all 0.2s ease;
            max-width: 45%;
        }

        .nav-link:hover {
            border-color: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(74, 144, 217, 0.1);
        }

        .nav-arrow {
            color: var(--primary-blue);
            font-weight: bold;
            transition: transform 0.2s ease;
        }

        .nav-link:hover .nav-arrow {
            transform: translateX(-3px);
        }

        .nav-link.next:hover .nav-arrow {
            transform: translateX(3px);
        }

        .nav-content {
            flex: 1;
        }

        .nav-label {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 0.25rem;
        }

        .nav-title {
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Related articles */
        .related-articles {
            margin-bottom: 3rem;
        }

        .related-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 2rem;
            color: var(--text-dark);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .related-card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .related-thumb {
            height: 160px;
            background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
        }

        .related-content {
            padding: 1.5rem;
        }

        .related-content h3 {
            font-size: 1rem;
            margin: 0 0 0.5rem 0;
            color: var(--text-dark);
        }

        .related-content p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin: 0;
            line-height: 1.5;
        }

        /* Footer */
        .footer {
            background: var(--text-dark);
            color: #a0aec0;
            padding: 3rem 0 2rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .footer-column h3 {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.5rem;
        }

        .footer-column a {
            color: #a0aec0;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-column a:hover {
            color: var(--primary-blue);
        }

        .footer-bottom {
            border-top: 1px solid #4a5568;
            margin-top: 2rem;
            padding-top: 2rem;
            text-align: center;
            font-size: 0.9rem;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .header-container {
                padding: 0 1rem;
                flex-wrap: wrap;
                gap: 1rem;
            }

            .nav {
                display: none;
            }

            .search-input {
                width: 200px;
            }

            .container {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 0 1rem;
            }

            .sidebar {
                order: -1;
            }

            .sidebar-sticky {
                position: static;
            }

            .toc {
                display: none;
            }

            .breadcrumbs {
                padding: 1rem;
            }

            .article-title {
                font-size: 1.8rem;
            }

            .post-nav {
                flex-direction: column;
            }

            .nav-link {
                max-width: 100%;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .drop-cap::first-letter {
                font-size: 3rem;
                line-height: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            .article-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .article-title {
                font-size: 1.5rem;
            }

            .hero-image {
                height: 200px;
            }
        }