/* site_text.css — تنسيق النصوص والمسافات (الرئيسية + عن الكتاب). يُحمَّل بعد site.css */
:root{--tx-em:var(--em,#04382a);--tx-em2:var(--em2,#0a6b4a);--tx-gold:var(--gold,#d1a23f);--tx-gold2:var(--gold2,#efd48a);--tx-paper:var(--paper,#fbf7e4);--tx-muted:var(--muted,#667a70);--tx-line:#e3d6b2}

/* إيقاع عام */
body{line-height:2.1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
main section{padding-block:clamp(52px,7vw,92px)}
main p,.hero p,.page-hero p{text-wrap:pretty}
main p{margin:0 0 1em}
main p:last-child{margin-bottom:0}
main h3{line-height:1.5;margin:0 0 .35em}

/* عناوين الأقسام */
.sh{max-width:720px;margin-bottom:clamp(26px,4vw,46px)}
.sh h2{font-size:clamp(30px,4.2vw,44px);line-height:1.45;margin:0}
.sh h2::after{content:'';display:block;width:76px;height:3px;margin-top:12px;background:linear-gradient(90deg,var(--tx-gold),var(--tx-gold2));border-radius:3px}
.sh p{margin:14px 0 0;max-width:60ch;color:var(--tx-muted);font-size:1.02em;line-height:2}

/* الواجهة */
.hero p{max-width:56ch;line-height:2.1;margin-top:14px}
.hstats{gap:8px 10px;margin-top:22px}
.hero .btns{margin-top:28px}

/* الشريط الأول (الحقائق) */
.facts .wrap{gap:0}
.fact{gap:14px;padding:22px 20px}
.fact b{display:block;line-height:1.5;margin-bottom:2px}
.fact span{display:block;line-height:1.8;font-size:.92em}

/* نوافذ الكتاب */
.pg{gap:clamp(16px,2.4vw,26px)}
.pt{padding:clamp(22px,3vw,32px)}
.pt h3{margin:12px 0 6px}
.pt p{line-height:1.95;margin-bottom:14px}

/* عن الكتاب (الصفحة الرئيسية) */
.who{gap:clamp(28px,5vw,60px);align-items:start}
.who ul{list-style:none;margin:0;padding:0}
.who li{display:flex;align-items:flex-start;gap:14px;padding:14px 0;line-height:2;border-bottom:1px dashed var(--tx-line)}
.who li:last-child{border-bottom:0}
.who li .st8{flex:none;width:16px;height:16px;margin-top:.8em;color:var(--tx-gold)}
.card{padding:clamp(24px,3.5vw,38px)}
.card h3{margin-bottom:10px}
.card p{line-height:2;margin-bottom:16px}
.card .num{display:block;margin:6px 0 18px;line-height:1.6}

/* مسار المتعلم */
.steps{gap:clamp(18px,2.6vw,30px)}
.steps li{padding-top:18px}
.steps h3{margin:10px 0 6px}
.steps p{line-height:1.95}

/* معاينة التوقيت */
.teaser{gap:clamp(24px,4vw,48px);align-items:center}
.teaser h2{margin:8px 0 12px;line-height:1.45}
.teaser p{max-width:46ch;line-height:2.05}

/* كلمة المشرف (مقتطف الرئيسية) */
.msg .wrap{max-width:860px;text-align:center}
.msg h2{margin-bottom:18px}
.msg .ayah{margin:0 0 22px;font-size:clamp(24px,3.4vw,34px);line-height:1.9}
.msg p{max-width:62ch;margin:0 auto 22px;line-height:2.3;font-size:1.04em}
.msg .sg{margin-top:26px;padding-top:18px;line-height:1.8}

/* ===== صفحة «عن الكتاب» ===== */
.lead{max-width:64ch;margin:0 0 6px!important;padding-inline-start:22px;border-inline-start:4px solid var(--tx-gold);font-size:1.12em;line-height:2.3}
.ab2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:clamp(16px,2.4vw,26px);counter-reset:ab}
.ab2>div{position:relative;padding:28px 26px 26px;background:#fff;border:1px solid var(--tx-line);border-top:4px solid var(--tx-gold);border-radius:14px;box-shadow:0 16px 32px -24px rgba(4,56,42,.55)}
.ab2>div::before{counter-increment:ab;content:counter(ab,arabic-indic);position:absolute;top:14px;inset-inline-end:18px;font-size:34px;line-height:1;color:var(--tx-gold);opacity:.45}
.ab2 h3{padding-inline-end:36px;margin-bottom:8px;color:var(--tx-em)}
.ab2 p{line-height:2.05;margin:0}

.letter{max-width:840px;margin:0 auto;padding:clamp(28px,5vw,58px) clamp(22px,5vw,64px);background:var(--tx-paper);border:1.5px solid var(--tx-gold);outline:1px solid var(--tx-gold);outline-offset:6px;border-radius:16px;box-shadow:0 26px 50px -30px rgba(4,56,42,.6)}
.letter .bism{margin:0 0 24px;padding-bottom:18px;text-align:center;font-family:'Amiri Quran','Amiri',serif;font-size:clamp(26px,3.6vw,34px);line-height:1.8;color:var(--tx-em);border-bottom:1px solid var(--tx-line)}
.letter p{margin:0 0 1.2em;font-size:clamp(18px,1.9vw,20.5px);line-height:2.35;text-align:start}
@media(min-width:760px){.letter p{text-align:justify;text-justify:inter-word}}
.letter .k-intro{text-align:center;color:var(--tx-em);font-weight:600}
.letter .k-amma{font-family:'Amiri',serif;font-weight:700;font-size:1.15em;color:var(--tx-em2);margin-bottom:.6em}
.letter .k-close{text-align:center!important;margin-bottom:.5em}
.letter .sg{margin:30px 0 0;padding-top:20px;text-align:center;border-top:1px solid var(--tx-line);font-family:'Amiri',serif;font-weight:700;font-size:1.25em;line-height:1.8;color:var(--tx-em)}

@media(max-width:560px){body{line-height:2}main section{padding-block:44px}.lead{padding-inline-start:16px}.letter{outline:0}}
