
        /* --- استایل‌های مشابه نوو تک --- */
        :root {
            --primary: #0f172a;
            --accent: #3b82f6;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --radius: 12px;
            --container: 1280px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Vazirmatn', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; display: block; border-radius: 12px; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
        
        /* دکمه و هدر */
        .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-weight: 500; cursor: pointer; transition: 0.3s; border: 1px solid transparent; }
        .btn-primary { background-color: var(--primary); color: white; }
        .btn-outline { border-color: var(--border); background: white; color: var(--text-main); }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

        /* header { position: sticky; top: 0; z-index: 1000; background-color: var(--bg-white); border-bottom: 1px solid var(--border); height: 80px; display: flex; align-items: center; box-shadow: var(--shadow-sm); }
        .navbar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
        .brand { font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
        .nav-menu { display: flex; gap: 32px; align-items: center; height: 100%; }
        .nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-main); position: relative; }
        .nav-link:hover, .nav-link.active { color: var(--accent); } */

        /* بنر وبلاگ */
        .blog-hero {
            background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
            color: white;
            padding: 100px 0 140px;
            text-align: center;
            margin-bottom: -50px;
            position: relative;
            z-index: 1;
        }
        .blog-hero h1 { font-size: 3rem; margin-bottom: 15px; }
        .blog-hero p { color: #cbd5e1; font-size: 1.2rem; }

        /* نوار فیلتر */
        .filter-bar {
            background: var(--bg-white);
            padding: 20px 30px;
            border-radius: 20px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 60px;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            z-index: 10;
        }

        /* جعبه جستجو */
        .search-box {
            position: relative;
            flex-grow: 1;
            max-width: 600px;
            background-color: #f1f5f9;
            border-radius: 50px;
            padding: 5px;
            display: flex;
            align-items: center;
        }
        .search-box form {
            display: flex;
            width: 100%;
            align-items: center;
        }
        .search-box input {
            flex-grow: 1;
            border: none;
            background: transparent;
            font-family: inherit;
            font-size: 0.95rem;
            padding: 10px 15px;
            color: var(--text-main);
            outline: none;
        }
        .search-btn {
            background: var(--accent);
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            transition: 0.3s;
            margin-left: 5px;
        }
        .search-btn:hover { background: var(--primary); transform: scale(1.05); }

        /* دسته‌بندی */
        .category-filter {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .category-filter label { font-weight: 600; color: var(--text-muted); }
        .cat-select {
            padding: 12px 20px;
            border: 1px solid var(--border);
            border-radius: 50px;
            background-color: #f8fafc;
            font-family: inherit;
            color: var(--text-main);
            outline: none;
            cursor: pointer;
            font-size: 0.95rem;
        }

        /* گرید مقالات */
        /* .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 60px; 
        } */

        .blog-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }
        .blog-card img {
            height: 220px;
            width: 100%;
            overflow: hidden;
            background: #f0f0f0;
        }
        
        .blog-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
        .blog-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }
        .blog-cat { color: var(--accent); font-weight: 600; }
        .blog-title { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.5; }
        .blog-excerpt { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
        .read-more { color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 5px; }
        .read-more:hover { gap: 10px; color: var(--accent); }

        /* --- پیجینیشن (Pagination) --- */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 60px 0; /* بالا و پایین فاصله */
        }

        .page-link, .page-num {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 45px;
            height: 45px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            transition: 0.3s;
            cursor: pointer;
            border: 1px solid var(--border);
            background: white;
            color: var(--text-main);
        }

        .page-link {
            padding: 0 20px; /* دکمه‌های قبلی/بعدی عریض‌تر */
            min-width: auto;
        }

        .page-link:hover, .page-num:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: #f8fafc;
        }

        .page-num.active {
            background: var(--accent);
            color: white;
            border-color: var(--accent);
        }

        .page-dots {
            color: var(--text-muted);
            font-weight: bold;
        }

        /* فوتر */
        footer { background-color: #0f172a; color: #94a3b8; padding: 60px 0 20px; border-top: 1px solid rgba(255,255,255,0.1); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-col h4 { color: white; margin-bottom: 20px; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

        @media(max-width: 768px) {
            .nav-menu { display: none; }
            .blog-grid { grid-template-columns: 1fr; }
            .filter-bar { flex-direction: column; align-items: stretch; }
            .search-box { max-width: 100%; }
            .pagination { gap: 5px; }
            .page-num, .page-link { min-width: 40px; height: 40px; font-size: 0.85rem; }
        }
