/* Aishiyat unified header (site bar) — v1
   Mirrors the home page header exactly. Loaded after pg.css/unify.css/spirit.css. */
.hp-top{--ink:#12306b;--cream:#f3f8ff;--sun:#d6ebff;--coral:#1d7fd0;--gold:#ffd45e}
.hp-top{position:sticky;top:0;z-index:50;background:#fff;border-bottom:4px solid var(--ink)}.hp-top .in{max-width:1100px;margin:auto;padding:8px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hp-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-family:"Reem Kufi","Noto Kufi Arabic";font-size:20px;font-weight:700;line-height:1.2}.hp-brand img{height:46px;width:auto}.hp-brand small{display:block;font-family:Cairo;font-size:13px;font-weight:700}.hp-nav{display:flex;gap:6px;flex-wrap:wrap}.hp-dd{position:relative}.hp-dd summary{list-style:none;cursor:pointer;padding:6px 14px;border:3px solid var(--ink);border-radius:30px;background:var(--cream);font-weight:900;font-size:14px;color:var(--ink);white-space:nowrap}.hp-dd summary::-webkit-details-marker{display:none}.hp-dd[open] summary{background:var(--gold)}.hp-dm{position:absolute;inset-inline-start:0;top:calc(100% + 6px);min-width:240px;background:#fff;border:3px solid var(--ink);border-radius:18px;box-shadow:4px 4px 0 var(--ink);padding:8px;display:grid;gap:2px}.hp-dm a{padding:6px 12px;border-radius:12px;color:var(--ink);text-decoration:none;font-weight:700;font-size:14px}.hp-dm a:hover{background:var(--sun)}@media(max-width:760px){.hp-top .in{padding:6px 10px}.hp-nav{width:100%}.hp-dd{flex:1 1 auto}.hp-dm{inset-inline-start:auto;inset-inline-end:0;min-width:200px}}.hp-top{background:linear-gradient(180deg,#ffffff,#eef6ff);border-bottom:3px solid var(--ink);box-shadow:0 6px 14px rgba(18,48,107,.06)}.hp-brand img{height:52px;width:52px;padding:4px;background:#fff;border:3px solid var(--ink);border-radius:50%;box-shadow:3px 3px 0 var(--gold)}.hp-brand small{font-size:12.5px;color:#3a5a8f}.hp-dd summary{padding:9px 15px;border:2px solid var(--ink);border-radius:14px;background:#fff;font-size:13.5px;font-weight:800;box-shadow:2px 2px 0 rgba(18,48,107,.35);transition:transform .15s,box-shadow .15s,background .15s}.hp-dd summary:hover{transform:translateY(-2px);box-shadow:3px 4px 0 var(--ink);background:var(--sun)}.hp-dd[open] summary{background:var(--gold);box-shadow:0 3px 0 var(--ink)}.hp-dm{border:2px solid var(--ink);border-radius:16px;box-shadow:4px 4px 0 var(--ink)}@media(max-width:760px){.hp-top .in{padding:8px 12px;gap:8px}.hp-brand img{height:44px;width:44px;border-width:2px;box-shadow:2px 2px 0 var(--gold)}.hp-brand span{font-size:17px}.hp-brand small{font-size:11.5px}.hp-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.hp-dd{min-width:0;flex:none}.hp-dd:last-child{grid-column:1/-1}.hp-dd summary{padding:8px 6px;font-size:12.5px;border-radius:12px;text-align:center;white-space:normal;line-height:1.3;box-shadow:2px 2px 0 rgba(18,48,107,.25)}.hp-dd[open]{grid-column:1/-1}.hp-dm{position:static;margin-top:6px;min-width:0;width:auto;box-shadow:3px 3px 0 var(--ink)}.hp-dm a{display:block}}.hp-top .hp-nav{display:flex;align-items:center;gap:2px;flex-wrap:nowrap}.hp-top .hp-dd{position:relative;flex:none;min-width:0}.hp-top .hp-dd>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:11px 13px!important;font:800 14.5px/1.2 Cairo,"Noto Kufi Arabic",Tahoma,sans-serif!important;color:var(--ink)!important;white-space:nowrap;position:relative;transition:color .15s}.hp-top .hp-dd>summary::-webkit-details-marker{display:none}.hp-top .hp-dd>summary::after{content:"";width:7px;height:7px;flex:none;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.75;transition:transform .18s}.hp-top .hp-dd>summary::before{content:"";position:absolute;inset-inline:11px;bottom:3px;height:3px;border-radius:3px;background:var(--gold);opacity:0;transition:opacity .15s}.hp-top .hp-dd>summary:hover,.hp-top .hp-dd[open]>summary{color:var(--coral)!important}.hp-top .hp-dd>summary:hover::before,.hp-top .hp-dd[open]>summary::before{opacity:1}.hp-top .hp-dd[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}.hp-top .hp-dm{position:absolute;inset-inline-start:auto;inset-inline-end:0;top:calc(100% + 8px);min-width:250px;background:#fff;border:2px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 rgba(18,48,107,.28);padding:8px;display:grid;gap:2px;z-index:60}.hp-top .hp-dm a{padding:9px 12px;border-radius:11px;color:var(--ink);text-decoration:none;font:700 14px/1.5 Cairo,sans-serif}.hp-top .hp-dm a:hover{background:#fff6d9}.hp-tog{display:none}@media (max-width:760px){.hp-top .in{flex-wrap:wrap;padding:8px 12px}.hp-tog{display:flex;align-items:center;gap:8px;order:3;margin-inline-start:auto;background:transparent;border:0;padding:6px 2px;font:800 14px Cairo,sans-serif;color:var(--ink);cursor:pointer}.hp-tog i{display:block;width:22px;height:14px;position:relative}.hp-tog i::before,.hp-tog i::after{content:"";position:absolute;inset-inline:0;height:2.5px;border-radius:2px;background:var(--ink);transition:transform .18s,top .18s,bottom .18s}.hp-tog i::before{top:0;box-shadow:0 6px 0 var(--ink)}.hp-tog i::after{display:none}.hp-tog[aria-expanded="true"] i::before{top:5px;transform:rotate(45deg);box-shadow:none}.hp-tog[aria-expanded="true"] i::after{display:block;bottom:5px;transform:rotate(-45deg)}.hp-top .hp-nav{display:block!important;width:100%;order:4;margin-top:4px;border-top:1px solid rgba(18,48,107,.16);padding-top:2px}.hp-top .hp-nav.hp-collapsed{display:none!important}.hp-top .hp-dd{display:block;width:100%;flex:none;grid-column:auto!important;border-bottom:1px solid rgba(18,48,107,.14)}.hp-top .hp-dd>summary{width:100%;justify-content:space-between;padding:13px 4px!important;font-size:15.5px!important;color:var(--ink)!important}.hp-top .hp-dd>summary::before{display:none}.hp-top .hp-dd>summary::after{opacity:.55}.hp-top .hp-dd[open]>summary{color:var(--coral)!important}.hp-top .hp-dm{position:static;inset:auto;min-width:0;width:auto;margin:0 0 10px;background:#f6faff;border:0;border-radius:12px;box-shadow:none;padding:6px}.hp-top .hp-dm a{padding:10px 12px;font-size:14px}}.hp-dm .hp-soon{display:block;padding:6px 12px;font-weight:700;font-size:14px;color:var(--ink)}
/* v2 — one header per page: on pages that carry the unified header, suppress the
   runtime quick-links strip (.qst) and the old sticky bar (.tb) that /assets/spirit.js
   injects at the top of the body. Their markup is not touched or removed. */
html.has-hp .qst,html.has-hp .tb{display:none!important}
body:has(> .hp-top) > .qst,body:has(> .hp-top) > .tb{display:none!important}
/* v2 — «خريطة الموقع» as a top-level item in the menu bar (matches the dropdown summaries) */
.hp-top .hp-nav>a.hp-lnk{display:flex;align-items:center;padding:11px 13px;font:800 14.5px/1.2 Cairo,"Noto Kufi Arabic",Tahoma,sans-serif;color:var(--ink);text-decoration:none;white-space:nowrap;position:relative;flex:none;transition:color .15s}
.hp-top .hp-nav>a.hp-lnk:hover{color:var(--coral)}
.hp-top .hp-nav>a.hp-lnk::before{content:"";position:absolute;inset-inline:11px;bottom:3px;height:3px;border-radius:3px;background:var(--gold);opacity:0;transition:opacity .15s}
.hp-top .hp-nav>a.hp-lnk:hover::before{opacity:1}
@media (max-width:760px){
 .hp-top .hp-nav>a.hp-lnk{display:block;width:100%;padding:13px 4px;font-size:15.5px;border-bottom:1px solid rgba(18,48,107,.14)}
}

/* === floating contact buttons === */
body .sbar{position:fixed;inset-inline-end:16px;inset-inline-start:auto;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:none;width:auto;display:flex;gap:10px;padding:0;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;z-index:55}body .sbar.hide{transform:translateY(140px);opacity:0;pointer-events:none}body .sbar a{flex:0 0 auto;width:72px;height:72px;min-width:0;min-height:0;border-radius:50%;background:#fff;border:0;box-shadow:0 6px 18px rgba(18,48,107,.18),0 1px 3px rgba(18,48,107,.12);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:0 0 3px;color:#12306b;text-decoration:none;transition:transform .15s,box-shadow .15s}body .sbar a:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(18,48,107,.22)}body .sbar a svg{display:block;width:28px;height:28px;flex:none}body .sbar .sb2 svg{width:31px;height:31px}body .sbar a span{font:800 10px/1 Cairo,Noto Kufi Arabic,Tahoma,sans-serif;color:#12306b;white-space:nowrap}body.hasbar{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}@media(max-width:760px){body .sbar{inset-inline-end:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));gap:8px}body .sbar a{width:62px;height:62px}body .sbar a svg{width:24px;height:24px}body .sbar .sb2 svg{width:27px;height:27px}body .sbar a span{font-size:9px}}

/* floating contact buttons (injected by header.js; play2.js keeps home + /about) */

@media print{ body .sbar{display:none !important} body.hasbar{padding-bottom:0 !important} }
/* زر اللغة في الهيدر — موبايل: جنب زر «القائمة» | ديسكتوب: آخر عنصر في صف القائمة */
header.hp-top .hp-lang{display:inline-flex;align-items:center;justify-content:center;
  min-width:46px;height:38px;padding:0 12px;
  border:1px solid #d9c7a7;border-radius:10px;background:#fff;color:#12306b;
  font:800 13px/1 Cairo,system-ui,sans-serif;text-decoration:none;white-space:nowrap}
header.hp-top .hp-lang:hover,header.hp-top .hp-lang:focus-visible{background:#f6efdf;outline:none}
header.hp-top .hp-lang[aria-current="true"]{background:#12306b;color:#fff;border-color:#12306b}

/* موبايل (<=760px): الزر جوه .in جنب زر القائمة، والأوتو-مارجن على الزر عشان الاتنين يلزقوا في الحرف */
@media(max-width:760px){
  header.hp-top .hp-lang{order:3;margin-inline-start:auto;margin-inline-end:0;height:34px;min-width:42px;padding:0 9px;font-size:12px}
  header.hp-top .hp-tog{margin-inline-start:0!important}
}
/* ديسكتوب (>=761px): الزر جوه #hpnav آخر عنصر في الصف */
/* ديسكتوب (>=761px): الزر في السطر الأول على الشمال، قصاد البراند (القائمة نفسها سطر تحته) */
@media(min-width:761px){
  header.hp-top .hp-lang{order:0;margin-inline-start:auto;margin-inline-end:0;height:34px;min-width:44px;padding:0 10px}
}
