/*
 * RTL / Arabic overrides.
 *
 * The stylesheet uses CSS logical properties (margin-inline, inset-inline,
 * padding-inline-start, border-inline-start …) throughout, so layout mirrors
 * automatically under dir="rtl". What follows is Arabic typography: cursive
 * script needs no letter-spacing (it pulls joined letters apart), no italics
 * (naskh has none — browsers fake a slant), slightly larger small labels and a
 * more open line-height.
 */

body { line-height: 1.9; }

/* No tracking on labels, badges and eyebrows. */
.cat-badge, .card-sticky, .author-box__label, .comment-badge, .manassa-ticker__label, .manassa-highlights__title,
.manassa-sources__label, .manassa-inline-related__label, .manassa-check-also__label,
.blog-hero__eyebrow, .blog-hero__teamlabel, .blog-hero__member b, .blog-hero__member small,
.menu-toggle__label, .mobile-menu__copy, .search-card__type,
.main-navigation li.mega-menu > ul > li > a,
.manassa-nav-uppercase .main-navigation > ul > li > a,
.manassa-nav-uppercase .lang-switcher .lang-switcher__toggle { letter-spacing: 0; }

/* No italics: quotes get a gold rule and the heading face instead; the highlighted phrase in the Articles band stays upright. */
.entry-content blockquote { font-style: normal; font-family: var(--font-head); font-size: 1.08em; border-inline-start-color: var(--tb-gold, var(--accent)); }
.entry-content blockquote cite { font-family: var(--font-body); font-size: .85em; font-style: normal; }
.blog-hero__title em, .comment-awaiting { font-style: normal; }

/* Tiny uppercase labels were sized for Latin capitals; Arabic needs a little more. */
.blog-hero__eyebrow { font-size: .85rem; }
.blog-hero__teamlabel { font-size: .78rem; }
.author-box__label, .manassa-highlights__title, .manassa-sources__label, .manassa-inline-related__label, .manassa-check-also__label { font-size: .82rem; }

/* Reading text: justified paragraphs, as on the rest of the site's Arabic pages. */
.entry-content > p, .entry-content > .wp-block-group p, .entry-content > .wp-block-columns p { text-align: justify; text-justify: inter-word; }

/* Latin fragments inside Arabic text (references, e-mails, URLs) keep their own direction. */
.entry-content :is(code, kbd, pre, .wp-block-code) { direction: ltr; unicode-bidi: isolate; text-align: start; }
.site-footer__contact-list a[href^="mailto:"], .site-footer__contact-list a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
