/* Pexelat — Direction C "Soft Premium". Tokens mirror the design canvas exactly. */
:root{--bg:#faf8f5;--surface:#fff;--ink:#1c1917;--muted:#625c56;--on-accent:#ffffff;--accent-text:var(--accent-dark);--line:rgba(28,25,23,.07);--tint:#f1ede7;--shadow:0 12px 30px -18px rgba(28,25,23,.28);--shadow-lg:0 24px 48px -24px rgba(15,23,42,.35);--r:22px;--r-lg:28px;--head:'Cairo',system-ui,sans-serif;--body:'Tajawal',system-ui,sans-serif;--wrap:1280px;--gutter:56px}
html[data-theme=dark]{--on-accent:#ffffff;--accent-text:var(--accent);--accent-text:color-mix(in srgb,var(--accent) 62%,#ffffff);--bg:#15161a;--surface:#1d1f25;--ink:#f4f4f5;--muted:#9ca3af;--line:rgba(255,255,255,.08);--tint:rgba(255,255,255,.06);--shadow:0 12px 32px -18px rgba(0,0,0,.8);--shadow-lg:0 24px 48px -24px rgba(0,0,0,.9);color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:110px}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}html,body{overflow-x:clip}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.7;color:var(--ink);background:var(--bg)}
a{color:var(--accent-text);text-decoration:none}a:hover{color:var(--accent)}
img{max-width:100%;height:auto}
h1,h2,h3,h4{font-family:var(--head);font-weight:700;line-height:1.3;margin:0;color:var(--ink)}
button{font:inherit}
.pex-skip{position:absolute;top:8px;inset-inline-start:8px;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);background:var(--accent);color:var(--on-accent);padding:8px 14px;border-radius:999px;z-index:100}.pex-skip:focus{width:auto;height:auto;clip:auto}
.pex-wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.pex-i{width:18px;height:18px;flex:none}
/* ---- header (floating pill) ---- */
.pex-header{padding:16px 0 12px;position:sticky;top:0;z-index:40;background:transparent;pointer-events:none;view-transition-name:pex-header}.pex-header .pex-bar{pointer-events:auto}
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)){.pex-header .pex-bar{background:color-mix(in srgb,var(--surface) 62%,transparent);backdrop-filter:blur(22px) saturate(1.6);-webkit-backdrop-filter:blur(22px) saturate(1.6)}}
.pex-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding-block:10px;padding-inline:14px 22px;box-shadow:var(--shadow)}
.pex-bar__start{display:flex;align-items:center;gap:20px;min-width:0}.pex-bar__end{display:flex;align-items:center;gap:8px}
.pex-logo{display:inline-flex;align-items:center;color:var(--ink);flex:none}.pex-logo img{height:40px;width:auto;max-width:200px;display:block;object-fit:contain}.pex-logo__svg{height:48px;width:auto;max-width:100%;display:block;color:var(--ink);flex:none}.pex-bar__start{flex:1}.pex-bar__end{flex:none}
.pex-logo__text{font-family:var(--head);font-weight:700;font-size:24px;white-space:nowrap}.pex-logo__text em{font-style:normal;color:var(--accent)}
.pex-nav{min-width:0}.pex-nav__list{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;font-family:var(--head);font-weight:700;font-size:14px;overflow-x:auto;scrollbar-width:none}.pex-nav__list::-webkit-scrollbar{display:none}
.pex-nav__list a{display:block;padding:8px 10px;border-radius:999px;color:var(--ink);white-space:nowrap}.pex-nav__list a:hover{background:var(--tint)}.pex-nav__list a:hover{color:var(--ink)}
.pex-nav__list .current-menu-item>a,.pex-nav__list .current_page_item>a{background:var(--tint);color:var(--ink)}
.pex-ib{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;border:0;cursor:pointer;padding:0;color:var(--ink);background:var(--tint)}
.pex-ib--ink{background:var(--ink);color:var(--bg)}.pex-ib--menu{display:none}
/* spotlight search */
.pex-spot{position:fixed;inset:0;z-index:70;background:rgba(28,25,23,.38);backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2);display:flex;justify-content:center;align-items:center;padding:20px;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility 0s .22s}
html[data-theme=dark] .pex-spot{background:rgba(0,0,0,.55)}
.pex-spot.is-open{opacity:1;visibility:visible;transition:opacity .22s ease}
body.pex-spot-open{overflow:hidden}
.pex-spot__panel{width:min(680px,100%);background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:0 40px 90px -30px rgba(0,0,0,.55);overflow:hidden;transform:translateY(-10px) scale(.98);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.pex-spot.is-open .pex-spot__panel{transform:none}
.pex-spot__form{display:flex;align-items:center;gap:14px;padding:10px 22px;border-bottom:1px solid var(--line);color:var(--muted)}
.pex-spot__form .pex-i{width:24px;height:24px;flex:none}
.pex-spot__input{flex:1;min-width:0;border:0;background:transparent;font-family:var(--head);font-weight:700;font-size:24px;line-height:1.4;padding:12px 0;color:var(--ink)}
.pex-spot__input:focus{outline:none}.pex-spot__input::placeholder{color:var(--muted);font-weight:700}
.pex-spot__input::-webkit-search-cancel-button{-webkit-appearance:none}
.pex-spot__kbd{font:600 11px/1 var(--head);color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:6px 8px;background:var(--tint)}
.pex-spot__list{max-height:min(56vh,440px);overflow-y:auto;padding:8px;scrollbar-width:thin}
.pex-spot__sec{font-family:var(--head);font-weight:700;font-size:11px;color:var(--muted);letter-spacing:1px;padding:10px 14px 4px}
.pex-spot__item{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border:0;background:transparent;color:var(--ink);font-family:var(--head);font-weight:700;font-size:15px;padding:10px 14px;border-radius:14px;cursor:pointer}
.pex-spot__item.is-active{background:var(--tint)}.pex-spot__item kbd{margin-inline-start:auto;font:600 11px/1 var(--head);color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:4px 7px}
.pex-keys{position:fixed;inset:0;z-index:75;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;padding:20px}.pex-keys[hidden]{display:none}
.pex-keys__panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px 22px;width:min(400px,100%);box-shadow:0 30px 70px -30px rgba(0,0,0,.5)}
.pex-keys dl{display:grid;grid-template-columns:auto 1fr;gap:12px 16px;margin:14px 0 0;align-items:center}.pex-keys dd{margin:0;color:var(--muted);font-size:14px}.pex-keys kbd{font:700 12px/1 var(--head);color:var(--ink);background:var(--tint);border:1px solid var(--line);border-radius:7px;padding:5px 8px;display:inline-block}
@media (prefers-reduced-motion:reduce){.pex-spot,.pex-spot__panel{transition:none}}
/* toast */
.pex-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,16px);z-index:80;background:var(--ink);color:var(--bg);font-family:var(--head);font-weight:700;font-size:14px;padding:10px 18px;border-radius:999px;box-shadow:0 16px 40px -16px rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1)}
.pex-toast.is-on{opacity:1;transform:translate(-50%,0)}
/* reading progress + back to top */
.pex-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:45;pointer-events:none}.pex-progress span{display:block;height:100%;background:var(--accent);transform:scaleX(0);transform-origin:right;transition:transform .08s linear}
.pex-top{position:fixed;left:22px;bottom:22px;z-index:50;width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:var(--shadow);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.pex-top.is-on{opacity:1;transform:none;pointer-events:auto}.pex-top:hover{background:var(--accent);color:var(--on-accent);border-color:transparent}
/* mobile dock */
.pex-dock{display:none}
/* mobile full menu */
.pex-menu{position:fixed;inset:0;z-index:60;background:var(--bg);display:flex;flex-direction:column;gap:18px;padding:16px 20px 28px;overflow-y:auto;transform:translateX(-100%);visibility:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),visibility 0s .35s}
html[dir=rtl] .pex-menu:not(.is-open){transform:translateX(100%)}
.pex-menu.is-open{transform:none;visibility:visible;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
body.pex-menu-open{overflow:hidden}
.pex-menu__head{display:flex;align-items:center;justify-content:space-between;min-height:48px}
.pex-menu__title{font-family:var(--head);font-weight:700;font-size:22px}
.pex-menu__search{margin:0}.pex-menu__search .pex-ib{flex:none;width:40px;height:40px}.pex-menu__search .pex-ib .pex-i{width:18px;height:18px}
.pex-menu__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.pex-menu__list li{border-bottom:1px solid var(--line)}
.pex-menu__list a{display:flex;align-items:center;justify-content:space-between;padding:16px 4px;font-family:var(--head);font-weight:700;font-size:20px;color:var(--ink)}
.pex-menu__list a::after{content:"";width:9px;height:9px;border-left:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-inline-start:8px;flex:none}
.pex-menu__list .current-menu-item>a{color:var(--accent-text)}html[data-theme=dark] .pex-menu__list .current-menu-item>a{color:var(--accent)}
.pex-menu__foot{margin-top:auto;display:flex;justify-content:center;padding-top:12px;padding-bottom:72px}.pex-menu__foot .pex-social{justify-content:center;margin-top:0}
@media (prefers-reduced-motion:reduce){.pex-menu{transition:none}}
/* theme toggle */
.pex-toggle{position:relative;width:44px;height:44px;border-radius:999px;border:0;cursor:pointer;padding:0;color:#fff;background:linear-gradient(135deg,#f59e0b,#f97316);box-shadow:inset 0 0 0 2px rgba(255,255,255,.25),0 6px 16px -6px rgba(249,115,22,.7);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;transition:background .45s ease,box-shadow .45s ease,transform .2s ease}
.pex-toggle:hover{transform:translateY(-1px) scale(1.04)}.pex-toggle:active{transform:scale(.92)}
.pex-toggle>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:transform .5s cubic-bezier(.34,1.56,.64,1),opacity .3s ease}.pex-toggle .pex-i{width:20px;height:20px}
.pex-toggle .pex-i-sun{transform:rotate(0) scale(1);opacity:1}.pex-toggle .pex-i-moon{transform:rotate(-120deg) scale(.4);opacity:0}
html[data-theme=dark] .pex-toggle{background:linear-gradient(135deg,#1e293b,#0f172a);color:#bfdbfe;box-shadow:inset 0 0 0 2px rgba(148,163,184,.25),0 6px 16px -6px rgba(14,165,233,.6)}
html[data-theme=dark] .pex-toggle .pex-i-sun{transform:rotate(120deg) scale(.4);opacity:0}html[data-theme=dark] .pex-toggle .pex-i-moon{transform:rotate(0) scale(1);opacity:1}
.pex-toggle.is-pop{animation:pex-pop .45s cubic-bezier(.34,1.56,.64,1)}@keyframes pex-pop{0%{transform:scale(1)}40%{transform:scale(.85) rotate(-12deg)}100%{transform:scale(1) rotate(0)}}
/* theme change: circular reveal via View Transitions (progressive), soft colour fade elsewhere */
@view-transition{navigation:auto}
::view-transition-old(root){animation:pex-fadeout .18s ease-in}::view-transition-new(root){animation:pex-fadein .28s ease-out}
@keyframes pex-fadeout{to{opacity:0}}@keyframes pex-fadein{from{opacity:0;transform:translateY(6px)}}
html.pex-theming::view-transition-old(root),html.pex-theming::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.pex-theming::view-transition-new(root){animation:pex-reveal .6s ease-out;clip-path:circle(0 at var(--pex-x,90%) var(--pex-y,40px))}
@keyframes pex-reveal{to{clip-path:circle(150vmax at var(--pex-x,90%) var(--pex-y,40px))}}
html.pex-fade body,html.pex-fade .pex-bar,html.pex-fade .pex-card,html.pex-fade .pex-box,html.pex-fade .pex-form,html.pex-fade .pex-ad{transition:background-color .45s ease,color .45s ease,border-color .45s ease}
/* scroll reveal: opacity/transform only (no layout shift); only when JS runs, never for reduced motion */
html.js .pex-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
html.js .pex-reveal.is-in{opacity:1;transform:none}
html.js .pex-grid>.pex-reveal:nth-child(2),html.js .pex-hero__side>.pex-reveal:nth-child(2){transition-delay:.08s}html.js .pex-grid>.pex-reveal:nth-child(3),html.js .pex-hero__side>.pex-reveal:nth-child(3){transition-delay:.16s}html.js .pex-grid>.pex-reveal:nth-child(4),html.js .pex-hero__side>.pex-reveal:nth-child(4){transition-delay:.24s}
/* social row */
.pex-social{display:flex;gap:8px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.pex-social a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:var(--tint);color:var(--ink);transition:background .2s ease,color .2s ease,transform .2s ease}.pex-social a:hover{background:var(--accent);color:var(--on-accent);transform:translateY(-2px)}
.pex-social--lg a{width:42px;height:42px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.pex-social--lg{margin-top:14px}
.pex-footer__brandwrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.pex-comments .pex-form__ok{margin-bottom:16px}
.pex-social--band{gap:10px;justify-content:flex-end;max-width:520px}.pex-social--band a{width:auto;height:46px;padding:0 18px 0 14px;gap:10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#faf8f5;font-family:var(--head);font-weight:700;font-size:14px}.pex-social--band a:hover{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.pex-social--band .pex-i{width:20px;height:20px;flex:none}
.pex-search{display:flex;align-items:center;gap:8px;margin-top:12px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px;box-shadow:var(--shadow)}
.pex-search[hidden]{display:none}.pex-search--inline{margin-top:16px;max-width:560px}
.pex-search__input{flex:1;border:0;background:transparent;padding:10px 16px;font:inherit;color:var(--ink);min-width:0}.pex-search__input:focus{outline:none}
.pex-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent-dark);color:var(--on-accent)!important;font-family:var(--head);font-weight:700;font-size:14px;padding:12px 26px;border-radius:999px;border:0;cursor:pointer;white-space:nowrap}
.pex-btn--sm{padding:8px 18px;font-size:13px}
.pex-rail--nav{margin-top:12px}.pex-rail--nav[hidden]{display:none}
.pex-rail__list{display:flex;gap:8px;list-style:none;margin:0;padding:4px 0 8px;overflow-x:auto;scrollbar-width:none;font-family:var(--head);font-weight:700;font-size:13px}.pex-rail__list::-webkit-scrollbar{display:none}
.pex-rail__list a{display:block;white-space:nowrap;border-radius:999px;padding:8px 14px;background:var(--surface);border:1px solid var(--line);color:var(--ink)}.pex-rail__list .current-menu-item>a{background:var(--accent);color:var(--on-accent);border-color:transparent}
/* ---- hero ---- */
.pex-hero{display:grid;grid-template-columns:8fr 4fr;gap:22px;margin-top:30px;align-items:stretch}
.pex-hero__lead{position:relative;display:block;border-radius:var(--r-lg);overflow:hidden;min-height:470px;box-shadow:var(--shadow);background:var(--tint);color:var(--ink);transition:transform .25s ease,box-shadow .25s ease}
.pex-hero__lead:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.pex-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pex-hero__panel{position:absolute;right:26px;bottom:26px;left:26px;background:var(--surface);border-radius:20px;padding:22px 24px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}
.pex-hero__meta{display:flex;align-items:center;gap:10px}
.pex-hero__title{display:block;font-family:var(--head);font-weight:700;font-size:34px;line-height:1.3;color:var(--ink)}
.pex-hero__side{display:flex;flex-direction:column;gap:16px}
.pex-dash{width:34px;height:4px;border-radius:999px;background:var(--accent)}
/* ---- cards ---- */
.pex-card{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.pex-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.pex-card--card{flex-direction:column}.pex-card--card .pex-card__media{display:block;margin:10px;height:150px;border-radius:16px;overflow:hidden;background:var(--tint)}
.pex-card__img{width:100%;height:100%;object-fit:cover;display:block}.pex-card__img--empty{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--tint),var(--surface))}
.pex-card__body{display:flex;flex-direction:column;gap:8px;padding:4px 18px 18px;min-width:0}
.pex-card__title{font-size:16px;line-height:1.5}.pex-card__title a{color:var(--ink)}.pex-card__title a:hover{color:var(--accent)}
.pex-card__meta{color:var(--muted);font-size:12px}
.pex-pill{display:inline-flex;align-self:flex-start;background:var(--accent-dark);color:var(--on-accent)!important;font-family:var(--head);font-weight:700;font-size:12px;padding:4px 12px;border-radius:999px;line-height:1.4}.pex-pill--lg{font-size:12px}
.pex-card--row{flex-direction:row;align-items:center;gap:14px;padding:10px;border-radius:20px}.pex-card--row .pex-card__media{width:112px;height:92px;border-radius:14px;overflow:hidden;flex:none}
.pex-card--row .pex-card__body{padding:0;gap:6px}.pex-card--row .pex-card__title{font-size:15px;line-height:1.45}.pex-card--row .pex-pill{background:transparent;color:var(--accent-text)!important;padding:0}
.pex-grid{display:grid;gap:20px}.pex-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.pex-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
/* ---- chips / sections ---- */
.pex-chips{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:28px}.pex-chips--center{justify-content:center}.pex-chips--bare{padding-top:0}
.pex-chips__label{color:var(--muted);font-size:13px;margin-inline-end:6px}
.pex-chip{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-family:var(--head);font-weight:700;font-size:13px;color:var(--ink);box-shadow:var(--shadow)}
.pex-chip__dot{width:8px;height:8px;border-radius:999px;background:var(--accent)}.pex-chip__n{color:var(--muted);font-weight:700}.pex-chip--on{background:var(--accent);color:var(--on-accent);border-color:transparent}
.pex-sec{padding-top:40px}
.pex-sec__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}.pex-sec__head--tight{align-items:center;margin-bottom:0}
.pex-sec__title{font-size:30px}.pex-sec__title--sm{font-size:18px}.pex-sec__sub{margin:4px 0 0;color:var(--muted);font-size:14px}
.pex-sec__more{display:inline-flex;align-items:center;gap:6px;font-family:var(--head);font-weight:700;font-size:13px;color:var(--accent-text);white-space:nowrap}.pex-sec__more .pex-i{width:14px;height:14px}
.pex-mostread{counter-reset:pex;list-style:none;padding:0;margin:0;display:grid;gap:10px;grid-template-columns:repeat(3,1fr)}
.pex-mostread li{counter-increment:pex;display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow)}
.pex-mostread li::before{content:counter(pex);font-family:var(--head);font-weight:700;font-size:26px;color:var(--accent);line-height:1}.pex-mostread a{color:var(--ink);font-family:var(--head);font-weight:700;font-size:15px;line-height:1.5}
/* ---- ads ---- */
.pex-ad{display:flex;align-items:center;justify-content:center;width:100%;margin:22px 0;border-radius:20px;background:var(--tint);color:var(--muted);font-size:12px;letter-spacing:2px;overflow:hidden}
.pex-ad--empty{background:transparent}.pex-ad--after_title{min-height:250px}.pex-ad--mid,.pex-ad--end{min-height:280px}.pex-ad--home,.pex-ad--home_mid{min-height:110px;margin:26px 0 0}.pex-ad--sidebar{min-height:600px;margin:0}
.pex-ad .adsbygoogle{width:100%}
/* ---- band (newsletter / cta) ---- */
.pex-band{margin-top:44px;background:#1c1917;color:#faf8f5;border:1px solid rgba(255,255,255,.1);border-radius:var(--r-lg);padding:38px 44px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.pex-band__text{display:flex;flex-direction:column;gap:8px;max-width:560px}.pex-band__title{color:#faf8f5;font-size:28px;line-height:1.3}.pex-band__sub{color:rgba(250,248,245,.7);font-size:15px}
.pex-eyebrow{font-family:var(--head);font-weight:700;font-size:12px;letter-spacing:2px;color:var(--accent-text)}
.pex-band__form{display:flex;gap:8px;background:rgba(255,255,255,.08);border-radius:999px;padding:6px;min-width:380px}.pex-band__input{flex:1;border:0;background:transparent;color:#fff;padding:10px 16px;font:inherit;min-width:0}.pex-band__input::placeholder{color:rgba(255,255,255,.6)}
/* ---- article ---- */
.pex-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:36px;align-items:start;padding-top:28px}.pex-layout--page{grid-template-columns:280px minmax(0,1fr);padding-top:34px}
.pex-article{min-width:0;display:flex;flex-direction:column}
.pex-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:14px}.pex-crumb a{color:var(--muted)}.pex-crumb__cur{color:var(--ink)}.pex-crumb__sep{display:inline-flex}.pex-crumb__sep .pex-i{width:12px;height:12px}
.pex-article__title{font-size:40px;line-height:1.3;margin:14px 0 12px;max-width:820px}
.pex-article__lede{margin:0 0 18px;color:var(--muted);font-size:17px;line-height:1.7;max-width:760px}
.pex-article__bar{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:20px}
.pex-author{display:flex;align-items:center;gap:12px}.pex-author__avatar{width:40px;height:40px;border-radius:999px}.pex-author__text{display:flex;flex-direction:column;gap:2px}.pex-author__name{font-family:var(--head);font-weight:700;font-size:14px}.pex-author__meta{color:var(--muted);font-size:12px}
.pex-article__media{margin:0;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);max-height:440px}.pex-article__media img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}
.pex-prose{font-size:18px;line-height:1.9;max-width:780px}.pex-prose>*{max-width:100%}
.pex-prose p{margin:0 0 18px}.pex-prose p a,.pex-prose li a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.pex-prose h2{font-size:24px;margin:34px 0 12px}.pex-prose h3{font-size:20px;margin:26px 0 10px}
.pex-prose ul,.pex-prose ol{margin:0 0 18px;padding-inline-start:22px}.pex-prose li{margin:6px 0}
.pex-prose img{border-radius:20px}.pex-prose figure{margin:22px 0}.pex-prose figcaption{color:var(--muted);font-size:13px;text-align:center;margin-top:8px}
.pex-prose blockquote,.pex-prose .wp-block-quote{margin:8px 0 24px;padding:20px 24px;border-radius:20px;background:var(--tint);border-inline-start:4px solid var(--accent);font-family:var(--head);font-weight:700;font-size:17px;line-height:1.7}.pex-prose blockquote p{margin:0}.pex-prose blockquote cite{display:block;margin-top:8px;font-family:var(--body);font-weight:400;font-size:13px;color:var(--muted);font-style:normal}
.pex-prose table,.pex-prose .wp-block-table table{width:100%;border-collapse:collapse;font-size:15px}.pex-prose .wp-block-table{margin:8px 0 22px;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.pex-prose table th,.pex-prose table td{padding:12px 18px;border:0;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}.pex-prose table td+td,.pex-prose table th+th{border-inline-start:1px solid var(--line)}.pex-prose tbody tr:first-child td:first-child,.pex-prose tbody td:first-child:not(:only-child){font-family:var(--head);font-weight:700;background:var(--tint);color:var(--ink)}.pex-prose td:empty{display:none}.pex-prose th{font-family:var(--head);font-weight:700;background:var(--tint)}.pex-prose table tr:last-child td{border-bottom:0}.pex-prose table *{color:inherit}
.pex-prose .is-style-compare td:last-child{font-family:var(--head);font-weight:700;color:var(--accent)}.pex-prose .wp-block-table figcaption{padding:10px;margin:0;background:var(--tint)}
/* Schema Pro FAQ blocks (wpsp/faq): plugin is gone, theme styles its saved markup */
.wpsp-faq__outer-wrap{margin:22px 0}.wpsp-faq-child__outer-wrap{margin:0 0 10px}
.wpsp-faq-item{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.wpsp-faq-questions-button{display:flex;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;font-family:var(--head);font-weight:700;font-size:16px;color:var(--ink);user-select:none}
.wpsp-faq-questions-button:hover{background:var(--tint)}
.wpsp-faq-icon-wrap{flex:none;width:30px;height:30px;border-radius:999px;background:var(--tint);color:var(--accent-text);display:inline-flex;align-items:center;justify-content:center}
html[data-theme=dark] .wpsp-faq-icon-wrap{color:var(--accent)}
.wpsp-faq-icon-wrap svg{width:12px;height:12px;fill:currentColor}
.wpsp-icon-active{display:none}.wpsp-faq-item.is-open .wpsp-icon-active{display:inline-flex}.wpsp-faq-item.is-open .wpsp-icon{display:none}
.wpsp-faq-content{padding:0 18px 16px 18px;color:var(--muted);font-size:15px}.wpsp-faq-content p{margin:0 0 8px}.wpsp-faq-content p:last-child{margin:0}
html.js .wpsp-faq-item:not(.is-open) .wpsp-faq-content{display:none}
.pex-prose pre,.pex-prose code{font-family:ui-monospace,Consolas,monospace;font-size:14px}.pex-prose pre{background:var(--tint);border-radius:16px;padding:16px 20px;overflow:auto;direction:ltr}.pex-prose :not(pre)>code{background:var(--tint);padding:2px 6px;border-radius:6px}
.pex-prose .is-style-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px 24px;box-shadow:var(--shadow);margin:8px 0 22px}
.pex-prose .wp-block-button__link{background:var(--accent);color:var(--on-accent);border-radius:999px;font-family:var(--head);font-weight:700;font-size:15px;padding:11px 24px}
.pex-prose .wp-block-embed iframe{max-width:100%}.pex-prose iframe{border-radius:16px}
.pex-prose--card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:10px 34px 30px;box-shadow:var(--shadow);font-size:16px;max-width:820px}
.pex-toc{margin:22px 0 26px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px 22px;box-shadow:var(--shadow)}
.pex-toc__title{display:block;font-family:var(--head);font-weight:700;font-size:15px;margin-bottom:8px}.pex-toc__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pex-toc__item a{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted);text-decoration:none}.pex-toc__item a:hover{color:var(--ink)}.pex-toc__n{font-family:var(--head);font-weight:700;color:var(--accent-text);font-size:12px}.pex-toc__item--h3{padding-inline-start:22px}
.pex-tags{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px}.pex-tag{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-family:var(--head);font-weight:700;font-size:13px;color:var(--ink)}
.pex-related{padding-top:8px}.pex-related .pex-card--card .pex-card__media{height:130px}
/* ---- sidebar ---- */
.pex-side{display:flex;flex-direction:column;gap:18px;position:sticky;top:110px}
.pex-box{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}
.pex-box__title{font-family:var(--head);font-weight:700;font-size:15px}
.pex-box__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:14px}.pex-box__list a{color:var(--ink);line-height:1.5}
.pex-box__list--num{counter-reset:pex}.pex-box__list--num li{counter-increment:pex;display:flex;gap:12px;align-items:flex-start}.pex-box__list--num li::before{content:counter(pex);font-family:var(--head);font-weight:700;font-size:20px;color:var(--accent);line-height:1;width:26px;flex:none}
.pex-box__list--cats li a{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.pex-box__list--cats li:last-child a{border-bottom:0}.pex-box__n{color:var(--muted);font-family:var(--head);font-weight:700;font-size:12px}
.pex-dark-card{background:#1c1917;color:#faf8f5;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px}.pex-dark-card__title{font-family:var(--head);font-weight:700;font-size:18px;line-height:1.4}.pex-dark-card .pex-btn{align-self:flex-start}.pex-dark-card .pex-eyebrow{color:var(--accent)}
.pex-social--dark{margin-top:4px}.pex-social--dark a{width:40px;height:40px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#faf8f5}.pex-social--dark a:hover{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
/* ---- comments ---- */
.pex-comments{margin-top:30px;display:flex;flex-direction:column;gap:16px}.pex-comments__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.pex-comments__list .children{list-style:none;padding-inline-start:28px;margin-top:12px;display:flex;flex-direction:column;gap:12px}
.pex-comment__body{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow)}
.pex-comment__head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.pex-comment__avatar{flex:none;width:40px;height:40px;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;font-family:var(--head);font-weight:700;font-size:17px;display:inline-flex;align-items:center;justify-content:center}
.pex-comment__who{display:flex;flex-direction:column;gap:2px;min-width:0}
.pex-comment__name{font-family:var(--head);font-weight:700;font-size:15px;color:var(--ink)}
.pex-comment__date{font-size:12px;color:var(--muted)}
.pex-comment__pending{margin-inline-start:auto;font-family:var(--head);font-weight:700;font-size:11px;color:var(--accent-text);background:var(--tint);border-radius:999px;padding:5px 10px;white-space:nowrap}

.pex-comment__text{font-size:15px;line-height:1.8;color:var(--ink)}.pex-comment__text p{margin:0 0 8px}.pex-comment__text p:last-child{margin:0}
.pex-comment__foot{margin-top:10px}.pex-comment__foot a{font-family:var(--head);font-weight:700;font-size:13px;color:var(--accent-text);text-decoration:none}html[data-theme=dark] .pex-comment__foot a{color:var(--accent)}
.bypostauthor>.pex-comment__body .pex-comment__name::after{content:"الكاتب";font-size:10px;color:var(--muted);margin-inline-start:6px;font-weight:400}
.pex-field{display:flex;flex-direction:column;gap:6px;border:0;padding:0;margin:0;min-width:0}.pex-field>span,.pex-field legend{font-family:var(--head);font-weight:700;font-size:13px}
.pex-field input,.pex-field textarea{width:100%;border:1px solid transparent;border-radius:14px;background:var(--tint);padding:12px 14px;font:inherit;color:var(--ink)}.pex-field input:focus,.pex-field textarea:focus{outline:none;border-color:var(--accent)}
.pex-form{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:32px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}.pex-form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pex-form__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.pex-form__ok{color:#15803d;background:rgba(22,163,74,.1);border-radius:14px;padding:12px 16px;margin:0}.pex-form__err{color:#b91c1c;background:rgba(220,38,38,.1);border-radius:14px;padding:12px 16px;margin:0}
.pex-hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);opacity:0;pointer-events:none}.pex-radios{display:flex;gap:8px;flex-wrap:wrap}.pex-radio input{position:absolute;opacity:0}.pex-radio span{display:inline-block;border-radius:999px;padding:8px 14px;font-family:var(--head);font-weight:700;font-size:13px;background:var(--surface);border:1px solid var(--line);cursor:pointer}.pex-radio input:checked+span{background:var(--accent);color:var(--on-accent);border-color:transparent}
/* ---- archive / pages ---- */
.pex-archive-hero{margin-top:28px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:34px 40px;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:30px;align-items:center}.pex-archive-hero--plain{grid-template-columns:1fr}
.pex-archive-hero__text{display:flex;flex-direction:column;gap:12px}.pex-archive-hero__title{font-size:44px;line-height:1.2}.pex-archive-hero__desc{margin:0;color:var(--muted);font-size:17px;line-height:1.7;max-width:620px}
.pex-archive-hero__stats{display:flex;gap:10px;margin-top:6px}.pex-stat{background:var(--tint);border-radius:999px;padding:6px 14px;font-family:var(--head);font-weight:700;font-size:13px}
.pex-archive-hero__media{height:220px;border-radius:22px;overflow:hidden}.pex-archive-hero__media img{width:100%;height:100%;object-fit:cover;display:block}
.pex-filters{display:flex;gap:8px;flex-wrap:wrap;padding-top:22px}
.pex-pagination{margin-top:30px}.pex-pagination .nav-links{display:flex;justify-content:center;gap:8px;font-family:var(--head);font-weight:700;font-size:14px}.pex-pagination .page-numbers{min-width:42px;height:42px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--line);color:var(--ink)}.pex-pagination .page-numbers.current{background:var(--accent);color:var(--on-accent);border-color:transparent}
.pex-empty{color:var(--muted)}
.pex-page-head{padding-top:50px;display:flex;flex-direction:column;gap:10px;max-width:800px}.pex-page-head__title{font-size:42px;line-height:1.25}
.pex-pagenav{position:sticky;top:110px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:4px}.pex-pagenav a{padding:8px 10px;border-radius:10px;font-size:14px;color:var(--muted)}.pex-pagenav a:hover,.pex-pagenav a.is-active{background:var(--tint);color:var(--ink)}
.pex-about{padding-top:60px;display:grid;grid-template-columns:7fr 5fr;gap:40px;align-items:center}.pex-about__text{display:flex;flex-direction:column;gap:18px}.pex-about__title{font-size:46px;line-height:1.25}.pex-about__lede{color:var(--muted);font-size:18px;line-height:1.8;max-width:620px}.pex-about__lede p{margin:0 0 12px}
.pex-about__media{position:relative;height:380px}.pex-about__media--art{display:flex;align-items:center;justify-content:center}.pex-about__media--art svg{width:100%;height:100%;max-height:380px;display:block;color:var(--ink)}.pex-about__img{position:absolute;inset:0;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow)}.pex-about__img img{width:100%;height:100%;object-fit:cover;display:block}
.pex-about__stat{position:absolute;inset-inline-start:-18px;bottom:-18px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:16px 20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px}.pex-about__num{font-family:var(--head);font-weight:700;font-size:28px;color:var(--accent)}
.pex-principles{padding-top:70px}.pex-principle{padding:24px}.pex-principle__icon{width:44px;height:44px;border-radius:14px;background:var(--tint);color:var(--accent);display:inline-flex;align-items:center;justify-content:center}.pex-principle__text{color:var(--muted);font-size:15px;line-height:1.7}
.pex-network{margin-top:60px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:30px 36px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:30px}.pex-network>div:first-child{display:flex;flex-direction:column;gap:6px}
.pex-contact{padding-top:56px;display:grid;grid-template-columns:5fr 7fr;gap:40px;align-items:start}.pex-contact__intro{display:flex;flex-direction:column;gap:18px}.pex-contact__title{font-size:42px;line-height:1.25}.pex-contact__lede{color:var(--muted);font-size:17px;line-height:1.8}.pex-contact__lede p{margin:0}
.pex-contact__channels{display:flex;flex-direction:column;gap:12px;margin-top:10px}.pex-channel{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px 16px;box-shadow:var(--shadow);color:var(--ink)}.pex-channel__icon{width:42px;height:42px;border-radius:12px;background:var(--tint);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;flex:none}.pex-channel__text{display:flex;flex-direction:column;gap:2px}.pex-channel__title{font-family:var(--head);font-weight:700;font-size:15px}
.pex-404{padding-top:80px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}.pex-404__code{font-family:var(--head);font-weight:700;font-size:96px;line-height:1;color:var(--accent)}.pex-404__title{font-size:32px}.pex-404__text{margin:0;color:var(--muted);max-width:520px}
/* ---- footer ---- */
.pex-footer{margin-top:60px;border-top:1px solid var(--line)}.pex-footer__row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:26px;padding-bottom:26px;color:var(--muted);font-size:13px}
.pex-footer__brand{font-family:var(--head);font-weight:700;color:var(--ink)}.pex-footer__links{display:flex;gap:22px;list-style:none;margin:0;padding:0}.pex-footer__links a{color:var(--muted)}
/* ---- responsive ---- */
@media (max-width:1100px){:root{--gutter:32px}.pex-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.pex-hero{grid-template-columns:1fr}.pex-hero__lead{min-height:380px}.pex-layout,.pex-layout--page{grid-template-columns:1fr}.pex-side{position:static}.pex-pagenav{position:static}.pex-about,.pex-contact,.pex-archive-hero{grid-template-columns:1fr}.pex-mostread{grid-template-columns:1fr}.pex-nav{display:none}.pex-ib--menu{display:inline-flex}}
@media (max-width:640px){:root{--gutter:16px}body{font-size:16px}.pex-header{padding:10px 0 8px}.pex-bar{padding-block:8px;padding-inline:10px 16px}
.pex-dock{display:flex;position:fixed;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));z-index:55;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 40px -18px rgba(0,0,0,.45);padding:6px}
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)){.pex-dock{background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4)}}
.pex-dock__btn{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 4px;border:0;background:transparent;color:var(--muted);font-family:var(--head);font-weight:700;font-size:11px;border-radius:16px;cursor:pointer}
.pex-dock__btn .pex-i{width:22px;height:22px}.pex-dock__btn.is-active,.pex-dock__btn:active{color:var(--accent-text);background:var(--tint)}html[data-theme=dark] .pex-dock__btn.is-active{color:var(--accent)}
body{padding-bottom:84px}.pex-top{display:none}.pex-toast{bottom:92px}body.pex-menu-open .pex-dock{display:none}
.pex-spot__kbd{display:none}.pex-spot__input{font-size:19px}.pex-spot__form{padding:6px 16px}.pex-spot__list{max-height:min(48vh,360px)}.pex-logo{min-width:0}.pex-logo__svg{height:40px;width:auto;max-width:100%}
.pex-logo__text{font-size:20px}.pex-bar__end .pex-ib--tint{display:none}
.pex-hero{margin-top:16px;gap:22px}.pex-hero__lead{min-height:300px;border-radius:24px}.pex-hero__panel{right:16px;left:16px;bottom:16px;padding:0;background:transparent;box-shadow:none;color:#fff}.pex-hero__lead::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.1) 60%);border-radius:24px}.pex-hero__panel{z-index:1}.pex-hero__title{font-size:21px;color:#fff}.pex-hero__panel .pex-card__meta{color:rgba(255,255,255,.8)}
.pex-rail-m{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:4px 0 12px;scrollbar-width:none}.pex-rail-m::-webkit-scrollbar{display:none}.pex-rail-m>.pex-card{flex:0 0 250px;scroll-snap-align:start}.pex-rail-m .pex-card--card .pex-card__media{height:130px;margin:8px}
.pex-grid--3{grid-template-columns:1fr}.pex-grid--2{grid-template-columns:1fr}.pex-chips{gap:8px;padding-top:16px}.pex-chips__label{display:none}.pex-sec{padding-top:24px}.pex-sec__title{font-size:20px}
.pex-band{padding:22px;flex-direction:column;align-items:stretch;border-radius:24px;margin-top:14px}.pex-band__form{min-width:0}.pex-social--band{justify-content:flex-start;max-width:none}.pex-social--band a{height:42px;padding:0 14px 0 12px;font-size:13px}.pex-band__title{font-size:18px}
.pex-article__title{font-size:26px;margin:10px 0}.pex-article__media{border-radius:20px}.pex-article__bar{flex-wrap:wrap;gap:10px}.pex-prose{font-size:17px;line-height:1.85}.pex-prose h2{font-size:20px}
.pex-ad--after_title{min-height:280px}.pex-ad--home,.pex-ad--home_mid{min-height:250px}
.pex-archive-hero{padding:22px;border-radius:24px;margin-top:16px}.pex-archive-hero__title{font-size:30px}.pex-archive-hero__media{height:160px}.pex-page-head__title,.pex-about__title,.pex-contact__title{font-size:30px}.pex-about{padding-top:30px}.pex-about__media{height:260px}.pex-about__stat{inset-inline-start:8px;bottom:8px}.pex-form{padding:20px;border-radius:24px}.pex-form__row{grid-template-columns:1fr}.pex-network{flex-direction:column;align-items:flex-start}.pex-footer__row{flex-direction:column;align-items:flex-start;padding-bottom:90px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html.js .pex-reveal{opacity:1;transform:none}::view-transition-new(root),::view-transition-old(root){animation:none;clip-path:none}}


/* Direct-answer block: the extractable summary AI engines and skim-readers both want. */
.pex-answer{
  margin:0 0 1.6rem;padding:1.05rem 1.2rem;
  background:var(--tint);border:1px solid var(--line);
  border-inline-start:4px solid var(--accent);border-radius:14px;
}
.pex-answer__label{
  margin:0 0 .45rem;font-size:.82rem;font-weight:700;letter-spacing:.02em;
  color:var(--accent-text,var(--accent));text-transform:none;
}
.pex-answer > p{margin:0;font-size:1.03rem;line-height:1.85;color:var(--ink)}
.pex-answer > p + p{margin-top:.6rem}
.pex-answer strong{font-weight:700}
.pex-answer ul,.pex-answer ol{margin:.6rem 0 0;padding-inline-start:1.3rem}
.pex-answer li{margin:.2rem 0;line-height:1.75}
