.elementor-222 .elementor-element.elementor-element-6f0d9cb{--display:flex;--min-height:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-3c9a8be *//* =====================================================
   IPAH GLASS HEADER
   سربرگ شیشه‌ای اختصاصی انجمن
===================================================== */

:root {
    --ipah-navy: #05165c;
    --ipah-navy-dark: #020d2e;
    --ipah-navy-medium: #071d4f;

    --ipah-gold: #d5a649;
    --ipah-gold-light: #efc978;

    --ipah-white: #ffffff;
    --ipah-text-soft: rgba(255, 255, 255, 0.78);

    --ipah-header-height: 94px;
}


/* =====================================================
   حذف فاصله سفید بالای صفحه
===================================================== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    overflow-x: hidden;
}

body.ipah-menu-open {
    overflow: hidden;
}

.ipah-glass-header,
.ipah-glass-header *,
.ipah-glass-header *::before,
.ipah-glass-header *::after {
    box-sizing: border-box;
}


/* =====================================================
   ساختار اصلی سربرگ
===================================================== */

.ipah-glass-header {
    position: absolute;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 9999;

    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    color: var(--ipah-white);
    font-family: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(2, 13, 46, 0.66) 0%,
            rgba(5, 22, 92, 0.32) 100%
        );

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);

    -webkit-backdrop-filter:
        blur(7px) saturate(112%);
    backdrop-filter:
        blur(7px) saturate(112%);

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.08);

    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);

    will-change: transform, opacity;

    transition:
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 300ms ease,
        visibility 300ms ease;
}


/* هدر هنگام اسکرول مخفی می‌شود */

.ipah-glass-header.is-hidden {
    opacity: 0;
    visibility: hidden;

    transform:
        translate3d(0, calc(-100% - 15px), 0);

    pointer-events: none;
}


/* هنگام باز بودن منوی موبایل، هدر مخفی نشود */

.ipah-glass-header.is-menu-active {
    opacity: 1;
    visibility: visible;

    transform: translate3d(0, 0, 0);

    pointer-events: auto;
}


/* =====================================================
   حذف فاصله احتمالی کانتینر والد Elementor
===================================================== */

.elementor-widget-html:has(.ipah-glass-header),
.elementor-widget-html:has(.ipah-glass-header)
.elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}


/*
اگر مرورگر :has را پشتیبانی نکند، به کانتینر والد هدر
در Elementor کلاس ipah-header-parent بده و این بخش اجرا می‌شود.
*/

.ipah-header-parent,
.ipah-header-parent > .e-con-inner,
.ipah-header-parent > .elementor-widget,
.ipah-header-parent .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =====================================================
   نوار مدیریت وردپرس
===================================================== */

body.admin-bar .ipah-glass-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {

    body.admin-bar .ipah-glass-header {
        top: 46px !important;
    }
}


/* =====================================================
   کانتینر داخلی
===================================================== */

.ipah-glass-header__container {
    position: relative;
    z-index: 3;

    width: min(calc(100% - 48px), 1500px);
    min-height: var(--ipah-header-height);
    margin-inline: auto;

    display: flex;
    align-items: center;
    gap: 30px;
}


/* =====================================================
   برند و لوگو
===================================================== */

.ipah-glass-header__brand {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--ipah-white);
    text-decoration: none;
}

.ipah-glass-header__logo {
    flex: 0 0 auto;

    width: 70px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ipah-glass-header__logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.20));
}

.ipah-glass-header__brand-text {
    min-width: 185px;
    padding-left: 22px;

    display: flex;
    flex-direction: column;
    gap: 3px;

    border-left:
        1px solid rgba(213, 166, 73, 0.34);

    font-size: 13px;
    line-height: 1.7;
    white-space: nowrap;
}

.ipah-glass-header__brand-text strong {
    color: var(--ipah-white);
    font-weight: 800;
}

.ipah-glass-header__brand-text span {
    color: var(--ipah-text-soft);
    font-weight: 600;
}


/* =====================================================
   منوی دسکتاپ
===================================================== */

.ipah-glass-header__nav {
    flex: 1;
    min-width: 0;
}

.ipah-glass-header__menu {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.7vw, 32px);

    list-style: none;
}

.ipah-glass-header__item {
    position: relative;
}

.ipah-glass-header__item > a,
.ipah-glass-header__submenu-trigger {
    position: relative;

    min-height: 52px;
    padding: 8px 0;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 0;
    outline: 0;

    background: transparent;
    color: rgba(255, 255, 255, 0.94);

    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition: color 220ms ease;
}

