/* Blue Sky — site-wide Yekan (یکان) typography
   Load this stylesheet last so it wins over module CSS. */
:root {
  --bss-font-yekan: "Yekan", "B Yekan", "Yekan Bakh", "YekanBakh", "Yekan Bakh FaNum", "YekanBakhFaNum", Tahoma, "Segoe UI", Arial, sans-serif;
  --bss-font-sans: var(--bss-font-yekan);
  --cp-font: var(--bss-font-yekan);
  --cp-display: var(--bss-font-yekan);
}

html,
body,
button,
input,
select,
textarea,
optgroup,
option,
table,
th,
td,
dialog,
label,
legend,
summary,
details,
a,
p,
span,
div,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
small,
strong,
em,
b,
i,
u,
section,
article,
aside,
header,
footer,
nav,
main,
figure,
figcaption,
blockquote,
cite,
time,
address,
form,
fieldset,
menu,
menuitem {
  font-family: var(--bss-font-yekan) !important;
}

/* Catch remaining text nodes / custom elements without fighting SVG paths. */
body *:not(svg):not(svg *):not(code):not(pre):not(kbd):not(samp):not(.mono):not([data-monospace]) {
  font-family: var(--bss-font-yekan) !important;
}

code,
pre,
kbd,
samp,
.mono,
[data-monospace],
[aria-label="کد"] {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace !important;
}

svg,
svg * {
  font-family: inherit;
}
