@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/iranyekanx/woff2/IRANYekanX-Light.woff2") format("woff2"),
    url("../fonts/iranyekanx/woff/IRANYekanX-Light.woff") format("woff");
}

@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/iranyekanx/woff2/IRANYekanX-Regular.woff2") format("woff2"),
    url("../fonts/iranyekanx/woff/IRANYekanX-Regular.woff") format("woff");
}

@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/iranyekanx/woff2/IRANYekanX-Medium.woff2") format("woff2"),
    url("../fonts/iranyekanx/woff/IRANYekanX-Medium.woff") format("woff");
}

@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/iranyekanx/woff2/IRANYekanX-Bold.woff2") format("woff2"),
    url("../fonts/iranyekanx/woff/IRANYekanX-Bold.woff") format("woff");
}

@font-face {
    font-family: IRANYekanX;
    font-style: normal;
    font-weight: 900;
    src: url("../fonts/iranyekanx/woff2/IRANYekanX-ExtraBold.woff2") format("woff2"),
    url("../fonts/iranyekanx/woff/IRANYekanX-ExtraBold.woff") format("woff");
}
/* فرض: @font-face برای IRANYekanX را قبلاً تعریف کرده‌اید */

/* 1) اعمال سراسری به عناصر متنی پایه */
html, body,
p, a, div, small, strong, em, b,
h1, h2, h3, h4, h5, h6,
ul, ol, li, dl, dt, dd,
label, legend, fieldset,
table, thead, tbody, tfoot, tr, th, td,
blockquote, q, cite,
input, textarea, select, button
{
  font-family: "IRANYekanX", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}




.sp-megamenu-parent>li>a::before, .sp-megamenu-parent>li>span::before {
right: 15px !important;}
body.rtl .sp-megamenu-parent>li.sp-has-child>a:after, body.rtl .sp-megamenu-parent>li.sp-has-child>span:after {
    content: "+"!important;
    float: left !important;
    margin-right: 5px !important;
    font-weight: 500 !important;
}

#sp-header .sp-module {
    margin-right: 20px !important;
	margin-left: auto !important;
}
#sp-header .sp-module+.header-modules {
    margin-right: 20px !important;
	margin-left: auto !important;
}
.header-modules {
    margin-right: 45px !important;
    position: relative !important;
	margin-left: auto !important;
}
@media (min-width: 992px) {
    #sp-footer #sp-footer1 {
        text-align: right !important;
    }
}
#sp-footer #sp-footer2 {
    text-align: left !important;
}
body > div.offcanvas-menu > div.offcanvas-inner > div.d-flex.header-modules.mb-3{
	    margin-right: 0px !important;
    position: relative !important;
    margin-left: auto !important;
}


.sp-megamenu-parent .sp-dropdown li>a:hover::before {
    width: 100px !important;
    margin-left: 5px !important;
	margin-right: auto !important;
}
.sp-megamenu-parent .sp-dropdown li>a::before, .sp-megamenu-parent .sp-dropdown li span:not(.sp-menu-badge):not([class*="fa-"])::before {
    content: "" !important;
    width: 0 !important;
    height: 3px !important;
    display: inline-block !important;
    background: linear-gradient(to right, var(--secondary_color), var(--primary_color)) !important;
    border-radius: 58px !important;
    position: absolute !important;
    top: 39px !important;
    transition: all 0.4s 
ease-in-out;
}
		
		
ul.social-icons>li:not(:last-child) {
    margin-left: 20px !important;
	margin-right: auto !important;
}

#sp-footer2 > div > ul > li> a > span {
    font-size: xx-large !important;
}
.portfolio-overlay {
    display: none !important;
}

/* ===========================
   RTL Overrides for list-style-1
   =========================== */
.list-style-1 ul {
    padding-right: 20px !important;
    padding-left: 0 !important;
    border-right: 2px solid var(--primary_color) !important;
    border-left: none !important;
    list-style: none !important;
}