.ipah-glass-header__submenu-trigger svg {
    width: 16px;
    height: 16px;

    color: var(--ipah-gold-light);

    transition: transform 220ms ease;
}

.ipah-glass-header__item > a::after,
.ipah-glass-header__submenu-trigger::after {
    content: "";

    position: absolute;
    right: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--ipah-gold-light),
            transparent
        );

    transform: translateX(50%);

    transition: width 240ms ease;
}

.ipah-glass-header__item:hover > a,
.ipah-glass-header__item:hover
.ipah-glass-header__submenu-trigger,
.ipah-glass-header__item.is-current > a {
    color: var(--ipah-gold-light);
}

.ipah-glass-header__item:hover > a::after,
.ipah-glass-header__item:hover
.ipah-glass-header__submenu-trigger::after,
.ipah-glass-header__item.is-current > a::after {
    width: 100%;
}


/* =====================================================
   زیرمنوی دسکتاپ
===================================================== */

.ipah-glass-header__submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: -22px;
    z-index: 80;

    width: 230px;
    margin: 0;
    padding: 10px;

    visibility: hidden;
    opacity: 0;

    border:
        1px solid rgba(213, 166, 73, 0.25);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(7, 29, 79, 0.97),
            rgba(2, 13, 46, 0.98)
        );

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.30);

    list-style: none;

    transform: translateY(10px);

    transition:
        visibility 220ms ease,
        opacity 220ms ease,
        transform 220ms ease;
}

.ipah-glass-header__submenu::before {
    content: "";

    position: absolute;
    top: -14px;
    right: 0;

    width: 100%;
    height: 16px;
}

.ipah-glass-header__submenu a {
    display: block;

    padding: 12px 14px;

    border-radius: 11px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    text-decoration: none;

    transition:
        color 200ms ease,
        background-color 200ms ease,
        padding-right 200ms ease;
}

.ipah-glass-header__submenu a:hover {
    padding-right: 19px;

    background:
        rgba(213, 166, 73, 0.12);

    color: var(--ipah-gold-light);
}

.ipah-has-submenu:hover
.ipah-glass-header__submenu,
.ipah-has-submenu.is-open
.ipah-glass-header__submenu {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}

.ipah-has-submenu.is-open
.ipah-glass-header__submenu-trigger svg {
    transform: rotate(180deg);
}


/* =====================================================
   ابزارهای سربرگ
===================================================== */

.ipah-glass-header__actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 13px;
}


/* پرچم */

.ipah-glass-header__flag {
    position: relative;

    width: 62px;
    height: 44px;
    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.07);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 8px 20px rgba(0, 0, 0, 0.14);
}

.ipah-glass-header__flag img {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 7px;
    object-fit: cover;
}


/* دکمه عضویت */

.ipah-glass-header__membership {
    min-height: 50px;
    padding: 10px 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border:
        1px solid rgba(213, 166, 73, 0.72);
    border-radius: 14px;

    background:
        rgba(2, 13, 46, 0.25);

    color: var(--ipah-gold-light);

    font-size: 13px;
    line-height: 1;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    transition:
        color 220ms ease,
        background 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

.ipah-glass-header__membership svg {
    width: 21px;
    height: 21px;
}

.ipah-glass-header__membership:hover {
    color: var(--ipah-navy-dark);

    background:
        linear-gradient(
            135deg,
            var(--ipah-gold-light),
            var(--ipah-gold)
        );

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);

    transform: translateY(-2px);
}


/* =====================================================
   دکمه منوی موبایل
===================================================== */

.ipah-glass-header__toggle {
    width: 46px;
    height: 46px;
    padding: 0;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border:
        1px solid rgba(213, 166, 73, 0.40);
    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.06);

    cursor: pointer;
}

.ipah-glass-header__toggle span {
    width: 22px;
    height: 2px;

    border-radius: 20px;

    background: var(--ipah-white);

    transition:
        transform 240ms ease,
        opacity 240ms ease;
}

.ipah-glass-header__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ipah-glass-header__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.ipah-glass-header__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   پنل موبایل
===================================================== */

.ipah-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10002;

    width: min(88%, 390px);
    padding-top: 94px;

    visibility: hidden;

    background:
        linear-gradient(
            160deg,
            rgba(7, 29, 79, 0.99),
            rgba(2, 13, 46, 0.99)
        );

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow:
        -25px 0 60px rgba(0, 0, 0, 0.32);

    transform: translateX(105%);

    transition:
        visibility 320ms ease,
        transform 320ms ease;
}

.ipah-mobile-panel.is-open {
    visibility: visible;
    transform: translateX(0);
}

