
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'IRANSansX', Tahoma, sans-serif; -webkit-tap-highlight-color: transparent; } 
        body { background-color: #F0F4F8; color: #1A252F; overflow-x: hidden; scroll-behavior: smooth; padding-bottom: 90px; width: 100%; } 
        
        .page-overlay { position: fixed; inset: 0; background: rgba(0, 30, 60, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.4s ease; } 
        .page-overlay.show { opacity: 1; visibility: visible; } 
         
        .glass-topbar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: calc(100% - 40px); max-width: 1200px; height: 75px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 22px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 1000; box-shadow: 0 10px 40px rgba(0, 119, 182, 0.08); } 
        .grid-menu-btn { position: relative; width: 26px; height: 26px; background: none; border: none; cursor: pointer; z-index: 1002; } 
        .grid-menu-btn span { position: absolute; width: 11px; height: 11px; border: 1.5px solid #1A252F; border-radius: 3px; transition: all 0.4s ease; } 
        .grid-menu-btn span:nth-child(1) { top: 0; left: 0; } .grid-menu-btn span:nth-child(2) { top: 0; right: 0; } .grid-menu-btn span:nth-child(3) { bottom: 0; left: 0; } .grid-menu-btn span:nth-child(4) { bottom: 0; right: 0; } 
        .logo { position: absolute; left: 50%; transform: translateX(-50%); color: #0077B6; font-weight: 900; font-size: 22px; text-decoration: none; } 
        .account-btn { background: none; border: 1.5px solid #0077B6; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; color: #0077B6; } 

        .side-drawer { position: fixed; top: 115px; right: -350px; width: 300px; height: calc(100vh - 225px); background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(40px); border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.6); z-index: 999; transition: right 0.5s ease; padding: 20px; overflow-y: auto; max-width: 90vw; } 
        .side-drawer.open { right: 20px; } 
        .drawer-item { margin: 8px 0; padding: 15px; border-radius: 15px; text-decoration: none; color: #1A252F; font-weight: 600; transition: 0.3s; background: rgba(255, 255, 255, 0.5); display: block; } 
        .drawer-item:hover, .drawer-item.active { transform: translateX(-5px); background: #fff; color: #0077B6; box-shadow: 0 8px 20px rgba(0, 119, 182, 0.1); } 
        .drawer-messengers { display: flex; justify-content: center; gap: 15px; padding-top: 20px; margin-top: 10px; }
        .drawer-messengers img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; transition: 0.3s;}
        .drawer-messengers img:hover { transform: translateY(-3px); }

        .drawer-logo-container { text-align: center; margin-bottom: 20px; display: none; padding-bottom: 15px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
        .drawer-logo-container img { max-width: 80px; max-height: 80px; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1)); }

        /* ===== HERO ===== */
        .blog-hero { 
            width: 100%; padding: 140px 20px 70px 20px; text-align: center; 
            background: linear-gradient(180deg, #e3edf7 0%, #d0e2f3 40%, #b8d4ec 100%); 
            border-radius: 0 0 40px 40px; margin-bottom: 30px; position: relative; overflow: hidden; 
        }
        .blog-hero::before { 
            content: ''; position: absolute; top: -50%; right: -30%; width: 500px; height: 500px; 
            background: radial-gradient(circle, rgba(0, 119, 182, 0.08) 0%, transparent 70%); 
            border-radius: 50%; pointer-events: none; 
        }
        .blog-hero::after { 
            content: ''; position: absolute; bottom: -40%; left: -20%; width: 400px; height: 400px; 
            background: radial-gradient(circle, rgba(0, 119, 182, 0.06) 0%, transparent 70%); 
            border-radius: 50%; pointer-events: none; 
        }
        .blog-hero-title { font-size: 32px; color: #0a3d62; font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1; }
        .blog-hero-subtitle { font-size: 15px; color: #4a6d8c; font-weight: 500; line-height: 1.8; max-width: 550px; margin: 0 auto; position: relative; z-index: 1; }

        /* ===== CATEGORIES ===== */
        .blog-categories-wrapper { max-width: 900px; margin: -30px auto 40px auto; padding: 0 20px; position: relative; z-index: 5; }
        .blog-categories { 
            display: flex; gap: 8px; padding: 10px; 
            background: #fff; border-radius: 20px; 
            box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); 
            overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; 
        }
        .blog-categories::-webkit-scrollbar { display: none; }

        .cat-pill { 
            background: transparent; padding: 11px 22px; border-radius: 14px; 
            font-size: 13px; font-weight: 700; color: #64748b; 
            text-decoration: none; cursor: pointer; flex-shrink: 0; 
            display: inline-flex; align-items: center; gap: 7px; 
            border: none; white-space: nowrap;
            transition: all 0.25s ease; 
        }
        .cat-pill:hover { background: #f1f5f9; color: #334155; }
        .cat-pill.active { 
            background: #0077B6; color: #fff; 
            box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35); 
        }
        .cat-pill-icon { width: 18px; height: 18px; flex-shrink: 0; }
        .cat-pill-count { 
            background: rgba(0,0,0,0.06); padding: 2px 8px; border-radius: 20px; 
            font-size: 11px; font-weight: 800; margin-right: -4px; 
        }
        .cat-pill.active .cat-pill-count { background: rgba(255,255,255,0.25); color: #fff; }

        /* ===== BLOG GRID ===== */
        .blog-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 40px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; width: 100%; }

        .blog-card { 
            background: #fff; border-radius: 22px; overflow: hidden; 
            transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
            box-shadow: 0 4px 20px rgba(0,0,0,0.04); 
            display: flex; flex-direction: column; height: 100%; width: 100%; 
            border: 1px solid rgba(0,0,0,0.04);
        }
        .blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 119, 182, 0.12); }
        
        .blog-thumb { position: relative; overflow: hidden; height: 200px; width: 100%; flex-shrink: 0; }
        .blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
        .blog-card:hover .blog-thumb img { transform: scale(1.08); }
        .blog-category-badge { 
            position: absolute; top: 14px; right: 14px; 
            background: rgba(0, 119, 182, 0.9); color: #fff; 
            font-size: 11px; font-weight: 700; padding: 5px 12px; 
            border-radius: 10px; backdrop-filter: blur(8px); 
        }
        
        .blog-content { padding: 20px; text-align: right; flex: 1; display: flex; flex-direction: column; }
        
        .blog-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #94a3b8; margin-bottom: 12px; font-weight: 600; }
        .blog-meta span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
        .blog-meta svg { width: 15px !important; height: 15px !important; min-width: 15px; flex-shrink: 0; color: #0077B6; }
        
        .blog-title { font-size: 16px; color: #1e293b; font-weight: 800; margin-bottom: 8px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .blog-excerpt { font-size: 13px; color: #64748b; line-height: 1.8; margin-bottom: 16px; text-align: justify; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .read-more-link { 
            display: inline-flex; align-items: center; gap: 6px; color: #0077B6; 
            font-weight: 700; font-size: 13px; text-decoration: none; transition: 0.3s; margin-top: auto; 
        }
        .read-more-link:hover { gap: 10px; color: #005a8c; }

        /* ===== PAGINATION ===== */
        .pagination-container { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 60px; direction: ltr; flex-wrap: wrap; padding: 0 20px;}
        .page-btn { 
            display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; 
            background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; 
            font-size: 14px; font-weight: 800; color: #475569; text-decoration: none; 
            transition: 0.3s; cursor: pointer; 
        }
        .page-btn:hover { border-color: #0077B6; color: #0077B6; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,119,182,0.1); }
        .page-btn.active { background: #0077B6; color: #fff; border-color: #0077B6; box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3); }
        .page-btn.disabled { opacity: 0.4; pointer-events: none; cursor: default; }

        /* ===== FOOTER ===== */
        .glass-footer { background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(35px); border-top: 1px solid rgba(255, 255, 255, 0.5); border-radius: 40px 40px 0 0; padding: 60px 5% 130px 5%; margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px;}
        .footer-col { display: flex; flex-direction: column; }
        .footer-col h3 { color: #0077B6; font-size: 18px; font-weight: 800; margin-bottom: 20px; }
        .footer-col.right-col { text-align: right; }
        .footer-col.right-col ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .footer-col.right-col ul li a { color: #1A252F; text-decoration: none; font-size: 13px; font-weight: 600; display: block; border-right: 3px solid #0077B6; padding-right: 10px; background: rgba(255,255,255,0.4); padding: 8px 10px; border-radius: 5px 0 0 5px; }
        .footer-col.center-col { align-items: center; text-align: center; }
        .enamad-box { background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; padding: 15px 25px; display: inline-flex; flex-direction: column; align-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; }
        .enamad-box svg { width: 60px; height: 60px; margin-bottom: 8px; filter: grayscale(100%); }
        .enamad-text { font-size: 12px; font-weight: 800; color: #1A252F; }
        
        .footer-col.left-col { text-align: left; align-items: flex-end; }
        .footer-col.left-col p { font-size: 14px; font-weight: 600; margin-bottom: 15px; display: flex; align-items: flex-start; justify-content: flex-start; gap: 8px; text-align: right; direction: rtl;}
        .footer-col.left-col svg { width: 20px !important; height: 20px !important; min-width: 20px; flex-shrink: 0; color: #0077B6; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 992px) {
            .blog-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
        }
        @media (max-width: 768px) {
            .blog-container { grid-template-columns: 1fr; gap: 18px; }
            .blog-thumb { height: 200px; }
            .glass-footer { grid-template-columns: 1fr; text-align: center; }
            .footer-col.right-col, .footer-col.left-col { align-items: center; }
            .footer-col.left-col p { justify-content: center; text-align: center; }
            .blog-categories-wrapper { margin-top: -25px; }
        }
        @media (max-width: 480px) {
            .blog-hero { padding: 110px 16px 50px 16px; border-radius: 0 0 30px 30px; }
            .blog-hero-title { font-size: 24px; }
            .blog-hero-subtitle { font-size: 13px; }
            .blog-categories-wrapper { margin-top: -22px; padding: 0 12px; margin-bottom: 25px; }
            .blog-categories { padding: 8px; gap: 6px; border-radius: 16px; }
            .cat-pill { padding: 9px 16px; font-size: 12px; border-radius: 12px; }
            .blog-card { border-radius: 18px; }
            .blog-thumb { height: 170px; }
            .blog-title { font-size: 15px; }
            .blog-excerpt { font-size: 12px; }
            .blog-content { padding: 16px; }
            .page-btn { min-width: 36px; height: 36px; font-size: 13px; border-radius: 10px; }
        }

        /* ===== BOTTOM NAV ===== */
        .bottom-nav-container { position: fixed; bottom: 20px; right: 50%; transform: translateX(50%); width: calc(100% - 40px); max-width: 600px; height: 75px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(35px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 25px; z-index: 1000; display: flex; align-items: center; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 119, 182, 0.1); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
        .bottom-nav-container.collapsed { width: 60px; height: 60px; border-radius: 50%; right: 20px; transform: translateX(0); background: rgba(0, 119, 182, 0.9); border-color: #0077B6; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 119, 182, 0.4); }
        .nav-expanded-content { display: flex; width: 100%; height: 100%; align-items: center; position: relative; opacity: 1; transition: opacity 0.3s ease; }
        .bottom-nav-container.collapsed .nav-expanded-content { opacity: 0; pointer-events: none; }
        .bottom-nav { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-evenly; padding-right: 40px; }
        .nav-item { text-decoration: none; color: #153E5C; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70px; height: 55px; border-radius: 18px; transition: 0.3s;}
        .nav-item svg { width: 22px; height: 22px; margin-bottom: 4px; }
        .nav-item span { font-size: 11px; font-weight: 700; }
        .nav-item.active, .nav-item:hover { color: #0077B6; background: rgba(0, 119, 182, 0.1); }
        .collapse-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: rgba(0, 119, 182, 0.1); border: none; width: 35px; height: 35px; border-radius: 12px; color: #0077B6; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; transition: 0.3s; }
        .collapse-btn:hover { background: #0077B6; color: #fff; }
        .nav-collapsed-trigger { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0.2s; }
        .bottom-nav-container.collapsed .nav-collapsed-trigger { opacity: 1; pointer-events: auto; }

        /* ===== LOADING SKELETON ===== */
        .cat-skeleton { display: flex; gap: 8px; padding: 10px; }
        .cat-skeleton-item { width: 100px; height: 40px; border-radius: 14px; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; flex-shrink: 0; }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }