
        :root {
            --bg-body: #f0fdf4;
            --bg-white: #ffffff;
            --green-50: #ecfdf5; --green-100: #d1fae5; --green-200: #a7f3d0;
            --green-400: #34d399; --green-500: #10b981; --green-600: #059669;
            --green-700: #047857; --green-800: #065f46; --green-900: #064e3b;
            --text-main: #1e293b; --text-muted: #64748b;
            --border: #a7f3d0;
            --shadow: 0 10px 40px -10px rgba(5, 150, 105, 0.12);
            --shadow-lg: 0 25px 50px -12px rgba(5, 150, 105, 0.15);
            --radius: 16px;
            --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Vazirmatn', system-ui, sans-serif;
            background: var(--bg-body);
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
        
        /* Header */
        header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            padding: 14px 0; background: rgba(255,255,255,0.95);
            backdrop-filter: blur(16px); border-bottom: 1px solid var(--green-100);
            box-shadow: 0 4px 20px rgba(5,150,105,0.06);
        }
        .header-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
        .logo-icon {
            width: 40px; height: 40px;
            background: linear-gradient(135deg, var(--green-500), var(--green-700));
            border-radius: 12px; display: flex; align-items: center; justify-content: center;
            font-size: 1.3rem; color: white;
        }
        .logo-text { font-size: 1.25rem; font-weight: 800; }
        .logo-text span { color: var(--green-600); }
        nav { display: flex; align-items: center; gap: 4px; }
        .nav-link {
            color: var(--text-muted); text-decoration: none; font-weight: 500;
            font-size: 0.92rem; padding: 8px 14px; border-radius: 8px; transition: var(--transition);
        }
        .nav-link:hover, .nav-link.active { color: var(--green-700); background: var(--green-50); }
        .mobile-toggle {
            display: none; width: 42px; height: 42px; border-radius: 12px;
            background: var(--green-50); border: 1px solid var(--green-100);
            color: var(--green-700); font-size: 1.3rem; cursor: pointer;
            align-items: center; justify-content: center;
        }
        .mobile-menu {
            position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px;
            height: 100vh; background: var(--bg-white); z-index: 1001;
            padding: 70px 24px 24px; transition: right 0.35s;
            border-left: 1px solid var(--green-100); display: flex; flex-direction: column; gap: 4px;
            box-shadow: -10px 0 40px rgba(0,0,0,0.08);
        }
        .mobile-menu.open { right: 0; }
        .mobile-menu .nav-link { font-size: 1.05rem; padding: 12px 0; border-bottom: 1px solid var(--green-50); color: var(--text-main); }
        .overlay {
            position: fixed; inset: 0; background: rgba(6,78,59,0.4);
            z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition);
        }
        .overlay.show { opacity: 1; visibility: visible; }
        
        /* Hero Blog */
        .blog-hero {
            padding: 140px 0 60px;
            background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 50%, #ffffff 100%);
            text-align: center;
        }
        .blog-hero h1 {
            font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
            color: var(--green-900); margin-bottom: 12px;
        }
        .blog-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
        .breadcrumb {
            display: flex; justify-content: center; gap: 8px; margin-top: 20px;
            font-size: 0.88rem; color: var(--text-muted); flex-wrap: wrap;
        }
        .breadcrumb a { color: var(--green-600); text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }
        
        /* Layout */
        .blog-section { padding: 50px 0 80px; }
        .blog-layout {
            display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
        }
        
        /* Post Cards */
        .posts-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
        }
        .post-card {
            background: var(--bg-white); border: 1px solid var(--green-100);
            border-radius: 18px; overflow: hidden; transition: var(--transition);
            display: flex; flex-direction: column;
        }
        .post-card:hover {
            transform: translateY(-6px); border-color: var(--green-300);
            box-shadow: var(--shadow-lg);
        }
        .post-card-img {
            aspect-ratio: 16/10; overflow: hidden; background: var(--green-50);
        }
        .post-card-img img {
            width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
        }
        .post-card:hover .post-card-img img { transform: scale(1.06); }
        .post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .post-meta {
            display: flex; gap: 10px; font-size: 0.78rem; color: var(--green-600);
            margin-bottom: 8px; font-weight: 500; flex-wrap: wrap;
        }
        .post-card-title {
            font-size: 1.08rem; font-weight: 700; color: var(--green-900);
            margin-bottom: 8px; line-height: 1.45;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .post-card-title a { color: inherit; text-decoration: none; }
        .post-card-title a:hover { color: var(--green-600); }
        .post-card-excerpt {
            font-size: 0.88rem; color: var(--text-muted); flex: 1;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
            margin-bottom: 14px;
        }
        .post-card-link {
            color: var(--green-700); font-weight: 600; font-size: 0.9rem;
            text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
            transition: gap 0.3s;
        }
        .post-card-link:hover { gap: 8px; color: var(--green-600); }
        
        /* Single Post */
        .single-post { background: var(--bg-white); border: 1px solid var(--green-100); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
        .single-cover { aspect-ratio: 21/9; overflow: hidden; background: var(--green-50); }
        .single-cover img { width: 100%; height: 100%; object-fit: cover; }
        .single-body { padding: 36px 40px; }
        .single-meta {
            display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.88rem;
            color: var(--green-600); margin-bottom: 16px; font-weight: 500;
        }
        .single-title {
            font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
            color: var(--green-900); margin-bottom: 20px; line-height: 1.35;
        }
        .single-excerpt {
            font-size: 1.05rem; color: var(--text-muted); margin-bottom: 28px;
            padding: 16px 20px; background: var(--green-50); border-radius: 12px;
            border-right: 4px solid var(--green-500);
        }
        .single-content {
            font-size: 1.02rem; line-height: 1.9; color: var(--text-main);
        }
        .single-content p { margin-bottom: 16px; }
        .single-content h2, .single-content h3 {
            color: var(--green-800); margin: 28px 0 12px; font-weight: 700;
        }
        .back-link {
            display: inline-flex; align-items: center; gap: 6px;
            color: var(--green-700); font-weight: 600; text-decoration: none;
            margin-bottom: 24px; font-size: 0.95rem;
        }
        .back-link:hover { color: var(--green-600); }
        
        /* Sidebar */
        .sidebar-widget {
            background: var(--bg-white); border: 1px solid var(--green-100);
            border-radius: 16px; padding: 24px; margin-bottom: 24px;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.05rem; color: var(--green-800); margin-bottom: 16px;
            padding-bottom: 10px; border-bottom: 1px solid var(--green-50);
        }
        .recent-item {
            display: flex; gap: 12px; margin-bottom: 14px; text-decoration: none;
            color: inherit; transition: var(--transition);
        }
        .recent-item:hover { opacity: 0.85; }
        .recent-item img {
            width: 64px; height: 64px; border-radius: 10px; object-fit: cover;
            background: var(--green-50); flex-shrink: 0;
        }
        .recent-item h4 {
            font-size: 0.88rem; font-weight: 600; color: var(--green-900);
            line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
            -webkit-box-orient: vertical; overflow: hidden;
        }
        .recent-item span { font-size: 0.75rem; color: var(--text-muted); }
        .cat-list { list-style: none; }
        .cat-list li { margin-bottom: 8px; }
        .cat-list a {
            display: flex; justify-content: space-between; align-items: center;
            padding: 8px 12px; border-radius: 8px; text-decoration: none;
            color: var(--text-main); font-size: 0.9rem; transition: var(--transition);
        }
        .cat-list a:hover, .cat-list a.active {
            background: var(--green-50); color: var(--green-700);
        }
        .cat-list .count {
            background: var(--green-100); color: var(--green-800);
            font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 20px;
        }
        
        /* Pagination */
        .pagination {
            display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap;
        }
        .page-btn {
            min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
            border-radius: 10px; border: 1px solid var(--green-200); background: white;
            color: var(--green-700); text-decoration: none; font-weight: 600; font-size: 0.9rem;
            transition: var(--transition);
        }
        .page-btn:hover, .page-btn.active {
            background: var(--green-600); color: white; border-color: var(--green-600);
        }
        
        /* Empty */
        .empty-state {
            text-align: center; padding: 60px 20px; color: var(--text-muted);
            background: var(--bg-white); border-radius: 18px; border: 1px solid var(--green-100);
        }
        .empty-state .icon { font-size: 3rem; margin-bottom: 12px; }
        
        /* Footer */
        footer {
            background: var(--green-900); color: #a7f3d0; padding: 50px 0 24px;
        }
        .footer-bottom {
            display: flex; justify-content: space-between; align-items: center;
            flex-wrap: wrap; gap: 12px; font-size: 0.88rem; opacity: 0.8;
        }
        .footer-bottom a { color: #a7f3d0; text-decoration: none; }
        
        .btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 24px; border: none; border-radius: 50px;
            font-family: inherit; font-size: 0.95rem; font-weight: 600;
            cursor: pointer; transition: var(--transition); text-decoration: none;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--green-600), var(--green-700));
            color: white; box-shadow: 0 8px 25px rgba(5,150,105,0.3);
        }
        .btn-primary:hover { transform: translateY(-2px); }
        
        @media (max-width: 900px) {
            .blog-layout { grid-template-columns: 1fr; }
            .sidebar { order: 2; }
            nav { display: none; }
            .mobile-toggle { display: flex; }
            .single-body { padding: 24px 20px; }
        }
        @media (max-width: 600px) {
            .posts-grid { grid-template-columns: 1fr; }
            .blog-hero { padding: 120px 0 40px; }
        }
    