/* ===========================================================
   Al-Fajr — الفجر
   Urdu RTL news portal — maroon / black / white
   Font: Jameel Noori Nastaleeq (self-hosted) — the exact Nastaliq face
         alfajaronline.com uses. Noto Nastaliq Urdu as a fallback.
   =========================================================== */

/* primary Urdu font — Jameel Noori Nastaleeq (Nastaliq), same as alfajaronline.com */
@font-face {
  font-family:"Jameel Noori Nastaleeq";
  src:url("https://alfajaronline.com/wp-content/uploads/font-organizer/Jameel-Noori-Nastaleeq.woff") format("woff");
  font-weight:normal;
  font-style:normal;
  font-display:block;   /* wait for the real Nastaliq font — never show a fallback flash */
}
/* Montserrat (self-hosted, latin, variable 600-800) — for the text wordmark logo */
@font-face {
  font-family:"Montserrat";
  src:url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight:600 800;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --red:#5c0632; --red-dark:#420424; --black:#000;
  --ink:#212529; --muted:#777; --line:#e5e5e5; --soft:#f7f7f7;
  --maxw:1200px;
  /* type scale */
  --fs-base:16px; --fs-head:19px; --fs-section:20px;
  --fs-lead:clamp(24px,3vw,32px); --fs-title:clamp(26px,3.4vw,36px); --fs-lead2:clamp(20px,2.6vw,27px);
  /* spacing / rhythm */
  --gap:16px; --gap-sm:12px; --block:20px;
  --ease:.18s cubic-bezier(.4,0,.2,1);
  --urdu:"Jameel Noori Nastaleeq","Noto Nastaliq Urdu",serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--urdu);
  font-size:var(--fs-base);line-height:1.9;direction:rtl;text-align:right}
a{color:inherit;text-decoration:none;transition:color var(--ease)}
a:hover{color:var(--red)}
img{max-width:100%;display:block}
ul{margin:0;padding:0;list-style:none}
.container{max-width:min(var(--maxw),96vw);margin:0 auto;padding:0 14px}

