
       :root {
  --font-main: 'Vazirmatn', sans-serif;
}
h1,h2,h3,h4,h5,h6,p {
            text-align: justify;
        }
       
       body {
            font-family: var(--font-main);
            padding-top: 80px;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        }
        body.dark-theme {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }
        .blog-post-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }
        .back-to-blog {
            display: inline-block;
            margin-bottom: 2rem;
            color: var(--primary);
            font-weight: 600;
        }
        .post-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }
        .post-date {
            color: var(--primary);
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 1rem;
            display: block;
        }
        .post-title {
            font-size: clamp(1.8rem, 5vw, 2.8rem);
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        body.dark-theme .post-title {
            color: var(--light);
        }
        .post-image {
            width: 100%;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
            box-shadow: var(--shadow);
        }
        .post-content {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            line-height: 1.8;
        }
        body.dark-theme .post-content {
            background: var(--card-bg-dark);
        }
        .post-content p {
            margin-bottom: 1.5rem;
            color: var(--dark);
            font-size: 20px;
        }
        body.dark-theme .post-content p {
            color: #e2e8f0;
        }
        .post-content h2 {
            margin: 2rem 0 1rem;
            color: var(--primary);
            font-size: 1.6rem;
        }
        .post-content h3 {
            margin: 1.5rem 0 1rem;
            color: var(--dark);
            font-size: 1.3rem;
        }
        body.dark-theme .post-content h3 {
            color: var(--light);
        }
        .post-content ul, .post-content ol {
            margin: 1.5rem 0;
            padding-right: 1.5rem;
        }
        .post-content li {
            margin-bottom: 0.75rem;
        }
        .post-content code {
            background: var(--light-gray);
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.95em;
            direction: ltr;
            text-align: left;
        }
        .post-content pre {
            background: #f1f5f9;
            padding: 1.2rem;
            border-radius: 8px;
            overflow-x: auto;
            direction: ltr;
            text-align: left;
            margin: 1.5rem 0;
        }
        body.dark-theme .post-content pre,
        body.dark-theme .post-content code {
            background: #1e293b;
            color: #e2e8f0;
        }
        @media (max-width: 768px) {
            .post-content {
                padding: 1.5rem;
            }
            body { padding-top: 70px; }
        }