@font-face {
    font-family: "Estedad-FD";
    src: url("../font/Estedad-FD[KSHD,wght].woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/*
 * Keep icon-font elements untouched while applying the bundled font with a
 * deliberately high specificity to all normal front-end content.
 */
html body,
html body *:not(.dashicons):not(.dashicons-before):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not(.fat):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-thin):not(.fa-duotone):not(.fa-brands):not(.bi):not(.material-icons):not(.material-symbols-outlined):not(.material-symbols-rounded):not(.material-symbols-sharp):not(.et-pb-icon):not(.uil):not(.bx):not([class^="eicon-"]):not([class*=" eicon-"]):not([class^="icon-"]):not([class*=" icon-"]):not([class^="ti-"]):not([class*=" ti-"]):not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: "Estedad-FD", sans-serif !important;
}

/*
 * نوار مدیریت بالای سایت
 *
 * آیکن‌های این نوار از فونت dashicons می‌آیند، ولی حاملشان یک
 * <span class="ab-icon"> است نه .dashicons، پس در فهرست استثناهای بالا
 * نمی‌افتاد و فونت متن رویش می‌نشست و جای آیکن خالی می‌ماند.
 *
 * چرا زودتر دیده نشده بود: قانون خود وردپرس در عرض موبایل !important دارد و
 * برنده می‌شود؛ در عرض دسکتاپ ندارد. پس ایراد فقط روی دسکتاپ دیده می‌شد.
 *
 * متن نوار عمداً همان فونت فارسی را نگه می‌دارد؛ فقط آیکن‌ها برمی‌گردند.
 */
#wpadminbar .ab-icon,
#wpadminbar .ab-icon::before,
#wpadminbar .ab-item::before,
#wpadminbar .wp-admin-bar-arrow,
#wpadminbar .wp-admin-bar-arrow::before,
#wpadminbar #adminbarsearch::before,
#wpadminbar [class*="dashicons-"],
#wpadminbar [class*="dashicons-"]::before {
    font-family: dashicons !important;
}
