.elementor-40522 .elementor-element.elementor-element-41ca391e{--display:flex;}/* Start custom CSS *//* تنظیمات پایه */
.rules-page-container {
    direction: ltr;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    background: #ffffff;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

/* هدر اصلی */
.rules-main-header {
    text-align: center;
    margin-bottom: 60px;
}

.rules-main-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    font-weight: 800;
}

.header-divider {
    width: 80px;
    height: 5px;
    background: #3b82f6;
    margin: 20px auto;
    border-radius: 10px;
}

/* استایل بخش‌ها */
.rules-section {
    position: relative;
    padding: 30px;
    margin-bottom: 40px;
    background: #f8fafc;
    border-radius: 20px;
    border-left: 6px solid #e2e8f0;
    transition: 0.3s;
}

.rules-section:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    background: #ffffff;
    border-left-color: #3b82f6;
}

/* آیکون بخش‌ها */
.section-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.rules-section h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.rules-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-align: justify;
}

/* باکس هشدار و نکته */
.notice-box {
    background: #fff9f0;
    border-right: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.notice-box p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

/* بخش‌های خاص با رنگ متفاوت */
.security { border-left-color: #ef4444; }
.security:hover { border-left-color: #ef4444; }

.communication { border-left-color: #10b981; }
.communication:hover { border-left-color: #10b981; }

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .rules-page-container { padding: 15px; }
    .rules-main-header h1 { font-size: 1.8rem; }
    .rules-section { padding: 20px; }
}/* End custom CSS */