/* قارئ 1.16 — هيدر مدمج، صفحة المؤلفة، وفوتر مستلهم من المرجع.
   هذه الطبقة لا تمس القارئ أو صلاحياته. الصور مشاهد مستقلة وليست اسكرينات. */
.qiraah-reference .announcement{display:none}
.qiraah-reference .site-header{border-bottom:1px solid #e4eff3}
.qiraah-reference .header-inner{min-height:72px;grid-template-columns:110px minmax(0,1fr) minmax(180px,230px) auto;gap:18px;position:relative}
.qiraah-reference .header-inner>.brand,.qiraah-reference .header-inner>.custom-logo-link{width:110px}
.qiraah-reference .header-inner .brand img,.qiraah-reference .header-inner .custom-logo{width:108px;height:65px;max-height:65px;object-fit:contain}
.qiraah-reference .header-inner nav,.qiraah-reference .header-inner nav ul{gap:18px;justify-content:center}
.qiraah-reference .header-inner nav a{font-size:12px}
.qiraah-reference .header-inner>.header-search{display:flex;width:100%;max-width:none;height:38px;margin:0;background:#f1f7f9;border:1px solid #dfebef;border-radius:24px;align-items:center}
.qiraah-reference .header-search input{font-size:11px!important;height:34px;min-height:34px}
.qiraah-reference .header-search button{min-height:36px;min-width:32px}
.qiraah-reference .rd-header-tools{gap:12px;padding:0}
.qiraah-reference .header-inner .menu-toggle{display:none}
/* Full-width panels within the WordPress page container, without horizontal overflow. */
.author-page{--author-blue:#f1f8fb;--author-ink:#064b5c;--author-line:#e0edf3;color:var(--author-ink)}
.author-page h1,.author-page h2,.author-page h3{color:var(--author-ink)}
.author-page h2{font-size:clamp(25px,3vw,36px);line-height:1.55;margin:0 0 22px}
.author-page p{font-size:16px;line-height:2;color:#244e65;margin:0 0 18px}
.author-page .button{border-radius:25px;padding:11px 25px;min-height:46px}
.author-hero{position:relative;isolation:isolate;min-height:510px;display:grid;grid-template-columns:1fr 1fr;background:radial-gradient(ellipse at 80% 20%,#e0eff5 0,transparent 60%),#f5fafc;border-radius:0 0 48% 5%/0 0 7% 4%;overflow:hidden;margin-top:-30px}
.author-hero-media{position:absolute;inset:0 45% 0 0;z-index:-2}
.author-hero-media img{width:100%;height:100%;object-fit:cover;object-position:22% center}
.author-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#f7fbfd 0%,#f0f8fb 39%,#f0f8fbeb 49%,transparent 69%)}
.author-hero:after{content:"";position:absolute;right:0;bottom:10px;width:100px;height:185px;background:url('leaves.svg') center/contain no-repeat;opacity:.45;pointer-events:none}
.author-hero-copy{grid-column:1;align-self:center;padding:35px 40px 70px 5px;max-width:650px}
.author-hero-copy .breadcrumbs{font-size:12px;margin-bottom:25px}
.author-hero-copy .eyebrow{font-size:11px;color:#167080}
.author-hero-copy h1{font-size:clamp(33px,4vw,54px);line-height:1.5;margin:10px 0 12px;max-width:600px}
.author-hero-copy .author-lead{font-size:21px;font-weight:700;color:#0c485b}
.author-hero-copy>p:not(.author-lead){font-size:15px}
.author-hero-copy .text-link{display:inline-flex;gap:12px;align-items:center;font-size:13px;margin-top:5px}
.author-bio{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center;padding:60px 35px 50px;background:linear-gradient(170deg,#fff,#f3f9fc);border-radius:20px 65px 30px 70px}
.author-bio-scene{position:relative;border-radius:42% 9% 40% 13%;overflow:hidden;height:310px}
.author-bio-scene img{width:100%;height:100%;object-fit:cover}
.author-bio-copy .eyebrow{font-size:11px;color:#4c7b8d}
.author-purpose{position:relative;padding:45px 35px 35px;text-align:center}
.author-purpose:before{content:"";position:absolute;inset:0 auto 0 0;width:135px;background:url('leaves.svg') left center/contain no-repeat;opacity:.16;pointer-events:none}
.author-purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.author-purpose-grid article{display:flex;align-items:flex-start;gap:22px;text-align:right;background:linear-gradient(120deg,#fff,#eef7fb);border:1px solid var(--author-line);border-radius:24px;padding:28px;box-shadow:0 3px 9px #0a4b6210,inset 0 0 0 3px #ffffffc9}
.author-card-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:58px;height:58px;color:#087382;background:radial-gradient(circle,#e3f3f7,transparent 73%);border-radius:50%}
.author-card-icon .qi{width:38px;height:38px;stroke-width:1.6}
.author-page h3{font-size:19px;margin:0 0 8px}
.author-purpose-grid p{font-size:15px;margin:0}
.author-interests{padding:20px 35px 55px;text-align:center;background:linear-gradient(180deg,#fff,#f1f8fc);border-radius:0 0 50px 50px}
.author-interests-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.author-interests-grid article{padding:25px 15px;background:linear-gradient(130deg,#fff,#eef7fb);border:1px solid var(--author-line);border-radius:24px;box-shadow:0 3px 10px #0a4b6210,inset 0 0 0 3px #fff}
.author-interests-grid h3{font-size:17px;margin:10px 0 5px}
.author-interests-grid p{font-size:13px;margin:0}
/* Keep all validated form fields, nonce, honeypot and consent. Only the duplicate intro is hidden. */
.author-contact{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding:55px 35px 85px;background:radial-gradient(ellipse at right bottom,#dceff5,transparent 65%),#f7fbfd;border-radius:35px 35px 0 0;isolation:isolate}
.author-contact-heading{padding:30px 15px 30px 0}
.author-contact-heading h2{margin-bottom:16px}
.author-contact-heading p{max-width:460px}
.author-contact .rd-inquiry-embedded{padding:0;margin:0;border:0;background:none}
.author-contact .inquiry-layout{display:block;margin:0;gap:0}
.author-contact .inquiry-copy{display:none}
.author-contact .inquiry-card{padding:24px;background:#ffffffd9;border:1px solid #dbeaf1;border-radius:22px;box-shadow:0 4px 15px #0e486011}
.author-contact .inquiry-card-top{margin-bottom:16px}
.author-contact .inquiry-card-top h2{font-size:20px;margin:0}
.author-contact .inquiry-card-top>span{font-size:11px}
.author-contact .qrc-inquiry-form{display:grid;gap:12px}
.author-contact .inquiry-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.author-contact .qrc-inquiry-form label:not(.inquiry-consent){font-size:12px;display:block;margin:0;line-height:1.8}
.author-contact input:not([type=checkbox]),.author-contact select,.author-contact textarea{width:100%;min-width:0;padding:9px 12px;border:1px solid #dfebf1;border-radius:9px;background:#fbfdff;font:inherit;font-size:13px;color:#16445a}
.author-contact textarea{min-height:100px;resize:vertical}
.author-contact .inquiry-consent{font-size:11px;line-height:1.8}
.author-contact .inquiry-consent input{width:16px;height:16px;flex:none}
.author-contact .inquiry-security-note,.author-contact .inquiry-form-status{font-size:11px;margin:0}
.author-contact .qrc-inquiry-form>.button{width:100%;border-radius:12px}
.author-contact .qrc-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.author-socials{display:flex;gap:15px;align-items:center;margin-top:22px}
.author-socials a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#064b5c;background:#ffffffae;border:1px solid #e1edf2}
.author-socials svg{width:23px;height:23px}
/* Footer: contact at right, then information, quick links, identity at left. */
.qiraah-reference .author-footer{--footer-color:#043a49;position:relative;isolation:isolate;background:var(--footer-color);overflow:visible;border:0;padding:40px 0 18px;margin-top:65px;color:#fff}
.qiraah-reference .author-footer:before,.qiraah-reference .author-footer:after{content:"";position:absolute;width:110px;height:180px;background:url('leaves.svg') center/contain no-repeat;opacity:.22;bottom:0;top:auto;pointer-events:none;z-index:-1;filter:brightness(1.7)}
.qiraah-reference .author-footer:before{right:0;left:auto}
.qiraah-reference .author-footer:after{left:0;right:auto;transform:rotate(180deg)}
.author-footer>.footer-wave{position:absolute;left:0;top:-57px;width:100%;height:60px;color:var(--footer-color);z-index:-1}
.qiraah-reference .author-footer .footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.3fr;gap:35px;padding:10px 0 28px;align-items:start}
.qiraah-reference .author-footer .footer-grid>.footer-group{border-left:1px solid #7facb32e;min-height:140px;padding-left:20px}
.qiraah-reference .author-footer .footer-group h2{font-size:14px;color:#fff;margin:0 0 15px}
.qiraah-reference .author-footer .footer-group nav,.qiraah-reference .author-footer .footer-group nav ul{gap:5px;display:flex;flex-direction:column;align-items:flex-start}
.qiraah-reference .author-footer .footer-group nav a,.qiraah-reference .author-footer .footer-location{display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:2;color:#d7e8ee;overflow-wrap:anywhere}
.author-footer .footer-group .qi{width:16px;height:16px;flex:none}
.qiraah-reference .author-footer .footer-brand{grid-column:auto}
.footer-brand-lockup{display:flex;align-items:center;gap:15px}
.qiraah-reference .author-footer .footer-brand .brand,.qiraah-reference .author-footer .footer-brand .custom-logo-link{display:inline-flex;width:80px;flex:none}
.qiraah-reference .author-footer .footer-brand .brand img,.qiraah-reference .author-footer .footer-brand .custom-logo{width:80px;height:66px;max-height:66px;object-fit:contain;filter:grayscale(1) invert(1);mix-blend-mode:screen}
.footer-brand-lockup strong{font-size:21px;font-weight:700;display:block;color:white;line-height:1.5}
.footer-brand-lockup span{display:block;color:#d7e8ee;font-size:12px;line-height:1.8}
.qiraah-reference .author-footer .author-socials{margin-top:18px}
.qiraah-reference .author-footer .author-socials a{width:34px;height:34px;border:0;background:#ffffff0c;color:#fff}
.qiraah-reference .author-footer .footer-library-link{font-size:12px;color:#c5e2e9;display:inline-flex;gap:9px;align-items:center;margin-top:18px}
.qiraah-reference .author-footer .footer-bottom{display:flex;justify-content:center;text-align:center;border-top:1px solid #79a5b32b;margin-top:0;padding-top:15px;font-size:11px;color:#bdd8e0}
.qiraah-reference .author-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.qiraah-reference .header-search:focus-within{outline:2px solid #177e8e;outline-offset:2px}
@media(max-width:1150px){
.qiraah-reference .header-inner{grid-template-columns:95px minmax(0,1fr) minmax(150px,190px) auto;gap:12px}
.qiraah-reference .header-inner nav,.qiraah-reference .header-inner nav ul{gap:12px}
.qiraah-reference .header-inner nav a{font-size:11px}
.qiraah-reference .header-inner>.brand,.qiraah-reference .header-inner>.custom-logo-link{width:95px}
.qiraah-reference .header-inner .brand img,.qiraah-reference .header-inner .custom-logo{width:95px}
.qiraah-reference .rd-header-tools .qm-register-link{display:none}
}
@media(max-width:1000px){
.qiraah-reference .header-inner{grid-template-columns:100px minmax(0,1fr) auto 40px;min-height:70px}
.qiraah-reference .header-inner .menu-toggle{display:flex;grid-column:4;grid-row:1}
.qiraah-reference .header-inner>.header-search{grid-column:2;grid-row:1;max-width:360px;justify-self:center}
.qiraah-reference .header-inner>.rd-header-tools{grid-column:3;grid-row:1}
.qiraah-reference .header-inner nav{display:none;position:absolute;top:100%;inset-inline:0;background:#fff;padding:16px;border:1px solid #dfedf2;border-radius:12px;box-shadow:0 12px 30px #0d43551c;max-height:65vh;overflow:auto}
.qiraah-reference .header-inner nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.qiraah-reference .header-inner nav ul{flex-direction:column;gap:4px;align-items:stretch}
.qiraah-reference .header-inner nav a{font-size:13px;padding:8px 12px}
.author-hero-copy{padding-right:25px}
.author-hero-copy h1{font-size:38px}
.author-bio{gap:30px;padding-inline:25px}
.author-purpose,.author-interests{padding-inline:20px}
.author-interests-grid{gap:12px}
.qiraah-reference .author-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.qiraah-reference .author-footer .footer-grid>.footer-group{min-height:0;border:0;padding:0}
}
@media(max-width:600px){
.qiraah-reference .header-inner{grid-template-columns:84px minmax(0,1fr) 36px;gap:5px;padding-block:3px;min-height:66px}
.qiraah-reference .header-inner>.brand,.qiraah-reference .header-inner>.custom-logo-link{width:84px}
.qiraah-reference .header-inner .brand img,.qiraah-reference .header-inner .custom-logo{width:82px;height:53px;max-height:53px}
.qiraah-reference .header-inner>.rd-header-tools{grid-column:2;justify-self:end;gap:14px}
.qiraah-reference .header-inner .menu-toggle{grid-column:3}
.qiraah-reference .header-inner>.header-search{grid-row:2;grid-column:1/-1;height:34px;max-width:none;margin-bottom:6px}
.qiraah-reference .header-search input{height:30px;min-height:30px;font-size:12px!important}
.qiraah-reference .header-search button{min-height:32px}
.author-hero{grid-template-columns:1fr;min-height:0;margin-top:-20px;border-radius:0 0 30px 30px;padding-bottom:0}
.author-hero-media{position:relative;inset:auto;height:235px;grid-column:1;grid-row:2;z-index:0;mask-image:linear-gradient(#000 70%,transparent);margin-top:-12px}
.author-hero-media img{object-position:20% 37%}
.author-hero:before{display:none}
.author-hero-copy{padding:25px 20px 24px;grid-column:1;grid-row:1}
.author-hero-copy h1{font-size:32px}
.author-hero-copy .breadcrumbs{margin-bottom:15px}
.author-hero-copy .author-lead{font-size:18px}
.author-hero-copy>p:not(.author-lead){font-size:14px}
.author-hero:after{display:none}
.author-bio{grid-template-columns:1fr;gap:25px;padding:35px 20px;border-radius:25px}
.author-bio-copy{grid-row:1;grid-column:1}
.author-bio-scene{grid-row:2;grid-column:1}
.author-bio-scene{height:230px}
.author-page p{font-size:14px}
.author-page h2{font-size:27px}
.author-purpose{padding:32px 5px 24px}
.author-purpose-grid{grid-template-columns:1fr;gap:15px}
.author-purpose-grid article{padding:22px;gap:15px}
.author-interests{padding:15px 5px 35px}
.author-interests-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.author-interests-grid article{padding:19px 10px}
.author-interests-grid h3{font-size:14px}
.author-interests-grid p{font-size:11px}
.author-contact{grid-template-columns:1fr;gap:10px;padding:30px 12px 60px;border-radius:25px 25px 0 0}
.author-contact-heading{padding:10px 10px 15px}
.author-contact .inquiry-card{padding:18px}
.author-contact .inquiry-two{grid-template-columns:1fr}
.qiraah-reference .author-footer{padding-top:25px;margin-top:45px}
.qiraah-reference .author-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;padding-bottom:25px}
.qiraah-reference .author-footer .footer-grid>.footer-brand{grid-column:1/-1;grid-row:1}
.qiraah-reference .author-footer .footer-contact{grid-column:1/-1;grid-row:2}
.qiraah-reference .author-footer .footer-brand-lockup{gap:12px}
.qiraah-reference .author-footer .footer-group h2{font-size:14px}
.qiraah-reference .author-footer .footer-group nav a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.author-page *,.author-footer *{scroll-behavior:auto;transition:none;animation:none}}

@media(max-width:600px){.qiraah-reference .author-footer .footer-grid>.footer-group:nth-child(2){grid-column:1;grid-row:3}.qiraah-reference .author-footer .footer-grid>.footer-group:nth-child(3){grid-column:2;grid-row:3}}

.author-contact-scene{display:block;width:100%;max-width:400px;height:210px;object-fit:cover;border-radius:50% 12% 42% 8%;margin-top:25px;opacity:.95}
@media(max-width:1000px){.qiraah-reference .header-inner nav ul ul{position:static;display:block;box-shadow:none;padding:4px 12px}}
@media(max-width:600px){.author-contact-scene{height:150px;max-width:280px}}
.qiraah-reference .author-footer .footer-bottom>span{display:block}
