/* ===== PHP version additions (no inline styles anywhere, so the CSP can forbid them) ===== */
.art{width:100%;height:100%;min-height:100%}
.art0{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(48 32% 58%),hsl(56 36% 30%))}
.art1{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(70 32% 53%),hsl(78 36% 28%))}
.art2{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(55 32% 48%),hsl(63 36% 26%))}
.art3{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(80 32% 58%),hsl(88 36% 24%))}
.art4{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(42 32% 53%),hsl(50 36% 30%))}
.art5{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(65 32% 48%),hsl(73 36% 28%))}
.art6{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(58 32% 58%),hsl(66 36% 26%))}
.art7{background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.14) 0 20%,transparent 21%),radial-gradient(circle at 75% 80%,rgba(255,255,255,.09) 0 30%,transparent 31%),linear-gradient(135deg,hsl(75 32% 53%),hsl(83 36% 24%))}
.pic,.lead,.sc,.cine .bg{position:relative}
.pic>.art,.lead>.art,.sc>.art,.sc>img,.cine .bg>.art{position:absolute;inset:0}
.cine .bg{position:absolute;inset:0}.cine .bg>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.skip{position:absolute;inset-inline-start:-9999px;top:0;background:var(--card);color:#000;padding:.6rem 1rem;z-index:100}.skip:focus{inset-inline-start:0}
.hp{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.pt0{padding-top:0}.pt-s{padding-top:1.4rem}.mt{margin-top:1.1rem}.sh-top{margin-top:2rem}
.nav-s{margin:0 auto 0 0}.nav-s .btn{padding:.1rem .8rem}.btn-sm{padding:.2rem 1rem}
.flash{margin:1rem 0 0;padding:.8rem 1.1rem;border-radius:12px;font-weight:500}
.flash-ok{background:#EEF1E1;color:var(--olive);border:1px solid #cfd8ad}.flash-err{background:#FBEAE6;color:#8a3324;border:1px solid #efc4ba}
.sug a{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#EDE8D2;padding:.2rem .9rem;border-radius:999px;font-size:.85rem}.sug a:hover{background:rgba(255,255,255,.2)}
.chips a{flex:none;border:1px solid var(--gold-l);color:var(--gold);padding:.3rem 1.1rem;border-radius:999px;font-weight:500;white-space:nowrap}
.chips a:hover{border-color:var(--olive);color:var(--olive)}.chips a[aria-current=true]{background:var(--olive);border-color:var(--olive);color:#fff}
.dk .chips a{color:var(--gold-l)}.dk .chips a[aria-current=true]{color:#fff}
.tb .btn{padding:.55rem 1.4rem}
.pager{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center;margin:2rem 0 0}
.pager a,.pager .dots{min-width:40px;height:40px;display:grid;place-items:center;padding:0 .8rem;border-radius:10px;background:var(--card);border:1px solid var(--line);font-weight:500}
.pager .dots{background:none;border:0}.pager a:hover{border-color:var(--olive);color:var(--olive)}
.pager a[aria-current=page]{background:var(--olive);border-color:var(--olive);color:#fff}
.dk .pager a{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}.dk .pager a[aria-current=page]{background:var(--gold);border-color:var(--gold)}
.prose-s p{margin-bottom:.9rem;font-size:1.14rem;line-height:2}.prose-s img,.prose img{max-width:100%;height:auto;border-radius:10px}
.prose-s a,.prose a{color:var(--olive);text-decoration:underline}.qa.q .prose-s{margin-top:.6rem;color:var(--ink)}
.lede{font-size:1.16rem;margin:.6rem 0 1rem}
.aframe{width:100%;height:120px;border:0;border-radius:10px;background:#fff}.aplay{margin:1rem 0}.aplay audio{width:100%}
.player iframe,.player video{position:absolute;inset:0;width:100%;height:100%;border:0}
.air h3{margin-top:1.4rem}
@media(max-width:560px){.pager a{min-width:36px;height:36px;padding:0 .6rem}}
.sframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ===== Mobile overflow protection (long words, wide tables, big media, 1fr grids) ===== */
/* a grid cell written as "1fr" can never shrink below its widest content; minmax(0,1fr) lets it shrink */
.pl>*,.lv>*,.cgrid>*,.ngrid>*,.two>*,.ap>*,.bk>*,.bio>*,.pn>*,.sub>*{min-width:0}
.pn{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:960px){.pl,.lv{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.ngrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:860px){.cgrid,.two{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.bk{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.ap,.bio{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.sub{grid-template-columns:minmax(0,1fr)}.pn{grid-template-columns:minmax(0,1fr)}}
/* long links / unbroken strings wrap instead of widening the page */
.post,.prose,.prose-s,.qa,.box,.latest,.ref,.pmeta,.crumbs,.pn a,.sr,.row,.card,.nc{overflow-wrap:anywhere}
h1,h2,h3,h4{overflow-wrap:break-word}
/* media and tables coming from the database stay inside the screen */
.prose img,.prose-s img,.prose video,.prose iframe,.prose canvas,.prose svg,.prose-s iframe,.prose-s svg{max-width:100%;height:auto}
.prose table,.prose-s table{display:block;max-width:100%;overflow-x:auto}
.prose pre,.prose-s pre{max-width:100%;overflow-x:auto}
/* last safety net: nothing inside <main> can create sideways scrolling of the whole page */
main{overflow-x:clip}

/* ===== Search: suggestions under the header box, admin sync page ===== */
#search form{position:relative}
#sugg{position:absolute;inset-inline:0;top:100%;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.12);z-index:60;overflow:hidden;margin-top:.3rem}
#sugg a{display:block;padding:.65rem 1rem;color:var(--ink);border-bottom:1px solid var(--line)}
#sugg a:last-child{border-bottom:0}#sugg a:hover,#sugg a:focus{background:#F4F1E3}
#sugg small{display:inline-block;background:var(--olive);color:#fff;border-radius:999px;padding:0 .6rem;margin-inline-end:.4rem;font-size:.75rem}
.adm{max-width:760px}.adm .box{margin:1rem 0;padding:1.2rem}
.adm-login{display:grid;gap:.8rem;max-width:360px}.adm-login input{width:100%;padding:.6rem .8rem;border:1px solid var(--line);border-radius:10px}
.adm-t{width:100%;border-collapse:collapse}.adm-t th,.adm-t td{padding:.55rem .6rem;text-align:start;border-bottom:1px solid var(--line)}.adm-t .diff{color:#8a3324;font-weight:700}
.adm-f{margin-inline-start:.8rem}#syncp{display:block;width:100%;height:14px;margin-top:1rem}

/* advanced search */
.adv-l{margin:.5rem 0 1rem;font-size:.9rem;color:var(--muted,#666)}.adv-l a{color:inherit;text-decoration:underline}
#search .adv-l{display:inline-block;margin:.4rem 0 0}
.adv-f{display:flex;gap:.5rem;flex-wrap:wrap}.adv-f input[type=search]{flex:1 1 16rem}.adv-f select{min-height:2.75rem;border:1px solid var(--line,#ccc);border-radius:.5rem;padding:0 .6rem;background:inherit;color:inherit;font:inherit}
.adv-help{margin:1rem 0;padding:1rem 1.25rem}.adv-help summary{cursor:pointer;font-weight:var(--w-bold,700)}.adv-help ul{margin:.6rem 0;padding-inline-start:1.2rem}.adv-help li{margin:.3rem 0}
.adv-ex{display:grid;gap:.6rem;margin-top:.6rem}.adv-ex a{display:block;padding:.7rem .9rem;border:1px solid var(--line,#ddd);border-radius:.6rem;text-decoration:none;color:inherit}
.adv-ex a:hover{border-color:currentColor}.adv-ex code{display:block;font-family:inherit;font-weight:var(--w-bold,700);margin-bottom:.25rem;overflow-wrap:anywhere}.adv-ex span{display:block;font-size:.92rem;opacity:.85}

/* image placeholders: a tiny blurred copy (.lq) sits under the real picture until it has loaded */
.pic,.lead,.sc,.cine .bg,.fig,.cover,.cv{isolation:isolate}.fig,.cover,.cv{position:relative}
img.lq{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;filter:blur(12px);transform:scale(1.15)}
.pic,.cover,.cv{background:var(--sand,#ece8dc)}
.ask .g-recaptcha{margin-top:1rem;max-width:100%;overflow-x:auto}

/* images and PDF files inserted inside news / articles / answers; transcript toggle on video pages */
.prose figure.inl,.prose-s figure.inl{margin:1.4rem 0;width:100%}
.prose figure.inl img,.prose-s figure.inl img{display:block;width:100%;max-width:100%;height:auto;border-radius:10px}
figure.inl figcaption{margin-top:.5rem;color:var(--mute);font-size:.88rem;line-height:1.7;text-align:center}
.prose a.inl-doc,.prose-s a.inl-doc{display:flex;align-items:center;gap:.8rem;margin:1.2rem 0;padding:.9rem 1.1rem;border:1px solid rgba(0,0,0,.12);border-radius:12px;background:var(--pale);color:inherit;text-decoration:none}
a.inl-doc:hover{background:var(--gold-l)}a.inl-doc svg{flex:none;color:#b3261e}a.inl-doc .t{flex:1;font-weight:600}a.inl-doc small{color:var(--mute);direction:ltr;white-space:nowrap}
details.trans{margin-top:1.2rem}details.trans>summary{cursor:pointer;font-weight:700;list-style:none;padding:.2rem 0;color:var(--olive)}details.trans>summary::-webkit-details-marker{display:none}
details.trans>summary::before{content:"▾ ";}details.trans .c{display:none}details.trans[open] .o{display:none}details.trans[open] .c{display:inline}
details.trans .trbody{margin-top:.8rem;font-size:1.05rem;line-height:2.05;max-height:70vh;overflow:auto;padding-inline-end:.5rem}
.adv-opt{flex-basis:100%;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;margin-top:.6rem;font-size:.95rem}.adv-opt label{display:flex;gap:.4rem;align-items:center;cursor:pointer}
.adv-opt input{flex:none;width:auto;padding:0}

/* v37 — main news on the home page: title and date above the picture, nothing on the picture */
.leadx{display:block;color:inherit}
.leadx .lxt{padding:0 0 .9rem}
.leadx h3{margin:0 0 .35rem;font-size:clamp(1.3rem,3vw,1.95rem);color:var(--ink);overflow-wrap:anywhere}
.leadx time{display:block;color:var(--mute);font-size:.95rem}
.leadx .lxp{position:relative;display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:var(--dark);isolation:isolate}
.leadx .lxp>.art{position:absolute;inset:0}

/* v37 — logo: new calligraphy logo, aligned to the right (start side of the page).
   v39 — the white bar is two thirds of its old size: maximum width 373 px (was 560), 66.7% of the width on a phone (was 100%), and the space above and below is reduced in the same proportion. */
.logo{padding:.55rem 0}
.logo img{width:min(66.7%,373px);height:auto;margin-inline:0 auto}
/* the logo's pale tagline needs a light background: the about page is sand coloured, so the logo sits on a white card there */
.hero2 img{background:#fff;border-radius:16px;padding:1rem 1.2rem;box-sizing:content-box;max-width:calc(100% - 2.4rem)}

/* v38 — search panel with two boxes: normal search and ask the AI */
#search .sf{margin:0 0 .3rem}
#search .sl{display:block;margin:0 0 .35rem;font-size:.95rem;font-weight:var(--w-bold);color:var(--olive)}
#search .sb{position:relative}
#search .sico{position:absolute;top:50%;inset-inline-start:.95rem;transform:translateY(-50%);width:22px;height:22px;color:var(--olive);pointer-events:none;display:flex}
#search .sico svg{width:100%;height:100%}
#search .sb input{width:100%;font:inherit;font-size:1.1rem;padding:.75rem 1.1rem;padding-inline-start:3rem;border:1px solid var(--gold-l);border-radius:10px;background:var(--card);color:var(--ink);box-sizing:border-box}
#search .sf-ai{margin-top:.9rem}
#search .sf-ai input{border-color:var(--olive);background:#FBFAF4}
#search .adv-l{margin:.45rem 0 0}

/* v38 — main news title on the home page: green on hover like the other titles, no underline */
.leadx:hover h3{color:var(--olive);text-decoration:none}

/* v38 — more space between a title and the row under it (chip + date) on detail pages */
.pmeta{padding-top:.8rem}
.vt .meta{padding-top:.6rem}
@media(max-width:600px){.pmeta{padding-top:.6rem}}

/* v38 — about page: the text under the logo, and the sheikh block with his photo */
.about-t{margin-bottom:1.6rem}
.about-t .prose-s p,.bio .prose-s p{margin:0 0 1rem}
.about-t .prose-s p,.bio .prose-s p,.bio .intro .prose-s p{font-size:1.16rem}   /* the «تعريف» page: same text size as the news (.at) */
.qa .prose-s,.qa .prose-s p{font-size:1.16rem}   /* answer pages: question and answer text at the news size (text without <p> used to fall back to 1rem) */
.about-t .prose-s p:last-child{margin-bottom:0}
.bio{align-items:start}
.bio .ph2{align-self:start}
.bio .ph2 img{width:100%;height:100%;object-fit:cover;display:block}
.bio h2{margin-bottom:.8rem}
.bio-l{font-weight:var(--w-bold);color:var(--olive);text-decoration:underline;text-underline-offset:.25em}
.bio-l:hover{color:var(--gold)}

/* v39 — YouTube button in the live block (home and live pages): same outline style as the Telegram one, with a small icon;
   on phones the buttons are stacked, each the full width, so the long text is not cut */
.acts-live .btn .ico,.nx .acts2 .btn .ico{display:inline-flex;margin-inline-end:.45rem}
.acts-live .btn .ci,.nx .acts2 .btn .ci{width:20px;height:20px}
@media(max-width:560px){.acts-live,.nx .acts2{flex-direction:column;align-items:stretch}.acts-live .btn,.nx .acts2 .btn{width:100%;justify-content:center;text-align:center}}

/* v40 — new footer: the office logo (with «جميع الحقوق محفوظة» under it), «روابط الموقع», «مواقع اتحادية» (7 links), then the social icons centred.
   The three blocks are spread over the full width (space-between), so the two gaps between them are always equal. On a phone everything is stacked. */
footer{padding:2.4rem 0 1.4rem}
.fx{display:block}
.ftop{display:flex;gap:2rem;align-items:flex-start;justify-content:space-between}
.fbrand{display:flex;flex-direction:column;align-items:center;gap:.7rem;width:360px;max-width:100%;text-align:center}
.fbrand img{width:100%;height:auto;display:block;filter:drop-shadow(0 3px 8px rgba(0,0,0,.25))}
.fbrand p{margin:0;font-size:.88rem;color:#E6DCB8}
.fcol h3{margin:0 0 .8rem;font-size:1.05rem;font-weight:800;color:#F3DC9A;padding-bottom:.5rem;border-bottom:1px solid rgba(243,220,154,.35);display:inline-block;min-width:8rem}
.fcol ul{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.fcol a{color:#F6F0DC;text-decoration:none;font-size:.95rem}.fcol a:hover{color:#fff;text-decoration:underline}
.ffed ul{grid-template-columns:auto auto;column-gap:2rem}
.fbot{margin-top:2rem;padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.18);display:flex;justify-content:center}
@media(max-width:860px){.ftop{flex-direction:column;align-items:stretch;gap:1.6rem}.fbrand{margin-inline:auto;width:300px}.fcol h3{display:block}.ffed ul{grid-template-columns:1fr}}
.fbot .cicons{justify-content:center}

/* ===== version 43 ===== */
/* theme button (next to the search button) */
#tbtn .sun{display:none}html[data-theme=dark] #tbtn .sun{display:block}html[data-theme=dark] #tbtn .moon{display:none}

/* about page: statistic cards with an icon, the biography with its picture, the scholars' certificates */
.stats div{display:flex;flex-direction:column;align-items:center;gap:.1rem}
.stats .sti{width:34px;height:34px;fill:none;color:var(--olive);stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.15rem}
.bio{display:block;overflow:hidden}                                            /* the picture floats at the start and the long text flows around it */
.bio .ph2{float:right;width:min(300px,42%);margin:0 0 1rem 1.6rem}
.bio .biot{display:block}
.bio h2{font-size:clamp(1.3rem,3.2vw,1.7rem);line-height:1.7;margin-bottom:.9rem}
.bio .prose-s h3{font:700 1.4rem/1.7 var(--font);color:var(--olive);margin:1.5rem 0 .5rem;clear:none}
.bio .prose-s ul:not(.certs){margin:.2rem 1.3rem 1rem 0;padding:0}.bio .prose-s ul:not(.certs) li{margin-bottom:.8rem;line-height:2}
.bio .prose-s b{font-weight:inherit}
.certs{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);align-items:start;gap:.9rem;margin:1.2rem 0 1.6rem!important;padding:0!important;clear:both}
.certs li{margin:0!important}
.certs a{display:block;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;transition:transform .15s,box-shadow .15s}
.certs a:hover,.certs a:focus-visible{transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.certs img{width:100%;height:auto;border-radius:0}
@media(max-width:900px){.certs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bio{display:block}.bio .ph2{float:none;width:min(320px,100%);margin:0 auto 1.1rem}}
@media(prefers-reduced-motion:reduce){.certs a{transition:none}.certs a:hover{transform:none}}
dialog.zoom{border:0;padding:0;background:transparent;max-width:min(94vw,860px);max-height:92vh;overflow:visible;margin:auto}
dialog.zoom::backdrop{background:rgba(0,0,0,.78)}
dialog.zoom img{display:block;width:100%;height:auto;max-height:80vh;object-fit:contain;background:#fff;border-radius:10px}
dialog.zoom p{color:#fff;text-align:center;margin:.7rem .5rem 0;font-size:.95rem;line-height:1.8}
dialog.zoom .x{position:absolute;top:-14px;inset-inline-start:-14px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:#222;font-size:1rem;box-shadow:0 2px 10px rgba(0,0,0,.4)}

/* AI page: turns, follow-up question, waiting indicator */
.turn{margin-top:1.6rem;padding:0}.turn:first-child{margin-top:1.1rem}
.turn .qb{margin-top:0}
.follow{margin-top:1.6rem}
.fu{margin:.8rem 0 .3rem}
.fuh{color:var(--mute);font-size:.88rem}
.fuerr{background:#FBEAE6;color:#8a3324;border:1px solid #efc4ba;border-radius:10px;padding:.6rem 1rem;margin:.4rem 0}
html[data-theme=dark] .fuerr{background:#3A2420;color:#F0B3A6;border-color:#6A3A31}
.wait{display:flex;align-items:center;gap:.9rem;padding:.7rem 1.1rem;border-radius:14px;background:var(--card);border:1px solid var(--line);width:fit-content;max-width:100%}
.wait[hidden]{display:none}
.wait .wt{color:var(--ink);font-weight:500}
.wait .drop{flex:none;width:22px;height:28px;background:var(--olive);clip-path:path("M11 0C11 0 22 12 22 18A11 11 0 0 1 0 18C0 12 11 0 11 0Z");transform-origin:50% 100%;animation:dropf 1.7s ease-in-out infinite}
@keyframes dropf{0%,100%{transform:translateY(-3px) scale(.94,1.04);opacity:.85}50%{transform:translateY(3px) scale(1.06,.94);opacity:1}}
.waitov{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(224,215,191,.82)}
.waitov .wait{box-shadow:0 8px 30px rgba(0,0,0,.18);padding:1rem 1.5rem}
@media(prefers-reduced-motion:reduce){.wait .drop{animation:none}}

/* version 44: the sources of an AI answer are folded under «عرض المصادر» */
.srcx{margin-top:1rem}
.srcx>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:var(--olive);border:1px solid var(--line);background:var(--card);border-radius:999px;padding:.35rem 1.1rem}
.srcx>summary::-webkit-details-marker{display:none}
.srcx>summary::after{content:"";width:.5rem;height:.5rem;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.srcx[open]>summary::after{transform:rotate(-135deg) translateY(-2px)}
.srcx>summary:focus-visible{outline:2px solid var(--gold-l);outline-offset:2px}
.srcx[open]>summary{margin-bottom:.9rem}
@media(prefers-reduced-motion:reduce){.srcx>summary::after{transition:none}}

/* version 53: header = the V3 banner (tagline, logo and leaf) over the full width of the page, starting at the right edge, on #F3F2EA, at most 260 px high (the left side then shows the plain #F3F2EA, which the picture fades into), with a 4 px line #D0C2A4 under it; on phones the picture takes the full width */
.logo{position:relative;background:#F3F2EA;padding:0;overflow:hidden;border-bottom:4px solid #D0C2A4}
.logo>a{display:block}
.logo img{display:block;width:100%;max-width:none;height:auto;max-height:200px;object-fit:contain;object-position:right center;margin:0;border-radius:0}
/* the green «ask the AI» card of the search page: the star was not sized and filled the card */
.cta svg{width:20px;height:20px;flex:none}
.cta>span{display:inline-flex;align-items:center;gap:.55rem}
/* about page: picture on the right level with the title, title + first paragraph in one column at its left; the rest runs full width below */
.bio{overflow:visible}
.bio .intro{display:grid;grid-template-columns:min(300px,38%) minmax(0,1fr);gap:1.6rem;align-items:start;margin-bottom:.4rem}
.bio .intro .ph2{float:none;width:100%;margin:0}
.bio .intro h2{margin-top:0}
.bio .intro .prose-s p{margin:0}
@media(max-width:700px){.bio .intro{grid-template-columns:minmax(0,1fr)}.bio .intro .ph2{width:min(320px,100%);margin:0 auto}}
/* shorts page: the same vertical cards as the home row, in a grid */
.sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(44%,190px),1fr));gap:1rem}
.sgrid .sc{width:100%}

/* version 46: the photo starts level with the top of the title letters; the photo is a little shorter so the intro text fills the height beside it */
.bio .intro{margin-bottom:0}
.bio .intro .ph2{margin-top:.8rem;aspect-ratio:1/1.12;overflow:hidden}
.bio .intro .ph2 img{height:100%}
@media(max-width:700px){.bio .intro .ph2{margin-top:0;aspect-ratio:auto}}
/* the note under every answer */
.anote{margin:1.2rem 0 0;color:#7A5F22;font-size:.95rem;line-height:1.9;border-inline-start:3px solid #B8923A;padding-inline-start:.9rem;text-align:start}

/* ===== version 48 ===== */
/* «تعريف»: the lists of the biography read as ordinary paragraphs (no bullets, same size and width as the other paragraphs) */
.bio .prose-s ul:not(.certs){list-style:none;margin:0 0 1rem;padding:0}
.bio .prose-s ul:not(.certs) li{margin:0 0 1rem;font-size:1.16rem;line-height:2}
/* clips: card (16:9) badges, the list of parts under the player, the people, the tags */
.tabs{margin-bottom:.6rem}.chips.sub{font-size:.95rem}.chips .lbl{color:var(--mute);margin-inline-end:.3rem;align-self:center}
.vc.cc .dur{position:absolute;inset-inline-start:.5rem;bottom:.5rem;z-index:2;background:rgba(0,0,0,.74);color:#fff;font:600 .8rem/1 sans-serif;padding:.3rem .45rem;border-radius:6px;direction:ltr}
.vc.cc .pbd{max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:absolute;inset-inline-end:.5rem;top:.5rem;z-index:2;background:#B8923A;color:#fff;font:600 .78rem/1.2 var(--font);padding:.28rem .6rem;border-radius:999px}
.cparts{list-style:none;margin:.9rem auto 0;padding:0;max-width:980px;display:grid;gap:.4rem}
.cparts button{width:100%;display:flex;align-items:center;gap:.7rem;text-align:start;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:.55rem .8rem;font:500 1rem/1.5 var(--font);cursor:pointer}
.cparts button:hover{background:rgba(255,255,255,.14)}
.cparts button b{flex:none;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:.85rem}
.cparts button span{flex:1;min-width:0}.cparts button time{color:#CFCBB0;font-size:.85rem;flex:none}
.cparts button.on{background:#C9A85A;color:#2A311F;border-color:transparent}.cparts button.on b{background:#2A311F;color:#fff}.cparts button.on time{color:#3A3F2A}
.ppl .pc{padding:1rem 0;border-top:1px solid var(--line)}.ppl h3+.pc{border-top:0;padding-top:.2rem}
.ppl .pc h4{font:700 1.15rem/1.6 var(--font);color:var(--olive)}
.ppl .cn{display:inline-block;margin:.1rem 0 .4rem;font-size:.85rem;background:#EEF1E1;color:var(--olive);padding:.05rem .7rem;border-radius:999px;text-decoration:none}
.ppl .pc p{margin:.3rem 0 0;line-height:2;font-size:1.05rem}
.srcl{margin:1rem 0}.ctags{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.ctags a{background:#EEF1E1;color:var(--olive);padding:.2rem .8rem;border-radius:999px;font-size:.9rem;text-decoration:none}
/* language page (version 52, from the supplied landing design): the whole screen, opaque, on the first visit and from the globe in the header */
html.lgo{overflow:hidden}
.lgp{--ring:min(48vh,calc(100vw - 32px));--f-ar:"El Messiri","Rafida","Amiri","Noto Naskh Arabic",serif;--f-nq:"Noto Nastaliq Urdu","Rafida","Amiri",serif;--f-lt:"Jost","Helvetica Neue",Arial,sans-serif;position:fixed;inset:0;z-index:300;background:#F3F2EA;color:#2F3A1A;overflow:auto;-webkit-overflow-scrolling:touch}
@supports(height:1svh){.lgp{--ring:min(48svh,calc(100vw - 32px))}}
.lgp[hidden]{display:none}
.lgp-in{min-height:max(100%,560px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;padding:0 16px 28px;overflow:hidden}
.lgp-band{position:relative;flex:none;height:28vh;min-height:150px;width:100vw;margin-inline:-16px;overflow:hidden}
@supports(height:1svh){.lgp-band{height:28svh}}
.lgp-band .amb{position:absolute;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);max-width:none;object-fit:cover;object-position:50% 100%;filter:blur(28px) saturate(.9);opacity:.75;-webkit-mask-image:linear-gradient(to bottom,#000 30%,transparent 85%);mask-image:linear-gradient(to bottom,#000 30%,transparent 85%)}
.lgp-band .fg{position:absolute;left:50%;bottom:0;height:135%;transform:translateX(-50%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 22%,#000 78%,transparent 100%)}
.lgp-band .fg img{display:block;height:100%;width:auto;max-width:none;-webkit-mask-image:linear-gradient(to bottom,#000 86%,transparent 100%);mask-image:linear-gradient(to bottom,#000 86%,transparent 100%)}
.lgp-ring{position:relative;flex:none;width:var(--ring);height:var(--ring);max-width:100%;margin-top:-6vh}
@supports(height:1svh){.lgp-ring{margin-top:-6svh}}
.lgp-ring svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.lgp-ring .c1{fill:none;stroke:#B39B6A;stroke-width:.16;stroke-opacity:.8}
.lgp-ring .c2{fill:none;stroke:#B39B6A;stroke-width:.08;stroke-opacity:.45;stroke-dasharray:.4 1.2}
.lgp-ring .rp,.lgp-disc{position:absolute;left:24%;top:24%;width:52%;height:52%;border-radius:50%;box-sizing:border-box}
.lgp-ring .rp{border:1px solid rgba(179,155,106,.55);opacity:0;animation:lgpRipple 7s cubic-bezier(.2,.6,.3,1) infinite}
.lgp-ring .rp.late{animation-delay:3.5s}
@keyframes lgpRipple{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.62);opacity:0}}
.lgp-disc{background:#FCFBF6;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px rgba(179,155,106,.5),0 0 0 clamp(6px,1.2vmin,11px) #FCFBF6,0 0 0 clamp(7px,calc(1.2vmin + 1px),12px) rgba(179,155,106,.28),0 40px 90px -36px rgba(46,56,24,.45)}
.lgp-disc img{width:66%;height:auto;display:block}
.lgp-b{position:absolute;transform:translate(-50%,-50%);box-sizing:border-box;width:max(74px,calc(var(--ring) * .19));height:max(44px,calc(var(--ring) * .09));padding:0 4px;border:1px solid rgba(179,155,106,.65);border-radius:999px;background:#FBFAF4;color:#2F3A1A;display:flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;transition:background .35s,color .3s,box-shadow .35s,border-color .3s,transform .35s}
.lgp-b span{font-size:clamp(13px,calc(var(--ring) * .034),21px);font-weight:500}
.lgp-b.k-ar{font-family:var(--f-ar)}.lgp-b.k-ar span{font-weight:600;line-height:1.3}
.lgp-b.k-fa,.lgp-b.k-ur{font-family:var(--f-nq)}.lgp-b.k-fa span,.lgp-b.k-ur span{line-height:1.75}
.lgp-b.k-lt{font-family:var(--f-lt)}.lgp-b.k-lt span{line-height:1.2;letter-spacing:.02em}
.lgp-b:hover{border-color:#9C8550;color:#3E4A22;background:radial-gradient(120% 140% at 50% 20%,#FFFDF6 0%,#F1E8D0 70%,#E9DDBE 100%);box-shadow:0 0 0 4px rgba(179,155,106,.16),0 14px 28px -14px rgba(110,93,51,.55);transform:translate(-50%,-50%) translateY(-2px)}
.lgp-b:focus-visible{outline:2px solid #3E4A22;outline-offset:3px}
.lgp-b.is-on{background:#3E4A22;color:#F7F4EA;border-color:#3E4A22;box-shadow:0 16px 34px -14px rgba(46,56,24,.7)}
.lgp-b.p0{left:70.50%;top:14.49%}.lgp-b.p1{left:87.88%;top:34.31%}.lgp-b.p2{left:89.60%;top:60.61%}.lgp-b.p3{left:74.96%;top:82.53%}.lgp-b.p4{left:50.00%;top:91.00%}.lgp-b.p5{left:25.04%;top:82.53%}.lgp-b.p6{left:10.40%;top:60.61%}.lgp-b.p7{left:12.12%;top:34.31%}.lgp-b.p8{left:29.50%;top:14.49%}
.lgp-tag{display:block;width:min(34vh,86vw);height:auto;flex:none;margin-top:1.5vh}
@supports(height:1svh){.lgp-tag{width:min(34svh,86vw);margin-top:1.5svh}}
@media(prefers-reduced-motion:reduce){.lgp-ring .rp{animation:none}.lgp-b{transition:none}}
/* the live-broadcast pill: over the banner at the left end of the menu's width on wide screens (menu visible), in the menu bar on narrow ones */
.pl-in{position:absolute;inset:auto 0 1.1rem;display:none;justify-content:flex-end;pointer-events:none}
.pl-band{pointer-events:auto}
@media(min-width:900px){.pl-nav{display:none}.pl-in{display:flex}.pl-band{display:inline-flex;white-space:nowrap;color:#3E4A22;background:rgba(62,74,34,.1)}.pl-band:hover{background:rgba(62,74,34,.18);color:#2A3316}}

/* AI answer text (version 54): the answer is light Markdown rendered by ai_md() */
.air .at p{margin:.55rem 0}
.air .at ul,.air .at ol{margin:.5rem 0;padding-inline-start:1.5rem}
.air .at li{margin:.3rem 0}
.air .at h4{margin:1rem 0 .3rem;font-size:1.05em;color:var(--olive)}
.air .at strong{font-weight:700}
