/*
 * nexus-scripts.css (3.8.7-nexus.33): the scripts the shared multiscript sheet (nexus-i18n.css, generated from
 * kits/fonts by the pages lead) does not cover yet, with the same typography: Hebrew and Thai in IBM Plex (self-hosted
 * from the pinned npm packages, SIL OFL 1.1, nexus-assets/fonts/OFL.txt), Pashto with the Arabic faces. A face downloads
 * only when the page holds a character of its script (unicode-range). No faux bold or italic for these scripts.
 * To be folded into kits/fonts (pages lead); until then this sheet is the theme's.
 */
@font-face{font-family:"IBM Plex Sans Hebrew";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/scripts/IBMPlexSansHebrew-Regular.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"IBM Plex Sans Hebrew";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/scripts/IBMPlexSansHebrew-Medium.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"IBM Plex Sans Hebrew";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/scripts/IBMPlexSansHebrew-SemiBold.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"IBM Plex Sans Thai";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/scripts/IBMPlexSansThai-Regular.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"IBM Plex Sans Thai";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/scripts/IBMPlexSansThai-Medium.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"IBM Plex Sans Thai";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/scripts/IBMPlexSansThai-SemiBold.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
:lang(he){--nx-font-sans:"IBM Plex Sans Hebrew","IBM Plex Sans","Noto Sans Hebrew","Arial Hebrew",system-ui,sans-serif;--nx-font-display:var(--nx-font-sans)}
:lang(ps){--nx-font-sans:"IBM Plex Sans Arabic","IBM Plex Sans","Noto Sans Arabic","Noto Naskh Arabic","Segoe UI",Tahoma,sans-serif;--nx-font-display:var(--nx-font-sans)}
:lang(th){--nx-font-sans:"IBM Plex Sans Thai","IBM Plex Sans","Noto Sans Thai",Thonburi,"Leelawadee UI",system-ui,sans-serif;--nx-font-display:var(--nx-font-sans)}
html:is(:lang(he),:lang(ps),:lang(th)) body{font-family:var(--nx-font-sans)}
:is(:lang(he),:lang(ps),:lang(th)){letter-spacing:0!important;text-transform:none!important;font-synthesis:none}
:lang(ps) :is(p,li,dd,blockquote,figcaption),:lang(th) :is(p,li,dd,blockquote,figcaption){line-height:var(--nx-lh-body,1.8)}
:lang(ps) :is(h1,h2,h3,h4,h5,h6,[role=heading]),:lang(th) :is(h1,h2,h3,h4,h5,h6,[role=heading]){line-height:var(--nx-lh-heading,1.45)}
:lang(he) :is(p,li,dd,blockquote,figcaption){line-height:var(--nx-lh-body,1.7)}
:lang(he) :is(h1,h2,h3,h4,h5,h6,[role=heading]){line-height:var(--nx-lh-heading,1.35)}
:is(:lang(he),:lang(ps),:lang(th)) :is(b,strong,th,dt,summary,legend,h1,h2,h3,h4,h5,h6){font-weight:var(--nx-weight-strong,500)}
/* codes, numbers and Latin runs inside these scripts keep their own direction */
:is(:lang(he),:lang(ps)) :is(code,kbd,samp,pre,var,data,.nx-code,.nx-num,[data-num]){unicode-bidi:isolate;direction:ltr}
