/* =================کل فونت و فایل‌های آن================= */
@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel.woff2') format('woff2'),
         url('../fonts/Sahel.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* =================اعمال فونت به کل اجزای سایت================= */
body, 
button, 
input, 
select, 
textarea,
.main-navigation,
.site-branding,
.button, 
a.button, 
input[type="submit"] {
    font-family: 'Sahel', Tahoma, sans-serif !important;
}

/* =================مدیریت متن‌ها، سئو و خوانایی================= */

body {
    font-size: 15px !important;
    line-height: 0.9 !important;
    color: #333 !important;
}

/* پاراگراف‌ها و متن‌های عادی: جاستیفای شده و منظم */
p, li, .entry-content p, .inside-article p, .ast-container p {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* h1 - فقط این مورد صراحتاً راست‌چین شده تا از جاستیفای شدن جلوگیری شود */
h1, .entry-title {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(18px, 4vw, 26px) !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    text-align: right !important; /* فقط برای h1 فیکس شد */
}

/* سایر تیترها - بدون دستور text-align برای حفظ رفتار طبیعی قالب */
h2 {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(16px, 3vw, 22px) !important;
    line-height: 1.45 !important;
    margin-top: 20px;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(15px, 2.5vw, 19px) !important;
    line-height: 1.5 !important;
    margin-top: 15px;
    margin-bottom: 8px;
}

h4, h5, h6 {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-weight: bold !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* منوها و دکمه‌ها */
.main-navigation a, 
.button, 
a.button {
    font-family: 'Sahel', Tahoma, sans-serif !important;
    font-size: 14px !important;
}
