/* ============================================= */
/* ✅ تعریف فونت متغیر (جایگزین Light و Bold)  */
/* ============================================= */
@font-face {
    font-family: 'IranSansWeb';
    src: url('/assets/css/IRANSansXV.woff2') format('woff2-variations');
    font-weight: 100 900; /* محدوده وزنی کامل */
    font-style: normal;
    font-display: swap;
}

/* متغیرهای اصلی قالب (همان مقادیر قبل) */
:root {
    --cassiopeia-font-family-body: 'IranSansWeb', sans-serif;
    --cassiopeia-font-family-headings: 'IranSansWeb', sans-serif;
    --cassiopeia-font-weight-normal: 300;
    --cassiopeia-font-weight-headings: 700;
}

/* اعمال به بدنه و تیترها (بدون !important روی تگ‌های عمومی) */
body {
    font-family: 'IranSansWeb', sans-serif !important;
    font-weight: 300 !important;
}

h1, h2, h3, h4, h5, h6,
.module-title, .page-header {
    font-family: 'IranSansWeb', sans-serif !important;
    font-weight: 700 !important;
}

/* اعمال به بقیه بخش‌های نوشتاری، اما استثنا کردن آیکون‌ها */
p, li, .nav-link, .navbar-brand, .article-text, .item-title {
    font-family: 'IranSansWeb', sans-serif !important;
    font-weight: 300 !important;
}

/* ★★★ خط حیاتی برای برگرداندن آیکون‌ها ★★★ */
/* تمام المان‌هایی که کلاس فونت‌آوسام دارند، به زور فونت خودشان را بگیرند */
.fa, .fas, .far, .fal, .fab, .icon- {
    font-family: 'Font Awesome 6 Free' !important; /* یا Font Awesome 5 Free اگر نسخه ۵ دارید */
    font-weight: 900 !important;
}

/* برای آیکون‌هایی که با تگ <i> و کلاس خاص استفاده شده‌اند */
i[class^="fa-"], i[class*=" fa-"],
span[class^="fa-"], span[class*=" fa-"] {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}


/* مخفی کردن اطلاعات نویسنده، تاریخ، دسته و بازدید */
div.article-info,
.article-info-term,
.createdby,
.category-name,
.create-date,
.hits,
.dd-item-title .article-info,
.dd-item-title .createdby {
    display: none !important;
}

/* اگر از ماژول مقالات استفاده می‌کنید، این خط هم مفید است */
.items-row .item .article-info,
.items-leading .item .article-info {
    display: none !important;
}

.item-title,.page-header{
    background-color: #F8F8F8;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    padding: 10px;
}
.item-title a,.page-header,.page-header h1,.page-header h2{
    text-decoration: none;
    text-shadow: #0b0b0b 0 1px 1px;
    font-size: 18px !important;
    color: #0d1536;
}
.com-content-article{
  margin-bottom: 32px;
}

a{
    text-decoration: none !important;
}
.blog-item, .com-content-article{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px !important;
    padding: 10px !important;
}


.item-image{
    width: 100% !important;
    height: auto !important;
    display: block;              /* جلوگیری از فضای اضافی inline */
}
