/* ==========================================================
   Kay News Urdu - Stylesheet
   Colours sab yahan (:root) se change hote hain.
   Brand colours logo se liye gaye hain:  --ink (logo ka dark text)  aur  --green (logo ke arrows)
   ========================================================== */
/* Nafees Regular font (fonts/ folder se) */
@font-face {
  font-family: "Nafees";
  src: url("../fonts/Nafees_Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Nafees", "Noto Nastaliq Urdu", Tahoma, Arial, sans-serif;
  /* ---- Brand palette (logo se) ---- */
  --ink: #373743;            /* logo ka dark charcoal */
  --ink-deep: #272832;       /* topbar / footer / widget heads */
  --green: #13ff16;          /* logo ke arrows ka neon green (fills, underline, highlights) */
  --green-d: #08800f;        /* green jo safed background par text/link ke liye parha ja sake */
  --green-soft: #e9fde9;     /* halka green tint */
  --tint: #f1f2f5;           /* neutral halka grey tint */
  --on-green: #272832;       /* green ke upar text ka rang */

  /* ---- Site roles (purane naam wese hi chalte hain) ---- */
  --primary: var(--ink);
  --primary-dark: var(--ink-deep);
  --navy: var(--ink-deep);
  --live: #e11d2e;           /* sirf LIVE TV button ke liye */
  --up: #0a8a3a;
  --text: #22232b;
  --muted: #6a6c78;
  --line: #e4e5ea;
  --bg: #f3f4f6;
  --white: #fff;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(24,25,32,.06), 0 4px 14px rgba(24,25,32,.05);
  --shadow-md: 0 2px 4px rgba(24,25,32,.08), 0 10px 26px rgba(24,25,32,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9cad3; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar-social { display: flex; gap: 16px; direction: ltr; }
.topbar-social a:hover { color: #fff; }

/* ---------- Header (logo + weather + stocks) ---------- */
.header { background: var(--white); }
.header-in { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.logo { flex: 0 0 auto; }
.logo img { height: 52px; width: auto; }

.hw { flex: 0 1 580px; min-width: 0; margin-inline-start: auto; } /* RTL mein auto margin weather ko left le jata hai, beech khali rehta hai */
.wbox { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.wbox-title { border-bottom: 0;
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; margin: 0;
  background: var(--navy); color: #fff; padding: 0 14px;
  font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.6;
}
.wlist { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wlist::-webkit-scrollbar { display: none; }
.wi { flex: 1 0 auto; min-width: 76px; padding: 6px 10px; text-align: center; line-height: 1.5; }
.wi + .wi { border-right: 1px solid var(--line); }
.wi-name { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.wi-val { display: block; font-size: 15px; font-weight: 700; color: var(--text); font-family: Arial, sans-serif; direction: ltr; white-space: nowrap; }
.wi-ico { font-size: 14px; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Primary nav (white bg, blue text) ---------- */
.nav { background: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nav .container { padding: 0; }
.nav-list { display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { flex: 0 0 auto; }
.nav-list a {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  color: #e6e7ec; padding: 8px 16px; font-size: 17px; font-weight: 600; line-height: 1.8;
  font-family: var(--font);
  border-bottom: 3px solid transparent;
}
.nav-list a:hover { color: var(--green); background: rgba(255,255,255,.06); }
.nav-list a.active { border-bottom-color: var(--green); color: #fff; }
.nav-list a.nav-live {
  background: var(--live); color: #fff; border-radius: 3px; border-bottom: 0;
  margin: 0 8px; padding: 2px 14px; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .5px; line-height: 1.8;
}
.nav-list a.nav-live:hover { background: #bf1523; color: #fff; }

/* ---------- Ticker ---------- */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ticker-label { background: var(--green); color: var(--on-green); padding: 0 14px; font-size: 14px; font-weight: 700; line-height: 28px; border-radius: 2px; flex: 0 0 auto; }
.ticker-track { overflow: hidden; flex: 1; direction: ltr; }
.ticker-move { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker-move span { direction: rtl; white-space: nowrap; font-size: 15px; padding: 0 22px; position: relative; }
.ticker-move span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--green-d); border-radius: 50%; margin-left: 10px; vertical-align: middle; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }

.slider { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }
.slides { display: flex; height: 100%; direction: ltr; transition: transform .6s ease; }
.slide { flex: 0 0 100%; position: relative; height: 100%; direction: rtl; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,25,32,.92) 0%, rgba(24,25,32,.35) 45%, transparent 75%); }
.slide-cap { position: absolute; right: 0; left: 0; bottom: 0; z-index: 2; padding: 20px 24px 40px; color: #fff; }
.slide-cat { display: inline-block; background: var(--green); color: var(--on-green); font-size: 13px; padding: 0 12px; border-radius: 2px; line-height: 26px; margin-bottom: 8px; }
.slide-title { font-family: var(--font); font-size: 28px; line-height: 1.8; font-weight: 700; }
.slide-time { font-size: 13px; opacity: .8; }

.s-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 54px; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; }
.s-arrow:hover { background: var(--green); color: var(--on-green); }
.s-prev { right: 0; }
.s-next { left: 0; }
.s-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.s-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; }
.s-dots button.on { background: #fff; width: 26px; border-radius: 6px; }

.hero-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.side-title { font-family: var(--font); background: var(--navy); color: #fff; padding: 4px 16px; font-size: 18px; line-height: 1.9; border-bottom: 2px solid var(--green); }
.side-list { flex: 1; overflow: hidden; }
.side-list li { border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 9px 16px; font-family: var(--font); font-size: 15px; line-height: 1.8; }
.side-list a:hover { color: var(--primary); background: #f7f7f9; }
.side-list small { display: block; color: var(--muted); font-size: 12px; font-family: var(--font); line-height: 1.4; }

/* ---------- Business: posts + stocks widget ---------- */
.biz { display: grid; grid-template-columns: 1fr 290px; gap: 16px; align-items: start; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stock-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stock-title { font-family: var(--font); background: var(--navy); color: #fff; font-size: 17px; padding: 2px 16px; line-height: 1.9; border-bottom: 2px solid var(--green); }
.sr { display: grid; grid-template-columns: 1fr auto 62px; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.sr:last-child { border-bottom: 0; }
.sr-name { font-size: 14.5px; }
.sr-val { font-family: Arial, sans-serif; font-weight: 700; font-size: 15px; direction: ltr; }
.sr-chg { font-family: Arial, sans-serif; font-size: 12px; direction: ltr; text-align: left; }
.sr-chg.up { color: var(--up); }
.sr-chg.down { color: var(--live); }
.stock-note { font-size: 11.5px; color: var(--muted); padding: 6px 14px 8px; border-top: 1px solid var(--line); line-height: 1.7; background: #f7f7f9; }

/* ---------- Ads ---------- */
.ad { margin: 0 0 28px; text-align: center; }
.ad-top { margin-top: 20px; margin-bottom: 0; }
.ad-label { display: block; font-size: 11px; color: var(--muted); line-height: 1.6; margin-bottom: 2px; }
.ad-wide .ad-box { max-width: 970px; margin: 0 auto; }
.ad-side { margin-bottom: 18px; }
.ad-side .ad-box { max-width: 300px; margin: 0 auto; }
.ad-box img { margin: 0 auto; max-width: 100%; height: auto; }
.ad-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 90px; background: #eeeff3; border: 1px dashed #c4c6d0; color: #8a8c98; font-size: 15px; line-height: 1.6; }
.ad-ph small { font-family: Arial, sans-serif; font-size: 12px; direction: ltr; unicode-bidi: isolate; }
.ad-side .ad-ph { min-height: 250px; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin: 20px 0 30px; align-items: start; }
.layout-main, .layout-side { min-width: 0; }

.block { margin-bottom: 28px; }
.block-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--green); margin-bottom: 14px; }
.block-head h2 { font-family: var(--font); background: var(--primary); color: #fff; font-size: 19px; padding: 2px 20px; line-height: 1.8; }
.block-head .more { font-size: 14px; color: var(--primary); }
.block-head .more:hover { text-decoration: underline; }

.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 3px 12px rgba(39,40,50,.14); }
.card > a { display: block; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e6e7ec; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 8px 12px 10px; }
.card-title { font-family: var(--font); font-size: 15px; line-height: 1.8; font-weight: 600; }
.card:hover .card-title { color: var(--primary); }
.card-time { font-size: 12px; color: var(--muted); }

.video-card .card-img::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; line-height: 44px; text-align: center; background: rgba(39,40,50,.92); color: var(--green); border-radius: 50%; font-size: 16px; }
.video-card .dur { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; padding: 0 8px; border-radius: 2px; line-height: 20px; z-index: 2; font-family: Arial, sans-serif; }

/* ---------- Sidebar ---------- */
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.widget-title { font-family: var(--font); background: var(--navy); color: #fff; font-size: 17px; padding: 2px 16px; line-height: 1.9; border-bottom: 2px solid var(--green); }
.popular { counter-reset: pop; }
.popular li { display: flex; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); counter-increment: pop; align-items: flex-start; }
.popular li:last-child { border-bottom: 0; }
.popular li::before { content: counter(pop); flex: 0 0 28px; height: 28px; line-height: 28px; text-align: center; background: var(--ink); color: var(--green); border-radius: 50%; font-size: 14px; font-family: Arial, sans-serif; margin-top: 6px; }
.popular a { font-family: var(--font); font-size: 15px; line-height: 1.8; }
.popular a:hover { color: var(--primary); }

.mini-list li { padding: 6px 14px; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-title { font-family: var(--font); font-size: 15px; line-height: 1.8; display: block; }
.mini-title:hover { color: var(--primary); }
.mini-time { font-size: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #c4c5cf; margin-top: 10px; border-top: 3px solid var(--green); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-top: 34px; padding-bottom: 28px; }
.f-logo { height: 54px; width: auto; margin-bottom: 12px; }
.f-col h4 { color: #fff; font-size: 17px; margin-bottom: 8px; font-family: var(--font); line-height: 1.8; }
.f-col li { font-size: 14px; line-height: 1.8; }
.f-col a:hover { color: var(--green); }
.f-about p { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 0; font-size: 13px; text-align: center; }

/* ---------- Live modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(15,16,22,.85); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 960px; background: #000; border-radius: var(--radius); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; background: var(--live); color: #fff; padding: 6px 16px; font-weight: 700; }
.modal-head .dot { margin-left: 6px; }
.modal-close { background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; padding: 0 6px; }
.player { aspect-ratio: 16 / 9; background: #000; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; }
.player .no-link { color: #fff; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }

.empty { color: var(--muted); padding: 10px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* header: logo upar, neeche weather aur stocks */
  .header-in { flex-direction: column; gap: 10px; }
  .hw { width: 100%; flex: 0 0 auto; margin-inline-start: 0; }
}

@media (max-width: 820px) {
  .biz { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .slide-title { font-size: 22px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar-social { display: none; }
  .topbar-in { justify-content: center; }
  .logo img { height: 40px; }
  .nav-list a { padding: 6px 13px; font-size: 15.5px; }
  .nav-list a.nav-live { font-size: 14px; padding: 0 12px; }
  .wi { min-width: 72px; padding: 5px 8px; }

  .container { padding: 0 12px; }
  .hero { margin-top: 12px; gap: 12px; }
  .slider { aspect-ratio: 4 / 3; border-radius: 0; margin: 0 -12px; }
  .slide-cap { padding: 14px 14px 32px; }
  .slide-title { font-size: 17px; line-height: 1.8; }
  .s-arrow { display: none; }

  .ad { margin-bottom: 20px; }
  .ad-ph { min-height: 100px; }
  .grid { gap: 10px; }
  .card-title { font-size: 13.5px; line-height: 1.8; }
  .card-body { padding: 6px 8px 8px; }
  .block-head h2 { font-size: 17px; padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  .modal { padding: 0; }
  .modal-box { border-radius: 0; }
}
.stock-note:empty { display: none; }


/* ---------- Inner pages: post / category / team ---------- */
.page-main { padding-top: 18px; padding-bottom: 30px; min-height: 60vh; }
.article { background: #fff; border: 1px solid var(--line); padding: 22px; margin-bottom: 20px; }
.article h1 { font-size: 30px; line-height: 2; margin: 8px 0; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.article .slide-cat { display: inline-block; background: var(--primary); color: #fff; padding: 0 12px; font-size: 14px; }
.a-img img { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 16px; }
.a-body { font-size: 20px; line-height: 2.3; }
.a-body p { margin-bottom: 14px; } .a-body img { margin: 12px auto; height: auto; }
.a-body h2, .a-body h3 { margin: 16px 0 8px; } .a-body blockquote { border-inline-start: 4px solid var(--primary); padding: 4px 14px; color: var(--muted); margin: 12px 0; }
.a-body ul, .a-body ol { margin: 0 24px 14px; list-style: revert; } .a-body a { color: var(--primary); text-decoration: underline; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pager .pg { border: 1px solid var(--line); background: #fff; padding: 0 12px; } .pager .pg.on { background: var(--primary); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t-card { background: #fff; border: 1px solid var(--line); padding: 16px; text-align: center; }
.t-photo { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; background: #e6e7ec; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-role { color: var(--primary); font-size: 15px; } .t-card p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.9; }
.t-ph { color: var(--muted); font-size: 13px; } .t-fb { color: var(--primary); font-size: 13px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .article h1 { font-size: 23px; } .a-body { font-size: 18px; } }


/* ==========================================================
   PART 1 - shared header, home category sections, single post
   ========================================================== */

/* ---------- Header (har page par) ---------- */
.hw { display: none; }                        /* موسم box: mobile par band */
@media (min-width: 641px) { .hw { display: block; } }   /* desktop/tablet par har page ke header mein */
@media (max-width: 640px) { .ad-header { display: none !important; } }   /* phone par category menu ke neeche wala banner band */
input, select, textarea, button { font-family: inherit; }   /* form/button bhi Nafees font mein */
.nav-list a[data-key].active { color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .header-in { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }                  /* mobile par jagah bachane ke liye */
  .logo img { height: 38px; }
  /* primary menu: hamburger nahi, seedha top par horizontal scroll bar (RTL mein ہوم sab se pehle, right par) */
  .nav { box-shadow: 0 1px 4px rgba(0,0,0,.18); }
  .nav-list { padding: 0 4px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
  .nav-list a { padding: 7px 14px; min-height: 44px; }
  .nav-list a.nav-live { min-height: 0; margin: 0 6px; }
}

/* ---------- Home category sections ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sec-grid .card.lead { grid-column: span 2; grid-row: span 2; }
.sec-grid .card.lead > a { display: flex; flex-direction: column; height: 100%; }
.sec-grid .card.lead .card-img { flex: 1 1 auto; aspect-ratio: auto; min-height: 190px; }
.sec-grid .card.lead .card-body { padding: 10px 14px 12px; }
.sec-grid .card.lead .card-title { font-size: 21px; line-height: 1.9; }
.block-head .more { font-weight: 600; }
.biz .sec-grid { grid-template-columns: repeat(2, 1fr); }
.biz .sec-grid .card.lead { grid-row: auto; }
.biz .sec-grid .card.lead .card-img { flex: none; aspect-ratio: 16 / 9; }

@media (max-width: 820px) {
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid .card.lead { grid-row: auto; }
  .sec-grid .card.lead .card-img { flex: none; aspect-ratio: 16 / 9; }
  .sec-grid .card.lead .card-title { font-size: 18px; }
}
@media (max-width: 640px) {
  .sec-grid { gap: 10px; }
  .block { margin-bottom: 22px; }
}

/* ---------- Single post (Geo style: title, author/date, image, content, share, related, sidebar) ---------- */
.post-layout { margin: 0 0 10px; }
.article { padding: 22px 28px; }
.article .a-cat { display: inline-block; background: var(--primary); color: #fff; padding: 0 14px; font-size: 14px; line-height: 26px; border-radius: 2px; }
.article h1 { font-size: 32px; line-height: 2; margin: 6px 0 2px; font-weight: 700; }
.a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; color: var(--muted); font-size: 14px; padding: 6px 0; margin-bottom: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.a-author { color: var(--primary); font-weight: 600; }
.a-authbox + .a-date::before, .a-author + .a-date::before { content: "|"; margin-inline-end: 14px; color: #cfd0d8; }
.a-img { margin: 0 0 16px; }
.a-img img { width: 100%; height: auto; max-height: none; margin: 0; }
.a-video { position: relative; aspect-ratio: 16 / 9; background: #000; margin-bottom: 16px; }
.a-video iframe, .a-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.post-banner:empty { display: none; }
.post-banner { margin: 0 0 16px; text-align: center; }
.article .a-body { margin-bottom: 6px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-label { font-weight: 700; color: var(--navy); margin-inline-end: 4px; }
.sh { display: inline-block; border: 0; color: #fff; font-family: var(--font); font-size: 14px; line-height: 1.6; padding: 5px 16px; border-radius: 3px; cursor: pointer; }
.sh:hover { opacity: .88; }
.sh-wa { background: #1fa855; } .sh-fb { background: #1877f2; } .sh-x { background: #111; } .sh-tg { background: #229ed9; } .sh-copy { background: #6b7285; }

@media (max-width: 900px) {
  .article { padding: 14px 14px 18px; }
  .article h1 { font-size: 23px; line-height: 1.95; }
  .a-img, .a-video { margin-inline: -14px; }
  .a-img img { border-radius: 0; }
  .sh { flex: 1 1 calc(50% - 8px); text-align: center; }
  .share-label { flex: 1 0 100%; }
}


/* ==========================================================
   PART 2 - sidebar widgets, header banner, post ads, mobile polish
   ========================================================== */
body { overflow-x: clip; }

/* ---------- Header banner ---------- */
.ad-header { margin: 12px 0 0; }
.ad-header:empty { display: none; }

/* ---------- Home: left sidebar fills the full height ---------- */
.home-layout .layout-side { align-self: stretch; }
.side-sticky { position: sticky; top: 64px; }
.widget { overflow: hidden; }
.widget-more { display: block; text-align: center; padding: 8px; font-size: 14px; color: var(--primary); border-top: 1px solid var(--line); background: #f7f7f9; }
.widget-more:hover { text-decoration: underline; }

/* ---------- Social followers widget ---------- */
.so-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 8px; padding: 10px; }
.so-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; line-height: 1.5; transition: box-shadow .2s, transform .2s; }
a.so-tile:hover { box-shadow: 0 3px 10px rgba(39,40,50,.16); transform: translateY(-1px); }
.so-ico { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; background: var(--primary); }
.so-ico svg { width: 21px; height: 21px; }
.so-facebook .so-ico { background: #1877f2; } .so-whatsapp .so-ico { background: #1fa855; } .so-youtube .so-ico { background: #e11d2e; } .so-twitter .so-ico { background: #111; }
.so-instagram .so-ico { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #7b3fc4); }
.so-n { font-family: Arial, sans-serif; font-size: 18px; line-height: 1.3; color: var(--text); direction: ltr; }
.so-tile small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.so-lbl { font-size: 12.5px; color: var(--primary); line-height: 1.5; margin-top: 2px; }

/* ---------- Namaz timings widget ---------- */
.nz-city { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); background: #f7f7f9; }
.nz-city label { font-size: 14px; color: var(--muted); flex: 0 0 auto; }
.nz-city select { flex: 1; min-width: 0; height: 36px; border: 1px solid #cfd0d8; border-radius: 3px; background: #fff; font-family: var(--font); font-size: 15px; padding: 0 8px; color: var(--text); }
.nz-list li { display: flex; justify-content: space-between; align-items: center; padding: 5px 14px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.nz-time { font-family: Arial, sans-serif; font-weight: 700; font-size: 15px; direction: ltr; }
.nz-row.sun { color: var(--muted); background: #f7f7f9; } .nz-row.sun .nz-time { font-weight: 400; }
.nz-row.next { background: var(--green-soft); color: var(--ink-deep); box-shadow: inset -4px 0 0 var(--green); }
.nz-msg { display: block !important; text-align: center; color: var(--muted); font-size: 14px; padding: 18px 14px !important; }
.nz-msg a { color: var(--primary); text-decoration: underline; }
.nz-next { font-size: 13.5px; padding: 6px 14px 8px; color: var(--primary-dark); background: #f7f7f9; line-height: 1.8; }
.nz-next:empty { display: none; }

/* ---------- Stocks widget (sidebar) ---------- */
.w-stocks .sr:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Most read (with thumbnails) ---------- */
.popular li { position: relative; align-items: center; gap: 10px; padding: 9px 12px; }
.popular li::before { position: absolute; top: 9px; right: 12px; z-index: 2; width: 22px; height: 22px; flex: none; line-height: 22px; font-size: 12px; margin: 0; border-radius: 0 0 0 6px; }
.pop-img { flex: 0 0 84px; aspect-ratio: 4 / 3; overflow: hidden; background: #e6e7ec; border-radius: 3px; }
.pop-img img { width: 100%; height: 100%; object-fit: cover; }
.pop-t { font-size: 14.5px; line-height: 1.75; }

/* ---------- Latest videos ---------- */
.vid-list li { border-bottom: 1px solid var(--line); }
.vid-list li:last-child { border-bottom: 0; }
.vid-list a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; }
.vid-list a:hover .vid-t { color: var(--primary); }
.vid-img { position: relative; flex: 0 0 96px; aspect-ratio: 16 / 10; overflow: hidden; background: #e6e7ec; border-radius: 3px; }
.vid-img img { width: 100%; height: 100%; object-fit: cover; }
.vid-img::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; line-height: 28px; text-align: center; background: rgba(39,40,50,.92); color: var(--green); border-radius: 50%; font-size: 11px; }
.vid-t { font-size: 14.5px; line-height: 1.75; }

/* ---------- Category list ---------- */
.cat-list { display: grid; grid-template-columns: 1fr 1fr; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:nth-child(odd) { border-left: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; font-size: 15px; min-height: 40px; }
.cat-list a:hover { color: var(--primary); background: #f7f7f9; }
.cat-list small { font-family: Arial, sans-serif; font-size: 11px; background: #ecedf1; color: var(--primary-dark); border-radius: 10px; padding: 0 7px; line-height: 18px; }

/* ---------- Single post: in-article banner ---------- */
.a-body .ad { margin: 20px 0; clear: both; }
.ad-post .ad-box, .ad-post-bottom .ad-box { max-width: 728px; }
.ad-post-bottom { margin-top: 0; }
.ad-header .ad-ph, .ad-post .ad-ph, .ad-post-bottom .ad-ph { min-height: 90px; }

/* ---------- Tablet: sidebar widgets 2 columns ---------- */
@media (max-width: 1024px) {
  .layout-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
  .layout-side > .w-social, .layout-side > .side-sticky { grid-column: 1 / -1; }
  .side-sticky { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
  .home-layout .layout-side { align-self: start; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .layout { margin: 14px 0 20px; gap: 14px; }
  .layout-side, .side-sticky { display: block; }
  .ad-header { margin-top: 8px; margin-bottom: 0; }
  .so-grid { grid-template-columns: repeat(3, 1fr); }
  .so-n { font-size: 17px; }
  .nz-list li { padding: 7px 14px; }
  .nz-city select { height: 42px; font-size: 16px; }
  .pop-img { flex-basis: 76px; }
  .vid-img { flex-basis: 88px; }
  .cat-list a { min-height: 44px; }
  .widget { margin-bottom: 14px; }
  .a-body .ad { margin: 16px -4px; }
  .sec-grid .card.lead .card-title { font-size: 17px; }
  .hero-side { order: 2; }
}


/* ==========================================================
   KAY NEWS URDU - HOMEPAGE REDESIGN
   Sirf <body class="home"> par lagta hai. Baqi pages (post / category / team) ka layout nahi badla.
   Font wohi Nafees; sirf layout, card style aur spacing naye hain.
   ========================================================== */

/* ---------- Breaking bar (pill) ---------- */
.home .ticker { background: transparent; border: 0; padding-top: 14px; }
.home .ticker-in { width: calc(100% - 24px); max-width: 1208px; min-height: 46px; padding: 0 8px; gap: 10px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow-sm); }
.home .ticker-label { display: flex; align-items: center; gap: 7px; border-radius: 999px; padding: 0 16px; line-height: 30px; }
.home .ticker-label .dot { width: 8px; height: 8px; background: var(--ink); }
.home .ticker-move span { font-size: 15.5px; }

/* ---------- Hero: bara slider + "taza tareen" timeline ---------- */
.home .hero { margin-top: 14px; gap: 18px; grid-template-columns: 1.7fr 1fr; }
.home .slider { border-radius: 18px; aspect-ratio: 16 / 10; box-shadow: var(--shadow-md); }
.home .slide::after { background: linear-gradient(to top, rgba(24,25,32,.95) 0%, rgba(24,25,32,.45) 42%, transparent 72%); }
.home .slide-cap { padding: 24px 30px 48px; }
.home .slide-cat { border-radius: 999px; padding: 0 14px; font-weight: 700; }
.home .slide-title { font-size: 30px; line-height: 1.85; }
.home .slide-time { opacity: .85; }
.home .s-arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 17px; margin: 0 14px; }
.home .s-dots { bottom: 16px; }
.home .s-dots button.on { background: var(--green); }

.home .hero-side { border: 0; border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.home .widget-title, .home .side-title { position: relative; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); padding: 10px 20px; padding-inline-start: 36px; font-size: 19px; line-height: 1.8; }
.home .widget-title::before, .home .side-title::before { content: ""; position: absolute; inset-inline-start: 18px; top: 15px; bottom: 15px; width: 5px; border-radius: 3px; background: var(--green); }
.home .side-list { min-height: 0; }
.home .side-list a { position: relative; padding: 11px 20px; padding-inline-start: 36px; font-size: 15.5px; }
.home .side-list a::before { content: ""; position: absolute; inset-inline-start: 19px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .3; }
.home .side-list a:hover { color: var(--green-d); background: var(--tint); }
.home .side-list a:hover::before { background: var(--green-d); opacity: 1; }

/* ---------- Trending strip ---------- */
.trend { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); }
.trend[hidden] { display: none; }
.trend-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 10px; padding: 2px 16px; font-size: 16px; font-weight: 700; line-height: 1.9; }
.trend-label::before { content: "\2197"; color: var(--green); font-family: Arial, sans-serif; font-size: 17px; }
.trend-list { display: flex; flex: 1; min-width: 0; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.trend-list::-webkit-scrollbar { display: none; }
.trend-list li { flex: 0 0 auto; scroll-snap-align: start; }
.trend-list a { display: flex; align-items: center; gap: 9px; padding: 3px 10px 3px 14px; border-radius: 999px; background: var(--tint); font-size: 15px; line-height: 1.8; white-space: nowrap; }
.trend-list a:hover { background: var(--green-soft); color: var(--ink-deep); }
.trend-n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--green); font: 700 12px/24px Arial, sans-serif; text-align: center; }
.trend-t { max-width: 250px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Layout ---------- */
.home .home-layout { grid-template-columns: 1fr 340px; gap: 28px; margin-top: 26px; }

/* ---------- Category sections ---------- */
.home .block { margin-bottom: 38px; }
.home .block-head { align-items: flex-end; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.home .block-head h2 { position: relative; background: none; color: var(--ink); font-size: 23px; line-height: 1.7; padding: 0 16px 4px 0; padding-inline-start: 18px; padding-inline-end: 0; }
.home .block-head h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 12px; width: 5px; border-radius: 3px; background: var(--green); }
.home .block-head .more { margin-bottom: 6px; padding: 0 16px; line-height: 30px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; }
.home .block-head .more:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

.home .sec-grid { gap: 16px; }
.home .card { border: 0; border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.home .card:hover { box-shadow: var(--shadow-md); }
.home .card-body { padding: 10px 14px 14px; }
.home .card-title { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home .card:hover .card-title { color: var(--green-d); }
.home .card-time { display: block; }

/* lead story: image par title (overlay) */
.home .sec-grid .card.lead > a { position: relative; min-height: 340px; }
.home .sec-grid .card.lead .card-img { position: absolute; inset: 0; flex: none; aspect-ratio: auto; min-height: 0; }
.home .sec-grid .card.lead .card-body { position: relative; z-index: 2; margin-top: auto; padding: 80px 20px 18px; color: #fff; background: linear-gradient(to top, rgba(24,25,32,.94) 0%, rgba(24,25,32,.6) 55%, transparent 100%); }
.home .sec-grid .card.lead .card-title { font-size: 23px; line-height: 1.85; color: #fff; -webkit-line-clamp: 4; }
.home .sec-grid .card.lead:hover .card-title { color: var(--green); }
.home .sec-grid .card.lead .card-time { color: rgba(255,255,255,.8); }

/* har doosra section: lead story poori chaurai mein (tasveer + text barabar) */
@media (min-width: 821px) {
  .home .hero-side { contain: size; display: flex; flex-direction: column; }
  .home .side-list { flex: 1; overflow-y: auto; scrollbar-width: thin; }
  .home .sec-alt .sec-grid .card.lead { grid-column: 1 / -1; grid-row: auto; }
  .home .sec-alt .sec-grid .card.lead > a { flex-direction: row; min-height: 0; height: auto; }
  .home .sec-alt .sec-grid .card.lead .card-img { position: relative; inset: auto; flex: 0 0 56%; aspect-ratio: 16 / 9; }
  .home .sec-alt .sec-grid .card.lead .card-body { flex: 1; margin: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; color: var(--text); background: none; }
  .home .sec-alt .sec-grid .card.lead .card-title { font-size: 27px; color: var(--text); -webkit-line-clamp: 5; }
  .home .sec-alt .sec-grid .card.lead:hover .card-title { color: var(--green-d); }
  .home .sec-alt .sec-grid .card.lead .card-time { color: var(--muted); }
}

/* ---------- Sidebar widgets ---------- */
.home .widget { border: 0; border-radius: 16px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.home .widget-more { background: var(--tint); border-top: 0; color: var(--ink); font-weight: 600; }
.home .widget-more:hover { color: var(--green-d); }
.home .so-tile { border-radius: 12px; }
.home .cat-list a:hover, .home .vid-list a:hover .vid-t, .home .popular a:hover { color: var(--green-d); }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
  .home .home-layout { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
}
@media (max-width: 820px) {
  .home .hero { grid-template-columns: 1fr; }
  .home .slide-title { font-size: 22px; }
  .home .sec-grid .card.lead > a { min-height: 280px; }
  .home .sec-grid .card.lead .card-title { font-size: 19px; }
}
@media (max-width: 640px) {
  .home .ticker { padding-top: 10px; }
  .home .ticker-in { min-height: 42px; }
  .home .ticker-label { padding: 0 12px; font-size: 13px; }
  .home .hero { margin-top: 12px; gap: 14px; }
  .home .slider { aspect-ratio: 4 / 3.2; margin: 0; border-radius: 16px; }
  .home .slide-cap { padding: 14px 16px 34px; }
  .home .slide-title { font-size: 18px; line-height: 1.8; }
  .home .side-list li:nth-child(n+6) { display: none; }
  .trend { margin-top: 14px; gap: 8px; padding: 6px; border-radius: 14px; }
  .trend-label { padding: 0 11px; font-size: 14px; }
  .trend-label::before { display: none; }
  .trend-t { max-width: 190px; }
  .home .block { margin-bottom: 28px; }
  .home .block-head h2 { font-size: 20px; }
  .home .sec-grid { gap: 10px; }
  .home .card { border-radius: 12px; }
  .home .card-body { padding: 8px 10px 10px; }
  .home .card-title { font-size: 14px; }
  .home .sec-grid .card.lead > a { min-height: 250px; }
  .home .sec-grid .card.lead .card-body { padding: 60px 14px 14px; }
  .home .sec-grid .card.lead .card-title { font-size: 17.5px; }
  .home .widget { margin-bottom: 16px; }
}

/* ---------- Accessibility (sab pages) ---------- */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--green-d); outline-offset: 2px; }
.nav a:focus-visible { outline-color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .ticker-move, .dot { animation: none; }
  .slides { transition: none; }
  html { scroll-behavior: auto; }
}


/* ==========================================================
   v8 - SEO pages (breadcrumbs, tags) + mobile polish
   ========================================================== */
.block-head h1.block-h1 { font-family: var(--font); background: var(--primary); color: #fff; font-size: 19px; padding: 2px 20px; line-height: 1.8; margin: 0; font-weight: 700; }
.crumbs { margin: 0 0 8px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.crumbs li + li::before { content: "\2039"; margin-inline-end: 8px; color: #b3b5c0; }
.crumbs a { color: var(--primary); } .crumbs a:hover { text-decoration: underline; }
.block > .crumbs { margin-bottom: 10px; }
.a-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.a-tags-l { font-weight: 700; color: var(--navy, var(--ink)); }
.a-tag { display: inline-block; background: #f1f2f5; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; line-height: 30px; font-size: 14px; color: var(--ink, #22232b); }
.a-tag::before { content: "#"; color: var(--primary); margin-inline-end: 2px; }
.a-tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; } .a-tag:hover::before { color: #fff; }

/* mobile polish */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, iframe { max-width: 100%; }
.a-body table { display: block; max-width: 100%; overflow-x: auto; }
.a-body iframe { width: 100%; }
.pager .pg { min-width: 40px; line-height: 40px; text-align: center; }
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .article { padding: 14px; border-left: 0; border-right: 0; margin-inline: -12px; }
  .article h1 { font-size: 22px; line-height: 1.9; }
  .a-body { font-size: 18px; line-height: 2.1; }
  .a-meta { font-size: 13px; }
  .nav-list a { min-height: 44px; display: flex; align-items: center; }
  .a-tag { line-height: 34px; }
  .crumbs ol { font-size: 12.5px; }
  .block-head h1.block-h1 { font-size: 17px; padding: 0 16px; }
  .layout-side { margin-top: 6px; }
}
@media (hover: none) { .card a, .mini-list a { -webkit-tap-highlight-color: rgba(19,255,22,.12); } }


/* ==========================================================
   v9 - LIVE BLOG (homepage box + pages), WRITERS strip, author pic
   ========================================================== */
.a-authbox { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.a-authbox small { color: var(--muted); font-size: 12.5px; }
.a-authbox:hover .a-author { text-decoration: underline; }
.a-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #d9dbe1; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.a-meta { padding: 10px 0; }

/* --- badge --- */
.lb-badge { display: inline-flex; align-items: center; gap: 7px; background: #e11d2e; color: #fff; border-radius: 999px; padding: 0 12px; line-height: 26px; font-size: 13px; font-weight: 700; }
.lb-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: lbPulse 1.3s infinite; }
.lb-badge.off { background: #5b5d6b; } .lb-badge.off i { animation: none; opacity: .6; }
@keyframes lbPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* --- homepage live box (black card, same size as the old "taza tareen" box) --- */
.home .hero-side.lb-side { background: linear-gradient(180deg, #17181f 0%, #0b0b0f 100%); color: #fff; border: 0; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.40), 0 4px 10px rgba(0,0,0,.28); overflow: hidden; }
.home .hero-side.lb-side:not(.on) { display: none !important; }
.home .hero-side.lb-side.on { display: flex; flex-direction: column; }
.home .hero.no-lb { grid-template-columns: 1fr; }
@media (min-width: 821px) { .home .hero.no-lb .slider { aspect-ratio: 21 / 9; } }
.lb-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 12px; color: #fff; background-size: cover; background-position: center; flex: 0 0 auto; }
.lb-top.has-img { min-height: 132px; justify-content: flex-end; }
.lb-title { font-family: var(--font); font-size: 19px; line-height: 1.8; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lb-top:hover .lb-title { color: var(--green); }
.lb-list { flex: 1; min-height: 0; overflow-y: auto; padding: 0 18px 6px; scrollbar-width: thin; scrollbar-color: #3b3c47 transparent; }
.lb-list li { position: relative; padding: 10px 0; padding-inline-start: 24px; border-bottom: 1px solid rgba(255,255,255,.09); }
.lb-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(19,255,22,.18); }
.lb-list li.imp::before { background: #ff4757; box-shadow: 0 0 0 3px rgba(255,71,87,.22); }
.lb-list li:last-child { border-bottom: 0; }
.lb-list a { display: block; color: #eceef3; font-family: var(--font); font-size: 15.5px; line-height: 1.85; }
.lb-list li.imp a span { font-weight: 700; color: #fff; }
.lb-list a:hover span { color: var(--green); }
.lb-list time { display: block; direction: ltr; text-align: right; color: var(--green); font: 700 12px/1.6 Arial, sans-serif; letter-spacing: .3px; }
.lb-empty { color: #9a9cab; padding: 14px 0 !important; }
.lb-more { flex: 0 0 auto; display: block; text-align: center; background: var(--green); color: var(--on-green); font-weight: 700; padding: 8px 12px; font-size: 15px; }
.lb-more:hover { background: #fff; color: var(--ink-deep); }
@media (max-width: 820px) { .lb-list { max-height: 340px; } }

/* --- writers strip (banner ad ke neeche) --- */
.wr-wrap { margin-top: 14px; } .wr-wrap[hidden] { display: none; }
.wr-box { position: relative; background: var(--tint); border-radius: 16px; padding: 12px 0; }
.wr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wr-track::-webkit-scrollbar { display: none; }
.wr-item { flex: 0 0 33.333%; scroll-snap-align: start; display: flex; align-items: center; gap: 14px; padding: 6px 20px; border-inline-start: 1px solid #dcdde3; color: var(--text); min-width: 0; }
.wr-item:first-child { border-inline-start: 0; }
.wr-txt { flex: 1; min-width: 0; display: block; }
.wr-name { display: block; font-size: 14.5px; font-weight: 700; color: var(--green-d); line-height: 1.8; }
.wr-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font); font-size: 17px; line-height: 1.8; font-weight: 400; color: var(--ink); }
.wr-item:hover .wr-title { color: var(--green-d); }
.wr-pic { flex: 0 0 auto; width: 74px; height: 74px; border-radius: 50%; overflow: hidden; background: #d9dbe1; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(24,25,32,.18); }
.wr-item:hover .wr-pic { box-shadow: 0 0 0 3px var(--green); }
.wr-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wr-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer; font-size: 14px; }
.wr-arrow:hover { background: var(--green); } .wr-prev { right: 6px; } .wr-next { left: 6px; }
.wr-box.more .wr-arrow { display: block; }
@media (max-width: 900px) { .wr-item { flex-basis: 50%; } }
@media (max-width: 640px) {
  .wr-wrap { margin-top: 10px; } .wr-box { padding: 8px 0; border-radius: 14px; }
  .wr-item { flex-basis: 84%; padding: 4px 14px; gap: 10px; } .wr-pic { width: 62px; height: 62px; } .wr-title { font-size: 15.5px; }
  .wr-box.more .wr-arrow { display: none; }
}

/* --- live blog page --- */
.lbp-head { background: #0e0f14 center/cover; color: #fff; border-radius: 16px; padding: 22px 26px; margin-bottom: 18px; box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.lbp-head.has-img { padding-top: 120px; }
.lbp-head .crumbs ol, .lbp-head .crumbs a { color: #b9bbc8; } .lbp-head .crumbs li:last-child { display: none; }
.lbp-head h1 { font-size: 30px; line-height: 1.9; margin: 8px 0 4px; font-weight: 700; }
.lbp-head p { color: #d6d8e1; font-size: 17px; line-height: 2; margin: 0 0 8px; }
.lbp-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; color: #9fa2b2; font-size: 13px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.lbp-new { position: sticky; top: 8px; z-index: 6; display: block; margin: 0 auto 14px; border: 0; background: #e11d2e; color: #fff; font: 700 15px var(--font); padding: 6px 20px; border-radius: 999px; box-shadow: 0 6px 18px rgba(225,29,46,.4); cursor: pointer; }
.lbp-new[hidden] { display: none; }
.lbp-list { position: relative; }
.lbu { display: flex; gap: 16px; position: relative; padding-bottom: 18px; }
.lbu::before { content: ""; position: absolute; inset-inline-start: 74px; top: 8px; bottom: -8px; width: 2px; background: #d9dbe3; }
.lbu:last-child::before { display: none; }
.lbu::after { content: ""; position: absolute; inset-inline-start: 69px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.lbu.imp::after { background: #e11d2e; box-shadow: 0 0 0 2px #e11d2e; }
.lbu-time { flex: 0 0 62px; text-align: start; direction: ltr; font-family: Arial, sans-serif; padding-top: 2px; }
.lbu-time b { display: block; font-size: 13px; color: var(--ink); } .lbu-time small { display: block; font: 11px/1.5 var(--font); color: var(--muted); direction: rtl; }
.lbu-body { flex: 1; min-width: 0; margin-inline-start: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px 8px; box-shadow: var(--shadow-sm); }
.lbu.imp .lbu-body { border-color: #f3b3b9; } .lbu.pin .lbu-body { background: #fffdf0; }
.lbu.flash .lbu-body, .lbu .lbu-body.flash { box-shadow: 0 0 0 3px var(--green); }
.lbu-body h3 { font-size: 21px; line-height: 1.9; margin: 2px 0; }
.lbu-flag { display: inline-block; background: #e11d2e; color: #fff; font-size: 12px; line-height: 22px; padding: 0 10px; border-radius: 999px; margin-inline-end: 6px; } .lbu-flag.pin { background: #8a6d00; }
.lbu-img { margin: 8px 0; } .lbu-img img { width: 100%; height: auto; border-radius: 10px; }
.lbu-text { font-size: 18px; line-height: 2.1; } .lbu-text p { margin: 0 0 10px; }
.lbu .a-video { margin: 8px 0; border-radius: 10px; overflow: hidden; }
@media (max-width: 640px) {
  .lbp-head { border-radius: 14px; padding: 16px 16px; margin-inline: 0; } .lbp-head.has-img { padding-top: 90px; } .lbp-head h1 { font-size: 21px; }
  .lbu { flex-direction: column; gap: 4px; padding-bottom: 14px; } .lbu::before, .lbu::after { display: none; }
  .lbu-time { flex-basis: auto; display: flex; gap: 8px; align-items: baseline; } .lbu-body { margin-inline-start: 0; padding: 10px 14px 6px; } .lbu-text { font-size: 17px; }
}
/* --- live blog list --- */
.lbl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lbl-card { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: #0e0f14; color: #fff; border-radius: 16px; padding: 0 0 16px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.lbl-card > :not(.lbl-img) { margin-inline: 16px; }
.lbl-img { display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #272832, #0e0f14); } .lbl-img img { width: 100%; height: 100%; object-fit: cover; }
.lbl-card h3 { font-size: 18px; line-height: 1.85; } .lbl-card small { color: #9fa2b2; } .lbl-card:hover h3 { color: var(--green); }
@media (max-width: 900px) { .lbl-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .lbl-grid { grid-template-columns: 1fr; } }
/* --- writer page --- */
.wp-head { display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; }
.wp-av { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--green), var(--shadow-md); flex: 0 0 auto; }
.wp-head h1 { font-size: 28px; line-height: 1.8; } .wp-role { color: var(--green-d); font-weight: 700; } .wp-head p { margin: 4px 0; color: var(--muted); line-height: 2; }
@media (max-width: 640px) { .wp-head { flex-direction: column; text-align: center; padding: 16px; } .wp-av { width: 92px; height: 92px; } }
@media (prefers-reduced-motion: reduce) { .lb-badge i { animation: none; } }


/* ==== v9.1: live box = cover image + dark shadow at bottom + ek hi post; writers strip (screenshot jaisa); home par header banner band ==== */
.home .ad-header, .home .container:has(> .ad-header) { display: none !important; }
.home .hero-side.lb-side { background: #0e0f14 center/cover no-repeat; min-height: 300px; }
.home .hero-side.lb-side.noimg { background-image: linear-gradient(160deg, #272832, #0b0b0f); }
.lb-link { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 16px 18px 18px; color: #fff; min-height: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.08) 72%, rgba(0,0,0,.25) 100%); }
.lb-link .lb-badge { align-self: flex-start; }
.lb-cap { display: block; }
.lb-title { display: block; color: var(--green); font-size: 14px; font-weight: 700; line-height: 1.8; }
.lb-post { font-family: var(--font); font-size: 25px; line-height: 1.85; font-weight: 700; color: #fff; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lb-post.imp { color: #fff; border-inline-start: 4px solid #e11d2e; padding-inline-start: 10px; }
.lb-body { color: #e3e5ec; font-size: 15.5px; line-height: 1.9; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lb-time { display: block; direction: ltr; text-align: right; color: #c6c8d3; font: 700 12px/1.8 Arial, sans-serif; }
.lb-go { display: inline-block; margin-top: 6px; background: var(--green); color: var(--on-green); font-weight: 700; font-size: 14px; line-height: 30px; padding: 0 16px; border-radius: 999px; }
.lb-link:hover .lb-post { color: var(--green); }
@media (max-width: 820px) { .home .hero-side.lb-side { min-height: 340px; } .lb-post { font-size: 21px; } }

.wr-wrap { margin-top: 0; padding: 0; }
.wr-box, .home .wr-box { background: #f1f1f1; border-radius: 0; border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; padding: 0; margin-top: 16px; }
.wr-item { padding: 0 18px 0 0; gap: 12px; border-inline-start: 0; align-items: flex-end; min-height: 108px; }
.wr-txt { align-self: center; padding: 10px 0; }
.wr-name { color: #e11d2e; font-size: 14px; font-weight: 700; }
.wr-title { color: #1d1d1d; font-size: 17px; font-weight: 700; }
.wr-item:hover .wr-title { color: #e11d2e; }
.wr-pic { width: 84px; height: 96px; border: 0; border-radius: 0; background: transparent; box-shadow: none; align-self: flex-end; }
.wr-pic img { object-fit: cover; object-position: top center; }
.wr-item:hover .wr-pic { box-shadow: none; }
@media (max-width: 640px) { .wr-box, .home .wr-box { margin-top: 10px; margin-inline: -12px; } .wr-item { flex-basis: 88%; min-height: 96px; } .wr-pic { width: 74px; height: 86px; } }


/* v9.2: ENGLISH button (primary menu ke left side) */
.nav-list .nav-en-li { margin-inline-start: auto; padding-inline: 8px; }
.nav-list a.nav-en { display: inline-flex; align-items: center; min-height: 0; line-height: 30px; padding: 0 18px; border: 1.5px solid var(--green); border-radius: 4px; color: var(--green); font: 700 14px Arial, sans-serif; letter-spacing: .6px; }
.nav-list a.nav-en:hover { background: var(--green); color: var(--on-green); }
@media (max-width: 640px) { .nav-list a.nav-en { min-height: 0; font-size: 13px; padding: 0 12px; } }


/* ==========================================================
   v9.3 - FLAT / CLEAN HOMEPAGE (3D shadows + zyada round corners khatam),
          RTL breaking ticker, writers strip (mobile par saaf, ek writer ek waqt)
   ========================================================== */
:root { --shadow-sm: none; --shadow-md: none; --r: 6px; }

/* ---------- Breaking bar: flat full-width strip, RTL ---------- */
.home .ticker { background: var(--white); border-top: 0; border-bottom: 1px solid var(--line); padding-top: 0; margin-top: 0; }
.home .ticker-in { width: 100%; max-width: 1240px; min-height: 44px; padding: 0 16px; gap: 12px; background: transparent; border-radius: 0; box-shadow: none; }
.home .ticker-label { border-radius: 3px; padding: 0 14px; line-height: 28px; }
.ticker-track { direction: rtl; }                           /* RTL: text daayen se shuru */
.ticker-move { animation: tickR 60s linear infinite; }
.ticker-move span { direction: rtl; unicode-bidi: plaintext; }
.ticker-move span::before { margin-left: 0; margin-inline-end: 10px; }
@keyframes tickR { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }

/* ---------- Hero ---------- */
.home .slider { border-radius: var(--r); box-shadow: none; }
.home .s-arrow { border-radius: 3px; width: 38px; height: 46px; margin: 0; background: rgba(0,0,0,.5); color: #fff; }
.home .s-arrow:hover { background: var(--green); color: var(--on-green); }
.home .slide-cat { border-radius: 3px; }
.home .s-dots button { width: 8px; height: 8px; }
.home .s-dots button.on { width: 22px; border-radius: 4px; }

.home .hero-side { border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.home .hero-side.lb-side { border: 0; border-radius: var(--r); box-shadow: none; background-color: #14151b; }
.home .hero-side.lb-side.noimg { background-image: none; background-color: #1b1c24; }
.lb-link { background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.12) 100%); }
.lb-badge { border-radius: 3px; padding: 0 10px; }
.lb-badge i { animation: blink 1.2s infinite; }
.lb-go { border-radius: 3px; }

/* ---------- Trending ---------- */
.trend { border-radius: var(--r); box-shadow: none; border: 1px solid var(--line); }
.trend-label { border-radius: 4px; }
.trend-list a { border-radius: 4px; background: var(--tint); }
.trend-n { border-radius: 4px; }

/* ---------- Sections / cards ---------- */
.home .block-head .more { border-radius: 4px; }
.home .card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.home .card:hover { box-shadow: none; border-color: #c9cbd3; }
.home .widget { border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; }
.home .so-tile { border-radius: 4px; box-shadow: none; }
a.so-tile:hover { box-shadow: none; transform: none; border-color: #c9cbd3; }
.pop-img, .vid-img { border-radius: 3px; }
.cat-list small { border-radius: 4px; }
.so-ico { border-radius: 6px; }
.popular li::before { border-radius: 0 0 0 4px; }
.lbl-card, .lbp-head, .lbu-body, .wp-head { border-radius: var(--r); box-shadow: none; }
.lbu-img img { border-radius: 4px; }
.a-av { box-shadow: none; }

/* ---------- Writers strip ---------- */
.wr-box, .home .wr-box { position: relative; background: #f4f4f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 0; padding: 0; }
.wr-wrap { padding: 0; max-width: none; }
.wr-track { scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.wr-item { flex: 0 0 33.3333%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 12px 20px; border-inline-start: 1px solid #dcdde3; }
.wr-item:first-child { border-inline-start: 0; }
.wr-pic { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: #d9dbe1; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); align-self: center; }
.wr-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wr-item:hover .wr-pic { box-shadow: 0 0 0 2px var(--green); }
.wr-txt { flex: 1; min-width: 0; align-self: center; padding: 0; text-align: start; }
.wr-name { color: #d0192b; font-size: 14px; font-weight: 700; line-height: 1.7; }
.wr-title { color: var(--ink); font-size: 16.5px; font-weight: 700; line-height: 1.75; }
.wr-item:hover .wr-title { color: #d0192b; }
.wr-arrow { border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.wr-dots { display: none; }
@media (max-width: 900px) { .wr-item { flex-basis: 50%; } }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .home .ticker-in { min-height: 40px; padding: 0 12px; gap: 10px; }
  .home .ticker-label { padding: 0 10px; font-size: 13px; line-height: 26px; }
  .ticker-move span { font-size: 15px; padding: 0 18px; }

  .wr-box, .home .wr-box { margin-inline: 0; }
  .wr-wrap { padding: 0; }
  .wr-item { flex: 0 0 100%; padding: 12px 16px; gap: 12px; border-inline-start: 0; }
  .wr-pic { width: 64px; height: 64px; }
  .wr-title { font-size: 16px; }
  .wr-box.more .wr-arrow { display: none; }
  .wr-box.more .wr-dots { display: flex; justify-content: center; gap: 6px; padding: 0 0 8px; }
  .wr-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c3c5cd; transition: background .2s, width .2s; }
  .wr-dots i.on { width: 18px; border-radius: 3px; background: var(--green-d); }

  .home .hero { margin-top: 12px; }
  .home .slider { border-radius: var(--r); aspect-ratio: 4 / 3; }
  .home .hero-side.lb-side { min-height: 300px; }
  .home .card { border-radius: 5px; }
  .trend { border-radius: 5px; }
}
@media (min-width: 901px) { .wr-track { max-width: 1240px; margin-inline: auto; } }


/* ==========================================================
   v9.4 - 100% FLAT: koi shadow nahi, koi round corner nahi (desktop + mobile).
          Writers strip = Independent Urdu jaisi (rectangle tasveer, laal naam, dono taraf arrows)
   ========================================================== */
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }
a.so-tile:hover, .card:hover { transform: none !important; }

/* round corners khatam (sirf gol avatar, dots aur arrow buttons gol rehte hain) */
.home .slider, .home .hero-side, .home .hero-side.lb-side, .home .card, .home .widget, .trend, .trend-label, .trend-list a, .trend-n,
.lb-badge, .lb-go, .ticker-label, .slide-cat, .home .slide-cat, .home .block-head .more, .home .so-tile, .so-tile, .so-ico,
.pop-img, .vid-img, .cat-list small, .lbl-card, .lbp-head, .lbu-body, .lbu-img img, .lbu-flag, .wp-head, .a-tag, .sh, .a-cat,
.article .a-cat, .article .slide-cat, .nav-list a.nav-live, .nav-list a.nav-en, .nav-list a.nav-live:hover, .s-arrow, .home .s-arrow,
.s-dots button.on, .home .s-dots button.on, .pager .pg, .t-card, .modal-box, .article, .ad-ph, .lbp-new, .home .ticker-in, .home .ticker-label,
.nz-city select, .post-banner, .wr-box, .a-video, .lbu .a-video, .card-img, .video-card .dur { border-radius: 0 !important; }
.popular li::before { border-radius: 0 !important; }
.nav { border-bottom: 1px solid rgba(255,255,255,.12); }

/* ---------- Writers strip ---------- */
.wr-box, .home .wr-box { background: #f1f1f1; border-top: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; }
.wr-item { align-items: flex-end; gap: 14px; padding: 0 18px 0 0; min-height: 0; }
.wr-pic, .wr-item:hover .wr-pic { order: 0; width: 96px; height: 112px; border: 0; border-radius: 0 !important; background: transparent; align-self: flex-end; overflow: hidden; }
.wr-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wr-txt { align-self: center; padding: 14px 0; }
.wr-name { color: #d0192b; font-size: 15px; font-weight: 700; }
.wr-title { color: #1d1d1d; font-weight: 700; }
.wr-item:hover .wr-title { color: #d0192b; }
.wr-arrow { display: none; border: 0; border-radius: 50% !important; width: 40px; height: 40px; background: #111; color: #fff; font-size: 17px; line-height: 40px; padding: 0; }
.wr-arrow:hover { background: #111; color: #fff; }
.wr-arrow.off { background: #e9e9ec; color: #a9abb4; }
.wr-box.more .wr-arrow { display: block; }
.wr-dots, .wr-box.more .wr-dots { display: none !important; }

@media (max-width: 640px) {
  .wr-wrap { padding: 0 12px; margin-top: 14px; }
  .wr-box, .home .wr-box { margin: 0; }
  .wr-item { flex: 0 0 100%; padding: 0 56px 0 56px; gap: 14px; min-height: 148px; }
  .wr-pic, .wr-item:hover .wr-pic { width: 128px; height: 148px; }
  .wr-txt { padding: 12px 0; }
  .wr-name { font-size: 16px; }
  .wr-title { font-size: 17px; line-height: 1.85; -webkit-line-clamp: 3; }
  .wr-box.more .wr-arrow { display: block; width: 40px; height: 40px; top: 50%; }
  .wr-prev { right: 8px; } .wr-next { left: 8px; }

  .home .ticker-in { padding: 0 12px; }
  .home .slider { margin: 0 -12px; aspect-ratio: 4 / 3; }
  .home .hero-side.lb-side { margin: 0 -12px; }
  .home .card, .home .widget, .trend { border-radius: 0 !important; }
}
