/* Use the existing On font files under a distinct public-site family name.
   Normal text intentionally uses the same Medium face previously selected for
   missing weight 400. Keep WOFF first to preserve the established rendering. */
@font-face {
    font-family: 'NilooOn';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/CSS/ON/OnLight.woff?v=2.5.0') format('woff'), url('/CSS/ON/OnLight.woff2?v=2.5.0') format('woff2');
}

@font-face {
    font-family: 'NilooOn';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/CSS/ON/OnMedium.woff?v=2.5.0') format('woff'), url('/CSS/ON/OnMedium.woff2?v=2.5.0') format('woff2');
}

@font-face {
    font-family: 'NilooOn';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/CSS/ON/OnMedium.woff?v=2.5.0') format('woff'), url('/CSS/ON/OnMedium.woff2?v=2.5.0') format('woff2');
}

@font-face {
    font-family: 'NilooOn';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/CSS/ON/OnBold.woff?v=2.5.0') format('woff'), url('/CSS/ON/OnBold.woff2?v=2.5.0') format('woff2');
}

@font-face {
    font-family: 'NilooOn';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/CSS/ON/OnBold.woff?v=2.5.0') format('woff'), url('/CSS/ON/OnBold.woff2?v=2.5.0') format('woff2');
}

/* Scope family selection to Persian, retaining the English fonts and icon faces. */
html[lang="fa"] body,
html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] h4,
html[lang="fa"] h5,
html[lang="fa"] h6,
html[lang="fa"] .tooltip-inner {
    font-family: 'NilooOn', Arial, Tahoma, sans-serif !important;
}
