/*
Theme Name: Shulah – Astra Child Theme for NGOs
Template: astra
Version: 2.2.5
Text Domain: shulah
*/

/* =========================================================
   🔥 محرك تصميم شعلة الاحترافي العالمي
========================================================= */

:root{
    --shulah-primary:#00c2cb;
    --shulah-secondary:#0f172a;
    --shulah-accent:#ff7a18;
    --shulah-text:#334155;
    --shulah-bg:#f8fafc;
    --shulah-radius:22px;
    --shulah-shadow:0 10px 40px rgba(0,0,0,.08);
    --shulah-transition:.35s cubic-bezier(.4,0,.2,1);
}

/* =========================================================
   Google Fonts
========================================================= */

/* =========================================================
   النظام العام
========================================================= */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Cairo',sans-serif !important;
    background:var(--shulah-bg);
    color:var(--shulah-text);
    font-size:16px;
    line-height:1.9;
    overflow-x:hidden !important;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
}

/* =========================================================
   إزالة الفراغات
========================================================= */

.site-content,
#content,
.ast-container,
section,
article,
.entry-content,
.site-main{
    margin-top:0 !important;
    margin-bottom:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}

.site-header,
.site-footer{
    margin:0 !important;
    padding:0 !important;
}

/* =========================================================
   الهيدر الاحترافي
========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:999;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    background:rgba(255,255,255,.75);
    border-bottom:1px solid rgba(255,255,255,.2);
    box-shadow:0 4px 25px rgba(0,0,0,.04);
}

/* =========================================================
   القوائم
========================================================= */

.main-navigation a,
.menu-link,
.ast-builder-menu-1 .menu-link{
    font-size:16px;
    font-weight:700 !important;
    color:var(--shulah-secondary) !important;
    transition:var(--shulah-transition);
    position:relative;
}

.main-navigation a:hover{
    color:var(--shulah-primary) !important;
}

.main-navigation a::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-5px;
    width:0;
    height:3px;
    border-radius:30px;
    background:linear-gradient(90deg,var(--shulah-primary),var(--shulah-accent));
    transition:var(--shulah-transition);
}

.main-navigation a:hover::after{
    width:100%;
}

/* =========================================================
   الأقسام
========================================================= */

section[class*="shulah-"],
.shulah-hero,
.shulah-about,
.shulah-section-wrapper{
    position:relative;
    padding:80px 0 !important;
    margin:0 !important;
    overflow:hidden;
}

#shulah-hero-text-section{
    padding-top:inherit;
    padding-bottom:inherit;
}

/* =========================================================
   الخلفيات المتدرجة
========================================================= */

.shulah-gradient{
    background:linear-gradient(135deg,var(--shulah-primary),var(--shulah-accent));
    color:#fff;
}

/* =========================================================
   الحاويات
========================================================= */

.shulah-container,
.ast-container{
    width:min(1320px,92%);
    margin:auto;
}

/* =========================================================
   العناوين
========================================================= */

h1,h2,h3,h4,h5,h6{
    color:var(--shulah-secondary);
    font-weight:800;
    line-height:1.3;
    margin-bottom:20px;
    letter-spacing:-.5px;
}

h1{
    font-size:clamp(36px,6vw,68px);
}

h2{
    font-size:clamp(30px,5vw,52px);
}

h3{
    font-size:28px;
}

p{
    margin-bottom:20px;
    font-size:16px;
}

/* =========================================================
   البطاقات الاحترافية
========================================================= */

.news-card,
.shulah-card,
.widget,
.wp-block-group{
    position:relative;
    background:rgba(255,255,255,.75);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.3);
    border-radius:var(--shulah-radius);
    overflow:hidden;
    transition:var(--shulah-transition);
    box-shadow:var(--shulah-shadow);
}

.news-card:hover,
.shulah-card:hover,
.widget:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

/* =========================================================
   شبكة الأخبار
========================================================= */

.archive-news-wrapper{
    background:#f8fafc;
    padding:100px 0;
}

.news-grid-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
}

/* =========================================================
   عنوان الأخبار
========================================================= */

.archive-title{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:18px 35px;
    border-radius:18px;
    background:linear-gradient(135deg,var(--shulah-primary),var(--shulah-accent));
    color:#fff;
    font-size:clamp(24px,3vw,34px);
    font-weight:800;
    box-shadow:0 10px 30px rgba(0,194,203,.25);
}

/* =========================================================
   الصور
========================================================= */

.news-card-thumb{
    position:relative;
    height:260px;
    overflow:hidden;
}

.news-card-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s ease;
}

.news-card:hover img{
    transform:scale(1.08);
}

.news-card-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.45),transparent);
}

/* =========================================================
   التاريخ
========================================================= */

.news-date-tag{
    position:absolute;
    bottom:18px;
    right:18px;
    z-index:5;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    border-radius:18px;
    padding:12px 16px;
    min-width:70px;
    text-align:center;
}

.news-date-tag .day{
    display:block;
    font-size:1.6rem;
    font-weight:800;
}

.news-date-tag .month{
    display:block;
    font-size:.9rem;
}

/* =========================================================
   النصوص
========================================================= */

.news-card-content{
    padding:28px;
}

