:root { --bg:#faf7f5; --card:#fff; --fg:#1b1213; --muted:#6f6263; --line:#ece4e2; --red:#ce1126; --yellow:#ffd600; --ink:#120a0b; }
@media (prefers-color-scheme: dark) { :root { --bg:#120c0d; --card:#1c1415; --fg:#f2eaea; --muted:#ad9ea0; --line:#2e2324; } }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--fg); font:17px/2.1 "Noto Nastaliq Urdu", serif; }
a { color:inherit; text-decoration:none; }
img, video { max-width:100%; display:block; }
.wrap { max-width:1180px; margin:0 auto; padding:0 16px; }
.muted { color:var(--muted); }

.masthead { background:var(--ink); color:#fff; position:sticky; top:0; z-index:5; border-bottom:4px solid var(--red); }
.masthead .bar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; font-size:24px; }
.brand img { border-radius:10px; }
.masthead nav { display:flex; gap:18px; font-size:17px; }
.masthead nav a:hover { color:var(--yellow); }

main { padding-top:20px; padding-bottom:40px; }
section { margin-bottom:34px; }
.sec-head { display:flex; justify-content:space-between; align-items:baseline; border-bottom:2px solid var(--line); margin-bottom:14px; }
.sec-head h2, .page-title { font-size:26px; margin:0; position:relative; }
.sec-head h2::after { content:""; position:absolute; right:0; bottom:-4px; width:56px; height:4px; background:var(--red); }
.sec-head a { color:var(--red); font-size:15px; }

.card { display:block; background:var(--card); border-radius:12px; overflow:hidden; border:1px solid var(--line); transition:transform .15s; }
.card:hover { transform:translateY(-2px); }
.card img, .card .noimg { width:100%; aspect-ratio:16/9; object-fit:cover; background:var(--line); }
.card .txt { padding:8px 14px 12px; }
.card h3 { font-size:19px; line-height:2; margin:0; }
.card p { color:var(--muted); margin:4px 0; font-size:16px; }
.card time { color:var(--muted); font-size:13px; font-family:Inter, sans-serif; }
.pill { display:inline-block; background:var(--red); color:#fff; font-size:12px; line-height:1.8; padding:0 10px; border-radius:999px; }

.lead { display:grid; grid-template-columns:2fr 1fr; gap:16px; }
.card.big h3 { font-size:28px; line-height:1.9; }
.side { display:grid; gap:12px; align-content:start; }
.card.row { display:grid; grid-template-columns:120px 1fr; align-items:center; }
.card.row img, .card.row .noimg { aspect-ratio:1; height:100%; }
.card.row h3 { font-size:16px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.reel-row { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(170px, 1fr); gap:12px; overflow-x:auto; padding-bottom:6px; }
.reel-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; }
.card.reel img { aspect-ratio:9/16; }
.card.reel h3 { font-size:15px; }

.story { display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:28px; }
.story h1 { font-size:34px; line-height:1.9; margin:6px 0; }
.dek { color:var(--muted); font-size:20px; margin:0; }
.byline { color:var(--muted); font-size:14px; }
.hero img { border-radius:12px; width:100%; }
figcaption { font:12px Inter, sans-serif; color:var(--muted); margin-top:4px; }
.body { font-size:19px; line-height:2.35; }
.body h2 { font-size:24px; color:var(--red); margin:26px 0 4px; }
.player { background:#000; border-radius:12px; overflow:hidden; display:flex; justify-content:center; }
.player video { max-height:80vh; width:auto; }
.credit { color:var(--muted); font-size:14px; }
.caption { font-size:19px; }
.gallery { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:12px; }
.gallery img { border-radius:10px; width:100%; }
.tags { font:13px Inter, sans-serif; display:flex; flex-wrap:wrap; gap:6px; }
.tags span { background:var(--card); border:1px solid var(--line); border-radius:999px; padding:2px 10px; }
.share { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:18px 0; font-size:15px; }
.share a { font:600 14px Inter, sans-serif; background:var(--ink); color:#fff; padding:6px 14px; border-radius:8px; }
.comments { border-top:2px solid var(--line); margin-top:24px; }
aside h2 { font-size:22px; border-bottom:2px solid var(--line); }
aside .card { margin-bottom:10px; }
.pager { display:flex; justify-content:center; gap:20px; margin-top:24px; }
.empty { text-align:center; padding:60px 0; }
.foot { background:var(--ink); color:#d9cfcf; padding:20px 0; font-size:15px; }
.foot .en { font:13px Inter, sans-serif; }

@media (max-width:860px) {
  .lead, .story { grid-template-columns:1fr; }
  .story h1 { font-size:27px; }
  .card.big h3 { font-size:22px; }
  .masthead nav { gap:12px; font-size:15px; }
  .brand span { font-size:20px; }
}

/* ads */
.ad { margin:18px auto; text-align:center; max-width:100%; overflow:hidden; }
.ad-label { display:block; font:11px Inter, sans-serif; color:var(--muted); letter-spacing:.08em; margin-bottom:4px; }
.ad img { margin:0 auto; max-width:100%; height:auto; border-radius:6px; }
.ad-m { display:none; }
aside .ad { margin-top:0; }
@media (max-width:860px) { .ad-m { display:block; } .ad-d { display:none; } }
.ad img { max-height:250px; width:auto; }
.ad-sidebar img { max-height:600px; }

/* SEO / brand / feeds */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.crumbs { font-size:14px; color:var(--muted); }
.crumbs a:hover { color:var(--red); }
.byline { display:flex; flex-wrap:wrap; gap:4px 14px; color:var(--muted); font-size:14px; }
.byline .upd { color:var(--red); }
.card img { height:auto; }
.rss { font:700 12px Inter, sans-serif; background:#f26522; color:#fff; padding:2px 10px; border-radius:6px; }
.foot-grid { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center; }
.foot-links { display:flex; flex-wrap:wrap; gap:14px; font-size:14px; }
.foot-links a:hover { color:var(--yellow); }
.lead-ur { font-size:19px; color:var(--muted); margin:0; }
.en-note { font:14px Inter, sans-serif; color:var(--muted); }
.dl-all { display:inline-block; background:var(--red); color:#fff; padding:6px 18px; border-radius:8px; }
.kit { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:16px; margin:20px 0; font-family:Inter, sans-serif; }
.asset { margin:0; background:var(--card); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.asset-img { height:170px; display:grid; place-items:center; padding:14px;
  background:repeating-conic-gradient(#f1f1f1 0% 25%, #fff 0% 50%) 50% / 18px 18px; }
.asset-img.on-dark { background:#1b1213; }
.asset-img img { max-height:100%; max-width:100%; object-fit:contain; }
.asset figcaption { padding:10px 14px 14px; display:grid; gap:3px; font-size:13px; line-height:1.5; }
.asset .dim { color:var(--muted); }
.asset a { color:var(--red); font-weight:700; }
.colors { font-family:Inter, sans-serif; display:grid; gap:8px; }
.colors span { display:inline-block; width:22px; height:22px; border-radius:6px; vertical-align:middle; margin-right:8px; border:1px solid var(--line); }

/* legal pages */
.legal { max-width:860px; }
.legal-ur { font-size:18px; line-height:2.3; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:6px 20px; }
.legal-en { font:16px/1.7 Inter, system-ui, sans-serif; text-align:left; margin-top:26px; }
.legal-en h1 { font-size:28px; margin:0 0 4px; }
.legal-en h2 { font-size:19px; margin:26px 0 6px; }
.legal-en a, .legal-ur a { color:var(--red); text-decoration:underline; }
.legal-en .updated { color:var(--muted); font-size:14px; }
.legal-en li { margin:6px 0; }

/* gallery lightbox */
.gallery a.lb { display:block; cursor:zoom-in; }
.lb-lock, .lb-lock body { overflow:hidden; }
.lb-box { position:fixed; inset:0; z-index:100; background:rgba(8,6,6,.94); display:none; }
.lb-box.open { display:block; animation:lbfade .15s ease-out; }
@keyframes lbfade { from { opacity:0; } to { opacity:1; } }
.lb-stage { position:absolute; inset:56px 72px 64px; display:flex; align-items:center; justify-content:center; }
.lb-stage img { max-width:100%; max-height:100%; object-fit:contain; border-radius:6px; box-shadow:0 10px 40px rgba(0,0,0,.5); }
.lb-box button { position:absolute; background:rgba(255,255,255,.12); color:#fff; border:0; cursor:pointer; border-radius:50%;
  width:52px; height:52px; font:400 36px/1 Inter, sans-serif; display:grid; place-items:center; transition:background .15s; }
.lb-box button:hover { background:rgba(255,255,255,.25); }
.lb-prev { right:12px; top:50%; transform:translateY(-50%); }
.lb-next { left:12px; top:50%; transform:translateY(-50%); }
.lb-close { top:10px; left:12px; font-size:30px !important; }
.lb-bar { position:absolute; left:0; right:0; bottom:0; height:56px; display:flex; justify-content:space-between; align-items:center;
  padding:0 20px; color:#ddd; font:14px Inter, sans-serif; direction:ltr; }
.lb-count { font-weight:700; color:#fff; }
@media (max-width:640px) { .lb-stage { inset:52px 8px 60px; } .lb-box button { width:44px; height:44px; } .lb-prev, .lb-next { top:auto; bottom:6px; transform:none; } .lb-prev { right:auto; left:64px; } .lb-next { left:8px; } }

/* gallery grid: uniform tiles, never stretched (full image opens in the lightbox) */
.gallery figure { margin:0; }
.gallery { display:block; columns:3 240px; column-gap:12px; }
.gallery figure { break-inside:avoid; margin:0 0 12px; }
.gallery img { width:100%; height:auto; aspect-ratio:auto; display:block; border-radius:10px; }
.hero img, .body img { height:auto; }

.legal-en h3 { font-size:16px; margin:18px 0 4px; }

/* row cards: keep thumbnails at their real 16:9 shape (no squeezing) */
.card.row { grid-template-columns:150px 1fr; align-items:center; }
.card.row img, .card.row .noimg { aspect-ratio:16 / 9; width:100%; height:auto; }
aside .card.row { display:block; }
aside .card.row .txt { padding:8px 12px 10px; }
/* numbered pager */
.pager { flex-wrap:wrap; align-items:center; font:15px Inter, sans-serif; }
.pager a, .pager span { min-width:38px; text-align:center; padding:4px 10px; border-radius:8px; border:1px solid var(--line); background:var(--card); }
.pager .cur { background:var(--red); color:#fff; border-color:var(--red); font-weight:700; }
.pager .gap { border:0; background:none; }

/* dramas */
.drama-head { margin:10px 0 18px; }
.drama-facts span { display:inline-block; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:0 12px; margin:0 0 6px 6px; font-size:14px; }
.drama-facts span:empty { display:none; }
.drama-chip { background:var(--red); color:#fff !important; border-radius:999px; padding:0 10px; }
.next-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:18px; align-items:start; }
@media (max-width:800px) { .next-grid { grid-template-columns:1fr; } }
.yt { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:#000; margin:10px 0; }
.yt iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.yt-h { font-size:20px; margin:18px 0 0; color:var(--red); }
section.ep { margin-top:22px; }
/* follow + engagement */
.follow { background:var(--card); border:1px solid var(--line); border-right:5px solid #25d366; border-radius:12px; padding:10px 16px; margin:18px 0; }
.follow p { margin:0 0 6px; font-weight:700; }
.follow .wa, .follow .push-btn { display:inline-block; background:#25d366; color:#fff; border:0; border-radius:999px; padding:2px 16px; font:inherit; font-size:15px; cursor:pointer; margin-left:8px; }
.follow .push-btn { background:var(--ink); }
#engage h2 { font-size:22px; margin:22px 0 8px; }
.poll { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:6px 16px 12px; }
.poll-opt { display:block; width:100%; text-align:right; font:inherit; background:var(--bg); color:var(--fg); border:1px solid var(--line); border-radius:10px; padding:4px 14px; margin:6px 0; cursor:pointer; }
.poll-opt:hover { border-color:var(--red); }
.poll-res { position:relative; display:flex; justify-content:space-between; border:1px solid var(--line); border-radius:10px; padding:4px 14px; margin:6px 0; overflow:hidden; }
.poll-res .bar { position:absolute; inset:0 0 0 auto; background:rgba(206,17,38,.14); z-index:0; }
.poll-res.mine .bar { background:rgba(206,17,38,.28); }
.poll-res span { position:relative; z-index:1; }
.poll-res .pct { font-family:Inter, sans-serif; font-size:14px; }
.cform { display:grid; gap:8px; }
.cform input, .cform textarea { font:inherit; font-size:16px; padding:6px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--fg); }
.cform button { justify-self:start; background:var(--red); color:#fff; border:0; border-radius:999px; padding:2px 20px; font:inherit; cursor:pointer; }
.cform .hp { position:absolute; width:1px; height:1px; padding:0; border:0; opacity:0; overflow:hidden; pointer-events:none; }
.cform .note { margin:0; font-size:14px; }
.cmt { border-bottom:1px solid var(--line); padding:6px 0; }
.cmt p { margin:0; }
.cmt .who { display:flex; gap:10px; align-items:baseline; }
.cmt time { color:var(--muted); font-size:12px; }

/* v10 layout */
/* video row: fixed-width cards, so one or two videos don't stretch across the page */
.reel-row { grid-auto-columns:200px; justify-content:start; }
.reel-grid { grid-template-columns:repeat(auto-fill, minmax(180px, 220px)); }
@media (max-width:600px) { .reel-row { grid-auto-columns:44%; } .reel-grid { grid-template-columns:1fr 1fr; } }
/* small cards: thumbnail on top, then the title */
.card.row { display:block; }
.card.row img, .card.row .noimg { aspect-ratio:16 / 9; width:100%; height:auto; }
.card.row .txt { padding:8px 12px 10px; }
.card.row h3 { font-size:16px; line-height:1.9; }
@media (max-width:900px) { .lead .side { grid-template-columns:1fr 1fr; } }

/* a clip without a vertical thumbnail: show the whole 16:9 image instead of cropping it */
.card.reel img.fit { object-fit:contain; background:#120a0b; }
