@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}
#offcanvas-toggler i {
    color: #000 !important;
}
#offcanvas-toggler .icon-bar,
#offcanvas-toggler .burger-icon span {
    background-color: #000 !important;
}
/* آیتم‌های فعال یا Hover شده */
#menu a:focus,
#menu .current,
#menu .active,
#menu a.menu-link-active {
    color: #e2c963 !important; /* رنگ مورد نظر */
}
.article-header-wrap {
    position: relative;
    overflow: hidden;
}

.article-header-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* میزان تیرگی */
    z-index: 1;
    pointer-events: none;
}

.article-header-wrap img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.article-header-wrap .page-title,
.article-header-wrap h1 {
    position: relative;
    z-index: 2;
    color: #fff;
}
/* ۱. حذف لایه آبی، علامت مثبت و متن‌های روی عکس */
.sp-portfolio-item .sp-portfolio-overlay {
    display: none !important;
}

/* ۲. تنظیم باکس تصویر برای اسکرول */
.sp-portfolio-item .sp-portfolio-image {
    height: 280px !important; /* ارتفاع باکسی که کاربر میبینه */
    overflow: hidden !important;
    position: relative !important;
    border-radius: 8px; /* خوشگل‌تر شدن گوشه‌ها */
}

/* ۳. تنظیم خودِ عکس برای حرکت */
.sp-portfolio-item .sp-portfolio-image img {
    width: 100% !important;
    position: absolute !important;
    top: 0 !important;
    transition: all 5s ease-in-out !important; /* سرعت حرکت */
    display: block !important;
}

/* ۴. اجرای اسکرول وقتی موس میره روی کارت */
.sp-portfolio-item:hover .sp-portfolio-image img {
    top: -75% !important; /* این عدد رو بسته به طول عکست تنظیم کن */
}
