/* Gulshan e Sultania: original design system. Colours are variables only. */
/* 1. Tokens ------------------------------------------------------------ */
:root{
  --r-s:10px;--r-m:16px;--r-l:28px;
  --shadow-s:0 1px 2px rgba(16,24,28,.06),0 2px 8px rgba(16,24,28,.05);
  --shadow-m:0 10px 30px rgba(16,24,28,.10);
  --shadow-lg:0 22px 56px rgba(16,24,28,.20);
  --container:1200px;--gap:clamp(16px,2.4vw,28px);--header-h:72px;
  --font-head:"Bricolage Grotesque","Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}
/* Raw palettes: L = light mode, D = dark mode. a1..a6 feed the card colours.
   Brand colours: green #069047/#004f36/#002f20, blue #0c4e96/#001e50/#00122f, orange #a44a25/#62230a/#2b0c00, dark grey #191c1e. */
:root,[data-theme="green"]{
  --pL:#05723F;--onL:#fff;--brL:#069047;--pD:#1FC16C;--onD:#0B0F10;--brD:#1FC16C;--lgL:#05723F;
  --deep:#002F20;--deep2:#004F36;--deep3:#069047;
  --aL1:#05723F;--aL2:#0F766E;--aL3:#8A6A00;--aL4:#3F7A0A;--aL5:#047857;--aL6:#0E7490;
  --aD1:#1FC16C;--aD2:#2DD4BF;--aD3:#E3B341;--aD4:#A3E635;--aD5:#34D399;--aD6:#38BDF8;
}
[data-theme="blue"]{
  --pL:#0C4E96;--onL:#fff;--brL:#0C4E96;--pD:#77ADE9;--onD:#0B0F10;--brD:#77ADE9;--lgL:#093A77;
  --deep:#00122F;--deep2:#001E50;--deep3:#0C4E96;
  --aL1:#0C4E96;--aL2:#4338CA;--aL3:#0E7490;--aL4:#0F766E;--aL5:#6D28D9;--aL6:#0369A1;
  --aD1:#77ADE9;--aD2:#A5B4FC;--aD3:#22D3EE;--aD4:#2DD4BF;--aD5:#C4B5FD;--aD6:#7DD3FC;
}
[data-theme="orange"]{
  --pL:#A44A25;--onL:#fff;--brL:#A44A25;--pD:#E1987A;--onD:#0B0F10;--brD:#E1987A;--lgL:#873A1B;
  --deep:#2B0C00;--deep2:#62230A;--deep3:#A44A25;
  --aL1:#A44A25;--aL2:#B45309;--aL3:#B91C1C;--aL4:#92400E;--aL5:#A16207;--aL6:#9A3412;
  --aD1:#E1987A;--aD2:#FBBF24;--aD3:#F87171;--aD4:#FDBA74;--aD5:#FACC15;--aD6:#FCA5A5;
}
:root,[data-theme]{--hero-bg:linear-gradient(160deg,var(--deep) 0%,var(--deep2) 58%,color-mix(in srgb,var(--deep2) 55%,var(--deep3)) 100%)}
:root,[data-mode="light"]{
  --bg:#F5F7F6;--surface:#fff;--surface-2:#EDF1EF;--text:#191C1E;--muted:#4A5559;--border:#DCE3E0;
  --p:var(--pL);--on-p:var(--onL);--br:var(--brL);--logo:var(--lgL);
  --c1:var(--aL1);--c2:var(--aL2);--c3:var(--aL3);--c4:var(--aL4);--c5:var(--aL5);--c6:var(--aL6);
  color-scheme:light;
}
[data-mode="dark"]{
  --bg:#141719;--surface:#191C1E;--surface-2:#22272A;--text:#ECF0EE;--muted:#A9B3AF;--border:#30373B;
  --p:var(--pD);--on-p:var(--onD);--br:var(--brD);--logo:var(--pD);
  --c1:var(--aD1);--c2:var(--aD2);--c3:var(--aD3);--c4:var(--aD4);--c5:var(--aD5);--c6:var(--aD6);
  --shadow-m:0 10px 30px rgba(0,0,0,.35);--shadow-lg:0 22px 56px rgba(0,0,0,.5);
  color-scheme:dark;
}
/* Always-dark zones (top bar, hero, footer) use the dark palette in both modes. */
.is-dark-zone{
  --p:var(--pD);--on-p:var(--onD);--br:var(--brD);--logo:var(--pD);--text:#F2F6F4;--muted:#BAC5C0;--surface:#22272A;--border:rgba(255,255,255,.16);
  --c1:var(--aD1);--c2:var(--aD2);--c3:var(--aD3);--c4:var(--aD4);--c5:var(--aD5);--c6:var(--aD6);
  color:var(--text);
}
/* Language fonts */
.lang-ar{--font-head:"Noto Naskh Arabic","Figtree",system-ui,serif;--font-body:"Noto Naskh Arabic","Figtree",system-ui,serif}
.lang-ur{--font-head:"Noto Nastaliq Urdu","Noto Naskh Arabic",system-ui,serif;--font-body:"Noto Nastaliq Urdu","Noto Naskh Arabic",system-ui,serif}
.lang-ur body,body.lang-ur{line-height:2}
.lang-ar h1,.lang-ar h2,.lang-ar h3,.lang-ur h1,.lang-ur h2,.lang-ur h3{letter-spacing:0;line-height:1.5}

/* 2. Base --------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 16px)}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.65 var(--font-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img,svg,video{max-width:100%;height:auto}
a{color:var(--p);text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.2;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:clamp(2.1rem,4.6vw,3.6rem)}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
h3{font-size:1.2rem}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--p);outline-offset:3px;border-radius:6px}
.is-dark-zone :focus-visible{outline-color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ges-skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:200;background:var(--p);color:var(--on-p);padding:10px 16px;border-radius:var(--r-s);transition:top .2s}
.ges-skip:focus{top:12px}
.ges-i{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ges-i--fill{fill:currentColor;stroke:none}
.ges-flip{transition:transform .25s var(--ease)}
[dir="rtl"] .ges-flip{transform:scaleX(-1)}
.ges-flip-rev{transform:scaleX(-1)}
[dir="rtl"] .ges-flip-rev{transform:none}
a:hover>.ges-flip,.ges-link:hover .ges-flip{transform:translateX(3px)}
[dir="rtl"] a:hover>.ges-flip,[dir="rtl"] .ges-link:hover .ges-flip{transform:scaleX(-1) translateX(3px)}
.ges-container{width:min(100% - 2*clamp(16px,4vw,32px),var(--container));margin-inline:auto}
.ges-muted{color:var(--muted)}

/* 3. Buttons, fields, chips ---------------------------------------------- */
.ges-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:44px;padding:.6em 1.25em;border-radius:999px;border:2px solid transparent;background:var(--p);color:var(--on-p);font-weight:600;text-decoration:none;transition:transform .2s var(--ease),box-shadow .2s,background .2s}
.ges-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-m)}
.ges-btn--lg{min-height:52px;padding:.7em 1.6em;font-size:1.05rem}
.ges-btn--light{background:#fff;color:#0B1A12}
.ges-btn--soft{background:color-mix(in srgb,var(--c,var(--p)) 14%,var(--surface));color:var(--c,var(--p));border-color:transparent}
.ges-btn--soft:hover{background:color-mix(in srgb,var(--c,var(--p)) 22%,var(--surface))}
.ges-link{display:inline-flex;align-items:center;gap:.4em;font-weight:600;text-decoration:none;color:var(--p)}
.ges-link:hover{text-decoration:underline}
.ges-iconbtn{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.ges-iconbtn:hover{border-color:var(--p);color:var(--p)}
.ges-iconbtn--ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);color:#fff}
.ges-iconbtn--ghost:hover{background:rgba(255,255,255,.2);color:#fff;border-color:#fff}
.ges-input{width:100%;min-height:44px;padding:.55em .9em;border-radius:var(--r-s);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}
.ges-input:focus{outline:3px solid color-mix(in srgb,var(--p) 40%,transparent);border-color:var(--p)}
select.ges-input{appearance:auto}
.ges-field{display:grid;gap:6px;margin-bottom:14px}
.ges-field>span{font-size:.85rem;font-weight:600;color:var(--muted)}
.ges-chips{display:flex;flex-wrap:wrap;gap:6px}
.ges-chips span,.ges-chip-lvl,.ges-tag{display:inline-block;padding:.15em .7em;border-radius:999px;font-size:.78rem;font-weight:600;background:color-mix(in srgb,var(--c,var(--p)) 14%,var(--surface));color:var(--c,var(--p));text-decoration:none}
.ges-tag--light{background:rgba(255,255,255,.16);color:#fff}
.ges-hp{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.ges-arch{display:inline-grid;place-items:center;width:46px;height:54px;border-radius:999px 999px 10px 10px;background:color-mix(in srgb,var(--c,var(--p)) 14%,var(--surface));color:var(--c,var(--p));font-family:var(--font-head);font-weight:700;flex:none}
.ges-arch--lg{width:64px;height:76px}.ges-arch--lg .ges-i{width:30px;height:30px}
.ges-arch--xl{width:84px;height:100px;margin-bottom:20px}.ges-arch--xl .ges-i{width:38px;height:38px}
.ges-badge{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--p) 14%,var(--surface));color:var(--p)}
.ges-notice{padding:12px 0;font-weight:600;background:var(--p);color:var(--on-p)}
.ges-notice--err{background:#8F1D1D;color:#fff}

/* 4. Top bar and header --------------------------------------------------- */
.ges-topbar{background:#191C1E;font-size:.85rem;position:relative;z-index:70}
.ges-topbar__in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}
.ges-topbar__times{display:flex;gap:18px;color:var(--muted)}
.ges-topbar__times li{display:flex;align-items:center;gap:6px}
.ges-topbar__times b{color:#fff;font-variant-numeric:tabular-nums}
.ges-topbar__tools{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
.ges-dd{position:relative}
.ges-dd__btn{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid transparent;background:transparent;color:inherit}
.ges-dd__btn:hover,.ges-dd__btn[aria-expanded="true"]{background:rgba(255,255,255,.1)}
.ges-dd__caret{width:1em;height:1em;transition:transform .2s}
[aria-expanded="true"]>.ges-dd__caret{transform:rotate(180deg)}
.ges-dd__panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);min-width:230px;max-height:min(70vh,420px);overflow:auto;padding:8px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--r-m);box-shadow:var(--shadow-lg);z-index:90}
.ges-dd__panel--city{width:320px}
.ges-dd__lbl{display:block;margin:10px 0 4px;font-size:.82rem;font-weight:600;color:var(--muted)}
.ges-dd__panel--city .ges-input{margin:0}
.ges-dd__other{display:grid;gap:8px;margin-top:8px}
.ges-dd__other[hidden]{display:none}
.ges-dd__panel--lang{width:260px}
.ges-dd__title{margin:4px 8px 8px;font-size:.8rem;font-weight:700;color:var(--muted)}
.ges-dd__item,.ges-dd__list button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:0;border-radius:var(--r-s);background:transparent;text-align:start;color:var(--text)}
.ges-dd__item:hover,.ges-dd__list button:hover{background:var(--surface-2)}
.ges-dd__item--accent{color:var(--p);font-weight:600;margin:6px 0}
.ges-dd__list small{margin-inline-start:auto;color:var(--muted)}
.ges-dd__list button[aria-current="true"]{background:color-mix(in srgb,var(--p) 14%,var(--surface));font-weight:600}
.ges-langlist{display:grid;gap:2px}
.ges-langlist a{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:var(--r-s);color:var(--text);text-decoration:none}
.ges-langlist a:hover{background:var(--surface-2)}
.ges-langlist a[aria-current="true"]{background:color-mix(in srgb,var(--p) 14%,var(--surface));font-weight:600}
.ges-langlist small{color:var(--muted)}
.ges-socials{display:flex;gap:2px;margin-inline-start:6px}
.ges-socials a{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;opacity:.85;transition:opacity .2s,background .2s}
.ges-socials a:hover{opacity:1;background:rgba(255,255,255,.14)}
.ges-socials--lg a{width:42px;height:42px;border:1px solid rgba(255,255,255,.22)}

.ges-header{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--surface) 90%,transparent);-webkit-backdrop-filter:saturate(1.5) blur(12px);backdrop-filter:saturate(1.5) blur(12px);border-bottom:1px solid var(--border);transition:box-shadow .25s}
.admin-bar .ges-header{top:32px}
.ges-header.is-stuck{box-shadow:var(--shadow-m)}
.ges-header__in{display:flex;align-items:center;gap:20px;min-height:var(--header-h)}
.ges-logo{display:inline-flex;align-items:center;text-decoration:none;color:var(--text)}
.ges-logo__img{display:block;height:46px;aspect-ratio:6521/1499;background:url(../img/logo.png) left center/contain no-repeat}
[data-mode="light"] .ges-header .ges-logo__img{filter:drop-shadow(0 0 .7px rgba(70,45,0,.75))}
.ges-logo--footer .ges-logo__img{height:64px}
@media (max-width:640px){.ges-logo__img{height:38px}}
.ges-logo--custom img{max-height:48px;width:auto}
.ges-nav{margin-inline-start:auto}
.ges-menu{display:flex;align-items:center;gap:2px}
.ges-menu>li{position:relative;display:flex;align-items:center}
.ges-menu a{display:block;padding:.55em .85em;border-radius:999px;color:var(--text);font-weight:600;text-decoration:none;font-size:.97rem}
.ges-menu a:hover,.ges-menu .current-menu-item>a,.ges-menu .current_page_item>a{background:color-mix(in srgb,var(--p) 12%,transparent);color:var(--p)}
.ges-sub-toggle{display:grid;place-items:center;width:26px;height:26px;margin-inline-start:-10px;border:0;background:transparent;border-radius:50%;color:var(--muted)}
.ges-sub-toggle .ges-i{width:16px;height:16px;transition:transform .2s}
.ges-sub-toggle[aria-expanded="true"] .ges-i{transform:rotate(180deg)}
.ges-menu .sub-menu{position:absolute;inset-inline-start:0;top:calc(100% + 6px);min-width:220px;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-m);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s}
.ges-menu li:hover>.sub-menu,.ges-menu li:focus-within>.sub-menu,.ges-menu li.is-open>.sub-menu{opacity:1;visibility:visible;transform:none}
.ges-menu .sub-menu a{border-radius:var(--r-s);font-weight:500}
.ges-menu .sub-menu .sub-menu{position:static;box-shadow:none;border:0;opacity:1;visibility:visible;transform:none;padding-inline-start:12px}
.ges-actions{display:flex;align-items:center;gap:8px}
.ges-actions .ges-dd__panel{inset-inline-end:0}
.ges-modebtn .ges-modebtn__sun{display:none}
[data-mode="dark"] .ges-modebtn .ges-modebtn__sun{display:block}
[data-mode="dark"] .ges-modebtn .ges-modebtn__moon{display:none}
.ges-swatches{display:grid;gap:4px}
.ges-swatch{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid transparent;border-radius:var(--r-s);background:transparent;text-align:start}
.ges-swatch:hover{background:var(--surface-2)}
.ges-swatch i{width:26px;height:26px;border-radius:50%;background:var(--s);box-shadow:inset 0 0 0 3px var(--surface),0 0 0 2px var(--s)}
.ges-swatch[aria-pressed="true"]{border-color:var(--p);font-weight:700}
.ges-burger{display:none}
.ges-search{border-top:1px solid var(--border);background:var(--surface);padding:14px 0}
.ges-search .ges-container{display:flex;gap:12px;align-items:center}
.ges-search .ges-searchform{flex:1}
.ges-searchform{display:flex;align-items:center;gap:10px;position:relative}
.ges-searchform>.ges-i{position:absolute;inset-inline-start:14px;color:var(--muted);pointer-events:none}
.ges-searchform .ges-input{padding-inline-start:44px;border-radius:999px}
.ges-scrim{position:fixed;inset:0;background:rgba(8,12,14,.55);z-index:55}

