/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

@font-face {
    font-family: "IRANSansX";
    src: url("assets/fonts/iransansX/WOFF2/IRANSansX-Regular.woff2") format("woff2"),
    url("assets/fonts/iransansX/WOFF/IRANSansX-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("assets/fonts/iransansX/WOFF2/IRANSansX-Medium.woff2") format("woff2"),
    url("assets/fonts/iransansX/WOFF/IRANSansX-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("assets/fonts/iransansX/WOFF2/IRANSansX-Bold.woff2") format("woff2"),
    url("assets/fonts/iransansX/WOFF/IRANSansX-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html body,
html body .elementor-widget-container,
html body .elementor-widget-text-editor,
html body input,
html body p,
html body textarea,
html body select,
html body button,
html body a,
html body .elementor-button-text,
html body .menu-item a,
html body .elementor-icon-list-text {
    font-family: "IRANSansX", sans-serif !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .elementor-heading-title {
    font-family: "IRANSansX", sans-serif !important;
    font-weight: 700;
}
/* لینک‌ها */
.sv-nav .elementor-nav-menu--main .elementor-item {
    position: relative;
    z-index: 0;
    padding: 10px 20px;
    color: #444;
    transition: color .25s;
}

/* زمینه‌ی سرمه‌ای کج (پشت متن) */
.sv-nav .elementor-nav-menu--main .elementor-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #12304f !important;
    transform: skewX(-15deg) scaleX(0);
    transform-origin: right center;
    transition: transform .7s ease;
    z-index: -1;
}

/* هاور و آیتم فعال */
.sv-nav .elementor-nav-menu--main .elementor-item:hover,
.sv-nav .elementor-nav-menu--main .elementor-item.elementor-item-active,
.sv-nav .elementor-nav-menu--main .elementor-item:focus {
    color: #fff;
}

.sv-nav .elementor-nav-menu--main .elementor-item:hover::before,
.sv-nav .elementor-nav-menu--main .elementor-item.elementor-item-active::before,
.sv-nav .elementor-nav-menu--main .elementor-item:focus::before {
    transform: skewX(-15deg) scaleX(1);
}

/* حذف افکت‌های پیش‌فرض المنتور (خط زیر، ::after) */
.sv-nav .elementor-nav-menu--main .elementor-item::after {
    display: none !important;
}