/* Public RTL and readable Persian prose. No runtime or inline CSS. */
html[dir="rtl"],
html:lang(fa) {
  direction: rtl;
}

html[dir="rtl"] body,
html:lang(fa) body,
.parsify-lite-active {
  direction: rtl;
  text-align: right;
}

.parsify-lite-active :where(main, article, form),
.parsify-lite-active :where(.site-main, .site-content, .content-area, .entry-content, .page-content, .post-content, .wp-block-post-content, .term-description, .woocommerce-Tabs-panel) {
  direction: rtl;
}

.parsify-lite-active :where(.entry-content, .page-content, .post-content, .wp-block-post-content, .term-description, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description) {
  text-align: right;
}

.parsify-lite-active :where(.single-post .entry-content, .page .entry-content, .page-content, .post-content, .wp-block-post-content, .term-description, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description) :where(p, li, blockquote),
.parsify-lite-active :where(.single-post .entry-content, .page .entry-content, .page-content, .post-content, .wp-block-post-content, .term-description, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description) > p {
  text-align: justify;
  text-align-last: auto;
  text-justify: inter-word;
  line-height: 2;
}

.parsify-lite-active :where(input, textarea, select, option, label) {
  text-align: right;
}

.parsify-lite-active :where(input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[inputmode="numeric"], [dir="ltr"], code, pre, kbd, samp) {
  direction: ltr;
}

.parsify-lite-active :where(code, pre, kbd, samp, .no-justify, [data-no-justify]) {
  text-align: start;
  text-justify: auto;
}
