/*
Theme Name: DostNews D3
Theme URI: https://dostnews.com
Author: Dost Digital Division (3D)
Author URI: https://dostmarketing.pk
Description: Professional Urdu News Portal — SEO, Mobile First, AI Ready
Version: 1.0
License: Private
Text Domain: dostnews-d3
*/

/* =========================================
   CSS VARIABLES
========================================= */
:root {
  --navy:       #0a1045;
  --navy-dark:  #060b30;
  --red:        #c0392b;
  --red-light:  #e74c3c;
  --gold:       #f39c12;
  --yellow:     #ffda44;
  --green:      #1a7a3a;
  --blue:       #1a5276;
  --orange:     #d35400;
  --purple:     #6c3483;
  --teal:       #0e7a6e;
  --white:      #ffffff;
  --bg:         #f0f2f5;
  --card-bg:    #ffffff;
  --border:     #e2e8f0;
  --text:       #1a1a2e;
  --text-muted: #6b7280;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
  --radius:     10px;
  --radius-sm:  6px;
  --font-urdu:  'Noto Nastaliq Urdu','Jameel Noori Nastaleeq',serif;
  --font-ui:    'Segoe UI',system-ui,sans-serif;
  --font-mono:  'Courier New',monospace;
}

/* =========================================
   RESET & BASE
========================================= */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-urdu);
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }

/* =========================================
   TYPOGRAPHY — FIXED FONT SIZING
   Nastaliq needs tighter control at large sizes
========================================= */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-urdu);
  line-height: 1.55;
  font-weight: 700;
}
/* Fixed heading sizes — Nastaliq controlled */
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 15px; }
/* Hero center needs slightly bigger */
.post-hero-center h2 { font-size: 20px !important; }
/* Side items smaller */
.hero-side-item h3 { font-size: 15px !important; }
/* Card headings */
.post-card h3 { font-size: 16px !important; }
.hero-bottom-card h3 { font-size: 16px !important; }

/* =========================================
   READING PROGRESS BAR (single posts)
========================================= */
#reading-progress {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--yellow);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =========================================
   FINANCIAL TICKER STRIP
