/* Ikhlas website — main stylesheet */
/* Mehr Nastaliq Web 2.0 — Mehr Type with CSaLT, ITU Lahore. Licence: CC BY-SA 4.0 */
@font-face{font-family:"Amiri Quran";src:url("../fonts/amiri-quran.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Cinzel";src:url("../fonts/cinzel-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Aref Ruqaa";src:url("../fonts/aref-ruqaa-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Mehr Nastaliq";src:url("../fonts/mehr-nastaliq-web.woff") format("woff");font-display:swap;ascent-override:107.42%;descent-override:63.48%;line-gap-override:8.35%}
:root{
  /* Layout idea: Banuri's portal order (date bar, feature blocks, dated lists, sitemap footer) dressed in LovelyPDF's turquoise cards. */
  --bg:#EEF5F6;
  --paper:#FFFFFF;
  --card:#F9FCFC;
  --ink:#2B2421;
  --ink-soft:#5E5752;
  --line:#DCE6E7;
  --teal:#17A0A8;
  --teal-bright:#2DB8C0;
  --teal-dark:#0C8790;
  --teal-soft:#E3F3F4;
  --gold:#B07D1A;
  --gold-soft:#FBF3E2;
  --radius:14px; --radius-sm:10px;
  --shadow:0 1px 2px rgba(17,48,51,.06),0 4px 14px rgba(17,48,51,.06);
  --shadow-hover:0 2px 4px rgba(17,48,51,.08),0 10px 24px rgba(17,48,51,.10);
  --font:"Mehr Nastaliq","Segoe UI",Tahoma,Arial,sans-serif;
  --quran:"Amiri Quran","Traditional Arabic",serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:19px;line-height:1.95;padding-bottom:90px}
a{color:inherit}
h1,h2,h3,h4{margin:0;line-height:1.7;font-weight:700;text-wrap:balance}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
.wrap{max-width:1200px;margin-inline:auto;padding-inline:20px}
.ltr{direction:ltr;unicode-bidi:isolate}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:6px}
.skip{position:absolute;inset-inline-start:-9999px}.skip:focus{inset-inline-start:12px;top:8px;background:var(--paper);padding:4px 12px;z-index:60}
.verify-on .verify{text-decoration:underline dotted var(--gold);text-decoration-thickness:2px;text-underline-offset:9px}

/* ---------- Top bar ---------- */
:root{--gold-1:#F5DC93;--gold-2:#E2B94F;--gold-3:#C99A2E;--band:#086369;--ink-teal:#0B464A;
  --pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23E7C46A' stroke-opacity='.13' stroke-width='1'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 0l16 16M56 0 40 16M0 56l16-16M56 56 40 40'/%3E%3C/g%3E%3C/svg%3E");
  --cut:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);--cut-in:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px);}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.topbar{background-color:var(--band);background-image:var(--pattern);background-size:56px 56px;color:#fff}
.topbar .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:72px;gap:24px}
.tb-date,.tb-links{display:flex;align-items:center;gap:14px;font-size:16px;line-height:1.4;white-space:nowrap}
.tb-date{justify-self:start}.tb-links{justify-self:end}
.tb-date i,.tb-links i{display:block;width:2px;height:22px;border-radius:2px;background:rgba(245,220,147,.8)}
.tb-date .hj{color:var(--gold-1)}
.tb-date .num{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px;font-weight:600;letter-spacing:.02em}
.tb-links a{color:#fff;text-decoration:none;opacity:.92;transition:color .15s,opacity .15s}
.tb-links a:hover{color:var(--gold-1);opacity:1}
.tb-bism{font-family:"Aref Ruqaa",serif;font-weight:400;font-size:27px;line-height:1.6;color:var(--gold-1);white-space:nowrap;padding-bottom:4px}
@media (max-width:1100px){.tb-links{display:none}.topbar .wrap{grid-template-columns:1fr auto}}
@media (max-width:760px){.topbar .wrap{grid-template-columns:1fr;height:auto;padding-block:10px 6px;gap:2px;justify-items:center}.tb-date{justify-self:center;font-size:14px;gap:10px}.tb-date .num{font-size:13px}.tb-bism{font-size:21px}}

/* ---------- Header: logo · long search · new members + language ---------- */
.top{background:var(--paper)}
.hdr1{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding-block:14px}
.brand{display:block;text-decoration:none;line-height:0}
.logo-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:156px;height:104px;border-radius:12px;background-color:#096C74;background-image:var(--pattern);background-size:56px 56px;box-shadow:inset 0 0 0 1px rgba(226,185,79,.45),var(--shadow)}
.logo-tile img{display:block;width:124px;height:70px}
.logo-tile .en,.fbrand .en{font-family:"Cinzel",Georgia,serif;font-weight:600;font-size:13px;letter-spacing:.42em;margin-inline-end:-.42em;line-height:1;color:var(--gold-1);direction:ltr}
.fbrand{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.fbrand img{display:block;width:124px;height:70px}

.bigsearch{display:flex;align-items:stretch;height:48px;max-width:none;width:100%;border:1.5px solid var(--teal);border-radius:999px;background:#fff;overflow:hidden;box-shadow:0 2px 0 rgba(11,177,188,.12),var(--shadow);transition:box-shadow .15s}
.bigsearch:focus-within{box-shadow:0 0 0 3px rgba(16,208,222,.18),var(--shadow-hover)}
.bigsearch select{flex:none;border:0;border-inline-end:1px solid var(--line);background:var(--teal-soft);color:var(--ink-teal);font-size:16px;font-weight:700;padding:0 14px 0 10px;cursor:pointer}
.bigsearch select:focus{outline:none;background:#D3ECEE}
.bigsearch input{flex:1;min-width:0;border:0;padding:6px 16px 0;font-size:17px;background:transparent;color:var(--ink)}
.bigsearch input:focus{outline:none}
.bigsearch input::placeholder{color:#8A969E}
.bigsearch button{flex:none;display:flex;align-items:center;gap:8px;border:0;background:var(--teal-dark);color:#fff;font-size:17px;font-weight:700;padding:4px 24px 0;transition:background .15s}
.bigsearch button:hover{background:var(--teal)}
.bigsearch button svg{width:18px;height:18px;margin-top:-4px}

.hdr-actions{display:flex;align-items:center;gap:14px}
.newbtn{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 24px;border-radius:12px;background:var(--gold);color:#fff;text-decoration:none;box-shadow:0 2px 0 #7E570D;transition:background .15s,transform .12s,box-shadow .12s}
.newbtn:active{transform:translateY(1px);box-shadow:0 1px 0 #7E570D}
.newbtn:hover{background:#9A6C13}
.newbtn svg{width:22px;height:22px;flex:none}
.newbtn span{display:flex;flex-direction:column;align-items:center;line-height:1.25}
.newbtn b{font-size:17px}
.newbtn small{font-size:12px;opacity:.95}
.langtog{display:flex;height:44px;border:1.5px solid var(--teal);border-radius:10px;overflow:hidden;background:#fff}
.langtog a{display:flex;align-items:center;justify-content:center;min-width:72px;padding:0 12px;text-decoration:none;color:var(--ink-teal);font-size:16px;font-weight:700;transition:background .15s,color .15s}
.langtog a[lang="en"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px}
.langtog a + a{border-inline-start:1.5px solid var(--teal)}
.langtog a:hover{background:var(--teal-soft)}
.langtog a.on{background:var(--teal-dark);color:#fff}

/* ---------- Menu row: equal 3D tabs in the search-box style ---------- */
.navrow{position:sticky;top:0;z-index:20;background:#EEF5F6;border-block:1px solid #DCE8E9}
.navrow .wrap{padding-block:14px}
.nav{display:flex;gap:10px}
.nav a.tab{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;height:52px;padding-top:3px;border:1px solid #DDE7E8;border-radius:999px;background:#fff;
  color:#2F3B39;font-size:17px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.nav a.tab:hover{border-color:var(--teal);color:var(--teal-dark)}
.nav a.tab[aria-current="page"]{background:#0C8790;border-color:#0C8790;color:#fff}
.nav a.tab:focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px}

@media (max-width:1180px){.nav a.tab{font-size:15px}.hdr1{gap:18px}.newbtn{padding:0 14px}}
@media (max-width:1060px){
  .hdr1{grid-template-columns:auto auto 1fr;row-gap:14px}
  .langtog{justify-self:end}
  .bigsearch{grid-column:1 / -1;grid-row:2;max-width:none}
  .nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 6px}
  .nav a.tab{flex:0 0 150px}
}
@media (max-width:560px){
  .logo-tile{width:122px;height:84px}.logo-tile img{width:100px;height:56px}.logo-tile .en{font-size:11px}
  .newbtn{height:48px;padding:0 12px}.newbtn svg{display:none}.newbtn b{font-size:16px}.newbtn small{font-size:11px}
  .hdr1{grid-template-columns:auto 1fr}.newbtn{justify-self:start}.langtog{grid-column:1 / -1;height:38px;justify-self:stretch}.langtog a{min-width:0;flex:1}
  .bigsearch{height:50px}.bigsearch select{font-size:14px;padding:0 8px}.bigsearch button span{display:none}.bigsearch button{padding:0 16px}
}

/* ---------- Section frame ---------- */
section{padding-block:36px}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 24px}
.head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.head h2{font-size:26px;color:var(--teal-dark);display:flex;align-items:center;gap:10px}
.head h2::before{content:"";width:6px;height:26px;border-radius:3px;background:var(--teal)}
.more{font-size:15px;color:var(--teal-dark);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:0 14px;transition:border-color .15s,background .15s;white-space:nowrap}
.more:hover{border-color:var(--teal);background:var(--teal-soft)}

/* ---------- LovelyPDF tool-card ---------- */
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:900px){.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.grid3{grid-template-columns:1fr}}
.card{display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);box-shadow:0 1px 3px rgba(17,48,51,.05);text-decoration:none;text-align:start;transition:transform .15s,box-shadow .15s,border-color .15s,background .15s}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover);border-color:var(--teal);background:var(--paper)}
.card:focus-visible{border-color:var(--teal);outline:none;box-shadow:0 0 0 1px var(--teal);background:var(--paper)}
.card .ic{--c:var(--teal);flex:0 0 46px;width:46px;height:46px;border-radius:var(--radius-sm);display:grid;place-items:center;background:color-mix(in srgb,var(--c) 15%,#fff);color:var(--c)}
.card .ic svg{width:21px;height:21px}
.card .tx{display:flex;flex-direction:column;min-width:0}
.card .tt{font-size:19px;font-weight:700;line-height:1.7}
.card .bl{font-size:15px;color:var(--ink-soft);line-height:1.7}
.card.king{border:2px solid var(--gold);background:var(--gold-soft);position:relative}
.card.king:hover{border-color:var(--gold);background:#F7E9C8}
.card.king .ic{--c:var(--gold)}
.tag{position:absolute;top:-12px;inset-inline-start:16px;background:var(--gold);color:#fff;font-size:13px;line-height:1.8;padding:0 10px;border-radius:999px}

/* ---------- Chips ---------- */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:0 14px;line-height:2.2;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:15px;color:var(--ink-soft);transition:border-color .15s,background .15s,color .15s}
.chip:hover{border-color:var(--teal)}
.chip[aria-pressed="true"]{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}
.pill{display:inline-block;font-size:13px;line-height:1.9;padding:0 10px;border-radius:999px;background:var(--teal-soft);color:var(--teal-dark);white-space:nowrap}

/* ---------- Hero: full-width turquoise banner ---------- */
.hero{padding-block:22px 6px}
.hero-band{position:relative;overflow:hidden;display:block;text-align:center;padding:40px 32px 34px;border-radius:var(--radius);background-color:#0C8790;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28C26 6 54 6 80 28S134 50 160 28'/%3E%3Cpath d='M0 28C26 50 54 50 80 28S134 6 160 28'/%3E%3C/g%3E%3C/svg%3E");background-size:160px 56px;color:#fff;box-shadow:var(--shadow)}
.hero-band::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.14),transparent 65%)}
.hero-band > *{position:relative}
.hero-band .ar{font-family:"Aref Ruqaa",serif;font-weight:400;font-size:44px;line-height:1.9;color:var(--gold-1);white-space:nowrap}
.hero-band .ar span{display:inline!important}.hero-band .ar .gap{display:inline!important}
.hero-div{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px auto 10px;width:min(320px,70%)}
.hero-div::before,.hero-div::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(245,220,147,.75),transparent)}
.hero-div i{width:8px;height:8px;background:var(--gold-2);transform:rotate(45deg)}
.hero-text{position:relative;z-index:1}
@media (max-width:900px){.hero-band{grid-template-columns:1fr;padding:0 0 24px;min-height:0}
  .hero-photo{position:relative;inset:auto;width:100%;height:240px;order:-1;background-size:260% auto,260% auto;background-position:76% 88%,76% 88%;
    -webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent);mask-image:linear-gradient(to bottom,#000 70%,transparent)}
  .hero-text{padding:0 20px}}
.hero-band .tr{font-size:22px;line-height:2;color:#EAF5F6;margin:0 auto;white-space:nowrap}
.hero-band cite{display:inline-flex;align-items:center;gap:12px;margin-top:12px;font-style:normal;font-size:18px;line-height:1;color:var(--gold-1)}
.hero-band cite .br{font-family:"Amiri Quran",serif;font-size:26px;line-height:1;color:var(--gold-2);transform:translateY(-7px)}
.hero-band cite .ref{padding-top:8px}
.hero-band .ar span{white-space:nowrap}
@media (max-width:760px){.hero-band .tr{white-space:normal}}
.dummy{}@media (max-width:560px){.hero-band .ar{font-size:22px}.hero-band .tr{font-size:19px}}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:6px}
.btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:16px;line-height:2.1;padding:0 16px;border-radius:var(--radius-sm);border:1px solid var(--line);background:#fff;transition:border-color .15s,background .15s,color .15s}
.btn:hover{border-color:var(--teal);color:var(--teal-dark);background:var(--teal-soft)}
.btn.solid{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}
.btn.solid:hover{background:var(--teal)}
.btn svg{width:15px;height:15px}

/* ---------- Dated lists (Banuri) ---------- */
.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media (max-width:900px){.two{grid-template-columns:1fr}}
.dl{list-style:none;margin:0;padding:0}
.dl li{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:9px 10px;border-radius:var(--radius-sm);border:1px solid transparent;transition:border-color .15s,background .15s}
.dl li+li{margin-top:4px}
.dl li:hover{border-color:var(--teal);background:var(--card)}
.dl .no{font-size:13px;color:var(--teal-dark);background:var(--teal-soft);border-radius:8px;padding:0 8px;line-height:2;white-space:nowrap;min-width:64px;text-align:center}
.dl a.t{text-decoration:none;font-size:18px;line-height:1.9}
.dl a.t:hover{color:var(--teal-dark)}
.dl .dt{font-size:13px;color:var(--ink-soft);white-space:nowrap}
.play{width:40px;height:40px;border-radius:50%;border:1px solid var(--teal);background:#fff;color:var(--teal-dark);display:grid;place-items:center;flex:none;transition:background .15s,color .15s}
.play:hover{background:var(--teal-dark);color:#fff;border-color:var(--teal-dark)}
.play svg{width:14px;height:14px}
.play.big{width:60px;height:60px;background:var(--teal-dark);color:#fff}
.play.big:hover{background:var(--teal)}
.play.big svg{width:20px;height:20px}

/* ---------- Books ---------- */
.books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
@media (max-width:900px){.books{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.books{grid-template-columns:repeat(2,minmax(0,1fr))}}
.book{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);padding:10px;display:flex;flex-direction:column;gap:8px;transition:transform .15s,box-shadow .15s,border-color .15s,background .15s}
.book:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover);border-color:var(--teal);background:#fff}
.cover{aspect-ratio:5/7;border-radius:8px;background:var(--teal-dark);color:#fff;display:grid;place-items:center;text-align:center;padding:18px 12px;position:relative}
.cover::before{content:"";position:absolute;inset:7px;border:1px solid rgba(255,255,255,.45);border-radius:4px}
.cover svg{position:absolute;top:18px;inset-inline:0;margin-inline:auto;width:24px;height:24px;color:#9FDEE3}
.cover .t{font-size:19px;font-weight:700;line-height:1.8}
.book .acts{display:flex;justify-content:space-between;font-size:15px}
.book .acts a{color:var(--teal-dark);text-decoration:none}.book .acts a:hover{text-decoration:underline}

/* ---------- Welfare ---------- */
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.fact{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);padding:10px 14px;text-align:center}
.fact .v{font-size:28px;color:var(--teal-dark);line-height:1.5}
.fact .k{font-size:14px;color:var(--ink-soft)}
.ledger{width:100%;border-collapse:collapse;font-size:16px}
.ledger td{padding:9px 4px;border-bottom:1px solid var(--line)}
.ledger tr:last-child td{border-bottom:0}
.ledger td:last-child{text-align:left}
.st{display:inline-block;font-size:13px;line-height:1.9;padding:0 10px;border-radius:999px;background:var(--gold-soft);color:var(--gold);border:1px solid #EAD9B1}
.wl{margin:8px 0 0;padding-inline-start:20px;font-size:17px}

/* ---------- Q&A page (Banuri readquestion) ---------- */
.crumbs{font-size:15px;color:var(--ink-soft);padding-top:20px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.crumbs a{color:var(--teal-dark);text-decoration:none}
.qhead{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.qpage{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;padding-block:16px 40px}
@media (max-width:900px){.qpage{grid-template-columns:1fr}}
.qpage h1{font-size:30px;color:var(--ink);line-height:1.8}
.qblock{margin-top:18px}
.qblock h2{font-size:20px;color:#fff;background:var(--teal-dark);display:inline-block;border-radius:8px;padding:0 14px;line-height:2}
.qblock .body{margin-top:10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);padding:14px 18px;font-size:19px}
.placeholder{color:var(--ink-soft);font-size:17px}
.sign{margin-top:14px;font-size:16px;color:var(--ink-soft)}
.fno{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:16px}
.fno b{color:var(--teal-dark)}
.side{display:flex;flex-direction:column;gap:20px}
.side h3{font-size:20px;color:var(--teal-dark);margin-bottom:6px}
.field{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.field label{font-size:14px;color:var(--ink-soft)}
.field select,.field input{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;padding:2px 10px;line-height:2;font-size:16px}
.field select:focus,.field input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}

/* ---------- Lecture page ---------- */
.lpage{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;padding-block:16px 40px}
@media (max-width:900px){.lpage{grid-template-columns:1fr}}
.lpage h1{font-size:34px;line-height:1.8}
.lmeta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:16px;color:var(--ink-soft)}
.pcard{display:flex;gap:16px;align-items:center;margin-top:16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);padding:14px 18px}
.pcard .bar{flex:1;height:5px;border-radius:5px;background:var(--line);position:relative;overflow:hidden}
.pcard .bar i{position:absolute;inset-block:0;inset-inline-start:0;width:0;background:var(--teal)}
.pcard .time{font-size:14px;color:var(--ink-soft);direction:ltr}
.perma{font-size:14px;color:var(--ink-soft);margin-top:10px}
.slist{list-style:none;margin:0;padding:0}
.slist li a{display:block;text-decoration:none;padding:6px 10px;border-radius:8px;border:1px solid transparent;transition:border-color .15s,background .15s;line-height:1.85}
.slist li a:hover{border-color:var(--teal);background:var(--card)}
.slist li a small{display:block;font-size:13px;color:var(--ink-soft);line-height:1.6}
.slist li[aria-current="true"] a{background:var(--teal-soft);color:var(--teal-dark);font-weight:700}
.pn{display:flex;justify-content:space-between;gap:12px;margin-top:18px}
.pn a{max-width:48%}

/* ---------- Library + Q&A list ---------- */
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.filters input{flex:1;min-width:220px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;padding:2px 12px;line-height:2.1;font-size:16px}
.filters input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}
.count{font-size:14px;color:var(--ink-soft);margin-bottom:6px}
.empty{border:1px dashed var(--line);border-radius:var(--radius-sm);padding:12px 16px;color:var(--ink-soft);font-size:16px;list-style:none}

/* ---------- Planned ---------- */
.ph{max-width:760px;margin:36px auto}
.ph h1{font-size:32px;color:var(--teal-dark)}
.ph ul{font-size:18px}

/* ---------- Footer (LovelyPDF style) ---------- */
.site-foot{background:#fff;border-top:1px solid var(--line);margin-top:32px;padding-block:30px 22px;text-align:center;color:var(--ink-soft)}
.f-brand{display:flex;justify-content:center}
.f-brand .logo-tile{width:140px;height:94px;text-decoration:none}
.f-brand .logo-tile img{width:112px;height:63px}
.f-rule{display:flex;align-items:center;gap:16px;margin:4px 0 14px;color:var(--teal-dark);font-size:16px;font-weight:700}
.f-rule::before,.f-rule::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--line))}
.f-rule::after{background:linear-gradient(90deg,var(--line),transparent)}
.f-rule span{display:flex;align-items:center;gap:10px;height:30px}.f-rule b{font-weight:700;font-size:18px;line-height:1;padding-top:0}
.f-rule svg{flex:none;width:19px;height:19px;display:block}
.f-langs{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.f-langs a{display:flex;align-items:center;justify-content:center;gap:10px;width:150px;height:54px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:#3F4A48;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:18px;font-weight:700;text-decoration:none;transition:border-color .15s,background .15s,color .15s}
.f-langs a:hover{border-color:var(--teal)}
.f-langs a.on{background:var(--teal);border-color:var(--teal);color:#fff}
.f-langs .flag{width:26px;height:26px;flex:none;border-radius:50%;box-shadow:0 0 0 1.5px rgba(255,255,255,.9)}
.f-line{height:1px;margin:24px 0 18px;background:linear-gradient(90deg,transparent,var(--teal) 50%,transparent);opacity:.45}
.f-links{display:flex;justify-content:center;flex-wrap:wrap;row-gap:8px;font-size:17px}
.f-links > *{padding:0 16px;line-height:1.6}
.f-links > * + *{border-inline-start:2px solid rgba(11,177,188,.35)}
.f-links a{color:#3F4A48;text-decoration:none;transition:color .15s}
.f-links a:hover{color:var(--teal-dark);text-decoration:underline;text-underline-offset:7px}
.f-links.sub{margin-top:10px;font-size:15px}
.f-links.sub span{color:var(--ink-soft)}
.f-contact{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 14px;margin-top:14px;font-size:15px}
.f-contact i{display:block;width:2px;height:18px;border-radius:2px;background:rgba(11,177,188,.35)}
.f-contact a{color:var(--teal-dark);text-decoration:none}
.f-copy{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:16px;color:#5E6B69}
.f-fonts{display:inline-flex;align-items:center;gap:8px;height:36px;padding:2px 14px 0;border:1px solid var(--teal);border-radius:10px;color:var(--teal-dark);text-decoration:none;font-size:15px;transition:background .15s}
.f-fonts:hover{background:var(--teal-soft)}
.f-fonts svg{width:15px;height:15px;margin-top:-3px}

/* ---------- Player, search, review, toast ---------- */
.player{position:fixed;inset-inline:0;bottom:0;z-index:30;background:var(--paper);border-top:2px solid var(--teal);box-shadow:0 -4px 14px rgba(17,48,51,.08);transform:translateY(110%);visibility:hidden;transition:transform .2s,visibility .2s}
.player.on{transform:none;visibility:visible}
.player .wrap{display:flex;gap:14px;align-items:center;min-height:72px}
.player .info{flex:1;min-width:0}
.player .info b{display:block;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.9}
.player .info span{font-size:13px;color:var(--ink-soft)}
.player .msg{font-size:14px;color:var(--gold);max-width:360px;line-height:1.8}
.player .msg a{color:var(--teal-dark)}
.player .x{border:1px solid var(--line);background:#fff;border-radius:var(--radius-sm);font-size:14px;padding:0 10px}
@media (max-width:640px){.player .msg{display:none}}
.overlay{position:fixed;inset:0;background:rgba(16,48,51,.45);z-index:40;display:none;padding:9vh 16px 16px}
.overlay.on{display:block}
.sbox{max-width:680px;margin-inline:auto;background:#fff;border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow-hover);overflow:hidden}
.sbox input{width:100%;border:0;border-bottom:1px solid var(--line);padding:8px 20px;font-size:20px;line-height:2.1;background:transparent}
.sbox input:focus{outline:none}
.results{max-height:60vh;overflow:auto;padding:6px 8px}
.results h5{font-size:14px;color:var(--gold);margin:8px 12px 2px;font-weight:700}
.results a{display:block;padding:4px 12px;border-radius:8px;text-decoration:none;font-size:17px;line-height:1.9;border:1px solid transparent}
.results a:hover,.results a:focus{border-color:var(--teal);background:var(--card);outline:none}
.results .none{padding:12px 16px;color:var(--ink-soft)}
.sbox .foot{border-top:1px solid var(--line);padding:4px 20px;font-size:13px;color:var(--ink-soft);display:flex;justify-content:space-between}
.review{position:fixed;inset-inline-end:16px;bottom:16px;z-index:35;background:#fff;border:1px solid var(--line);border-radius:999px;padding:0 14px;font-size:14px;line-height:2.2;display:flex;gap:8px;align-items:center;box-shadow:var(--shadow)}
.player.on ~ .review{bottom:88px}
.review i{width:10px;height:10px;border-radius:50%;background:var(--gold)}
.toast{position:fixed;top:130px;inset-inline:0;margin-inline:auto;width:max-content;max-width:90vw;background:var(--ink);color:#fff;font-size:15px;padding:2px 16px;border-radius:var(--radius-sm);z-index:45;display:none}
.toast.on{display:block}

/* search overlay scope chips */
.schips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px;border-bottom:1px solid var(--line)}
.schips button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:2px 12px 0;line-height:2;font-size:14px;color:var(--ink-teal);transition:border-color .15s,background .15s}
.schips button:hover{border-color:var(--teal)}
.schips button[aria-pressed="true"]{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}

/* ---------- News ticker (muftitaqiusmani.com style) ---------- */
.ticker{display:flex;align-items:stretch;height:56px;margin-top:16px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:var(--shadow)}
.tk-view{flex:1;overflow:hidden;display:flex;align-items:center;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.tk-track{display:flex;width:max-content;animation:tk-move 70s linear infinite}
.ticker:hover .tk-track,.ticker:focus-within .tk-track{animation-play-state:paused}
.tk-run{display:flex;align-items:center;flex:none}
.tk-run a{flex:none;display:flex;align-items:center;height:56px;padding:0 24px 7px;font-size:18px;color:var(--ink);text-decoration:none;white-space:nowrap;line-height:1}
.tk-run a:hover{color:var(--teal-dark);text-decoration:underline;text-underline-offset:7px}
.tk-run i{flex:none;width:2px;height:22px;border-radius:2px;background:rgba(11,177,188,.5)}
@keyframes tk-move{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media (prefers-reduced-motion: reduce){.tk-track{animation-duration:110s}}
@media (max-width:560px){.ticker{height:50px}.tk-run a{height:50px;font-size:16px}}

/* ---------- Daily Tasawwuf verse ---------- */
.daily{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
@media (max-width:900px){.daily{grid-template-columns:1fr}}
.poem{position:relative;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:20px 28px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.poem::before{content:"";position:absolute;inset:6px;border:1px solid rgba(201,154,46,.35);border-radius:10px;pointer-events:none}
.poem-h{display:flex;justify-content:center;align-items:baseline;gap:10px}
.poem-h span{font-size:21px;font-weight:700;color:var(--teal-dark)}
.poem-h small{font-size:13px;color:var(--gold);border:1px solid rgba(201,154,46,.5);border-radius:999px;padding:0 9px}
.poem-b{margin-top:4px}
.poem-b p{font-size:24px;line-height:1.9;color:var(--ink)}
.poem-ur{margin-top:6px;font-size:16px;line-height:1.9;color:var(--ink-soft)}
.poem-en{margin-top:2px;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.6;font-style:italic;color:#6B7775}
.poem-p{margin-top:6px;font-size:14px;color:var(--teal-dark)}
.poem-p::before{content:"— "}
@media (max-width:560px){.poem{padding:18px 16px 14px}.poem-b p{font-size:20px}}
.quote-q{margin-top:8px;font-size:24px;line-height:1.9;color:var(--ink)}

/* ---------- Language switch (sliding) ---------- */
.lswitch{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;width:184px;height:48px;padding:4px;border:1.5px solid var(--teal);border-radius:999px;background:#fff;cursor:pointer}
.lswitch span{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;color:#2F3B39;transition:color .25s}
.lswitch .ls-ur{font-size:21px;font-weight:700;line-height:1;padding-top:7px}
.lswitch .ls-en{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14.5px;font-weight:600;letter-spacing:.2px}
.ls-knob{position:absolute;top:4px;bottom:4px;inset-inline-start:4px;width:calc(50% - 4px);border-radius:999px;background:#0C8790;transition:transform .28s cubic-bezier(.4,.1,.2,1)}
.lswitch:hover{background:#F4FAFA}
.lswitch[aria-checked="false"] .ls-ur,.lswitch[aria-checked="true"] .ls-en{color:#fff}
.lswitch[aria-checked="true"] .ls-knob{transform:translateX(-100%)}
.lswitch:focus-visible{outline:2px solid var(--teal-bright);outline-offset:3px}
@media (max-width:560px){.lswitch{grid-column:1 / -1;width:100%}}

/* ---------- Square framed logo ---------- */
.logo-sq{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:104px;height:104px;background:#fff;border:1.5px solid var(--teal);border-radius:16px;text-decoration:none;color:#096C74;box-shadow:0 1px 2px rgba(17,48,51,.06)}
.logo-sq::before{content:"";position:absolute;inset:5px;border:1px solid rgba(12,135,144,.45);border-radius:11px;pointer-events:none}
.logo-sq .lq-ur{font-family:"Mehr Nastaliq",serif;font-size:33px;line-height:1;margin-top:-6px;color:#096C74}
.logo-sq .lq-rule{display:block;width:44px;height:1px;margin:6px 0 7px;background:rgba(12,135,144,.5);position:relative}
.logo-sq .lq-rule::after{content:"";position:absolute;left:50%;top:50%;width:5px;height:5px;background:#0C8790;transform:translate(-50%,-50%) rotate(45deg)}
.logo-sq .lq-en{font-family:"Cinzel",serif;font-weight:600;font-size:15px;letter-spacing:2.5px;line-height:1;margin-left:2.5px;color:#096C74}
.logo-sq.lg{width:120px;height:120px}
.logo-sq.lg .lq-ur{font-size:38px}.logo-sq.lg .lq-rule{width:52px}.logo-sq.lg .lq-en{font-size:17px;letter-spacing:3px}
@media (max-width:560px){.logo-sq{width:84px;height:84px}.logo-sq .lq-ur{font-size:27px}.logo-sq .lq-rule{width:36px;margin:4px 0 5px}.logo-sq .lq-en{font-size:12px;letter-spacing:2px}}

/* ---------- Contact section ---------- */
.contact{padding-block:40px 8px}
.ct-card{display:grid;grid-template-columns:1.5fr 1fr;border-radius:18px;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 2px 4px rgba(17,48,51,.05),0 18px 40px rgba(17,48,51,.10)}
@media (max-width:900px){.ct-card{grid-template-columns:1fr}}
.ct-form{padding:34px 36px 30px}
.ct-form h2{font-size:30px;color:var(--teal-dark);display:flex;align-items:center;gap:12px}
.ct-form h2::before{content:"";width:6px;height:30px;border-radius:3px;background:var(--teal)}
.ct-sub{margin-top:2px;font-size:16px;color:var(--ink-soft)}
#ctform{margin-top:18px;display:grid;gap:14px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){.row2{grid-template-columns:1fr}.ct-form{padding:26px 20px}}
.fld{display:flex;flex-direction:column;gap:4px}
.fld label{font-size:15px;font-weight:700;color:var(--ink-teal)}
.fld input,.fld textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;background:#FAFDFD;padding:6px 14px 2px;font-size:17px;line-height:2;color:var(--ink);transition:border-color .15s,box-shadow .15s,background .15s}
.fld input[dir="ltr"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:16px;padding:10px 14px;line-height:1.5;text-align:right}
.fld textarea{resize:vertical;min-height:130px}
.fld input:focus,.fld textarea:focus{outline:none;border-color:var(--teal);background:#fff;box-shadow:0 0 0 4px rgba(16,208,222,.15)}
.fld .bad{border-color:#B91C1C;background:#FEF6F6}
.ct-note{border-radius:10px;padding:6px 14px 2px;font-size:15px;line-height:1.9}
.ct-note.err{background:#FEF2F2;color:#B91C1C;border:1px solid #F5C2C2}
.ct-note.ok{background:var(--teal-soft);color:var(--teal-dark);border:1px solid #BFE3E6}
.ct-send{justify-self:start;display:inline-flex;align-items:center;gap:10px;height:52px;padding:4px 34px 0;border:0;border-radius:12px;background:var(--teal-dark);color:#fff;font-size:19px;font-weight:700;
  box-shadow:0 4px 0 #064B50,0 10px 18px rgba(9,108,116,.25);transform:translateY(-2px);transition:background .15s,transform .12s,box-shadow .12s}
.ct-send:hover{background:var(--teal)}
.ct-send:active{transform:translateY(2px);box-shadow:0 0 0 #064B50,0 2px 4px rgba(9,108,116,.25)}
.ct-send svg{width:18px;height:18px;margin-top:-4px;transform:scaleX(-1)}
.ct-info{position:relative;padding:34px 32px;background-color:#096C74;background-image:var(--pattern);background-size:56px 56px;color:#E8F6F7;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.ct-info h3{font-size:26px;color:#fff;margin-top:6px}
.ct-info ul{list-style:none;margin:0;padding:0;display:grid;gap:16px;width:100%}
.ct-info li{display:flex;align-items:center;gap:14px;font-size:18px;line-height:1.9}
.ct-info .ci{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(245,220,147,.55);color:var(--gold-1)}
.ct-info .ci svg{width:20px;height:20px}
.ct-info a{color:#fff;text-decoration:none;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:16px;word-break:normal;overflow-wrap:anywhere}
.ct-info a:hover{color:var(--gold-1);text-decoration:underline;text-underline-offset:5px}
@media (max-width:560px){.ct-info{padding:28px 20px}.ct-info a{font-size:14px}.ct-info li{gap:12px}}

.f-cr{display:contents}.f-copy>.f-cr>span,.f-copy>.f-fonts{order:0}.f-cr .cr-ur{font-size:18px;line-height:1;padding-top:6px;color:#4E5B59}.f-cr .cr-en{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;letter-spacing:.3px;line-height:1}
.f-cr .cr-y{display:inline-block;margin-left:9px}
.f-copy{gap:10px 0}.f-copy .f-sep{width:1px;height:20px;background:#C9D8D9;margin:0 22px}

/* ===== Information pages (About, Privacy, Terms, Security, Contact) ===== */
.info{max-width:880px;margin:36px auto 10px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.in-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:30px 34px;background-color:#0C8790;background-image:var(--pattern);background-size:56px 56px;color:#fff}
.in-head h1{font-size:36px;line-height:1.6;color:#fff;margin:0}
.in-upd{margin:2px 0 0;font-size:15px;color:var(--gold-1)}
.in-lang{display:inline-flex;padding:4px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28)}
.in-lang a{min-width:92px;text-align:center;padding:6px 14px;border-radius:9px;color:#fff;text-decoration:none;font-size:16px;line-height:1.9}
.in-lang a[lang="en"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px;font-weight:600}
.in-lang a[aria-current]{background:#fff;color:var(--teal-dark);box-shadow:0 2px 0 rgba(0,0,0,.15)}
.in-lang a:not([aria-current]):hover{background:rgba(255,255,255,.16)}
.in-body{padding:26px 34px 30px}
.in-intro{font-size:19px;line-height:2.1;color:var(--ink);margin:0 0 8px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.in-sec{padding:18px 0 6px;border-bottom:1px dashed var(--line)}
.in-sec:last-of-type{border-bottom:0}
.in-sec h2{display:flex;align-items:center;gap:12px;font-size:23px;color:var(--teal-dark);margin:0 0 6px}
.in-n{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--teal-soft);border:1px solid #BFE1E3;color:var(--teal-dark);font-size:17px;line-height:1}
.in-sec p,.in-sec li{font-size:18px;line-height:2.1;color:#2E3A38}
.in-sec ul{margin:4px 0 8px;padding-inline-start:46px}
.in-sec p{margin:0 0 8px;padding-inline-start:46px}
.in-sec a,.in-end a{color:var(--teal-dark);font-weight:600}
.in-end{margin:18px 0 0;padding:14px 18px;border-radius:12px;background:var(--teal-soft);font-size:17px;line-height:2}
.in-draft{margin:18px 0 0;font-size:14px;color:var(--ink-soft)}
.info.en{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
.info.en h1,.info.en h2{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-weight:700;letter-spacing:.2px}
.info.en h1{font-size:32px;line-height:1.3}
.info.en h2{font-size:20px}
.info.en .in-intro{font-size:17px;line-height:1.75}
.info.en .in-sec p,.info.en .in-sec li,.info.en .in-end{font-size:16px;line-height:1.75}
.info.en .in-n{font-size:15px}
.info.en .in-upd{font-size:14px;margin-top:6px}
/* contact section in English */
.contact.en,.contact.en input,.contact.en textarea,.contact.en button{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
.contact.en h2,.contact.en h3{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-weight:700}
.contact.en .ct-sub,.contact.en label,.contact.en .ct-info li{font-size:15px;line-height:1.7}
.contact.en .ct-send span{font-size:16px;font-weight:600}
@media (max-width:560px){.in-head{padding:22px 20px}.in-head h1{font-size:28px}.in-body{padding:20px}.in-sec p,.in-sec ul{padding-inline-start:0}.in-sec ul{padding-inline-start:20px}}
@media (max-width:760px){.f-copy{flex-direction:column;gap:12px}.f-copy .f-sep{display:none}}

/* ===== Content pages (books, naat, videos, about, start, welfare, answers) ===== */
.page{margin:24px auto 10px}
.page>.head{flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:6px}
.page h1{font-size:32px;color:var(--teal-dark);margin:0}
.page .chips{display:flex;flex-wrap:wrap;gap:8px}
.lead{font-size:19px;line-height:2.1;color:#2E3A38;margin:6px 0 14px}
.bgroup{padding-top:18px;margin-top:14px;border-top:1px solid var(--line);scroll-margin-top:110px}
.bgroup h2{font-size:24px;color:var(--teal-dark);margin:0 0 12px;display:flex;align-items:center;gap:10px}
.bgroup h2 small{font-size:15px;color:var(--ink-soft);background:var(--teal-soft);border-radius:999px;padding:2px 10px}
.book{position:relative}
.book .bimg{display:block;aspect-ratio:5/7;border-radius:8px;overflow:hidden;background:var(--teal-soft);border:1px solid var(--line)}
.book .bimg img{width:100%;height:100%;object-fit:cover;display:block}
.book .bimg .cover{height:100%}
.book .bt{font-size:17px;font-weight:700;line-height:1.8;color:#2E3A38;min-height:2.2em}
.book .bt[lang="en"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px;line-height:1.5}
.book .bn{position:absolute;top:4px;inset-inline-start:4px;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--teal-dark);color:#fff;font-size:16px;border:2px solid #fff}
.dl .ser{display:block;font-size:14px;color:var(--ink-soft);font-weight:400;margin-top:2px}
.btn.sm{padding:0 10px;line-height:1;height:38px}
.btn.sm svg{width:16px;height:16px}
.vgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:900px){.vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.vgrid{grid-template-columns:1fr}}
.vcard{position:relative;display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:#2E3A38;transition:border-color .15s,background .15s}
.vcard:hover{border-color:var(--teal);background:#F4FBFB}
.vplay{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--teal-dark);color:#fff}
.vplay svg{width:18px;height:18px}
.vt{font-size:18px;font-weight:700;line-height:1.8}
.vcard small{position:absolute;top:8px;inset-inline-end:12px;font-size:13px;color:var(--ink-soft)}
.note{font-size:14px;color:var(--ink-soft);margin-top:14px}
.prose h2{font-size:26px;color:var(--teal-dark);margin:22px 0 8px;padding-top:14px;border-top:1px solid var(--line)}
.prose h2:first-child{border-top:0;padding-top:0;margin-top:6px}
.prose h3{font-size:21px;color:#2E3A38;margin:16px 0 6px}
.prose p,.prose li{font-size:18px;line-height:2.15;color:#2E3A38}
.prose ul{padding-inline-start:24px}
.prose .ledger td:first-child{white-space:nowrap;font-weight:700;color:var(--teal-dark)}
.prose small[lang="en"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;color:var(--ink-soft)}
.chain{display:flex;flex-wrap:wrap;align-items:center;gap:8px 6px;margin:14px 0;padding:14px;border-radius:14px;background:var(--teal-soft)}
.chain span{padding:6px 14px;border-radius:999px;background:#fff;border:1px solid #BFE1E3;font-size:16px;color:var(--teal-dark);font-weight:700}
.chain span:last-child{background:var(--teal-dark);color:#fff;border-color:var(--teal-dark)}
.chain i{width:18px;height:1px;background:var(--teal)}
.callout{padding:14px 18px;border-radius:12px;background:#FFF8E6;border:1px solid #F0DFAE}
.steps{padding-inline-start:26px}.steps li{margin-bottom:8px}
.aims{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px}
@media (max-width:760px){.aims{grid-template-columns:1fr}}
ol.dl.num{list-style:none;padding:0}
.answer h3{font-size:21px;color:var(--teal-dark);margin:18px 0 6px}
.answer p,.answer li{font-size:18px;line-height:2.2}
.answer p{margin:0 0 12px}
.answer ul{padding-inline-start:24px;margin:0 0 12px}
.itk{margin:10px 0 6px;padding:20px 22px;border-radius:16px;border:1.5px solid var(--teal);background:#F4FBFB}
.itk-h{font-size:24px;font-weight:700;color:var(--teal-dark);margin-bottom:6px}
.itk-a{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:12px}
.itk-a span{font-size:16px;color:var(--ink-soft)}
.itk-p{display:block;max-width:420px;width:100%;margin-top:14px;border-radius:12px;border:1px solid var(--line)}
.itk-old{padding:12px 16px;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff}
.itk-old b{color:var(--teal-dark);font-size:18px}.itk-old p{margin:4px 0 0;font-size:17px}
.steps{list-style-type:decimal}

.logo-img{display:block;width:108px;height:auto;filter:drop-shadow(0 2px 6px rgba(13,104,111,.14))}
.logo-img.lg{width:124px}
@media (max-width:560px){.logo-img{width:84px}}

.hdr1{align-items:center}
.nav a.tab.nav-new{background:var(--gold);border-color:var(--gold);color:#fff}
.nav a.tab.nav-new:hover{background:#9A6C13;border-color:#9A6C13;color:#fff}
.nav a.tab.nav-new[aria-current="page"]{background:#8A5F0F;border-color:#8A5F0F;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.bigsearch button{padding-inline:24px 28px}
@media (max-width:1060px){.hdr1{grid-template-columns:auto 1fr}.nav a.tab{flex:0 0 140px}}
@media (max-width:560px){.hdr1{grid-template-columns:auto 1fr}}

/* top strip: date | search | social icons */
.topbar .wrap{grid-template-columns:auto minmax(0,1fr) auto;gap:28px}
.topbar .bigsearch{justify-self:center;width:100%;max-width:640px;height:44px;border-color:rgba(245,220,147,.75);box-shadow:0 2px 10px rgba(0,0,0,.18)}
.topbar .bigsearch select{background:#F3FAFA}
.topbar .bigsearch button{background:var(--gold);color:#fff}
.topbar .bigsearch button:hover{background:#9A6C13}
.tb-links{gap:10px}
.soc{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(245,220,147,.6);color:var(--gold-1);transition:background .15s,color .15s,border-color .15s,transform .15s}
.soc svg{width:19px;height:19px}
.soc:hover{background:var(--gold-1);border-color:var(--gold-1);color:#0A5B62;transform:translateY(-1px)}
.soc:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hdr1{grid-template-columns:auto 1fr auto}
.hdr-bism{justify-self:center;font-family:"Aref Ruqaa",serif;font-weight:400;font-size:34px;line-height:1.6;color:var(--teal-dark);white-space:nowrap;padding-bottom:4px}
@media (max-width:1100px){.tb-links{display:flex}.topbar .wrap{grid-template-columns:auto minmax(0,1fr) auto}}
@media (max-width:900px){.topbar .wrap{grid-template-columns:1fr auto;height:auto;padding-block:10px;row-gap:10px}.topbar .bigsearch{grid-column:1 / -1;grid-row:2;max-width:none}.tb-date{justify-self:start}}
@media (max-width:760px){.topbar .wrap{justify-items:stretch}.hdr-bism{font-size:22px}.hdr1{grid-template-columns:auto 1fr}.hdr-bism{grid-column:1 / -1;grid-row:2}}
@media (max-width:560px){
  .topbar .wrap{grid-template-columns:minmax(0,1fr) auto;column-gap:8px}
  .tb-date{gap:7px;font-size:12.5px;min-width:0}.tb-date .num{font-size:12px}.tb-date i{height:16px}
  .tb-links{gap:6px}.soc{width:30px;height:30px}.soc svg{width:15px;height:15px}
  .topbar .bigsearch{height:42px}
}

/* social icons — brand colours */
.soc{width:38px;height:38px;border:2px solid rgba(255,255,255,.9);color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.35)}
.soc svg{width:20px;height:20px}
.soc.wa{background:linear-gradient(180deg,#3BE07A,#1EBE5A)}
.soc.yt{background:linear-gradient(180deg,#FF3B3B,#E00000)}
.soc.fb{background:linear-gradient(180deg,#3B8DFF,#1466E0)}
.soc:hover{color:#fff;border-color:#fff;transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.35)}
.soc.wa:hover{background:#25D366}.soc.yt:hover{background:#FF0000}.soc.fb:hover{background:#1877F2}
@media (max-width:560px){.soc{width:30px;height:30px;border-width:1.5px}.soc svg{width:16px;height:16px}}
/* social icons v3 — flat official colours, rounded squares */
.soc{border-radius:9px;border:0;box-shadow:0 2px 6px rgba(0,0,0,.28)}
.soc.wa,.soc.wa:hover{background:#25D366}
.soc.yt,.soc.yt:hover{background:#FF0000}
.soc.fb,.soc.fb:hover{background:#1877F2}
.soc:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 5px 12px rgba(0,0,0,.32)}
@media (max-width:560px){.soc{border-radius:7px}}
.tb-links a.soc{opacity:1}

/* top strip v4 — one calm turquoise family */
.tb-date i,.tb-links i{background:rgba(159,222,227,.55)}
.tb-date .hj{color:#9FDEE3}
.topbar .bigsearch{border-color:rgba(159,222,227,.8);box-shadow:0 2px 10px rgba(0,0,0,.15)}
.topbar .bigsearch button{background:var(--teal);color:#fff}
.topbar .bigsearch button:hover{background:var(--teal-dark)}
.tb-links{gap:14px;align-items:center}
.tb-links a.soc{display:flex;flex-direction:column;align-items:center;gap:3px;width:auto;height:auto;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none;filter:none;transform:none;color:#E6F6F7;text-decoration:none}
.soc .si{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:rgba(159,222,227,.16);border:1px solid rgba(159,222,227,.55);color:#CFF1F3;transition:background .15s,color .15s,border-color .15s,transform .15s}
.soc .si svg{width:17px;height:17px}
.soc .sl{font-size:12px;line-height:1.3;color:#CFEBED;white-space:nowrap}
.tb-links a.soc:hover .si{background:#9FDEE3;border-color:#9FDEE3;color:#0A5B62;transform:translateY(-1px)}
.tb-links a.soc:hover .sl{color:#fff}
@media (max-width:560px){.soc .si{width:26px;height:26px;border-radius:6px}.soc .si svg{width:14px;height:14px}.soc .sl{font-size:10px}.tb-links{gap:8px}}
/* top strip v5 — white text, original brand icons */
.tb-date,.tb-date .hj,.tb-date span{color:#fff}
.soc .sl,.tb-links a.soc:hover .sl{color:#fff}
.soc .si{width:34px;height:34px;border-radius:10px;border:0;color:#fff;box-shadow:0 3px 8px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.28)}
.soc .si svg{width:19px;height:19px}
.soc.wa .si{background:#25D366}
.soc.yt .si{background:#FF0000}
.soc.fb .si{background:#1877F2}
.tb-links a.soc:hover .si{color:#fff;transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 6px 14px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.28)}
.soc.wa:hover .si{background:#25D366}.soc.yt:hover .si{background:#FF0000}.soc.fb:hover .si{background:#1877F2}
@media (max-width:560px){.soc .si{width:28px;height:28px;border-radius:8px}.soc .si svg{width:15px;height:15px}}

/* contact v2 — compact */
.contact{padding-block:26px 6px}
.ct-card{grid-template-columns:1.6fr 1fr}
.ct-form{padding:22px 28px 22px}
.ct-form h2{font-size:24px}.ct-form h2::before{height:24px;width:5px}
.ct-sub{font-size:15px}
#ctform{margin-top:12px;gap:10px}
.row2{gap:12px}
.fld{gap:2px}
.fld label{font-size:14px}
.fld input,.fld textarea{border:1.5px solid #9CCCCF;border-radius:10px;background:#fff;padding:3px 12px 0;font-size:16px;line-height:1.85}
.fld input[dir="ltr"]{padding:7px 12px;font-size:15px;line-height:1.5}
.fld textarea{min-height:84px}
.fld input:hover,.fld textarea:hover{border-color:var(--teal)}
.ct-send{height:44px;padding:3px 28px 0;font-size:17px;border-radius:10px}
.ct-info{padding:22px 24px;gap:10px}
.ct-info .logo-img.lg{width:92px}
.ct-info h3{font-size:21px;margin-top:2px}
.ct-info ul{gap:10px}
.ct-info li{font-size:16px;line-height:1.8;gap:12px}
.ct-info .ci{width:36px;height:36px;border-radius:10px;border-color:rgba(159,222,227,.6);color:#CFF1F3}
.ct-info .ci svg{width:18px;height:18px}
.ct-info a{font-size:15px}
.ct-soc{display:flex;gap:16px;margin-top:6px;padding-top:12px;border-top:1px solid rgba(255,255,255,.18);width:100%}
.ct-info a.soc{display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;text-decoration:none;font-family:inherit}
.ct-info a.soc:hover{text-decoration:none;color:#fff}
.ct-info a.soc:hover .si{transform:translateY(-2px);filter:brightness(1.08)}
.ct-info a.soc{width:auto;height:auto;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none;filter:none;transform:none;opacity:1}.ct-info a.soc .sl{font-size:13px;color:#fff;font-family:"Mehr Nastaliq",serif}

/* top strip = hero banner look */
.topbar{position:relative;background-color:#0C8790;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28C26 6 54 6 80 28S134 50 160 28'/%3E%3Cpath d='M0 28C26 50 54 50 80 28S134 6 160 28'/%3E%3C/g%3E%3C/svg%3E");background-size:160px 56px}
.topbar::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.14),transparent 65%);pointer-events:none}
.topbar .wrap{position:relative;height:78px}
.tb-links{gap:18px}
.tb-links a.soc{gap:6px}
.soc .sl{font-size:12.5px;line-height:1.2;padding-top:2px}
.ct-soc{gap:20px}.ct-info a.soc{gap:6px}
.sdesc{font-size:16px;color:var(--ink-soft);margin:-6px 0 6px}
/* footer language buttons */
.f-langs a{gap:12px;width:160px;height:52px;font-size:17px;font-weight:700}
.f-langs a[lang="en"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:16px;font-weight:600}
.f-langs .flag{width:32px;height:21px;border-radius:4px;box-shadow:0 0 0 1px rgba(17,48,51,.18),0 1px 3px rgba(17,48,51,.18);overflow:hidden}
.f-langs a.on .flag{box-shadow:0 0 0 1.5px rgba(255,255,255,.85)}
@media (max-width:1180px){.nav a.tab{font-size:14px}}

.f-qr{display:flex;align-items:center;justify-content:center;gap:18px;margin:18px auto 4px;padding:14px 20px;width:max-content;max-width:100%;border:1px solid var(--line);border-radius:16px;background:#fff}
.qr-box{flex:none;display:block;padding:6px;border:1.5px solid var(--teal);border-radius:12px;background:#fff}
.qr-box img{display:block;width:112px;height:112px}
.qr-t{display:flex;flex-direction:column;gap:2px;font-size:15px;line-height:1.9}
.qr-t b{font-size:19px;color:var(--teal-dark)}
.qr-t .qr-h{color:var(--ink-soft);font-size:14px}
.qr-t a{color:var(--teal-dark);font-weight:700}
@media (max-width:560px){.f-qr{flex-direction:column;text-align:center;width:auto}}

/* ===== Header v3: logo + tabs in one strip; dropdowns ===== */
.hdr1{display:flex;align-items:center;gap:18px;padding-block:12px}
.hdr1 .brand{flex:none}
.hdr1 .logo-img{width:92px}
.hdr1 .nav{flex:1;display:flex;gap:6px;min-width:0}
.ni{position:relative;flex:1 1 0;min-width:0}
.nav a.tab{width:100%;height:44px;font-size:15px;padding:3px 6px 0;white-space:nowrap}
.ni>a.tab::after{content:"";width:6px;height:6px;margin-inline-start:6px;margin-top:-4px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);opacity:.55;flex:none}
.dd{position:absolute;top:100%;inset-inline-start:0;z-index:40;min-width:210px;padding:12px 0 0;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s,transform .15s,visibility .15s}
.dd::before{content:"";position:absolute;inset:6px 0 0;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 34px rgba(17,48,51,.16)}
.dd a{position:relative;display:block;padding:9px 18px 5px;font-size:16px;line-height:1.9;color:#2E3A38;text-decoration:none;white-space:nowrap}
.dd a:first-child{margin-top:6px}.dd a:last-child{margin-bottom:6px}
.dd a:hover,.dd a:focus-visible{background:var(--teal-soft);color:var(--teal-dark);outline:none}
.ni:hover .dd,.ni:focus-within .dd{opacity:1;visibility:visible;transform:none}
.ni:last-child .dd,.ni:nth-last-child(2) .dd{inset-inline-start:auto;inset-inline-end:0}
/* top strip: date | search | toggle + icons */
.topbar .wrap{grid-template-columns:auto minmax(0,1fr) auto;gap:22px}
.topbar .bigsearch{max-width:470px}
.tb-end{display:flex;align-items:center;gap:18px;justify-self:end}
.topbar .lswitch{width:150px;height:38px;padding:3px;border-color:rgba(159,222,227,.85)}
.topbar .lswitch .ls-ur{font-size:17px;padding-top:6px}.topbar .lswitch .ls-en{font-size:13.5px}
.topbar .ls-knob{top:3px;bottom:3px;inset-inline-start:3px;width:calc(50% - 3px)}
@media (max-width:1180px){.nav a.tab{font-size:14px}.hdr1 .nav{gap:5px}}
@media (max-width:1060px){
  .hdr1{flex-wrap:wrap;justify-content:center}
  .hdr1 .nav{flex:1 1 100%;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
  .ni{flex:0 0 132px}.dd{display:none}.ni>a.tab::after{display:none}
  .topbar .wrap{grid-template-columns:1fr auto;height:auto;padding-block:10px;row-gap:10px}
  .topbar .bigsearch{grid-column:1 / -1;grid-row:2;max-width:none}
}
@media (max-width:560px){
  .topbar .wrap{grid-template-columns:1fr;justify-items:center}
  .tb-date{justify-self:center}.tb-end{justify-self:center;gap:12px}
  .topbar .bigsearch{grid-row:auto}
  .topbar .lswitch{width:130px;height:34px;grid-column:auto}
}
/* ticker: centre text between separators */
.tk-run a{padding:0 24px}
.tk-run a{padding:0 24px 2px}

/* top strip v6 — one height, centred, equal spacing; white icon tiles */
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px}
.tb-end{display:contents}
.tb-date{flex:none;height:40px;align-items:center}
.topbar .bigsearch{flex:0 1 480px;height:40px;max-width:480px}
.topbar .lswitch{flex:none;width:150px;height:40px}
.tb-links{flex:none;display:flex;align-items:center;gap:10px;height:40px}
.tb-links a.soc{gap:0}
.tb-links .soc .si{width:40px;height:40px;border-radius:10px;background:#fff!important;border:2px solid;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.tb-links .soc .si svg{width:21px;height:21px}
.tb-links .soc.wa .si{border-color:#25D366;color:#25D366}
.tb-links .soc.fb .si{border-color:#1877F2;color:#1877F2}
.tb-links .soc.yt .si{border-color:#FF0000;color:#FF0000}
.tb-links a.soc:hover .si{transform:translateY(-1px);filter:none;box-shadow:0 5px 12px rgba(0,0,0,.24)}
.tb-links .soc.wa:hover .si{color:#25D366}.tb-links .soc.fb:hover .si{color:#1877F2}.tb-links .soc.yt:hover .si{color:#FF0000}
@media (max-width:1060px){.topbar .wrap{flex-wrap:wrap;height:auto;padding-block:10px;row-gap:10px;justify-content:center}.topbar .bigsearch{order:5;flex:1 1 100%;max-width:none}}
@media (max-width:560px){.tb-links .soc .si{width:34px;height:34px}.topbar .lswitch{width:128px;height:34px}.tb-links{height:34px}}

/* app-style icon tiles: light tile, full-colour logo (like phone app icons) */
.tb-links .soc .si,.ct-info .soc .si{background:linear-gradient(180deg,#FFFFFF,#EEF1F0)!important;border:0;border-radius:11px;box-shadow:0 2px 6px rgba(0,0,0,.22),inset 0 0 0 1px rgba(0,0,0,.05)}
.tb-links .soc .si svg,.ct-info .soc .si svg{width:28px;height:28px}
.ct-info .soc .si{width:40px;height:40px}
.tb-links a.soc:hover .si,.ct-info a.soc:hover .si{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.26),inset 0 0 0 1px rgba(0,0,0,.05);filter:none}
@media (max-width:560px){.tb-links .soc .si svg{width:24px;height:24px}}

/* nested flyout (کتب) */
.dsub{position:relative}
.dd a.has{display:flex;align-items:center;justify-content:space-between;gap:16px}
.dd a.has::after{content:"";width:6px;height:6px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);opacity:.6;margin-top:-2px}
.dd2{position:absolute;top:-6px;right:100%;min-width:170px;padding:6px 0;border-radius:14px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 34px rgba(17,48,51,.16);opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s}
.dsub:hover .dd2,.dsub:focus-within .dd2{opacity:1;visibility:visible}
.dd .dd2 a{margin:0}
.ni:last-child .dd2,.ni:nth-last-child(2) .dd2{right:auto;left:100%}
.dd a.has::after{transform:rotate(225deg);margin-top:0}

/* ===== Lecture page v2 ===== */
.dnum{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:.92em;font-weight:600;letter-spacing:.02em;direction:ltr;unicode-bidi:isolate}
.lcard{position:relative;padding-top:34px;text-align:center}
.ldate{position:absolute;top:-1px;left:50%;transform:translate(-50%,-50%);padding:4px 22px;border-radius:999px;background:var(--teal-dark);color:#fff;font-size:17px;box-shadow:0 2px 6px rgba(17,48,51,.18)}
.lcard h1{margin-top:6px}
.lcard .lmeta{justify-content:center}
.pcard{gap:14px;padding:10px 14px;border-radius:999px;background:#F2F6F6;max-width:640px;margin:16px auto 0}
.pcard .play.big{width:46px;height:46px;flex:none}
.pcard .play.big svg{width:16px;height:16px}
.pcard .time{flex:none;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;color:#3F4A48;white-space:nowrap}
.pcard .bar{height:5px;cursor:pointer;background:#CBD7D8}
.pv,.pdots{flex:none;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:none;color:#3F4A48;cursor:pointer}
.pv:hover,.pdots:hover{background:#E1EBEC}
.pv svg,.pdots svg{width:20px;height:20px}
.pv .x{display:none}.pv.muted .x{display:inline}.pv.muted .w{display:none}
.pmore,.lshare{position:relative}
.pmenu,.smenu{position:absolute;z-index:30;min-width:150px;padding:6px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px rgba(17,48,51,.16);display:flex;flex-direction:column}
.pmenu{bottom:calc(100% + 8px);right:0}
.pmenu[hidden],.smenu[hidden]{display:none}
.pmh{font-size:13px;color:var(--ink-soft);padding:2px 10px}
.pmenu button,.pmenu a,.smenu a,.smenu button{display:block;width:100%;text-align:right;border:0;background:none;padding:6px 10px;border-radius:8px;font-size:15px;color:#2E3A38;text-decoration:none;cursor:pointer;font-family:inherit}
.pmenu button{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px}
.pmenu button[aria-pressed="true"]{background:var(--teal-soft);color:var(--teal-dark);font-weight:700}
.pmenu button:hover,.pmenu a:hover,.smenu a:hover,.smenu button:hover{background:#EEF5F6}
.lacts{display:flex;justify-content:center;gap:56px;margin:16px 0 4px}
.lact{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;color:var(--teal-dark);text-decoration:none;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;padding:4px 8px;border-radius:10px}
.lact svg{width:24px;height:24px}
.lact:hover{background:var(--teal-soft)}
.smenu{top:calc(100% + 6px);left:50%;transform:translateX(-50%)}
.lcard .perma{text-align:center}
.pmenu{bottom:auto;top:calc(100% + 8px)}
.logo-img{filter:drop-shadow(0 3px 8px rgba(17,48,51,.28))}

/* ===== Lecture card v3 — one polished card ===== */
.lcard{position:static;padding:0;text-align:right;background:#fff;border:1.5px solid #9CCCCF;border-radius:18px;overflow:hidden;box-shadow:0 2px 4px rgba(17,48,51,.04),0 14px 34px rgba(17,48,51,.10)}
.lc-head{position:relative;padding:18px 24px 16px;color:#fff;background-color:#0C8790;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28C26 6 54 6 80 28S134 50 160 28'/%3E%3Cpath d='M0 28C26 50 54 50 80 28S134 6 160 28'/%3E%3C/g%3E%3C/svg%3E");background-size:160px 56px}
.lc-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lc-date{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:8px;background:#fff;color:#096C74;font-size:15px}
.lc-chip{display:inline-flex;align-items:center;height:28px;padding:2px 12px 0;border-radius:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);font-size:14px}
.lcard .lc-head h1{margin:10px 0 2px;font-size:30px;line-height:1.9;color:#fff}
.lc-by{margin:0;font-size:15px;color:#D5EFF1}
.lc-body{padding:16px 20px 18px;background:#F7FBFB}
.lcard .pcard{max-width:none;margin:0;border:1.5px solid #B9DBDD;background:#fff;border-radius:14px;padding:8px 12px}
.lc-tools{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:12px}
.lc-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:2px 16px 0;border:1.5px solid #B9DBDD;border-radius:12px;background:#fff;color:#096C74;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s}
.lc-btn svg{width:19px;height:19px;margin-top:-3px}
.lc-btn:hover{background:var(--teal-soft);border-color:var(--teal)}
.lc-link{flex:1;min-width:240px;display:flex;align-items:center;height:42px;border:1.5px solid #B9DBDD;border-radius:12px;background:#fff;overflow:hidden}
.lc-link .lbl{flex:none;height:100%;display:flex;align-items:center;padding:2px 12px 0;background:var(--teal-soft);color:#096C74;font-size:14px;font-weight:700;border-inline-end:1px solid #B9DBDD}
.lc-link .url{flex:1;min-width:0;padding:0 12px;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13.5px;color:#3F4A48;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.lc-link button{flex:none;width:42px;height:100%;border:0;border-inline-start:1px solid #B9DBDD;background:#fff;color:#096C74;cursor:pointer;display:grid;place-items:center}
.lc-link button:hover{background:var(--teal-soft)}
.lc-link button svg{width:18px;height:18px}
.lcard .smenu{left:auto;right:0;transform:none}
.lc-nav{display:grid;grid-template-columns:1fr 1fr;border-top:1.5px solid #D6EAEB}
.lc-nb{display:flex;flex-direction:column;gap:0;padding:10px 20px;text-decoration:none;color:#2E3A38;min-width:0}
.lc-nb small{font-size:13px;color:var(--teal-dark);font-weight:700}
.lc-nb span{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lc-nb.prev{text-align:left;border-inline-start:1.5px solid #D6EAEB}
.lc-nav .lc-nb:nth-child(2){border-inline-start:1.5px solid #D6EAEB}
.lc-nb.prev{align-items:flex-end}
a.lc-nb:hover{background:var(--teal-soft)}
.lc-nb.off{opacity:.55}
@media (max-width:560px){.lc-head{padding:14px 16px}.lcard .lc-head h1{font-size:24px}.lc-body{padding:12px}.lc-link{min-width:100%}.lc-nav{grid-template-columns:1fr}.lc-nav .lc-nb:nth-child(2){border-inline-start:0;border-top:1.5px solid #D6EAEB}}
.lpage{align-items:start}.lcard{align-self:start}
/* side list v2 — each talk in its own box */
.side .panel h3{display:flex;align-items:center;gap:8px;padding-bottom:10px;margin-bottom:12px;border-bottom:1.5px solid #D6EAEB}
.slist{display:flex;flex-direction:column;gap:8px}
.slist li a{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;border:1.5px solid #D6EAEB;border-radius:12px;background:#fff;color:#2E3A38;font-size:16px;line-height:1.8}
.slist li a small{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:#EEF5F6;color:#096C74;font-size:12.5px;line-height:1}
.slist li a:hover{border-color:var(--teal);background:#F7FBFB}
.slist li[aria-current="true"] a{border-color:var(--teal);background:var(--teal-soft);color:var(--teal-dark);box-shadow:inset 4px 0 0 var(--teal)}
.slist li[aria-current="true"] a small{background:var(--teal-dark);color:#fff}
.slist li[aria-current="true"] a{box-shadow:inset -4px 0 0 var(--teal)}
/* lecture card v4 */
.lcard{overflow:visible}
.lc-head{border-radius:16px 16px 0 0;padding:14px 18px 12px}
.lc-title{padding:8px 16px 6px;border:1.5px solid rgba(255,255,255,.45);border-radius:12px;background:rgba(255,255,255,.08)}
.lcard .lc-head h1{margin:0;font-size:26px;line-height:1.8}
.lc-by{font-size:14px;line-height:1.7}
.lc-chips{margin-top:10px;flex-wrap:nowrap;overflow-x:auto}
.lc-chips>span{flex:none}
.lc-nav{border-radius:0 0 16px 16px;overflow:hidden}
.lc-link button.cpy{width:auto;display:flex;align-items:center;gap:6px;padding:2px 12px 0;font-size:14px;font-weight:700;font-family:inherit}
.lc-link button.cpy svg{margin-top:-3px}
.copied{color:#0B9EA8!important}
.lc-link button.copied{background:#E8F7EF}
.lc-chips{overflow:visible;flex-wrap:wrap}
#player{display:none!important}
.lc-date,.lc-chip{height:32px;padding:4px 14px 0;line-height:1;border-radius:9px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff}
.lc-date{padding-top:0;background:rgba(255,255,255,.2);font-size:15px}

/* QR band (home page) */
.qrband{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;border-radius:var(--radius);background-color:#0C8790;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28C26 6 54 6 80 28S134 50 160 28'/%3E%3Cpath d='M0 28C26 50 54 50 80 28S134 6 160 28'/%3E%3C/g%3E%3C/svg%3E");background-size:160px 56px;box-shadow:var(--shadow)}
.qrc{display:flex;align-items:center;gap:18px;padding:16px;border-radius:14px;background:#fff;border:1px solid rgba(255,255,255,.6)}
.qrt{flex:none;padding:10px;border-radius:12px;background:#fff;border:1.5px solid #B9DBDD;box-shadow:0 2px 8px rgba(17,48,51,.08)}
.qrt img{display:block;width:132px;height:132px}
.qri{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.qrk{display:inline-flex;align-items:center;height:24px;padding:2px 10px 0;border-radius:6px;background:var(--teal-soft);color:#096C74;font-size:13px;font-weight:700}
.qri h3{margin:2px 0 0;font-size:20px;line-height:1.8;color:#0A5B62}
.qri p{margin:0;font-size:15px;line-height:1.9;color:var(--ink-soft)}
.qrb{display:inline-flex;align-items:center;gap:8px;height:38px;margin-top:6px;padding:2px 14px 0;border-radius:10px;background:#0C8790;color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.qrb svg{width:17px;height:17px;margin-top:-3px}
.qrb:hover{background:#096C74}
.qrb.ghost{background:#fff;color:#096C74;border:1.5px solid #B9DBDD;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px;padding:0 14px}
@media (max-width:900px){.qrband{grid-template-columns:1fr}}
@media (max-width:480px){.qrc{flex-direction:column;text-align:center}.qri{align-items:center}}

/* location card inside hero banner */
.hero-band.has-loc{display:flex;align-items:center;gap:28px;padding:28px 32px}
.hero-band.has-loc .hero-text{flex:1;min-width:0}
.hero-loc{flex:none;width:410px;gap:14px;padding:14px;text-align:right;box-shadow:0 6px 18px rgba(0,0,0,.16)}
.hero-loc .qrt{padding:7px}
.hero-loc .qrt img{width:104px;height:104px}
.hero-loc .qri h3{font-size:18px;line-height:1.7}
.hero-loc .qri p{font-size:14px;line-height:1.8}
.hero-loc .qrb{height:36px;font-size:14px}
@media (max-width:1180px){.hero-band.has-loc{flex-direction:column;gap:20px}.hero-loc{width:auto;max-width:440px}}

/* home: 8 cards, 4 per row */
.grid3.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1100px){.grid3.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.grid3.grid4{grid-template-columns:1fr}}

/* contact: calm two-column layout */
.contact{padding-block:30px 8px}
.ct2{display:grid;grid-template-columns:1fr 430px;gap:48px;align-items:center;max-width:980px;margin-inline:auto}
.ct2-k{margin:0;font-size:14px;font-weight:700;color:var(--teal);letter-spacing:0}
.ct2-info h2{margin:2px 0 4px;font-size:32px;line-height:1.7;color:#0A5B62}
.ct2-sub{margin:0 0 18px;font-size:15px;line-height:1.9;color:var(--ink-soft);max-width:420px}
.ct2-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ct2-list li{display:flex;align-items:center;gap:14px}
.ct2-list .ci{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--teal-soft);color:#0C8790}
.ct2-list .ci svg{width:19px;height:19px}
.ct2-t{display:flex;flex-direction:column;line-height:1.6;font-size:15px;color:var(--ink)}
.ct2-t small{font-size:12.5px;color:var(--ink-soft)}
.ct2-t a{color:var(--ink);text-decoration:none;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14.5px}
.ct2-t a:hover{color:var(--teal)}
.ct2-info .ct-soc{display:flex;gap:16px;margin-top:18px;padding-top:0;border:0;width:auto}
.ct2-info a.soc{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none}
.ct2-info .soc .si{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(17,48,51,.10),inset 0 0 0 1px rgba(17,48,51,.05);transition:transform .15s}
.ct2-info .soc .si svg{width:24px;height:24px}
.ct2-info a.soc:hover .si{transform:translateY(-2px)}
.ct2-info .soc .sl{font-size:12px;color:var(--ink-soft)}
.ct2-form{background:#fff;border-radius:20px;padding:22px 24px 24px;box-shadow:0 1px 2px rgba(17,48,51,.04),0 14px 36px rgba(17,48,51,.09);border:1px solid rgba(13,135,144,.08)}
.ct2-form #ctform{margin:0;display:grid;gap:12px}
.ct2-form .fld{gap:3px}
.ct2-form .fld label{font-size:13px;font-weight:400;color:var(--ink-soft);line-height:1.6}
.ct2-form .fld input,.ct2-form .fld textarea{border:1px solid transparent;border-radius:9px;background:#F0F7F7;padding:2px 12px 0;font-size:14.5px;line-height:1.8;box-shadow:none}
.ct2-form .fld input[dir="ltr"]{padding:7px 12px;font-size:14px;line-height:1.4}
.ct2-form .fld textarea{min-height:76px}
.ct2-form .fld input::placeholder,.ct2-form .fld textarea::placeholder{color:#9FB5B7;opacity:1}
.ct2-form .fld input:hover,.ct2-form .fld textarea:hover{border-color:#CDE4E6}
.ct2-form .fld input:focus,.ct2-form .fld textarea:focus{background:#fff;border-color:var(--teal);box-shadow:0 0 0 3px rgba(16,208,222,.12)}
.ct2-form .ct-send{justify-self:start;display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 6px 0 20px;margin-top:4px;border:0;border-radius:999px;background:#0C8790;color:#fff;font-size:15px;font-weight:700;box-shadow:0 6px 16px rgba(12,135,144,.22);transform:none}
.ct2-form .ct-send:hover{background:#096C74}
.ct2-form .ct-send > span[data-en]{padding-top:3px}
.ct2-form .ct-send .arw{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:#0C8790}
.ct2-form .ct-send .arw svg{width:17px;height:17px;transform:none;margin:0}
@media (max-width:900px){.ct2{grid-template-columns:1fr;gap:24px}}
.ct2-info .soc .si,.ct2-info a.soc .si{background:#fff!important;border:0!important}
.ct2-info a.soc{background:none!important;width:auto;height:auto;padding:0;border:0;box-shadow:none}
.f-links.f-info{margin-top:8px;font-size:15px}
.f-links.f-info a{color:var(--ink-soft)}

/* footer: one full turquoise background like the hero banner */
.site-foot{position:relative;margin-top:36px;padding-block:26px 18px;border:0;color:#DDF2F3;background-color:#0C8790;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='56' viewBox='0 0 160 56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28C26 6 54 6 80 28S134 50 160 28'/%3E%3Cpath d='M0 28C26 50 54 50 80 28S134 6 160 28'/%3E%3C/g%3E%3C/svg%3E");background-size:160px 56px}
.site-foot::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.12),transparent 65%);pointer-events:none}
.site-foot .wrap{position:relative}
.site-foot .f-rule{color:#fff;margin:0 0 12px}
.site-foot .f-rule::before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.35))}
.site-foot .f-rule::after{background:linear-gradient(90deg,rgba(255,255,255,.35),transparent)}
.site-foot .f-langs a{width:136px;height:42px;font-size:15px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.35);color:#fff}
.site-foot .f-langs a[lang="en"]{font-size:14.5px}
.site-foot .f-langs a:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.6)}
.site-foot .f-langs a.on{background:#fff;border-color:#fff;color:#096C74}
.site-foot .f-langs .flag{width:26px;height:17px}
.site-foot .f-line{height:1px;margin:18px 0 14px;opacity:1;background:linear-gradient(90deg,transparent,rgba(255,255,255,.32) 20%,rgba(255,255,255,.32) 80%,transparent)}
.site-foot .f-links{font-size:16px;row-gap:6px}
.site-foot .f-links > *{padding:0 14px}
.site-foot .f-links > * + *{border-inline-start:1px solid rgba(255,255,255,.28)}
.site-foot .f-links a{color:#fff}
.site-foot .f-links a:hover{color:var(--gold-1);text-decoration:none}
.site-foot .f-links.f-info{margin-top:6px;font-size:14px}
.site-foot .f-links.f-info a{color:rgba(255,255,255,.78)}
.site-foot .f-links.sub{margin-top:0;font-size:14px}
.site-foot .f-links.sub span{color:var(--gold-1)}
.site-foot .f-links.sub a{color:rgba(255,255,255,.85)}
.site-foot .f-copy{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.22);color:rgba(255,255,255,.8);font-size:14px}
.site-foot .f-cr .cr-ur{color:#fff;font-size:16px}
.site-foot .f-cr .cr-en{color:rgba(255,255,255,.8);font-size:13px}
.site-foot .f-copy .f-sep{background:rgba(255,255,255,.28)}
.site-foot .f-fonts{height:32px;font-size:13.5px;color:#fff;border-color:rgba(255,255,255,.45)}
.site-foot .f-fonts:hover{background:rgba(255,255,255,.12)}
.site-foot .f-links.f-info{margin-top:0}

/* footer spacing + pure white text */
.site-foot,.site-foot .f-rule,.site-foot .f-links a,.site-foot .f-links.f-info a,.site-foot .f-links.sub a,.site-foot .f-links.sub span,.site-foot .f-copy,.site-foot .f-cr .cr-ur,.site-foot .f-cr .cr-en,.site-foot .f-fonts{color:#fff}
.site-foot .f-links > *{padding:0 24px}
.site-foot .f-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:7px}
/* contact: one calm card around the whole area */
.ct2{max-width:none;padding:30px 44px;border-radius:22px;background:linear-gradient(180deg,#F5FBFB,#EAF4F5);border:1px solid #D3E8EA;box-shadow:0 1px 2px rgba(17,48,51,.04),0 12px 32px rgba(17,48,51,.07)}
.ct2-info h2{margin-top:0}
.ct2-form{box-shadow:0 1px 2px rgba(17,48,51,.04),0 8px 22px rgba(17,48,51,.07);border-color:#DCEDEE}
.ct2-list .ci,.ct2-info .soc .si{background:#fff!important}
@media (max-width:560px){.ct2{padding:20px 16px}}
.ni-solo>a.tab::after{display:none}

/* location card + socials inside contact card */
.ct2-loc{display:flex;align-items:center;gap:16px;margin-top:18px;padding:12px;border-radius:16px;background:#fff;border:1px solid #DCEDEE;box-shadow:0 4px 14px rgba(17,48,51,.06)}
.ct2-qimg{flex:none;display:block;padding:6px;border-radius:12px;border:1px solid #CFE6E8;background:#fff}
.ct2-qimg img{display:block;width:96px;height:96px}
.ct2-lt{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.ct2-chip{display:inline-block;padding:1px 10px 0;border-radius:6px;background:var(--teal-soft);color:#096C74;font-size:12.5px;font-weight:700;line-height:1.9}
.ct2-lt b{font-size:17px;color:#0A5B62;line-height:1.8}
.ct2-lt small{font-size:13px;color:var(--ink-soft);line-height:1.8}
.ct2-map{display:inline-flex;align-items:center;gap:7px;height:34px;margin-top:6px;padding:2px 16px 0;border-radius:999px;background:#0C8790;color:#fff;font-size:14px;font-weight:700;text-decoration:none;transition:background .15s}
.ct2-map:hover{background:#096C74}
.ct2-map svg{width:14px;height:14px;margin-top:-3px}
.ct2-info .ct-soc{justify-content:flex-start;gap:26px;margin-top:20px}
.ct2-info a.soc{gap:8px}
.ct2-info .soc .sl{line-height:1.5;padding-top:2px}

/* whole site as one sheet of soft paper on a canvas */
body{background:#D9E5E6;padding:22px 22px 26px}
.sheet{max-width:1400px;margin:0 auto;background:#F6FAFA;border-radius:18px;overflow:clip;box-shadow:0 1px 3px rgba(17,48,51,.08),0 18px 48px rgba(17,48,51,.12)}
.sheet .site-foot{margin-top:28px}
@media (max-width:760px){body{padding:0}.sheet{border-radius:0;box-shadow:none}}
/* daily verse/quote: compact, no gold frame */
.poem::before{display:none}
.poem{padding:14px 22px 12px;border:1px solid #DCEDEE;border-radius:14px;box-shadow:0 1px 2px rgba(17,48,51,.04),0 6px 16px rgba(17,48,51,.05)}
.poem-h span{font-size:17px}
.poem-h small{font-size:11.5px;color:var(--teal-dark);border-color:#CFE6E8}
.poem-b{margin-top:2px}
.poem-b p{font-size:19px;line-height:1.85}
.quote-q{font-size:19px!important;line-height:1.85!important;margin:2px 0 0!important}
.poem-ur{margin-top:2px;font-size:14px;line-height:1.8}
.poem-en{font-size:12.5px;line-height:1.5}
.poem-p{margin-top:4px;font-size:12.5px}
.daily{gap:16px}

/* top strip without app icons: date | search | language */
.topbar .wrap{display:grid;grid-template-columns:1fr minmax(0,540px) 1fr;align-items:center;gap:24px;height:68px}
.tb-date{justify-self:start}
.topbar .bigsearch{flex:none;width:100%;max-width:540px;justify-self:center}
.topbar .lswitch{justify-self:end}
@media (max-width:1060px){.topbar .wrap{grid-template-columns:1fr auto;height:auto;padding-block:10px;row-gap:10px}.topbar .bigsearch{grid-column:1 / -1;grid-row:2;max-width:none}}
@media (max-width:560px){.topbar .wrap{grid-template-columns:1fr;justify-items:center}.tb-date,.topbar .lswitch{justify-self:center}}

/* tabs: one turquoise text colour */
.nav a.tab{color:var(--teal-dark);border-color:#D2E8EA}
.nav a.tab:hover{color:var(--teal-dark);border-color:var(--teal);background:#F3FAFB}
.nav a.tab[aria-current="page"]{background:var(--teal-dark);border-color:var(--teal-dark);color:#fff}
/* top strip: equal spacing between date, search and language toggle */
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:68px}
.topbar .bigsearch{flex:0 1 560px;width:auto;max-width:560px}
.tb-date{gap:10px;font-size:15.5px}
.tb-date i{width:1px;height:16px;background:rgba(255,255,255,.45)}
.tb-date .num{margin-inline:3px;font-size:14.5px}
@media (max-width:1060px){.topbar .wrap{flex-wrap:wrap;height:auto;padding-block:10px;row-gap:10px}.topbar .bigsearch{order:5;flex:1 1 100%;max-width:none}}
@media (max-width:560px){.topbar .wrap{justify-content:center}}

/* tabs: filled turquoise, white text, light turquoise border */
.nav a.tab{background:var(--teal);color:#fff;border:1.5px solid #9FDCE0;box-shadow:0 2px 6px rgba(12,135,144,.16)}
.nav a.tab:hover{background:var(--teal-dark);color:#fff;border-color:#BFE8EB}
.nav a.tab[aria-current="page"]{background:var(--teal-dark);color:#fff;border-color:#CDEFF1;box-shadow:inset 0 0 0 2px rgba(255,255,255,.30),0 2px 6px rgba(12,135,144,.22)}
.ni>a.tab::after{opacity:.85}
/* cards: real coloured icons */
.card .ic.cic{flex:0 0 54px;width:54px;height:54px;border-radius:14px;background:linear-gradient(180deg,#FFFFFF,#F1F8F9);box-shadow:inset 0 0 0 1px #DDEFF1,0 2px 6px rgba(15,40,38,.06)}
.card .ic.cic svg{width:36px;height:36px}
/* contact: one big box — turquoise info panel + clean underline form */
.ct3{display:grid;grid-template-columns:440px 1fr;gap:0;background:#fff;border-radius:20px;padding:12px;border:1px solid #DCEEF0;box-shadow:0 1px 2px rgba(15,40,38,.04),0 14px 36px rgba(15,40,38,.08)}
.ct3-side{background:var(--teal);color:#fff;border-radius:14px;padding:26px 28px}
.ct3-side h2{margin:0;font-size:24px;line-height:1.7;color:#fff}
.ct3-sub{margin:2px 0 18px;font-size:14px;line-height:1.9;color:rgba(255,255,255,.88)}
.ct3-side .ct2-list{gap:14px}
.ct3-side .ct2-list .ci{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.16)!important;color:#fff}
.ct3-side .ct2-t,.ct3-side .ct2-t a{color:#fff}
.ct3-side .ct2-t small{color:rgba(255,255,255,.75)}
.ct3-extra{margin-top:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.25)}
.ct3-side .ct2-loc{margin-top:0;padding:10px;border:0;box-shadow:0 4px 14px rgba(0,0,0,.10)}
.ct3-side .ct2-qimg img{width:84px;height:84px}
.ct3-side .ct2-lt b{font-size:15px}
.ct3-side .ct2-lt small{font-size:12px;color:var(--ink-soft)}
.ct3-side .ct2-map{height:32px;font-size:13px;padding:2px 14px 0}
.ct3-side .ct-soc{display:flex;justify-content:flex-start;gap:24px;margin-top:16px}
.ct3-side a.soc{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;background:none!important;border:0}
.ct3-side .soc .si{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#fff!important;border:0!important;box-shadow:0 3px 8px rgba(0,0,0,.14)}
.ct3-side .soc .si svg{width:24px;height:24px}
.ct3-side .soc .sl{font-size:12px;color:#fff;line-height:1.5}
.ct3-form{padding:30px 40px 26px}
.ct3-form #ctform{display:grid;gap:18px;margin:0}
.ct3-row{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ct3-form .fld{gap:0}
.ct3-form .fld label{font-size:13px;color:var(--ink-soft);line-height:1.6}
.ct3-form .fld:focus-within label{color:var(--teal)}
.ct3-form .fld input,.ct3-form .fld textarea{border:0;border-bottom:1.5px solid #D5E3E5;border-radius:0;background:transparent;padding:4px 2px 2px;font-size:15.5px;line-height:1.8;box-shadow:none;outline:0}
.ct3-form .fld input[dir="ltr"]{padding:8px 2px 6px;font-size:14.5px;line-height:1.4}
.ct3-form .fld textarea{min-height:84px;resize:vertical}
.ct3-form .fld input:hover,.ct3-form .fld textarea:hover{border-bottom-color:#B5D9DC}
.ct3-form .fld input:focus,.ct3-form .fld textarea:focus{border-bottom-color:var(--teal);background:transparent;box-shadow:none}
.ct3-form .fld input::placeholder,.ct3-form .fld textarea::placeholder{color:#A3B9BC;opacity:1}
.ct3-form .ct-send{justify-self:start;height:40px;padding:3px 26px 0;border:0;border-radius:8px;background:var(--teal);color:#fff;font-size:15px;font-weight:700;box-shadow:0 4px 12px rgba(12,135,144,.22);transform:none}
.ct3-form .ct-send:hover{background:var(--teal-dark)}
@media (max-width:900px){.ct3{grid-template-columns:1fr}.ct3-form{padding:22px 16px}.ct3-row{grid-template-columns:1fr;gap:18px}}
.ct3-side .ct-soc{padding-top:0;border:0;width:auto}
.ct3-side a.soc{width:auto;height:auto;padding:0;border-radius:0;box-shadow:none;filter:none;transform:none;opacity:1}
.ct3-side .soc .si{flex:none;min-height:40px}
.ct3-form{display:flex;flex-direction:column;justify-content:center}
.ct3-form .fld textarea{min-height:170px}.ct3-form #ctform{gap:22px}

/* contact box: compact (about one third of previous size) */
.contact{padding-block:20px 4px}
.ct3{max-width:900px;margin-inline:auto;grid-template-columns:350px 1fr;padding:8px;border-radius:16px}
.ct3-side{padding:14px 18px;border-radius:11px}
.ct3-side h2{font-size:18px;line-height:1.6}
.ct3-sub{margin:0 0 8px;font-size:12px;line-height:1.7}
.ct3-side .ct2-list{gap:6px}
.ct3-side .ct2-list li{gap:9px}
.ct3-side .ct2-list .ci{width:26px;height:26px;border-radius:7px}
.ct3-side .ct2-list .ci svg{width:14px;height:14px}
.ct3-side .ct2-t{font-size:12.5px;line-height:1.55}
.ct3-side .ct2-t small{display:none}
.ct3-side .ct2-t a{font-size:12.5px}
.ct3-extra{display:flex;align-items:center;gap:12px;margin-top:10px;padding-top:10px}
.ct3-side .ct2-loc{flex:1;min-width:0;gap:8px;padding:6px;border-radius:10px}
.ct3-side .ct2-qimg{padding:3px;border-radius:7px}
.ct3-side .ct2-qimg img{width:54px;height:54px}
.ct3-side .ct2-chip,.ct3-side .ct2-lt small{display:none}
.ct3-side .ct2-lt{gap:3px}
.ct3-side .ct2-lt b{font-size:12px;line-height:1.6}
.ct3-side .ct2-map{height:24px;margin-top:0;padding:2px 10px 0;font-size:11.5px;gap:5px}
.ct3-side .ct2-map svg{width:11px;height:11px}
.ct3-side .ct-soc{flex:none;flex-direction:column;gap:6px;margin-top:0}
.ct3-side a.soc{flex-direction:row;gap:0}
.ct3-side .soc .si{width:26px;height:26px;min-height:26px;border-radius:7px}
.ct3-side .soc .si svg{width:16px;height:16px}
.ct3-side .soc .sl{display:none}
.ct3-form{padding:14px 22px 12px}
.ct3-form #ctform{gap:10px}
.ct3-row{gap:18px}
.ct3-form .fld label{font-size:11.5px;line-height:1.5}
.ct3-form .fld input,.ct3-form .fld textarea{font-size:13px;line-height:1.7;padding:2px 2px 1px}
.ct3-form .fld input[dir="ltr"]{padding:5px 2px 4px;font-size:12.5px}
.ct3-form .fld textarea{min-height:46px}
.ct3-form .ct-send{height:30px;padding:2px 18px 0;font-size:13px;border-radius:7px}

/* location card — QR with instructions */
.ct3-side .qloc{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:12px;background:#fff}
.qloc .ql-qr{flex:none;display:block;padding:5px;border:2px solid var(--teal);border-radius:12px;background:#fff}
.qloc .ql-qr img{display:block;width:88px;height:88px}
.qloc .ql-t{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px}
.qloc .ql-t b{font-size:15px;line-height:1.7;color:var(--teal-dark)}
.qloc .ql-t span{font-size:12.5px;line-height:1.7;color:var(--ink)}
.qloc .ql-t small{font-size:11.5px;line-height:1.7;color:var(--ink-soft)}
.qloc .ql-t small bdi{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:11px}
.qloc .ql-t a{font-size:13.5px;font-weight:700;line-height:1.9;color:var(--teal-dark);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1.5px}
.qloc .ql-t a:hover{color:var(--teal)}
/* tabs: white, thin turquoise border, black text */
.nav a.tab{background:#fff;color:#1F2A2B;border:1px solid var(--teal);box-shadow:none}
.nav a.tab:hover{background:#F1F9FA;color:#1F2A2B;border-color:var(--teal-dark)}
.nav a.tab[aria-current="page"]{background:var(--teal-soft);color:#1F2A2B;border-color:var(--teal-dark);box-shadow:inset 0 0 0 1px var(--teal-dark)}
.ni>a.tab::after{opacity:.6}

/* QR codes section */
.qrs{padding-top:20px}
.qrs-box{background:#fff;border:1px solid #DCEEF0;border-radius:16px;padding:16px 20px 18px;box-shadow:0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.qrs-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.qrs-head h2{margin:0;font-size:19px;line-height:1.7;color:var(--teal-dark)}
.qrs-head h2 span{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px;font-weight:600;color:var(--ink-soft);margin-inline-start:6px}
.qrs-head p{margin:0;font-size:13px;line-height:1.7;color:var(--ink-soft)}
.qrs-zip,.qrs-dl{display:inline-flex;align-items:center;gap:6px;text-decoration:none;border-radius:8px;font-weight:700;transition:background .15s,color .15s}
.qrs-zip{height:34px;padding:2px 14px 0;background:var(--teal);color:#fff;font-size:13.5px}
.qrs-zip:hover{background:var(--teal-dark)}
.qrs-zip svg,.qrs-dl svg{width:14px;height:14px;margin-top:-3px}
.qrs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.qrs-card{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px 12px;border:1px solid #DCEEF0;border-radius:14px;background:linear-gradient(180deg,#FFFFFF,#F6FBFB);text-align:center}
.qrs-img{display:block;padding:6px;border:2px solid var(--teal);border-radius:12px;background:#fff;transition:transform .15s}
.qrs-img:hover{transform:translateY(-2px)}
.qrs-img img{display:block;width:132px;height:132px}
.qrs-card figcaption{display:flex;flex-direction:column;align-items:center;gap:0;line-height:1.6}
.qrs-card b{font-size:16px;color:var(--ink)}
.qrs-card .en{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.5px;font-weight:600;color:var(--teal-dark)}
.qrs-url{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:11.5px;color:var(--ink-soft);text-decoration:none}
.qrs-url:hover{color:var(--teal-dark);text-decoration:underline}
.qrs-dl{height:30px;padding:2px 12px 0;border:1px solid var(--teal);color:var(--teal-dark);background:#fff;font-size:12.5px}
.qrs-dl:hover{background:var(--teal);color:#fff}
@media (max-width:1000px){.qrs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:460px){.qrs-box{padding:14px 12px}.qrs-grid{gap:10px}.qrs-img img{width:112px;height:112px}.qrs-head{flex-direction:column;align-items:flex-start}}
.qrs bdi.lt{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:.8em;margin-inline:3px}
/* only one dropdown open at a time: the hovered tab wins over a focused one */
.nav:hover .ni:not(:hover) .dd{opacity:0;visibility:hidden;transform:translateY(4px)}
.dd:hover .dsub:not(:hover) .dd2{opacity:0;visibility:hidden}

/* contact: one light full-width box — form on top, address strip below */
.ct4{background:#fff;border:1px solid #DCEEF0;border-radius:16px;padding:16px 24px 12px;box-shadow:0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.ct4-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:6px}
.ct4-head h2{margin:0;font-size:19px;line-height:1.7;color:var(--teal-dark)}
.ct4-head p{margin:0;font-size:13px;line-height:1.7;color:var(--ink-soft)}
.ct4 #ctform{display:grid;gap:10px;margin:0}
.ct4-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ct4-row2{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:end}
.ct4 .fld{gap:0}
.ct4 .fld label{font-size:12px;color:var(--ink-soft);line-height:1.5}
.ct4 .fld:focus-within label{color:var(--teal)}
.ct4 .fld input,.ct4 .fld textarea{border:0;border-bottom:1.5px solid #D5E3E5;border-radius:0;background:transparent;padding:2px 2px 1px;font-size:14px;line-height:1.7;box-shadow:none;outline:0}
.ct4 .fld input[dir="ltr"]{padding:6px 2px 4px;font-size:13.5px;line-height:1.4}
.ct4 .fld textarea{min-height:34px;height:34px;resize:vertical}
.ct4 .fld input:hover,.ct4 .fld textarea:hover{border-bottom-color:#B5D9DC}
.ct4 .fld input:focus,.ct4 .fld textarea:focus{border-bottom-color:var(--teal);background:transparent;box-shadow:none}
.ct4 .fld input::placeholder,.ct4 .fld textarea::placeholder{color:#A3B9BC;opacity:1}
.ct4 .ct-send{height:34px;padding:2px 22px 0;border:0;border-radius:8px;background:var(--teal);color:#fff;font-size:14px;font-weight:700;box-shadow:none;transform:none;white-space:nowrap}
.ct4 .ct-send:hover{background:var(--teal-dark)}
.ct4-info{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #E3EFF0}
.ct4-info .ct2-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px 26px}
.ct4-info .ct2-list li{gap:8px}
.ct4-info .ct2-list .ci{width:26px;height:26px;border-radius:7px;background:var(--teal-soft)!important;color:var(--teal-dark)}
.ct4-info .ct2-list .ci svg{width:14px;height:14px}
.ct4-info .ct2-t small{display:none}
.ct4-info .ct2-t,.ct4-info .ct2-t a{font-size:13px;line-height:1.6;color:var(--ink)}
.ct4-info .ct2-t a:hover{color:var(--teal-dark)}
.ct4-info .ct-soc{display:flex;gap:10px;margin:0;padding:0;border:0;width:auto}
.ct4-info a.soc{display:flex;width:auto;height:auto;padding:0;border:0;background:none!important;box-shadow:none;transform:none;filter:none;opacity:1}
.ct4-info .soc .si{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fff!important;border:1px solid #E3EFF0!important;box-shadow:0 1px 3px rgba(15,40,38,.08)}
.ct4-info .soc .si svg{width:18px;height:18px}
.ct4-info .soc .sl{display:none}
@media (max-width:760px){.ct4{padding:14px 14px 10px}.ct4-row{grid-template-columns:1fr;gap:10px}.ct4-row2{grid-template-columns:1fr}.ct4 .ct-send{justify-self:start}.ct4-info{flex-direction:column;align-items:flex-start}}
/* نئے ساتھی stands out in brown; dropdown arrows in light turquoise */
.nav a.tab.nav-new{background:var(--gold);border-color:var(--gold);color:#fff}
.nav a.tab.nav-new:hover{background:#9A6C13;border-color:#9A6C13;color:#fff}
.nav a.tab.nav-new[aria-current="page"]{background:#8A5F0F;border-color:#8A5F0F;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.ni>a.tab::after{border-color:#5CC4CB;opacity:1}
.ni>a.tab.nav-new::after{border-color:#F3DFB4}
/* contact strip: four equal, centred columns with thin dividers */
.ct4-info{display:grid;grid-template-columns:1.6fr 1.2fr 1fr .9fr;align-items:center;gap:0}
.ct4-info .ct2-list{display:contents}
.ct4-info .ct2-list li,.ct4-info .ct-soc{display:flex;align-items:center;justify-content:center;gap:9px;height:34px;padding:0 12px;min-width:0}
.ct4-info .ct2-list li + li,.ct4-info .ct-soc{border-inline-start:1px solid #E3EFF0}
.ct4-info .ct2-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct4-info .ct-soc{gap:12px}
@media (max-width:1000px){.ct4-info{grid-template-columns:1fr 1fr;row-gap:8px}.ct4-info .ct2-list li:nth-child(3){border-inline-start:0}}
@media (max-width:560px){.ct4-info{grid-template-columns:1fr}.ct4-info .ct2-list li,.ct4-info .ct-soc{justify-content:flex-start;border:0!important;padding:0}}

/* contact: centred compact form + info band (reference layout) */
.ct5{background:#fff;border:1px solid #DCEEF0;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.ct5-top{max-width:640px;margin:0 auto;padding:20px 20px 22px;text-align:center}
.ct5-top h2{margin:0;font-size:26px;line-height:1.6;color:var(--ink)}
.ct5-top>p{margin:0 0 12px;font-size:14px;font-weight:700;line-height:1.8;color:#3B4A4C}
.ct5 #ctform{display:grid;gap:8px;margin:0;text-align:right}
.ct5-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ct5 .fld{gap:2px}
.ct5 .fld label{font-size:12px;line-height:1.5;color:#3B4A4C;padding-inline-start:4px}
.ct5 .fld input,.ct5 .fld textarea{border:1px solid transparent;border-radius:999px;background:#EDF1F2;padding:2px 14px 0;font-size:13.5px;line-height:1.75;box-shadow:none;outline:0}
.ct5 .fld input[dir="ltr"]{padding:6px 14px;font-size:13px;line-height:1.4}
.ct5 .fld textarea{border-radius:14px;min-height:52px;resize:vertical}
.ct5 .fld input::placeholder,.ct5 .fld textarea::placeholder{color:#9AAAAD;opacity:1}
.ct5 .fld input:focus,.ct5 .fld textarea:focus{background:#fff;border-color:var(--teal);box-shadow:0 0 0 3px rgba(23,160,168,.12)}
.ct5 .ct-send{width:100%;height:36px;margin-top:4px;padding:2px 0 0;border:0;border-radius:999px;background:var(--teal);color:#fff;font-size:14.5px;font-weight:700;box-shadow:none;transform:none}
.ct5 .ct-send:hover{background:var(--teal-dark)}
.ct5-band{padding:0 28px;background:linear-gradient(180deg,transparent 0,transparent 55%,var(--teal) 55%)}
.ct5-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 18px 16px;background:#EEF2F3;border-radius:14px 14px 0 0}
.ct5-col{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}
.ct5-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--teal);color:#fff;margin-bottom:6px;box-shadow:0 4px 10px rgba(23,160,168,.25)}
.ct5-ic svg{width:24px;height:24px}
.ct5-col h3{margin:0;font-size:16px;line-height:1.7;color:var(--ink)}
.ct5-col p{margin:0;font-size:12.5px;line-height:1.8;color:#3B4A4C}
.ct5-col p a{color:#3B4A4C;text-decoration:none;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.5px}
.ct5-col p a:hover{color:var(--teal-dark)}
.ct5-col .ct-soc{display:flex;justify-content:center;gap:10px;margin:4px 0 0;padding:0;border:0;width:auto}
.ct5-col a.soc{display:flex;width:auto;height:auto;padding:0;border:0;background:none!important;box-shadow:none;transform:none;filter:none;opacity:1}
.ct5-col .soc .si{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fff!important;border:0!important;box-shadow:0 1px 4px rgba(15,40,38,.12)}
.ct5-col .soc .si svg{width:18px;height:18px}
.ct5-col .soc .sl{display:none}
@media (max-width:760px){.ct5-row{grid-template-columns:1fr}.ct5-band{padding:0 12px}.ct5-info{grid-template-columns:1fr;gap:16px}}
.ct5 .ct-send{display:flex;align-items:center;justify-content:center}
.ct5 .fld input,.ct5 .fld input[dir="ltr"]{height:36px;padding-block:0}
.ct5 .fld input:not([dir="ltr"]){padding-top:3px}
.ct5-band{padding-bottom:16px}
.ct5-info{border-radius:14px}
/* contact: tighter height (widths unchanged) */
.ct5-top{padding:12px 20px 14px}
.ct5-top h2{font-size:22px;line-height:1.5}
.ct5-top>p{margin:0 0 6px;font-size:13px;line-height:1.6}
.ct5 #ctform{gap:6px}
.ct5 .fld{gap:0}
.ct5 .fld label{font-size:11.5px;line-height:1.4}
.ct5 .fld input,.ct5 .fld input[dir="ltr"]{height:32px}
.ct5 .fld textarea{min-height:40px;height:40px;padding-top:4px}
.ct5 .ct-send{height:32px;margin-top:2px}
.ct5-band{padding-bottom:10px;background:linear-gradient(180deg,transparent 0,transparent 50%,var(--teal) 50%)}
.ct5-info{padding:10px 18px 10px;gap:10px}
.ct5-col{gap:0}
.ct5-ic{width:38px;height:38px;margin-bottom:2px}
.ct5-ic svg{width:18px;height:18px}
.ct5-col h3{font-size:14.5px;line-height:1.6}
.ct5-col p{font-size:12px;line-height:1.65}
.ct5-col p a{font-size:12px}
.ct5-col .ct-soc{margin-top:3px}
.ct5-col .soc .si{width:26px;height:26px}
.ct5-col .soc .si svg{width:16px;height:16px}

/* contact: one sleek low card in three columns */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ct6{display:grid;grid-template-columns:1.9fr 1.15fr .75fr;background:#fff;border:1px solid #DCEEF0;border-radius:16px;box-shadow:0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.ct6-col{padding:14px 24px 16px;min-width:0}
.ct6-col + .ct6-col{border-inline-start:1px solid #E3EFF0}
.ct6-col h2,.ct6-col h3{margin:0 0 10px;font-size:16px;line-height:1.6;color:var(--teal-dark);display:flex;align-items:center;gap:8px}
.ct6-col h2::before,.ct6-col h3::before{content:"";width:3px;height:16px;border-radius:2px;background:var(--teal)}
.ct6 #ctform{display:grid;gap:10px;margin:0}
.ct6-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ct6-row2{display:grid;grid-template-columns:1fr 110px;gap:10px}
.ct6 input{width:100%;height:36px;border:1px solid #D9E7E9;border-radius:9px;background:#FAFCFC;padding:3px 12px 0;font:inherit;font-size:13.5px;line-height:1;color:var(--ink);outline:0;box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s}
.ct6 input[dir="ltr"]{padding:0 12px;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px;text-align:right}
.ct6 input::placeholder{color:#9AAEB1;opacity:1}
.ct6 input:hover{border-color:#BFDDE0}
.ct6 input:focus{background:#fff;border-color:var(--teal);box-shadow:0 0 0 3px rgba(23,160,168,.12)}
.ct6 .ct-send{display:flex;align-items:center;justify-content:center;height:36px;padding:3px 0 0;border:0;border-radius:9px;background:var(--teal);color:#fff;font-size:14px;font-weight:700;box-shadow:none;transform:none;cursor:pointer}
.ct6 .ct-send:hover{background:var(--teal-dark)}
.ct6-addr ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.ct6-addr li{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.6;color:var(--ink);min-width:0}
.ct6-addr .ci{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:var(--teal-soft);color:var(--teal-dark)}
.ct6-addr .ci svg{width:14px;height:14px}
.ct6-addr a{color:var(--ink);text-decoration:none;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px}
.ct6-addr a:hover{color:var(--teal-dark)}
.ct6-list{display:grid;gap:9px}
.ct6-soc{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:13.5px;line-height:1.6;border-radius:8px;transition:color .15s}
.ct6-soc .si{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#fff;box-shadow:0 1px 3px rgba(15,40,38,.12),inset 0 0 0 1px #EEF3F4}
.ct6-soc .si svg{width:17px;height:17px}
.ct6-soc:hover{color:var(--teal-dark)}
@media (max-width:1000px){.ct6{grid-template-columns:1fr 1fr}.ct6-form{grid-column:1 / -1;border-bottom:1px solid #E3EFF0}.ct6-addr{border-inline-start:0!important}}
@media (max-width:600px){.ct6{grid-template-columns:1fr}.ct6-row{grid-template-columns:1fr}.ct6-col + .ct6-col{border-inline-start:0;border-top:1px solid #E3EFF0}.ct6-form{border-bottom:0}}
.ct6 .ct-send{width:100%;justify-self:stretch;margin:0}
.ct6 input[dir="ltr"]::placeholder{font-family:"Mehr Nastaliq","Segoe UI",sans-serif;font-size:13.5px}
.ct6 input[dir="ltr"]:placeholder-shown{direction:rtl}

/* home: equal spacing, chain link between sections, sleek bottom finish */
.hero{padding-bottom:0}
section.hs,.qrs.hs{padding-block:0}
.hlink{display:flex;align-items:center;justify-content:center;height:40px;position:relative}
.hlink::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:linear-gradient(180deg,transparent,#9FDCE0 30%,#9FDCE0 70%,transparent)}
.hlink svg{position:relative;width:34px;height:17px;padding:0 3px;background:var(--sheet-bg,#F6FAFA)}
.hlink rect{fill:none;stroke:var(--teal);stroke-width:2.6}
.hlink rect + rect{stroke:#E8B53A}
.hero-band{box-shadow:inset 0 -3px 0 #E8B53A,0 6px 16px rgba(12,135,144,.14)}
.home .card,.grid4 .card{box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 4px 12px rgba(15,40,38,.05)}
.daily .poem,.qrs-box,.ct6{box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.contact{padding-block:0 4px}
.sheet .site-foot{margin-top:40px}

/* QR header: proper heading, balanced */
.qrs-box{padding:18px 22px 20px}
.qrs-head{align-items:center;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #E3EFF0}
.qrs-ttl{display:flex;flex-direction:column;gap:2px}
.qrs-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:19px;line-height:1.6;color:var(--teal-dark)}
.qrs-head h2::before{content:"";width:3px;height:18px;border-radius:2px;background:var(--teal)}
.qrs-head h2 .en{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px;font-weight:600;color:var(--ink-soft);margin:0;padding:2px 8px 1px;border:1px solid #DCEEF0;border-radius:6px;background:#F6FBFB}
.qrs-head p{margin:0;padding-inline-start:13px;font-size:13px;line-height:1.7;color:var(--ink-soft)}
.qrs-zip{height:36px;padding:3px 16px 0;gap:8px;font-size:13.5px;align-self:center}
.qrs-zip bdi.lt{font-size:11px;padding:1px 6px 0;border-radius:4px;background:rgba(255,255,255,.22);margin:0}

/* ===== Audio learning cards + pages ===== */
.audbox{background:#fff;border:1px solid #DCEEF0;border-radius:16px;padding:16px 20px 18px;box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
.aud-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #E3EFF0}
.aud-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:19px;line-height:1.6;color:var(--teal-dark)}
.aud-head h2::before{content:"";width:3px;height:18px;border-radius:2px;background:var(--teal)}
.aud-head p{margin:0;font-size:13px;color:var(--ink-soft)}
.audgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.acard{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid #DCEEF0;border-radius:14px;background:linear-gradient(180deg,#FFFFFF,#F6FBFB)}
.acard-h{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.acard-h .ic.cic{flex:0 0 48px;width:48px;height:48px;border-radius:13px;background:linear-gradient(180deg,#FFFFFF,#F1F8F9);box-shadow:inset 0 0 0 1px #DDEFF1}
.acard-h .ic.cic svg{width:32px;height:32px}
.acard-h b{display:block;font-size:17px;line-height:1.6}
.acard-h small{display:block;font-size:12.5px;color:var(--ink-soft);line-height:1.6}
.acard-b{flex:1;min-height:58px;display:flex;align-items:center}
.acard-b .arow{flex:1}
.amore{align-self:flex-start;font-size:13.5px;color:var(--teal-dark);text-decoration:none;border-bottom:1px solid #9FDCE0;line-height:1.8}
.amore:hover{border-color:var(--teal-dark)}
.aempty{margin:0;font-size:13.5px;color:var(--ink-soft)}
.aempty.small{font-size:13px}
.arow{display:flex;align-items:center;gap:10px;min-width:0}
.aplay{flex:none;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--teal);color:#fff;cursor:pointer;box-shadow:0 3px 8px rgba(23,160,168,.25);transition:background .15s,transform .15s}
.aplay:hover{background:var(--teal-dark)}.aplay:active{transform:scale(.95)}
.aplay svg{width:18px;height:18px}
.aplay.on{background:var(--teal-dark)}
.ainfo{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.6}
.ainfo b{font-size:14.5px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ainfo>span{font-size:12.5px;color:var(--ink-soft)}
.aprog{display:flex;align-items:center;gap:8px;margin-top:2px}
.aprog input{flex:1;min-width:0;height:18px;accent-color:var(--teal);direction:ltr}
.atime{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:11.5px;color:var(--ink-soft);white-space:nowrap}
.adl{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid #CFE8EA;color:var(--teal-dark);background:#fff}
.adl:hover{background:var(--teal-soft)}
.adl svg{width:16px;height:16px}
.apage-h{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #E3EFF0}
.apage-h .ic.cic{flex:0 0 60px;width:60px;height:60px;border-radius:16px;background:linear-gradient(180deg,#FFFFFF,#F1F8F9);box-shadow:inset 0 0 0 1px #DDEFF1}
.apage-h .ic.cic svg{width:40px;height:40px}
.apage-h h1{margin:0;font-size:24px;line-height:1.6;color:var(--teal-dark)}
.apage-h p{margin:0;font-size:13.5px;color:var(--ink-soft)}
#alatest .arow.big{padding:14px 16px;border:1px solid #CFE8EA;border-radius:14px;background:var(--teal-soft)}
#alatest .arow.big .aplay{width:52px;height:52px}
#alatest .arow.big .aplay svg{width:22px;height:22px}
#alatest .arow.big .ainfo b{font-size:17px;white-space:normal}
.aarch-h{margin:20px 0 6px;font-size:17px;color:var(--ink)}
.alist .arow{padding:10px 4px;border-top:1px solid #E7F1F2}
.amorebtn{margin-top:12px}
.aold{margin:16px 0 0;font-size:13.5px;color:var(--ink-soft)}
.aold a{color:var(--teal-dark)}
@media (max-width:1000px){.audgrid{grid-template-columns:1fr}}
@media (max-width:460px){.audbox{padding:14px 12px}.ainfo b{white-space:normal}}
.arow [hidden],.amorebtn[hidden],.apage [hidden]{display:none!important}
.acard .ainfo b{white-space:normal}

/* header: tabs removed; compact ayah banner with the logo badge */
.top .hdr1.hdr-band{display:block;padding-block:14px 0;height:auto}
.hb-small{display:block;padding:14px 130px 14px;border-radius:16px}
.hb-small .brand{position:absolute;z-index:2;top:50%;right:22px;transform:translateY(-50%);display:block;line-height:0}
.hb-small .brand .logo-img{width:92px;height:92px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.22))}
.hb-small .ar{font-size:30px;line-height:1.75}
.hb-small .hero-div{margin:0 auto 2px;width:min(240px,60%)}
.hb-small .tr{font-size:15.5px;line-height:1.9}
.hb-small cite{margin-top:2px;font-size:13.5px;gap:8px}
.hb-small cite .br{font-size:19px}
.hb-small cite .ref{padding-top:5px}
@media (max-width:760px){.hb-small{padding:12px 14px 12px 96px}.hb-small .brand{right:auto;left:12px}.hb-small .brand .logo-img{width:68px;height:68px}.hb-small .ar{font-size:21px}.hb-small .tr{font-size:14px;white-space:normal}}
/* نئے ساتھی card: brown border to stand out */
.grid4 .card.card-new{border-color:var(--gold);box-shadow:inset 0 -3px 0 var(--gold),0 1px 2px rgba(15,40,38,.04),0 4px 12px rgba(176,125,26,.10);background:linear-gradient(180deg,#FFFFFF,#FCF7EE)}
.grid4 .card.card-new:hover{border-color:#9A6C13}
.grid4 .card.card-new .tt{color:#8A5F0F}
.grid4 .card.card-new .ic.cic{box-shadow:inset 0 0 0 1px #EBD9B4,0 2px 6px rgba(176,125,26,.08)}

/* audio cards on home — same card style, larger */
.audgrid2{gap:16px}
.card.acard2{position:relative;align-items:center;gap:16px;min-height:118px;padding:16px 18px;box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 4px 12px rgba(15,40,38,.05)}
.card.acard2:hover{transform:none}
.acard2 .ac-link{flex:none;line-height:0}
.acard2 .ic.cic{flex:0 0 64px;width:64px;height:64px;border-radius:16px;background:linear-gradient(180deg,#FFFFFF,#F1F8F9);box-shadow:inset 0 0 0 1px #DDEFF1,0 2px 6px rgba(15,40,38,.06)}
.acard2 .ic.cic svg{width:42px;height:42px}
.acard2 .tx{flex:1;gap:0}
.acard2 .ac-t{text-decoration:none;color:var(--ink)}
.acard2 .tt{font-size:20px;line-height:1.6}
.acard2 .bl{font-size:13px;line-height:1.6}
.acard2 .ac-when{font-size:14px;line-height:1.8;color:var(--teal-dark);font-weight:700}
.acard2.aoff .ac-when{color:var(--ink-soft);font-weight:400}
.acard2 .ac-foot{display:flex;gap:14px;font-size:12.5px;line-height:1.8}
.acard2 .ac-foot a{color:var(--ink-soft);text-decoration:none;border-bottom:1px solid #CFE8EA}
.acard2 .ac-foot a:hover{color:var(--teal-dark);border-color:var(--teal-dark)}
.acard2 .aprog{margin:2px 0}
.acard2 .aplay{width:52px;height:52px;align-self:center}
.acard2 .aplay svg{width:22px;height:22px}
.acard2 .aplay:disabled{background:#D9E7E9;color:#fff;box-shadow:none;cursor:default}
@media (max-width:1100px){.audgrid2{grid-template-columns:1fr}}

/* thin white info strip at the very top */
.istrip{background:#fff;border-bottom:1px solid #E3EFF0}
.istrip .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;min-height:36px;padding-block:3px}
.is-g{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.is-i{display:inline-flex;align-items:center;gap:6px;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.5px;color:#3B4A4C;text-decoration:none;line-height:1}
.is-i svg{width:14px;height:14px;color:var(--teal)}
.is-i:hover{color:var(--teal-dark)}
.is-g .is-i + .is-i{padding-inline-start:16px;border-inline-start:1px solid #DCEBED}
.is-soc-g{display:inline-flex;gap:6px;padding-inline-start:16px;border-inline-start:1px solid #DCEBED}
.is-soc{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px #E3EFF0;text-decoration:none;transition:transform .15s}
.is-soc:hover{transform:translateY(-1px)}
.is-soc .si{display:grid;place-items:center;background:none!important;border:0!important;box-shadow:none!important;width:auto;height:auto}
.is-soc svg{width:14px;height:14px}
.istrip .tb-date.is-date{gap:8px;font-size:12.5px;color:#3B4A4C}
.istrip .tb-date.is-date i{background:#CFE3E5;height:12px}
.istrip .tb-date.is-date .num{font-size:12px}
.istrip .lswitch{transform:scale(.72);transform-origin:center;margin-inline:-14px}
/* turquoise bar now holds only the search, centred and slimmer */
.topbar .wrap{justify-content:center;height:56px}
@media (max-width:760px){.istrip .wrap{justify-content:center}.is-g{justify-content:center;gap:10px}.is-g .is-i + .is-i,.is-soc-g{padding-inline-start:10px}}
.istrip .tb-date.is-date,.istrip .tb-date.is-date span,.istrip .tb-date.is-date .hj{color:#3B4A4C;height:auto}
.istrip .tb-date.is-date .hj{color:var(--teal-dark)}
.istrip .lswitch{transform:none;margin:0;width:104px;height:26px;padding:2px;border:1px solid #BFE1E3;flex:none}
.istrip .lswitch .ls-ur{font-size:12.5px;padding-top:3px}
.istrip .lswitch .ls-en{font-size:11px}
.istrip .ls-knob{top:2px;bottom:2px;inset-inline-start:2px;width:calc(50% - 2px)}
@media (max-width:560px){.istrip .wrap{gap:6px 12px}.istrip .is-i{font-size:11.5px}}
/* banner full width like the top strip; badge with turquoise + white border */
.top .hdr1.hdr-band{max-width:none;padding:0}
.top .hb-small{border-radius:0;padding-inline:max(130px,calc((100% - 1160px)/2 + 120px))}
.hb-small .brand{right:max(22px,calc((100% - 1160px)/2))}
.hb-small .badge{display:block;padding:3px;border-radius:18px;background:#fff;border:2px solid #5CC4CB;box-shadow:0 0 0 1px rgba(12,135,144,.35),0 6px 16px rgba(0,0,0,.22)}
.hb-small .badge .logo-img{display:block;width:84px;height:84px;border-radius:13px;filter:none}
@media (max-width:760px){.top .hb-small{padding:12px 14px 12px 92px}.hb-small .brand{right:auto;left:12px}.hb-small .badge .logo-img{width:60px;height:60px;border-radius:10px}.hb-small .badge{border-radius:14px;padding:2px}}
.top{background:#fff}.top .hdr1.hdr-band{padding-top:10px}

/* back-to-home: breadcrumb at the top of every inner page + floating button */
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;padding-top:16px;padding-bottom:0;font-size:14px;line-height:1.6}
.crumbs a.home-btn{color:#fff}
.home-btn{display:inline-flex;align-items:center;gap:7px;height:34px;padding:3px 14px 0;border-radius:999px;background:var(--teal);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 3px 8px rgba(23,160,168,.25)}
.home-btn:hover{background:var(--teal-dark)}
.home-btn svg{width:16px;height:16px;margin-top:-3px}
.cr-sep{color:#9FB7B9;font-size:16px}
.cr-here{color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.home-fab{position:fixed;z-index:60;bottom:18px;right:18px;display:none;align-items:center;gap:7px;height:42px;padding:3px 16px 0;border-radius:999px;background:var(--teal);color:#fff;text-decoration:none;font-weight:700;font-size:14px;box-shadow:0 6px 18px rgba(12,135,144,.35)}
.home-fab:hover{background:var(--teal-dark)}
.home-fab svg{width:18px;height:18px;margin-top:-3px}
body.inner .home-fab{display:inline-flex}
@media (max-width:560px){.home-fab span{display:none}.home-fab{width:46px;height:46px;padding:0;justify-content:center}.home-fab svg{margin:0}}

/* sleek dropdowns (replace the browser's blue highlight) */
.csel{position:relative;display:flex;align-self:stretch}
.csel>select{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.csel-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font:inherit;cursor:pointer;color:inherit;background:none;border:0;text-align:start}
.csel-btn svg{flex:none;width:15px;height:15px;opacity:.7;transition:transform .15s}
.csel-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.csel-list{position:absolute;z-index:80;top:calc(100% + 6px);inset-inline-start:0;min-width:100%;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #D6EBED;border-radius:12px;box-shadow:0 12px 30px rgba(15,40,38,.14);max-height:320px;overflow:auto}
.csel-list li{padding:6px 14px 3px;border-radius:8px;font-size:15px;line-height:1.9;color:var(--ink);cursor:pointer;white-space:nowrap}
.csel-list li:hover,.csel-list li.act{background:rgba(23,160,168,.12);color:var(--teal-dark)}
.csel-list li[aria-selected="true"]{color:var(--teal-dark);font-weight:700}
.csel-list li[aria-selected="true"]::after{content:"✓";float:inline-end;margin-inline-start:14px;font-family:"Segoe UI",sans-serif;font-size:12px;color:var(--teal)}
/* header search: the category part */
.bigsearch .csel{flex:none;border-inline-end:1px solid var(--line);background:#F3FAFA}
.bigsearch .csel-btn{height:100%;padding:3px 14px 0 10px;font-size:16px;font-weight:700;color:var(--ink-teal)}
.bigsearch .csel-btn:hover,.bigsearch .csel-btn:focus-visible{background:#E3F4F5;outline:none}
/* form fields (Q&A filters) */
.field .csel-btn{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;padding:3px 10px 1px;line-height:2;font-size:16px}
.field .csel-btn:focus-visible{outline:none;border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}
@media (max-width:560px){.bigsearch .csel-btn{font-size:14px;padding:3px 8px 0}}
.bigsearch{overflow:visible}
.bigsearch .csel,.bigsearch .csel-btn{border-start-start-radius:999px;border-end-start-radius:999px}
.bigsearch>button[type="submit"],.bigsearch>button:last-child{border-start-end-radius:999px;border-end-end-radius:999px}
.csel-list li{display:flex;align-items:center;justify-content:space-between;gap:14px}
.csel-list li[aria-selected="true"]::after{float:none;margin:0 0 4px}

/* badge: white is the outer border */
.hb-small .badge{border:0;padding:3px;box-shadow:0 6px 16px rgba(0,0,0,.22)}
/* ticker: dates, prayer times, contact */
.tk-run>span,.tk-run>a{flex:none;display:flex;align-items:center;gap:8px;height:56px;padding:0 22px 4px;font-size:16.5px;color:var(--ink);text-decoration:none;white-space:nowrap;line-height:1}
.tk-run b{font-weight:700;color:var(--teal-dark)}
.tk-run bdi{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14.5px;font-weight:600;color:#2F3B3D;padding-top:4px}
.tk-run .tk-hj{color:var(--teal-dark);font-weight:700}
.tk-run>a:hover b{text-decoration:underline;text-underline-offset:6px}
.tk-run i{width:6px;height:6px;border-radius:50%;background:var(--teal);opacity:.55}
@media (max-width:560px){.tk-run>span,.tk-run>a{height:50px;font-size:15px;padding:0 16px 4px}}
/* top strip: social · search · language */
.istrip .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;min-height:46px;padding-block:6px}
.istrip .is-soc-g{padding:0;border:0;gap:8px}
.istrip .is-soc{width:26px;height:26px;border-radius:7px}
.istrip .is-soc svg{width:15px;height:15px}
.istrip .bigsearch{flex:0 1 520px;height:34px;border:1px solid #BFE1E3;box-shadow:none;background:#fff}
.istrip .bigsearch .csel{background:#F3FAFA}
.istrip .bigsearch .csel-btn{font-size:13.5px;padding:3px 12px 0 8px}
.istrip .bigsearch input{font-size:14px;padding:0 12px}
.istrip .bigsearch>button{font-size:13.5px;padding:0 14px;background:var(--teal);color:#fff}
.istrip .bigsearch>button:hover{background:var(--teal-dark)}
.istrip .bigsearch>button svg{width:15px;height:15px}
.istrip .csel-list li{font-size:14px}
@media (max-width:760px){.istrip .wrap{flex-wrap:wrap;justify-content:center}.istrip .bigsearch{order:3;flex:1 1 100%;max-width:none}}
.bigsearch .csel-btn{background:#F3FAFA!important;color:var(--ink-teal,#0C6B72)!important;min-width:0}
.bigsearch .csel-btn:hover{background:#E3F4F5!important}
.bigsearch .csel-btn span{display:inline!important}

/* ticker — refined typography & spacing */
.ticker{height:58px}
.tk-run>span,.tk-run>a{gap:10px;height:58px;padding:0 26px;font-size:18px;line-height:1;align-items:center}
.tk-run .tl{display:inline-flex;align-items:center;height:58px;padding-top:9px;font-weight:700;color:var(--teal-dark)}
.tk-run .tv{display:inline-flex;align-items:center;height:58px;padding-top:9px;color:#2B3436}
.tk-run .tv bdi{font-family:inherit;font-size:19px;font-weight:400;color:inherit;padding:0;letter-spacing:.5px}
.tk-run .tv.lat{padding-top:0}
.tk-run .tv.lat bdi{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:15px;font-weight:500;letter-spacing:.2px;color:#2B3436}
.tk-run i{width:2px;height:24px;border-radius:2px;background:#7FCFD4;opacity:1}
@media (max-width:560px){.ticker{height:52px}.tk-run>span,.tk-run>a,.tk-run .tl,.tk-run .tv{height:52px}.tk-run>span,.tk-run>a{font-size:16px;padding:0 18px}}

/* ticker numbers: classic serif numerals (Cinzel) that sit level with the Urdu */
.tk-run .tl,.tk-run .tv{padding-top:8px}
.tk-run .tv{gap:6px}
.tk-run .tv bdi.n{display:inline-block;font-family:"Cinzel",Georgia,serif;font-weight:600;font-size:16px;letter-spacing:.6px;color:#24494C;padding:0 1px;margin-top:-8px;line-height:1}
.tk-run .tv.lat{padding-top:0}
.tk-run .tv.lat bdi{margin-top:0}
/* footer bottom piece: white band, turquoise text */
.sheet .site-foot{padding-bottom:0}
.site-foot .f-copy{position:relative;margin-top:16px;padding:14px 0 16px;border-top:0;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax);color:var(--teal-dark)}
.site-foot .f-copy,.site-foot .f-cr .cr-ur,.site-foot .f-cr .cr-en{color:var(--teal-dark)}
.site-foot .f-copy .f-sep{background:#CFE8EA}
.site-foot .f-fonts{color:var(--teal-dark);border-color:#9FDCE0;background:#fff}
.site-foot .f-fonts:hover{background:var(--teal-soft)}
/* top white strip — taller, with larger controls */
.istrip .wrap{min-height:72px;padding-block:12px;gap:12px 28px}
.istrip .is-soc-g{gap:10px}
.istrip .is-soc{width:38px;height:38px;border-radius:10px;box-shadow:0 0 0 1px #E3EFF0,0 2px 6px rgba(15,40,38,.06)}
.istrip .is-soc svg{width:21px;height:21px}
.istrip .bigsearch{flex:0 1 600px;height:46px;border:1.5px solid #9FDCE0;box-shadow:0 2px 8px rgba(15,40,38,.05)}
.istrip .bigsearch .csel-btn{font-size:16px;padding:4px 16px 0 12px}
.istrip .bigsearch input{font-size:16.5px;padding:2px 16px 0}
.istrip .bigsearch>button{font-size:16px;padding:2px 20px 0;gap:8px}
.istrip .bigsearch>button svg{width:18px;height:18px}
.istrip .csel-list li{font-size:15px}
.istrip .lswitch{width:150px;height:40px;padding:3px;border:1.5px solid #9FDCE0}
.istrip .lswitch .ls-ur{font-size:17px;padding-top:6px}
.istrip .lswitch .ls-en{font-size:14px}
.istrip .ls-knob{top:3px;bottom:3px;inset-inline-start:3px;width:calc(50% - 3px)}
@media (max-width:760px){.istrip .wrap{min-height:0;padding-block:10px}.istrip .bigsearch{height:44px}.istrip .is-soc{width:34px;height:34px}.istrip .lswitch{width:132px;height:36px}}
.tk-run .tv.tv-addr{gap:0;white-space:pre}
.tk-run .tv.tv-addr bdi.n{padding:0 0 0 1px}
.site-foot .f-copy,.site-foot .f-copy *,.site-foot .f-cr .cr-ur,.site-foot .f-cr .cr-en,.site-foot .f-fonts{color:#1F2A2B}
.tk-run .tv.tv-addr{white-space:nowrap;word-spacing:4px;letter-spacing:0;font-size:18px}
.tk-run .tv.tv-addr bdi.n{margin-inline:3px}
.ct6-addr li span{line-height:1.9}
.f-langs a#fl-ur,.site-foot .f-langs a#fl-ur{font-family:"Mehr Nastaliq","Jameel Noori Nastaleeq",serif;font-size:18px;font-weight:700}.f-langs a#fl-ur span{padding-top:6px}
.f-langs a#fl-ur span{padding-top:0;margin-top:-4px;font-size:19px}
.f-langs a#fl-ur span{margin-top:0;padding-top:4px}
/* ticker: English and numbers in a clean sans-serif, slightly smaller */
.tk-run .tv bdi.n,.tk-run .tv.lat bdi{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;font-weight:600;font-size:14.5px;letter-spacing:.2px;color:#24494C}
.tk-run .tv.lat bdi{font-weight:500;font-size:14px}
/* page (sheet) background a little deeper so white cards stand out */
.sheet{background:#E8F1F2}
.hlink svg{background:#E8F1F2}
.tk-run .tl,.tk-run .tk-hj,.tk-run b{font-weight:400}
/* top strip app icons: brand-coloured tile + thick white square border */
.istrip .is-soc{width:42px;height:42px;border-radius:11px;border:3px solid #fff;box-shadow:0 0 0 1px #D5E4E6,0 3px 8px rgba(15,40,38,.12)}
.istrip .is-soc svg{width:22px;height:22px}
.istrip .is-soc.wa{background:#25D366}
.istrip .is-soc.wa svg path:first-child{fill:none;stroke:#fff;stroke-width:1.8}
.istrip .is-soc.fb{background:#1877F2}
.istrip .is-soc.fb svg circle{fill:none}
.istrip .is-soc.fb svg{width:26px;height:26px}
.istrip .is-soc.yt{background:#FF0000}
.istrip .is-soc.yt svg rect{fill:#fff}
.istrip .is-soc.yt svg path{fill:#FF0000}
.istrip .is-soc:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #C5DADD,0 5px 12px rgba(15,40,38,.16)}
@media (max-width:760px){.istrip .is-soc{width:38px;height:38px}}
.istrip .is-soc{width:44px;height:44px;border-width:6px;border-radius:13px;box-shadow:0 0 0 1px #D5E4E6,0 3px 10px rgba(15,40,38,.12)}
.istrip .is-soc svg{width:18px;height:18px}
.istrip .is-soc.fb svg{width:21px;height:21px}
.istrip .is-soc{background-clip:padding-box}
@media (max-width:760px){.istrip .is-soc{width:40px;height:40px;border-width:5px}}
.site-foot .f-links.sub span{color:#F2D27A!important}

/* ===== تعارفِ شیخ و سلسلہ — structured profile page ===== */
.ab{padding-bottom:10px}
.ab-top{margin-top:16px;background:#fff;border:1px solid #DCEEF0;border-radius:18px;box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05);overflow:hidden}
.ab-id{display:flex;align-items:center;gap:20px;padding:22px 28px 18px}
.ab-id .ic.cic{flex:0 0 76px;width:76px;height:76px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(180deg,#FFFFFF,#F1F8F9);box-shadow:inset 0 0 0 1px #DDEFF1,0 2px 8px rgba(15,40,38,.06)}
.ab-id .ic.cic svg{width:50px;height:50px}
.ab-k{margin:0;font-size:13px;color:var(--teal);line-height:1.6}
.ab-id h1{margin:0;font-size:30px;line-height:1.6;color:#0B4F55}
.ab-role{margin:2px 0 8px;font-size:15.5px;color:var(--ink-soft);line-height:1.8}
.ab-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.ab-tags span{padding:3px 12px 0;border-radius:999px;background:var(--teal-soft);color:var(--teal-dark);font-size:13px;line-height:1.9;border:1px solid #CFE8EA}
.ab-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:10px 22px 14px;border-top:1px solid #E3EFF0;background:#F7FBFB}
.ab-tabs a{padding:5px 16px 2px;border-radius:999px;border:1px solid #CFE8EA;background:#fff;color:var(--ink);text-decoration:none;font-size:15px;line-height:1.9;transition:background .15s,border-color .15s,color .15s}
.ab-tabs a:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.ab-sec{margin-top:22px;background:#fff;border:1px solid #DCEEF0;border-radius:16px;box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05);scroll-margin-top:16px}
.ab-h{display:flex;align-items:center;gap:12px;padding:14px 26px 12px;border-bottom:1px solid #E3EFF0}
.ab-ic{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--teal-soft);color:var(--teal-dark)}
.ab-ic svg{width:20px;height:20px}
.ab-h h2{margin:0;font-size:21px;line-height:1.6;color:var(--teal-dark)}
.ab-b{padding:16px 28px 22px}
.ab-b p{margin:0 0 14px;font-size:17.5px;line-height:2.15;color:#2E3A38;text-align:justify;text-justify:inter-word}
.ab-b p:last-child{margin-bottom:0}
.ab-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.ab-facts div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px 10px 10px;border-radius:12px;background:linear-gradient(180deg,#F5FBFB,#EAF6F7);border:1px solid #D6ECEE}
.ab-facts b{font-size:24px;line-height:1.5;color:var(--teal-dark)}
.ab-facts span{font-size:13.5px;line-height:1.7;color:var(--ink-soft)}
.ab-tl{list-style:none;margin:0;padding:0;position:relative}
.ab-tl::before{content:"";position:absolute;top:10px;bottom:10px;inset-inline-start:39px;width:2px;background:#CFE8EA}
.ab-tl li{position:relative;display:flex;gap:18px;align-items:flex-start;padding:8px 0 14px}
.ab-tl .y{flex:none;width:80px;height:34px;display:grid;place-items:center;padding-top:3px;border-radius:999px;background:var(--teal);color:#fff;font-size:16px;position:relative;z-index:1}
.ab-tl li div{display:flex;flex-direction:column;line-height:1.8;padding-top:2px}
.ab-tl b{font-size:18px;color:var(--ink)}
.ab-tl div span{font-size:15.5px;color:var(--ink-soft)}
.ab-tl small{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px;color:#5E6F71;margin-top:2px;font-style:italic}
.ab-books{display:flex;flex-wrap:wrap;gap:10px}
.ab-books span{display:inline-flex;align-items:center;gap:8px;padding:8px 18px 5px;border-radius:12px;border:1px solid #D6ECEE;background:#F7FBFB;font-size:17px;color:var(--ink)}
.ab-books span::before{content:"";width:8px;height:8px;border-radius:2px;background:var(--teal);transform:rotate(45deg);margin-top:-4px}
.ab-more{display:inline-block;margin-top:14px;padding:5px 18px 2px;border-radius:999px;background:var(--teal);color:#fff;text-decoration:none;font-size:14.5px;line-height:1.9}
.ab-more:hover{background:var(--teal-dark)}
.ab-chain-w{margin:4px 0 18px;padding:14px 18px 16px;border-radius:14px;background:linear-gradient(180deg,#F5FBFB,#ECF7F8);border:1px solid #D6ECEE}
.ab-chain-h{margin:0 0 8px!important;font-size:14px!important;color:var(--teal-dark)!important;text-align:center!important}
.ab-chain{list-style:none;margin:0 auto;padding:0;display:flex;flex-direction:column;align-items:center;gap:0;max-width:520px}
.ab-chain li{display:flex;flex-direction:column;align-items:center}
.ab-chain li span{display:block;min-width:300px;text-align:center;padding:7px 20px 4px;border-radius:12px;background:#fff;border:1px solid #CFE8EA;font-size:16.5px;line-height:1.9;color:var(--ink);box-shadow:0 1px 3px rgba(15,40,38,.05)}
.ab-chain li + li::before{content:"";width:2px;height:16px;background:#9FDCE0}
.ab-chain li:last-child span{background:var(--teal);border-color:var(--teal);color:#fff}
.ab-call{padding:12px 18px 10px;border-radius:12px;background:#FCF7EE;border:1px solid #EBD9B4;border-inline-start:4px solid var(--gold);font-size:16.5px!important}
.ab-b a:not(.ab-more){color:var(--teal-dark)}
@media (max-width:900px){.ab-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ab-id{flex-direction:column;align-items:flex-start;padding:18px 16px 14px}.ab-id h1{font-size:24px}.ab-b{padding:14px 16px 18px}.ab-h{padding:12px 16px 10px}.ab-b p{text-align:start}.ab-chain li span{min-width:0;width:100%}.ab-tabs{padding:10px 14px 12px}}
.ab-sec{padding:0}.ab-tl .y{font-size:18px}.ab-tl::before{inset-inline-start:39px}
/* about page v2 — one type scale: 17px text, 15px meta, 16px labels, 21px section titles */
.ab-b{padding:6px 28px 22px}
.ab-b p{font-size:17px;line-height:2.1;margin:0;text-align:justify}
.ab .kw{font-weight:400;color:var(--teal-dark)}
.ab-facts{margin:12px 0 8px}
.ab-facts b{font-size:22px}
.ab-facts span{font-size:14px}
.ab-row{display:grid;grid-template-columns:190px 1fr;gap:24px;padding:16px 0;border-top:1px solid #E6F0F1}
.ab-row:first-child,.ab-facts + .ab-row{border-top:0}
.ab-facts + .ab-row{padding-top:12px}
.ab-row h3{position:relative;margin:0;padding-inline-start:14px;font-size:16px;line-height:2.1;color:var(--teal-dark);font-weight:700}
.ab-row h3::before{content:"";position:absolute;inset-inline-start:0;top:12px;width:4px;height:18px;border-radius:2px;background:var(--teal)}
.ab-row > div{border-inline-start:1px solid #E6F0F1;padding-inline-start:24px}
.ab-degs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:12px}
.ab-deg{display:flex;flex-direction:column;align-items:center;text-align:center;padding:16px 14px 14px;border-radius:14px;border:1px solid #D6ECEE;background:linear-gradient(180deg,#FFFFFF,#F2F9FA)}
.ab-deg .y{display:inline-block;padding:3px 16px 0;border-radius:999px;background:var(--teal);color:#fff;font-size:16px;line-height:1.9}
.ab-deg b{margin-top:8px;font-size:19px;line-height:1.8;color:var(--ink)}
.ab-deg > p{font-size:15px!important;line-height:1.9!important;color:var(--ink-soft)!important;text-align:center!important}
.ab-th{margin-top:10px!important;padding-top:10px;border-top:1px dashed #CFE3E5;width:100%;text-align:center!important}
.ab-th span{display:block;font-size:13px;color:var(--teal-dark);line-height:1.8}
.ab-th bdi{display:block;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13.5px;line-height:1.6;color:#3B4A4C;font-style:normal}
.ab-books{padding-top:12px}
.ab-books span{font-size:16px}
.ab-chain-w{margin:6px 0 4px}
.ab-chain li span{font-size:16px}
.ab-call{margin-top:14px!important;font-size:16px!important}
.ab-more{font-size:14px}
.ab-tabs a{font-size:14.5px}
@media (max-width:900px){.ab-row{grid-template-columns:1fr;gap:4px}.ab-row > div{border:0;padding:0}.ab-degs{grid-template-columns:1fr}}
.ab-chain-h{font-size:20px!important;font-weight:700;line-height:1.8!important;margin:0 0 12px!important}
.ab [lang="en"],.ab bdi[dir="ltr"],.ab .ltr,.ab a[href^="http"],.ab .ab-th bdi{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif!important;font-style:normal}.ab-b a[href^="http"]{font-size:15px}

/* ===== Site-wide polish (same system as the تعارف page) ===== */
/* English text everywhere: clean sans-serif, upright */
[lang="en"],bdi[dir="ltr"],.ltr,a[href^="http"].ltr{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;font-style:normal}
/* section cards built by polishPage */
.ab-n{font-size:17px;font-weight:700;padding-top:4px;background:var(--teal);color:#fff}
.ab-cnt{margin-inline-start:auto;padding:2px 12px 0;border-radius:999px;background:var(--teal-soft);color:var(--teal-dark);font-size:14px;line-height:1.9;border:1px solid #CFE8EA}
.ab-b > p{margin:12px 0 0}
.ab-b > p:first-child{margin-top:10px}
.ab-b li{font-size:17px;line-height:2.05;color:#2E3A38}
.ab-b b{color:var(--teal-dark);font-weight:700}
.ab-b .dl{margin-top:8px}
.ab-b .books{margin-top:12px}
.ab-b .sdesc{margin:10px 0 4px;font-size:15px;color:var(--ink-soft)}
.ab-b .steps{margin:12px 0 0;padding:0;list-style:none;counter-reset:st}
.ab-b .steps li{position:relative;padding:10px 54px 10px 14px;margin-bottom:10px;border:1px solid #D6ECEE;border-radius:12px;background:#F7FBFB;counter-increment:st}
.ab-b .steps li::before{content:counter(st);position:absolute;right:14px;top:12px;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;padding-top:3px;background:var(--teal);color:#fff;font-size:15px}
.ab-b ul.aims{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.ab-b ul.aims li{position:relative;padding:8px 32px 6px 12px;border-radius:10px;background:#F7FBFB;border:1px solid #E3EFF0;font-size:16px;line-height:1.9}
.ab-b ul.aims li::before{content:"";position:absolute;right:12px;top:18px;width:8px;height:8px;border-radius:2px;background:var(--teal);transform:rotate(45deg)}
.ab-b .facts{margin:12px 0 6px}
.ab-b .callout,.ab-b .verify.callout{padding:12px 18px 10px;border-radius:12px;background:#FCF7EE;border:1px solid #EBD9B4;border-inline-start:4px solid var(--gold)}
.ab-b table{margin-top:10px}
.ab .ab-top .head{display:none}
@media (max-width:700px){.ab-b ul.aims{grid-template-columns:1fr}}

/* other inner pages (lists, questions, talks, audio): same card finish */
main .panel{border:1px solid #DCEEF0;border-radius:16px;box-shadow:inset 0 -3px 0 var(--teal),0 1px 2px rgba(15,40,38,.04),0 6px 16px rgba(15,40,38,.05)}
main .panel > .head{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #E3EFF0}
main .panel > .head h2,main .panel > h3{display:flex;align-items:center;gap:10px;color:var(--teal-dark)}
main .panel > .head h2::before,main .panel > h3::before{content:"";width:4px;height:20px;border-radius:2px;background:var(--teal)}
main .panel > h3{font-size:18px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #E3EFF0}
main .lcard{border-color:#DCEEF0;box-shadow:inset 0 -3px 0 var(--teal),0 6px 16px rgba(15,40,38,.05)}
/* information pages (privacy, terms…) */
.info{border:1px solid #DCEEF0;border-radius:18px;box-shadow:inset 0 -3px 0 var(--teal),0 6px 16px rgba(15,40,38,.05)}
.in-sec{padding:16px 0;border-top:1px solid #E6F0F1}
.in-sec:first-child{border-top:0}
.in-sec p,.in-sec li{font-size:17px;line-height:2.05}
.info.en .in-sec p,.info.en .in-sec li{font-size:15.5px;line-height:1.75}

/* Urdu links must never fall back to the English sans font */
.ab a[href^="http"]:not(.ltr):not([lang="en"]){font-family:var(--font)!important}
/* book card actions: three tidy buttons */
.book .acts{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid #E3EFF0;font-family:var(--font)}
.book .ba{display:flex;align-items:center;justify-content:center;gap:5px;height:32px;padding:3px 4px 0;border-radius:8px;border:1px solid #CFE8EA;background:#fff;color:var(--teal-dark);font:inherit;font-size:13.5px;line-height:1;text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.book .ba svg{flex:none;width:14px;height:14px;margin-top:-3px}
.book .ba:hover{background:var(--teal-soft);border-color:var(--teal)}
.book .ba.ba-read{background:var(--teal);border-color:var(--teal);color:#fff}
.book .ba.ba-read:hover{background:var(--teal-dark)}
.book .ba.done{background:#E7F6EE;border-color:#9FD8B8;color:#0B7A43}
.book .ba.done span{font-size:11.5px}
@media (max-width:1250px){.book .ba span{font-size:12.5px}.book .ba svg{display:none}}
/* Urdu-digit values inside LTR wrappers keep the Urdu font */
.ainfo bdi,.ac-when bdi,.f-cr .cr-y,.dur bdi{font-family:var(--font)}
/* book titles: smaller, refined, two lines max */
.book .bt{font-size:14.5px;font-weight:700;line-height:1.85;color:#24393B;text-align:center;min-height:3.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:2px 4px 0}
.book .bt[lang="en"]{font-family:"Segoe UI",Roboto,Arial,sans-serif;font-size:12.5px;font-weight:600;line-height:1.45;min-height:2.9em;padding-top:6px}
.book .bimg .cover .t{font-size:19px}

/* install-app button (shows only when the phone/browser can install) */
.inst-btn{display:inline-flex;align-items:center;gap:7px;height:40px;padding:4px 16px 0;border-radius:999px;border:1.5px solid var(--teal);background:#fff;color:var(--teal-dark);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.inst-btn:hover{background:var(--teal);color:#fff}
.inst-btn svg{width:16px;height:16px;margin-top:-4px}
.inst-btn[hidden]{display:none}
.hp{position:absolute!important;inset-inline-start:0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0;pointer-events:none}

/* ===== Smart search results ===== */
.results a.sres{display:block;padding:8px 14px;margin:2px 0;border-radius:10px;border:1px solid transparent;text-decoration:none;color:var(--ink)}
.results a.sres+a.sres{border-top-color:var(--line)}
.results a.sres:hover,.results a.sres:focus{border-color:var(--teal);background:#F2FAFA}
.sr-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sr-h b{font-weight:600;font-size:17px;color:var(--ink-teal);line-height:1.9}
.sr-h em{font-style:normal;font-size:12.5px;color:#fff;background:var(--teal);border-radius:6px;padding:0 8px;white-space:nowrap;line-height:1.9;flex:none}
.sr-s{display:block;font-size:14.5px;line-height:2;color:var(--ink-soft)}
.results mark,#main mark.hit{background:#BFEDEE;color:inherit;border-radius:4px;padding:0 2px;box-shadow:0 0 0 1px #7FD3D6}
#main .hit-blk{animation:hitflash 2.4s ease-out 1}
@keyframes hitflash{0%,40%{background:#E3F7F7;box-shadow:0 0 0 6px #E3F7F7}100%{background:transparent;box-shadow:none}}

/* ===== Ayah banner: Quranic naskh font, plain turquoise, ayat close together ===== */
.top .hb-small{background-image:none;background-color:#0C8790}
.top .hb-small::before{display:none}
.hb-small .ar{font-family:"Amiri Quran","Amiri",serif;font-size:31px;line-height:1.9;color:#fff;letter-spacing:0;word-spacing:2px}
.hb-small .ar .ae{font-family:"Amiri Quran",serif;font-weight:400;font-size:.95em;color:var(--gold-1);margin:0 4px;display:inline-block}
.hb-small .hero-div{display:none}
.hb-small .tr{margin-top:0}
@media (max-width:760px){.hb-small .ar{font-size:21px;white-space:normal}}
/* ===== Footer: useful links with their web addresses ===== */
.f-links.sub{align-items:center}
.f-links.sub a.ul{display:inline-flex;flex-direction:column;align-items:center;gap:0;text-decoration:none}
.f-links.sub a.ul b{font-weight:400;line-height:1.7}
.f-links.sub a.ul small{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12px;line-height:1.3;opacity:.82;letter-spacing:.2px}
.f-links.sub a.ul:hover small{text-decoration:underline;text-underline-offset:3px}

/* ===== Ayah banner: spaced, centred lines (ayah-end ornament removed) ===== */
.top .hb-small{padding-top:20px;padding-bottom:20px}
.hb-small .hero-text{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}
.hb-small .ar{margin:0;line-height:1.6}
.hb-small .ar .gap{display:inline-block!important;width:1.4em}
.hb-small .tr{margin:0;line-height:1.8}
.hb-small cite{margin:0;justify-content:center;line-height:1}
@media (max-width:760px){.hb-small .hero-text{gap:8px}.hb-small .ar .gap{display:block!important;width:auto;height:0}}
.top .hb-small{padding-top:22px;padding-bottom:22px}
.hb-small .hero-text{gap:16px}
.hb-small .tr{line-height:2}
.hb-small .ar{word-spacing:0}
.hb-small .ar span{white-space:nowrap}

/* ===== Search placeholder: Urdu and English on one even baseline ===== */
.phw{position:relative;flex:1;min-width:0;display:flex;align-items:stretch}
.phw input{flex:1;width:100%}
.phx{position:absolute;inset-inline:16px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;pointer-events:none;color:#8A969E;font-size:16px;line-height:1}
.phx i{font-style:normal;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.5px;letter-spacing:.2px;line-height:1;position:relative;top:-1px}
.phw input:not(:placeholder-shown)+.phx{display:none}
.phw input::placeholder{color:transparent}
.phw-big{display:flex}.phw-big .phx{inset-inline:20px;font-size:19px}.phw-big .phx i{font-size:14.5px}
@media (max-width:560px){.phx{font-size:14px}.phx i{font-size:11.5px}}
.phx .pl{display:flex;align-items:center;gap:5px}.phx .ps{display:none}
@media (max-width:560px){.istrip .phx .pl{display:none}.istrip .phx .ps{display:inline}}
.results .hint{font-size:16px;line-height:2.2}
.results .hint i{font-style:normal;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:13px;letter-spacing:.2px;color:var(--ink-teal);background:#F2FAFA;border:1px solid #DCEEF0;border-radius:6px;padding:1px 6px;margin:0 2px;position:relative;top:-1px}
/* placeholder: room for Nastaliq descenders (nothing clipped) */
.phx{overflow:visible;line-height:2.1;padding-top:3px}
.phx .pl,.phx .ps{line-height:2.1}
.phx.short .pl{display:none}.phx.short .ps{display:inline}
/* ===== Ayah banner: IKHLAS badge (right) and location QR (left) — identical tiles, mirrored ===== */
.top .hb-small{--bs:104px;--edge:max(22px,calc((100% - 1160px)/2));padding-inline:calc(var(--edge) + var(--bs) + 36px)}
.hb-small .brand,.hb-small .qloc{position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:block;line-height:0;text-decoration:none}
.hb-small .brand{right:var(--edge);left:auto}
.hb-small .qloc{left:var(--edge);right:auto}
.hb-small .badge{display:block;padding:3px;border:0;border-radius:18px;background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.22)}
.hb-small .badge .logo-img{display:block;width:var(--bs);height:var(--bs);border-radius:14px}
.hb-small .qin{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:var(--bs);height:var(--bs);border-radius:14px;padding-top:8px;box-sizing:border-box;background:linear-gradient(155deg,#03C8D4 0%,#00A0AE 52%,#01717F 100%);line-height:1}
.hb-small .qpanel{display:block;width:calc(var(--bs) * .69);height:calc(var(--bs) * .69);padding:calc(var(--bs) * .04);box-sizing:border-box;background:#fff;border-radius:7px}
.hb-small .qpanel svg{display:block;width:100%;height:100%}
.hb-small .qin b{margin-top:calc(var(--bs) * .055);font:700 calc(var(--bs) * .108)/1 "Segoe UI",Tahoma,Arial,sans-serif;color:#fff;letter-spacing:.4px;white-space:nowrap}
.hb-small .qloc:hover .badge{box-shadow:0 0 0 2px #BFEDEE,0 6px 16px rgba(0,0,0,.22)}
@media (max-width:760px){.top .hb-small{--bs:62px;--edge:10px;padding:12px calc(var(--edge) + var(--bs) + 16px)}.hb-small .badge{padding:2px;border-radius:13px}.hb-small .badge .logo-img,.hb-small .qin{border-radius:11px}.hb-small .qin{padding-top:5px}.hb-small .qpanel{border-radius:5px}.hb-small .qin b{letter-spacing:0}}
@media (min-width:761px){.hb-small .qpanel{width:72px;height:72px;padding:3px}.hb-small .qin{padding-top:9px}.hb-small .qin b{margin-top:6px}}

/* ===================== ENGLISH VERSION ===================== */
:root{--font-en:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif}
[lang="en"],[lang="en"] *:not([lang="ar"]):not([lang="ar"] *):not([lang="ur"]):not([lang="ur"] *){font-family:var(--font-en)!important}
/* frame */
#ticker[dir="ltr"] .tk-track{animation-name:tk-move-en}
@keyframes tk-move-en{from{transform:translateX(0)}to{transform:translateX(-50%)}}
#ticker[dir="ltr"] .tk-run>span,#ticker[dir="ltr"] .tk-run>a{padding-bottom:0;font-size:15px}
#ticker[dir="ltr"] .tl{font-weight:600}
.hb-small .hero-text[lang="en"] .tr{font-size:16.5px;line-height:1.6;letter-spacing:.1px}
.hb-small .hero-text[lang="en"] cite .ref{font-size:13.5px;padding-top:0;letter-spacing:.2px}
.bigsearch[lang="en"] .csel-btn span,.bigsearch[lang="en"]>button span{font-size:15px;font-weight:600;padding-top:0}
.bigsearch[lang="en"] .phx .pl,.bigsearch[lang="en"] .phx .ps{font-size:14.5px;line-height:1}
body.lang-en .phx{line-height:1.4;padding-top:0}
body.lang-en .home-fab span,body.lang-en #review span,body.lang-en .inst-btn span{font-family:var(--font-en);font-size:14px;font-weight:600}
.site-foot[lang="en"] .f-links a,.site-foot[lang="en"] .f-links span{font-size:14.5px;line-height:1.5}
.site-foot[lang="en"] .f-links.sub a.ul b{font-weight:600}
.site-foot[lang="en"] .f-rule b{font-size:15px}
.site-foot[lang="en"] .f-fonts{font-size:13.5px;padding-top:0}
/* English pages */
.en-page{line-height:1.55}
.en-page .card .tt{font-size:18px;font-weight:700;line-height:1.3;letter-spacing:.1px}
.en-page .card .bl{font-size:14px;line-height:1.45}
.en-page .acard2 .tt{font-size:19px;line-height:1.3}
.en-page .acard2 .bl,.en-page .acard2 .ac-when,.en-page .acard2 .ac-foot a{font-size:14px;line-height:1.45}
.en-page .qrs-ttl h2{font-size:22px}
.en-page .qrs-ttl p,.en-page .qrs-card figcaption b{font-size:15px}
.en-soon{max-width:720px;margin:10px auto;padding:34px 36px;background:#fff;border:1px solid var(--line);border-radius:18px;text-align:center;box-shadow:0 6px 20px rgba(15,40,38,.06)}
.en-soon h1{margin:0 0 10px;font-size:26px;color:var(--ink-teal);font-weight:700}
.en-soon p{margin:0 0 8px;font-size:16px;color:var(--ink-soft)}
.en-soon-btns{display:flex;gap:12px;justify-content:center;margin-top:18px!important}
.btn-en{display:inline-flex;align-items:center;height:42px;padding:0 22px;border-radius:999px;background:var(--teal);color:#fff;text-decoration:none;font-size:16px}
.btn-en[lang="ur"]{font-size:18px;padding-top:4px}
.btn-en.ghost{background:#fff;color:var(--teal-dark);border:1.5px solid var(--teal)}
.btn-en:hover{filter:brightness(1.05)}
body.lang-en .f-copy .cr-ur,body.lang-en .f-copy .cr-ur+.f-sep{display:none}
body.lang-en #contact-sec input::placeholder{font-family:var(--font-en);font-size:14.5px}
#ticker[dir="ltr"] .tv,#ticker[dir="ltr"] .tv .n,#ticker[dir="ltr"] bdi{font-weight:400!important;font-size:15px!important;position:static!important;top:auto!important;transform:none!important;padding:0!important;margin:0!important;vertical-align:baseline!important}
body.lang-en #contact-sec input{text-align:left}
.crumbs[dir="ltr"] .cr-sep{transform:scaleX(-1)}
/* English ticker: labels and values on one baseline */
#ticker[dir="ltr"] .tk-run>span,#ticker[dir="ltr"] .tk-run>a{align-items:center;gap:7px;padding:0 22px!important}
#ticker[dir="ltr"] .tl,#ticker[dir="ltr"] .tv{height:auto!important;padding:0!important;margin:0!important;line-height:1.2!important;font-size:15px!important;align-items:baseline}
#ticker[dir="ltr"] .tl{font-weight:400!important;color:var(--teal-dark)}
#ticker[dir="ltr"] .tv.tv-addr{word-spacing:0;font-size:15px!important}
/* English cards: calmer titles that stay inside the card */
.en-page .grid4 .card{padding-inline:18px 16px;gap:14px}
.en-page .card .tx{min-width:0}
.en-page .card .tt{font-size:16px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:0;color:#1F2A2C}
.en-page .card-new .tt{color:#8A5A0B}
.en-page .card .bl{font-size:13.5px!important;line-height:1.45!important;margin-top:3px;color:#5B6B6E}
.en-page .acard2 .tt{font-size:17px!important;font-weight:600!important}
.en-page .acard2 .bl,.en-page .acard2 .ac-when,.en-page .acard2 .ac-foot a{font-size:13.5px!important}
.en-page .card .tt,.en-page .card .bl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1100px){.en-page .card .bl{white-space:normal}}
.en-page .card .bl{white-space:normal;overflow:visible}
/* English inner pages */
#main[lang="en"] p,#main[lang="en"] li,#main[lang="en"] dd,#main[lang="en"] .ab-b{text-align:left!important;hyphens:none}
#main[lang="en"] .crumbs{direction:ltr}
#main[lang="en"] h1{letter-spacing:0}
#main[lang="en"] .lc-title,#main[lang="en"] .lc-head h1{text-align:left}
#main[lang="en"] .lcard .lc-head h1{line-height:1.3;font-size:26px;padding:4px 0}
#main[lang="en"] .lc-nb.prev{order:-1;align-items:flex-start;text-align:left;border-inline-start:0}
#main[lang="en"] .lc-nb.next{align-items:flex-end;text-align:right;border-inline-start:1.5px solid #D6EAEB}
#main[lang="en"] .lc-nb,#main[lang="en"] .lc-nb span{max-width:100%;min-width:0}
#main[lang="en"] .lc-nb span{display:block;width:100%}
#main[lang="en"] .cover .t{font-size:15.5px!important;line-height:1.35!important;padding:0 10px;font-weight:600}
#main[lang="en"] .book .bt{font-size:14.5px;line-height:1.4}
#main[lang="en"] .book .acts{gap:4px}
#main[lang="en"] .book .ba{padding:0 2px;font-size:12px;gap:3px;min-width:0}
#main[lang="en"] .book .ba span{font-size:12px!important}
#main[lang="en"] .book .ba svg{width:12px;height:12px;margin-top:0}
#main[lang="en"] .ab-b .steps li::before,#main[lang="en"] .ab-b ul.aims li::before{right:auto;left:12px}
#main[lang="en"] .ab-b .steps li::before{left:14px}
#main[lang="en"] .ab-b .steps li{padding:10px 14px 10px 54px}
#main[lang="en"] .ab-b .steps li::before{padding-top:0}
#main[lang="en"] .ab-b ul.aims li{padding:8px 12px 8px 32px;font-size:15px;line-height:1.5}
#main[lang="en"] .ab-b ul.aims li::before{top:15px}
#main[lang="en"] .book .ba svg{display:none}
#main[lang="en"] .book .acts{grid-template-columns:1fr 1.25fr 1fr}
/* ===== English: mirrored frame (badge left, QR right; language switch left, social right) ===== */
body.lang-en .istrip .wrap{flex-direction:row-reverse}
/* English home cards: titles may take two balanced lines */
.en-page .card .tt{white-space:normal!important;overflow:visible!important;text-wrap:balance;font-size:15.5px!important;line-height:1.3!important}
/* ===== English contact section: balanced columns ===== */
#contact-sec.en .ct6{grid-template-columns:1.55fr 1.2fr .85fr}
#contact-sec.en .ct6-col{display:flex;flex-direction:column;padding:22px 28px 24px}
#contact-sec.en .ct6-col h2,#contact-sec.en .ct6-col h3{margin:0 0 16px;font-size:16px;line-height:1.3;font-weight:700}
#contact-sec.en .ct6-col h2::before,#contact-sec.en .ct6-col h3::before{height:17px}
#contact-sec.en #ctform{gap:12px}
#contact-sec.en .ct6-row{gap:12px}
#contact-sec.en .ct6-row2{grid-template-columns:1fr 128px;gap:12px}
#contact-sec.en .ct6 input,#contact-sec.en .ct6 input[dir="ltr"]{height:42px;padding:0 14px;font-size:14px;line-height:42px;text-align:left;direction:ltr}
#contact-sec.en .ct6 input::placeholder,#contact-sec.en .ct6 input[dir="ltr"]::placeholder{font-family:var(--font-en);font-size:14px;direction:ltr}
#contact-sec.en .ct6 .ct-send{height:42px;padding:0;font-size:15px;font-weight:600}
#contact-sec.en .ct6-addr ul{gap:14px}
#contact-sec.en .ct6-addr li{align-items:flex-start;gap:12px;font-size:14px;line-height:1.55}
#contact-sec.en .ct6-addr li span,#contact-sec.en .ct6-addr a{line-height:1.55;font-size:14px;padding-top:4px}
#contact-sec.en .ct6-addr .ci{width:30px;height:30px;border-radius:8px}
#contact-sec.en .ct6-list{gap:14px}
#contact-sec.en .ct6-soc{gap:12px;font-size:14px;line-height:30px}
#contact-sec.en .ct6-soc .si{width:30px;height:30px;border-radius:8px}
#main[lang="en"] .answer .arq{font-family:"Amiri Quran","Amiri",serif!important;font-size:1.25em;line-height:2;unicode-bidi:isolate}
#main[lang="en"] .answer p:has(> .arq:only-child){text-align:right!important;direction:rtl}
#main[lang="en"] .en-note{font-size:13.5px;color:#8A5A0B;background:#FFF8EC;border:1px solid #F0DDB8;border-radius:10px;padding:8px 12px;margin:0 0 14px}
#main[lang="en"] .answer p,#main[lang="en"] .answer li{line-height:1.7;font-size:16px}
#main[lang="en"] .answer h3{line-height:1.4;font-size:19px;margin-top:20px}
#main[lang="en"] .qpage h1{line-height:1.35;font-size:26px}
#main[lang="en"] .qblock h2{line-height:1.4}
#main[lang="en"] .pn{direction:ltr}

/* i’tikaf registration row */
.itk-a{margin-top:14px}.itk-a span{flex:1 1 320px;line-height:2;overflow:visible}
.itk-a a.btn.solid,.itk-a a.btn.solid:visited{color:#fff!important;text-decoration:none;padding:10px 22px;white-space:nowrap}
/* Nastaliq headings: the font has no bold, so Chrome's fake bold gave two-tone letters; use a solid stroke instead */
h1:lang(ur),h2:lang(ur),h3:lang(ur),.itk-h:lang(ur){font-synthesis:none;font-weight:400;-webkit-text-stroke:.6px currentColor;paint-order:stroke fill}
/* QR block inside a page */
.pqr{display:flex;align-items:center;gap:16px;margin-top:16px;padding:12px 14px;border:1px solid #DCEEF0;border-radius:14px;background:#fff;width:fit-content;max-width:100%}
.pqr .qrs-img img{width:104px;height:104px}
.pqr-t{display:flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.7}
.pqr-t b{font-size:16px;color:var(--teal-dark)}.pqr-t>span{font-size:14px;color:var(--ink-soft)}
.pqr .qrs-dl{margin-top:4px}
#main[lang="en"] .pqr-t b,#main[lang="en"] .pqr-t>span{font-family:var(--font-en)}
@media (max-width:460px){.pqr{gap:12px;padding:10px}.pqr .qrs-img img{width:88px;height:88px}}
.pqr .qrs-img img[src*="qr-donate"]{width:150px;height:150px}
@media (max-width:460px){.pqr .qrs-img img[src*="qr-donate"]{width:130px;height:130px}}
/* Welfare › Donations: account details and QR side by side */
.don{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:stretch;margin:14px 0 10px}
.don-acc{border:1px solid #DCEEF0;border-radius:14px;background:#fff;padding:14px 18px 16px}
.don-h{font-size:18px;font-weight:400;-webkit-text-stroke:.5px currentColor;color:var(--teal-dark);margin-bottom:4px}
.don-dl{display:grid;grid-template-columns:max-content minmax(0,1fr);margin:0}
.don-dl dt,.don-dl dd{margin:0;padding:9px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.9}
.don-dl dt{padding-inline-end:32px;color:var(--teal-dark)}
.don-dl dd.ltr{direction:ltr;text-align:right;letter-spacing:.3px}
.don-dl dt:nth-last-of-type(1),.don-dl dd:last-of-type{border-bottom:0}
#main[lang="en"] .don-dl dd.ltr{text-align:left}
.don-ct{margin-top:12px;padding-top:12px;border-top:1px dashed #CFE3E5}
.don-ct p{margin:0;font-size:16px}
.don-ct .don-ct-h{margin-top:6px;color:var(--ink-soft)}
.don-ct ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 12px}
.don-ct li{display:flex;align-items:center;gap:10px;padding:4px 12px;border:1px solid #DCEEF0;border-radius:10px;background:#F6FBFB}
.don-ct li::before{display:none}
.don-ct li a{color:var(--teal-dark);text-decoration:none;font-size:15px}
.pqr.pqr-v{margin:0;flex-direction:column;justify-content:center;text-align:center;width:250px;padding:16px 14px}
.pqr.pqr-v .pqr-t{align-items:center}
.pqr.pqr-v .pqr-t>span{font-size:13.5px;line-height:1.8}
@media (max-width:760px){.don{grid-template-columns:1fr}.pqr.pqr-v{width:auto}}
#main[lang="en"] .don-h{font-family:var(--font-en);-webkit-text-stroke:0;font-weight:700}
/* search bar: the category pill sits fully inside the bar's rounded end (nothing pokes past the border) */
.bigsearch .csel{margin-block:3px;margin-inline-start:3px;align-self:stretch}
.bigsearch .csel,.bigsearch .csel-btn{border-start-start-radius:999px;border-end-start-radius:999px;border-start-end-radius:0;border-end-end-radius:0}
/* chain-link joiner between stacked cards on inner pages (same as the home page) */
.hlink + .ab-sec{margin-top:0}
/* ---- every card, small or big: one clear thin turquoise outline (incl. the top edge) ---- */
html body :is(.card:not(.card-new),.vcard,.bimg,.lcard,.panel,.ab-top,.ab-sec,.book,.ct6,.don-acc,.itk-old,.pqr,.qrs-box,.qrs-card,.fact,.pcard,.ab-chain-w,.ab-deg,.ticker){border-color:#B5DADD}
/* «تعارفِ شیخ و سلسلہ»: couplet panel (hover on desktop, lamp button on touch) */
.cpl{position:absolute;z-index:300;left:0;top:0;max-width:min(92vw,430px);padding:14px 24px 12px;background:#fff;border:1px solid #B5DADD;border-radius:16px;box-shadow:0 14px 34px rgba(15,40,38,.16),inset 0 -3px 0 var(--teal);text-align:center;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .28s ease,transform .28s ease,visibility 0s linear .28s;pointer-events:none}
.cpl.on{opacity:1;visibility:visible;transform:none;transition:opacity .28s ease,transform .28s ease;pointer-events:auto}
.cpl.up{transform:translateY(-6px)}.cpl.up.on{transform:none}
.cpl::before{content:"";position:absolute;top:-7px;left:calc(var(--ax,50%) - 7px);width:12px;height:12px;background:#fff;border:1px solid #B5DADD;border-right:0;border-bottom:0;transform:rotate(45deg)}
.cpl.up::before{top:auto;bottom:-7px;transform:rotate(225deg)}
.cpl-ic{display:block;width:40px;height:40px;margin:0 auto 4px}.cpl-ic svg{width:100%;height:100%}
.cpl p{margin:0;font-family:"Mehr Nastaliq",serif;font-size:21px;line-height:2.15;color:var(--teal-dark);white-space:nowrap}
.cpl p+p{margin-top:2px;padding-top:4px;border-top:1px solid #E6F1F2}
.cpl.cpl-en p{font-family:var(--font-en);font-style:italic;font-size:17px;line-height:1.9;letter-spacing:.2px}
@media (max-width:420px){.cpl{padding:12px 16px 10px}.cpl p{font-size:18px;white-space:normal}.cpl.cpl-en p{font-size:15.5px}}
.cpl-tap{display:none}
.card[href="#about"],.card[href="#about-en"],.card[href="#start"],.card[href="#start-en"],.f-links a[href="#about"],.f-links a[href="#about-en"],.f-links a[href="#start"],.f-links a[href="#start-en"],.card[href="#books"],.card[href="#books-en"],.f-links a[href="#books"],.f-links a[href="#books-en"],.card[href="#lectures"],.card[href="#lectures-en"],.f-links a[href="#lectures"],.f-links a[href="#lectures-en"],.card[href="#taleem"],.card[href="#taleem-en"],.f-links a[href="#taleem"],.f-links a[href="#taleem-en"],.card[href="#qa"],.card[href="#qa-en"],.f-links a[href="#qa"],.f-links a[href="#qa-en"],.card[href="#naat"],.card[href="#naat-en"],.f-links a[href="#naat"],.f-links a[href="#naat-en"],.card[href="#itikaf"],.card[href="#itikaf-en"],.f-links a[href="#itikaf"],.f-links a[href="#itikaf-en"],.card[href="#welfare"],.card[href="#welfare-en"],.f-links a[href="#welfare"],.f-links a[href="#welfare-en"]{position:relative}
@media (hover:none),(pointer:coarse){
  .cpl-tap{display:grid;place-items:center;position:absolute;top:6px;inset-inline-end:6px;width:28px;height:28px;border-radius:50%;background:#FFF8E6;border:1px solid #EBD9A6;cursor:pointer;z-index:2}
  .cpl-tap svg{width:20px;height:20px}
  .f-links .cpl-tap{position:static;display:inline-grid;width:22px;height:22px;margin-inline-start:6px;vertical-align:middle}.f-links .cpl-tap svg{width:16px;height:16px}
}
@media (prefers-reduced-motion:reduce){.cpl,.cpl.on{transition:none;transform:none}}
/* couplet panel: compact */
.cpl{padding:8px 14px 7px;border-radius:12px;box-shadow:0 8px 22px rgba(15,40,38,.14),inset 0 -2px 0 var(--teal)}
.cpl-ic{width:24px;height:24px;margin:0 auto 1px}
.cpl p{font-size:16px;line-height:1.95}
.cpl p+p{margin-top:0;padding-top:2px}
.cpl.cpl-en p{font-size:13.5px;line-height:1.7}
.cpl::before{width:10px;height:10px;top:-6px;left:calc(var(--ax,50%) - 6px)}.cpl.up::before{bottom:-6px}
@media (max-width:420px){.cpl{padding:7px 12px 6px}.cpl p{font-size:15px}.cpl.cpl-en p{font-size:13px}}
/* ticker: faster */
.tk-track{animation-duration:45s}
@media (prefers-reduced-motion: reduce){.tk-track{animation-duration:110s}}
/* «صفحہ اول» button: a gold tab fixed at the right edge, middle of the screen, on every inner page */
.home-fab{top:50%;bottom:auto;right:0;left:auto;transform:translateY(-50%);flex-direction:column;justify-content:center;gap:4px;height:auto;width:auto;padding:12px 10px 9px 12px;border-radius:14px 0 0 14px;background:#C98E1F;color:#fff;box-shadow:-3px 4px 14px rgba(120,80,10,.28);border:1px solid #B07D1A;border-right:0;transition:background .2s,padding .2s}
.home-fab:hover,.home-fab:focus-visible{background:#A8740F;padding-right:16px;outline:none}
.home-fab svg{width:22px;height:22px;margin:0}
.home-fab span{font-size:14px;line-height:1.6}
@media (max-width:560px){.home-fab{width:auto;height:auto;padding:11px 8px 11px 10px}.home-fab span{display:none}.home-fab svg{width:22px;height:22px}}
/* location note on the banner QR */
.cpl.cpl-note{max-width:min(92vw,330px)}
.cpl.cpl-note p{white-space:normal;font-size:15px;line-height:1.95}
.cpl.cpl-note p:first-of-type{color:var(--ink-soft);font-size:13.5px}
.cpl.cpl-note p+p{border-top:0;padding-top:0;color:var(--teal-dark)}
.cpl.cpl-en.cpl-note p{font-style:normal;font-size:13.5px;line-height:1.6}
.cpl.cpl-en.cpl-note p:first-of-type{font-size:12.5px}
/* English pages: the Home tab sits on the left edge */
body.lang-en .home-fab{right:auto;left:0;border-radius:0 14px 14px 0;border:1px solid #B07D1A;border-left:0;padding:12px 12px 9px 10px;box-shadow:3px 4px 14px rgba(120,80,10,.28)}
body.lang-en .home-fab:hover,body.lang-en .home-fab:focus-visible{padding-right:12px;padding-left:16px}
@media (max-width:560px){body.lang-en .home-fab{padding:11px 10px 11px 8px}}
/* shown only if the page scripts never ran (replaced by the page as soon as they do) */
.boot-fail{max-width:560px;margin:40px auto;padding:22px 24px;background:#fff;border:1px solid #B5DADD;border-radius:16px;text-align:center;opacity:0;animation:boot-show .3s ease 5s forwards}
.boot-fail p{margin:0 0 12px;font-size:17px;line-height:2}.boot-fail p:last-child{margin:0}
.boot-fail span[lang="en"]{display:block;font-family:var(--font-en);font-size:14px;color:var(--ink-soft)}
.boot-fail .btn span[lang="en"]{display:inline;color:inherit}
@keyframes boot-show{to{opacity:1}}
/* hero banner: ayah words closer together */
.hb-small .ar{word-spacing:-.18em}
/* ticker: one round in 35s, also when the computer has "reduce animations" switched on */
.tk-track{animation-duration:35s}
@media (prefers-reduced-motion: reduce){.tk-track{animation-duration:35s}}
/* home: nine section cards in three even rows */
.grid3.grid4{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.grid3.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.grid3.grid4{grid-template-columns:1fr}}
/* Nastaliq has no bold: never fake one (it made letters like ک two-toned); headings are shown by size and colour */
html{font-synthesis-weight:none;font-synthesis:none}
h1:lang(ur),h2:lang(ur),h3:lang(ur),.itk-h:lang(ur),.don-h{-webkit-text-stroke:0}
.ab-b b:lang(ur),.prose b:lang(ur),.ab-b strong:lang(ur){color:var(--teal-dark)}
/* I'tikaf: upcoming + registration */
.itk2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:stretch}
.itk2-main{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px 20px 18px;border:1px solid #B5DADD;border-radius:14px;background:#F6FBFB}
.itk2-st{width:100%;padding-bottom:12px;border-bottom:1px dashed #CFE3E5}
.itk2-st p{margin:8px 0 0;font-size:16.5px;line-height:2}
.itk2-badge{display:inline-block;padding:2px 14px 0;border-radius:999px;background:#FFF4DC;border:1px solid #EBD9A6;color:#8A5F0F;font-size:15px;line-height:1.9}
.itk2-st .facts{margin-top:10px}
.itk2-h{font-size:18px;color:var(--teal-dark);margin-top:2px}
.itk2-ways{list-style:none;margin:0;padding:0;display:grid;gap:8px;width:100%}
.itk2-ways li{display:flex;align-items:flex-start;gap:12px;padding:8px 12px;border:1px solid #DCEEF0;border-radius:12px;background:#fff}
.itk2-ways li::before{display:none}
.itk2-n{flex:none;display:grid;place-items:center;width:28px;height:28px;padding-top:3px;border-radius:50%;background:var(--teal);color:#fff;font-size:15px;margin-top:4px}
.itk2-ways li div{display:flex;flex-direction:column;line-height:1.95}
.itk2-ways b{color:var(--teal-dark);font-size:16px}
.itk2-ways li div span{font-size:15.5px;color:var(--ink)}
.itk2-btn{margin-top:4px;padding:10px 26px;color:#fff!important;text-decoration:none}
.itk2 .pqr.pqr-v{width:240px}
.itk2+.itk-p{margin-top:16px}
@media (max-width:760px){.itk2{grid-template-columns:1fr}.itk2 .pqr.pqr-v{width:auto}.itk2-btn{align-self:stretch;text-align:center}}
#main[lang="en"] .itk2-ways li div span,#main[lang="en"] .itk2-st p{font-family:var(--font-en);font-size:15px;line-height:1.7}
#main[lang="en"] .itk2-h,#main[lang="en"] .itk2-badge,#main[lang="en"] .itk2-ways b{font-family:var(--font-en)}
/* numbered steps in Urdu digits on Urdu pages (same as the section numbers) */
#main:not([lang="en"]) .ab-b .steps li::before{content:counter(st);font-family:"Segoe UI",Tahoma,sans-serif;padding-top:0}
/* === HOME 9 CARDS: centred, with chain-link rails at both sides (to undo: delete this block down to "END HOME 9 CARDS") === */
.grid3.grid4{grid-template-columns:minmax(60px,1fr) repeat(3,minmax(0,280px)) minmax(60px,1fr);column-gap:16px}
.grid3.grid4>.card:nth-child(3n+1){grid-column:2}.grid3.grid4>.card:nth-child(3n+2){grid-column:3}.grid3.grid4>.card:nth-child(3n){grid-column:4}
.grid3.grid4::before,.grid3.grid4::after{content:"";grid-row:1/4;pointer-events:none;
  background:
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Crect x='0' y='0' width='40' height='20' fill='%23E8F1F2'/%3E%3Crect x='3' y='4' width='20' height='12' rx='6' fill='none' stroke='%23A8D9DD' stroke-width='2.6'/%3E%3Crect x='17' y='4' width='20' height='12' rx='6' fill='none' stroke='%23A8D9DD' stroke-width='2.6'/%3E%3C/svg%3E") center/34px calc(100%/3) repeat-y,
   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 50H100' stroke='%23C6E6E8' stroke-width='1.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0/100% calc(100%/3) repeat-y,
   linear-gradient(180deg,transparent,#C6E6E8 12%,#C6E6E8 88%,transparent) center/1px 100% no-repeat}
.grid3.grid4::before{grid-column:1}.grid3.grid4::after{grid-column:5}
@media (max-width:1100px){.grid3.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3.grid4::before,.grid3.grid4::after{display:none}.grid3.grid4>.card:nth-child(n){grid-column:auto}}
@media (max-width:560px){.grid3.grid4{grid-template-columns:1fr}}
/* all nine cards the same height; English text a touch smaller so it wraps less */
.grid3.grid4{grid-auto-rows:1fr}
/* English: keep every card the same size as the Urdu cards (about 87px tall) */
.en-page .grid3.grid4{grid-auto-rows:87px}
.en-page .grid3.grid4 .card{min-height:0;padding:10px 12px;gap:10px}
.en-page .grid3.grid4 .card .ic.cic{flex:0 0 44px;width:44px;height:44px}
.en-page .grid3.grid4 .card .ic.cic svg{width:30px;height:30px}
.en-page .grid3.grid4 .card .tt{font-size:14.5px!important;line-height:1.25!important;letter-spacing:-.1px;text-wrap:balance}
.en-page .grid3.grid4 .card .bl{font-size:12.5px!important;line-height:1.35!important;margin-top:2px}
/* === END HOME 9 CARDS === */
/* === CONTACT: form in the centre, address on one side, social on the other === */
.ct6{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,.8fr)}
#contact-sec.en .ct6{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,.8fr)}
.ct6-addr{order:1}.ct6-form{order:2}.ct6-social{order:3}
.ct6 .ct6-col,#contact-sec.en .ct6-col{border:0!important;padding:22px 26px 24px}
.ct6 .ct6-form{border-inline:1px solid #E3EFF0!important;background:#F8FCFC}
.ct6-col h2,.ct6-col h3{margin:0 0 16px;font-size:17px}
.ct6 #ctform{gap:12px}
.ct6-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ct6 input,.ct6 textarea{height:40px;border-radius:10px;background:#fff}
.ct6 textarea{display:block;width:100%;height:auto;min-height:92px;resize:vertical;border:1px solid #D9E7E9;padding:8px 12px;font:inherit;font-size:13.5px;line-height:1.9;color:var(--ink);outline:0;box-shadow:none}
.ct6 textarea::placeholder{color:#9AAEB1;opacity:1}
.ct6 textarea:hover{border-color:#BFDDE0}
.ct6 textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(23,160,168,.12)}
.ct6 textarea.bad{border-color:#D9534F}
.ct6 .ct-send{height:42px;font-size:15px;margin-top:2px}
.ct6-addr ul{gap:14px}.ct6-addr li{gap:12px;font-size:13.5px}
.ct6-addr .ci,.ct6-soc .si{width:30px;height:30px;border-radius:8px}
.ct6-list{gap:14px}.ct6-soc{font-size:14px}
#contact-sec.en .ct6 textarea{font-family:var(--font-en);font-size:14px;line-height:1.6;padding:10px 14px;direction:ltr;text-align:left}
#contact-sec.en .ct6 input,#contact-sec.en .ct6 input[dir="ltr"]{height:40px;line-height:40px}
@media (max-width:1000px){.ct6,#contact-sec.en .ct6{grid-template-columns:1fr 1fr}.ct6-form{order:0;grid-column:1 / -1;border-inline:0!important;border-bottom:1px solid #E3EFF0!important}.ct6-social{border-inline-start:1px solid #E3EFF0!important}}
@media (max-width:600px){.ct6,#contact-sec.en .ct6{grid-template-columns:1fr}.ct6-row{grid-template-columns:1fr}.ct6-social{border-inline-start:0!important;border-top:1px solid #E3EFF0!important}.ct6-addr{border-top:0!important}}
.ct6 .ct6-form{margin-bottom:3px}
@media (max-width:1000px){.ct6 .ct6-form{margin-bottom:0;border-radius:16px 16px 0 0}}
/* === END CONTACT === */
/* couplet panel: room for longer verses */
.cpl{max-width:min(94vw,560px)}
/* poetry ticker above the banner (always right-to-left: the verses are Urdu/Persian) */
.ticker.pk{margin:12px 0 12px;height:54px;background:#F6FBFB;direction:rtl}
.ticker.pk .tk-track{animation-name:tk-move!important}
.pk-i{flex:none;display:flex;align-items:center;gap:14px;height:54px;padding:0 26px 6px;white-space:nowrap}
.pk-v{font-family:"Mehr Nastaliq",serif;font-size:18px;line-height:1;color:var(--teal-dark)}
.pk-gap{display:inline-block;width:26px}
.pk-p{font-size:15px;line-height:1;color:var(--ink-soft)}
body.lang-en .pk-p{font-family:var(--font-en);font-size:13.5px;direction:ltr;unicode-bidi:isolate;padding-top:6px}
.ticker.pk .tk-run i{background:rgba(201,142,31,.45)}
@media (max-width:560px){.ticker.pk{height:48px}.pk-i{height:48px;padding:0 18px 5px}.pk-v{font-size:16px}.pk-p{font-size:13.5px}}
/* poetry ticker: verse number */
.pk-n{flex:none;display:inline-grid;place-items:center;min-width:26px;height:26px;padding:4px 6px 0;border-radius:999px;background:#fff;border:1px solid #CFE6E8;color:var(--teal-dark);font-family:"Mehr Nastaliq",serif;font-size:14px;line-height:1}
.pk-n{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:12.5px;font-weight:600;padding:0 6px}
/* banner QR label: Urdu on Urdu pages ("ہمارا پتہ"), English on English pages */
body:not(.lang-en) .hb-small .qin b{font:400 calc(var(--bs) * .14)/1.1 "Mehr Nastaliq",serif;letter-spacing:0;padding:0;margin-top:3px!important}
@media (min-width:761px){body:not(.lang-en) .hb-small .qin{padding-top:9px}}
/* === INNER PAGES: page content first (no tickers / hero banner) === */
body.inner #pk-ticker,body.inner header.top,body.inner #ticker{display:none!important}
body.inner #pk-ticker,body.inner #ticker{margin:0}
/* === END INNER PAGES === */
/* poetry ticker: slow safe default until the exact speed is measured */
.ticker.pk .tk-track{animation-duration:400s}
@media (prefers-reduced-motion: reduce){.ticker.pk .tk-track{animation-duration:400s}}
/* tickers wait for the Urdu font, so the text does not jump when the font swaps in */
html:not(.tk-ready) .tk-track{animation-play-state:paused!important;opacity:0}
.tk-track{transition:opacity .4s}
/* keep each ticker on its own GPU layer so it glides without periodic hitches */
.tk-track{will-change:transform;backface-visibility:hidden;transform:translateZ(0)}
.tk-view{contain:paint}
/* === SOCIAL CAPTION (beside the icons, top strip) === */
.is-soc-g{align-items:center}
.is-soc-cap{font:400 16px/1 "Mehr Nastaliq";color:#0E6E74;white-space:nowrap;padding:6px 10px 0 2px;margin-inline-start:4px}
body.lang-en .is-soc-cap{font:600 13.5px/1 "Segoe UI",Tahoma,Arial,sans-serif;padding:0 2px 0 10px;letter-spacing:.2px}
@media (max-width:900px){.is-soc-cap{display:none}}
/* === END SOCIAL CAPTION === */
/* about › publications: English titles of Dr. Qaisar Ali Sahib */
.ab-books span.ab-bk-en{font:600 14.5px/1.3 "Segoe UI",Tahoma,Arial,sans-serif;padding:9px 16px}
.ab-books span.ab-bk-en::before{margin-top:0}
/* === REVIEWER MARKS (only while «تصدیق طلب متن» is on) === */
.rv-list-btn{display:none;position:fixed;inset-inline-end:16px;bottom:62px;z-index:35;background:#fff;border:1px solid #E7B9B4;color:#B3261E;border-radius:999px;padding:0 14px;font:600 14px/2.2 "Segoe UI",Tahoma,sans-serif}
body:not(.lang-en) .rv-list-btn{font:400 14px/2.3 "Mehr Nastaliq"}
.verify-on .rv-list-btn{display:block}
.player.on ~ .rv-list-btn{bottom:134px}
mark.rv-mk{background:none;color:inherit;text-decoration:underline wavy #D93025;text-decoration-thickness:1.5px;text-underline-offset:8px;cursor:help}
.rv-fab{position:fixed;z-index:60;background:#B3261E;color:#fff;border:0;border-radius:999px;padding:7px 16px;font:600 14px/1.4 "Segoe UI",Tahoma,sans-serif;box-shadow:0 6px 18px rgba(0,0,0,.18)}
body:not(.lang-en) .rv-fab{font:400 15px/1.6 "Mehr Nastaliq"}
.rv-box,.rv-pane{position:fixed;z-index:61;inset-inline-end:16px;bottom:108px;width:min(92vw,380px);background:#fff;border:1px solid #B5DADD;border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.18);padding:14px}
.rv-pane{max-height:65vh;overflow:auto}
.rv-box blockquote,.rv-pane blockquote{margin:0 0 8px;padding:6px 10px;border-inline-start:3px solid #D93025;background:#FDF3F2;border-radius:6px;font-size:15px}
.rv-box textarea,.rv-box input{width:100%;box-sizing:border-box;border:1px solid #B5DADD;border-radius:10px;padding:8px 10px;margin:0 0 8px;font:15px/1.5 "Segoe UI",Tahoma,sans-serif}
.rv-row{display:flex;gap:8px;align-items:center}
.rv-row button,.rv-row a{border:0;border-radius:999px;padding:6px 14px;background:var(--teal);color:#fff;font:600 13px/1.5 "Segoe UI",Tahoma,sans-serif;text-decoration:none;cursor:pointer}
.rv-row .rv-x{background:#EEF4F5;color:#0E6E74}
.rv-pane ul{list-style:none;margin:0;padding:0}
.rv-pane li{padding:10px 0;border-bottom:1px solid #E3EFF0}
.rv-pane li.ok{opacity:.5}
.rv-pane li p{margin:0 0 8px;font-size:15px}
.rv-meta,.rv-help{font:12.5px/1.5 "Segoe UI",Tahoma,sans-serif;color:#5F7476;margin-bottom:6px;direction:ltr;text-align:start}
.rv-help{direction:inherit;font-size:13.5px;color:#0E6E74;margin-bottom:10px}
.rv-toast{position:fixed;z-index:70;left:50%;bottom:24px;transform:translateX(-50%);background:#0E6E74;color:#fff;border-radius:999px;padding:8px 18px;font:600 14px/1.5 "Segoe UI",Tahoma,sans-serif}
body:not(.lang-en) .rv-row button,body:not(.lang-en) .rv-row a{font:400 14px/1.7 "Mehr Nastaliq"}
/* === END REVIEWER MARKS === */
/* === TOP STRIP: one row, shorter search (desktop) === */
@media (min-width:1001px){
  .istrip .wrap{flex-wrap:nowrap;min-height:0;padding-block:8px;gap:14px 18px}
  .istrip .bigsearch{flex:0 1 470px;min-width:300px;height:40px}
  .istrip .bigsearch .csel-btn{font-size:15px}
  .istrip .bigsearch input{font-size:15px}
  .istrip .bigsearch>button{font-size:15px;padding:2px 16px 0}
  .istrip .lswitch{width:134px;height:36px}
  .istrip .lswitch .ls-ur{font-size:15.5px;padding-top:5px}
  .istrip .lswitch .ls-en{font-size:13px}
  .istrip .is-soc{width:38px;height:38px;border-width:5px;border-radius:11px}
  .istrip .is-soc svg{width:16px;height:16px}
  .istrip .is-soc-g{flex:none}
  .istrip .inst-btn{height:36px;font-size:14px;padding:3px 14px 0;flex:none}
}
@media (min-width:1001px) and (max-width:1200px){.is-soc-cap{display:none}.istrip .bigsearch{flex-basis:380px}}
/* === END TOP STRIP ONE ROW === */
/* خصوصی بیان: newest special talk (home, under the audio cards; top of the Bayanat page) */
.khas-box{margin-top:14px;padding:10px 14px 4px;background:#fff;border:1px solid #B5DADD;border-radius:16px}
.panel .khas-box{margin:0 0 14px}
.kh-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:4px;border-bottom:1px solid #E3EFF0}
.kh-h b{color:var(--teal-dark);font-size:17px}
.kh-h a{font-size:14px;color:var(--teal)}
.khas-box .arow{border:0}
/* home audio cards: 3 on the first row, 2 centred on the second (all the same size) */
@media (min-width:1101px){
  #audcards.audgrid2{grid-template-columns:repeat(6,minmax(0,1fr))}
  #audcards.audgrid2>.acard2{grid-column:span 2}
  #audcards.audgrid2>.acard2:nth-child(4){grid-column:2/span 2}
}
