/* =========================================================
   WAIN NAKUL — FINAL GLOBAL SOLID BACKGROUND
   مصدر واحد لجميع صفحات الموقع
========================================================= */

:root{
    --wn-site-bg-color:var(--wn-color-site-bg);
}


/* =========================================================
   HTML
========================================================= */

html{
    min-height:100%;
    background-color:var(--wn-site-bg-color) !important;
    background-image:none !important;
}


/* =========================================================
   ALL WAIN NAKUL PAGES
========================================================= */

html body.wn-site-global-background,
html body.wn-site-global-background[class]{
    min-height:100vh !important;
    min-height:100dvh !important;

    background:var(--wn-site-bg-color) !important;
    background-color:var(--wn-site-bg-color) !important;
    background-image:none !important;

    filter:none !important;
    -webkit-filter:none !important;
}


/* =========================================================
   REMOVE OLD GLOBAL BACKGROUND LAYERS
========================================================= */

html body.wn-site-global-background::before,
html body.wn-site-global-background[class]::before{
    background:var(--wn-site-bg-color) !important;
    background-color:var(--wn-site-bg-color) !important;
    background-image:none !important;

    filter:none !important;
    -webkit-filter:none !important;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;

    opacity:1 !important;
    transform:none !important;
}


html body.wn-site-global-background::after,
html body.wn-site-global-background[class]::after{
    background-image:none !important;
}


/* =========================================================
   HOME — NO SPECIAL IMAGE
========================================================= */

html body.wn4-home-page.wn-site-global-background,
html body.wn4-home-page.wn-site-global-background[class]{
    background:var(--wn-site-bg-color) !important;
    background-image:none !important;
}

html body.wn4-home-page.wn-site-global-background::before,
html body.wn4-home-page.wn-site-global-background[class]::before{
    background:var(--wn-site-bg-color) !important;
    background-image:none !important;
}


/* =========================================================
   COMPUTER / TABLET / MOBILE
========================================================= */

@media (max-width:1100px){

    html,
    html body.wn-site-global-background,
    html body.wn-site-global-background[class],
    html body.wn-site-global-background::before,
    html body.wn-site-global-background[class]::before{
        background-color:var(--wn-site-bg-color) !important;
        background-image:none !important;
    }
}

@media (max-width:767px){

    html body.wn-site-global-background,
    html body.wn-site-global-background[class]{
        min-height:100svh !important;
    }
}