.list-style-1 ul > li {
    position: relative !important;
    font-size: 1.125rem !important;
    line-height: 28px !important;
    padding: 0 35px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

.list-style-1 ul > li:not(:last-child) {
    margin-bottom: 15px !important;
}

.list-style-1 ul > li:before {
    content: "" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: var(--primary_color) !important;
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    left: auto !important;
    line-height: 28px !important;
}

.list-style-1 ul > li ul {
    padding-right: 35px !important;
    padding-left: 0 !important;
}


/* ===========================
   RTL Overrides for list-style-2
   =========================== */
.list-style-2 ul,
ul.list-style-2 {
    padding-right: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    text-align: right !important;
}

.list-style-2 ul > li,
ul.list-style-2 > li {
    position: relative !important;
    font-size: 1.125rem !important;
    color: var(--headings_color) !important;
    margin-bottom: 20px !important;
    padding: 0 55px 0 0 !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: right !important;
}

.list-style-2 ul > li:last-child,
ul.list-style-2 > li:last-child {
    margin-bottom: 0 !important;
}

.list-style-2 ul > li:before,
ul.list-style-2 > li:before {
    content: "" !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--bg_color) !important;
    box-shadow: 0 0 15px var(--shadow_color) !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    color: var(--text_color) !important;
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    left: auto !important;
    line-height: 40px !important;
}

.list-style-2 ul > li ul,
ul.list-style-2 > li ul {
    padding-right: 45px !important;
    padding-left: 0 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: right !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: 0px !important;
}
.sp-page-title {
    padding: 227px 0 0 !important;
}

.portfolio-details .portfolio-info .portfolio-info-ct ul {

    padding-right: 0 !important;
	padding-left: auto !important;

}

.portfolio-details .portfolio-info .portfolio-info-ct ul li h4 {
    margin-left: 15px !important;
	margin-right: 0px !important;
}

.portfolio-details .portfolio-header h1:after {
    content: "" !important;
    width: 31px !important;
    height: 5px !important;
    background: linear-gradient(to right, var(--secondary_color), var(--primary_color)) !important;
    display: inline-block !important;
    margin-left: 0px !important;
    margin-right: 5px !important;
}

.sp-module-title::before {
    margin-right: 0px !important;
    margin-left: 5px !important;
}
[class*="separator-2"]::before {
    left: -105px !important;
	right: auto !important;
}
.article-info>span i[class*="fa-"] {
    margin-left: 3px !important;
}

/* غیرفعال کردن کامل نشانگر سفارشی */
.cursor-follower {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* بازگرداندن رفتار طبیعی موس در کل سایت */
html, body, * {
  cursor: auto !important;
}

/* بازگرداندن حالت "دست" روی لینک‌ها */
a, button, [role="button"], input[type="submit"], input[type="button"], label[for] {
  cursor: pointer !important;
}

/* 2) مخصوص همین فهرست شبکه‌های نقشه */
.social-list a[href] {
  cursor: pointer !important;
  display: inline-flex;           /* برای کلیک‌پذیری بهتر اطراف آیکن */
  align-items: center;
}

/* 3) اطمینان از کلیک‌پذیری: اگر جایی pointer-events غیرفعال شده */
.social-list a,
.social-list a img {
  pointer-events: auto !important;
}

/* 4) اگر li قبل/بعدش pseudo-element داره که میاد رو لینک، کلیک رو نبُره */
.social-list li::before,
.social-list li::after {
  pointer-events: none !important;
}

.sp-contact-info li {
    margin: 0px 0px 0px 0px !important;
}
/* دست‌شدن لینک‌های لیست Font Awesome اجتماعی */
body a[href]{
  cursor: pointer !important;        /* specificity بالاتر از html,body,* */
}

.social-icons a[href]{
  cursor: pointer !important;
  display: inline-flex !important;   /* باکس کلیکی واضح دور آیکن */
  align-items: center;
  justify-content: center;
}

/* اگر جایی pointer-events خراب کرده باشد، بازگردان */
.social-icons a,
.social-icons a *{
  pointer-events: auto !important;
}

/* اگر شبه‌عنصر روی لینک می‌افتد، کلیک/هوور را نبُرد */
.social-icons li::before,
.social-icons li::after{
  pointer-events: none !important;
}

/* بعضی قالب‌ها روی span آیکن‌ها cursor:auto می‌گذارند؛ خنثی‌سازی */
.social-icons a > span{
  cursor: inherit !important;
}

/* رفع مشکل کلیک و نشانگر روی آیکون‌های نقشه‌ها */
.social-list a,
.social-list a *,
.social-list a img {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* اطمینان از اینکه هیچ pseudo-element روی آیکون قرار نگرفته */
.social-list li::before,
.social-list li::after,
.social-list a::before,
.social-list a::after {
  pointer-events: none !important;
}

/* برای برخی قالب‌ها که display خاصی روی img می‌گذارند */
.social-list a img {
  display: inline-block !important;
  z-index: 2 !important;
  position: relative !important;
}
