.elementor-3619 .elementor-element.elementor-element-971697c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}/* Start custom CSS for html, class: .elementor-element-95f9479 *//* تعریف متغیرهای ریشه برای مدیریت یکپارچه سیستم طراحی */
.bahman-terms-wrapper {
    --primary-color: #B45309; /* اخرایی طلایی */
    --secondary-color: #0F172A; /* سرمه‌ای نیمه‌شب */
    --bg-color: #F3F2F0; /* گریژ روشن */
    --text-color: #1E293B; /* رنگ متن بدنه */
    --text-muted: #475569; /* رنگ متن توضیحات فرعی */
    --border-color: rgba(15, 23, 42, 0.08);
    
    font-family: 'Yekan Bakh', 'Dana', 'Vazirmatn', sans-serif;
    direction: rtl;
    background-color: var(--bg-color);
    max-width: 56.25rem; /* عرض استاندارد برای خوانایی بهتر خطوط */
    margin: 0 auto;
    padding: 3.75rem 2rem; 
    color: var(--secondary-color);
    animation: fadeIn 0.8s ease-out forwards;
}

/* اصلاح رنگ متن هنگام انتخاب (Highlight) */
.bahman-terms-wrapper ::selection {
    background-color: var(--primary-color);
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- تنظیمات هدر --- */
.bahman-terms-wrapper .terms-header {
    text-align: center;
    margin-bottom: 3.125rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1.875rem;
}

.bahman-terms-wrapper .terms-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.bahman-terms-wrapper .terms-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 45rem;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- تنظیمات بخش‌های حقوقی --- */
.bahman-terms-wrapper .terms-section {
    margin-bottom: 2.8125rem;
}

.bahman-terms-wrapper .terms-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bahman-terms-wrapper .section-body p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 2.2; /* ارتفاع خط استاندارد برای دسکتاپ */
    text-align: justify;
    text-align-last: right;
    margin-bottom: 1rem;
}

.bahman-terms-wrapper .section-body strong {
    color: var(--secondary-color);
    font-weight: 800;
}

/* دسترسی‌پذیری: استایل فوکوس برای پیمایش با کیبورد */
.bahman-terms-wrapper a:focus-visible,
.bahman-terms-wrapper section:focus-visible {
    outline: 3px dashed var(--primary-color);
    outline-offset: 4px;
}

/* --- تنظیمات لیست‌ها --- */
.bahman-terms-wrapper .terms-list {
    list-style-type: none;
    padding-right: 0;
    margin-right: 0;
}

.bahman-terms-wrapper .terms-list li {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 2.2; /* هماهنگ با بدنه پاراگراف */
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 1.25rem;
    text-align: justify;
    text-align-last: right;
}

/* رفع باگ تراز گلوله‌ها: استفاده از em به جای px برای هم‌ترازی دقیق با مرکز خط اول */
.bahman-terms-wrapper .terms-list li::before {
    content: "■";
    position: absolute;
    right: 0;
    top: 0.55em; 
    color: var(--primary-color);
    font-size: 0.65rem;
}

/* --- بند ویژه و خط قرمز (مرزبندی بالینی) --- */
.bahman-terms-wrapper .terms-highlight {
    background-color: #ffffff;
    border-right: 0.35rem solid var(--primary-color);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-top: 1rem;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.bahman-terms-wrapper .terms-highlight:hover {
    transform: translateY(-2px);
}

.bahman-terms-wrapper .terms-highlight h2 {
    color: var(--secondary-color);
}

.bahman-terms-wrapper .terms-highlight p {
    margin-bottom: 0;
}

/* =========================================
   مدیریت نسخه موبایل و تبلت (رفع باگ‌های UX)
   ========================================= */
@media (max-width: 48rem) { 
    .bahman-terms-wrapper {
        /* افزایش فضای تنفس (Padding) در لبه‌های موبایل */
        padding: 2.5rem 1.5rem; 
    }

    .bahman-terms-wrapper .terms-main-title {
        font-size: 1.6rem;
    }

    .bahman-terms-wrapper .terms-section h2 {
        font-size: 1.2rem;
    }

    .bahman-terms-wrapper .section-body p,
    .bahman-terms-wrapper .terms-list li {
        font-size: 0.95rem;
        /* کاهش ارتفاع خطوط برای جلوگیری از اسکرول طولانی در موبایل */
        line-height: 1.85; 
        /* لغو Justify و تغییر به راست‌چین مطلق برای رفع رودخانه‌های سفید */
        text-align: right; 
        text-align-last: auto; 
    }

    /* تنظیم مجدد جایگاه گلوله لیست متناسب با لاین‌هایتِ جدیدِ موبایل */
    .bahman-terms-wrapper .terms-list li::before {
        top: 0.45em; 
    }

    .bahman-terms-wrapper .terms-highlight {
        padding: 1.5rem;
        /* ضخیم‌تر کردن خط قرمز در موبایل برای جلب توجه بیشتر */
        border-right-width: 0.5rem; 
    }
}

/* =========================================
   استایل مخصوص چاپ (Print Stylesheet)
   ========================================= */
@media print {
    .bahman-terms-wrapper {
        background-color: transparent;
        color: #000000;
        padding: 0;
        max-width: 100%;
        animation: none; /* حذف انیمیشن برای چاپ تمیز */
    }
    
    .bahman-terms-wrapper .terms-main-title,
    .bahman-terms-wrapper .terms-section h2,
    .bahman-terms-wrapper .section-body strong,
    .bahman-terms-wrapper .terms-list li::before {
        color: #000000;
    }
    
    .bahman-terms-wrapper .terms-highlight {
        box-shadow: none;
        border: 1px solid #cccccc;
        border-right: 4px solid #000000;
        page-break-inside: avoid; /* جلوگیری از نصف شدن باکس در دو صفحه */
    }

    .bahman-terms-wrapper .terms-section {
        page-break-inside: avoid;
    }
    
    .bahman-terms-wrapper .terms-header {
        border-bottom: 1px solid #000000;
    }
}/* End custom CSS */