/* DeenWorld Quiz v1.5.3 - notification bell + footer (v1.5.4: smaller bell, shifted left of the menu button on phones) */

/* ---------- bell ---------- */
.dwq-bell{position:relative;display:inline-block;font-family:'Hind Siliguri','Noto Sans Bengali',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.3;z-index:99990}
.dwq-bell.is-float{position:fixed;top:14px;right:14px;z-index:99990}
body.admin-bar .dwq-bell.is-float{top:46px}
@media(min-width:783px){body.admin-bar .dwq-bell.is-float{top:46px}}
.dwq-bell.in-menu{display:flex;align-items:center;height:100%}
li.dwq-bell-li{list-style:none;display:flex;align-items:center;margin-left:6px}
.dwq-bell-btn{position:relative;cursor:pointer;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:2px solid #D4AF37;background:linear-gradient(180deg,#0e5a35,#092115);color:#f7dc83;box-shadow:0 4px 12px rgba(0,0,0,.25);transition:transform .15s,filter .15s}
.dwq-bell-btn:hover,.dwq-bell-btn:focus-visible{transform:translateY(-1px);filter:brightness(1.12);outline:0}
.dwq-bell.has-new .dwq-bell-btn svg{animation:dwqRing 2.4s ease-in-out infinite;transform-origin:50% 8%}
@keyframes dwqRing{0%,60%,100%{transform:rotate(0)}66%{transform:rotate(14deg)}72%{transform:rotate(-12deg)}78%{transform:rotate(9deg)}84%{transform:rotate(-6deg)}90%{transform:rotate(3deg)}}
.dwq-bell-badge{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#e23b3b;color:#fff;border:2px solid #fff;font-weight:700;font-size:12px;line-height:16px;font-family:inherit;font-family:inherit;text-align:center;box-sizing:border-box}
.dwq-bell-badge[hidden]{display:none}
.dwq-bell-panel{position:absolute;top:calc(100% + 10px);right:0;width:350px;max-width:calc(100vw - 20px);background:#fff;color:#16241c;border:2px solid #D4AF37;border-radius:16px;box-shadow:0 18px 44px rgba(6,40,25,.35);overflow:hidden;text-align:left}
.dwq-bell-panel[hidden]{display:none}
.dwq-bell.pn-left .dwq-bell-panel{right:auto;left:0}
.dwq-bell-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:linear-gradient(120deg,#092115,#0B6B3A);color:#f7dc83}
.dwq-bell-head b{font-size:17px}
.dwq-bell-all{cursor:pointer;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:99px;padding:5px 12px;font-weight:600;font-size:14.5px;line-height:1.2;font-family:inherit;font-family:inherit}
.dwq-bell-all:hover{background:rgba(255,255,255,.26)}.dwq-bell-all[hidden]{display:none}
.dwq-bell-body{max-height:min(420px,70vh);overflow-y:auto}
.dwq-bell-list{list-style:none;margin:0;padding:0}
.dwq-bell-list li{margin:0;border-bottom:1px solid #e6eee9}
.dwq-bell-list a{display:flex;flex-direction:column;gap:3px;padding:12px 16px 12px 30px;position:relative;text-decoration:none;color:#16241c}
.dwq-bell-list a:hover{background:#f3f9f5}
.dwq-bell-list strong{font-size:15.5px;font-weight:700;line-height:1.4}
.dwq-bell-list span{font-size:14.5px;color:#40544a;line-height:1.45}
.dwq-bell-list time{font-size:14px;color:#6a7d72}
.dwq-bell-list li.is-unread a{background:#f1f8f3}
.dwq-bell-list li.is-unread a::before{content:"";position:absolute;left:13px;top:19px;width:9px;height:9px;border-radius:50%;background:#0B6B3A}
.dwq-bell-empty{margin:0;padding:22px 16px;text-align:center;color:#40544a;font-size:15.5px}
.dwq-bell-more{display:block;text-align:center;padding:12px;font-weight:700;font-size:14.5px;color:#0B6B3A;text-decoration:none;background:#fafcfb}
.dwq-bell-more:hover{background:#eef6f1}
.dwq-bell-login{padding:20px 16px;text-align:center}.dwq-bell-login p{margin:0 0 12px;font-size:15.5px}
.dwq-bell-go{display:inline-block;background:linear-gradient(180deg,#f7dc83,#d9a521);color:#092115;font-weight:800;text-decoration:none;border-radius:99px;padding:9px 22px}
@media(max-width:520px){.dwq-bell-panel{position:fixed;top:calc(var(--dwq-bell-t,10px) + var(--dwq-bell-s,34px) + 12px);left:10px;right:10px;width:auto;max-width:none}body.admin-bar .dwq-bell-panel{top:calc(46px + var(--dwq-bell-t,10px) + var(--dwq-bell-s,34px) + 12px)}}
/* phones / tablets (the theme shows its menu button at the top-right): float the bell to its left, smaller */
@media(max-width:900px){
.dwq-bell.is-float{top:var(--dwq-bell-t,10px);right:var(--dwq-bell-r,64px)}
body.admin-bar .dwq-bell.is-float{top:calc(46px + var(--dwq-bell-t,10px))}
.dwq-bell.is-float .dwq-bell-btn{width:var(--dwq-bell-s,34px);height:var(--dwq-bell-s,34px);border-width:1.5px;box-shadow:0 3px 9px rgba(0,0,0,.25)}
.dwq-bell.is-float .dwq-bell-btn svg{width:calc(var(--dwq-bell-s,34px) * .52);height:calc(var(--dwq-bell-s,34px) * .52)}
.dwq-bell.is-float .dwq-bell-badge{top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;font-size:10.5px;line-height:12px;border-width:1.5px}
}

/* ---------- footer ---------- */
.dwq-foot{position:relative;clear:both;width:100%;box-sizing:border-box;margin:0;color:#e6f2ea;font-family:'Noto Sans Bengali','Hind Siliguri',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.6;background:radial-gradient(120% 140% at 50% 0,#0d6a3c 0,#08301d 55%,#051b11 100%);border-top:4px solid #D4AF37;overflow:hidden}
.dwq-foot::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.07;background:repeating-linear-gradient(45deg,#f7dc83 0 1px,transparent 1px 22px),repeating-linear-gradient(-45deg,#f7dc83 0 1px,transparent 1px 22px)}
.dwq-foot *{box-sizing:border-box}
.dwq-foot-in{position:relative;max-width:1200px;margin:0 auto;padding:44px 24px 30px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:34px}
.dwq-foot-brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.dwq-foot-logo{display:inline-block;background:#fff;border-radius:22px;padding:10px 14px;border:2px solid #D4AF37;box-shadow:0 8px 22px rgba(0,0,0,.3)}
.dwq-foot-logo img{display:block}
.dwq-foot-tag{margin:0;color:#f7dc83;font-weight:600;font-size:16.5px}
.dwq-foot-soc{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
.dwq-foot-soc a{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:2px solid rgba(247,220,131,.6);color:#f7dc83;text-decoration:none;transition:background .15s,color .15s,transform .15s}
.dwq-foot-soc a:hover{background:#f7dc83;color:#092115;transform:translateY(-2px)}
.dwq-foot-col h3{margin:0 0 14px;font-size:19px;font-weight:700;color:#f7dc83;position:relative;padding-bottom:9px}
.dwq-foot-col h3::after{content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;border-radius:3px;background:#D4AF37}
.dwq-foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.dwq-foot-col li{margin:0;padding:0}
.dwq-foot-col a{color:#e6f2ea;text-decoration:none;transition:color .15s,padding .15s}
.dwq-foot-col a:hover{color:#f7dc83}
.dwq-foot-col:not(.dwq-foot-contact) a:hover{padding-left:4px}
.dwq-foot-contact li{display:flex;gap:10px;align-items:flex-start}
.dwq-foot-contact svg{flex:none;margin-top:3px;color:#f7dc83}
.dwq-foot-contact span,.dwq-foot-contact a{word-break:break-word}
.dwq-foot-bar{position:relative;border-top:1px solid rgba(247,220,131,.28);background:rgba(0,0,0,.22);text-align:center;padding:14px 20px;font-size:15px;color:#cfe3d6}
@media(max-width:1000px){.dwq-foot-in{grid-template-columns:1fr 1fr}.dwq-foot-brand{grid-column:1/-1;align-items:center;text-align:center}}
@media(max-width:560px){.dwq-foot-in{grid-template-columns:1fr;padding:34px 18px 22px;gap:26px}.dwq-foot-col{text-align:left}}

/* hide the theme's own footer when the DeenWorld footer is on (Settings -> ফুটার) */
body.dwq-pfoot>footer:not(.dwq-foot),body.dwq-pfoot #page>footer:not(.dwq-foot),body.dwq-pfoot .site>footer:not(.dwq-foot),body.dwq-pfoot .wp-site-blocks>footer:not(.dwq-foot),
body.dwq-pfoot #colophon,body.dwq-pfoot .site-footer,body.dwq-pfoot .elementor-location-footer,body.dwq-pfoot #footer,body.dwq-pfoot .footer-widgets,body.dwq-pfoot .ast-small-footer{display:none!important}

/* v1.5.5 - footer text is always clear: Bengali font, medium weight, spaced digits (e.g. সকাল ১০টা – সন্ধ্যা ৬টা) */
.dwq-foot{font-weight:600;line-height:1.7;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}
.dwq-foot-contact li,.dwq-foot-col li{font-size:17px;font-weight:600;letter-spacing:.03em;word-spacing:.1em;line-height:1.65}
.dwq-foot-bar{font-size:16px;font-weight:600;letter-spacing:.02em}
.dwq-foot-tag{letter-spacing:.02em}
.dwq-foot-contact span,.dwq-foot-contact a{color:#f1f8f3}
.dwq-bell,.dwq-bell-panel{text-rendering:optimizeLegibility}

/* v1.5.7 - "completely free" line above the copyright bar */
.dwq-foot-free{text-align:center;padding:12px 16px;background:rgba(212,175,55,.14);border-top:1px solid rgba(212,175,55,.35);color:#f7dc83;font-weight:700;font-size:16.5px;line-height:1.6;letter-spacing:.02em}
