/* SolaimanLipi for the Bangla text of questions, answers and exams.
   Bundled with the plugin (assets/fonts/, SIL Open Font License — see SolaimanLipi-OFL.txt), so it
   loads from this site and looks the same on every phone and computer, whether or not the font is
   installed there. Only Bangla characters use it: English words and numbers keep their own font.
   Turned on or off in Study and exam → সেটিংস → বাংলা ফন্ট. */
@font-face{
  font-family:"BDA SolaimanLipi";
  src:url(fonts/solaiman-lipi.woff2) format("woff2"),url(fonts/solaiman-lipi.woff) format("woff");
  font-style:normal;font-weight:400;font-display:swap;
  unicode-range:U+0964-0965,U+0980-09FE,U+200C-200D,U+25CC;
}
:root{--bda-bn-font:"BDA SolaimanLipi","SolaimanLipi","Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}

/* the plugin's pages and cards, a question's own post, the printed paper, the teacher's pages */
.bdaqb,.bdaqb-shell,.bdaqb-home,.bdaqb-front,
body.bdaqb-qpost .entry-content,body.bdaqb-qpost .entry-title,
.bdaqb-admin{font-family:var(--bda-bn-font)}
/* the printed paper and the teacher's pages keep the English font they had: only Bangla changes */
body.bqp,.bqp{font-family:"BDA SolaimanLipi","Nirmala UI","Hind Siliguri","SolaimanLipi",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.bqt-body{font-family:"BDA SolaimanLipi","Inter","Hind Siliguri","Noto Sans Bengali","Segoe UI",system-ui,sans-serif}

/* headings, form fields and buttons inside them too (themes often give these a font of their own) */
.bdaqb :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button),
.bdaqb-home :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button),
body.bdaqb-qpost .entry-content :is(h1,h2,h3,h4,h5,h6),
.bdaqb-admin :is(h1,h2,h3,input,select,textarea){font-family:var(--bda-bn-font)}
.bqp :is(h1,h2,h3,h4,h5,h6),
body.bqt-body :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button){font-family:inherit}
