/* AI SEO Article Generator Hebrew RTL Styles */

/* Main content containers - comprehensive theme coverage */
.entry-content, .post-content, .page-content, .content, article, main, .site-content, .content-area, .single-content,
.site-main, .primary-content, .post-body, .article-content, .single-post-content, .main-content,
.ai-seo-article-generator-hebrew-content .entry-content, .ai-seo-article-generator-hebrew-content .post-content, .ai-seo-article-generator-hebrew-content .page-content {
    direction: rtl !important;
    text-align: right !important;
}

/* Headings - comprehensive selectors */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6,
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,
article h1, article h2, article h3, article h4, article h5, article h6,
main h1, main h2, main h3, main h4, main h5, main h6,
.site-content h1, .site-content h2, .site-content h3, .site-content h4, .site-content h5, .site-content h6,
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6,
.ai-seo-article-generator-hebrew-content h1, .ai-seo-article-generator-hebrew-content h2, .ai-seo-article-generator-hebrew-content h3,
.ai-seo-article-generator-hebrew-content h4, .ai-seo-article-generator-hebrew-content h5, .ai-seo-article-generator-hebrew-content h6 {
    direction: rtl !important;
    text-align: right !important;
}

/* Paragraphs and text elements */
.entry-content p, .post-content p, .page-content p, .content p, article p, main p,
.site-content p, .single-content p, .ai-seo-article-generator-hebrew-content p,
.entry-content li, .post-content li, .page-content li, .content li, article li, main li,
.site-content li, .single-content li, .ai-seo-article-generator-hebrew-content li,
.entry-content blockquote, .post-content blockquote, .page-content blockquote,
.content blockquote, article blockquote, main blockquote,
.site-content blockquote, .single-content blockquote, .ai-seo-article-generator-hebrew-content blockquote {
    direction: rtl !important;
    text-align: right !important;
}

/* Lists */
.entry-content ul, .entry-content ol, .post-content ul, .post-content ol,
.page-content ul, .page-content ol, .content ul, .content ol,
article ul, article ol, main ul, main ol,
.site-content ul, .site-content ol, .single-content ul, .single-content ol,
.ai-seo-article-generator-hebrew-content ul, .ai-seo-article-generator-hebrew-content ol {
    direction: rtl !important;
    padding-right: 40px !important;
    padding-left: 0 !important;
}

/* List items specific adjustments */
.entry-content li, .post-content li, .page-content li, .content li,
article li, main li, .site-content li, .single-content li,
.ai-seo-article-generator-hebrew-content li {
    direction: rtl !important;
    text-align: right !important;
    margin-right: 0 !important;
}

/* Tables */
.entry-content table, .post-content table, .page-content table,
.content table, article table, main table,
.site-content table, .single-content table,
.ai-seo-article-generator-hebrew-content table {
    direction: rtl !important;
}

.entry-content td, .entry-content th,
.post-content td, .post-content th,
.page-content td, .page-content th,
.content td, .content th,
article td, article th,
main td, main th,
.site-content td, .site-content th,
.single-content td, .single-content th,
.ai-seo-article-generator-hebrew-content td,
.ai-seo-article-generator-hebrew-content th {
    text-align: right !important;
}

/* FAQ Schema specific styles */
.schema-faq {
    direction: rtl !important;
}

.schema-faq-section {
    margin-bottom: 20px !important;
    direction: rtl !important;
}

.schema-faq-question {
    font-weight: bold !important;
    margin-bottom: 10px !important;
    direction: rtl !important;
    text-align: right !important;
}

.schema-faq-answer {
    margin-bottom: 15px !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Additional theme-specific selectors */
.post-body-content, .entry-summary, .excerpt, .the-content,
.elementor-widget-container, .et_pb_text_inner, .wpb_wrapper,
.fusion-text, .av_textblock_section, .fl-module-content {
    direction: rtl !important;
    text-align: right !important;
}

/* Ensure nested content maintains RTL */
[dir="rtl"] *, .rtl *, html[dir="rtl"] * {
    direction: rtl !important;
}

/* WordPress editor styles */
.wp-block {
    direction: rtl !important;
    text-align: right !important;
}

/* Blockquote specific styling */
blockquote {
    border-left: none !important;
    border-right: 4px solid #ccc !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    margin-right: 0 !important;
}

/* Code blocks should remain LTR */
pre, code, .wp-block-code {
    direction: ltr !important;
    text-align: left !important;
}

/* Additional mobile responsive considerations */
@media (max-width: 768px) {
    .entry-content ul, .entry-content ol,
    .post-content ul, .post-content ol,
    .page-content ul, .page-content ol,
    .content ul, .content ol,
    article ul, article ol,
    main ul, main ol {
        padding-right: 20px !important;
    }
}