@media (max-width:1023px){
  .ges-burger{display:inline-grid}
  .ges-nav{position:fixed;inset-block:0;inset-inline-end:0;width:min(360px,88vw);margin:0;padding:84px 18px 24px;background:var(--surface);z-index:80;overflow:auto;transform:translateX(105%);transition:transform .3s var(--ease);box-shadow:var(--shadow-lg)}
  [dir="rtl"] .ges-nav{transform:translateX(-105%)}
  .ges-nav.is-open{transform:none}
  .ges-menu{flex-direction:column;align-items:stretch;gap:2px}
  .ges-menu>li{flex-wrap:wrap}
  .ges-menu>li>a{flex:1;font-size:1.05rem}
  .ges-sub-toggle{margin-inline-start:0;width:40px;height:40px}
  .ges-menu .sub-menu{position:static;width:100%;box-shadow:none;border:0;border-inline-start:2px solid var(--border);border-radius:0;margin-inline-start:14px;opacity:1;visibility:visible;transform:none;display:none;padding:2px 0 2px 6px}
  .ges-menu li.is-open>.sub-menu{display:block}
  .ges-burger{position:relative;z-index:90}
  .ges-topbar__times li:nth-child(2){display:none}
}
@media (max-width:640px){
  .ges-topbar__times,.ges-topbar .ges-socials{display:none}
  .ges-topbar__tools{margin-inline:auto}
  .ges-dd__panel--city{width:min(300px,90vw)}
  .ges-dd{position:static}
  .ges-topbar .ges-dd__panel{inset-inline:12px;width:auto}
  .ges-logo__text{font-size:1.15rem}
}

