/* =========================================================
   ALEYADA GLOBAL LAYOUT GUARD V3
   Astra full-width normalization
========================================================= */


/* =========================================================
   DOCUMENT
========================================================= */

html,
body{
    max-width:100%;
    overflow-x:clip;
}


/* =========================================================
   ASTRA SITE CONTENT
========================================================= */

.site-content{
    width:100%;
    max-width:none;

    margin:0;
    padding:0;
}


/* =========================================================
   ASTRA CONTAINER
   Remove the inherited horizontal offset.
========================================================= */

.site-content > .ast-container{

    width:100% !important;
    max-width:none !important;

    margin-left:auto !important;
    margin-right:auto !important;

    padding-left:0 !important;
    padding-right:0 !important;

    display:block !important;
}


/* =========================================================
   PRIMARY COLUMN
========================================================= */

#primary,
.content-area{

    float:none !important;

    width:100% !important;
    max-width:none !important;

    margin-left:0 !important;
    margin-right:0 !important;

    padding-left:0 !important;
    padding-right:0 !important;

    border:0 !important;
}


/* =========================================================
   NO SIDEBAR
========================================================= */

body.ast-no-sidebar #primary{

    width:100% !important;

    margin-left:0 !important;
    margin-right:0 !important;
}


body.ast-no-sidebar #secondary{

    display:none !important;
}


/* =========================================================
   ENTRY CONTENT
========================================================= */

.entry-content{

    width:100%;

    margin-left:0;
    margin-right:0;
}


/* =========================================================
   CUSTOM ALEYADA ROOTS
========================================================= */

.dr-profile-page,
.ay-blog-page,
.ay-single-post-page,
.ay-about-page,
.ay-contact-page,
.ay-facility-page,
.ay-medical-facility-page{

    width:100%;
    max-width:none;

    margin-left:0;
    margin-right:0;
}


/* =========================================================
   ELEMENTOR SAFETY
========================================================= */

.elementor-page
.site-content > .ast-container{

    width:100% !important;
    max-width:none !important;

    padding-left:0 !important;
    padding-right:0 !important;
}


/* =========================================================
   FULL-WIDTH ELEMENTOR ROOT
========================================================= */

.elementor-page
#primary{

    width:100% !important;
    max-width:none !important;

    margin:0 !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:640px){

    html,
    body{
        width:100%;
    }

}
/* =========================================================
   ALEYADA LEGAL PAGES
========================================================= */

.ay-legal-page-body .entry-header,
.ay-legal-page-body .entry-title{
    display:none !important;
}

.ay-legal-page-body #primary,
.ay-legal-page-body .site-main,
.ay-legal-page-body article.page,
.ay-legal-page-body .entry-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

.ay-legal-page{
    width:100%;
    padding:46px 0 72px;
    background:#f3f8fd;
    color:#17314b;
}

.ay-legal-container{
    width:min(1080px, calc(100% - 40px));
    margin:0 auto;
}

.ay-legal-hero{
    margin-top:24px;
    padding:38px 42px;
    border:1px solid #d7e5f1;
    border-radius:24px;
    background:#fff;
    box-shadow:0 14px 40px rgba(24,64,104,.06);
}

.ay-legal-label{
    display:inline-flex;
    margin-bottom:10px;
    padding:7px 12px;
    border-radius:999px;
    color:#0867c9;
    background:#e9f3ff;
    font-size:13px;
    font-weight:800;
}

.ay-legal-hero h1{
    margin:0 0 12px;
    color:#0d2947;
    font-size:clamp(34px, 4vw, 52px);
    line-height:1.35;
}

.ay-legal-hero p{
    max-width:820px;
    margin:0 0 12px;
    color:#5f7288;
    font-size:17px;
    line-height:1.9;
}

.ay-legal-hero small{
    color:#7d8ea0;
    font-size:13px;
}

.ay-legal-content{
    margin-top:24px;
    padding:34px 42px;
    border:1px solid #d7e5f1;
    border-radius:24px;
    background:#fff;
}

.ay-legal-content section + section{
    margin-top:34px;
    padding-top:30px;
    border-top:1px solid #e6eef5;
}

.ay-legal-content h2{
    margin:0 0 12px;
    color:#0d2947;
    font-size:24px;
    line-height:1.5;
}

.ay-legal-content p,
.ay-legal-content li{
    color:#3f5870;
    font-size:16px;
    line-height:2;
}

.ay-legal-content p{
    margin:0 0 12px;
}

.ay-legal-content ul{
    margin:10px 0 0;
    padding-right:22px;
}

.ay-legal-content a,
.ay-legal-contact a{
    color:#0867c9;
    font-weight:800;
    text-decoration:none;
}

