
/* Scoped to Elementor containers that receive the optional CSS classes. */

.ta-axis-top,
.ta-axis-bottom {
    box-sizing: border-box !important;
    position: relative !important;
}

/* رنگ اصلی نوار بالایی هدر */
.ta-axis-top {
    background-color: #2E68A5 !important;
    overflow: visible !important;
}

/* قسمت پایینی هدر */
.ta-axis-bottom {
    background-color: var(--tach-white, #fff) !important;
    overflow: visible !important;
    isolation: isolate;
    min-height: var(--tach-depth, 52px);
}

/* منحنی اصلی هدر - بدون تغییر شکل */

.ta-axis-bottom::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;

    width: var(--tach-width, 210px);
    height: calc(var(--tach-depth, 52px) + 1px);

    /* رنگ منحنی */
    background: #2E68A5 !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 110' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 H320 C240 0 205 34 163 75 C140 98 124 110 87 110 H0 Z'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 110' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 H320 C240 0 205 34 163 75 C140 98 124 110 87 110 H0 Z'/%3E%3C/svg%3E");

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    z-index: 0;
    pointer-events: none;
}

/* حفظ محتوای داخل هدر */

.ta-axis-bottom > * {
    position: relative;
    z-index: 1;
}

/* جلوگیری از بریده شدن منحنی */

.ta-axis-header {
    overflow: visible !important;
}

/* تنظیمات موبایل - بدون تغییر */

@media (max-width: 767px) {

    .ta-axis-bottom::before {
        display: none !important;
    }

    .ta-axis-bottom {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}
