@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Thin.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Thin.woff") format("woff");
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-UltraLight.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-UltraLight.woff") format("woff");
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Light.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Light.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Regular.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Medium.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-DemiBold.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-DemiBold.woff") format("woff");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Bold.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-ExtraBold.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-ExtraBold.woff") format("woff");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/iransans/woff2/IRANSansX-Black.woff2") format("woff2"),
         url("/fonts/iransans/woff/IRANSansX-Black.woff") format("woff");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --gna-font-family: "IRANSansX", Tahoma, Arial, sans-serif;
    --bs-font-sans-serif: var(--gna-font-family);
    --bs-body-font-family: var(--gna-font-family);
}

html,
body {
    font-family: var(--gna-font-family) !important;
}

body {
    --body-font: "IRANSansX";
    --font2: "IRANSansX";
}

/* Keep all textual parts of the public home page on the bundled Persian font.
   Icon elements are intentionally excluded because they use their own glyph fonts. */
body .gna-public-header,
body .gna-public-footer,
body .elementor.elementor-2409,
body .gna-public-header :where(div, span, nav, strong, b, small, label, button, input, select, textarea, a):not([class*="icon"]),
body .gna-public-footer :where(div, span, nav, strong, b, small, label, button, input, select, textarea, a):not([class*="icon"]),
body .elementor.elementor-2409 :where(div, span, strong, b, small, label, button, input, select, textarea):not([class*="icon"]) {
    font-family: var(--gna-font-family) !important;
}

button,
input,
optgroup,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
label,
legend,
small,
table,
th,
td,
.btn,
.form-control,
.form-select,
.form-label,
.form-text,
.input-group-text,
.menu,
.menu-link,
.navbar,
.nav,
.dropdown-menu,
.dropdown-item,
.pagination,
.card,
.modal,
.offcanvas,
.accordion,
.alert,
.badge,
.popover,
.tooltip,
.toast,
.select2-container,
.select2-dropdown,
.flatpickr-calendar,
.fc,
.swal2-container,
.dataTables_wrapper,
.ql-container,
.ql-toolbar,
.secondary-font {
    font-family: var(--gna-font-family) !important;
}
