.elementor-12231 .elementor-element.elementor-element-1e42336{--display:flex;}/* Start custom CSS for container, class: .elementor-element-1e42336 *//* --- General Page Styling (post-12231) --- */
.page-id-12231 .entry-content {
    font-family: 'Inter', sans-serif; /* Or your preferred theme font */
    color: #4A5568; /* Default text color */
    line-height: 1.7;
}

/* --- Main Content Containers (Elementor sections) --- */
.page-id-12231 .elementor-element-1e42336, /* Container for Termly iframe */
.page-id-12231 .elementor-element-efcb7bf  /* Container for Arabic text */ {
    max-width: 900px; /* Control overall width */
    margin: 2em auto; /* Center the content with some top/bottom margin */
    padding: 25px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Specific margin for the second box if needed - REDUCED GAP HERE */
.page-id-12231 .elementor-element-efcb7bf {
    margin-top: 1em; /* Reduced from 2.5em to decrease the gap */
}


/* --- Styling for the Termly iFrame Container --- */
.page-id-12231 .elementor-element-69c759f5 .elementor-widget-container {
    /* This container holds the iframe and the script */
}

.page-id-12231 .elementor-element-69c759f5 iframe[data-testid="policy-iframe"] {
    width: 100% !important; /* Ensure iframe takes full width of its container */
    min-height: 500px; /* Set a minimum height, adjust as needed */
    /* The height is dynamically set by Termly script, but we can guide it */
    border-radius: 6px; /* Optional: if you want rounded corners on the iframe itself */
    display: block; /* Remove any extra space below */
}

/* --- Styling for the Arabic Text Content --- */
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container {
    /* Styles for the container of the Arabic text if needed */
}

.page-id-12231 .elementor-element-af164c3 .elementor-widget-container p {
    font-size: 1rem; /* Adjust as needed for Arabic readability */
    margin-bottom: 1.2em;
    line-height: 1.8; /* Slightly more line height for Arabic can be good */
}

/* Main Title and "Last Updated" line for Arabic section */
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:first-child {
    font-size: 1.6rem; /* Larger for the main title "الشروط و الأحكام" */
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 0.2em; /* Less margin if it's a title */
}
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(2) { /* "الموافقة على شروطنا القانونية" line */
    font-size: 1.1rem;
    font-weight: 500;
    color: #2D3748;
    margin-bottom: 0.5em;
}
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(3) { /* The paragraph starting with "نحن شركة Datasky" */
    font-size: 0.95rem;
    color: #4A5568;
    margin-bottom: 1.5em;
}
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(4) { /* The paragraph starting with "تشكل هذه الشروط القانونية" */
    font-size: 0.95rem;
    color: #4A5568;
    margin-bottom: 1.5em;
    padding: 15px;
    background-color: #f8fafc; /* Light background for emphasis */
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}


/* Styling for numbered headings like "1. خدماتنا", "2. حقوق الملكية الفكرية" */
/* Assuming these are within <p> tags and start with a number then a dot.
   A more robust way would be to use actual <h2> or <h3> tags in Elementor.
   This CSS attempts to style them based on common patterns.
*/
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container p > strong { /* If headings are just bolded text within p */
    /* This might be too general. Let's try to be more specific if possible. */
}

/* Target paragraphs that look like numbered headings */
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container p[style*="text-align: right;"] {
    /* This targets all right-aligned paragraphs. We need more specificity. */
}

/* If your numbered headings are structured like <p><strong>1. خدماتنا</strong></p>
   or <p>1- خدماتنا</p> or similar, this is harder to target precisely without specific classes or HTML structure.
   Let's assume for now they are simple <p> tags that might need manual classing or changing to H-tags in Elementor.
   For now, general heading styles:
*/
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container h1,
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container h2,
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container h3,
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container h4 {
    color: #1A202C;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-weight: 600;
}
/* If "جدول المحتويات" is an actual heading */
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container p:contains("جدول المحتويات") {
    /* jQuery .elementor-12231 .elementor-element.elementor-element-1e42336, not pure CSS. Better to use H-tag */
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A202C;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.3em;
}


.page-id-12231 .elementor-element-af164c3 .elementor-widget-container ul {
    list-style-type: disc;
    margin-bottom: 1.2em;
    padding-inline-start: 30px;
}

.page-id-12231 .elementor-element-af164c3 .elementor-widget-container ul li {
    margin-bottom: 0.5em;
}
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container ul li strong {
    font-weight: 600;
    color: #374151;
}


.page-id-12231 .elementor-element-af164c3 .elementor-widget-container a {
    color: #2b6cb0;
    text-decoration: underline;
}
.page-id-12231 .elementor-element-af164c3 .elementor-widget-container a:hover {
    color: #2c5282;
}


/* --- Mobile Specific Styles --- */
@media (max-width: 767px) {
    .page-id-12231 .elementor-element-1e42336,
    .page-id-12231 .elementor-element-efcb7bf {
        padding: 20px 15px;
        margin: 1.5em 10px; /* General margin for mobile */
    }
    /* Adjust top margin specifically for the second box on mobile too */
    .page-id-12231 .elementor-element-efcb7bf {
        margin-top: 1em; /* Consistent reduced gap on mobile */
    }


    .page-id-12231 .elementor-element-69c759f5 iframe[data-testid="policy-iframe"] {
        min-height: 400px;
    }

    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:first-child {
        font-size: 1.4rem;
    }
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(2) {
        font-size: 1rem;
    }
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(3),
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(4) {
        font-size: 0.9rem;
    }
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:nth-child(4) {
        padding: 10px;
    }


    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container p {
        font-size: 0.95rem;
    }
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container p:contains("جدول المحتويات") {
        font-size: 1.2rem;
    }


    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container ul {
        padding-inline-start: 20px;
    }
}

@media (max-width: 480px) {
    .page-id-12231 .elementor-element-1e42336,
    .page-id-12231 .elementor-element-efcb7bf {
        margin: 1em 5px; /* General margin for very small screens */
        padding: 15px 10px;
    }
     .page-id-12231 .elementor-element-efcb7bf {
        margin-top: 0.8em; /* Further reduced gap on very small screens */
    }

    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container > p:first-child {
        font-size: 1.3rem;
    }
    .page-id-12231 .elementor-element-af164c3 .elementor-widget-container p {
        font-size: 0.9rem;
        line-height: 1.75;
    }
}

/*////////////////hide policies/////////////////////////////////////////////

/*
================================================================
Option 1: CSS (Recommended)
================================================================
Add this code to your WordPress Customizer's "Additional CSS" section.
It hides the element if the <html> tag has the language attribute for Arabic (`lang="ar"`),
which is standard for multilingual WordPress sites.
*/

html[lang="ar"] .elementor-element[data-id="309deb8"] {
    display: none !important;
}



html:not([lang="ar"]) .elementor-element[data-id="19562d4"] {
    display: none !important;
}/* End custom CSS */