.ipah-mobile-panel__inner {
    height: 100%;
    padding: 22px 24px 34px;

    overflow-y: auto;
}

.ipah-mobile-panel__list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.ipah-mobile-panel__list > li {
    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);
}

.ipah-mobile-panel__list a,
.ipah-mobile-submenu__trigger {
    width: 100%;
    min-height: 57px;
    padding: 13px 3px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border: 0;

    background: transparent;
    color: var(--ipah-white);

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    text-decoration: none;

    cursor: pointer;
}

.ipah-mobile-submenu__trigger svg {
    width: 18px;
    height: 18px;

    color: var(--ipah-gold);

    transition: transform 220ms ease;
}

.ipah-mobile-submenu.is-open
.ipah-mobile-submenu__trigger svg {
    transform: rotate(180deg);
}

.ipah-mobile-submenu__list {
    display: grid;
    grid-template-rows: 0fr;

    margin: 0;
    padding: 0 13px;

    list-style: none;

    transition: grid-template-rows 260ms ease;
}

.ipah-mobile-submenu__list > li {
    overflow: hidden;
}

.ipah-mobile-submenu.is-open
.ipah-mobile-submenu__list {
    grid-template-rows: 1fr;
}

.ipah-mobile-submenu__list a {
    min-height: 46px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
}

.ipah-mobile-panel__membership {
    min-height: 52px;
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--ipah-gold-light),
            var(--ipah-gold)
        );

    color: var(--ipah-navy-dark);

    font-weight: 800;
    text-decoration: none;
}


/* =====================================================
   لایه پشت منوی موبایل
===================================================== */

.ipah-glass-header__overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;

    display: block;

    visibility: hidden;
    opacity: 0;

    border: 0;

    background:
        rgba(0, 8, 28, 0.72);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    transition:
        visibility 300ms ease,
        opacity 300ms ease;
}

.ipah-glass-header__overlay.is-visible {
    visibility: visible;
    opacity: 1;
}


/* =====================================================
   دسکتاپ متوسط
===================================================== */

@media (max-width: 1280px) {

    .ipah-glass-header__container {
        width: min(calc(100% - 32px), 1220px);
        gap: 20px;
    }

    .ipah-glass-header__logo {
        width: 62px;
        height: 73px;
    }

    .ipah-glass-header__brand-text {
        min-width: 170px;
        padding-left: 15px;

        font-size: 12px;
    }

    .ipah-glass-header__menu {
        gap: 18px;
    }

    .ipah-glass-header__item > a,
    .ipah-glass-header__submenu-trigger {
        font-size: 13px;
    }

    .ipah-glass-header__membership {
        padding-inline: 14px;
    }
}


/* =====================================================
   تبلت
===================================================== */

@media (max-width: 1024px) {

    :root {
        --ipah-header-height: 86px;
    }

    .ipah-glass-header__nav,
    .ipah-glass-header__membership {
        display: none;
    }

    .ipah-glass-header__brand {
        flex: 1;
    }

    .ipah-glass-header__brand-text {
        border-left: 0;
    }

    .ipah-glass-header__toggle {
        display: flex;
    }
}


/* =====================================================
   موبایل
===================================================== */

@media (max-width: 620px) {

    :root {
        --ipah-header-height: 76px;
    }

    .ipah-glass-header {
        background:
            linear-gradient(
                180deg,
                rgba(2, 13, 46, 0.72),
                rgba(5, 22, 92, 0.40)
            );
    }

    .ipah-glass-header__container {
        width: calc(100% - 22px);
        gap: 9px;
    }

    .ipah-glass-header__logo {
        width: 49px;
        height: 58px;
    }

    .ipah-glass-header__brand {
        gap: 8px;
    }

    .ipah-glass-header__brand-text {
        min-width: 0;
        padding-left: 0;

        font-size: 10px;
        line-height: 1.55;
    }

    .ipah-glass-header__actions {
        gap: 8px;
    }

    .ipah-glass-header__flag {
        width: 48px;
        height: 36px;
        padding: 4px;

        border-radius: 9px;
    }

    .ipah-glass-header__toggle {
        width: 42px;
        height: 42px;
    }

    .ipah-mobile-panel {
        padding-top: 76px;
    }
}

@media (max-width: 440px) {

    .ipah-glass-header__brand-text {
        display: none;
    }

    .ipah-glass-header__flag {
        width: 46px;
        height: 34px;
    }
}


/* =====================================================
   کاهش انیمیشن
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .ipah-glass-header,
    .ipah-glass-header *,
    .ipah-glass-header *::before,
    .ipah-glass-header *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}/* End custom CSS */