/* 5. Hero ------------------------------------------------------------------ */
.ges-hero{position:relative;overflow:hidden;color:#fff;background:var(--hero-bg);padding:clamp(48px,8vw,96px) 0 clamp(150px,18vw,230px)}
.ges-hero__pattern{position:absolute;inset:0;color:#fff;opacity:.07;pointer-events:none}
.ges-hero__in{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(24px,5vw,64px);align-items:center}
.ges-hero__slides{display:grid}
.ges-slide{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .6s var(--ease),transform .6s var(--ease),visibility .6s}
.ges-slide.is-active{opacity:1;visibility:visible;transform:none}
.ges-hero__title{font-size:clamp(2.2rem,5.2vw,4rem);line-height:1.08;margin-bottom:.4em;color:#fff;max-width:14ch}
.ges-hero__text{font-size:clamp(1.05rem,1.6vw,1.25rem);max-width:52ch;color:#E3ECE7;margin-bottom:1.6em}
.ges-hero__ctrl{display:flex;align-items:center;gap:10px;margin-top:34px}
.ges-dots{display:flex;gap:8px;padding:0 6px}
.ges-dots button{width:10px;height:10px;padding:0;border-radius:999px;border:0;background:rgba(255,255,255,.4);transition:width .3s var(--ease),background .3s}
.ges-dots button[aria-current="true"]{width:30px;background:#fff}
.ges-hero__art{position:relative;justify-self:center;width:min(100%,360px);animation:ges-rise 1s var(--ease) both}
.ges-hero__art svg{display:block;width:100%;height:auto;filter:drop-shadow(0 24px 40px rgba(0,0,0,.35))}
.art-fill{fill:rgba(255,255,255,.06)}
.art-pat{color:#fff;opacity:.16}
.art-line{fill:none;stroke:rgba(255,255,255,.55);stroke-width:2}
.art-line--in{stroke:var(--br);stroke-width:3}
.art-moon{fill:none;stroke:#fff;stroke-width:.5;stroke-linecap:round;stroke-linejoin:round;transform-box:fill-box}
.ges-hero__sky{position:absolute;inset-inline:0;bottom:-1px;width:100%;height:clamp(60px,9vw,130px)}
.ges-hero__sky path{fill:var(--bg)}
@keyframes ges-rise{from{opacity:0;transform:translateY(40px) scale(.97)}to{opacity:1;transform:none}}
@media (max-width:860px){.ges-hero__in{grid-template-columns:1fr}.ges-hero__art{display:none}.ges-hero__title{max-width:none}}

/* 6. Strip: audio player and prayer box ----------------------------------- */
.ges-strip{position:relative;z-index:5;margin-top:calc(-1 * clamp(90px,11vw,150px));padding-bottom:clamp(30px,5vw,56px)}
.ges-strip__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.25fr);gap:var(--gap)}
.ges-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-l);box-shadow:var(--shadow-m);padding:clamp(18px,2.4vw,28px)}
.ges-card__head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.ges-card__head h2{font-size:1.25rem;margin:0}
.ges-player__selects{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ges-player__bar{display:flex;align-items:center;gap:14px;margin:4px 0 16px}
.ges-playbtn{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:0;background:var(--p);color:var(--on-p);flex:none;transition:transform .2s var(--ease),box-shadow .2s}
.ges-playbtn:hover{transform:scale(1.06);box-shadow:var(--shadow-m)}
.ges-playbtn .ges-i{width:22px;height:22px}
.ges-player__track{flex:1}
.ges-progress{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.ges-progress i{display:block;height:100%;width:0;background:var(--p);border-radius:inherit;transition:width .2s linear}
.ges-player__time{display:flex;justify-content:space-between;margin-top:6px;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
.ges-prayer__where{margin:0;color:var(--muted);font-size:.9rem}
.ges-prayer__dates{margin-inline-start:auto;text-align:end;font-size:.85rem;color:var(--muted);display:grid}
.ges-prayer__next{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;padding:14px 18px;margin-bottom:14px;border-radius:var(--r-m);background:color-mix(in srgb,var(--p) 12%,var(--surface));color:var(--text)}
.ges-prayer__next span{color:var(--muted);font-size:.9rem}
.ges-prayer__next strong{font-family:var(--font-head);font-size:1.2rem}
.ges-prayer__next b{margin-inline-start:auto;font-family:var(--font-head);font-size:1.5rem;color:var(--p);font-variant-numeric:tabular-nums}
.ges-prayer__list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.ges-prayer__list li{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-m);text-align:center}
.ges-prayer__list span{font-size:.85rem;color:var(--muted)}
.ges-prayer__list b{font-family:var(--font-head);font-size:1.15rem;font-variant-numeric:tabular-nums}
.ges-prayer__list li.is-next{border-color:var(--p);background:color-mix(in srgb,var(--p) 10%,var(--surface))}
@media (max-width:860px){.ges-strip__grid{grid-template-columns:1fr}}
@media (max-width:480px){.ges-prayer__list{grid-template-columns:repeat(2,1fr)}.ges-player__selects{grid-template-columns:1fr}}

/* 7. Sections ------------------------------------------------------------- */
.ges-section{padding:clamp(48px,7vw,88px) 0}
.ges-section--alt{background:var(--surface-2)}
.ges-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-bottom:clamp(24px,3.4vw,40px)}
.ges-head__title{margin-bottom:.25em}
.ges-head__desc{margin:0;color:var(--muted);max-width:56ch}
.ges-grid{display:grid;gap:var(--gap)}
.ges-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ges-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ges-grid--courses{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
@media (max-width:980px){.ges-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.ges-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.ges-grid--3,.ges-grid--4{grid-template-columns:1fr}}

/* Explore cards */
.ges-explore{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:28px;border:1px solid var(--border);border-radius:var(--r-l);background:var(--surface);color:var(--text);text-decoration:none;overflow:hidden;transition:transform .3s var(--ease),box-shadow .3s,border-color .3s}
.ges-explore::before{content:"";position:absolute;inset-inline-end:-40px;top:-40px;width:150px;height:150px;border-radius:50%;background:color-mix(in srgb,var(--c) 10%,transparent)}
.ges-explore:hover{transform:translateY(-6px);box-shadow:var(--shadow-m);border-color:var(--c)}
.ges-explore .ges-arch{margin-bottom:12px}
.ges-explore h3{margin:0}
.ges-explore p{margin:0 0 14px;color:var(--muted)}
.ges-explore__go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--c)}

/* About */
.ges-about{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,5vw,72px);align-items:center}
.ges-about__copy p{font-size:1.1rem;color:var(--muted);max-width:54ch}
.ges-about__points{display:grid;gap:14px}
.ges-about__points li{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface);font-weight:600}
.ges-tick{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--p);color:var(--on-p);flex:none}
.ges-tick .ges-i{width:16px;height:16px;stroke-width:2.5}
@media (max-width:860px){.ges-about{grid-template-columns:1fr}}