.ay-legal-contact{
    margin-top:24px;
    padding:26px 30px;
    border-radius:20px;
    background:#0d355e;
    color:#fff;
}

.ay-legal-contact h2{
    margin:0 0 8px;
    color:#fff;
    font-size:22px;
}

.ay-legal-contact p{
    margin:0 0 8px;
    color:rgba(255,255,255,.78);
    line-height:1.8;
}

.ay-legal-contact a{
    color:#fff;
}

.ay-legal-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px 12px;
}

.ay-legal-links a{
    color:inherit;
    text-decoration:none;
}

.ay-legal-links a:hover{
    text-decoration:underline;
}

@media(max-width:640px){
    .ay-legal-page{
        padding:28px 0 50px;
    }

    .ay-legal-container{
        width:calc(100% - 28px);
    }

    .ay-legal-hero,
    .ay-legal-content{
        padding:24px 20px;
        border-radius:18px;
    }

    .ay-legal-content h2{
        font-size:21px;
    }

    .ay-legal-content p,
    .ay-legal-content li{
        font-size:15px;
    }
}

/* =========================================================
   LEGAL PAGES — RTL / TYPOGRAPHY HARDENING V2
========================================================= */

body.ay-legal-page-body,
body.ay-legal-page-body .site,
body.ay-legal-page-body .site-content,
body.ay-legal-page-body .entry-content,
.ay-legal-page,
.ay-legal-page *{
    box-sizing:border-box;
}

body.ay-legal-page-body,
.ay-legal-page{
    direction:rtl !important;
    text-align:right !important;
    font-family:'Cairo', Arial, Tahoma, sans-serif !important;
}

.ay-legal-container,
.ay-legal-hero,
.ay-legal-content,
.ay-legal-contact,
.ay-page-breadcrumb{
    direction:rtl !important;
    text-align:right !important;
    font-family:'Cairo', Arial, Tahoma, sans-serif !important;
}

.ay-page-breadcrumb{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:8px;
    color:#64748b;
    font-size:14px;
}

.ay-page-breadcrumb a{
    color:#0867c9;
    font-weight:800;
    text-decoration:none;
}

.ay-page-breadcrumb i{
    color:#94a3b8;
    font-size:11px;
}

.ay-legal-hero h1,
.ay-legal-content h2,
.ay-legal-contact h2,
.ay-legal-hero p,
.ay-legal-content p,
.ay-legal-content li,
.ay-legal-contact p,
.ay-legal-label,
.ay-legal-hero small{
    font-family:'Cairo', Arial, Tahoma, sans-serif !important;
    text-align:right !important;
}

.ay-legal-content ul,
.ay-legal-content ol{
    padding-right:24px !important;
    padding-left:0 !important;
    margin-right:0;
    margin-left:0;
}

.ay-legal-content li::marker{
    color:#0867c9;
}

@media(max-width:640px){
    .ay-legal-hero h1{
        font-size:32px;
    }

    .ay-legal-hero p{
        font-size:15px;
    }
}
/* =========================================================
   ALEYADA LEGAL PAGES V4
   Privacy Policy
   Terms of Use
   Medical Disclaimer
========================================================= */


/* =========================================================
   PAGE BACKGROUND
========================================================= */

body.ay-legal-page {

    background:
        #eef5fb;

    color:
        #102d4c;

    direction:
        rtl;

    text-align:
        right;

    font-family:
        'Cairo',
        Arial,
        Tahoma,
        sans-serif;
}


/* =========================================================
   ASTRA RESET FOR LEGAL PAGES ONLY
========================================================= */

body.ay-legal-page
.site-content {

    width:
        100%;

    padding:
        0;

    background:
        #eef5fb;
}


body.ay-legal-page
.site-content > .ast-container {

    width:
        100% !important;

    max-width:
        none !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


body.ay-legal-page
#primary {

    float:
        none !important;

    width:
        100% !important;

    max-width:
        none !important;

    margin:
        0 !important;

    padding:
        0 !important;
}


body.ay-legal-page
#secondary {

    display:
        none !important;
}


/* =========================================================
   ARTICLE
========================================================= */

body.ay-legal-page
article.page {

    width:
        100%;

    margin:
        0;

    padding:
        0;
}


/* Hide Astra-generated title if present.
   The H1 is added inside the Gutenberg content. */

body.ay-legal-page
.entry-header {

    display:
        none !important;
}


/* =========================================================
   MAIN CONTENT CARD
========================================================= */

