/* --- Shared Styles for Policy Pages (Terms, Privacy, etc.) --- */

/* Page Title (Consistent with other pages) */
.page-title-section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #444;
}
.page-title-section h1 {
    font-size: 3rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Main Policy Section */
.policy-section {
    padding: 60px 0;
}
.last-updated {
    text-align: center;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 40px;
}

/* Two-Column Layout */
.policy-grid {
    display: flex;
    gap: 50px;
}
.policy-column {
    flex: 1; /* Each column takes up half the space */
    background-color: #2c2929;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #444;
}

/* Language-Specific Direction */
.arabic-column {
    direction: rtl; /* Crucial for right-to-left text */
}
.english-column {
    direction: ltr; /* Default, but good to be explicit */
}

/* Content Styling inside columns */
.policy-column h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}
.policy-column h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
}
.policy-column p, .policy-column li {
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 15px;
}
.policy-column a {
    color: var(--primary-color);
    text-decoration: underline;
}
.policy-column ol {
    padding-right: 20px; /* For Arabic list indentation */
}
.english-column ol {
    padding-left: 20px; /* For English list indentation */
    padding-right: 0;
}

/* Special Box for Mandatory Notices */
.legal-notice-box {
    margin-top: 40px;
    padding: 25px;
    background-color: #1a1818;
    border-radius: 5px;
    border: 1px solid #555;
}
.legal-notice-box h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.legal-notice-box p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.7;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .policy-grid {
        flex-direction: column; /* Stack columns vertically */
    }
}
@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 2.2rem;
    }
    .policy-column h2 {
        font-size: 1.5rem;
    }
}