@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Light.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBlack.woff2') format('woff2'),
       url('../fonts/YekanBakhFaNum-ExtraBlack.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --boroz-force-font: 'Yekan Bakh', Tahoma, Arial, sans-serif;
}

/*
  Force Yekan Bakh on text nodes aggressively, but do not target pseudo-elements
  because many themes/plugins render icons there.
*/
html,
body,
button,
input,
select,
optgroup,
textarea,
a,
p,
div,
span,
li,
ul,
ol,
dl,
dt,
dd,
table,
td,
th,
label,
strong,
b,
em,
small,
blockquote,
figcaption,
caption,
legend,
summary,
pre,
code,
kbd,
samp,
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block,
.editor-styles-wrapper,
.block-editor-writing-flow,
.block-editor-rich-text__editable,
.components-input-control__input,
.components-text-control__input,
.components-textarea-control__input,
.wp-admin,
.login,
#wpwrap,
#adminmenu,
#wpadminbar,
#loginform,
#lostpasswordform,
#registerform,
.elementor,
.elementor *,
.select2-container,
.select2-container * {
  font-family: var(--boroz-force-font) !important;
}

/* Many icon packs use <i>. Do not force the custom font there globally. */
i:not(.dashicons):not([class*='dashicons']):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-brands):not([class^='fa-']):not([class*=' fa-']):not(.material-icons):not(.material-symbols-outlined):not(.material-symbols-rounded):not(.material-symbols-sharp):not(.eicons):not(.elementor-icon):not(.genericon):not(.ab-icon):not(.wcicon):not(.ti):not([class^='ti-']):not([class*=' ti-']):not(.icon):not([class^='icon-']):not([class*=' icon-']) {
  font-family: var(--boroz-force-font) !important;
}

/* Keep common icon systems on their own fonts. */
.dashicons,
[class*='dashicons'],
.dashicons-before:before,
[class*='dashicons']::before,
[class*='dashicons']::after {
  font-family: dashicons !important;
  speak: never;
}

.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands,
[class^='fa-'],
[class*=' fa-'],
[class^='fa-']::before,
[class*=' fa-']::before,
.fa::before,
.fas::before,
.far::before,
.fal::before,
.fab::before {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', FontAwesome !important;
}

.material-icons,
.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp {
  font-family: 'Material Icons', 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp' !important;
}

.eicons,
.eicons::before,
.elementor-icon,
.elementor-icon i,
.elementor-icon svg {
  font-family: eicons !important;
}

.genericon,
.genericon::before {
  font-family: Genericons !important;
}

.ab-icon,
.ab-icon::before,
.wp-menu-image::before {
  font-family: dashicons !important;
}

.wcicon,
.wcicon::before {
  font-family: WooCommerce !important;
}

.ti,
[class^='ti-'],
[class*=' ti-'],
.ti::before,
[class^='ti-']::before,
[class*=' ti-']::before {
  font-family: themify !important;
}

.icon,
[class^='icon-'],
[class*=' icon-'],
svg,
svg * {
  font-family: inherit;
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}
