/* Gold / silver bar: sits above the sticky header and scrolls away with the page. */
#bt-ticker {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 22px;
  padding: 6px 16px; background: #070d18; border-bottom: 1px solid #1f3350;
  color: #9fb0c9; font: 13px/1.7 Vazirmatn, Inter, sans-serif;
}
#bt-ticker[hidden], #bt-ticker [hidden] { display: none; }
#bt-ticker .bt-t-today { color: #e6edf6; }
#bt-ticker strong { color: #f0c75e; font-weight: 600; font-variant-numeric: tabular-nums; }
#bt-ticker .bt-t-silver { color: #d5dde8; }
#bt-ticker .bt-t-time { font-size: 12px; opacity: .8; }

/* Dates are rendered per language by site.js, so the old "(…)" Jalali suffix is not needed. */
.bhr-jalali-date { display: none !important; }

/* The bar above replaces the older gold-only badge that sat half-hidden behind the header. */
#bhr-gold-badge { display: none !important; }

/* Persian headings. The theme sets headings in Inter, which has no Persian letters, so Persian
   titles were drawn with whatever fallback font the device had. Estedad (free, SIL Open Font
   License) is served from this plugin, so every visitor gets the same letters; the unicode-range
   limits it to Persian/Arabic script, and Latin words inside a title keep using Inter. */
@font-face { font-family: "BT Estedad"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(fonts/estedad-arabic-600-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "BT Estedad"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(fonts/estedad-arabic-700-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "BT Estedad"; font-weight: 800 900; font-style: normal; font-display: swap;
  src: url(fonts/estedad-arabic-800-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }

html:not([data-bt-lang="en"]) h1, html:not([data-bt-lang="en"]) h2, html:not([data-bt-lang="en"]) h3,
html:not([data-bt-lang="en"]) h4, html:not([data-bt-lang="en"]) .entry-title, html:not([data-bt-lang="en"]) .eael-entry-title {
  font-family: "BT Estedad", Inter, Vazirmatn, sans-serif !important; letter-spacing: 0 !important; word-spacing: 0 !important;
}
html:not([data-bt-lang="en"]) h1.bhr-title { font-weight: 800; line-height: 1.6; }

/* Mobile menu: right-aligned in Persian, left-aligned in English. */
html:not([data-bt-lang="en"]) #ast-hf-mobile-menu .menu-link { direction: rtl; text-align: right; }
html[data-bt-lang="en"] #ast-hf-mobile-menu .menu-link { direction: ltr; text-align: left; }