body.ay-legal-page
.entry-content {

    box-sizing:
        border-box;

    width:
        min(
            1120px,
            calc(100% - 48px)
        ) !important;

    max-width:
        1120px !important;

    margin:
        48px auto 70px !important;

    padding:
        54px 64px !important;

    border:
        1px solid
        #d8e5ef;

    border-radius:
        24px;

    background:
        #ffffff;

    box-shadow:
        0 18px 48px
        rgba(
            13,
            47,
            79,
            .065
        );

    direction:
        rtl;

    text-align:
        right;

    color:
        #173854;

    font-family:
        'Cairo',
        Arial,
        Tahoma,
        sans-serif;
}


/* =========================================================
   TYPOGRAPHY RESET
========================================================= */

body.ay-legal-page
.entry-content * {

    font-family:
        'Cairo',
        Arial,
        Tahoma,
        sans-serif;
}


body.ay-legal-page
.entry-content h1 {

    margin:
        0 0 24px;

    color:
        #0d2f50;

    font-size:
        clamp(
            36px,
            4vw,
            54px
        );

    line-height:
        1.35;

    font-weight:
        900;

    letter-spacing:
        0;

    text-align:
        right;
}


body.ay-legal-page
.entry-content h2 {

    margin:
        46px 0 18px;

    padding-top:
        4px;

    color:
        #102f4e;

    font-size:
        clamp(
            23px,
            2.3vw,
            30px
        );

    line-height:
        1.55;

    font-weight:
        900;

    text-align:
        right;
}


body.ay-legal-page
.entry-content h3 {

    margin:
        34px 0 14px;

    color:
        #123858;

    font-size:
        21px;

    line-height:
        1.55;

    font-weight:
        800;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

body.ay-legal-page
.entry-content p {

    max-width:
        none;

    margin:
        0 0 20px;

    color:
        #49677e;

    font-size:
        16px;

    line-height:
        2.05;

    font-weight:
        500;

    text-align:
        right;
}


/* First paragraph after H1 */

body.ay-legal-page
.entry-content h1 + p {

    margin-bottom:
        18px;

    color:
        #536f84;

    font-size:
        17px;

    line-height:
        2;
}


/* =========================================================
   LISTS
========================================================= */

body.ay-legal-page
.entry-content ul,

body.ay-legal-page
.entry-content ol {

    margin:
        8px 0 24px;

    padding:
        0 28px 0 0;

    color:
        #49677e;

    direction:
        rtl;
}


body.ay-legal-page
.entry-content li {

    margin:
        0 0 9px;

    padding:
        0 4px 0 0;

    font-size:
        16px;

    line-height:
        1.95;

    text-align:
        right;
}


/* =========================================================
   STRONG / LINKS
========================================================= */

body.ay-legal-page
.entry-content strong {

    color:
        #133856;

    font-weight:
        800;
}


body.ay-legal-page
.entry-content a {

    color:
        #066bd5;

    text-decoration:
        underline;

    text-underline-offset:
        3px;

    font-weight:
        700;
}


body.ay-legal-page
.entry-content a:hover {

    color:
        #004eaa;
}


/* =========================================================
   SECTION SEPARATION
========================================================= */

body.ay-legal-page
.entry-content h2:not(:first-child) {

    border-top:
        1px solid
        #e7eef4;

    padding-top:
        34px;
}


/* =========================================================
   BLOCKQUOTE / NOTICE
========================================================= */

body.ay-legal-page
.entry-content blockquote {

    margin:
        28px 0;

    padding:
        20px 24px;

    border:
        0;

    border-right:
        4px solid
        #0878e8;

    border-radius:
        12px;

    background:
        #f2f8ff;

    color:
        #25465f;
}


/* =========================================================
   TABLES
========================================================= */

body.ay-legal-page
.entry-content table {

    width:
        100%;

    margin:
        24px 0;

    border-collapse:
        collapse;
}


body.ay-legal-page
.entry-content th,

body.ay-legal-page
.entry-content td {

    padding:
        13px 15px;

    border:
        1px solid
        #dce7ef;

    text-align:
        right;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px) {

    body.ay-legal-page
    .entry-content {

        width:
            calc(
                100% - 24px
            ) !important;

        margin:
            24px auto 44px !important;

        padding:
            30px 22px !important;

        border-radius:
            17px;
    }


    body.ay-legal-page
    .entry-content h1 {

        margin-bottom:
            19px;

        font-size:
            34px;
    }


    body.ay-legal-page
    .entry-content h2 {

        margin-top:
            36px;

        font-size:
            23px;
    }


    body.ay-legal-page
    .entry-content p,

    body.ay-legal-page
    .entry-content li {

        font-size:
            15px;

        line-height:
            1.95;
    }


    body.ay-legal-page
    .entry-content ul,

    body.ay-legal-page
    .entry-content ol {

        padding-right:
            22px;
    }

}