/* Surah list */
.ges-surahs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px var(--gap)}
.ges-surah{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:16px;padding:12px 18px 12px 12px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s,transform .2s var(--ease)}
.ges-surah:hover{border-color:var(--p);transform:translateX(4px)}
[dir="rtl"] .ges-surah:hover{transform:translateX(-4px)}
.ges-surah__name{display:grid;line-height:1.35}
.ges-surah__name small{color:var(--muted)}
.ges-surah__ar{font-family:"Amiri Quran","Noto Naskh Arabic","Amiri",serif;font-size:1.5rem;color:var(--p)}
.ges-surah__play{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--p) 14%,var(--surface));color:var(--p)}
.ges-surah__play .ges-i{width:16px;height:16px}
@media (max-width:780px){.ges-surahs{grid-template-columns:1fr}}

/* Channels */
.ges-channel{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--border);border-radius:var(--r-l);background:var(--surface);color:var(--text);text-decoration:none;transition:transform .3s var(--ease),box-shadow .3s,border-color .3s}
.ges-channel:hover{transform:translateY(-4px);box-shadow:var(--shadow-m);border-color:var(--c)}
.ges-channel__logo{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 22%,var(--surface)),color-mix(in srgb,var(--c) 8%,var(--surface)));color:var(--c);font:800 1.15rem var(--font-head);flex:none;direction:ltr}
.ges-channel__logo img{width:100%;height:100%;object-fit:contain}
.ges-livebadge{display:inline-block;margin-inline-start:6px;padding:.05em .6em;border-radius:999px;background:#B42318;color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.04em;vertical-align:middle}
.ges-channel__body{display:grid;gap:3px;min-width:0;flex:1}
.ges-channel__body small{color:var(--muted)}
.ges-channel__body .ges-chips{margin-top:4px}
.ges-channel__go{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--c);color:var(--surface);flex:none}
.ges-channel__go .ges-i{width:14px;height:14px}

