    /* CKEditor Content Styling */
    .ckeditor-content, .prose {
        direction: rtl;
        text-align: right;
        line-height: 1.8;
        color: #374151;
    }
    
    .ckeditor-content h1, .ckeditor-content h2, .ckeditor-content h3, .ckeditor-content h4, .ckeditor-content h5, .ckeditor-content h6,
    .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
        color: #1f2937;
        font-weight: 700;
        margin-top: 2rem;
        text-align: right;
        margin-bottom: 1rem;
        line-height: 1.4;
        color: #4040FF;
        /* اسکرول به وسط صفحه هنگام کلیک روی لینک anchor */
        scroll-margin-top: 40vh;
    }
    
    .ckeditor-content h1, .prose h1 { font-size: 1.5rem; }
    .ckeditor-content h2, .prose h2 { font-size: 1.5rem; }
    .ckeditor-content h3, .prose h3 { font-size: 1.5rem; }
    .ckeditor-content h4, .prose h4 { font-size: 1.25rem; }
    .ckeditor-content h5, .prose h5 { font-size: 1.125rem; }
    .ckeditor-content h6, .prose h6 { font-size: 1rem; }
    
    .ckeditor-content p, .prose p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }
    
    .ckeditor-content ul, .ckeditor-content ol, .prose ul, .prose ol {
        margin: 1.5rem 0;
        padding-right: 0rem;
        padding-left: 0;
    }
    
    .ckeditor-content ul, .prose ul {
        list-style: none;
    }
    
    .ckeditor-content ul li, .prose ul li {
        position: relative;
        margin-bottom: 0.5rem;
        padding-right: 1rem;
    }
    
    .ckeditor-content ul li::before, .prose ul li::before {
        content: '';
        position: absolute;
        right: 0;
        top: 1.1rem;
        width: 6px;
        height: 6px;
        background-color: #4040FF;
        border-radius: 50%;
    }
    
    .ckeditor-content ol li, .prose ol li {
        margin-bottom: 0.5rem;
    }
    
    .ckeditor-content blockquote, .prose blockquote {
        border-right: 4px solid #3b82f6;
        padding: 1rem 1.5rem;
        margin: 2rem 0;
        background-color: #f8fafc;
        border-radius: 0.5rem;
        font-style: italic;
    }
    
    .ckeditor-content table, .prose table {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        overflow-x: auto;
        display: block;
    }
    
    .ckeditor-content table th, .ckeditor-content table td,
    .prose table th, .prose table td {
        border: 1px solid #d1d5db;
        padding: 0.75rem;
        text-align: right;
    }
    
    .ckeditor-content table th, .prose table th {
        background-color: #f3f4f6;
        font-weight: 600;
    }
    
    .ckeditor-content a, .prose a {
        color: #3b82f6;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s;
    }
    
    .ckeditor-content a:hover, .prose a:hover {
        border-bottom-color: #3b82f6;
    }
    
    .ckeditor-content img, .prose img {
        max-width: 100%;
        height: auto;
        border-radius: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .ckeditor-content strong, .prose strong {
        font-family: 'Kalameh-Bold';
    }
    
    .ckeditor-content em, .prose em {
        font-style: italic;
    }
    
    .ckeditor-content code, .prose code {
        background-color: #f3f4f6;
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        font-family: monospace;
        font-size: 0.875rem;
    }
    
    .ckeditor-content pre, .prose pre {
        background-color: #1f2937;
        color: #f9fafb;
        padding: 1.5rem;
        border-radius: 0.5rem;
        overflow-x: auto;
        margin: 1.5rem 0;
    }

    .ckeditor-content pre code, .prose pre code {
        background-color: transparent;
        padding: 0;
        color: inherit;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .ckeditor-content h1, .prose h1 { font-size: 1.5rem; }
        .ckeditor-content h2, .prose h2 { font-size: 1.5rem; }
        .ckeditor-content h3, .prose h3 { font-size: 1.25rem; }
        .ckeditor-content h4, .prose h4 { font-size: 1.125rem; }
        .ckeditor-content h5, .prose h5 { font-size: 1rem; }
        .ckeditor-content h6, .prose h6 { font-size: 0.875rem; }
        
        .ckeditor-content ul, .ckeditor-content ol, .prose ul, .prose ol {
            padding-right: 0rem;
        }
        
        .ckeditor-content blockquote, .prose blockquote {
            padding: 0.75rem 1rem;
        }
        
        /* در موبایل offset کمتر */
        .ckeditor-content h1, .ckeditor-content h2, .ckeditor-content h3, 
        .ckeditor-content h4, .ckeditor-content h5, .ckeditor-content h6,
        .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
            scroll-margin-top: 20vh;
        }
    }