/*
 * Final font hardening layer for Basir News.
 * Active primary font: Estedad / استعداد.
 * Loaded after main/admin styles so the font applies to frontend, newsroom,
 * wp-admin, login page and editor UI.
 */
:root {
  --basir-font: "Estedad", "IRANYekanX", "IRANSansX", "Vazirmatn", "Yekan Bakh", "Dana", Tahoma, Arial, sans-serif !important;
  --basir-admin-font-family: "Estedad", "IRANYekanX", "IRANSansX", "Vazirmatn", "Yekan Bakh", "Dana", Tahoma, Arial, sans-serif !important;
}

html,
body,
body.rtl,
body.wp-admin,
body.login,
.site,
.site *,
.basir-site,
.basir-site *,
.site-header,
.site-header *,
.site-footer,
.site-footer *,
.entry-content,
.entry-content *,
.basir-newsroom,
.basir-newsroom *,
.basir-settings-wrap,
.basir-settings-wrap *,
#wpwrap,
#wpwrap *,
#wpcontent,
#wpcontent *,
#wpbody,
#wpbody *,
#wpbody-content,
#wpbody-content *,
.wrap,
.wrap *,
.wp-core-ui,
.wp-core-ui *,
.editor-styles-wrapper,
.editor-styles-wrapper *,
.interface-interface-skeleton,
.interface-interface-skeleton *,
.components-popover,
.components-popover *,
.components-modal__frame,
.components-modal__frame *,
.media-modal,
.media-modal *,
input,
textarea,
select,
button,
.wp-core-ui .button,
.wp-core-ui .button-primary,
.wp-core-ui .button-secondary {
  font-family: "Estedad", "IRANYekanX", "IRANSansX", "Vazirmatn", "Yekan Bakh", "Dana", Tahoma, Arial, sans-serif !important;
  letter-spacing: 0;
}

/* Preserve code/editor monospace areas. */
code,
pre,
kbd,
samp,
.CodeMirror,
.CodeMirror *,
textarea.code,
input.code,
.wp-editor-area.html-active,
.theme-editor-php textarea,
.plugin-editor-php textarea {
  font-family: Consolas, Monaco, "Courier New", monospace !important;
}

/* Preserve WordPress icon fonts. */
.dashicons,
.dashicons-before::before,
[class^="dashicons-"],
[class*=" dashicons-"],
#adminmenu .wp-menu-image::before,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .ab-item::after,
.wp-menu-image::before,
.ab-icon,
.ab-icon::before,
.ab-item::before,
.ab-item::after,
.mce-ico {
  font-family: dashicons !important;
}

body.login {
  direction: rtl;
}
