/*
 * Some Firefox ESR 115 profiles on Windows 10 render Boom's dynamically
 * loaded YekanBakh TTF with broken Persian joining. Pinar is already shipped
 * by the parent theme as WOFF2 and provides a stable shaping fallback.
 */
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-Light.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 300;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-ExtraBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: "Boom Firefox Persian";
    src: url("../../Boom/fonts/Pinar-Black.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

html.boom-firefox-persian-font,
html.boom-firefox-persian-font body,
html.boom-firefox-persian-font body * {
    font-family: "Boom Firefox Persian", Tahoma, Arial, sans-serif !important;
    font-kerning: auto;
    font-variant-ligatures: common-ligatures contextual;
    text-rendering: auto;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

html.boom-firefox-persian-font button,
html.boom-firefox-persian-font input,
html.boom-firefox-persian-font optgroup,
html.boom-firefox-persian-font select,
html.boom-firefox-persian-font textarea {
    font-family: inherit;
    letter-spacing: normal;
    word-spacing: normal;
}