.news-card-title a{
    color:var(--shulah-secondary);
    font-size:1.3rem;
    font-weight:800;
    line-height:1.6;
    text-decoration:none;
    transition:var(--shulah-transition);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.news-card-title a:hover{
    color:var(--shulah-primary);
}

/* =========================================================
   الأزرار
========================================================= */

button,
.button,
.wp-block-button__link,
.ast-button{
    position:relative;
    overflow:hidden;
    border:none !important;
    border-radius:18px !important;
    padding:15px 30px !important;
    background:linear-gradient(135deg,var(--shulah-primary),var(--shulah-accent)) !important;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    transition:var(--shulah-transition);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

button::before,
.button::before,
.ast-button::before{
    content:"";
    position:absolute;
    top:0;
    right:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
    transition:.8s;
}

button:hover::before,
.button:hover::before,
.ast-button:hover::before{
    right:100%;
}

button:hover,
.button:hover,
.ast-button:hover{
    transform:translateY(-5px);
}

.shulah-hero-btn,
.shulah-mobile-nav-item{
    width:auto !important;
}

/* =========================================================
   الحقول
========================================================= */

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
textarea,
select{
    width:100%;
    border:none;
    border-radius:18px;
    padding:16px 18px;
    background:#fff;
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
    transition:var(--shulah-transition);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
textarea:focus,
select:focus{
    outline:none;
    box-shadow:0 0 0 4px rgba(0,194,203,.15);
}

/* =========================================================
   الوضع الليلي التلقائي
========================================================= */

@media(prefers-color-scheme:dark){
    body{
        background:#020617;
        color:#cbd5e1;
    }

    .site-header{
        background:rgba(15,23,42,.75);
    }

    .news-card,
    .widget,
    .wp-block-group{
        background:rgba(15,23,42,.75);
        border-color:rgba(255,255,255,.05);
    }

    h1,h2,h3,h4,h5,h6{
        color:#fff;
    }
}

/* =========================================================
   الأنيميشن
========================================================= */

.fade-up{
    animation:fadeUp .8s ease both;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(35px);
    }

    to{
        opacity:1;
        transform:none;
    }
}

/* =========================================================
   شريط التمرير
========================================================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    border-radius:20px;
    background:linear-gradient(var(--shulah-primary),var(--shulah-accent));
}

/* =========================================================
   تحسين الجوال
========================================================= */

@media(max-width:768px){
    section[class*="shulah-"]{
        padding:60px 0 !important;
    }

    #shulah-hero-text-section{
        padding-top:42px !important;
        padding-bottom:66px !important;
    }

    .news-grid-container{
        grid-template-columns:1fr;
    }

    .archive-title{
        font-size:24px;
        width:100%;
        justify-content:center;
    }

    button,
    .button,
    .ast-button{
        width:100%;
    }

    .shulah-hero-btn,
    .shulah-mobile-nav-item,
    .shulah-dashboard-btn,
    .shulah-footer-login-submit,
    .shulah-footer-login-btn,
    .shulah-footer-logout-btn,
    .shulah-footer-google-placeholder{
        width:auto !important;
    }

    .news-card-thumb{
        height:220px;
    }
}

/* =========================================================
   Shulah App Header Layer
========================================================= */

.shulah-app-header-enabled #masthead,
.shulah-app-header-enabled .site-header,
.shulah-app-header-enabled .ast-primary-header-bar,
.shulah-app-header-enabled .main-header-bar{
    position:sticky !important;
    top:0 !important;
    z-index:99990 !important;
    background:rgba(255,255,255,.78) !important;
    backdrop-filter:blur(22px) saturate(170%) !important;
    -webkit-backdrop-filter:blur(22px) saturate(170%) !important;
    border-bottom:1px solid rgba(255,255,255,.45) !important;
    box-shadow:0 12px 35px rgba(15,23,42,.07) !important;
    transition:all .32s cubic-bezier(.4,0,.2,1) !important;
}

.shulah-app-header-enabled .ast-primary-header-bar{
    min-height:76px !important;
}

.shulah-app-header-enabled .site-branding img,
.shulah-app-header-enabled .custom-logo{
    max-height:64px !important;
    width:auto !important;
    transition:var(--shulah-transition);
}

.shulah-app-header-enabled .main-header-menu > .menu-item > .menu-link,
.shulah-app-header-enabled .ast-builder-menu .main-navigation > ul > li > a{
    font-weight:800 !important;
    color:var(--shulah-secondary) !important;
    border-radius:16px !important;
    padding-inline:15px !important;
    transition:var(--shulah-transition) !important;
}

.shulah-app-header-enabled .main-header-menu > .menu-item > .menu-link:hover,
.shulah-app-header-enabled .ast-builder-menu .main-navigation > ul > li > a:hover{
    background:rgba(0,194,203,.10) !important;
    color:var(--shulah-primary) !important;
}

.shulah-app-header-enabled .main-header-menu .current-menu-item > .menu-link,
.shulah-app-header-enabled .main-header-menu .current_page_item > .menu-link{
    color:var(--shulah-primary) !important;
    background:rgba(0,194,203,.10) !important;
}

.shulah-app-header-enabled .main-header-menu .current-menu-item > .menu-link::after,
.shulah-app-header-enabled .main-header-menu .current_page_item > .menu-link::after{
    width:100% !important;
}

.shulah-app-header-enabled .menu-toggle,
.shulah-app-header-enabled .ast-mobile-menu-trigger-minimal{
    border-radius:16px !important;
    background:rgba(0,194,203,.10) !important;
    color:var(--shulah-secondary) !important;
    box-shadow:0 8px 22px rgba(15,23,42,.08) !important;
}

@media(max-width:768px){
    .shulah-app-header-enabled #masthead,
    .shulah-app-header-enabled .site-header,
    .shulah-app-header-enabled .ast-primary-header-bar,
    .shulah-app-header-enabled .main-header-bar{
        position:sticky !important;
        top:0 !important;
        background:rgba(255,255,255,.92) !important;
        backdrop-filter:blur(18px) saturate(150%) !important;
        -webkit-backdrop-filter:blur(18px) saturate(150%) !important;
        box-shadow:0 8px 24px rgba(15,23,42,.07) !important;
    }

    .shulah-app-header-enabled .ast-primary-header-bar{
        min-height:62px !important;
    }

    .shulah-app-header-enabled .site-branding img,
    .shulah-app-header-enabled .custom-logo{
        max-height:54px !important;
    }

    .shulah-app-header-enabled .ast-mobile-header-wrap,
    .shulah-app-header-enabled .ast-mobile-header-content{
        background:transparent !important;
    }

    .shulah-app-header-enabled .main-header-menu,
    .shulah-app-header-enabled .ast-mobile-popup-content{
        direction:rtl;
        text-align:right;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .menu-link{
        font-size:15px !important;
        font-weight:800 !important;
        border-radius:14px !important;
        margin:4px 10px !important;
    }
}

/* =========================================================
   Shulah App UI Fixes
========================================================= */

.shulah-mobile-bottom-nav,
.shulah-mobile-bottom-nav *{
    box-sizing:border-box;
}

.shulah-mobile-bottom-nav a::after,
.shulah-mobile-bottom-nav a::before{
    display:none !important;
}

.shulah-hero-master-container h1,
.shulah-hero-master-container h2,
.shulah-hero-master-container h3{
    color:inherit;
}

.shulah-hero-master-container .shulah-hero-btn::before{
    display:none !important;
}

.shulah-hero-master-container .shulah-hero-btn{
    width:auto !important;
}

/* =========================================================
   Shulah Footer Login Fixes
========================================================= */

.shulah-footer-login-box input[type="checkbox"]{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:4px !important;
    box-shadow:none !important;
    accent-color:#e67e22;
    cursor:pointer;
}

.shulah-footer-login-box input[type="text"],
.shulah-footer-login-box input[type="password"]{
    width:100% !important;
}

.shulah-footer-remember-wrap{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    margin-top:-2px !important;
    margin-bottom:4px !important;
}

.shulah-footer-remember-label{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:700 !important;
    cursor:pointer !important;
}

.shulah-footer-remember-label span{
    line-height:1 !important;
}

.shulah-footer-login-submit,
.shulah-footer-login-btn,
.shulah-footer-logout-btn,
.shulah-footer-google-placeholder{
    width:100% !important;
}

@media(max-width:600px){
    .shulah-footer-remember-wrap{
        justify-content:center !important;
    }
}

@media(prefers-color-scheme:dark){
    .shulah-hero-master-container,
    #shulah-hero-text-section{
        color:#fff;
    }

    .shulah-hero-master-container h1,
    .shulah-hero-master-container h2,
    .shulah-hero-master-container h3{
        color:inherit;
    }

    .shulah-mobile-bottom-nav{
        background:rgba(15,23,42,.92) !important;
        border-color:rgba(255,255,255,.08) !important;
    }
}

/* =========================================================
   Shulah Board Cards - Modern Layout v2.0.8
   تحسين بصري محافظ لبطاقات مجلس الإدارة دون تغيير البيانات أو المفاتيح
========================================================= */

.shulah-board-page-wrapper,
.shulah-content-wrapper.shulah-board-modern-wrapper{
    direction:rtl;
}

.shulah-board-page-title,
.shulah-board-modern-title{
    text-align:center;
    margin:0 0 42px;
    font-size:clamp(30px,5vw,48px);
    line-height:1.4;
    color:#1f4e79;
    font-weight:900;
    letter-spacing:-.5px;
}

.shulah-board-modern-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:34px;
    align-items:stretch;
}

