/* =========================================================
   UOD GLOBAL TYPOGRAPHY SYSTEM
   Headings/Subheadings : Poppins
   Body/UI/Content       : Inter
   Telugu fallback       : Noto Sans Telugu
   ========================================================= */

:root {
  --uod-font-heading: "Poppins", "Noto Sans Telugu", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --uod-font-body: "Inter", "Noto Sans Telugu", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Normalize legacy page font variables without changing layout. */
  --font-serif: var(--uod-font-heading);
  --font-sans: var(--uod-font-body);
  --font-family: var(--uod-font-body);
  --df-font-display: var(--uod-font-heading);
  --df-font-body: var(--uod-font-body);
}

html,
body {
  font-family: var(--uod-font-body) !important;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Standard readable content. */
p,
a,
li,
label,
input,
textarea,
select,
option,
button,
table,
thead,
tbody,
tfoot,
th,
td,
blockquote,
figcaption,
small,
.form-control,
.form-select,
.btn,
.nav-link,
.dropdown-item,
.breadcrumb,
.breadcrumb-item,
.alert,
.badge,
.list-group-item,
.content,
.description,
.text-content,
.body-content,
.card-text,
.lead,
.meta,
.caption,
.question,
.answer,
.report-content,
.modal-body,
.dropdown-menu {
  font-family: var(--uod-font-body) !important;
}

/* Cover text held directly inside generic wrappers while leaving icon webfonts alone. */
body div:not([class^="fa"]):not([class*=" fa-"]):not([class^="ti-"]):not([class*=" ti-"]):not(.material-icons):not(.material-symbols-outlined),
body span:not([class^="fa"]):not([class*=" fa-"]):not([class^="ti-"]):not([class*=" ti-"]):not(.material-icons):not(.material-symbols-outlined) {
  font-family: var(--uod-font-body) !important;
}

/* Primary headings and title-like elements. */
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.main-title,
.hero-title,
.banner-title,
.section-title,
.card-title,
.modal-title,
.navbar-brand,
.subheading,
.sub-heading,
.subtitle,
.sub-title,
[class*="-title"],
[class*="_title"],
[class*="Title"],
[class*="heading"],
[class*="Heading"] {
  font-family: var(--uod-font-heading) !important;
}

/* Telugu automatically falls back here when Inter/Poppins have no glyph. */
:lang(te),
[lang="te"],
.telugu,
.telugu-text {
  font-family: "Noto Sans Telugu", var(--uod-font-body) !important;
}