========================================= */
.fin-strip {
  background: var(--navy-dark);
  color: #00e676;
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  direction: ltr;
}
.fin-strip span { margin: 0 30px; }
.fin-strip .up   { color: #00e676; }
.fin-strip .down { color: #ff5252; }

/* =========================================
   TOP BAR
========================================= */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar .container { display:flex; justify-content:space-between; align-items:center; }
.top-bar a { color:rgba(255,255,255,0.75); margin:0 8px; transition:color .2s; }
.top-bar a:hover { color:var(--yellow); }
.top-bar .social-links { display:flex; align-items:center; gap:6px; direction:ltr; }
.social-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px;
  background:rgba(255,255,255,0.1);
  border-radius:5px; font-size:12px;
  transition:background .2s, color .2s;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-ui);
}
.social-icon:hover { background:var(--yellow); color:var(--navy) !important; }
.social-icon.fb:hover  { background:#1877f2; color:#fff !important; }
.social-icon.yt:hover  { background:#ff0000; color:#fff !important; }
.social-icon.tw:hover  { background:#000; color:#fff !important; }
.social-icon.ig:hover  { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff !important; }

/* =========================================
   HEADER / BRANDING
========================================= */
.site-header {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.logo-wrap img  { height:60px; width:auto; }
.logo-wrap h1   { font-size:28px; color:var(--navy); font-weight:900; }
.header-meta    { text-align:center; flex:1; }
.header-date    { font-size:13px; color:var(--text-muted); margin-bottom:4px; }
.header-weather { font-size:15px; color:var(--navy); font-weight:bold; }

/* Sponsor Cards */
.header-sponsors { display:flex; gap:12px; }
.sponsor-card {
  display:flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:var(--radius);
  min-width:160px; text-decoration:none;
  transition:transform .2s, box-shadow .2s;
}
.sponsor-card:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.15); }
.sponsor-naqsh { background:linear-gradient(135deg,#1a3a6b,#0a1045); border:1px solid rgba(255,218,68,0.3); }
.sponsor-naqsh:hover { border-color:var(--yellow); }
.sponsor-dost  { background:linear-gradient(135deg,#8b1a1a,#c0392b); border:1px solid rgba(255,255,255,0.2); }
.sponsor-dost:hover  { border-color:rgba(255,255,255,0.5); }
.sponsor-icon {
  font-size:22px; flex-shrink:0; width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.12); border-radius:8px;
}
.sponsor-text { display:flex; flex-direction:column; gap:2px; }
.sponsor-label { font-size:10px; color:rgba(255,255,255,0.65); font-family:var(--font-ui); font-weight:500; text-transform:uppercase; letter-spacing:.3px; }
.sponsor-name  { font-size:14px; color:#fff; font-family:var(--font-urdu); font-weight:700; line-height:1.2; }

/* =========================================
   MAIN NAVIGATION
========================================= */
.nav-main {
  background: var(--navy);
  border-bottom: 4px solid var(--yellow);
  position: sticky; top:0; z-index:1000;
  box-shadow: 0 4px 16px rgba(10,16,69,0.3);
}
.nav-main .container { display:flex; align-items:center; justify-content:space-between; }
.nav-main ul { display:flex; align-items:center; }
.nav-main ul li a {
  color:rgba(255,255,255,0.9); padding:15px 16px;
  display:block; font-size:16px; font-weight:600;
  transition:color .2s; position:relative;
}
.nav-main ul li a::after {
  content:''; position:absolute; bottom:0; right:0; left:0;
  height:4px; background:var(--yellow);
  transform:scaleX(0); transition:transform .2s;
}
.nav-main ul li a:hover,
.nav-main ul li.current-menu-item a { color:var(--yellow); }
.nav-main ul li a:hover::after,
.nav-main ul li.current-menu-item a::after { transform:scaleX(1); }
.nav-search { display:flex; align-items:center; }
.nav-search form { display:flex; }
.nav-search input {
  background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2);
  color:#fff; padding:7px 14px; border-radius:var(--radius-sm) 0 0 var(--radius-sm);
  font-size:14px; width:180px; direction:rtl; font-family:var(--font-urdu);
}
.nav-search input::placeholder { color:rgba(255,255,255,0.5); }
.nav-search button { background:var(--yellow); border:none; color:var(--navy); padding:7px 14px; cursor:pointer; border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-weight:bold; }
.menu-toggle { display:none; background:none; border:1px solid rgba(255,255,255,0.3); color:#fff; padding:8px 12px; cursor:pointer; border-radius:4px; font-size:18px; }

/* =========================================
   BREAKING NEWS TICKER
========================================= */
.ticker-bar {
  background:var(--white); height:46px;
  display:flex; align-items:center;
  border-bottom:2px solid var(--border);
  overflow:hidden; position:relative;
}
.ticker-label {
  background:var(--red); color:var(--white);
  padding:0 22px; height:100%;
  display:flex; align-items:center;
  font-weight:700; font-size:15px; flex-shrink:0; z-index:2;
}
.ticker-track { overflow:hidden; flex:1; height:100%; display:flex; align-items:center; }
.ticker-content {
  white-space:nowrap; animation:ticker-scroll 70s linear infinite;
  display:flex; align-items:center;
}
.ticker-content:hover { animation-play-state:paused; }
.ticker-item { padding:0 28px; font-size:15px; color:var(--text); border-left:1px solid var(--border); }
.ticker-item:hover { color:var(--red); }
.ticker-dot { color:var(--red); margin-left:8px; }
@keyframes ticker-scroll { 0%{transform:translateX(-50%)} 100%{transform:translateX(50%)} }

/* =========================================
   LAYOUT
========================================= */
.container { max-width:1280px; margin:0 auto; padding:0 20px; }
.site-main  { padding:28px 0; }
.content-sidebar { display:grid; grid-template-columns:1fr 300px; gap:28px; align-items:start; }
.main-content { min-width:0; }

/* =========================================
   SECTION HEADERS
========================================= */
.section-head {
  display:flex; align-items:center; gap:12px;
  margin-bottom:20px; border-bottom:3px solid var(--border); padding-bottom:10px;
}
.section-head h2 {
  font-size:20px; color:var(--navy); font-weight:800; position:relative;
}
.section-head h2::after {
  content:''; position:absolute; bottom:-13px; right:0; width:100%;
  height:3px; background:var(--red);
}
.section-head .view-all {
  margin-right:auto; font-size:12px; color:var(--red);
  border:1px solid var(--red); padding:3px 12px; border-radius:20px;
  transition:all .2s; font-family:var(--font-ui);
}
.section-head .view-all:hover { background:var(--red); color:#fff; }

/* =========================================
   HERO SECTION — 3 COLUMN NEWSPAPER LAYOUT
   25% side | 50% center | 25% side
========================================= */
.hero-section { margin-bottom:32px; }

.hero-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
  min-height: 420px;
}

/* CENTER — Big main post */
.post-hero-center {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
/* TEXT FIRST — heading above image */
.post-hero-center .hero-body {
  padding: 20px 22px 16px;
  flex-shrink: 0;
}
.post-hero-center .hero-img-wrap {
  flex: 1; min-height: 260px; overflow: hidden; background: #dde3ef;
}
.post-hero-center .hero-img-wrap img {
  width:100%; height:100%; object-fit:cover; transition:transform .4s;
}
.post-hero-center:hover .hero-img-wrap img { transform:scale(1.03); }
.post-hero-center .cat-tag {
  background:var(--red); color:#fff; font-size:11px;
  padding:3px 12px; border-radius:3px; display:inline-block;
  margin-bottom:10px; font-family:var(--font-ui); font-weight:700; letter-spacing:.3px;
}
.post-hero-center h2 { color:var(--navy); margin-bottom:10px; }
.post-hero-center h2 a { color:var(--navy); }
.post-hero-center h2 a:hover { color:var(--red); }
.post-hero-center .excerpt {
  color:var(--text-muted); font-size:14px; line-height:1.8;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden; margin-bottom:12px;
}
.post-hero-center .meta { font-size:12px; color:var(--text-muted); font-family:var(--font-ui); }

/* SIDE columns — 3 stacked posts each side */
.hero-side {
  display: flex; flex-direction: column;
}
.hero-side-item {
  display: flex; flex-direction: column;
  padding: 0;
  border-bottom: 1px solid var(--border);
  flex: 1;
  transition: background .2s;
  overflow: hidden;
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item:hover { background:#fafbff; }

/* TEXT FIRST in side items too */
.hero-side-item .side-body {
  padding: 12px 14px 10px;
  flex-shrink: 0;
}
.hero-side-item .side-thumb {
  height: 110px; overflow: hidden; background: #e5e7eb; flex-shrink: 0;
}
.hero-side-item .side-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.hero-side-item:hover .side-thumb img { transform:scale(1.05); }

.hero-side-item .cat-tag {
  background: var(--navy); color:#fff; font-size:9px;
  padding:1px 8px; border-radius:2px; display:inline-block;
  margin-bottom:5px; font-family:var(--font-ui); letter-spacing:.3px;
}
.hero-side-item h3 { color:var(--text); }
.hero-side-item h3 a { color:var(--text); }
.hero-side-item h3 a:hover { color:var(--red); }
.hero-side-item .meta { font-size:11px; color:var(--text-muted); font-family:var(--font-ui); margin-top:5px; }

/* BOTTOM — 3 equal cards */
.hero-bottom { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.hero-bottom-card {
  background:var(--card-bg); border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-sm);
  transition:box-shadow .2s, transform .2s;
  display:flex; flex-direction:column;
}
.hero-bottom-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
/* TEXT FIRST */
.hero-bottom-card .body {
  padding:14px 14px 10px; flex-shrink:0;
}
.hero-bottom-card .thumb {
  flex:1; min-height:160px; overflow:hidden; background:#e5e7eb;
}
.hero-bottom-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.hero-bottom-card:hover .thumb img { transform:scale(1.05); }
.hero-bottom-card .cat-tag {
  background:var(--red); color:#fff; font-size:10px;
  padding:2px 10px; border-radius:20px; display:inline-block;
  margin-bottom:8px; font-family:var(--font-ui); font-weight:600;
}
.hero-bottom-card h3 { margin-bottom:8px; }
.hero-bottom-card h3 a { color:var(--text); }
.hero-bottom-card h3 a:hover { color:var(--red); }
.hero-bottom-card .meta { font-size:11px; color:var(--text-muted); font-family:var(--font-ui); }

/* =========================================
   CATEGORY COLOR CODING
========================================= */
/* Per-category tag colors */
.cat-national     { background: #c0392b !important; }   /* قومی — Red */
.cat-international{ background: #1a5276 !important; }   /* بین الاقوامی — Navy Blue */
.cat-business     { background: #1a6b3a !important; }   /* بزنس — Green */
.cat-sports       { background: #d35400 !important; }   /* کھیل — Orange */
.cat-technology   { background: #6c3483 !important; }   /* ٹیکنالوجی — Purple */
.cat-agriculture  { background: #0e7a6e !important; }   /* زراعت — Teal */
.cat-deen         { background: #1a7a3a !important; }   /* دین — Islamic Green */

/* Section head underlines per category */
.category-section[aria-labelledby="sec-national"]      .section-head h2::after { background:#c0392b; }
.category-section[aria-labelledby="sec-international"] .section-head h2::after { background:#1a5276; }
.category-section[aria-labelledby="sec-business"]      .section-head h2::after { background:#1a6b3a; }
.category-section[aria-labelledby="sec-sports"]        .section-head h2::after { background:#d35400; }
.category-section[aria-labelledby="sec-technology"]    .section-head h2::after { background:#6c3483; }
.category-section[aria-labelledby="sec-agriculture"]   .section-head h2::after { background:#0e7a6e; }
.category-section[aria-labelledby="sec-deen"]          .section-head h2::after { background:#1a7a3a; }

/* =========================================
   POST CARDS (Category sections)
========================================= */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.post-card {
  background:var(--card-bg); border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-sm);
  transition:box-shadow .2s, transform .2s;
  display:flex; flex-direction:column;
}
.post-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }

/* TEXT FIRST — heading above image */
.post-card .body {
  padding:16px 16px 10px; flex-shrink:0;
}
.post-card .thumb {
  flex:1; min-height:170px; overflow:hidden; background:#e5e7eb;
}
.post-card .thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.post-card:hover .thumb img { transform:scale(1.05); }

/* Image shimmer loading skeleton */
.post-card .thumb { position:relative; }
.post-card .thumb::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,#e5e7eb 25%,#f0f2f5 50%,#e5e7eb 75%);
  background-size:200% 100%;
  animation:shimmer 1.5s infinite;
  z-index:1;
}
.post-card .thumb img { position:relative; z-index:2; }
.post-card .thumb img.loaded + ::before,
.post-card .thumb:has(img[src]) ::before { animation:none; opacity:0; }

@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.cat-tag {
  display:inline-block; font-size:11px; padding:2px 10px;
  border-radius:20px; margin-bottom:8px; font-family:var(--font-ui);
  font-weight:600; color:#fff; background:var(--red);
}
.post-card h3 { margin-bottom:8px; }
.post-card h3 a { color:var(--text); }
.post-card h3 a:hover { color:var(--red); }
.post-card .excerpt {
  color:var(--text-muted); font-size:13px; margin-bottom:10px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.post-card .meta {
  display:flex; justify-content:space-between; align-items:center;
  font-size:11px; color:var(--text-muted); font-family:var(--font-ui);
  padding-top:10px; border-top:1px solid var(--border);
}
.reading-time { color:var(--navy); font-weight:600; }

/* =========================================
   LIST STYLE POSTS (sidebar)
========================================= */
.post-list-item {
  display:flex; gap:12px; padding:12px 0;
  border-bottom:1px solid var(--border); align-items:flex-start;
}
.post-list-item:last-child { border-bottom:none; }
.post-list-item .thumb { width:80px; height:64px; flex-shrink:0; border-radius:var(--radius-sm); overflow:hidden; background:#e5e7eb; }
.post-list-item .thumb img { width:100%; height:100%; object-fit:cover; }
.post-list-item h4 { font-size:14px; line-height:1.6; margin-bottom:4px; }
.post-list-item h4 a { color:var(--text); }
.post-list-item h4 a:hover { color:var(--red); }
.post-list-item .meta { font-size:11px; color:var(--text-muted); font-family:var(--font-ui); }

/* =========================================
   AD ZONES (placeholder)
========================================= */
.ad-zone {
  background:#f1f3f8; border:2px dashed #c9d1e3;
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#9ba3bf; font-size:12px;
  font-family:var(--font-ui); overflow:hidden;
}
.ad-zone-banner { width:100%; height:90px; margin:16px 0; }

/* =========================================
   BANNER ADS — Dost Marketing
========================================= */
.dost-ad-banner {
  display:flex; align-items:center; width:100%; height:90px;
  border-radius:var(--radius); overflow:hidden; margin:16px 0;
  text-decoration:none; box-shadow:var(--shadow-md);
  transition:transform .2s, box-shadow .2s;
  border:1px solid rgba(0,0,0,0.08);
}
.dost-ad-banner:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(0,0,0,0.15); }
.dost-ad-j7  { background:linear-gradient(135deg,#1a1200 0%,#2d1f00 40%,#1a1200 100%); }
.dost-ad-j7  .dab-left { background:linear-gradient(135deg,#c8960c,#f4d03f); }
.dost-ad-j7  .dab-tag  { background:rgba(0,0,0,0.25); color:#fff; }
.dost-ad-j7  .dab-title{ color:#1a1200; }
.dost-ad-j7  .dab-sub  { color:rgba(0,0,0,0.6); }
.dost-ad-j7  .dab-price strong { color:#f4d03f; }
.dost-ad-j7  .dab-cta  { background:#f4d03f; color:#1a1200; }
.dost-ad-j7  .dab-contact { color:#f4d03f; }
.dost-ad-pha { background:linear-gradient(135deg,#003366,#004d99 40%,#003366 100%); }
.dost-ad-pha .dab-left { background:linear-gradient(135deg,#1a6b3a,#27ae60); }
.dost-ad-pha .dab-tag  { background:rgba(0,0,0,0.2); color:#fff; }
.dost-ad-pha .dab-title{ color:#fff; }
.dost-ad-pha .dab-sub  { color:rgba(255,255,255,0.75); }
.dost-ad-pha .dab-price strong { color:#5dfc8c; }
.dost-ad-pha .dab-cta  { background:#27ae60; color:#fff; }
.dost-ad-pha .dab-contact { color:#7ecfff; }
.dab-left { width:130px; min-width:130px; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 14px; text-align:center; }
.dab-tag   { font-size:9px; font-family:var(--font-ui); font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:2px 8px; border-radius:10px; margin-bottom:6px; }
.dab-title { font-size:22px; font-weight:900; font-family:var(--font-ui); line-height:1; }
.dab-sub   { font-size:10px; font-family:var(--font-ui); margin-top:3px; }
.dab-center{ flex:1; padding:0 18px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.dab-features { display:flex; gap:10px; flex-wrap:wrap; }
.dab-features span { font-size:11px; font-family:var(--font-ui); color:rgba(255,255,255,0.85); background:rgba(255,255,255,0.1); padding:3px 10px; border-radius:12px; }
.dab-price { font-size:13px; font-family:var(--font-ui); color:rgba(255,255,255,0.7); }
.dab-price strong { font-size:16px; }
.dab-right { width:130px; min-width:130px; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px; gap:5px; border-right:1px solid rgba(255,255,255,0.1); }
.dab-cta   { font-size:12px; font-weight:800; font-family:var(--font-ui); padding:7px 14px; border-radius:6px; }
.dab-contact { font-size:11px; font-family:var(--font-ui); font-weight:700; direction:ltr; }
.dab-brand   { font-size:10px; font-family:var(--font-ui); color:rgba(255,255,255,0.4); }

/* =========================================
   SIDEBAR
========================================= */
.sidebar { position:sticky; top:70px; }
.widget { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:22px; overflow:hidden; }
.widget-title {
  background:var(--navy); color:#fff; font-size:15px;
  font-weight:700; padding:12px 16px; border-bottom:3px solid var(--yellow);
  display:flex; align-items:center; gap:8px; font-family:var(--font-urdu);
}
.widget-title span { font-size:16px; }
.widget-body { padding:14px; }
.cat-list li { border-bottom:1px solid var(--border); padding:9px 0; }
.cat-list li:last-child { border-bottom:none; }
.cat-list li a { display:flex; justify-content:space-between; align-items:center; color:var(--text); font-size:15px; transition:color .2s; }
.cat-list li a:hover { color:var(--red); }
.cat-list .count { background:var(--navy); color:#fff; font-size:11px; padding:2px 8px; border-radius:10px; font-family:var(--font-ui); }

/* =========================================
   SIDEBAR ADS — Naqsh (repositioned — after latest posts)
========================================= */
.naqsh-ad-widget {
  background:linear-gradient(160deg,#f8f9ff,#eef1ff);
  border:1px solid #d0d8f5; border-top:4px solid var(--navy);
  border-radius:var(--radius); padding:16px; margin-bottom:22px;
}
.naqsh-header { display:flex; align-items:center; gap:10px; margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid #d0d8f5; }
.naqsh-logo { font-size:26px; width:44px; height:44px; background:var(--navy); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.naqsh-brand { font-size:14px; font-weight:800; color:var(--navy); font-family:var(--font-ui); }
.naqsh-tagline { font-size:10px; color:var(--text-muted); font-family:var(--font-ui); margin-top:2px; }
.naqsh-countries { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:12px; }
.naqsh-country { display:flex; flex-direction:column; align-items:center; padding:9px 6px; border-radius:8px; text-decoration:none; border:1px solid #d0d8f5; background:#fff; transition:transform .2s, box-shadow .2s, border-color .2s; gap:2px; }
.naqsh-country:hover { transform:translateY(-2px); box-shadow:0 4px 14px rgba(10,16,69,0.1); border-color:var(--navy); }
.nc-flag  { font-size:20px; line-height:1; }
.nc-name  { font-size:12px; font-weight:700; color:var(--navy); font-family:var(--font-ui); }
.nc-detail{ font-size:10px; color:var(--text-muted); font-family:var(--font-ui); }
.naqsh-perks { display:flex; flex-direction:column; gap:4px; margin-bottom:12px; padding:10px; background:#fff; border-radius:8px; border:1px solid #d0d8f5; }
.naqsh-perks span { font-size:11px; color:#333; font-family:var(--font-ui); }
.naqsh-cta { display:block; text-align:center; background:var(--navy); color:#fff; font-size:12px; font-weight:700; font-family:var(--font-ui); padding:10px; border-radius:8px; transition:background .2s; margin-bottom:6px; }
.naqsh-cta:hover { background:var(--red); color:#fff; }
.naqsh-number { text-align:center; font-size:13px; font-weight:800; color:var(--navy); font-family:var(--font-ui); direction:ltr; }

/* Dost Marketing Compact */
.dost-compact-ad { background:var(--navy); border-radius:var(--radius); padding:16px; margin-bottom:22px; border:1px solid rgba(255,218,68,0.2); }
.dca-header { display:flex; align-items:center; gap:10px; margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,0.1); }
.dca-icon  { font-size:24px; }
.dca-title { font-size:14px; font-weight:800; color:#fff; font-family:var(--font-ui); }
.dca-sub   { font-size:11px; color:rgba(255,255,255,0.5); font-family:var(--font-ui); margin-top:2px; }
.dca-projects { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.dca-project { display:flex; align-items:center; gap:10px; font-size:12px; color:rgba(255,255,255,0.8); font-family:var(--font-ui); }
.dca-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.dca-cta { display:block; text-align:center; background:var(--yellow); color:var(--navy); font-size:12px; font-weight:800; font-family:var(--font-ui); direction:ltr; padding:10px; border-radius:7px; transition:opacity .2s; }
.dca-cta:hover { opacity:.9; color:var(--navy); }

/* 3D Widget */
.ddd-ad-widget {
  background:linear-gradient(160deg,#0a1045,#1a2a7a 50%,#0d1a55);
  border-radius:var(--radius); padding:22px 18px 18px;
  text-align:center; position:relative; overflow:hidden;
  margin-bottom:22px; border:1px solid rgba(255,218,68,0.25);
  box-shadow:0 8px 32px rgba(10,16,69,0.35);
}
.ddd-ad-widget::before { content:''; position:absolute; top:-40px; right:-40px; width:160px; height:160px; background:radial-gradient(circle,rgba(255,218,68,0.12),transparent 70%); border-radius:50%; pointer-events:none; }
.ddd-ad-widget::after  { content:''; position:absolute; bottom:-40px; left:-40px; width:130px; height:130px; background:radial-gradient(circle,rgba(192,57,43,0.15),transparent 70%); border-radius:50%; pointer-events:none; }
.ddd-badge { display:inline-block; background:rgba(255,218,68,0.15); border:1px solid rgba(255,218,68,0.4); color:var(--yellow); font-size:10px; font-family:var(--font-ui); font-weight:700; letter-spacing:1.5px; text-transform:uppercase; padding:3px 12px; border-radius:20px; margin-bottom:14px; }
.ddd-logo  { font-size:48px; font-weight:900; font-family:var(--font-ui); color:#fff; line-height:1; letter-spacing:-2px; text-shadow:0 0 30px rgba(255,218,68,0.4); margin-bottom:6px; position:relative; z-index:1; }
.ddd-brand { font-size:14px; font-weight:700; color:rgba(255,255,255,0.95); font-family:var(--font-ui); margin-bottom:3px; }
.ddd-tagline { font-size:11px; color:rgba(255,255,255,0.5); font-family:var(--font-ui); margin-bottom:14px; font-style:italic; }
.ddd-services { display:flex; justify-content:center; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.ddd-services span { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); color:rgba(255,255,255,0.8); font-size:10px; font-family:var(--font-ui); padding:3px 9px; border-radius:20px; }
.ddd-divider { height:1px; background:linear-gradient(to left,transparent,rgba(255,218,68,0.3),transparent); margin:12px 0; }
.ddd-cta-text { font-size:11px; color:rgba(255,255,255,0.55); font-family:var(--font-ui); margin-bottom:10px; }
.ddd-cta-btn { display:block; background:linear-gradient(135deg,#ffda44,#f39c12); color:var(--navy); font-size:14px; font-weight:800; font-family:var(--font-ui); padding:11px 18px; border-radius:8px; transition:transform .2s, box-shadow .2s; box-shadow:0 4px 14px rgba(255,218,68,0.3); margin-bottom:7px; position:relative; z-index:1; }
.ddd-cta-btn:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(255,218,68,0.45); color:var(--navy); }
.ddd-sub { font-size:10px; color:rgba(255,255,255,0.35); font-family:var(--font-ui); }

/* =========================================
   SINGLE ARTICLE PAGE
========================================= */
.single-article { background:var(--card-bg); border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; }
.article-header { padding:28px 32px 18px; border-bottom:1px solid var(--border); }
.article-cats { margin-bottom:12px; }
.article-cat-tag { background:var(--red); color:#fff; font-size:12px; padding:3px 12px; border-radius:4px; display:inline-block; margin-left:6px; font-family:var(--font-ui); font-weight:600; }
.article-title { color:var(--navy); margin-bottom:16px; }
.article-meta { display:flex; align-items:center; gap:16px; color:var(--text-muted); font-size:12px; font-family:var(--font-ui); flex-wrap:wrap; }
.article-meta .author { color:var(--navy); font-weight:600; }
.article-featured-img { width:100%; max-height:480px; object-fit:cover; }
.article-content { padding:28px 32px; font-size:19px; line-height:2.1; }
.article-content p { margin-bottom:20px; }
.article-content h2,.article-content h3 { color:var(--navy); margin:24px 0 12px; }
.article-content blockquote { border-right:4px solid var(--red); background:#fff8f8; padding:14px 18px; margin:18px 0; border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-size:18px; color:#555; }
.share-bar { display:flex; align-items:center; gap:8px; padding:16px 32px; background:var(--bg); border-top:1px solid var(--border); flex-wrap:wrap; }
.share-bar span { font-size:14px; color:var(--text-muted); font-family:var(--font-ui); }
.share-btn { padding:7px 14px; border-radius:6px; font-size:12px; font-weight:600; cursor:pointer; border:none; color:#fff; font-family:var(--font-ui); transition:opacity .2s; }
.share-btn:hover { opacity:.85; }
.share-btn.whatsapp { background:#25d366; }
.share-btn.facebook  { background:#1877f2; }
.share-btn.twitter   { background:#1da1f2; }
.share-btn.copy      { background:var(--navy); }
.related-section { padding:24px 32px; border-top:1px solid var(--border); }
.related-section h3 { font-size:19px; color:var(--navy); margin-bottom:18px; padding-bottom:8px; border-bottom:2px solid var(--red); }

/* =========================================
   FOOTER
========================================= */
.site-footer { background:var(--navy-dark); color:rgba(255,255,255,0.75); margin-top:48px; }
.footer-top { padding:44px 0 30px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.footer-col h4 { color:var(--yellow); font-size:16px; margin-bottom:16px; padding-bottom:8px; border-bottom:2px solid rgba(255,255,255,0.1); }
.footer-col p  { font-size:13px; line-height:1.9; margin-bottom:14px; }
.footer-col ul li { padding:5px 0; }
.footer-col ul li a { color:rgba(255,255,255,0.65); font-size:13px; transition:color .2s; }
.footer-col ul li a:hover { color:var(--yellow); }
.footer-social { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.footer-social a { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; background:rgba(255,255,255,0.1); border-radius:6px; font-size:13px; transition:background .2s; }
.footer-social a:hover { background:var(--yellow); color:var(--navy); }

/* Footer recent posts */
.footer-recent li { border-bottom:1px solid rgba(255,255,255,0.08); padding:8px 0; }
.footer-recent li:last-child { border-bottom:none; }
.footer-recent li a { color:rgba(255,255,255,0.7); font-size:13px; line-height:1.6; transition:color .2s; display:block; }
.footer-recent li a:hover { color:var(--yellow); }
.footer-recent .fr-meta { font-size:11px; color:rgba(255,255,255,0.35); font-family:var(--font-ui); margin-top:3px; }

.footer-bottom { padding:16px 0; font-size:12px; font-family:var(--font-ui); }
.footer-bottom .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-bottom a { color:rgba(255,255,255,0.5); transition:color .2s; margin-right:14px; }
.footer-bottom a:hover { color:var(--yellow); }
.footer-badge { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); padding:3px 10px; border-radius:20px; font-size:10px; letter-spacing:.5px; }

/* =========================================
   PAGINATION
========================================= */
.pagination { display:flex; justify-content:center; gap:8px; padding:28px 0; flex-wrap:wrap; }
.pagination a,.pagination span { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:6px; font-size:14px; font-family:var(--font-ui); border:1px solid var(--border); color:var(--text); transition:all .2s; }
.pagination a:hover,.pagination .current { background:var(--navy); color:#fff; border-color:var(--navy); }

/* Search header */
.search-header { background:var(--navy); color:#fff; padding:22px 0; margin-bottom:26px; }
.search-header h1 { font-size:22px; }
.search-header em { color:var(--yellow); font-style:normal; }

/* 404 */
.error-404 { text-align:center; padding:70px 20px; }
.error-404 .code { font-size:110px; font-weight:900; color:var(--navy); opacity:.1; line-height:1; font-family:var(--font-ui); }
.error-404 h2 { font-size:26px; color:var(--navy); margin-bottom:12px; }
.error-404 p  { color:var(--text-muted); margin-bottom:26px; font-size:17px; }
.btn-home { background:var(--red); color:#fff; padding:12px 28px; border-radius:6px; font-size:16px; display:inline-block; transition:background .2s; }
.btn-home:hover { background:var(--red-light); }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width:900px) {
  .content-sidebar { grid-template-columns:1fr; }
  .sidebar { position:static; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero-top { grid-template-columns:1fr 2fr; min-height:auto; }
  .hero-side:last-child { display:none; }
  .hero-bottom { grid-template-columns:repeat(2,1fr); }
  .posts-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .site-header .container { flex-wrap:wrap; gap:12px; }
  .header-sponsors { display:none; }
  .nav-main ul { display:none; flex-direction:column; width:100%; }
  .nav-main ul.open { display:flex; }
  .nav-main ul li a { padding:12px 18px; border-bottom:1px solid rgba(255,255,255,0.1); }
  .menu-toggle { display:block; }
  .nav-search input { width:140px; }
  .article-header,.article-content,.share-bar,.related-section { padding-left:16px; padding-right:16px; }
  .article-content { font-size:17px; }
  .posts-grid { grid-template-columns:1fr; }
  .hero-bottom { grid-template-columns:1fr; }
  .hero-top { grid-template-columns:1fr; }
  .hero-side { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .dost-ad-banner { height:auto; flex-direction:column; }
  .dab-left,.dab-right { width:100%; height:55px; flex-direction:row; gap:10px; }
  .dab-features { display:none; }
}
@media (max-width:480px) {
  .fin-strip { font-size:11px; }
  .logo-wrap img { height:44px; }
  .post-hero-center .hero-img-wrap { min-height:180px; }
}
