/* HUB-BUILD-03 H2: GridPandit's Hindi pages (/hi only; modules/grid/live_hi.py links this file on them and nowhere else).
   Noto Sans Devanagari (SIL Open Font License 1.1), served by the hub; Inter and Fraunces keep the Latin letters and digits.
   Devanagari needs more line height than Latin so the matras above and below a line are not clipped. */
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/noto-sans-devanagari-400.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
html[lang="hi"] {
  --font: Inter, 'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari', Mangal, system-ui, sans-serif;
  --serif: Fraunces, 'Noto Sans Devanagari', 'Nirmala UI', Georgia, serif;
}
html[lang="hi"] body { line-height: 1.7; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .hero h1, html[lang="hi"] .prose h1 { line-height: 1.4; }
html[lang="hi"] .brand-text, html[lang="hi"] .sb-item .lbl, html[lang="hi"] .sb-cat, html[lang="hi"] .btn,
html[lang="hi"] .crumb, html[lang="hi"] .tool-card, html[lang="hi"] .next-card { line-height: 1.45; }
html[lang="hi"] .sb-item .lbl { overflow: visible; padding-block: 1px; }
.lang-switch { margin-inline-end: 6px; }