.shulah-board-modern-card{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
    border:1px solid rgba(31,78,121,.10);
    border-radius:34px;
    padding:34px 24px 30px;
    text-align:center;
    box-shadow:0 22px 55px rgba(15,23,42,.08);
    transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.shulah-board-modern-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:105px;
    background:linear-gradient(135deg,rgba(31,78,121,.14),rgba(0,194,203,.11));
    z-index:-1;
}

.shulah-board-modern-card::after{
    content:"";
    position:absolute;
    top:24px;
    left:24px;
    width:82px;
    height:82px;
    border-radius:50%;
    background:rgba(31,78,121,.045);
    z-index:-1;
}

.shulah-board-modern-card:hover{
    transform:translateY(-7px);
    border-color:rgba(31,78,121,.20);
    box-shadow:0 28px 70px rgba(15,23,42,.12);
}

.shulah-board-modern-image-wrap{
    width:154px;
    height:154px;
    margin:0 auto 22px;
    padding:7px;
    border-radius:50%;
    background:linear-gradient(135deg,#ffffff,#eaf4fb);
    box-shadow:0 16px 38px rgba(31,78,121,.13);
}

.shulah-board-modern-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border-radius:50%;
    background:#f8fafc;
}

.shulah-board-modern-placeholder{
    width:100%;
    height:100%;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#eef6fb,#ffffff);
    color:#1f4e79;
    font-size:46px;
    font-weight:900;
}

.shulah-board-modern-name{
    margin:0 0 10px;
    font-size:clamp(22px,3.6vw,30px);
    line-height:1.45;
    color:#0f172a;
    font-weight:900;
}

.shulah-board-modern-position{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 18px;
    margin:0 auto 18px;
    border-radius:999px;
    background:rgba(31,78,121,.09);
    color:#1f4e79;
    font-size:16px;
    line-height:1.6;
    font-weight:800;
}

.shulah-board-modern-bio{
    max-width:520px;
    margin:0 auto;
    padding-top:14px;
    border-top:1px solid rgba(31,78,121,.10);
    color:#64748b;
    font-size:16px;
    line-height:2;
}

.shulah-board-modern-links{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin:0 0 18px;
}

.shulah-board-modern-link{
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f8fafc;
    color:#1f4e79;
    text-decoration:none;
    box-shadow:inset 0 0 0 1px rgba(31,78,121,.10);
}

@media(max-width:768px){
    .shulah-board-page-wrapper{
        margin:34px auto !important;
        padding:0 16px !important;
    }
    .shulah-board-modern-grid{
        grid-template-columns:1fr;
        gap:24px;
    }
    .shulah-board-modern-card{
        border-radius:30px;
        padding:30px 20px 26px;
    }
    .shulah-board-modern-image-wrap{
        width:142px;
        height:142px;
    }
}


/* =========================================================
   Shulah v2.0.9 - Modern Default Page Template
   قالب الصفحة العادية العصري + منع اختفاء بداية المحتوى تحت الهيدر
========================================================= */

body:not(.home) .shulah-modern-page-template{
    width:100%;
    min-height:60vh;
    background:
        radial-gradient(circle at 88% 0%, rgba(0,194,203,.10), transparent 34%),
        radial-gradient(circle at 8% 18%, rgba(255,122,24,.08), transparent 30%),
        linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    padding-top:clamp(34px,6vw,76px) !important;
    padding-bottom:70px !important;
}

.admin-bar body:not(.home) .shulah-modern-page-template,
body.admin-bar:not(.home) .shulah-modern-page-template{
    padding-top:clamp(50px,7vw,92px) !important;
}

.shulah-modern-page-template .shulah-modern-page-article,
.shulah-modern-page-template .entry-content,
.shulah-modern-page-template .site-main{
    padding-top:0 !important;
    margin-top:0 !important;
}

.shulah-modern-page-hero{
    max-width:1120px;
    margin:0 auto 28px !important;
    padding:0 20px !important;
}

