html[data-font="iransans"],
html[data-font="yekan"],
html[data-font="nazanin"],
html {
  --font: "IRANSans", "Tahoma", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 100 600;
  font-display: swap;
  src: url("/divan/assets/fonts/IRANSansX-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 601 900;
  font-display: swap;
  src: url("/divan/assets/fonts/IRANSansX-Bold.woff2") format("woff2");
}

html {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

body {
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  font-kerning: normal;
  font-synthesis: none;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  color: #12141a;
}

body *:not(i):not([class*="fa-"]):not(.fa):not(.fa-light) {
  font-family: var(--font);
}

h1, h2, h3, strong, b {
  font-synthesis: none;
  letter-spacing: 0;
  text-wrap: pretty;
}

p, li, em, small, .muted, .couplet .mesra, .plain, .prose p {
  text-wrap: pretty;
}

@media (min-width: 720px) {
  body {
    font-size: 18px;
    line-height: 1.9;
  }
}
