/*
rtl.css — supplementary refinements on top of style.css.

style.css is already written RTL-native (dir:rtl, logical CSS properties
throughout), so this file is intentionally small. It exists to:
1) correct the handful of WordPress core / Gutenberg block-library defaults
   that still assume LTR output,
2) mirror the couple of icons whose meaning is directional,
3) act as a safety net for anything accidentally written with physical
   left/right instead of logical inline-start/inline-end properties.
Loaded unconditionally, right after style.css, since this theme is always RTL.
*/

/* Core / Gutenberg block defaults */
.wp-block-quote,blockquote.wp-block-quote{border-inline-start:4px solid var(--bmi-accent);border-inline-end:0;padding-inline-start:1.5rem;padding-inline-end:0}
.wp-block-pullquote blockquote{border-block-start:4px solid var(--bmi-accent);border-block-end:4px solid var(--bmi-accent)}
.wp-block-image.alignleft,.alignleft{float:right;margin:0 0 1rem 1.5rem}
.wp-block-image.alignright,.alignright{float:left;margin:0 1.5rem 1rem 0}
.wp-caption,.wp-block-image figcaption,.entry-content figcaption{text-align:center}
ul.wp-block-list,.article-body ul,.entry-content ul{padding-inline-start:1.4rem;padding-inline-end:0}
ol.wp-block-list,.article-body ol,.entry-content ol{padding-inline-start:1.4rem;padding-inline-end:0}
.wp-block-table th,.wp-block-table td,table th,table td{text-align:start}
.wp-block-columns{direction:rtl}
.gallery-item{float:right}

/* Directional icon mirroring: only icons whose meaning is "next/back" in the
   reading direction need a flip. Icons like phone/pin/clock are symmetric-safe
   and are left alone. */
.card-more svg,.chip-arrow svg,.icon-flip{transform:scaleX(-1)}

/* Forms */
input,textarea,select{text-align:start}
.search-form input[type="search"]{direction:rtl}

/* Numeric fields (ratings, counters, phone-like data) stay LTR-shaped visually
   but inherit the page's RTL flow correctly since digits are neutral. No
   override needed — kept here as documentation for future contributors. */

/* Safety net: if a future edit accidentally uses a physical margin/padding
   shorthand instead of a logical one on RTL-sensitive components, these
   selectors give predictable fallbacks. Extend as needed. */
.footer-contact li,.hero-meta-item,.topbar-info li,.article-meta li{flex-direction:row}