/* Courses */
.ges-course{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px;border:1px solid var(--border);border-top:5px solid var(--c);border-radius:var(--r-m) var(--r-m) var(--r-l) var(--r-l);background:var(--surface)}
.ges-course h3{margin:4px 0 0}
.ges-course p{margin:0;color:var(--muted);flex:1}

/* Scholars */
.ges-scholar{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 18px;border:1px solid var(--border);border-radius:var(--r-l);background:var(--surface);text-align:center;color:var(--text);text-decoration:none;transition:transform .3s var(--ease),box-shadow .3s}
.ges-scholar:hover{transform:translateY(-4px);box-shadow:var(--shadow-m)}
.ges-scholar small{color:var(--muted)}
.ges-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.ges-avatar{display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 30%,var(--surface)),color-mix(in srgb,var(--c) 10%,var(--surface)));color:var(--c);font:800 2rem var(--font-head);margin-bottom:6px}

/* Books */
.ges-book{display:flex;flex-direction:column;gap:6px}
.ges-book h3{margin:10px 0 0;font-size:1.05rem}
.ges-book p{margin:0;color:var(--muted);font-size:.92rem}
.ges-book__cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:3/4;padding:22px 20px 20px 30px;border-radius:6px 14px 14px 6px;background:linear-gradient(150deg,color-mix(in srgb,var(--c) 85%,#000),color-mix(in srgb,var(--c) 55%,#000));color:#fff;text-decoration:none;box-shadow:var(--shadow-m);overflow:hidden;transition:transform .3s var(--ease)}
.ges-book__cover:hover{transform:translateY(-6px) rotate(-1deg)}
.ges-book__cover::after{content:"";position:absolute;inset-inline-end:-30px;bottom:-30px;width:140px;height:140px;border:2px solid rgba(255,255,255,.25);border-radius:50%}
.ges-book__cover.has-img{padding:0;background:var(--surface-2)}
.ges-book__cover.has-img::after{display:none}
.ges-book__cover img{display:block;width:100%;height:100%;object-fit:cover}
.ges-book__spine{position:absolute;inset-block:0;inset-inline-start:0;width:12px;background:rgba(0,0,0,.28)}
.ges-book__title{font:700 1.2rem/1.25 var(--font-head)}
.ges-book__cat{font-size:.8rem;font-weight:600;opacity:.9}
.is-dark-zone .ges-book__cover{color:#fff}
[data-mode="dark"] .ges-book__cover{background:linear-gradient(150deg,color-mix(in srgb,var(--c) 45%,#000),color-mix(in srgb,var(--c) 22%,#000))}

/* Hadees: 2:3 frame, image shown whole */
.ges-hadith{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:clamp(28px,5vw,72px);align-items:center}
.ges-hadith__img{position:relative;aspect-ratio:2/3;border-radius:var(--r-l);overflow:hidden;box-shadow:var(--shadow-lg);background:var(--surface-2) var(--img) center/cover no-repeat;isolation:isolate}
.ges-hadith__img::before{content:"";position:absolute;inset:0;background:inherit;filter:blur(22px) saturate(1.2);transform:scale(1.2);z-index:-1}
.ges-hadith__img img{display:block;width:100%;height:100%;object-fit:contain}
.ges-hadith__card{display:grid;align-content:center;gap:18px;aspect-ratio:2/3;padding:clamp(22px,4vw,36px);border-radius:var(--r-l);background:var(--hero-bg);color:#fff;box-shadow:var(--shadow-lg);overflow:hidden;position:relative}
.ges-hadith__card::before{content:"";position:absolute;inset:14px;border:2px solid rgba(255,255,255,.28);border-radius:999px 999px 18px 18px;pointer-events:none}
.ges-hadith__ar{margin:0;font:clamp(1.3rem,2.4vw,1.7rem)/2 "Amiri Quran","Amiri","Noto Naskh Arabic",serif;text-align:center;position:relative}
.ges-hadith__tr{margin:0;font-size:.98rem;line-height:1.6;color:#E3ECE7;text-align:center;position:relative}
.ges-facts{display:flex;flex-wrap:wrap;gap:12px 28px;margin:22px 0}
.ges-facts div{display:grid}
.ges-facts dt{font-size:.8rem;font-weight:700;color:var(--muted)}
.ges-facts dd{margin:0;font:700 1.15rem var(--font-head)}
.ges-quote{margin:0 0 22px;padding:18px 22px;border-inline-start:4px solid var(--p);background:var(--surface);border-radius:var(--r-m)}
.ges-quote p{margin:0 0 6px;font-size:1.1rem}
.ges-quote cite{font-size:.9rem;color:var(--muted);font-style:normal}
.ges-hadith__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.ges-share{display:flex;gap:8px}
@media (max-width:860px){.ges-hadith{grid-template-columns:1fr}.ges-hadith__img{max-width:380px;margin-inline:auto;width:100%}}

/* Masajid */
.ges-places{display:grid;grid-template-columns:1.2fr 1fr;gap:var(--gap);align-items:stretch}
.ges-map{position:relative;min-height:360px;border-radius:var(--r-l);overflow:hidden;border:1px solid var(--border);background:color-mix(in srgb,var(--p) 8%,var(--surface-2))}
.ges-map svg{position:absolute;inset:0;width:100%;height:100%}
.map-roads path{stroke:var(--surface);stroke-width:14}
.map-roads path:nth-child(even){stroke-width:8}
.map-pins path{fill:var(--p)}.map-pins circle{fill:var(--surface)}
.ges-placelist{display:grid;gap:12px;align-content:start}
.ges-place{display:flex;align-items:center;gap:14px;padding:12px 16px 12px 12px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s,transform .2s var(--ease)}
.ges-place:hover{border-color:var(--c);transform:translateX(4px)}
[dir="rtl"] .ges-place:hover{transform:translateX(-4px)}
.ges-place__body{display:grid;flex:1;min-width:0}
.ges-place__body small{color:var(--muted)}
.ges-place__go{color:var(--muted)}
.ges-placelist__more{display:flex;flex-wrap:wrap;gap:8px 22px;padding-top:6px}
@media (max-width:860px){.ges-places{grid-template-columns:1fr}.ges-map{min-height:260px}}

/* Events */
.ges-events{display:grid;gap:12px}
.ges-event{display:flex;align-items:center;gap:20px;padding:14px 20px 14px 14px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s,box-shadow .2s}
.ges-event:hover{border-color:var(--p);box-shadow:var(--shadow-s)}
.ges-event__date{display:grid;place-items:center;width:64px;height:64px;border-radius:var(--r-m);background:var(--p);color:var(--on-p);line-height:1.1;flex:none}
.ges-event__date b{font:800 1.5rem var(--font-head)}
.ges-event__date span{font-size:.78rem;font-weight:700}
.ges-event__body{display:grid;flex:1;gap:2px}
.ges-event__body b{font-size:1.08rem}
.ges-event__body small{color:var(--muted);display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.ges-event__body .ges-i{width:14px;height:14px}
.ges-event__go{color:var(--muted)}

/* Pillars: arch-topped cards */
.ges-pillars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--gap)}
.ges-pillar{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:36px 20px 28px;border:1px solid var(--border);border-radius:999px 999px var(--r-l) var(--r-l);background:linear-gradient(180deg,color-mix(in srgb,var(--c) 11%,var(--surface)),var(--surface) 60%)}
.ges-pillar__icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--surface);color:var(--c);box-shadow:var(--shadow-s);margin-bottom:8px}
.ges-pillar__icon .ges-i{width:30px;height:30px}
.ges-pillar h3{margin:0}
.ges-pillar__ar{font:1.5rem "Amiri","Noto Naskh Arabic",serif;color:var(--c)}
.ges-pillar p{margin:6px 0 0;color:var(--muted);font-size:.93rem}
@media (max-width:1100px){.ges-pillars{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.ges-pillars{grid-template-columns:1fr}.ges-pillar{border-radius:var(--r-l)}}

/* Blog cards */
.ges-post{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--r-l);background:var(--surface);overflow:hidden;transition:transform .3s var(--ease),box-shadow .3s}
.ges-post:hover{transform:translateY(-4px);box-shadow:var(--shadow-m)}
.ges-post__img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--surface-2)}
.ges-post__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.ges-post:hover .ges-post__img img{transform:scale(1.04)}
.ges-post__ph{display:grid;place-items:center;width:100%;height:100%;color:var(--p)}
.ges-post__ph .ges-i{width:44px;height:44px}
.ges-post__body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 22px 22px;flex:1}
.ges-post__title{margin:0;font-size:1.2rem}
.ges-post__title a{color:var(--text);text-decoration:none}
.ges-post__title a:hover{color:var(--p)}
.ges-post__body p{margin:0;color:var(--muted)}
.ges-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:auto;font-size:.85rem;color:var(--muted)}
.ges-posts.is-list{grid-template-columns:1fr}
.ges-posts.is-list .ges-post{flex-direction:row}
.ges-posts.is-list .ges-post__img{width:min(280px,36%);aspect-ratio:auto;flex:none}
@media (max-width:620px){.ges-posts.is-list .ges-post{flex-direction:column}.ges-posts.is-list .ges-post__img{width:100%;aspect-ratio:16/10}}

/* 8. Footer ------------------------------------------------------------------ */
.ges-footer{background:#191C1E;color:#D9E1DD;margin-top:0}
.ges-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:clamp(24px,4vw,56px);padding:clamp(40px,6vw,72px) 0 40px}
.ges-footer__about p{margin:16px 0 18px;max-width:38ch;color:#B7C2BD}
.ges-footer h2{font-size:1.05rem;color:#fff;margin-bottom:14px}
.ges-flinks{display:grid;gap:8px}
.ges-flinks a{color:#C9D4CF;text-decoration:none}
.ges-flinks a:hover{color:#fff;text-decoration:underline}
.ges-footer__news p{color:#B7C2BD;margin-bottom:12px}
.ges-newsform{display:grid;gap:10px}
.ges-newsform .ges-input{background:#22282B;border-color:#39434A;color:#fff}
.ges-newsform .ges-input::placeholder{color:#93A09A}
.ges-footer__bar{border-top:1px solid rgba(255,255,255,.1)}
.ges-footer__barin{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding:18px 0;font-size:.9rem;color:#A6B2AD}
.ges-footer__barin p{margin:0}
.ges-footer__barin .ges-flinks{display:flex;flex-wrap:wrap;gap:6px 20px}
@media (max-width:980px){.ges-footer__grid{grid-template-columns:1fr 1fr}.ges-footer__about{grid-column:1/-1}}
@media (max-width:560px){.ges-footer__grid{grid-template-columns:1fr}}

/* 9. Dialog (course enquiry) --------------------------------------------------- */
.ges-dialog{width:min(480px,92vw);padding:0;border:1px solid var(--border);border-radius:var(--r-l);background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg)}
.ges-dialog::backdrop{background:rgba(8,12,14,.6)}
.ges-enqform{padding:24px}
.ges-dialog__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.ges-dialog__head h2{margin:0;font-size:1.3rem}

/* 10. Inner pages --------------------------------------------------------------- */
.ges-pagehead{background:var(--hero-bg);padding:clamp(36px,6vw,72px) 0;position:relative;overflow:hidden}
.ges-pagehead::after{content:"";position:absolute;inset-inline-end:-60px;bottom:-90px;width:300px;height:360px;border:2px solid rgba(255,255,255,.12);border-radius:999px 999px 0 0}
.ges-pagehead h1{color:#fff;margin:0;font-size:clamp(1.9rem,4vw,3rem);position:relative}
.ges-pagehead h1 span{color:#CFE9DA}
.ges-pagehead__desc{margin:10px 0 0;color:#D4DFD9;max-width:60ch}
.ges-pagehead--post .ges-meta{margin-top:14px;color:#D4DFD9}
.ges-pagehead .ges-tag{margin-bottom:12px}
.ges-content-wrap{padding:clamp(32px,5vw,64px) 0}
.ges-article{max-width:780px;margin-inline:auto}
.ges-article__img{margin:0 0 28px;border-radius:var(--r-l);overflow:hidden}
.ges-article__img img{display:block;width:100%}
.ges-prose{font-size:1.08rem;line-height:1.85}
.ges-prose>*+*{margin-top:1.1em}
.ges-prose h2,.ges-prose h3{margin-top:1.6em}
.ges-prose img{border-radius:var(--r-m)}
.ges-prose blockquote{margin-inline:0;padding:6px 22px;border-inline-start:4px solid var(--p);color:var(--muted)}
.ges-prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.ges-prose th,.ges-prose td{padding:10px 14px;border:1px solid var(--border);text-align:start}
.ges-prose th{background:var(--surface-2)}
.ges-prose pre{overflow:auto;padding:16px;border-radius:var(--r-m);background:var(--surface-2)}
.ges-article__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:32px;padding-top:20px;border-top:1px solid var(--border)}
.ges-tags{display:flex;flex-wrap:wrap;gap:8px}
.ges-tags a{padding:.2em .8em;border-radius:999px;background:var(--surface-2);color:var(--text);text-decoration:none;font-size:.85rem}
.ges-author{display:flex;gap:16px;align-items:center;margin-top:28px;padding:20px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface)}
.ges-author img{border-radius:50%}
.ges-author p{margin:2px 0 0;color:var(--muted)}
.ges-related{margin-top:56px}
.ges-viewbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:18px}
.ges-viewbar__label{color:var(--muted);font-size:.9rem}
.ges-iconbtn[aria-pressed="true"]{background:var(--p);color:var(--on-p);border-color:var(--p)}
.ges-empty,.ges-404{text-align:center;max-width:560px;margin-inline:auto;padding-block:clamp(40px,8vw,96px);display:grid;justify-items:center;gap:6px}
.ges-empty .ges-searchform,.ges-404 .ges-searchform{width:100%;margin:14px 0}
.navigation.pagination{margin-top:40px}
.nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.page-numbers{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);text-decoration:none;font-weight:600}
.page-numbers.current,.page-numbers:hover{background:var(--p);color:var(--on-p);border-color:var(--p)}
.ges-comments{max-width:780px;margin:56px auto 0}
.ges-comments__list,.ges-comments__list .children{display:grid;gap:18px}
.ges-comments__list .children{margin:18px 0 0;padding-inline-start:clamp(14px,4vw,40px)}
.comment-body{padding:18px 20px;border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface)}
.comment-author{display:flex;align-items:center;gap:12px}
.comment-author img{border-radius:50%}
.comment-metadata{font-size:.85rem}
.comment-metadata a{color:var(--muted)}
.comment-form{display:grid;gap:14px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;min-height:44px;padding:.6em .9em;border-radius:var(--r-s);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}
.comment-form label{display:block;font-weight:600;margin-bottom:4px}
.comment-form-cookies-consent{display:flex;gap:10px;align-items:center}
.wp-caption,figure{max-width:100%}
.wp-caption-text,figcaption{font-size:.9rem;color:var(--muted)}
.alignwide{max-width:min(1100px,100%);margin-inline:auto}
.alignleft{float:left;margin:0 1.4em 1em 0}.alignright{float:right;margin:0 0 1em 1.4em}.aligncenter{display:block;margin-inline:auto}
[dir="rtl"] .alignleft{float:right;margin:0 0 1em 1.4em}[dir="rtl"] .alignright{float:left;margin:0 1.4em 1em 0}

/* 11. Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .ges-slide{transform:none}
}
@media print{.ges-topbar,.ges-header,.ges-footer,.ges-hero,.ges-strip{display:none}}

/* 20. Phase 1 additions ---------------------------------------------------- */
/* Top bar: colour theme and dark/light controls */
.ges-topbar .ges-iconbtn{width:36px;height:36px;background:transparent;border-color:rgba(255,255,255,.22);color:#F2F6F4}
.ges-topbar .ges-iconbtn:hover,.ges-topbar .ges-iconbtn[aria-expanded="true"]{background:rgba(255,255,255,.12);border-color:#fff;color:#fff}
.ges-topbar .ges-dd__panel--color{min-width:260px}
.ges-topbar__tools{flex-wrap:wrap;justify-content:flex-end}
.ges-topbar__sep{width:1px;height:20px;background:rgba(255,255,255,.2);margin-inline:4px}
@media (max-width:640px){.ges-topbar__sep{display:none}.ges-topbar__in{padding-block:4px}}
/* Live channels: third card */
.ges-channel--more{flex-direction:column;justify-content:center;text-align:center;gap:10px;border:2px dashed color-mix(in srgb,var(--p) 55%,var(--border));background:color-mix(in srgb,var(--p) 6%,var(--surface))}
.ges-channel--more b{font-size:1.1rem}
.ges-channel--more:hover{border-style:solid}
/* Hadith images (section 1) */
.ges-himgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,260px));justify-content:center;gap:var(--gap)}
.ges-himg{display:grid;gap:10px}
.ges-himg__frame{position:relative;display:block;aspect-ratio:2/3;border-radius:var(--r-m);overflow:hidden;box-shadow:var(--shadow-m);background:var(--surface-2) var(--img) center/cover no-repeat;isolation:isolate}
.ges-himg__frame::before{content:"";position:absolute;inset:0;background:inherit;filter:blur(20px) saturate(1.2);transform:scale(1.2);z-index:-1}
.ges-himg__frame img{display:block;width:100%;height:100%;object-fit:contain}
.ges-himg__cap{margin:0;text-align:center;font-weight:600;font-size:.92rem;color:var(--muted)}
/* Daily Hadith (section 2) */
.ges-daily{display:grid;grid-template-columns:1fr minmax(0,460px);gap:clamp(28px,5vw,72px);align-items:center}
.ges-daily .ges-hadith__card{aspect-ratio:auto;min-height:320px}
.ges-hadith__card--empty{border:2px dashed rgba(255,255,255,.3);align-content:center}
.ges-daily__actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
@media (max-width:860px){.ges-daily{grid-template-columns:1fr}}
/* Elementor pages: let Elementor control the width */
.ges-elementor{width:100%}
.ges-elementor .elementor-widget-container .ges-section{width:100%}
body.elementor-page .ges-main{padding:0}
