:root{color-scheme:light;--bg:#86c9f2;--card:#fff;--ink:#0b1b2e;--mute:#34475e;--line:#9cc6e4;--brand:#0ea5e9;--brand-strong:#0369a1;--soft:#d9f0ff}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Cairo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:17px;line-height:1.8}
.wrap{max-width:900px;margin:0 auto;padding:0 16px}
header.top{display:flex;justify-content:space-between;align-items:center;padding:20px 0;gap:12px;flex-wrap:wrap}
.logo{font-weight:800;font-size:1.3rem;color:var(--ink);text-decoration:none}
.right{display:flex;gap:16px;align-items:center}
.right a.nav{color:var(--ink);text-decoration:none;font-weight:700}
.right a.nav:hover{text-decoration:underline}
.langbox{position:relative}
.lang{border:2px solid var(--brand);background:#fff;color:var(--ink);border-radius:999px;padding:7px 16px;font:inherit;font-weight:700;cursor:pointer;display:flex;gap:8px;align-items:center}
.lang:hover{background:var(--soft)}
.lang:focus-visible{outline:3px solid var(--brand-strong);outline-offset:2px}
.lang .chev{width:12px;height:12px}
.flag{flex:none;border-radius:2px;display:block}
#langFlag{display:flex}
.menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);min-width:190px;background:#fff;border:2px solid var(--brand);border-radius:14px;padding:6px;margin:0;list-style:none;box-shadow:0 10px 28px rgba(3,105,161,.2);z-index:10}
.menu[hidden]{display:none}
.menu button{width:100%;text-align:start;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:600;padding:10px 12px;border-radius:9px;cursor:pointer;display:flex;align-items:center;gap:8px}
.menu button:hover{background:var(--soft)}
.menu button[aria-current="true"]{font-weight:800;color:var(--brand-strong);background:var(--soft)}
article{background:var(--card);border:2px solid var(--line);border-radius:18px;padding:36px;margin:16px 0;box-shadow:0 4px 16px rgba(3,105,161,.1)}
@media (max-width:520px){article{padding:22px}}
h1{font-size:clamp(1.8rem,5vw,2.4rem);margin:0 0 4px;font-weight:800;line-height:1.3}
.upd{color:var(--mute);margin:0 0 24px;font-size:.95rem;font-weight:600}
h2{font-size:1.3rem;margin:30px 0 6px;font-weight:800;color:var(--brand-strong)}
p,li{color:var(--ink)}
p{margin:8px 0}
ul{margin:8px 0;padding-inline-start:24px}
li{margin:4px 0}
a{color:var(--brand-strong);font-weight:600}
footer{border-top:2px solid var(--brand-strong);margin-top:32px;padding:24px 0 40px;text-align:center;color:var(--ink);font-size:.95rem}
footer a{color:var(--ink);margin:0 10px;text-decoration:none;font-weight:600;display:inline-block}
footer a:hover{color:var(--brand-strong);text-decoration:underline}
[lang-en],[lang-ar],[lang-ma],[lang-fr]{display:none}
html[data-lang="en"] [lang-en],html[data-lang="ar"] [lang-ar],html[data-lang="ma"] [lang-ma],html[data-lang="fr"] [lang-fr]{display:revert}
