/*
 * The new Saudi Riyal symbol, from
 * https://github.com/abdulrysrr/new-saudi-riyal-symbol
 *
 * The glyph sits at U+00EA in these font files, so `&#xea;` inside an element
 * with .sar renders the symbol. Everything else on the page keeps its own
 * font — only the symbol itself is swapped.
 */
@font-face {
    font-family: 'SaudiRiyalSymbol';
    src: url('/fonts/saudiriyalsymbol.woff2') format('woff2'),
         url('/fonts/saudiriyalsymbol.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.sar {
    font-family: 'SaudiRiyalSymbol', sans-serif;
    /* The glyph reads large beside lining figures. */
    font-size: 0.85em;
    /* Amounts are always written left to right, even in an Arabic panel. */
    direction: ltr;
    unicode-bidi: isolate;
    margin-inline-start: 0.15em;
}
