[hidden]{display:none!important}
/* Khalwatiya app and community sections, 2026 */
.app-strip{padding:28px 0 10px}.app-strip-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding:25px 30px;background:linear-gradient(125deg,#064731,#0a6446);color:#fff;border:1px solid #b99a55;border-radius:26px;box-shadow:var(--shadow)}.app-strip-copy{display:flex;align-items:center;gap:20px}.app-strip-icon{width:86px;height:86px;object-fit:contain;flex:none}.app-strip h2{margin:0 0 5px;font-size:1.65rem;line-height:1.3}.app-strip p{margin:0;color:#e1eee6}.app-strip-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.app-strip .btn,.app-cta .btn{min-height:48px;height:auto;text-align:center}.store-soon{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;min-height:48px;border:1px solid rgba(255,255,255,.5);border-radius:15px;color:#e5eee9;font-weight:700}.app-strip .btn.gold{border-color:#e7bd60}.app-strip .btn.outline{background:transparent;color:white;border-color:rgba(255,255,255,.58)}
.app-page{padding-bottom:65px}.app-hero{display:grid;grid-template-columns:1fr 215px;gap:26px;align-items:center;padding:42px 0 25px}.app-hero h1{font-size:clamp(2.2rem,4.6vw,3.7rem);line-height:1.15;margin:10px 0 12px}.app-hero p{font-size:1.12rem;color:var(--muted);max-width:710px;margin:0}.app-eyebrow{color:#9d7421;font-weight:800}.app-hero-logo{width:100%;max-width:215px;filter:drop-shadow(0 15px 25px rgba(3,60,42,.2))}.app-downloads{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:23px}.app-downloads .store-soon{color:var(--green);border-color:var(--line);background:var(--paper)}.app-photo{width:100%;height:auto;border-radius:25px;box-shadow:0 18px 50px rgba(23,55,43,.13);border:1px solid var(--line)}.app-feature-title{font-size:1.95rem;margin:34px 0 13px}.app-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.app-feature{background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:20px;min-height:142px}.app-feature h3{font-size:1.11rem;margin:0 0 7px}.app-feature p{color:var(--muted);margin:0;font-size:.98rem}.app-more{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#e8f1e9;border-radius:20px;padding:23px 28px;margin-top:24px}.app-more h2{margin:0 0 5px;font-size:1.4rem}.app-more p{margin:0;color:var(--muted)}
.community-page{padding-bottom:55px}.community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.community-card{display:flex;flex-direction:column;gap:7px;min-height:160px;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px;transition:transform .18s,box-shadow .18s}.community-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.community-card strong{font-size:1.25rem}.community-card span{color:var(--muted)}.community-card em{font-style:normal;font-weight:800;color:var(--green);margin-top:auto}.about-map{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e8f1e9;border:1px solid #d8e4d9;border-radius:22px;padding:23px 28px;margin-top:18px}.about-map h2{margin:0 0 4px;font-size:1.35rem}.about-map p{margin:0;color:var(--muted)}
.entry-app-cta{display:flex;align-items:center;justify-content:center;gap:9px;margin:18px auto 0;flex-wrap:wrap}.entry-app-cta a{font-weight:800;color:var(--green);text-decoration:underline;text-underline-offset:4px}.entry-app-cta img{width:30px;height:30px}.entry-app-cta span{color:var(--muted);font-size:.9rem}
a:focus-visible{outline:3px solid #dca62d;outline-offset:3px}
@media(max-width:900px){.app-strip-inner{grid-template-columns:1fr}.app-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.app-hero{grid-template-columns:1fr 96px;gap:12px;padding-top:30px}.app-hero-logo{width:96px}.app-hero h1{font-size:2.25rem}.app-hero p{font-size:1rem}.community-grid{grid-template-columns:1fr}.app-more,.about-map{align-items:flex-start;flex-direction:column}.app-strip-inner{padding:20px}.app-strip-icon{width:65px;height:65px}.app-strip h2{font-size:1.35rem}}
@media(max-width:440px){.app-strip-copy{align-items:flex-start;gap:11px}.app-strip-icon{width:50px;height:50px}.app-strip-actions,.app-downloads{display:grid;grid-template-columns:1fr;width:100%}.app-strip-actions>* ,.app-downloads>*{width:100%}.app-hero{grid-template-columns:1fr}.app-hero-logo{grid-row:1}.app-feature-grid{grid-template-columns:1fr}.app-feature{min-height:0}.app-photo{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.community-card{transition:none}}
.app-showcase{padding:18px 0 28px}.app-showcase-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;align-items:center}.app-showcase-art{display:block;width:100%;height:auto;aspect-ratio:1794/876;object-fit:cover;border-radius:23px;border:1px solid var(--line);box-shadow:0 15px 40px rgba(7,64,43,.12)}.app-showcase-copy h2{font-size:clamp(1.6rem,3vw,2.35rem);line-height:1.25;margin:7px 0 12px}.app-showcase-copy p{color:var(--muted);line-height:1.85;margin:0 0 16px}.app-showcase-points{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:0;list-style:none}.app-showcase-points li{border:1px solid #d9e8dc;background:#eff6f0;border-radius:99px;padding:6px 13px;color:var(--green);font-weight:700;font-size:.91rem}.app-showcase-actions{display:flex;gap:9px;flex-wrap:wrap}.app-showcase-actions .btn{height:auto;min-height:47px;text-align:center}
.community-home{padding:0 0 25px}.community-home-head{margin:0 0 13px;font-size:1.55rem}.community-card .channel-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#e9f3ec;color:#075b3e;margin-bottom:6px}.channel-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.community-card.youtube .channel-icon{background:#fff0ef;color:#c5221f}.community-card.facebook .channel-icon{background:#eef3ff;color:#2462a6}.community-card:hover .channel-icon{transform:scale(1.05)}
@media(max-width:850px){.app-showcase-inner{grid-template-columns:1fr}.app-showcase-art{max-width:760px}}
@media(max-width:440px){.app-showcase-actions{display:grid}.app-showcase-art{border-radius:16px}}

/* Simplified homepage app section */
.home-refined .site-header{background:#fbf6e9;border-bottom:1px solid #e6dcc8}
.home-refined .header-inner{min-height:86px;gap:22px}
.home-refined .brand img{width:46px;height:46px;object-fit:contain}
.home-refined .nav-links a{padding:10px 12px;border-radius:12px}
.home-refined .nav-links a[aria-current="page"]{background:#e6eee5;color:#075b3e}
.app-simple{padding:12px 0 30px}
.app-simple-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:30px;padding:30px;border-radius:26px;background:linear-gradient(120deg,#063c2c,#0b5e43);border:1px solid #b69c61;color:#fff;box-shadow:0 12px 30px #123c2710}
.app-simple-logo{object-fit:contain;width:64px;height:64px;margin-bottom:12px}
.app-simple-copy h2{color:#fff;font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.45;margin:0 0 8px}
.app-simple-copy p{color:#dbe9df;line-height:1.7;margin:0 0 22px;font-size:1.05rem}
.app-simple-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px}
.app-simple-actions .btn{height:auto;min-height:48px;padding:12px 24px}
.app-simple-more{color:#fff;font-weight:700;text-underline-offset:5px}
.app-simple-more:hover{text-decoration:underline}
.app-simple-copy small{display:block;color:#c6d9cc;margin-top:14px;font-size:.83rem}
.app-simple-image{display:block;min-width:0}
.app-simple-image img{display:block;width:100%;height:auto;border-radius:17px;border:1px solid #ffffff30}
@media(max-width:760px){.app-simple-card{grid-template-columns:1fr;padding:22px;gap:24px}.app-simple-copy{text-align:center}.app-simple-logo{margin:0 auto 10px}.app-simple-actions{justify-content:center}.home-refined .header-inner{min-height:74px;gap:12px}.home-refined .brand img{width:38px;height:38px}}

/* Featured book and compact community links */
.book-spotlight{padding:28px 0 20px}
.book-spotlight-card{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px 44px;background:linear-gradient(120deg,#f1ead6,#fffdf6 70%);border:1px solid #dfd3b5;border-radius:26px;overflow:hidden}
.book-spotlight-copy{min-width:0}.book-spotlight-label{color:#907024;font-weight:700;font-size:.88rem}
.book-spotlight-copy h1{color:#154733;font-size:clamp(1.9rem,3.5vw,3rem);line-height:1.4;margin:8px 0}
.book-spotlight-copy p{color:#667162;margin:0 0 22px;line-height:1.7}
.book-spotlight-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px}
.book-spotlight-actions .btn{height:auto;min-height:48px;gap:10px;padding:12px 23px}
.book-spotlight-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.book-details-link{font-weight:700;color:#28543d}.book-details-link:hover{text-decoration:underline;text-underline-offset:5px}
.book-spotlight-cover{flex:none;display:block;width:145px;transform:rotate(-4deg);margin:0 22px}
.book-spotlight-cover img{display:block;width:100%;height:auto;max-height:200px;object-fit:contain;border-radius:5px;filter:drop-shadow(8px 12px 9px #23382130)}
.home-refined .community-home-head{font-size:1.2rem;margin-bottom:12px}
.home-refined .community-home .community-card{display:flex;flex-direction:row;align-items:center;min-height:88px;gap:14px;padding:18px;border-radius:18px}
.home-refined .community-home .community-card strong{font-size:1.05rem}
.home-refined .community-home .channel-icon{width:44px;height:44px;margin:0;flex:none;border-radius:13px}
.home-refined .community-home .channel-arrow{margin-inline-start:auto;color:#78917f;font-size:1.2rem}
@media(max-width:700px){.book-spotlight-card{padding:24px;gap:20px}.book-spotlight-cover{width:100px;margin:0}.book-spotlight-copy h1{font-size:1.85rem}.book-spotlight-copy p{font-size:.95rem}.book-spotlight-actions{gap:14px}.home-refined .community-home .community-grid{grid-template-columns:1fr}}
@media(max-width:440px){.book-spotlight-card{flex-direction:column-reverse;text-align:center}.book-spotlight-cover{width:105px}.book-spotlight-actions{justify-content:center}.book-spotlight-copy h1{font-size:1.8rem}}

/* Balanced section navigation */
.home-refined .dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-refined .dash-card{display:flex;flex-direction:row;align-items:center;gap:16px;padding:22px;min-height:112px;border-radius:20px;text-align:right;transition:transform .18s,box-shadow .18s}
.home-refined .dash-card .dash-icon{width:52px;height:52px;flex:none;margin:0;border-radius:16px;display:grid;place-items:center}
.home-refined .dash-card h3{margin:0 0 6px;font-size:1.08rem;line-height:1.5}
.home-refined .dash-card p{margin:0;font-size:.88rem;line-height:1.65}
.home-refined .dash-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #143d2510}
.home-refined .dashboard-grid .dash-card:nth-child(3) .dash-icon{background:#f1ecfa;color:#74568c}
.home-refined .dashboard-grid .dash-card:nth-child(5) .dash-icon{background:#e8f1fa;color:#326589}
@media(max-width:850px){.home-refined .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.home-refined .dash-card{padding:16px;flex-direction:column;align-items:flex-start;gap:12px;min-height:160px}.home-refined .dash-card h3{font-size:1rem}.home-refined .dash-card .dash-icon{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.home-refined .dash-card{transition:none}.home-refined .dash-card:hover{transform:none}}

/* Preserve right alignment at every responsive breakpoint */
html[dir="rtl"] :is(.app-simple-copy,.book-spotlight-copy,.community-home-head,.app-showcase-copy){text-align:right;direction:rtl}
html[dir="rtl"] :is(.app-simple-actions,.book-spotlight-actions){justify-content:flex-start}
html[dir="rtl"] .app-simple-logo{margin-inline-start:0;margin-inline-end:auto}
html[dir="rtl"] .book-spotlight-card{align-items:center}
@media(max-width:440px){html[dir="rtl"] .book-spotlight-copy{width:100%}html[dir="rtl"] .book-spotlight-cover{align-self:flex-start}}

/* Section card content starts beside the icon in RTL */
.home-refined .dashboard-grid{direction:rtl}
.home-refined .dashboard-grid .dash-card{direction:rtl;justify-content:flex-start;text-align:right}
.home-refined .dashboard-grid .dash-card>div:last-child{flex:1;min-width:0;text-align:right}
.home-refined .dashboard-grid .dash-card :is(h3,p){text-align:right;margin-inline:0}
.home-refined .dashboard-grid .dash-card .dash-icon{order:0}
@media(max-width:520px){.home-refined .dashboard-grid .dash-card{align-items:flex-start}.home-refined .dashboard-grid .dash-card>div:last-child{flex:none;width:100%}}

/* Landing card is centered; the rest of the Arabic site stays right-aligned. */
html[dir="rtl"] .entry-page .entry-card{text-align:center}
html[dir="rtl"] .entry-page .entry-card :is(.entry-brand,.entry-welcome,.entry-seo-intro,.entry-choice-title,.entry-note,.entry-app-cta,.entry-seo-links){text-align:center}
html[dir="rtl"] .entry-page .entry-card :is(h1,h2,p){text-align:center}
html[dir="rtl"] .entry-page .entry-card .entry-choice{text-align:center}
html[dir="rtl"] .entry-page .entry-card .entry-choice :is(strong,small){text-align:center}

/* Compact featured content on narrow screens; Arabic text remains right aligned. */
@media(max-width:700px){
  .book-spotlight-card{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;column-gap:14px;row-gap:8px;padding:18px;text-align:right}
  .book-spotlight-copy{display:contents}
  .book-spotlight-cover,html[dir="rtl"] .book-spotlight-cover{grid-column:1;grid-row:1 / span 2;width:72px;margin:0;align-self:center}
  .book-spotlight-label{grid-column:2;grid-row:1;align-self:end}
  .book-spotlight-copy h1{grid-column:2;grid-row:2;align-self:start;font-size:clamp(1.28rem,5.3vw,1.75rem);line-height:1.3;margin:0}
  .book-spotlight-copy p{grid-column:1 / -1;grid-row:3;margin:6px 0 0;font-size:.92rem}
  .book-spotlight-actions{grid-column:1 / -1;grid-row:4;margin-top:4px}
  .book-spotlight-actions .btn{min-height:44px;padding:9px 16px}
  .app-simple-card{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;row-gap:10px;padding:18px}
  .app-simple-copy{display:contents}
  .app-simple-logo,html[dir="rtl"] .app-simple-logo{grid-column:1;grid-row:1;width:52px;height:52px;margin:0}
  .app-simple-copy h2{grid-column:2;grid-row:1;align-self:center;margin:0;font-size:clamp(1.18rem,5vw,1.65rem);line-height:1.32;text-align:right}
  .app-simple-copy p{grid-column:1 / -1;grid-row:2;margin:0;font-size:.94rem;text-align:right}
  .app-simple-actions{grid-column:1 / -1;grid-row:3;gap:12px;justify-content:flex-start}
  .app-simple-actions .btn{min-height:44px;padding:9px 16px}
  .app-simple-image{grid-column:1 / -1;grid-row:4}
  .app-simple-image img{max-height:165px;object-fit:cover;object-position:center top}
}
@media(max-width:380px){.book-spotlight-card,.app-simple-card{padding:15px}.app-simple-actions{gap:10px}.app-simple-more{font-size:.9rem}}
/* Keep the application icon square on the app detail page. */
@media(max-width:440px){.app-hero-logo{width:96px;height:96px;object-fit:contain;grid-row:1}.app-hero{align-items:start}}
