/* v1.8.15 home header + search: classic compact, controlled from the admin panel (رأس الصفحة الرئيسية) */
.hero196{display:none}
@media (max-width:859px){
html[data-theme=dark] #scr-home.pg-home .site-header{background:transparent!important;position:relative!important;z-index:6!important;box-shadow:none!important}
html[data-theme=dark] #scr-home.pg-home .site-header .brand{color:var(--hfg,#fff)!important}
html[data-theme=dark] #scr-home.pg-home .site-header .hd-in{padding-top:8px!important;min-height:50px!important}
html[data-theme=dark] #scr-home.pg-home .site-header .brand img{background:#fff!important;border-radius:12px!important;padding:4px!important;box-sizing:content-box!important;width:26px!important;height:26px!important}
html[data-theme=dark] #scr-home.pg-home .site-header .hd-tools>*{background:#fff!important;color:#2A2090!important;border:0!important;box-shadow:0 3px 10px rgba(0,0,0,.2)!important;min-width:42px!important;height:42px!important}
html[data-theme=dark] #scr-home.pg-home.hwhite .site-header .hd-tools>*{background:#F3F2F8!important;box-shadow:none!important}
html[data-theme=dark] #scr-home.pg-home .site-header .hd-tools svg{stroke:#2A2090!important;stroke-width:2.4!important;width:22px!important;height:22px!important}
html[data-theme=dark] #scr-home.pg-home .hero196{display:block;order:0;position:relative;z-index:1;box-sizing:border-box;margin:-60px -16px 0;padding:62px 16px 0;height:var(--hh,146px);overflow:hidden;line-height:1;color:var(--hfg,#fff);background:var(--hbg,#3A2DB4);border-radius:0 0 18px 18px}
html[data-theme=dark] #scr-home.pg-home.hwhite .hero196{border-bottom:1px solid #E3E1EE}
html[data-theme=dark] #scr-home.pg-home.nogr .hero196 *{display:none!important}
html[data-theme=dark] #scr-home.pg-home .hero196 small,html[data-theme=dark] #scr-home.pg-home .hero196 strong{display:inline!important;font-size:16px!important;color:var(--hfg,#fff)!important}
html[data-theme=dark] #scr-home.pg-home .hero196 small{font-weight:400;color:var(--hfg2,rgba(255,255,255,.8))!important}
html[data-theme=dark] #scr-home.pg-home #sw{margin:-40px 0 0!important;order:1;position:relative;z-index:5}
html[data-theme=dark] #scr-home.pg-home #sw .hcam{display:none!important}
html[data-theme=dark] #scr-home.pg-home #sw .sbox{padding:0 8px 0 10px!important;border:0!important;height:var(--sh,50px)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 16px rgba(21,18,64,.2)!important}
html[data-theme=dark] #scr-home.pg-home.hwhite #sw .sbox{background:#F6F6FA!important;border:1px solid #E3E1EE!important;box-shadow:none!important}
html[data-theme=dark] #scr-home.pg-home #sw .sbox>svg{box-sizing:border-box;flex:none;color:#3A2DB4!important;width:20px!important;height:20px!important}
html[data-theme=dark] #scr-home.pg-home #sw .fbtn{width:auto!important;height:calc(var(--sh,50px) - 12px)!important;font-weight:700!important;padding:0 12px!important;display:flex!important;gap:4px;align-items:center;font-size:13px!important;background:#F1EFFB!important;color:#2A2090!important;border-radius:9px!important}
html[data-theme=dark] #scr-home.pg-home.hwhite #sw .fbtn{background:#fff!important;border:1px solid #E3E1EE!important}
html[data-theme=dark] #scr-home.pg-home #sw .fbtn span{display:inline!important}
}
