/*
 * Athar Qatra — Arabic editorial web font
 * Local web-font only: no dependency on fonts installed on the visitor's device.
 * Place the licensed/open font file at:
 *   assets/fonts/NotoNaskhArabic-Variable.woff2
 */
@font-face {
  font-family: "AtharAawsat";
  src: url("../fonts/NotoNaskhArabic-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] option,
html[lang="ar"] table {
  font-family: "AtharAawsat", "Noto Naskh Arabic", Tahoma, Arial, serif !important;
}

html[lang="ar"] body {
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Keep Arabic headings crisp without changing each page's existing sizes. */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] strong,
html[lang="ar"] b {
  font-family: "AtharAawsat", "Noto Naskh Arabic", Tahoma, Arial, serif !important;
}
