/* RJ Editions 1.2.2.4: reading type for the Hindi and Bengali pages (owner, 18 November 2026: "hindi font size is too
   small. also we need better fonts for hindi" - chose Mukta at 20 px). Loaded only on pages in those languages.
   Before: the article layout (rj_site_quality, .rjcp-a) asks for Georgia, which has no Devanagari or Bengali letters,
   so each phone substituted its own font, at 19 px on phones and 21 px on desktops.
   Self-hosted, open-licence faces (SIL OFL 1.1, licences in fonts/), split by script (unicode-range), so a page
   downloads only the files its letters need.
   hi: Mukta (Ek Type) - an open humanist sans with large letters, very readable on phones.
   bn: Hind Siliguri (Indian Type Foundry) - the open Bengali sans closest to Mukta: the same humanist build, open
       counters, a similar weight and texture on screen (Noto Sans Bengali is narrower and more mechanical).
   Sanskrit is not touched: its pages are lang="sa" and keep Noto Serif Devanagari. */
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/mukta-devanagari-400-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/mukta-devanagari-600-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/mukta-devanagari-700-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/mukta-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/mukta-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "RJ Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/mukta-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hind-siliguri-bengali-400-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hind-siliguri-bengali-600-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/hind-siliguri-bengali-700-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hind-siliguri-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hind-siliguri-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "RJ Hind Siliguri"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/hind-siliguri-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* The article layout reads its families from variables on .rjcp-a (--rjcp-serif = reading text, Georgia) and its size
   from --rjcp-base (21 px, 19 px at 560 px and below) times the reader's step (--rjcp-scale). Setting the variables
   one level more specific (html[lang] .rjcp-a) wins on every screen without !important; the reader's text-size
   buttons keep working (20 px is the middle step). Labels, buttons and the RJ Editions controls keep their own fonts. */
html[lang^="hi"] .rjcp-a { --rj-indic-face: "RJ Mukta"; }
html[lang^="bn"] .rjcp-a { --rj-indic-face: "RJ Hind Siliguri"; }
html[lang^="hi"] .rjcp-a, html[lang^="bn"] .rjcp-a {
	--rjcp-serif: var(--rj-indic-face), "Noto Sans Devanagari", "Noto Sans Bengali", sans-serif;
	--rjcp-base: 20px;
}
/* Body text 20 px with lines of 1.75 (the site's Hindi rule already gives 1.75; Bengali had 1.85). Mukta and Hind
   Siliguri have no italic: a slanted copy of Indic letters reads badly, so the browser does not fake one. */
html[lang^="hi"] .rjcp-a .rjcp-body :is(p, li), html[lang^="bn"] .rjcp-a .rjcp-body :is(p, li) { line-height: 1.75; }
html[lang^="hi"] .rjcp-a, html[lang^="bn"] .rjcp-a { font-synthesis-style: none; }
/* An edition loaded by RJ Editions sits in .rj-edition, which asks for Noto Serif Devanagari a size up; on these pages
   it follows the same reading face and size. */
html[lang^="hi"] .rjcp-a .rj-edition, html[lang^="bn"] .rjcp-a .rj-edition { font-family: var(--rjcp-serif); font-size: 1em; line-height: 1.75; }
/* Headings in the bold of the same family, at the layout's sizes (title 26-32 px on phones, 32-46 px on desktops;
   sections 25/30, 23, 21 px), with taller lines than Latin needs, so vowel signs above and below never touch. */
html[lang^="hi"] body .rjcp-a :is(.rjcp-h1, .rjcp-body h2, .rjcp-body h3, .rjcp-body h4),
html[lang^="bn"] body .rjcp-a :is(.rjcp-h1, .rjcp-body h2, .rjcp-body h3, .rjcp-body h4) {
	font-family: var(--rj-indic-face), Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0;
}
html[lang^="hi"] body .rjcp-a .rjcp-h1, html[lang^="bn"] body .rjcp-a .rjcp-h1 { line-height: 1.3; }
html[lang^="hi"] body .rjcp-a .rjcp-body :is(h2, h3), html[lang^="bn"] body .rjcp-a .rjcp-body :is(h2, h3) { line-height: 1.4; }
html[lang^="hi"] body .rjcp-a .rjcp-body h4, html[lang^="bn"] body .rjcp-a .rjcp-body h4 { font-size: 21px; line-height: 1.45; }
