:root{--green:#064d3d;--green2:#08765a;--gold:#e2a52b;--ink:#102e28;--muted:#687b75;--paper:#fffdf7;--line:#dce6e1;--size:28px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.6}body.night-mode{--ink:#e8f2ee;--muted:#b6c9c1;--line:#36554b;background:#102a24;color:var(--ink)}a{text-decoration:none;color:inherit}.wrap{width:min(1390px,92%);margin:auto}.site-header{background:#fff;border-bottom:1px solid #e5ece8;position:sticky;top:0;z-index:20}body.night-mode .site-header{background:#12352c}.header-inner{min-height:140px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:16px}.brand img{width:112px;height:112px;object-fit:contain}.brand-copy small,.eyebrow{display:block;font-size:13px;font-weight:800;letter-spacing:1.5px;color:var(--gold)}.brand-copy strong{display:block;font-family:Georgia,serif;font-size:42px;line-height:1;color:var(--green)}.brand-copy em{display:block;font-style:normal;font-size:17px;color:var(--green);margin-top:8px}.site-header nav{display:flex;align-items:center;gap:28px;font-weight:700}.site-header nav a{padding:12px 0}.site-header nav a.active{background:var(--green);color:#fff;padding:12px 20px;border-radius:12px}.nav-night,.menu-button{border:0;background:none;font-size:26px;cursor:pointer;color:var(--green)}.menu-button{display:none}.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#034b3b,#0d6b53 60%,#153d32);color:#fff}.hero-pattern{position:absolute;inset:0;opacity:.18;background-image:radial-gradient(circle at 80% 30%,#f6d58a 0 2px,transparent 3px),linear-gradient(135deg,transparent 45%,#e7b64c 46%,transparent 48%);background-size:55px 55px}.hero-inner{position:relative;min-height:310px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:42px 0}.hero-copy{max-width:760px}.hero-copy h1{font-family:Georgia,serif;font-size:46px;line-height:1.1;margin:8px 0 15px}.hero-copy p:not(.eyebrow){font-size:20px;margin:0 0 25px}.hero-button{display:inline-block;background:var(--gold);color:#173b2f;padding:12px 22px;border-radius:9px;font-weight:800}.hero-quote{text-align:right;font-family:Georgia,serif;font-style:italic;font-size:20px;line-height:1.5}.intro-section{padding:28px 0;background:#f5f8f6}.intro-box{display:flex;align-items:center;gap:18px;max-width:900px}.book-mark{font-size:45px;color:var(--green)}.intro-box h2{margin:0;color:var(--green)}.intro-box p{margin:2px 0;color:#61766d}.reading-section{padding:32px 0 50px;background:#f7faf8}.reading-layout{display:grid;grid-template-columns:360px 1fr;gap:24px;align-items:start}.list-panel,.reader-panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 18px #103c3010}.panel-heading{display:flex;gap:12px;padding:24px 24px 15px}.heading-icon{font-size:38px;color:var(--green)}.panel-heading h2,.reading-head h2{margin:0;font-size:26px;color:var(--green)}.panel-heading p{margin:0;color:var(--muted);font-size:14px}.cards{padding:0 14px 14px}.reading-card{width:100%;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:8px;text-align:left;border:1px solid #e4ece7;border-radius:9px;background:#fff;color:var(--ink);padding:11px 12px;margin:6px 0;cursor:pointer;font-size:15px}.reading-card span{font-weight:800;color:var(--green)}.reading-card strong{font-weight:700}.reading-card small{grid-column:2/4;color:var(--muted);font-size:11px}.reading-card.selected{background:var(--green);color:#fff;border-color:var(--green)}.reading-card.selected span,.reading-card.selected small{color:#e4f4ed}.reader-panel{padding:24px}.reading-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.green{color:var(--green2)}.back-button,.tools button,.pager-button{border:1px solid #cfded6;background:#fff;color:var(--green);border-radius:10px;padding:10px 15px;font-weight:800;cursor:pointer}.tools{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin:12px 0 16px;color:var(--muted);font-size:14px}.tools button{font-size:18px;min-width:48px}.tools button:hover,.pager-button:hover{background:#edf5f0}#content{font-size:var(--size);line-height:2.25;text-align:right;direction:rtl;min-height:360px;padding:30px 26px;background:var(--paper);border:1px solid #eee4ca;border-radius:12px;color:#243f34;overflow-wrap:anywhere}#content .arabic-text{font-size:inherit}#content .arabic-text p{margin:0 0 15px}#content .placeholder{direction:ltr;text-align:center;font-size:18px;color:var(--muted);padding:90px 20px}.pager{display:flex;justify-content:space-between;gap:15px;margin-top:18px}.pager-button.primary{background:var(--green);color:#fff;border-color:var(--green)}body.night-mode .reading-section,body.night-mode .intro-section{background:#102a24}body.night-mode .list-panel,body.night-mode .reader-panel,body.night-mode .reading-card,body.night-mode .back-button,body.night-mode .tools button,body.night-mode .pager-button{background:#173c31;color:var(--ink);border-color:#36554b}body.night-mode #content{background:#203b32;color:#e8f2ee;border-color:#466052}body.night-mode .reading-card.selected,body.night-mode .pager-button.primary{background:#0b7658;color:#fff}body.night-mode .brand-copy strong,body.night-mode .brand-copy em,body.night-mode .panel-heading h2,body.night-mode .reading-head h2,body.night-mode .heading-icon{color:#d9f1e6}.about-section{padding:45px 0;background:#eaf2ee}.about-section h2{margin:0;color:var(--green)}footer{background:#043d31;color:#d6e6df;padding:25px 0}.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center;font-size:13px}.footer-inner strong,.footer-inner span{display:block}.footer-quote{font-family:Georgia,serif;font-style:italic;font-size:17px}@media(max-width:1000px){.header-inner{min-height:95px}.brand img{width:75px;height:75px}.brand-copy strong{font-size:30px}.brand-copy em{font-size:13px}.site-header nav{gap:15px;font-size:13px}.reading-layout{grid-template-columns:300px 1fr}.hero-copy h1{font-size:38px}.hero-quote{font-size:16px}}@media(max-width:760px){.menu-button{display:block}.site-header nav{display:none;position:absolute;left:0;right:0;top:95px;background:#fff;padding:18px 4%;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}body.night-mode .site-header nav{background:#12352c}.site-header nav.show{display:flex}.site-header nav a.active{text-align:center}.reading-layout{grid-template-columns:1fr}.hero-inner{display:block}.hero-quote{text-align:left;margin-top:25px}.hero-copy h1{font-size:34px}.hero-copy p:not(.eyebrow){font-size:17px}.reading-head{align-items:flex-start;flex-direction:column}.tools{justify-content:flex-start;flex-wrap:wrap}.footer-inner{flex-direction:column;align-items:flex-start}#content{font-size:var(--size);padding:22px 14px}}@media(max-width:430px){.brand-copy strong{font-size:23px}.brand-copy small{font-size:10px}.brand-copy em{font-size:10px}.brand img{width:58px;height:58px}.header-inner{min-height:78px}.site-header nav{top:78px}.hero-copy h1{font-size:29px}.reader-panel{padding:15px}}


/* Responsive header and mobile menu refinement */
.menu-button{position:relative;z-index:31;display:none;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #d8e5df;border-radius:10px;background:#fff;color:var(--green);font-size:30px;line-height:1}
.site-header nav{position:relative;z-index:30}
@media (max-width:760px){
  .header-inner{width:min(100% - 28px,1390px);min-height:82px;gap:10px}
  .brand{min-width:0;gap:9px}
  .brand img{width:62px;height:62px;flex:0 0 62px}
  .brand-copy{min-width:0}
  .brand-copy small{font-size:9px;letter-spacing:1px;white-space:nowrap}
  .brand-copy strong{font-size:24px;line-height:1.02;letter-spacing:-.5px}
  .brand-copy em{font-size:10px;margin-top:4px;white-space:nowrap}
  .menu-button{display:flex;flex:0 0 46px}
  .site-header nav{display:none;position:absolute;top:82px;left:0;right:0;padding:12px 14px 16px;background:#fff;border-top:1px solid #e5ece8;border-bottom:1px solid #dce6e1;box-shadow:0 10px 24px rgba(0,45,35,.12);flex-direction:column;align-items:stretch;gap:5px}
  .site-header nav.show{display:flex}
  .site-header nav a,.site-header nav .nav-night{display:block;width:100%;padding:12px 14px;text-align:left;border-radius:8px;font-size:15px}
  .site-header nav a.active{text-align:left}
  .nav-night{text-align:left}
  body.night-mode .site-header nav{background:#12352c;border-color:#36554b}
  .hero-inner{min-height:0;padding:54px 0 58px}
  .hero-copy h1{font-size:clamp(31px,8vw,42px);line-height:1.12}
  .hero-copy p:not(.eyebrow){font-size:18px;line-height:1.55}
  .hero-button{padding:13px 20px;font-size:16px}
  .hero-quote{font-size:19px;line-height:1.55;margin-top:42px}
  .intro-section{padding:34px 0}
  .intro-box{align-items:flex-start;gap:15px}
  .intro-box h2{font-size:28px}
  .intro-box p{font-size:17px;line-height:1.7}
  .reading-section{padding:24px 0 36px}
  .reading-layout{gap:18px}
  .list-panel,.reader-panel{border-radius:14px}
  .panel-heading{padding:20px 18px 12px}
  .cards{padding:0 10px 10px}
  .reader-panel{padding:18px}
  .reading-head h2{font-size:25px}
  .tools{margin-top:15px}
  #content{font-size:var(--size);line-height:2.1;min-height:280px;padding:24px 15px}
  .pager{flex-wrap:wrap}
  .pager-button{flex:1 1 140px}
}
@media (min-width:761px){
  .site-header nav{display:flex!important}
}
