/* Nadi Plastic — RTL forward arrows (child theme, RTL locales only; linked at the end of <head> by functions.php).
 *
 * The theme draws "forward" arrows with two fontello glyphs that only point right: U+E82D (button-arrow) and U+E82B
 * (menu-arrow). They appear before list items, sidebar/footer links, sub-menu links, post navigation, etc. — about
 * 22 selectors in theme-rtl.css, many of them with hover transforms. Instead of chasing selectors, the same
 * 'fontello' family gets an extra face limited to those two code points, served from a subset of the theme font with
 * both glyphs mirrored (assets/fonts/fontello-rtl-arrows.*). The browser picks the last-declared face whose
 * unicode-range covers a character, so this file must load after every stylesheet that declares 'fontello'
 * (theme-rtl.css and Elementor's theme icons fontello.css) — hence the late <link>.
 *
 * Arrows whose position does NOT mirror in RTL (Owl carousel "next" buttons stay on the right edge) must keep pointing
 * right: they use 'fontello-ltr', an alias of the untouched theme font.
 */
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello-rtl-arrows.woff2') format('woff2'),
       url('../fonts/fontello-rtl-arrows.woff') format('woff');
  unicode-range: U+E82B, U+E82D;
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'fontello-ltr';
  src: url('../../../neuros/fonts/fontello.woff2') format('woff2'),
       url('../../../neuros/fonts/fontello.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

html[dir="rtl"] .owl-nav .owl-next:before,
html[dir="rtl"] .owl-nav .owl-next .nav-button-inner:before,
/* carousels whose nav buttons carry an Elementor icon (<i class="fontello icon-button-arrow">), e.g. testimonials:
   the theme already orients prev/next itself, the mirrored face made both point left */
html[dir="rtl"] .owl-nav [class*="owl-"] .icon-button-arrow:before {
  font-family: 'fontello-ltr' !important;
}

/* Post navigation (showroom items): theme-rtl.css swaps the sides but the «next» glyph (U+E82D)
   is mirrored by the subset above, so on the left it pointed inward. The original glyph points outward there. */
html[dir="rtl"] .post-navigation .post-navigation-item.next-post .post-navigation-link a:before,
html[dir="rtl"] .post-navigation .post-navigation-item.next-post .post-navigation-link a:after{ font-family:'fontello-ltr'; }