.shulah-modern-page-hero-inner{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    padding:clamp(30px,6vw,64px) clamp(22px,5vw,58px) !important;
    text-align:center;
    background:
        linear-gradient(135deg,rgba(15,23,42,.96),rgba(31,78,121,.94)),
        linear-gradient(135deg,#0f172a,#1f4e79);
    color:#fff;
    box-shadow:0 24px 70px rgba(15,23,42,.16);
    isolation:isolate;
}

.shulah-modern-page-hero-inner::before{
    content:"";
    position:absolute;
    inset:auto -80px -110px auto;
    width:260px;
    height:260px;
    border-radius:50%;
    background:rgba(0,194,203,.18);
    z-index:-1;
}

.shulah-modern-page-hero-inner::after{
    content:"";
    position:absolute;
    inset:-85px auto auto -85px;
    width:230px;
    height:230px;
    border-radius:50%;
    background:rgba(255,122,24,.18);
    z-index:-1;
}

.shulah-modern-page-kicker{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 14px !important;
    padding:7px 16px !important;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    color:rgba(255,255,255,.86);
    font-size:14px;
    line-height:1.6;
    font-weight:800;
}

.shulah-modern-page-title{
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(28px,5vw,48px) !important;
    line-height:1.45 !important;
    font-weight:900 !important;
    letter-spacing:-.03em;
}

.shulah-modern-page-excerpt{
    max-width:760px;
    margin:18px auto 0 !important;
    color:rgba(255,255,255,.82);
    font-size:clamp(15px,2.5vw,18px);
    line-height:2;
}

.shulah-modern-page-wrap{
    max-width:1120px;
    margin:0 auto !important;
    padding:0 20px !important;
}

.shulah-modern-page-card{
    position:relative;
    overflow:hidden;
    border-radius:32px;
    padding:clamp(26px,5vw,56px) !important;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(15,23,42,.07);
    box-shadow:0 18px 55px rgba(15,23,42,.08);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.shulah-modern-page-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,#00c2cb,#1f4e79,#ff7a18);
}

.shulah-modern-page-content{
    max-width:920px;
    margin:0 auto !important;
    padding:0 !important;
    color:#334155;
    font-size:clamp(17px,2.7vw,20px);
    line-height:2.25;
}

.shulah-modern-page-content > *:first-child{
    margin-top:0 !important;
}

.shulah-modern-page-content > *:last-child{
    margin-bottom:0 !important;
}

.shulah-modern-page-content h2,
.shulah-modern-page-content h3,
.shulah-modern-page-content h4{
    color:#0f172a;
    line-height:1.55;
    font-weight:900;
    margin:34px 0 16px !important;
}

.shulah-modern-page-content h2{
    font-size:clamp(24px,4vw,34px);
}

.shulah-modern-page-content h3{
    font-size:clamp(21px,3.4vw,28px);
}

.shulah-modern-page-content p{
    margin:0 0 22px !important;
}

.shulah-modern-page-content ul,
.shulah-modern-page-content ol{
    margin:20px 0 26px !important;
    padding-inline-start:26px !important;
}

.shulah-modern-page-content li{
    margin:8px 0 !important;
    padding-inline-start:4px;
}

.shulah-modern-page-content blockquote{
    margin:28px 0 !important;
    padding:22px 26px !important;
    border-inline-start:5px solid #00c2cb;
    border-radius:22px;
    background:#f8fafc;
    color:#475569;
}

.shulah-modern-page-content img{
    max-width:100%;
    height:auto;
    border-radius:24px;
}

.shulah-modern-page-content table{
    width:100%;
    overflow:hidden;
    border-collapse:separate;
    border-spacing:0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 0 0 1px rgba(15,23,42,.08);
}

.shulah-modern-page-content th,
.shulah-modern-page-content td{
    padding:14px 16px !important;
    border-bottom:1px solid rgba(15,23,42,.08);
}

.shulah-modern-page-content th{
    background:#f1f5f9;
    color:#0f172a;
    font-weight:900;
}

@media(max-width:768px){
    body:not(.home) .shulah-modern-page-template{
        padding-top:92px !important;
        padding-bottom:92px !important;
    }

    body.admin-bar:not(.home) .shulah-modern-page-template{
        padding-top:106px !important;
    }

    .shulah-modern-page-hero,
    .shulah-modern-page-wrap{
        padding:0 14px !important;
    }

    .shulah-modern-page-hero-inner{
        border-radius:28px;
        padding:30px 18px !important;
    }

    .shulah-modern-page-card{
        border-radius:28px;
        padding:26px 18px !important;
    }

    .shulah-modern-page-content{
        font-size:18px;
        line-height:2.15;
        text-align:initial;
    }
}


/* =========================================================
   Shulah v2.1.5 - Safe Restoration & Scoped Interactions
   إعادة تثبيت المحتوى المحقون + تفاعل بصري محدود وآمن
   ملاحظة: تم تجنب المحددات العامة مثل button و a[href$='.pdf']
========================================================= */
:root{
    --shulah-safe-ease: 180ms ease;
    --shulah-safe-shadow-hover: 0 14px 30px rgba(15, 23, 42, .11);
}

/* حماية المحتوى المحقون داخل الصفحات من الاختفاء أو القص */
.entry-content,
.page .entry-content,
.ast-article-single,
.site-content,
.shulah-modern-page-content,
.shulah-page-content,
.shulah-page-body{
    overflow: visible;
}

/* إبقاء مناطق المحتوى فوق الخلفيات والزخارف */
.entry-content,
.shulah-modern-page-content,
.shulah-page-content,
.shulah-policies-grid,
.shulah-policy-grid,
.policies-grid{
    position: relative;
    z-index: 2;
}

/* تفاعل خفيف ومحدود للبطاقات التي نملكها فقط */
.shulah-policy-card,
.policy-card,
.shulah-board-card,
.shulah-partner-card,
.shulah-news-card,
.shulah-event-card,
.service-card{
    transition: transform var(--shulah-safe-ease), box-shadow var(--shulah-safe-ease), border-color var(--shulah-safe-ease);
    backface-visibility: hidden;
}

@media (hover:hover){
    .shulah-policy-card:hover,
    .policy-card:hover,
    .shulah-board-card:hover,
    .shulah-partner-card:hover,
    .shulah-news-card:hover,
    .shulah-event-card:hover,
    .service-card:hover{
        transform: translateY(-3px);
        box-shadow: var(--shulah-safe-shadow-hover);
    }
}

/* تحسين آمن لروابط التحميل داخل بطاقات السياسات فقط */
.shulah-policy-card .shulah-policy-download,
.policy-card .shulah-policy-download,
.shulah-policy-card a,
.policy-card a{
    transition: transform var(--shulah-safe-ease), opacity var(--shulah-safe-ease), box-shadow var(--shulah-safe-ease);
    -webkit-tap-highlight-color: transparent;
}

@media (hover:hover){
    .shulah-policy-card .shulah-policy-download:hover,
    .policy-card .shulah-policy-download:hover{
        transform: translateY(-1px);
    }
}

/* منع التفاعل الحركي على الجوال من التسبب في قص أو فراغات */
@media (hover:none){
    .shulah-policy-card,
    .policy-card,
    .shulah-board-card,
    .shulah-partner-card,
    .shulah-news-card,
    .shulah-event-card,
    .service-card{
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce){
    .shulah-policy-card,
    .policy-card,
    .shulah-board-card,
    .shulah-partner-card,
    .shulah-news-card,
    .shulah-event-card,
    .service-card,
    .shulah-policy-download{
        transition: none !important;
    }
}


/* =========================================================
   Shulah v2.1.6 - Main Menu & Mobile Navigation Refinement
   تطوير هادئ للقائمة الرئيسية والجوال دون تغيير الهيكل أو منطق البيانات
========================================================= */

:root{
    --shulah-nav-radius: 16px;
    --shulah-nav-transition: 200ms ease;
    --shulah-nav-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

/* تحسين عناصر القائمة الرئيسية بشكل محدود داخل هيدر شعلة فقط */
.shulah-app-header-enabled .main-header-menu > .menu-item,
.shulah-app-header-enabled .ast-builder-menu .main-navigation > ul > li{
    margin-inline: 2px;
}

.shulah-app-header-enabled .main-header-menu > .menu-item > .menu-link,
.shulah-app-header-enabled .ast-builder-menu .main-navigation > ul > li > a{
    min-height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--shulah-nav-radius) !important;
    padding: 10px 16px !important;
    line-height: 1.35 !important;
    transition: background-color var(--shulah-nav-transition), color var(--shulah-nav-transition), box-shadow var(--shulah-nav-transition), transform var(--shulah-nav-transition) !important;
}

@media (hover:hover){
    .shulah-app-header-enabled .main-header-menu > .menu-item > .menu-link:hover,
    .shulah-app-header-enabled .ast-builder-menu .main-navigation > ul > li > a:hover{
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0, 194, 203, .10);
    }
}

.shulah-app-header-enabled .main-header-menu .current-menu-item > .menu-link,
.shulah-app-header-enabled .main-header-menu .current_page_item > .menu-link,
.shulah-app-header-enabled .main-header-menu .current-menu-ancestor > .menu-link{
    box-shadow: inset 0 0 0 1px rgba(0, 194, 203, .16);
}

/* تحسين القوائم المنسدلة دون تغيير طريقة Astra */
.shulah-app-header-enabled .main-header-menu .sub-menu,
.shulah-app-header-enabled .ast-builder-menu .main-navigation .sub-menu{
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 20px !important;
    padding: 10px !important;
    margin-top: 8px !important;
    box-shadow: var(--shulah-nav-shadow) !important;
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    overflow: hidden;
}

.shulah-app-header-enabled .main-header-menu .sub-menu .menu-link,
.shulah-app-header-enabled .ast-builder-menu .main-navigation .sub-menu a{
    border-radius: 14px !important;
    padding: 11px 14px !important;
    line-height: 1.55 !important;
    transition: background-color var(--shulah-nav-transition), color var(--shulah-nav-transition), transform var(--shulah-nav-transition) !important;
}

@media (hover:hover){
    .shulah-app-header-enabled .main-header-menu .sub-menu .menu-link:hover,
    .shulah-app-header-enabled .ast-builder-menu .main-navigation .sub-menu a:hover{
        transform: translateX(-2px);
        background: rgba(0, 194, 203, .08) !important;
    }
}

/* زر قائمة الجوال */
.shulah-app-header-enabled .menu-toggle,
.shulah-app-header-enabled .ast-mobile-menu-trigger-minimal,
.shulah-app-header-enabled .ast-button-wrap .menu-toggle{
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    transition: background-color var(--shulah-nav-transition), box-shadow var(--shulah-nav-transition), transform var(--shulah-nav-transition) !important;
    -webkit-tap-highlight-color: transparent;
}

.shulah-app-header-enabled .menu-toggle:focus-visible,
.shulah-app-header-enabled .ast-mobile-menu-trigger-minimal:focus-visible,
.shulah-app-header-enabled .main-header-menu a:focus-visible{
    outline: 3px solid rgba(0, 194, 203, .32) !important;
    outline-offset: 3px !important;
}

/* قائمة الجوال: تحسين المسافات والقراءة دون إخفاء أي محتوى */
@media (max-width: 921px){
    .shulah-app-header-enabled .ast-mobile-header-wrap,
    .shulah-app-header-enabled .ast-mobile-header-content,
    .shulah-app-header-enabled .ast-mobile-popup-content{
        direction: rtl;
        text-align: right;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content,
    .shulah-app-header-enabled .ast-mobile-header-content{
        background: rgba(255,255,255,.98) !important;
        border-top: 1px solid rgba(15, 23, 42, .07) !important;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .08) !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .main-header-menu,
    .shulah-app-header-enabled .ast-mobile-header-content .main-header-menu{
        padding: 10px 8px 14px !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .menu-item,
    .shulah-app-header-enabled .ast-mobile-header-content .menu-item{
        border-bottom: 0 !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .menu-link,
    .shulah-app-header-enabled .ast-mobile-header-content .menu-link{
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 4px 6px !important;
        padding: 12px 14px !important;
        border-radius: 15px !important;
        line-height: 1.65 !important;
        font-size: 15.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        background: transparent !important;
        transition: background-color var(--shulah-nav-transition), color var(--shulah-nav-transition) !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .current-menu-item > .menu-link,
    .shulah-app-header-enabled .ast-mobile-header-content .current-menu-item > .menu-link,
    .shulah-app-header-enabled .ast-mobile-popup-content .current_page_item > .menu-link,
    .shulah-app-header-enabled .ast-mobile-header-content .current_page_item > .menu-link{
        background: rgba(0, 194, 203, .10) !important;
        color: var(--shulah-primary) !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .sub-menu,
    .shulah-app-header-enabled .ast-mobile-header-content .sub-menu{
        margin: 2px 14px 8px 0 !important;
        padding: 4px 0 !important;
        border-inline-start: 2px solid rgba(0, 194, 203, .18) !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .sub-menu .menu-link,
    .shulah-app-header-enabled .ast-mobile-header-content .sub-menu .menu-link{
        min-height: 40px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        opacity: .92;
    }
}

@media (max-width: 544px){
    .shulah-app-header-enabled .ast-primary-header-bar{
        min-height: 64px !important;
    }

    .shulah-app-header-enabled .site-branding img,
    .shulah-app-header-enabled .custom-logo{
        max-height: 50px !important;
    }

    .shulah-app-header-enabled .ast-mobile-popup-content .menu-link,
    .shulah-app-header-enabled .ast-mobile-header-content .menu-link{
        min-height: 48px !important;
        margin-inline: 2px !important;
    }
}

@media (prefers-reduced-motion: reduce){
    .shulah-app-header-enabled .main-header-menu a,
    .shulah-app-header-enabled .menu-toggle,
    .shulah-app-header-enabled .ast-mobile-menu-trigger-minimal{
        transition: none !important;
        transform: none !important;
    }
}

/* =========================================================
   Shulah v2.1.8 - Card System Consistency Refinement
   توحيد هادئ لأنظمة البطاقات دون تغيير الهيكل أو منطق البيانات
========================================================= */
:root{
    --shulah-card-radius: 24px;
    --shulah-card-padding: clamp(22px, 2.3vw, 32px);
    --shulah-card-border: 1px solid rgba(26,43,76,.10);
    --shulah-card-shadow: 0 14px 34px rgba(26,43,76,.08);
    --shulah-card-shadow-hover: 0 18px 42px rgba(26,43,76,.12);
}

.shulah-card,
.service-card,
.news-card,
.shulah-news-card,
.shulah-board-card,
.shulah-board-modern-card,
.shulah-event-card,
.shulah-partner-card,
.shulah-policy-card,
.policy-card,
.shulah-modern-page-card{
    border-radius: var(--shulah-card-radius);
    border: var(--shulah-card-border);
    box-shadow: var(--shulah-card-shadow);
    background-clip: padding-box;
}

.service-card,
.shulah-news-card,
.shulah-board-card,
.shulah-event-card,
.shulah-partner-card,
.shulah-policy-card,
.policy-card,
.shulah-modern-page-card{
    padding: var(--shulah-card-padding);
}

.shulah-card h2,
.shulah-card h3,
.service-card h2,
.service-card h3,
.news-card h2,
.news-card h3,
.shulah-news-card h2,
.shulah-news-card h3,
.shulah-board-card h2,
.shulah-board-card h3,
.shulah-board-modern-card h2,
.shulah-board-modern-card h3,
.shulah-event-card h2,
.shulah-event-card h3,
.shulah-partner-card h2,
.shulah-partner-card h3,
.shulah-policy-card h2,
.shulah-policy-card h3,
.policy-card h2,
.policy-card h3{
    line-height: 1.55;
}

.shulah-card p,
.service-card p,
.news-card p,
.shulah-news-card p,
.shulah-board-card p,
.shulah-board-modern-card p,
.shulah-event-card p,
.shulah-partner-card p,
.shulah-policy-card p,
.policy-card p{
    line-height: 1.95;
}

@media (hover:hover){
    .shulah-card:hover,
    .service-card:hover,
    .news-card:hover,
    .shulah-news-card:hover,
    .shulah-board-card:hover,
    .shulah-board-modern-card:hover,
    .shulah-event-card:hover,
    .shulah-partner-card:hover,
    .shulah-policy-card:hover,
    .policy-card:hover,
    .shulah-modern-page-card:hover{
        box-shadow: var(--shulah-card-shadow-hover);
    }
}

@media (max-width: 768px){
    .shulah-card,
    .service-card,
    .news-card,
    .shulah-news-card,
    .shulah-board-card,
    .shulah-board-modern-card,
    .shulah-event-card,
    .shulah-partner-card,
    .shulah-policy-card,
    .policy-card,
    .shulah-modern-page-card{
        border-radius: 20px;
    }
}


/* =========================================================
   Shulah v2.1.9 - Long Content Pages Reading Refinement
   تحسين هادئ لصفحات المحتوى الطويل دون تغيير الهيكل أو منطق البيانات
========================================================= */
:root{
    --shulah-reading-max: 1120px;
    --shulah-reading-line: 2.05;
    --shulah-reading-muted: #64748b;
    --shulah-reading-border: rgba(26,43,76,.10);
    --shulah-reading-soft: #f8fafc;
}

/* نطاق محدود للصفحات النصية والمؤسسية الطويلة فقط */
.shulah-modern-page-content,
.shulah-reports-page,
.shulah-assembly-page,
.shulah-basic-regulation-page,
.shulah-board-meetings-page,
.shulah-general-assembly-meetings-page,
.shulah-page-strategic-content,
.shulah-finance-page-content{
    text-wrap: pretty;
}

.shulah-modern-page-content,
.shulah-basic-regulation-desc,
.shulah-board-meetings-intro,
.shulah-general-assembly-meetings-intro,
.shulah-reports-intro,
.shulah-finance-page-content{
    line-height: var(--shulah-reading-line);
}

.shulah-modern-page-content p,
.shulah-basic-regulation-desc p,
.shulah-board-meetings-intro p,
.shulah-general-assembly-meetings-intro p,
.shulah-reports-intro p,
.shulah-finance-page-content p{
    margin-bottom: 1.15em;
}

/* تحسين العناوين داخل المحتوى الطويل دون تغيير تصميم Hero */
.shulah-modern-page-content h2,
.shulah-modern-page-content h3,
.shulah-modern-page-content h4,
.shulah-finance-page-content h2,
.shulah-finance-page-content h3{
    scroll-margin-top: 120px;
}

.shulah-modern-page-content h2:not(:first-child),
.shulah-modern-page-content h3:not(:first-child),
.shulah-finance-page-content h2:not(:first-child),
.shulah-finance-page-content h3:not(:first-child){
    margin-top: clamp(30px, 4vw, 46px) !important;
}

/* تحسين القوائم الطويلة */
.shulah-modern-page-content ul,
.shulah-modern-page-content ol,
.shulah-finance-page-content ul,
.shulah-finance-page-content ol{
    padding-inline-start: 1.45em !important;
}

.shulah-modern-page-content li,
.shulah-finance-page-content li{
    margin-bottom: .55em !important;
}

.shulah-modern-page-content li::marker,
.shulah-finance-page-content li::marker{
    color: var(--shulah-primary);
}

/* تحسين الجداول داخل الصفحات الطويلة بدون تغيير البيانات */
.shulah-modern-page-content table,
.shulah-finance-page-content table{
    margin: 26px 0 !important;
    font-size: .96em;
}

.shulah-modern-page-content th,
.shulah-modern-page-content td,
.shulah-finance-page-content th,
.shulah-finance-page-content td{
    vertical-align: top;
    line-height: 1.85;
}

/* روابط الملفات داخل المحتوى فقط */
.shulah-modern-page-content a[href$='.pdf'],
.shulah-finance-page-content a[href$='.pdf']{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0,194,203,.08);
    border: 1px solid rgba(0,194,203,.18);
    color: #1f4e79;
    font-weight: 800;
    text-decoration: none;
}

@media (hover:hover){
    .shulah-modern-page-content a[href$='.pdf']:hover,
    .shulah-finance-page-content a[href$='.pdf']:hover{
        background: rgba(0,194,203,.12);
        transform: translateY(-1px);
    }
}

/* تحسين هادئ لبطاقات صفحات الاجتماعات والملفات الطويلة */
.shulah-report-card,
.shulah-board-meeting-card,
.shulah-general-assembly-meeting-card,
.shulah-basic-regulation-card,
.shulah-assembly-card{
    overflow: hidden;
    border-color: var(--shulah-reading-border);
}

.shulah-report-title,
.shulah-board-meeting-content h3,
.shulah-general-assembly-meeting-content h3,
.shulah-basic-regulation-file-title,
.shulah-assembly-card h3{
    line-height: 1.55;
}

.shulah-report-desc,
.shulah-board-meeting-desc,
.shulah-general-assembly-meeting-desc,
.shulah-basic-regulation-file-desc,
.shulah-assembly-card p{
    color: var(--shulah-reading-muted);
    line-height: 1.95;
}

.shulah-report-btn,
.shulah-board-meeting-btn,
.shulah-general-assembly-meeting-btn,
.shulah-basic-regulation-btn{
    min-height: 44px;
    touch-action: manipulation;
}

/* تجاوب الجوال: تحسين القراءة فقط دون تغيير ترتيب البيانات */
@media (max-width: 768px){
    .shulah-modern-page-content,
    .shulah-finance-page-content{
        font-size: 17px;
        line-height: 2.05;
    }

    .shulah-modern-page-content table,
    .shulah-finance-page-content table{
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .shulah-report-card,
    .shulah-board-meeting-card,
    .shulah-general-assembly-meeting-card,
    .shulah-basic-regulation-card,
    .shulah-assembly-card{
        min-height: auto;
    }

    .shulah-report-btn,
    .shulah-board-meeting-btn,
    .shulah-general-assembly-meeting-btn,
    .shulah-basic-regulation-btn,
    .shulah-modern-page-content a[href$='.pdf'],
    .shulah-finance-page-content a[href$='.pdf']{
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   Shulah v2.2.2 - Full Width Default Layout
   ضبط تمدد الصفحات افتراضيًا حسب عرض الشاشة دون حذف أو تغيير الهيكل
========================================================= */
:root{
    --shulah-content-width: 1760px;
    --shulah-full-gap: clamp(18px, 2.4vw, 48px);
}

body .site-content,
body #content{
    width: 100% !important;
}

body .ast-container,
body .site-content .ast-container,
body .site-main,
body .content-area,
body .shulah-container{
    width: min(100% - var(--shulah-full-gap), var(--shulah-content-width)) !important;
    max-width: var(--shulah-content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-template-page-dashboard .site-content .ast-container,
body.page-template-page-dashboard .content-area,
body.page-template-page-dashboard .site-main,
body.page-template-page-dashboard .shulah-dashboard-wrap,
body.page-template-page-dashboard .shulah-dashboard-page,
body.page-id-dashboard .site-content .ast-container{
    width: min(100% - var(--shulah-full-gap), var(--shulah-content-width)) !important;
    max-width: var(--shulah-content-width) !important;
}

.shulah-modern-page-hero,
.shulah-modern-page-wrap,
.shulah-dashboard-wrap{
    max-width: min(var(--shulah-content-width), 100%) !important;
}

.shulah-dashboard-grid{
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

@media (max-width: 921px){
    :root{
        --shulah-full-gap: 24px;
    }
    body .ast-container,
    body .site-content .ast-container,
    body .site-main,
    body .content-area,
    body .shulah-container,
    body.page-template-page-dashboard .site-content .ast-container,
    body.page-template-page-dashboard .content-area,
    body.page-template-page-dashboard .site-main,
    body.page-template-page-dashboard .shulah-dashboard-wrap,
    body.page-template-page-dashboard .shulah-dashboard-page{
        width: calc(100% - var(--shulah-full-gap)) !important;
        max-width: calc(100% - var(--shulah-full-gap)) !important;
    }
}

@media (min-width: 1600px){
    .shulah-modern-page-hero,
    .shulah-modern-page-wrap{
        max-width: 1520px !important;
    }
}


/* =========================================================
   Shulah v2.2.3 - Edge-to-Edge Layout Refinement
   استثمار عرض الشاشة وتقليل الفراغات الجانبية دون حذف أو تغيير الهيكل
========================================================= */
:root{
    --shulah-content-width: 100%;
    --shulah-full-gap: 0px;
    --shulah-edge-safe: clamp(14px, 2vw, 32px);
    --shulah-wide-inner: min(100%, 1680px);
}

body,
body .site,
body .site-content,
body #content,
body .content-area,
body .site-main{
    width:100% !important;
    max-width:100% !important;
}

body .ast-container,
body .site-content .ast-container,
body .site-main,
body .content-area,
body .shulah-container{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

/* الصفحات الحديثة: الخلفية تبدأ من الأطراف، والمحتوى يستثمر العرض المتاح */
.shulah-modern-page-template,
.shulah-modern-page-article,
.shulah-modern-page-wrap,
.shulah-modern-page-hero,
.shulah-dashboard-wrap,
.shulah-dashboard-page{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
}

.shulah-modern-page-hero,
.shulah-modern-page-wrap,
.shulah-dashboard-wrap{
    padding-left:var(--shulah-edge-safe) !important;
    padding-right:var(--shulah-edge-safe) !important;
}

.shulah-modern-page-hero-inner,
.shulah-modern-page-card,
.shulah-dashboard-grid,
.shulah-board-modern-grid,
.shulah-events-grid,
.shulah-partners-grid,
.shulah-services-grid,
.shulah-news-grid{
    width:var(--shulah-wide-inner) !important;
    max-width:var(--shulah-wide-inner) !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.shulah-dashboard-grid,
.shulah-board-modern-grid{
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)) !important;
}

@media (min-width:1200px){
    .shulah-dashboard-grid,
    .shulah-board-modern-grid{
        grid-template-columns:repeat(auto-fit, minmax(360px, 1fr)) !important;
    }
}

/* الفوتر يتمدد حتى أطراف الشاشة دون حواف خارجية */
.shulah-ultimate-footer,
.site-footer,
#colophon{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    border-radius:0 !important;
}

.shulah-footer-inner{
    width:100% !important;
    max-width:1680px !important;
    padding-left:var(--shulah-edge-safe) !important;
    padding-right:var(--shulah-edge-safe) !important;
}

@media (max-width:768px){
    :root{
        --shulah-edge-safe:0px;
    }

    .shulah-modern-page-hero,
    .shulah-modern-page-wrap,
    .shulah-dashboard-wrap{
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .shulah-modern-page-hero-inner,
    .shulah-modern-page-card{
        border-radius:0 !important;
    }

    .shulah-dashboard-grid,
    .shulah-board-modern-grid,
    .shulah-events-grid,
    .shulah-partners-grid,
    .shulah-services-grid,
    .shulah-news-grid{
        width:100% !important;
        max-width:100% !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .shulah-footer-inner{
        padding-left:0 !important;
        padding-right:0 !important;
    }
}


/* =========================================================
   Shulah v2.2.4 - Inner Containers Width Refinement
   توسيع الحاويات الداخلية للصفحات لاستثمار عرض الشاشة مع الحفاظ على الهوية والبنية
========================================================= */
:root{
    --shulah-inner-wide: min(100%, 1680px);
    --shulah-inner-gap: clamp(12px, 1.6vw, 28px);
}

/* توسيع الحاويات الداخلية التي كانت محدودة بعرض ضيق داخل الصفحة */
.shulah-assembly-wrapper,
.shulah-basic-regulation-container,
.shulah-board-meetings-container,
.shulah-general-assembly-meetings-container,
.shulah-reports-container,
.shulah-policies-container,
.shulah-media-center-container,
.shulah-structure-container,
.shulah-team-page-wrap,
.shulah-partners-template-wrapper,
.shulah-board-page-wrapper,
.shulah-financial-wrapper,
.shulah-dashboard-container{
    width: var(--shulah-inner-wide) !important;
    max-width: var(--shulah-inner-wide) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--shulah-inner-gap) !important;
    padding-right: var(--shulah-inner-gap) !important;
}

/* توزيع البطاقات على عرض أكبر دون تغيير شكلها أو محتواها */
.shulah-general-assembly-meetings-grid,
.shulah-board-meetings-grid,
.shulah-reports-grid,
.shulah-policies-grid,
.shulah-basic-regulation-grid,
.shulah-assembly-grid,
.shulah-structure-grid,
.shulah-team-grid,
.shulah-media-grid{
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
}

@media (min-width: 1200px){
    .shulah-general-assembly-meetings-grid,
    .shulah-board-meetings-grid,
    .shulah-reports-grid,
    .shulah-policies-grid,
    .shulah-basic-regulation-grid,
    .shulah-assembly-grid,
    .shulah-structure-grid,
    .shulah-team-grid,
    .shulah-media-grid{
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
    }
}

@media (min-width: 1600px){
    .shulah-general-assembly-meetings-grid,
    .shulah-board-meetings-grid,
    .shulah-reports-grid,
    .shulah-policies-grid,
    .shulah-basic-regulation-grid,
    .shulah-assembly-grid,
    .shulah-structure-grid,
    .shulah-team-grid,
    .shulah-media-grid{
        grid-template-columns: repeat(auto-fit, minmax(390px, 1fr)) !important;
    }
}

/* إبقاء صناديق المقدمة قابلة للقراءة وعدم تمديد النص الطويل أكثر من اللازم */
.shulah-board-meetings-intro,
.shulah-general-assembly-meetings-intro,
.shulah-reports-intro,
.shulah-basic-regulation-desc,
.shulah-media-center-intro,
.shulah-team-intro{
    max-width: min(100%, 980px) !important;
}

@media (max-width: 768px){
    :root{
        --shulah-inner-gap: 0px;
    }

    .shulah-assembly-wrapper,
    .shulah-basic-regulation-container,
    .shulah-board-meetings-container,
    .shulah-general-assembly-meetings-container,
    .shulah-reports-container,
    .shulah-policies-container,
    .shulah-media-center-container,
    .shulah-structure-container,
    .shulah-team-page-wrap,
    .shulah-partners-template-wrapper,
    .shulah-board-page-wrapper,
    .shulah-financial-wrapper,
    .shulah-dashboard-container{
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .shulah-general-assembly-meetings-grid,
    .shulah-board-meetings-grid,
    .shulah-reports-grid,
    .shulah-policies-grid,
    .shulah-basic-regulation-grid,
    .shulah-assembly-grid,
    .shulah-structure-grid,
    .shulah-team-grid,
    .shulah-media-grid{
        grid-template-columns: 1fr !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* =========================================================
   Shulah v2.2.5 - Board Layout Balanced Refinement
   ضبط محافظ لصفحة مجلس الإدارة فقط: توسيع مدروس + أول بطاقة مميزة + 3 بطاقات في الصف
========================================================= */
body.page-template-page-board .shulah-board-page-wrapper{
    width:min(100%, 1440px) !important;
    max-width:min(100%, 1440px) !important;
    margin:clamp(34px, 4vw, 64px) auto !important;
    padding-left:clamp(16px, 2.2vw, 34px) !important;
    padding-right:clamp(16px, 2.2vw, 34px) !important;
}

body.page-template-page-board .shulah-board-modern-grid{
    width:min(100%, 1280px) !important;
    max-width:min(100%, 1280px) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:grid !important;
    grid-template-columns:repeat(3, minmax(260px, 1fr)) !important;
    gap:clamp(24px, 2.2vw, 34px) !important;
    align-items:stretch !important;
}

body.page-template-page-board .shulah-board-modern-card{
    min-height:420px;
}

body.page-template-page-board .shulah-board-modern-grid > .shulah-board-modern-card:first-child{
    grid-column:1 / -1;
    width:min(100%, 520px) !important;
    justify-self:center;
}

@media (min-width: 1500px){
    body.page-template-page-board .shulah-board-modern-grid{
        width:min(100%, 1320px) !important;
        max-width:min(100%, 1320px) !important;
    }
}

@media (max-width: 1100px){
    body.page-template-page-board .shulah-board-modern-grid{
        grid-template-columns:repeat(2, minmax(260px, 1fr)) !important;
        width:min(100%, 900px) !important;
        max-width:min(100%, 900px) !important;
    }

    body.page-template-page-board .shulah-board-modern-grid > .shulah-board-modern-card:first-child{
        grid-column:1 / -1;
        width:min(100%, 500px) !important;
    }
}

@media (max-width: 768px){
    body.page-template-page-board .shulah-board-page-wrapper{
        width:100% !important;
        max-width:100% !important;
        margin:28px auto !important;
        padding-left:12px !important;
        padding-right:12px !important;
    }

    body.page-template-page-board .shulah-board-modern-grid{
        grid-template-columns:1fr !important;
        width:100% !important;
        max-width:100% !important;
        padding-left:0 !important;
        padding-right:0 !important;
        gap:22px !important;
    }

    body.page-template-page-board .shulah-board-modern-grid > .shulah-board-modern-card:first-child{
        grid-column:auto;
        width:100% !important;
    }

    body.page-template-page-board .shulah-board-modern-card{
        min-height:auto;
    }
}

