﻿/* ==================== فونت IRANSans ==================== */
@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/iransans/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/iransans/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb_UltraLight.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb_UltraLight.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/iransans/IRANSansWeb_Light.eot');
    src: url('../fonts/iransans/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb_Light.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb_Light.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/iransans/IRANSansWeb.eot');
    src: url('../fonts/iransans/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/iransans/IRANSansWeb_Medium.eot');
    src: url('../fonts/iransans/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb_Medium.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb_Medium.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/iransans/IRANSansWeb_Bold.eot');
    src: url('../fonts/iransans/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb_Bold.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb_Bold.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/iransans/IRANSansWeb_Black.eot');
    src: url('../fonts/iransans/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'),
         url('../fonts/iransans/IRANSansWeb_Black.woff2') format('woff2'),
         url('../fonts/iransans/IRANSansWeb_Black.woff') format('woff'),
         url('../fonts/iransans/IRANSansWeb_Black.ttf') format('truetype');
}

/* ==================== فونت Vazirmatn ==================== */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/vazirmatn/Vazirmatn-Thin.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/vazirmatn/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/vazirmatn/Vazirmatn-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/vazirmatn/Vazirmatn-Black.woff2') format('woff2');
    font-display: swap;
}

/* ==================== استایل عمومی برای تمام متن‌ها ==================== */
*:not(i):not(.fa):not([class*="fa-"]):not([class^="fas"]):not([class^="far"]):not([class^="fab"]) {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    text-align: right;
    direction: rtl;
}

/* بهبود عنوان‌ها */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

/* بهبود inputها و دکمه‌ها */
input,
textarea,
select,
button {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* بهبود متن‌های کوچک */
small,
.small-text {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
}

/* بهبود جداول */
table {
    font-family: 'IRANSans', 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

th {
    font-weight: 700;
}

td {
    font-weight: 400;
}