/* a11y: skip link + visible keyboard focus */
.skip-link{position:absolute;top:-60px;right:8px;z-index:200;background:var(--red);color:#fff;padding:10px 16px;font-weight:700;transition:top var(--ease)}
.skip-link:focus{top:8px}
a:focus-visible,button:focus-visible,input:focus-visible,label:focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* placeholder image boxes — show the Al-Fajr logo (branded placeholder) */
.ph{position:relative;background:#eef3ec url('../img/logo.png') center center / auto 56% no-repeat;overflow:hidden;aspect-ratio:16/9}
/* news photos: bias the crop toward the top so faces/heads aren't cut off */
img.ph{object-fit:cover;object-position:center 22%}
.ph::after{content:none}
/* real uploaded images cover the box; the logo shows behind only while loading */
img.ph{object-fit:cover}
.ph.sq{aspect-ratio:1/1}
.ph.wide{aspect-ratio:16/9}
.ph.vid{aspect-ratio:16/9}
/* cap large featured images to keep the page compact */
.hero .big .ph{max-height:360px}
.mh-feat .ph{max-height:250px}
.feat .ph{max-height:260px}
.vplayer .ph{max-height:320px}

/* ---------- top utility bar (black) ---------- */
.topbar{background:var(--red);font-size:12px}
.topbar .container{display:flex;align-items:center;justify-content:space-between;min-height:34px;gap:10px}
.topbar .t-date{color:#f1d8e4;font-size:12.5px;white-space:nowrap;flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis}
.topbar .t-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap;text-transform:uppercase;letter-spacing:.3px}
@media(max-width:760px){.topbar .t-date{display:none}}
.topbar .t-links a{color:#fff;font-weight:600}
.topbar .t-links a:hover{color:#e9c7d2}

/* news ticker (scrolling headlines below nav) */
.ticker{background:#f3f3f3;border-top:2px solid var(--red);border-bottom:1px solid var(--line)}
.ticker .container{display:flex;align-items:stretch;overflow:hidden;padding:0 14px}
.ticker-label{background:var(--red);color:#fff;font-weight:700;font-size:14px;padding:9px 16px;white-space:nowrap;flex:none;display:flex;align-items:center}
.ticker-wrap{flex:1;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent);
  mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
/* 4 copies in the track; shift by exactly one copy (-25%) → seamless loop, never blanks.
   `reverse` makes it scroll RIGHT-to-LEFT (correct for Urdu/RTL). */
.ticker-track{display:inline-flex;align-items:center;white-space:nowrap;padding:9px 0;animation:ticker 60s linear infinite;will-change:transform}
.ticker-wrap:hover .ticker-track{animation-play-state:paused}
.ticker-track a{font-size:14px;color:var(--ink);font-weight:700;padding:0 6px}
.ticker-track a:hover{color:var(--red)}
.ticker-track .t-sep{color:var(--red);margin:0 12px;font-size:9px}
/* RTL: the track overflows LEFT, so shift RIGHT (+25% = one of the 4 copies).
   This keeps content inside the visible window the whole cycle — a -25%/reverse
   shift pushed the track off-screen left (blank), worst on narrow mobile. */
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(25%)}}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none}}

/* ===== Prize Bond ===== */
.pb-crumbs{font-size:13px;color:var(--muted);margin:2px 0 14px}
.pb-crumbs a{color:var(--red);font-weight:700}
.pb-check{background:#f6eef0;border:1px solid var(--line);border-radius:10px;padding:14px}
.pb-checkform{display:flex;gap:8px;flex-wrap:wrap}
.pb-checkform select,.pb-checkform input{height:44px;border:1px solid #ccc;border-radius:8px;padding:0 12px;font-family:var(--urdu);font-size:16px}
.pb-checkform input{flex:1;min-width:180px;direction:ltr;text-align:left}
.pb-checkform button{height:44px;padding:0 24px;border:0;border-radius:8px;background:var(--red);color:#fff;font-family:var(--urdu);font-size:16px;font-weight:700;cursor:pointer}
.pb-checkform button:hover{background:var(--red-dark)}
.pb-result{margin-top:12px;padding:12px 14px;border-radius:8px;font-size:16px;line-height:1.8}
.pb-result.win{background:#e7f6ec;border:1px solid #27ae60;color:#1a5e34}
.pb-result.lose{background:#fdecea;border:1px solid #e74c3c;color:#9b2c22}
.pb-result ul{margin:8px 0 0;padding:0 18px 0 0;list-style:disc}
.pb-result a{color:var(--red);font-weight:700;margin-right:6px}
.pb-denoms{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:600px){.pb-denoms{grid-template-columns:repeat(2,1fr)}}
.pb-denom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 8px;transition:all var(--ease)}
.pb-denom:hover{border-color:var(--red);box-shadow:0 5px 14px rgba(0,0,0,.08);transform:translateY(-2px)}
.pb-denom .pb-rs{font-size:13px;color:var(--muted);font-family:Arial}
.pb-denom .pb-amt{font-size:26px;font-weight:800;color:var(--red);font-family:Arial}
.pb-denom .pb-prem{font-size:11px;background:var(--red);color:#fff;border-radius:10px;padding:1px 8px}
.pb-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.pb-row{display:flex;align-items:center;gap:10px;padding:11px 14px;border-top:1px solid var(--line);font-size:15px}
.pb-row:first-child{border-top:0}
.pb-row:hover{background:#f6eef0}
.pb-row .pb-no{font-weight:700;color:var(--ink);flex:1}
.pb-row .pb-dt{font-size:13px;color:var(--muted)}
.pb-row .pb-go{font-size:13px;color:var(--red);font-weight:700}
.pb-row.pdf .pb-go{color:#555}
.pb-meta{color:#555;font-size:14px;margin:0 0 14px}
.pb-prize{margin:0 0 18px}
.pb-prize h3{font-size:18px;margin:0 0 8px;color:#fff;background:var(--red);display:inline-block;padding:4px 14px;border-radius:4px}
.pb-prize.first h3{background:#b8860b}.pb-prize.second h3{background:#555}
.pb-prize .pb-cnt{font-size:12px;font-weight:400;opacity:.85}
.pb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:4px;direction:ltr}
.pb-grid span{background:#f5f5f5;border:1px solid #eee;border-radius:4px;padding:5px 2px;text-align:center;font-family:Arial,monospace;font-size:14px;letter-spacing:.5px}
.pb-prize.first .pb-grid span,.pb-prize.second .pb-grid span{background:#fff4d6;border-color:#e8d08a;font-weight:700;font-size:18px}
.pb-src{font-size:12px;color:var(--muted);margin-top:10px}
.pb-none{color:var(--muted);padding:10px 0}
/* homepage prize-bond widget */
.pb-widget{background:#f6eef0;border:1px solid var(--line);border-radius:10px;padding:14px;text-align:center}
.pb-widget .pbw-head{font-size:17px;font-weight:800;color:var(--red);margin-bottom:10px}
.pb-widget .pbw-form{display:flex;gap:6px}
.pb-widget .pbw-form input{flex:1;min-width:0;height:40px;border:1px solid #ccc;border-radius:7px;padding:0 10px;font-family:var(--urdu);font-size:15px;direction:ltr;text-align:left}
.pb-widget .pbw-form button{height:40px;padding:0 14px;border:0;border-radius:7px;background:var(--red);color:#fff;font-family:var(--urdu);font-weight:700;white-space:nowrap;cursor:pointer}
.pb-widget .pbw-form button:hover{background:var(--red-dark)}
.pb-widget .pbw-all{display:inline-block;margin-top:10px;font-size:13px;color:var(--red);font-weight:700}
.topbar .t-links a.t-admin{background:rgba(255,255,255,.16);padding:2px 10px;border-radius:12px;font-weight:700}
.topbar .t-links a.t-admin:hover{background:rgba(255,255,255,.28);color:#fff}

.topbar .t-social{display:flex;align-items:center;gap:10px}
.topbar .t-social a{color:#fff;display:inline-flex;align-items:center}
.topbar .t-social a svg{width:15px;height:15px}
.topbar .t-social a:hover{color:#e9c7d2}
.topbar .t-social span{color:#fff;font-size:12px;font-weight:700}

/* ---------- logo band ---------- */
.logoband{background:#fff}
.logoband .container{display:flex;align-items:stretch;gap:16px;padding:8px 14px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
/* Jang-style black logo box on the right (rtl start) — compact, centred to the band */
.brand.logobox{background:#000;border-radius:8px;padding:7px 16px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.brand-logo{height:62px;width:auto;max-width:100%;display:block}
.hb-all{display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap;flex:0 0 auto;justify-content:flex-start}
.hb-box .hb-emoji{font-size:24px;line-height:1;width:34px;height:34px;display:grid;place-items:center;flex:none}
/* top leaderboard ad box — stretches to fill the empty left space */
.topad{flex:1 1 auto;min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center;border:1px dashed #cbd8c6;border-radius:8px;background:repeating-linear-gradient(135deg,#f6faf4,#f6faf4 10px,#f1f6ee 10px,#f1f6ee 20px);text-decoration:none;padding:8px 14px}
.topad-in{text-align:center;line-height:1.3}
.topad-in b{display:block;color:var(--red);font-size:15px;font-weight:800}
.topad-in small{display:block;color:#8a9a84;font-size:12px;margin-top:2px}
.topad:hover{border-color:var(--gold)}
@media(max-width:760px){.topad{display:none}}

/* ===== Homepage ad popup ===== */
.ad-pop{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.72);display:none;align-items:center;justify-content:center;padding:20px}
.ad-pop.open{display:flex;animation:adFade .25s ease}
@keyframes adFade{from{opacity:0}to{opacity:1}}
.ad-pop-box{position:relative;max-width:640px;width:100%;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5);border:3px solid var(--gold);background:#fff;animation:adPop .3s cubic-bezier(.2,.8,.2,1)}
@keyframes adPop{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}
.ad-pop-box img{display:block;width:100%;height:auto}
.ad-pop-x{position:absolute;top:10px;left:10px;width:38px;height:38px;border:0;border-radius:50%;background:var(--red);color:#fff;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.3);transition:background .15s,color .15s}
.ad-pop-x:hover{background:var(--gold);color:#111}
@media(max-width:560px){.ad-pop-box{max-width:100%}}

/* ===== Hero: main lead (right) + 2nd/3rd/4th stacked (left) ===== */
.hero2{display:grid;grid-template-columns:1.7fr 1fr;gap:16px;margin:14px 0}
.h2-main{display:block;text-decoration:none;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.h2-main .ph{aspect-ratio:16/9;width:100%;display:block}
.h2-main-tx{padding:14px 16px 16px}
.h2-title{margin:0;color:var(--ink);font-size:clamp(20px,2.2vw,29px);line-height:1.6;font-weight:700}
.h2-main:hover .h2-title{color:var(--red)}
.h2-ex{margin:8px 0 0;color:#555;font-size:14px;line-height:1.95;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.h2-main .h2-meta{display:inline-block;margin-top:8px;color:var(--red);font-size:12px;font-weight:700}
.h2-side{display:flex;flex-direction:column;gap:12px}
.h2-sec{display:flex;gap:11px;align-items:flex-start;text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:12px}
.h2-side .h2-sec:last-child{border-bottom:0;padding-bottom:0}
.h2-sec .ph{flex:0 0 112px;width:112px;height:74px;border-radius:8px;aspect-ratio:auto;object-fit:cover}
.h2-sec-tx{min-width:0}
.h2-sec-tx h3{margin:0;color:var(--ink);font-size:16px;line-height:1.75;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.h2-sec:hover h3{color:var(--red)}
.h2-sec .h2-meta{display:inline-block;margin-top:4px;color:#8a8a8a;font-size:11px}
@media(max-width:760px){.hero2{grid-template-columns:1fr}.h2-title{font-size:20px}}
/* text wordmark (replaces the PNG logo) — Montserrat ExtraBold, maroon, soft shade */
.brand-wm{display:flex;flex-direction:column;align-items:center;direction:ltr;line-height:1}
.bw-name{font-family:"Montserrat",Arial,sans-serif;font-weight:800;font-size:54px;color:var(--red);letter-spacing:-.5px;line-height:1;white-space:nowrap}
.bw-sub{font-family:"Montserrat",Arial,sans-serif;font-weight:600;font-size:12px;letter-spacing:2.5px;color:#8a8a8a;margin-top:5px;white-space:nowrap}
@media(max-width:600px){.bw-name{font-size:33px;letter-spacing:-.5px}.bw-sub{font-size:8.5px;letter-spacing:1.5px;margin-top:3px}}
/* quick-rate boxes flanking the logo (2 right, 2 left) */
.hb-side{display:flex;gap:10px;min-width:0}
.hb-right{justify-self:start;justify-content:flex-start}
.hb-left{justify-self:end;justify-content:flex-end}
.hb-box{display:flex;align-items:center;gap:9px;border:1px solid #ecd7e0;border-radius:10px;padding:7px 11px;text-decoration:none;background:#fff;transition:border-color var(--ease),box-shadow var(--ease);white-space:nowrap}
.hb-box:hover{border-color:var(--red);box-shadow:0 3px 10px rgba(92,6,50,.10)}
.hb-ic{width:30px;height:30px;object-fit:contain;flex:none;display:block}
.hb-tx{display:flex;flex-direction:column;line-height:1.25}
.hb-t{font-size:12px;color:var(--red);font-weight:700}
.hb-v{font-size:14px;color:#1a1a1a;font-weight:700}
/* hide the boxes on mobile — keep the header compact; logo stays centered */
@media(max-width:860px){.hb-side{display:none}.logoband .container{grid-template-columns:1fr auto 1fr}}
@media(max-width:600px){.brand-logo{height:46px}.brand.logobox{padding:5px 12px}.logoband .container{gap:10px}}
.brand .mark{background:var(--red);color:#fff;font-family:Arial,sans-serif;font-weight:800;font-size:28px;line-height:1;padding:9px 15px 7px;letter-spacing:1px;border-radius:2px;text-align:center}
.brand .mark small{display:block;font-family:var(--urdu);font-size:13px;font-weight:400;margin-top:2px}
.brand .name{font-size:38px;color:var(--ink);line-height:1.1}
.brand .tag{font-size:11px;color:var(--muted)}

/* ---------- main nav (white, black items) + mobile hamburger ---------- */
.mainnav{background:#fff;border-top:2px solid #000;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.mainnav .container{display:flex;align-items:stretch}
.nav-items{flex:1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;row-gap:0}
.mainnav a{color:#212529;padding:8px 8px;font-size:14px;white-space:nowrap;font-weight:700;line-height:1.5}
.mainnav a:hover{color:var(--red);background:transparent}
.mainnav a.nav-pb{color:#fff;background:#b8860b;border-radius:4px;padding:5px 12px;margin:0 4px}
.mainnav a.nav-pb:hover{background:#9c7209;color:#fff}
.mainnav a.active,.mainnav a.active:hover{color:#fff;background:var(--red)}
.nav-items a:last-child{color:#000}
/* مزید dropdown (click to open) */
.nav-more{position:relative}
.more-toggle{color:#212529;padding:9px 11px;font-size:15px;font-weight:700;line-height:1.4;background:none;border:0;cursor:pointer;font-family:inherit;white-space:nowrap}
.more-toggle:hover,.nav-more.open .more-toggle{color:var(--red)}
.more-toggle .caret{font-size:11px}
.more-menu{position:absolute;top:100%;left:0;min-width:170px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 26px rgba(0,0,0,.14);border-radius:8px;padding:6px;display:none;z-index:130;text-align:right}
.nav-more.open .more-menu{display:block}
.more-menu a{display:block;padding:9px 12px;border-radius:6px;color:var(--ink);font-size:14px;font-weight:700;white-space:nowrap}
.more-menu a:hover{background:var(--soft);color:var(--red)}
.more-menu .nav-pb-sub{color:#b8860b;border-top:1px solid var(--line);margin-top:4px;padding-top:11px}
.nav-tog{position:absolute;opacity:0;pointer-events:none}
.nav-toggle{display:none;cursor:pointer;padding:11px 14px;font-weight:700;color:var(--ink);font-size:var(--fs-head);user-select:none}
.nav-quick{display:none}
@media(max-width:820px){
  .mainnav .container{flex-wrap:wrap}
  .nav-toggle{display:flex;align-items:center;gap:8px;flex:none}
  /* quick category strip — always visible on mobile without opening the menu */
  .nav-quick{display:flex;gap:7px;flex:1;align-items:center;overflow-x:auto;padding:7px 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .nav-quick::-webkit-scrollbar{display:none}
  .nav-quick a{white-space:nowrap;font-size:13.5px;font-weight:700;color:var(--ink);padding:6px 12px;border-radius:16px;background:#f3eef0}
  .nav-quick a.active,.nav-quick a:hover{background:var(--red);color:#fff}
  /* OVERLAY dropdown: floats ON TOP of the page (content does NOT shift down),
     right-aligned items, subtle active state — a real app-style menu. */
  .mainnav .container{position:relative}
  .nav-items{display:none;position:absolute;top:100%;right:0;left:auto;width:86%;max-width:400px;z-index:70;
    align-items:stretch;background:#fff;border-top:1px solid var(--line);border-left:1px solid var(--line);
    box-shadow:-6px 16px 28px rgba(0,0,0,.18);max-height:80vh;overflow-y:auto;border-bottom-left-radius:10px}
  /* TWO-COLUMN grid of category links */
  .nav-tog:checked ~ .container .nav-items{display:grid;grid-template-columns:1fr 1fr}
  .nav-items>a{display:flex;justify-content:center;align-items:center;box-sizing:border-box;
    border-bottom:1px solid #f1f1f1;padding:13px 10px;text-align:center;color:#2a2a2a;font-weight:700;font-size:13.5px}
  .nav-items>a:nth-child(odd){border-left:1px solid #f1f1f1}   /* RTL: center divider line */
  .nav-items a:hover{background:#faf2f5;color:var(--red)}
  .mainnav .nav-items a.active{color:var(--red);background:#faf2f5;position:relative}
  .mainnav .nav-items a.active::before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--red)}
  /* مزید spans both columns */
  .nav-more{grid-column:1 / -1;width:100%;border-top:1px solid #ececec}
  .more-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:right;
    padding:13px 18px;background:#fff;font-weight:700;color:#2a2a2a}
  .more-menu{position:static;box-shadow:none;border:0;border-radius:0;min-width:0;padding:0;width:100%;background:#f8f8f8;
    display:grid;grid-template-columns:1fr 1fr}
  .more-menu a{display:flex;justify-content:center;align-items:center;box-sizing:border-box;
    border-bottom:1px solid #ededed;padding:12px 10px;text-align:center;color:#444;font-size:13px}
  .more-menu a:nth-child(odd){border-left:1px solid #ededed}
}

/* ---------- section heading ---------- */
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;border-bottom:2px solid var(--line);margin:0 0 8px;padding-bottom:0}
.sec-head h2{margin:0;font-size:var(--fs-section);color:#fff;background:var(--red);padding:3px 14px 1px}
.sec-head .more{font-size:12px;color:var(--muted);padding-bottom:5px}
.sec-head .more:hover{color:var(--red)}
/* section heading links are WHITE on a maroon bar — the global a:hover(red) turned
   them maroon-on-maroon (invisible). Keep them white on hover so they never vanish. */
.sec-head h2 a{color:#fff}
.sec-head h2 a:hover{color:#fff;opacity:.85}
.cat{display:inline-block;background:var(--red);color:#fff;font-size:11px;padding:1px 7px;margin-bottom:3px}

/* ---------- hero (express-style) ----------
   Full-width bold headline on top, then a half/half row:
   featured image (right, RTL) + live-updates list (left), the image
   stretched to match the list height. */
main{padding:12px 0 20px}
.hero{margin-bottom:16px;background:#fcf8f9;padding:16px 16px 18px;border-radius:10px}
.hero .lead-head h1.lh{font-size:var(--fs-lead);line-height:1.3;margin:0 0 4px;color:var(--ink);font-weight:700}
.hero .lead-head:hover h1{color:var(--red)}
.hero .live{display:inline-flex;align-items:center;gap:7px;color:#000;font-size:13px;font-weight:700;letter-spacing:.5px;margin:0 0 10px;font-family:Arial,sans-serif}
.hero .live::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--red);animation:blink 1.1s infinite}
@keyframes blink{50%{opacity:.25}}
.hero-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
@media(max-width:820px){
  .hero-row{grid-template-columns:1fr}
  /* clear separation so the headline never looks like it sits on the image */
  .hero{padding:14px 14px 16px}
  .hero .lead-head h1.lh{margin:0 0 14px;font-size:23px;line-height:1.45}
  .hero-row .big{margin-bottom:4px}
  .hero-row .big .ph{min-height:200px;max-height:240px;border-radius:10px;object-fit:cover}
}
.hero-row .big{display:flex}
.hero-row .big a{display:block;width:100%}
.hero-row .big .ph{width:100%;height:100%;min-height:300px;object-fit:cover}
.hero-row .upd{align-self:stretch;max-height:320px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--red) #eee}
.hero-row .upd::-webkit-scrollbar{width:6px}
.hero-row .upd::-webkit-scrollbar-thumb{background:var(--red);border-radius:3px}
.hero-row .upd::-webkit-scrollbar-track{background:#eee;border-radius:3px}
.hero-row .upd li{border-top:1px solid var(--line);padding:10px 0}
.hero-row .upd li:first-child{border-top:0;padding-top:0}
.hero-row .upd .badge{display:inline-block;direction:ltr;background:#e8e8e8;color:#000;font-size:10px;padding:1px 8px;border-radius:9px;margin-bottom:5px;font-family:Arial,sans-serif;letter-spacing:.2px}
.hero-row .upd a{display:block;font-size:var(--fs-head);line-height:1.35;font-weight:700;color:var(--ink)}
.hero-row .upd a:hover{color:var(--red)}

/* ---------- master 2-col layout ---------- */
.wrap{display:grid;grid-template-columns:2.55fr 1fr;gap:20px}
@media(max-width:900px){.wrap{grid-template-columns:1fr}}
.block{margin-bottom:var(--block)}

/* ---------- masthead (featured + khas) ---------- */
.masthead{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;align-items:start}
@media(max-width:700px){.masthead{grid-template-columns:1fr}}
.mh-lead .ph{aspect-ratio:16/9;max-height:250px;margin-bottom:6px}
.mh-lead h3{margin:0 0 4px;font-size:var(--fs-lead2);line-height:1.35;color:var(--ink)}
.mh-lead:hover h3{color:var(--red)}
.mh-feat p{margin:0 0 8px;color:#555;font-size:var(--fs-head)}
.mh-sub{margin-top:8px;border-top:2px solid var(--line);padding-top:4px}
.mh-sub a{grid-template-columns:1fr 108px;font-size:var(--fs-head)}
/* masthead sub-items with excerpts (fills the featured column) */
.mh-sub2{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.mh-sub-item{display:grid;grid-template-columns:1fr 120px;gap:10px;align-items:start;padding-top:12px;border-top:1px solid var(--line)}
.mh-sub-item:first-child{border-top:0;padding-top:0}
.mh-sub-item .ph{aspect-ratio:4/3;border-radius:6px}
.mh-sub-item h4{margin:0 0 4px;font-size:var(--fs-head);line-height:1.4;color:var(--ink);font-weight:500}
.mh-sub-item:hover h4{color:var(--red)}
.mh-sub-item p{margin:0;font-size:14px;line-height:1.55;color:#555;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-khas .hlist a{grid-template-columns:1fr 104px;font-size:calc(var(--fs-head) - 2px)}

/* ---------- category section: featured(right) + grid(left) ---------- */
.catsec-row{display:grid;grid-template-columns:1fr 1.35fr;gap:16px;align-items:start}
@media(max-width:700px){.catsec-row{grid-template-columns:1fr}}
.cs-feat .ph{aspect-ratio:16/9;max-height:230px;margin-bottom:6px}
.cs-feat h3{margin:0 0 4px;font-size:calc(var(--fs-head) - 2px);line-height:1.5}
.cs-feat p{margin:0 0 4px;color:#555;font-size:var(--fs-head)}
.cs-feat .meta{font-size:12px;color:var(--muted)}

/* پاکستان 4-col grid: featured spans 2x2 */
.pk-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:700px){.pk-grid{grid-template-columns:repeat(2,1fr)}}
.pk-grid .cs-feat{grid-column:span 2;grid-row:span 2;margin:0}
.pk-grid .cs-feat .ph{aspect-ratio:16/11;max-height:none}
@media(max-width:700px){.pk-grid .cs-feat{grid-column:span 2;grid-row:auto}}
/* پاکستان block — bigger, bolder headlines (user asked for larger top-size font) */
.pk-grid .cs-feat h3{font-size:24px;line-height:1.45}
.pk-grid .icard h3{font-size:19px;line-height:1.45}

/* ---------- featured + grid patterns (half sections) ---------- */
.feat .ph{aspect-ratio:16/9;margin-bottom:6px}
.feat h3{margin:0 0 4px;font-size:var(--fs-head);line-height:1.5}   /* half-section feature headline (+2px) */
.feat p{margin:0;color:#555;font-size:var(--fs-head)}

.grid{display:grid;gap:12px}
.g4{grid-template-columns:repeat(4,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
@media(max-width:860px){.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.g4,.g3,.g2{grid-template-columns:1fr}}
.icard{transition:transform var(--ease),box-shadow var(--ease)}
.icard:hover{transform:translateY(-2px);box-shadow:0 5px 14px rgba(0,0,0,.09)}
.icard .ph{aspect-ratio:16/9}
.icard .ph::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background var(--ease);z-index:1}
.icard:hover .ph::before{background:rgba(0,0,0,.06)}
.icard h3{margin:4px 0 0;font-size:var(--fs-head);line-height:1.5}   /* 2x2 card headlines (+2px) */
.icard:hover h3{color:var(--red)}

/* headline list with thumb */
.hlist li{padding:7px 0;border-top:1px solid var(--line)}
.hlist li:first-child{border-top:0}
.hlist a{display:grid;grid-template-columns:1fr 108px;gap:10px;align-items:start;font-size:var(--fs-head);line-height:1.5}
.hlist .ph{aspect-ratio:4/3}
.hlist .time{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.hlist.notimg a{display:block}

/* two half sections side by side */
.halves{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.halves:empty{display:none}
@media(max-width:700px){.halves{grid-template-columns:1fr}}

/* grey background band for select sections */
.band{background:#f6eef0;padding:12px 14px 16px}

/* ---------- videos ---------- */
.vid-sec{background:#111;padding:0 0 14px;border-radius:8px;overflow:hidden}
/* cinematic header strip */
.vhead{position:relative;display:flex;align-items:center;justify-content:space-between;background:#1a1a1a;padding:16px 20px;border-bottom:3px solid var(--red);overflow:hidden}
.vhead-ghost{position:absolute;right:150px;top:50%;transform:translateY(-50%);font-size:clamp(40px,7vw,64px);font-weight:900;letter-spacing:10px;color:#fff;opacity:.06;pointer-events:none;font-family:Arial,sans-serif}
.vhead-strap{color:#bbb;font-size:12px;letter-spacing:3px;direction:ltr;z-index:1}
.vhead-tag{background:var(--red);color:#fff;font-size:24px;font-weight:700;padding:5px 20px;border-radius:4px;z-index:1;text-decoration:none}
.vhead-tag:hover{color:#fff;opacity:.9}
@media(max-width:560px){.vhead-strap{display:none}.vhead-ghost{right:50%;transform:translate(50%,-50%)}}

.videos-row{display:grid;grid-template-columns:168px 1fr;gap:12px;align-items:start;padding:14px}
@media(max-width:700px){.videos-row{grid-template-columns:1fr}}

/* big featured player */
.vmain{min-width:0;order:2}
.vplayer{position:relative;border-radius:9px;overflow:hidden;background:#000}
.vplayer .ph{aspect-ratio:16/9;max-height:320px;background:#1c1c1c}
.vplayer .ph::after{content:"ویڈیو";color:#666}
.vplayer .play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:24px}
.vtitle{position:absolute;right:0;bottom:0;left:0;margin:0;padding:34px 18px 16px;font-size:calc(var(--fs-head) + 5px);font-weight:700;line-height:1.5;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.72));border-right:4px solid var(--red)}
.vtitle:empty{display:none}

/* scrollable rail of up to 10 small videos */
.vlist{order:1;display:flex;flex-direction:column;gap:9px;max-height:320px;overflow-y:auto;padding-left:4px}
.vlist::-webkit-scrollbar{width:5px}
.vlist::-webkit-scrollbar-thumb{background:#5c0632;border-radius:3px}
.vlist li{padding:0;border:0}
.vlist a{display:block}
.vthumb{position:relative;display:block;border-radius:7px;overflow:hidden;border:2px solid transparent}
.vitem.on .vthumb{border-color:var(--red)}
.vthumb .ph{aspect-ratio:16/9;width:100%;display:block}
.vthumb-cap{position:absolute;right:0;bottom:0;left:0;padding:16px 8px 6px;font-size:12.5px;font-weight:700;color:#fff;line-height:1.35;background:linear-gradient(transparent,rgba(0,0,0,.78));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vthumb .play{position:absolute;top:6px;right:6px;margin:0;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;display:grid;place-items:center;font-size:9px}

/* footer tabs (static labels) */
.vtabs{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:4px 20px 2px;font-size:14px;color:#ccc}
.vtabs i{color:#444;font-style:normal}
.vtab{color:#ccc}
.vtab.on{background:var(--red);color:#fff;padding:5px 16px;border-radius:3px}

/* stacked sidebar news: full-width image on top, headline below */
.vnews{display:flex;flex-direction:column;gap:14px}
.vnews-item{display:block}
.vnews-item .ph{aspect-ratio:16/9;width:100%;border-radius:8px;background:#e9e9e9}
.vnews-item h4{margin:8px 0 0;font-size:20px;font-weight:500;line-height:1.5;color:var(--ink)}
.vnews-item:hover h4{color:var(--red)}
.vnews-item + .vnews-item{border-top:1px solid var(--line);padding-top:14px}

/* ---------- SIDEBAR ---------- */
.side .promo .ph{aspect-ratio:16/9}
.side .block{margin-bottom:16px}
/* ---------- عوامی سہولیات utilities card grid ---------- */
.util-wrap{margin-bottom:16px}
.util-head{background:linear-gradient(135deg,var(--red),var(--red-dark));color:#fff;border-radius:12px;padding:11px 14px;margin-bottom:12px;text-align:center;border-bottom:3px solid var(--gold)}
.util-head h3{margin:0;font-size:16px;font-weight:800}
.util-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.util-card{position:relative;background:#fff;border:1px solid #e4efe4;border-radius:14px;padding:16px 10px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ink);min-height:118px;overflow:hidden}
.util-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--red));opacity:0;transition:opacity var(--ease)}
a.util-card{transition:transform var(--ease),box-shadow var(--ease),border-color var(--ease)}
a.util-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(31,138,55,.16);border-color:var(--gold)}
a.util-card:hover::before{opacity:1}
.util-card .uc-ic{line-height:1;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,#edf6ee,#f7f1e2);margin-bottom:10px}
.util-card .uc-ic img{width:40px;height:40px;object-fit:contain;display:block}
.util-card .uc-t{font-weight:700;font-size:14px;line-height:1.4;color:var(--ink)}
.util-card .uc-v{font-weight:800;font-size:15px;margin-top:4px;color:var(--red)}
.util-card .uc-s{font-size:11px;color:#6b776b;margin-top:2px;line-height:1.35}
.util-card.is-link{min-height:118px}
.util-card.c-wx,.util-card.c-pr,.util-card.c-pb,.util-card.c-gold,.util-card.c-cur,.util-card.c-pet,.util-card.c-qr,.util-card.c-isl{background:#fff}
/* WhatsApp "send your news" sidebar banner */
.news-wa{display:block;background:#0f8a3c;color:#fff;border-radius:14px;padding:18px 14px;margin-bottom:16px;text-align:center;transition:transform var(--ease)}
.news-wa:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.16)}
.news-wa .nw-ic{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;margin:0 auto 10px}
.news-wa .nw-ic svg{width:30px;height:30px}
.news-wa .nw-h{font-size:17px;font-weight:800;line-height:1.35;margin-bottom:7px}
.news-wa .nw-p{font-size:12.5px;line-height:1.65;opacity:.96;margin-bottom:13px}
.news-wa .nw-btn{display:inline-flex;align-items:center;gap:7px;background:#fff;color:#0f8a3c;font-weight:800;font-size:13px;padding:10px 18px;border-radius:24px}
.news-wa .nw-btn svg{width:16px;height:16px}
/* WhatsApp banner — image version */
.news-wa-img{display:block;margin-bottom:16px;border-radius:14px;overflow:hidden;transition:transform var(--ease)}
.news-wa-img:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.16)}
.news-wa-img img{display:block;width:100%;height:auto}
/* rates page */
.rl-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.rl-badge{background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:3px 12px;border-radius:20px}
.rates-date{color:#555}
/* proper page heading: title + icon on the right, dated badge on the left, red rule under */
.rates-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  border-bottom:3px solid var(--red);padding:2px 0 12px;margin:8px 0 20px}
.rates-head .rh-main{display:flex;align-items:center;gap:12px}
.rates-head h1{font-size:30px;font-weight:800;margin:0;color:var(--ink);line-height:1.15}
.rates-head .rh-ico{width:42px;height:42px;flex:none}
.rates-head .rh-date{display:inline-flex;align-items:center;gap:9px;font-size:18px;font-weight:700;color:var(--ink)}
.rates-head .rh-badge{background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:4px 13px;border-radius:20px}
.rates-fig{margin:0}.rates-fig img{width:100%;border:1px solid var(--line);border-radius:8px;display:block}
.rates-intro{font-size:15px;line-height:1.95;color:#333;margin:0 0 16px;padding:12px 15px;background:#faf7f2;border:1px solid var(--line);border-radius:8px}
.rates-intro strong{color:var(--ink)}
/* ---- one-row horizontal archive with paging arrows ---- */
/* the nowrap row must scroll INSIDE the column, not stretch it — min-width:0 lets
   the flex column (.main) shrink below its content so overflow-x can take effect */
.wrap .main{min-width:0}
.rates-rail{position:relative;margin-top:6px;min-width:0;max-width:100%}
.rates-rail .rates-prev{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;scroll-behavior:smooth;
  scroll-snap-type:x proximity;padding:4px 2px 12px;min-width:0}
.rates-rail .rates-prev::-webkit-scrollbar{height:7px}
.rates-rail .rates-prev::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}
.rates-rail .rp-item{flex:0 0 150px;scroll-snap-align:start}
.rail-btn{position:absolute;top:44%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:var(--ink);font-size:20px;font-weight:700;line-height:1;
  cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 10px rgba(0,0,0,.16);z-index:3;transition:all var(--ease)}
.rail-btn:hover{background:var(--red);color:#fff;border-color:var(--red)}
.rail-btn.prev{right:-7px}   /* RTL: newer side on the right */
.rail-btn.next{left:-7px}
.rail-btn:disabled{opacity:0;pointer-events:none}
.rp-item{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-align:center;background:#fff;transition:transform var(--ease)}
.rp-item:hover{transform:translateY(-2px);box-shadow:0 5px 14px rgba(0,0,0,.08)}
.rp-item img{width:100%;height:150px;object-fit:cover;object-position:top;display:block;background:#f6f6f6}
.rp-item .rp-date{display:block;padding:7px 4px;font-size:12px;color:#555;font-weight:700}
.rates-src{font-size:13px;color:#888;margin:14px 0 0}
/* ---- single dated sheet page ---- */
.rate-single .rs-fig{margin:0}
.rate-single .rs-fig img{width:100%;max-width:820px;height:auto;border:1px solid var(--line);border-radius:10px;display:block;margin:0 auto}
.rate-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 4px}
.rate-nav a{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:var(--red);
  border:1px solid var(--line);border-radius:8px;padding:8px 14px;white-space:nowrap}
.rate-nav a:hover{background:#faf2f5;border-color:var(--red)}
.rate-nav .rates-all-link{color:#fff;background:var(--red);border-color:var(--red)}
.rate-nav .rate-nav-x{flex:0 0 1px}
@media(max-width:560px){.rates-head h1{font-size:23px}.rates-head .rh-date{font-size:15px}.rate-nav a{padding:7px 10px;font-size:13px}}
/* ===== utility pages: gold / fuel / namaz / weather ===== */
.city-pick{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.city-pick label{font-weight:700;color:var(--ink);font-size:15px}
.city-pick select{font-family:var(--urdu);font-size:16px;padding:8px 14px;border:1px solid #ccc;border-radius:8px;background:#fff;min-width:160px;cursor:pointer}
.rate-none{padding:28px;text-align:center;color:#888;font-size:16px}
.rate-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 16px 10px;margin-bottom:8px}
.rate-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.rate-badge{background:var(--red);color:#fff;font-size:13px;font-weight:700;padding:4px 14px;border-radius:20px}
.rate-live{color:#1a7f37;font-size:12px;font-weight:800;letter-spacing:1px;display:inline-flex;align-items:center;gap:5px;direction:ltr}
.rate-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#1a7f37;animation:blink 1.1s infinite}
.rate-sub{color:var(--muted);font-size:13px}
.rate-scroll{overflow-x:auto}
.rate-tbl{width:100%;border-collapse:collapse;font-size:16px}
.rate-tbl th{background:#f3f3f3;color:var(--ink);font-weight:800;padding:12px 10px;text-align:center;border-bottom:2px solid var(--line);white-space:nowrap}
.rate-tbl th:first-child{text-align:right}
.rate-tbl td{padding:13px 10px;text-align:center;border-bottom:1px solid var(--line);font-weight:700;white-space:nowrap}
.rate-tbl td.rt-lab{text-align:right;color:var(--ink);background:#fafafa}
.rate-tbl.hist td,.rate-tbl.hist th{font-size:14.5px}

/* ===== per-page colour themes for the utility pages ===== */
.theme-gold{--accent:#b8860b;--accent-dark:#946a08;--accent-soft:#fbf3dd}
.theme-fuel{--accent:#1f8a4c;--accent-dark:#176b3a;--accent-soft:#e6f4ec}
.theme-currency{--accent:#1565c0;--accent-dark:#0f4c94;--accent-soft:#e7f0fb}
.theme-namaz{--accent:#0f766e;--accent-dark:#0b5a53;--accent-soft:#e3f4f2}
.theme-prizebond{--accent:#1a7f37;--accent-dark:#136328;--accent-soft:#e7f6ec}
.theme-rates{--accent:#5c0632;--accent-dark:#420424;--accent-soft:#f4e3ea}
/* apply the page accent to the shared utility components (scoped to the themed page) */
[class*="theme-"] .cat-title h1{border-right:5px solid var(--accent);padding-right:13px}
[class*="theme-"] .rate-badge{background:var(--accent)}
[class*="theme-"] .rate-live{color:var(--accent-dark)}
[class*="theme-"] .rate-live::before{background:var(--accent)}
[class*="theme-"] .rate-card{border-top:3px solid var(--accent)}
[class*="theme-"] .rate-tbl th{color:var(--accent-dark)}
[class*="theme-"] .rate-tbl td.rt-lab{color:var(--accent-dark)}
[class*="theme-"] .sec-head h2{color:var(--accent-dark)}

/* ===== 7-day price trend chart ===== */
.rate-chart-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--accent,var(--red));border-radius:12px;padding:15px 16px 12px;margin:16px 0 8px}
.rc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.rc-title{font-weight:800;font-size:16px;color:var(--ink)}
.rc-trend{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:13.5px;font-family:Arial;direction:ltr;padding:4px 12px;border-radius:20px}
.rc-trend.up{background:#fdecea;color:#c0392b}
.rc-trend.down{background:#e7f6ec;color:#1a7f37}
.rc-trend.flat{background:#eee;color:#555}
.rate-chart{width:100%;height:auto;display:block}
.rc-foot{font-size:12px;color:#999;margin-top:8px;text-align:left;direction:ltr}
@media(max-width:560px){.rate-chart-card{padding:12px 10px 10px}.rc-title{font-size:14.5px}}

/* ===== currency page: country flags ===== */
.cur-cell{display:inline-flex;align-items:center;gap:9px}
.cur-flag{width:26px;height:20px;border-radius:3px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.10);flex:none;display:block}

/* ===== namaz page: teal theme + next-prayer highlight + date ===== */
.nz-today{text-align:right;color:var(--accent-dark,#0b5a53);font-weight:700;font-size:15px;margin:-4px 0 16px}
.theme-namaz .namaz-card{background:var(--accent-soft)}
.theme-namaz .namaz-card .nz-name{color:var(--accent-dark)}
.namaz-card.is-next{background:var(--accent,#0f766e);box-shadow:0 8px 20px rgba(15,118,110,.32)}
.namaz-card.is-next .nz-name,.namaz-card.is-next .nz-time{color:#fff}
.namaz-card .nz-badge{display:inline-block;background:rgba(255,255,255,.28);color:#fff;font-size:11px;font-weight:800;padding:2px 11px;border-radius:12px;margin-bottom:7px}

/* ===== prize bond: finish the green theme on the stray maroon accents ===== */
.theme-prizebond .pb-crumbs a,.theme-prizebond .pb-result a,.theme-prizebond .pb-denom .pb-amt{color:var(--accent)}
.theme-prizebond .pb-checkform button{background:var(--accent)}
.theme-prizebond .pb-checkform button:hover{background:var(--accent-dark)}
.theme-prizebond .pb-denom:hover{border-color:var(--accent)}
.theme-prizebond .pb-denom .pb-prem{background:var(--accent)}
/* mobile: shrink the rate tables so all columns (incl. gold 24K) fit without a
   hidden horizontal scroll */
@media(max-width:560px){
  .rate-card{padding:10px 8px 8px}
  .rate-tbl{font-size:12px}
  .rate-tbl th{padding:8px 3px}
  .rate-tbl td{padding:9px 3px}
  .rate-tbl td.rt-lab{font-size:11.5px}
  .rate-tbl.hist td,.rate-tbl.hist th{font-size:12px;padding:9px 4px}
}
.rate-src{color:var(--muted);font-size:12.5px;margin:12px 2px 4px;text-align:left;direction:ltr}
.namaz-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:560px){.namaz-grid{grid-template-columns:repeat(2,1fr)}}
.namaz-card{background:#f7eef1;border-radius:12px;padding:16px 10px;text-align:center}
.namaz-card .nz-name{display:block;font-size:17px;font-weight:800;color:var(--red)}
.namaz-card .nz-time{display:block;font-size:22px;font-weight:800;color:var(--ink);margin-top:4px;direction:ltr}
.wx-now{text-align:center;padding:10px 0 16px;border-bottom:1px solid var(--line);margin-bottom:14px}
.wx-temp{font-size:52px;font-weight:800;color:var(--ink);line-height:1}
.wx-cond{font-size:18px;font-weight:700;color:var(--red);margin-top:6px}
.wx-meta{font-size:13.5px;color:var(--muted);margin-top:6px}
.wx-forecast{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:560px){.wx-forecast{grid-template-columns:repeat(2,1fr)}}
.wx-day{background:#f6f8fb;border-radius:10px;padding:13px 6px;text-align:center}
.wx-day .wx-dn{display:block;font-weight:800;font-size:14px;color:var(--ink)}
.wx-day .wx-dc{display:block;font-size:12px;color:var(--muted);margin:5px 0}
.wx-day .wx-dt{display:block;font-size:15px}
.wx-day .wx-dt b{color:var(--red)}
.infocards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ic{border:1px solid var(--line);border-radius:4px;padding:14px 6px;text-align:center;background:var(--soft)}
.ic .ico{width:44px;height:44px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;font-size:19px;color:#fff;background:var(--red)}
.ic .ico.g{background:#e0a800}.ic .ico.p{background:#c0392b}.ic .ico.w{background:#2980b9}.ic .ico.n{background:#16a085}
.ic span{font-size:14px}

/* live sidebar widgets (prayer, weather, rates) */
.wdg{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;margin-bottom:16px}
.wdg-head{background:var(--red);color:#fff;font-size:15px;padding:8px 12px}
.wdg-head i{font-style:normal;margin-left:4px}
.wdg-body{padding:4px 12px 8px}
.wdg-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--line);font-size:15px}
.wdg-row:last-child{border-bottom:0}
.wdg-row b{color:#000;font-weight:700}
.wdg-weather{text-align:center;padding:14px 12px 18px;background:var(--soft)}
.wdg-weather .temp{font-size:36px;font-weight:800;color:#000;line-height:1}
.wdg-weather .cond{color:var(--muted);font-size:15px;margin-top:4px}

.mr-lead .ph{aspect-ratio:16/9;margin-bottom:6px}
.mr-lead h3{margin:0;font-size:var(--fs-head);line-height:1.5}
/* مقبول خبریں (popular): larger thumbnails + more legible headlines */
.popnews .hlist a{grid-template-columns:1fr 104px;gap:10px}
.popnews .hlist .ph{aspect-ratio:4/3}
.popnews .hlist li{padding:11px 0}
.op-row{display:grid;grid-template-columns:1fr 50px;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line)}
.op-row:first-child{border-top:0}
.op-row .ph{aspect-ratio:1/1;border-radius:50%}
.op-row h4{margin:0;font-size:15px;line-height:1.45}
.op-row .author{font-size:12px;color:#000}

/* 6-up grid (related strip) */
.g6{grid-template-columns:repeat(6,1fr)}
@media(max-width:860px){.g6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.g6{grid-template-columns:repeat(2,1fr)}}
.icard .meta{display:block;font-size:12px;color:var(--muted);margin-top:3px}

/* ========== STORY / ARTICLE PAGE ========== */
.story-wrap{max-width:760px;margin:6px auto 0}
.story-title{font-size:var(--fs-title);line-height:1.5;margin:0 0 10px;color:#000}
.story-sub{font-size:20px;line-height:1.55;color:#000;margin:0 0 14px}
.story-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-bottom:16px;flex-wrap:wrap}
.story-meta .date{font-size:13px;color:var(--muted)}
.share{display:flex;gap:8px}
.share a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;color:#fff;background:#555;transition:transform .16s ease,box-shadow .16s ease}
.share a.wa{background:#25d366}.share a.x{background:#000}.share a.fb{background:#1877f2}.share a.in{background:#0a66c2}.share a.em{background:#777}
.share a svg{width:15px;height:15px}
.share .cp{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--red);border:0;cursor:pointer;padding:0;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.share .cp svg{width:15px;height:15px}
/* hover: lift + glow in each button's own colour (like the ad hover) */
.share a:hover,.share .cp:hover{transform:translateY(-2px) scale(1.12)}
.share a.wa:hover{box-shadow:0 0 15px 2px rgba(37,211,102,.75)}
.share a.x:hover{box-shadow:0 0 15px 2px rgba(0,0,0,.55)}
.share a.fb:hover{box-shadow:0 0 15px 2px rgba(24,119,242,.75)}
.share a.in:hover{box-shadow:0 0 15px 2px rgba(10,102,194,.75)}
.share a.em:hover{box-shadow:0 0 15px 2px rgba(119,119,119,.7)}
.share .cp:hover{background:var(--red-dark);box-shadow:0 0 15px 2px rgba(92,6,50,.7)}
.share .cp.copied{background:#1a7f37}
.story-img{margin:0 0 16px}
.story-img .si-media{position:relative;display:block}
.story-img .si-media img{display:block}
.story-img:not(.inline) .si-media img{width:100%}            /* featured image fills the column (centred) */
.story-img.inline{text-align:center}                          /* inline images centre between right & left */
.story-img.inline .si-media{display:inline-block}
/* "AI Generated" disclosure badge — dark pill, bottom-left */
.ai-badge{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;background:rgba(0,0,0,.62);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px;z-index:3;font-family:Arial,sans-serif;direction:ltr;letter-spacing:.2px;line-height:1.4}
.ai-badge svg{width:13px;height:13px;flex:none}
/* Breaking news (بریکنگ) — red image-corner label (auto-off after 2h, handled server-side) */
.pic-brk{position:relative;display:block}
.pic-brk>img,.pic-brk>.ph{display:block;width:100%}
.hero-row .big .pic-brk,.hero-row .big .pic-brk>.ph,.hero-row .big .pic-brk>img{height:100%}
.brk-badge{position:absolute;right:8px;top:8px;background:#e21e26;color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:5px;display:inline-flex;align-items:center;gap:5px;z-index:4;font-family:Arial,sans-serif;line-height:1.4;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.brk-badge .bdot{width:7px;height:7px;border-radius:50%;background:#fff;animation:blink 1.1s infinite}
.story-img .ph{aspect-ratio:16/9}
.story-img figcaption{font-size:13px;color:#555;padding:8px 12px;background:var(--soft);border-right:3px solid var(--red);line-height:1.6}
.story-body p{font-size:22px;line-height:1.5;margin:0 0 15px;color:#000}
/* rich-text formatting from the WYSIWYG editor */
.story-body h2{font-size:26px;font-weight:700;color:#000;margin:20px 0 10px;line-height:1.35}
.story-body h3{font-size:22px;font-weight:700;color:#000;margin:16px 0 8px;line-height:1.4}
.story-body ul,.story-body ol{margin:0 20px 16px 0;padding-right:20px;font-size:20px;line-height:1.8;color:#000}
.story-body li{margin-bottom:7px}
.story-body a{color:var(--red);text-decoration:underline}
.story-body strong,.story-body b{font-weight:700}
.story-body u{text-decoration:underline}
.story-body .ql-align-center{text-align:center}
.story-body .ql-align-right{text-align:right}
.story-body .ql-align-left{text-align:left}
.story-body .ql-align-justify{text-align:justify}
/* inline media inside article body */
.story-img.inline{margin:18px auto;text-align:center}
.story-img.inline img{max-width:100%;height:auto;max-height:560px;border-radius:6px;display:inline-block}
.story-video{margin:18px 0}
.story-video iframe,.story-video video{width:100%;aspect-ratio:16/9;border:0;display:block;border-radius:6px;background:#000}
/* embedded social posts */
.embed-wrap{margin:18px auto;max-width:560px;display:flex;justify-content:center}
.embed-wrap iframe,.embed-wrap blockquote{max-width:100%!important}
.embed-link{word-break:break-all}
.story-video figcaption,.story-img figcaption{font-size:13px;color:#555;padding:8px 12px;background:var(--soft);border-right:3px solid var(--red);line-height:1.6}
/* Opinion columnist byline (photo + name) */
.columnist{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:12px 14px;background:var(--soft);border-radius:10px;border-right:4px solid var(--red)}
.columnist .col-photo{width:74px;height:74px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.14);flex:none}
.columnist .col-by{display:flex;flex-direction:column;gap:2px}
.columnist .col-label{font-size:12px;color:var(--red);font-weight:700}
.columnist .col-name{font-size:20px;font-weight:700;color:#000;line-height:1.3}
/* Opinion category: columnist cards (round photo + name) */
.op-card{text-align:center;display:flex;flex-direction:column;align-items:center;padding:16px 12px;background:var(--soft);border-radius:12px}
.op-card .opc-face{width:92px;height:92px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.15);margin-bottom:10px;aspect-ratio:1/1}
.op-card h3{margin:0 0 4px;font-size:var(--fs-head);line-height:1.4;color:#000}
.op-card .opc-name{color:var(--red);font-weight:700;font-size:13px;margin-bottom:2px}
.op-card .meta{color:#999;font-size:12px}
/* columnist byline on the Opinion lead */
.cl-writer{display:flex;align-items:center;gap:10px;margin:8px 0}
.cl-writer img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.16)}
.cl-writer .cl-by{display:flex;flex-direction:column;line-height:1.3}
.cl-writer .cl-label{font-size:11px;color:var(--red);font-weight:700}
.cl-writer .cl-by b{font-size:16px;color:#000}
/* multiple category tags */
.story-tags a{margin-left:6px}
.story-body blockquote{margin:0 0 16px;padding:10px 16px;border-right:4px solid var(--red);background:var(--soft);font-size:19px;color:#333}
.story-tags{margin:18px 0;padding-top:12px;border-top:1px solid var(--line);font-size:14px}
.story-tags span{color:var(--muted);margin-left:8px}
.story-tags a{display:inline-block;background:var(--soft);padding:3px 12px;margin:0 0 6px 6px;border-radius:3px;font-size:14px}
.story-share-bottom{display:flex;align-items:center;gap:12px;background:var(--soft);padding:12px 14px;margin-bottom:10px}
.story-share-bottom span{font-size:15px}
.related{max-width:1000px;margin:24px auto 0}

/* ========== CENTERED PAGE TITLE (Latest etc.) ========== */
.page-title{text-align:center;border-bottom:2px solid var(--line);margin:6px 0 16px}
.page-title h1{display:inline-block;margin:0 0 -2px;font-size:var(--fs-section);color:var(--ink);border-bottom:3px solid var(--red);padding-bottom:8px}

/* ========== تازہ ترین FEED ========== */
/* page header bar */
.lt-head{display:flex;align-items:center;gap:10px;border-bottom:2px solid var(--red);padding-bottom:8px;margin:6px 0 16px}
.lt-head .tag{background:var(--red);color:#fff;font-size:17px;font-weight:700;padding:5px 16px;border-radius:4px}
.lt-head .sub{font-size:12.5px;color:var(--muted)}
@media(max-width:520px){.lt-head .sub{display:none}}
/* lead block: big newest story + 2 secondary cards */
.lt-lead-row{margin-bottom:18px}
.lt-lead{position:relative;display:block;border-radius:10px;overflow:hidden;aspect-ratio:16/8;background:#1c1c1c;margin-bottom:12px}
.lt-lead .ph{width:100%;height:100%;object-fit:cover}
.lt-lead .cap{position:absolute;right:0;bottom:0;left:0;padding:90px 16px 18px;background:linear-gradient(to top,rgba(0,0,0,.98) 0%,rgba(0,0,0,.85) 40%,rgba(0,0,0,.45) 75%,rgba(0,0,0,0) 100%)}
.lt-lead .cap .badge{display:inline-block;background:var(--red);color:#fff;font-size:11px;padding:3px 10px;border-radius:3px;margin-bottom:8px}
.lt-lead .cap h2{margin:0;font-size:32px;font-weight:500;color:#fff;line-height:1.45;text-shadow:0 2px 10px rgba(0,0,0,.75)}
.lt-sec{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lt-sec a{display:block;border-radius:9px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.lt-sec .ph{aspect-ratio:16/9;width:100%;object-fit:cover}
.lt-sec h3{margin:0;padding:10px 12px;font-size:23px;font-weight:500;line-height:1.5;color:var(--ink)}
.lt-sec a:hover h3{color:var(--red)}
@media(max-width:560px){.lt-sec{grid-template-columns:1fr}}
.feed-more-h{font-size:13px;font-weight:700;color:var(--red);border-right:3px solid var(--red);padding-right:8px;margin:0 0 6px}
.feed-item{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.feed-item:first-child{padding-top:14px}
.feed-item .ph{aspect-ratio:16/10;border-radius:7px}
.feed-txt h2{margin:0 0 6px;font-size:21px;line-height:1.4;color:var(--ink)}
.feed-item:hover h2{color:var(--red)}
.feed-txt p{margin:0 0 8px;color:#555;font-size:15px;line-height:1.8}
.feed-txt .meta{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--muted)}
.feed-txt .meta .clk{color:var(--red)}
@media(max-width:520px){.feed-item{grid-template-columns:120px 1fr;gap:10px}.feed-txt p{display:none}}
/* numbered trending list (sidebar) */
.ranklist{list-style:none;margin:8px 0 0;padding:0}
.ranklist li{border-top:1px solid var(--line)}
.ranklist a{display:grid;grid-template-columns:1fr 96px;gap:11px;align-items:center;padding:11px 0}
.ranklist .rtxt{font-size:18px;font-weight:500;line-height:1.5;color:var(--ink);align-self:center}
.ranklist a:hover .rtxt{color:var(--red)}
.ranklist .rthumb .ph{width:96px;aspect-ratio:4/3;border-radius:6px;object-fit:cover;background:#e9e9e9}

/* ========== CATEGORY PAGE ========== */
/* visually-hidden heading (kept for SEO/screen readers; banner removed) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:560px){.cat-banner .cat-sub{display:none}}
/* height-capped featured hero with title overlay */
.cat-hero{position:relative;display:block;border-radius:10px;overflow:hidden;background:#1c1c1c;margin-bottom:16px;max-height:300px;aspect-ratio:16/7}
.cat-hero .ph{width:100%;height:100%;max-height:300px;object-fit:cover}
.cat-hero .ch-cap{position:absolute;right:0;bottom:0;left:0;padding:30px 16px 14px;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.cat-hero .ch-badge{display:inline-block;background:var(--red);color:#fff;font-size:11px;padding:3px 10px;border-radius:3px;margin-bottom:8px}
.cat-hero .ch-cap h2{margin:0;font-size:calc(var(--fs-section) + 1px);font-weight:700;color:#fff;line-height:1.5}
/* magazine feed — TWO columns (lead spans full width on top) */
.cat-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 16px}
@media(max-width:1100px){.cat-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.cat-list{grid-template-columns:repeat(2,1fr);gap:18px 12px}}
/* prominent lead row (newest story — bigger image + headline, no overlay) */
.cat-leadrow{grid-column:1 / -1;display:grid;grid-template-columns:1.15fr 1fr;gap:18px;align-items:center;padding:0 0 16px;margin-bottom:2px;border-bottom:2px solid var(--line)}
.cat-leadrow .ph{width:100%;aspect-ratio:16/9;border-radius:9px;object-fit:cover}
.cat-leadrow .clr-txt h2{margin:0 0 8px;font-size:28px;font-weight:700;line-height:1.5;color:var(--ink)}   /* category top/lead headline — bold, +2px */
.cat-leadrow:hover .clr-txt h2{color:var(--red)}
.cat-leadrow .clr-txt p{margin:0 0 8px;color:#555;font-size:15px;line-height:1.8}
.cat-leadrow .clr-txt .meta{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--muted)}
.cat-leadrow .clr-txt .meta .clk{color:var(--red)}
@media(max-width:620px){.cat-leadrow{grid-template-columns:1fr;gap:10px}}
/* stacked card: image on TOP, headline BELOW (4-up magazine grid) */
.cat-row{display:flex;flex-direction:column;gap:8px;padding:0;border-top:0;align-items:stretch}
.cat-row .ph{width:100%;aspect-ratio:4/3;border-radius:8px;object-fit:cover}
.cr-txt h3{margin:0 0 4px;font-size:16px;font-weight:500;line-height:1.55;color:var(--ink)}
.cat-row:hover h3{color:var(--red)}
.cr-txt p{display:none}   /* excerpt hidden in the compact grid */
.cr-txt .meta{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.cr-txt .meta .clk{color:var(--red)}
@media(max-width:400px){.cat-list{grid-template-columns:1fr 1fr;gap:14px 10px}.cr-txt h3{font-size:15px}}
.cat-lead{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;align-items:center;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:18px}
@media(max-width:620px){.cat-lead{grid-template-columns:1fr}}
.cat-lead .ph{aspect-ratio:16/9}
.cat-lead h2{margin:0 0 6px;font-size:20px;line-height:1.5;color:var(--ink)}
.cat-lead:hover h2{color:var(--red)}
.cat-lead p{margin:0 0 6px;color:#555;font-size:var(--fs-head)}
.cat-lead .meta{font-size:12px;color:var(--muted)}
.cat-grid.g3{grid-template-columns:repeat(3,1fr)}
@media(max-width:760px){.cat-grid.g3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.cat-grid.g3{grid-template-columns:1fr}}
.cat-loader{display:flex;align-items:center;justify-content:center;gap:9px;padding:20px;color:#777;font-size:14px}
.cat-loader[hidden],.cat-end[hidden]{display:none}
.cat-loader .spin{width:20px;height:20px;border:2px solid #ddd;border-top-color:var(--red);border-radius:50%;animation:catspin .7s linear infinite}
@keyframes catspin{to{transform:rotate(360deg)}}
.cat-end{text-align:center;padding:16px;color:#aaa;font-size:13px}
.pagination{display:flex;gap:6px;justify-content:center;margin:24px 0 6px;direction:ltr;flex-wrap:wrap}
.pagination .gap{display:grid;place-items:center;min-width:20px;color:#999}
.pagination a{min-width:34px;height:34px;padding:0 8px;display:grid;place-items:center;border:1px solid var(--line);font-size:14px;color:#333}
.pagination a:hover,.pagination a.active{background:var(--red);color:#fff;border-color:var(--red)}
.follow-box .follow-icons{display:flex;gap:10px;padding:10px 0;flex-wrap:wrap}
.follow-box .follow-icons a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#555;transition:transform var(--ease)}
.follow-box .follow-icons a:hover{transform:translateY(-2px)}
.follow-box .follow-icons a svg{width:20px;height:20px}
.follow-box .follow-icons a.facebook{background:#1877f2}
.follow-box .follow-icons a.x{background:#111}
.follow-box .follow-icons a.youtube{background:#ff0000}
.follow-box .follow-icons a.linkedin{background:#0a66c2}
.follow-box .follow-icons a.whatsapp{background:#25d366}
.follow-box .follow-icons a.email{background:#777}

/* ad */
.ad-slot{border:1px dashed #cfcfcf;color:#b4b4b4;font-size:12px;display:grid;place-items:center;background:#fafafa}
.ad-slot.full{width:100%;height:90px;margin:14px 0}

/* ---------- FreshWorksheets house ads ---------- */
.fw-ad{text-decoration:none;box-sizing:border-box;border-radius:14px;font-family:'Segoe UI',system-ui,sans-serif;direction:ltr;text-align:left;display:flex;overflow:hidden;transition:transform .15s,box-shadow .15s}
.fw-ad:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.1)}
.fw-ad .fw-kicker{font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.fw-ad .fw-head{font-weight:800;color:#1f2a44;line-height:1.25}
.fw-ad .fw-sub{font-size:12.5px;color:#5b6472;line-height:1.5}
.fw-ad .fw-cta{color:#fff;font-weight:700;font-size:13px;padding:9px 16px;border-radius:999px;white-space:nowrap}
.fw-ad .fw-ic{flex:none;display:grid;place-items:center}
/* leaderboard (728x90) */
.fw728{width:100%;min-height:90px;align-items:center;gap:16px;padding:12px 18px;border:1.5px solid #cdddfb;background:linear-gradient(90deg,#eef5ff,#f7fbff)}
.fw728 .fw-txt{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.fw728 .fw-kicker{color:#2563eb}
.fw728 .fw-head{font-size:18px}
.fw728 .fw-cta{background:#2563eb}
@media(max-width:620px){.fw728{flex-wrap:wrap;gap:10px}.fw728 .fw-sub{display:none}.fw728 .fw-cta{width:100%;text-align:center}}
/* box (300x250) */
.fw300{width:100%;min-height:250px;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 16px 18px}
.fw300 .fw-head{font-size:19px;text-align:center}
.fw300 .fw-sub{text-align:center;margin:2px 0}
.fw300 .fw-ic{margin:4px 0}
.fw300 .fw-cta{align-self:stretch;text-align:center;border-radius:10px;padding:11px;margin-top:auto}
.v-pink{border:1.5px solid #f3a9c6;background:linear-gradient(180deg,#fdeef4,#fff7f1)}
.v-pink .fw-kicker{color:#e11d6b}
.v-pink .fw-cta{background:#e11d6b}
.v-gold{border:1.5px solid #e2c178;background:linear-gradient(180deg,#fdf3df,#fbf8ef)}
.v-gold .fw-kicker{color:#b07d12}
.v-gold .fw-cta{background:#c98a16}
.fw-strip{margin:14px 0}
aside.side .fw-ad{margin-top:14px}

/* ---------- videos listing page ---------- */
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 18px;margin:0 0 28px}
@media(max-width:820px){.vgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.vgrid{grid-template-columns:1fr}}
.vcard{cursor:pointer}
.vcard .vthumb-g{position:relative;display:block;border-radius:10px;overflow:hidden;aspect-ratio:16/9;background:#000}
.vcard .vthumb-g img{width:100%;height:100%;object-fit:cover}
.vcard .vthumb-g .play{position:absolute;inset:0;margin:auto;width:56px;height:56px;display:grid;place-items:center;font-size:22px;color:#fff;background:rgba(0,0,0,.5);border-radius:50%;transition:background var(--ease)}
.vcard:hover .vthumb-g .play{background:var(--red)}
.vcard h3{margin:9px 0 0;font-size:16px;font-weight:700;line-height:1.5;color:var(--ink)}
.vcard:hover h3{color:var(--red)}

/* ---------- single video page ---------- */
.vs-crumb{font-size:13px;color:var(--muted);margin:4px 0 12px}
.vs-crumb a{color:var(--red)}
.vs-player{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:10px;overflow:hidden;margin-bottom:12px}
.vs-player iframe,.vs-player video,.vs-player img{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;display:block}
.vs-title{margin:0 0 8px;font-size:26px;font-weight:700;line-height:1.5;color:var(--ink)}
.vs-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px}
.vs-meta>span:first-child{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.vs-meta .clk{color:var(--red)}
.vs-share{display:flex;gap:8px}
.vs-share a{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;font-family:Arial,sans-serif}
.vs-share a.facebook{background:#1877f2}.vs-share a.whatsapp{background:#25d366}.vs-share a.x{background:#000}
.vs-share a:hover{opacity:.85;color:#fff}
.vs-more{list-style:none;margin:8px 0 0;padding:0}
.vs-more li{border-top:1px solid var(--line)}
.vs-more li:first-child{border-top:0}
.vs-more a{display:grid;grid-template-columns:116px 1fr;gap:10px;align-items:center;padding:10px 0}
.vs-more .vm-thumb{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#000}
.vs-more .vm-thumb img{width:100%;height:100%;object-fit:cover}
.vs-more .vm-thumb .play{position:absolute;inset:0;margin:auto;width:30px;height:30px;display:grid;place-items:center;font-size:12px;color:#fff;background:rgba(0,0,0,.45);border-radius:50%}
.vs-more .vm-ttl{font-size:14px;font-weight:700;line-height:1.5;color:var(--ink)}
.vs-more a:hover .vm-ttl{color:var(--red)}
a.vmain-link{color:inherit;text-decoration:none;display:block}
/* masthead ad box — fills the featured column (medium-rectangle sized) */
.mh-ad{width:100%;min-height:250px;margin-top:16px;border-radius:8px;gap:4px;flex-direction:column}
.mh-ad span{font-size:12px;color:#c4c4c4}

/* ---------- footer ---------- */
.footer{background:linear-gradient(180deg,#163a24 0%,#0e2217 60%,#0b1a12 100%);color:#c3ccc5;margin-top:28px;border-top:3px solid var(--gold)}
.footer .f-top{padding:36px 0 28px;display:grid;grid-template-columns:1.25fr 2fr;gap:40px;align-items:start}
@media(max-width:820px){.footer .f-top{grid-template-columns:1fr;gap:26px}}
.footer a{color:#b9bcc2;display:block;padding:4px 0;font-size:13.5px;transition:color .15s}
.footer a:hover{color:var(--gold)}   /* gold hover on the dark footer */
/* brand (right column in RTL) */
.footer .f-brand{text-align:right}
.footer .f-logo-wrap{display:inline-block;border-bottom:3px solid var(--gold);padding-bottom:8px;margin:0 0 14px}
.footer .f-logo-img{height:62px;width:auto;max-width:100%;display:block}
.footer .f-brand p{font-size:13px;line-height:1.95;color:#9aa0a8;margin:0 0 16px;max-width:360px}
.footer .f-apps{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.footer .f-app{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 14px;color:#fff;transition:border-color .15s,background .15s}
.footer .f-app:hover{background:rgba(244,165,29,.12);border-color:var(--gold);color:#fff}
.footer .f-app svg{width:20px;height:20px;flex:none}
.footer .f-app span{display:flex;flex-direction:column;line-height:1.15;font-size:14px;font-weight:700;text-align:left}
.footer .f-app small{font-size:9px;font-weight:400;color:#9aa0a8}
/* social */
.footer .f-social{display:flex;gap:10px;margin:0 0 16px}
.footer .f-social a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;padding:0;background:#555}
.footer .f-social a svg{width:18px;height:18px}
.footer .f-social a.facebook{background:#1877f2}
.footer .f-social a.x{background:#000}
.footer .f-social a.whatsapp{background:#25d366}
.footer .f-social a:hover{opacity:.85;color:#fff}
/* contact */
.footer .f-contact{display:flex;gap:20px;flex-wrap:wrap;align-items:center;border-top:1px solid #30343a;padding-top:14px}
.footer .f-contact .fc-item{display:inline-flex;align-items:center;gap:7px;color:#b9bcc2;font-size:13px;padding:0}
.footer .f-contact .fc-item svg{width:16px;height:16px;flex:none;color:var(--gold);opacity:1}
.footer .f-contact a.fc-item:hover{color:var(--gold)}
/* quick links */
.footer .f-head{color:#fff;font-size:20px;font-weight:800;margin:0 0 20px;text-align:center;position:relative;padding-bottom:12px}
.footer .f-head::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:60px;height:3px;background:linear-gradient(90deg,var(--gold),var(--red));border-radius:2px}
.footer .f-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:560px){.footer .f-cols{grid-template-columns:1fr 1fr}}
.footer .f-col a{font-size:13.5px;padding:5px 0}
/* bottom bar */
.footer .f-bar{background:#081209;border-top:1px solid rgba(255,255,255,.08);color:#9fb0a4}
.footer .f-bar-in{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 0}
.footer .f-bar .f-copy{font-size:13px}
.footer .f-bar .f-copy b{color:var(--gold);font-weight:700}
.footer .f-bar .f-legal{display:flex;gap:18px;flex-wrap:wrap}
.footer .f-bar .f-legal a{display:inline;padding:0;color:#9aa0a8;font-size:13px}
.footer .f-bar .f-legal a:hover{color:var(--gold)}
@media(max-width:560px){.footer .f-brand{text-align:center}.footer .f-logo-wrap{margin-left:auto;margin-right:auto}.footer .f-apps,.footer .f-social,.footer .f-contact{justify-content:center}.footer .f-brand p{margin-left:auto;margin-right:auto}.footer .f-bar-in{flex-direction:column;text-align:center;gap:8px}}

/* floating PWA install button (brand style) */
.pwa-install{position:fixed;left:16px;bottom:16px;z-index:300;background:var(--red);color:#fff;border:0;
  border-radius:30px;padding:12px 22px;font-family:var(--urdu);font-size:17px;font-weight:700;
  box-shadow:0 5px 18px rgba(0,0,0,.28);cursor:pointer;transition:background var(--ease),transform var(--ease)}
.pwa-install:hover{background:var(--red-dark);transform:translateY(-1px)}
.pwa-install[hidden]{display:none}
@media(max-width:600px){.pwa-install{left:12px;bottom:12px;font-size:15px;padding:10px 18px}}

/* ===========================================================
   HEADLINE WEIGHT & RHYTHM — match express.pk
   Nafees Web Naskh ships one regular master; the browser
   synthesises bold at 700, exactly as express does. Headlines
   also use express's tight line-height (~1.2–1.3) so they read
   as dense newspaper headlines instead of loose paragraphs.
   Kept as one block at the end so it overrides the defaults above.
   =========================================================== */
/* headlines are SEMI-BOLD (500), not heavy bold — site-wide (all categories + pages) */
.hero .lead-head h1.lh{font-weight:700;line-height:1.3}   /* MAIN lead (hero) — BOLD */
.hero-row .upd a{font-weight:500;line-height:1.35}
.mh-lead h3{font-weight:700;line-height:1.3}              /* SECOND lead (masthead) — BOLD */
.cs-feat h3,.feat h3{font-weight:700;line-height:1.3}   /* each category's LEAD (latest) headline — BOLD */
.icard h3,.mr-lead h3{font-weight:500;line-height:1.3}  /* smaller/older cards — semi-bold */
.hlist a,.mh-sub a,.mh-khas .hlist a,.vlist a{font-weight:500;line-height:1.35}
.feed-txt h2,.cat-lead h2{font-weight:500;line-height:1.3}
.op-row h4{font-weight:500;line-height:1.35}
.story-title{font-weight:700;line-height:1.3}
.sec-head h2{font-weight:700}

/* ===== Al-Fajr accents — gold from the logo sun over the green primary ===== */
.mainnav{border-top:3px solid var(--gold)}
.logoband{border-bottom:3px solid var(--gold)}
.sec-head h2{border-bottom:3px solid var(--gold)}
.ticker-label{box-shadow:inset 0 -3px 0 var(--gold)}
.mainnav .nav-items a.active,.mainnav .nav-items a.active:hover{box-shadow:inset 0 -3px 0 var(--gold)}
.pagination a:hover,.pagination a.active{box-shadow:inset 0 -3px 0 var(--gold-dark)}
.topbar{border-bottom:2px solid var(--gold)}
