/*
 * Corrections for the left-to-right Bootstrap build on a right-to-left site.
 *
 * The theme loads bootstrap.min.css, not bootstrap.rtl.min.css, so any
 * Bootstrap component with a direction baked in lays out backwards under
 * <html dir="rtl">. Fixes for those live here, scoped to [dir="rtl"], rather
 * than scattered through the page stylesheets.
 *
 * A separate file, loaded on every page straight after base.css, because the
 * Hostinger edge holds an already-served stylesheet for up to seven days under
 * its own name: a new file reaches visitors at once, an edited one does not.
 */

/*
 * Breadcrumb divider. Bootstrap floats the «/» left and pads the item's left
 * side, so on every page of the site the second crumb was glued to the first:
 * «الرئيسيةعازل حراري». Mirrored: pad the right, float the divider right.
 */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
    padding-right: var(--bs-breadcrumb-item-padding-x);
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: var(--bs-breadcrumb-item-padding-x);
}
