@font-face {
  font-family: "Ahl Hadith Site Brand";
  src: url("KufiExt-SiteNameShort-Hamza-Trial-C.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* One wordmark across the legacy and current page templates. */
html body :is(.site-header, .article-site-header, .site-bar, .site-footer)
  :is(.site-name, .article-site-brand, .site-bar__brand, .site-footer__brand, .site-footer-brand) {
  font-family: "Ahl Hadith Site Brand", serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  letter-spacing: normal;
  word-spacing: .06em;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
}

html body :is(.site-header, .article-site-header, .site-bar)
  :is(.site-name, .article-site-brand, .site-bar__brand) {
  line-height: .92;
  transform: translateY(1px);
}

/* Preserve the positioning required by each header, without scaling the letters. */
html body:is(.homepage, .names-index-page) .site-header .site-name {
  transform: translate(-50%, 1px);
}

html body.quran-site .site-header .site-name,
html body .site-bar .site-bar__brand {
  transform: none;
}

@media (max-width: 720px) {
  html body :is(.site-header, .article-site-header, .site-bar, .site-footer)
    :is(.site-name, .article-site-brand, .site-bar__brand, .site-footer__brand, .site-footer-brand) {
    font-size: 18px;
  }
}
