* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--page);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}
body.ltr .hero-caption h1,
body.ltr .hot-body h3,
body.ltr .more-item h3,
body.ltr .article-header h1,
body.ltr .article-copy[dir="ltr"] h1,
body.ltr .section-title,
body.ltr .card-body h3,
body.ltr .headlines-ol a,
body.ltr .news-card h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
body.urdu-font .hero-caption h1,
body.urdu-font .hot-body h3,
body.urdu-font .more-item h3,
body.urdu-font .strip-body h3,
body.urdu-font .article-header h1,
body.urdu-font .article-copy[dir="rtl"] h1,
body.urdu-font .section-title,
body.urdu-font .card-body h3,
body.urdu-font .headlines-ol a,
body.urdu-font .news-card h3,
body.rtl .hero-caption h1,
body.rtl .hot-body h3,
body.rtl .more-item h3,
body.rtl .strip-body h3,
body.rtl .headlines-ol a,
.urdu-headline {
  direction: rtl !important;
  text-align: right !important;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 2.15;
  font-family: "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", serif;
  letter-spacing: 0;
  font-weight: 600;
  /* Do NOT use unicode-bidi:isolate — it splits ہ/ھ joining in WebKit */
}
body.urdu-font { font-family: var(--font-urdu); font-size: 1.05rem; line-height: 1.9; }
.bidi-ur, .article-copy[dir="rtl"] .article-body {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  line-height: 1.9;
}
.article-copy-en, .article-copy[dir="ltr"], .article-copy[data-lang-panel="en"] {
  direction: ltr;
  text-align: left;
  font-family: var(--font);
  line-height: 1.75;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gold-rule { height: 1px; background: var(--gold); border: 0; }

/* ── Masthead (logo lockup + tools) ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.masthead { padding: 0.55rem 0; border-bottom: 1px solid rgba(212, 175, 55, 0.35); }
.masthead-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.logo-wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.logo-mark-chip {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%;
  overflow: hidden; padding: 0; margin: 0;
  background: transparent;
  display: block;
  border: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
}
.logo-mark-chip--sm { width: 40px; height: 40px; }
.logo-mark-chip img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
  transform: scale(1.06);
}
.logo-lockup { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff; }
.logo-mark {
  width: 52px; height: 52px; flex-shrink: 0; display: block;
}
.logo-text-block { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.12; }
body.urdu-font .logo-text-block { gap: 1.2rem; line-height: 1.45; }
.logo-text {
  font-family: var(--font-serif); font-size: 1.42rem; font-weight: 700; display: block;
  color: #fff; letter-spacing: 0.02em; text-transform: uppercase;
}
.logo-tagline {
  font-family: var(--font); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: block; font-weight: 600;
}
body.urdu-font .logo-text { letter-spacing: 0; text-transform: none; font-family: var(--font-urdu); font-weight: 700; color: #fff; line-height: 1.7; }
body.urdu-font .logo-tagline { letter-spacing: 0.06em; font-family: var(--font-urdu); color: var(--gold); }

.masthead-aside {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem;
  margin-left: auto;
}
body.rtl .masthead-aside { margin-left: 0; margin-right: auto; align-items: flex-start; }
.masthead-date {
  font-size: 0.72rem; color: #cbd5e1; letter-spacing: 0.02em; white-space: nowrap;
}
body.urdu-font .masthead-date { font-family: var(--font-urdu); letter-spacing: 0; }
.masthead-tools { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; justify-content: flex-end; }
body.rtl .masthead-tools { justify-content: flex-start; }
.masthead-search {
  display: flex; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px; overflow: hidden;
}
.masthead-search input {
  background: transparent; border: none; color: #fff; padding: 0.35rem 0.55rem;
  font-size: 0.78rem; width: 148px; outline: none; font-family: var(--font);
}
body.urdu-font .masthead-search input { font-family: var(--font-urdu); direction: rtl; text-align: right; }
.masthead-search input::placeholder { color: #94a3b8; }
.masthead-search button {
  background: transparent; border: none; color: var(--gold); padding: 0 0.55rem; cursor: pointer;
}
.masthead-lang, .masthead-theme {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; padding: 0.32rem 0.6rem; border-radius: 4px; cursor: pointer;
  font-size: 0.72rem; text-decoration: none; font-family: var(--font); font-weight: 700;
  line-height: 1.2; min-height: 32px; display: inline-flex; align-items: center; justify-content: center;
}
body.urdu-font .masthead-lang { font-family: var(--font-urdu); font-size: 0.82rem; padding: 0.28rem 0.65rem; }
.masthead-theme { min-width: 32px; }
.masthead-lang:hover, .masthead-theme:hover { background: rgba(255,255,255,0.14); color: var(--gold); }
.theme-icon { font-size: 0.95rem; line-height: 1; }

/* legacy util-bar removed */

.main-nav { background: var(--crimson); border-bottom: 2px solid var(--gold); }
.nav-inner { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; gap: 0; }
.nav-inner::-webkit-scrollbar { display: none; }
.main-nav a, .nav-home, .nav-menu-btn {
  color: #fff; text-decoration: none; padding: 0.7rem 0.9rem;
  font-size: 0.8rem; font-weight: 700; white-space: nowrap;
  border: none; background: transparent; cursor: pointer;
  display: flex; align-items: center; font-family: var(--font);
}
.main-nav a:hover, .nav-home:hover { background: rgba(0,0,0,0.22); }
.nav-home { font-size: 0.8rem; letter-spacing: 0.04em; }
.nav-menu-btn { font-size: 1.1rem; padding-left: 0.65rem; padding-right: 0.65rem; }
.nav-overflow { display: none; background: var(--navy); border-top: 1px solid var(--gold); }
.nav-overflow.open { display: flex; flex-wrap: wrap; }
.nav-overflow a {
  color: #e2e8f0; text-decoration: none; padding: 0.55rem 1rem;
  font-size: 0.78rem; font-weight: 600;
}

/* ── Breaking bar ── */
.breaking-bar { background: #0a0a0a; border-top: 1px solid var(--gold); }
.breaking-inner { display: flex; align-items: center; min-height: 36px; gap: 0.75rem; }
.breaking-tag {
  flex-shrink: 0; background: var(--crimson); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem; text-transform: uppercase;
}
.breaking-track { flex: 1; overflow: hidden; }
.breaking-scroll { display: flex; gap: 1.25rem; white-space: nowrap; animation: ticker 45s linear infinite; }
.breaking-scroll a { color: #e2e8f0; text-decoration: none; font-size: 0.78rem; font-weight: 500; }
.breaking-scroll a:hover { color: var(--gold); }
.breaking-dot { color: #475569; font-size: 0.7rem; }
.breaking-arrows { display: flex; gap: 0.25rem; flex-shrink: 0; }
.breaking-arrows button {
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 26px; height: 26px; border-radius: 3px; cursor: pointer; font-size: 1rem;
}

.site-main { padding: 0.65rem 0 2.5rem; }

/* ── Hero + headlines sidebar ── */
.hero-zone { margin-bottom: 1.35rem; --hero-h: 480px; --headline-visible: 5; }
.hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 1.25rem; align-items: stretch; }
.hero-feature {
  position: relative; border-radius: 2px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(11,30,61,0.18);
  min-height: var(--hero-h); height: var(--hero-h);
}
.hero-feature a { display: block; height: 100%; text-decoration: none; color: #fff; position: relative; }
.hero-photo, .hero-photo img, .img-placeholder { width: 100%; height: 100%; min-height: var(--hero-h); object-fit: cover; display: block; }
.hero-desk {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.65rem;
}
body.urdu-font .hero-desk { letter-spacing: 0.06em; text-transform: none; font-family: var(--font-urdu); }
.img-placeholder { background: linear-gradient(135deg, #1e3348, var(--navy)); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,0.88)); pointer-events: none; }
.hero-feature .badge-breaking {
  position: absolute; top: 1rem; z-index: 2;
  left: auto; right: 1rem; /* flush to Headlines column */
  background: var(--crimson); color: #fff; font-size: 0.65rem; font-weight: 800;
  padding: 0.35rem 0.65rem; letter-spacing: 0.06em; text-transform: uppercase;
}
body.rtl .hero-feature .badge-breaking { right: auto; left: 1rem; }
.hero-breaking-inline { margin-bottom: 0.55rem; }
.hero-breaking-inline .badge-breaking {
  position: static; display: inline-block; letter-spacing: 0.06em;
}
.headlines-head-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.headlines-head-row h3 { margin: 0; }
.badge-breaking--headlines {
  flex-shrink: 0; background: var(--crimson); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem; text-transform: uppercase;
}
.hero-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem; z-index: 2; }
.hero-caption h1 { font-family: var(--font-serif); font-size: 1.95rem; font-weight: 800; line-height: 1.18; margin-bottom: 0.65rem; letter-spacing: -0.015em; }
.hero-caption p { font-size: 0.92rem; opacity: 0.92; max-width: 92%; margin-bottom: 0.65rem; line-height: 1.45; }
.hero-caption footer { font-size: 0.74rem; opacity: 0.85; display: flex; gap: 1rem; }
/* Nastaliq needs taller leading than the EN serif rules above (those win on equal specificity later). */
body.urdu-font .hero-caption h1,
body.rtl .hero-caption h1 {
  line-height: 2.2;
  margin-bottom: 0.85rem;
}
body.urdu-font .hero-caption p,
body.rtl .hero-caption p {
  line-height: 1.7;
  max-height: 3.4em;
  overflow: hidden;
}

.hero-sidebar { display: flex; flex-direction: column; height: var(--hero-h); }
.widget-headlines {
  flex: 1; display: flex; flex-direction: column;
  height: 100%; margin: 0; min-height: 0;
}
.headlines-scroll-viewport {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  max-height: calc(var(--hero-h) - 2.4rem);
  padding-right: 6px; scrollbar-width: thin;
  padding-inline-start: 0.35rem;
  padding-inline-end: 0.45rem;
}
.headlines-scroll-viewport::-webkit-scrollbar { width: 6px; }
.headlines-scroll-viewport::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.45); border-radius: 999px; }
.widget-headlines .headlines-ol--sidebar { flex: none; }
.widget-headlines .headlines-ol--sidebar li {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.45rem;
  padding-top: 0.2rem;
  padding-bottom: 0.45rem;
}
.widget-headlines .headlines-ol--sidebar a { display: block; width: 100%; }
body.urdu-font .widget-headlines h3 { font-family: var(--font-urdu); letter-spacing: 0; text-transform: none; }
body.rtl .headlines-ol li::before { margin-right: 0; margin-left: 0.5rem; }
.widget-box {
  background: var(--card); border-radius: 4px; padding: 1.15rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
}
.widget-box h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; margin-bottom: 0.85rem; color: var(--muted); }
.market-row, .weather-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; gap: 0.5rem; }
.market-row:last-child, .weather-row:last-child { border-bottom: none; }
.market-name, .weather-city { font-weight: 600; color: var(--text); }
.market-val, .weather-val { text-align: right; font-weight: 700; }
.market-val em.up { color: var(--green); font-style: normal; font-size: 0.75rem; margin-left: 0.35rem; }
.market-val em.down { color: var(--crimson); font-style: normal; font-size: 0.75rem; margin-left: 0.35rem; }
.widget-empty { font-size: 0.82rem; color: var(--muted); }

/* ── HOT grid ── */
.hot-section { margin-bottom: 2rem; }
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hot-card { background: var(--card); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.hot-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
.hot-card a { text-decoration: none; color: inherit; display: block; }
.hot-photo { position: relative; margin: 0; aspect-ratio: 16/9; overflow: hidden; }
.hot-photo img, .hot-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.badge-hot {
  position: absolute; top: 0.65rem; left: 0.65rem;
  background: var(--crimson); color: #fff; font-size: 0.6rem; font-weight: 800;
  padding: 0.2rem 0.45rem; letter-spacing: 0.06em; text-transform: uppercase;
}
body.rtl .badge-hot { left: auto; right: 0.65rem; }
.hot-body { padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--gold); }
.hot-cat { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }
.cat-politics { color: var(--navy); }
.cat-economy { color: var(--green); }
.cat-sports { color: var(--green); }
.cat-world { color: var(--navy); }
.cat-tech { color: var(--green); }
.cat-opinion { color: var(--navy); }
.cat-default { color: var(--muted); }
.hot-body h3 { font-family: var(--font); font-weight: 700; font-size: 1.08rem; line-height: 1.35; margin: 0.4rem 0; letter-spacing: -0.01em; }
.hot-body p { font-family: var(--font); font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.5rem; }
.hot-body footer { font-size: 0.72rem; color: var(--muted); display: flex; gap: 0.75rem; }

/* ── Category strips (The News–style 3-column wire) ── */
.category-strip { margin-bottom: 2.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.category-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.category-strip-head .section-head { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.category-strip-title {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font); font-size: 1.05rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.category-strip-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--crimson); flex-shrink: 0;
}
.category-strip-more { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--crimson); text-decoration: none; white-space: nowrap; }
.category-strip-more:hover { text-decoration: underline; }
.category-wire {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}
.category-wire-lead a { display: block; text-decoration: none; color: inherit; }
.category-wire-lead-photo { margin: 0 0 0.75rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; }
.category-wire-lead-photo img, .category-wire-lead-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-wire-lead h3 {
  font-family: var(--font); font-weight: 800; font-size: 1.35rem; line-height: 1.28;
  margin: 0 0 0.45rem; color: var(--text);
}
.category-wire-lead p { margin: 0; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.category-wire-lead a:hover h3 { color: var(--crimson); }
.category-wire--page { margin-bottom: 1.5rem; }
.category-wire-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin: 0 0 1.5rem;
}
.category-wire-list--page { margin-top: 0.5rem; margin-bottom: 1.5rem; }
.category-wire-mid { display: flex; flex-direction: column; gap: 1.15rem; }
.category-wire-mid-card a { display: block; text-decoration: none; color: inherit; }
.category-wire-mid-card figure { margin: 0 0 0.5rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; }
.category-wire-mid-card img, .category-wire-mid-card .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-wire-mid-card h3 {
  font-family: var(--font); font-weight: 700; font-size: 0.98rem; line-height: 1.32; margin: 0 0 0.3rem;
}
.category-wire-mid-card p { margin: 0; font-size: 0.8rem; line-height: 1.4; color: var(--muted); }
.category-wire-mid-card a:hover h3 { color: var(--crimson); }
.category-wire-list { display: flex; flex-direction: column; }
.category-wire-list-item { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.category-wire-list-item:first-child { padding-top: 0; }
.category-wire-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.category-wire-list-item a { display: block; text-decoration: none; color: inherit; }
.category-wire-list-item h3 {
  font-family: var(--font); font-weight: 700; font-size: 0.92rem; line-height: 1.35;
  margin: 0 0 0.28rem; color: var(--text);
}
.category-wire-list-item a:hover h3 { color: var(--text); text-decoration: underline; }
.category-wire-list-item p { margin: 0; font-size: 0.78rem; line-height: 1.4; color: var(--muted); }
/* legacy 4-up grid kept for any leftover markup */
.category-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.strip-card { background: var(--card); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
.strip-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.strip-card a { display: block; text-decoration: none; color: inherit; }
.strip-photo { margin: 0; aspect-ratio: 16/9; overflow: hidden; }
.strip-photo img, .strip-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.strip-body { padding: 0.85rem 0.95rem 1rem; border-top: 1px solid var(--gold); }
.strip-body h3 { font-family: var(--font); font-weight: 700; font-size: 0.98rem; line-height: 1.35; margin: 0 0 0.35rem; }
.strip-body footer { font-size: 0.68rem; color: var(--muted); }

/* ── More news ── */
.more-grid { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; }
.section-head { font-family: var(--font); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--gold); }
.more-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.more-item a { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; text-decoration: none; color: inherit; }
.more-item figure { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; }
.more-item img, .more-item .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.more-item h3 { font-family: var(--font); font-weight: 700; font-size: 1.05rem; margin: 0.35rem 0; line-height: 1.35; }
.more-item p { font-size: 0.85rem; color: var(--muted); }
.more-item footer { font-size: 0.72rem; color: var(--muted); margin-top: 0.35rem; }
.more-list--dense { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
.more-list--dense .more-item { border-bottom: 1px solid var(--border); }
.headlines-ol { list-style: none; counter-reset: hl; }
.headlines-ol li { counter-increment: hl; margin-bottom: 0.45rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border); }
.headlines-ol li::before { content: counter(hl); color: var(--muted); font-weight: 800; margin-right: 0.5rem; font-size: 0.85rem; }
.headlines-ol a { text-decoration: none; color: var(--text); font-family: var(--font); font-weight: 600; font-size: 0.92rem; line-height: 1.4; }
.headlines-ol a:visited { color: var(--text); }
.headlines-ol a:hover { color: var(--text); text-decoration: underline; }
.widget-headlines .headlines-ol a { font-size: 1.02rem; line-height: 1.45; }
/* Override EN 1.45 after the widget rule — Nastaliq descenders were colliding on long #3 etc. */
body.urdu-font .widget-headlines .headlines-ol a,
body.rtl .widget-headlines .headlines-ol a,
body.urdu-font .headlines-ol a,
body.rtl .headlines-ol a {
  line-height: 2.35 !important;
  font-size: 1.05rem;
}
body.urdu-font .hot-body h3,
body.rtl .hot-body h3,
body.urdu-font .more-item h3,
body.rtl .more-item h3,
body.urdu-font .strip-body h3,
body.rtl .strip-body h3 {
  line-height: 2.2 !important;
  /* Nastaliq first glyph sits on the inline-start edge (right in RTL) and overhangs — pad so card overflow:hidden does not clip it. */
  padding-inline-start: 0.28em;
  padding-inline-end: 0.12em;
  overflow: visible;
}
body.urdu-font .hero-caption h1,
body.rtl .hero-caption h1 {
  line-height: 2.35 !important;
  margin-bottom: 0.9rem;
  padding-inline-start: 0.2em;
}
/* Hero shade box clips RTL first letter without extra side padding. */
body.urdu-font .hero-caption,
body.rtl .hero-caption {
  padding-inline: 2rem 1.85rem;
}
body.urdu-font .headlines-ol a,
body.rtl .headlines-ol a {
  padding-inline-start: 0.2em;
}

/* ── Site ads ── */
.site-ad {
  display: block;
  margin: 0.85rem auto;
  max-width: 970px;
  padding: 0.65rem 0.75rem;
  text-align: center;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.site-ad--leaderboard,
.site-ad--footer { max-width: 970px; }
/* Front header — Geo-style horizontal banner, slightly under full billboard height */
.site-ad--leaderboard {
  max-width: 970px;
  margin: 0.45rem auto 0.65rem;
  padding: 0.35rem 0.5rem 0.45rem;
}
.site-ad--leaderboard .site-ad-unit {
  max-height: 160px;
  overflow: hidden;
}
.site-ad--leaderboard .adsbygoogle {
  max-height: 160px !important;
  overflow: hidden;
}
.site-ad--leaderboard .site-ad-sell {
  margin-top: 0.35rem;
  font-size: 0.68rem;
}
.site-ad--sidebar,
.site-ad--inarticle,
.site-ad--category { max-width: 336px; }
.site-ad--homemid,
.site-ad--homebanner {
  max-width: 970px;
  margin: 0.75rem auto 1rem;
  padding: 0.35rem 0.5rem 0.45rem;
}
.site-ad--homemid .site-ad-unit,
.site-ad--homebanner .site-ad-unit,
.site-ad--homemid .adsbygoogle,
.site-ad--homebanner .adsbygoogle {
  max-height: 160px;
  overflow: hidden;
}
.site-ad-unit { line-height: 0; }
.site-ad-img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
.site-ad-link { display: inline-block; }
.site-ad-sell {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}
.site-ad-sell a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.site-ad-sell a:hover { color: var(--crimson); }
.article-body .site-ad--inarticle {
  margin: 1.25rem auto;
  float: none;
}
.category-page > .site-ad--category { margin: 1.25rem auto; }

/* ── Article ── */
.article-page {
  background: var(--card); border-radius: 4px; padding: 2rem;
  max-width: 1080px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}
.article-layout:not(:has(.article-ad-rail)) {
  grid-template-columns: minmax(0, 1fr);
}
.article-ad-rail {
  position: sticky;
  top: 1rem;
}
.article-ad-rail .site-ad { margin: 0; max-width: 100%; }
.article-page[data-mood] { border-top: 3px solid var(--mood-accent); }
.article-kicker { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: center; flex-wrap: wrap; }
.article-standfirst { color: var(--crimson); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.article-header h1, .article-headline { font-family: var(--font); font-weight: 800; font-size: 2.1rem; line-height: 1.2; margin: 0.5rem 0 1rem; letter-spacing: -0.02em; }
.article-headline[hidden] { display: none !important; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: var(--muted); border-bottom: 1px solid var(--gold); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.credit-line { font-weight: 700; color: var(--text); }
.article-image { margin: 0 0 1.25rem; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; }
.article-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-copy h1 { font-family: var(--font); font-weight: 800; font-size: 2.05rem; line-height: 1.22; margin: 0 0 1rem; letter-spacing: -0.02em; }
.article-body { font-family: var(--font); font-size: 1.12rem; line-height: 1.8; }
.article-body p { margin: 0 0 0.85em; }
.article-copy[dir="rtl"] .article-body p, .bidi-ur .article-body p { margin-bottom: 0.7em; }
.x-quote { margin: 0 0 0.75rem; padding: 0.85rem 1rem; border-left: 4px solid var(--gold); background: var(--page); }
.x-quote p { margin: 0; font-size: 1.05rem; }
.x-quote-credit { font-size: 0.88rem; color: var(--muted); }
.article-lang-toggle { display: flex; gap: 0.35rem; margin-bottom: 1rem; }
.article-lang-toggle button {
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  padding: 0.3rem 0.7rem; font-size: 0.72rem; font-weight: 700; cursor: pointer; border-radius: 3px;
  font-family: var(--font);
}
.article-lang-toggle button.active { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.article-bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.article-bilingual .article-copy { padding: 0 0.5rem; }
.article-bilingual .article-copy + .article-copy { border-left: 1px solid var(--gold); }
.article-copy[hidden], .article-bilingual[hidden] { display: none !important; }
.x-attribution { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--page); border-radius: 4px; margin-bottom: 1rem; border: 1px solid var(--border); }
.x-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.source-note { margin-top: 1.5rem; padding: 1rem; background: var(--page); border-left: 4px solid var(--gold); font-size: 0.85rem; }
.story-label { font-size: 0.62rem; font-weight: 800; padding: 0.2rem 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.story-label-breaking { background: var(--crimson); color: #fff; }
.story-label-analysis, .story-label-exclusive { background: var(--green); color: #fff; }
.story-label-report, .story-label-editorial, .story-label-interview { background: var(--navy); color: var(--gold); }
.category-pill { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.article-video { aspect-ratio: 16/9; margin-bottom: 1.25rem; }
.article-video iframe { width: 100%; height: 100%; border: 0; }

/* ── Category / archive ── */
.section-title { font-family: var(--font); font-weight: 800; font-size: 1.5rem; margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--gold); letter-spacing: -0.02em; }
.news-grid .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.news-card { background: var(--card); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.news-card a { text-decoration: none; color: inherit; display: block; }
.news-card img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 1rem; }
.card-body h3 { font-family: var(--font); font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
.archive-list { list-style: none; }
.archive-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.archive-list a { color: var(--text); text-decoration: none; font-weight: 600; }

/* ── Archive pointer (dedicated pages only) ── */
.archive-pointer {
  margin: 2rem auto 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
  font-size: 0.98rem;
  color: var(--muted);
}
.archive-pointer a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.archive-pointer a:hover { color: var(--crimson); }
.archive-pointer-sep { margin: 0 0.45rem; color: var(--gold); font-weight: 700; }

/* ── About Us + Team ── */
.about-page { max-width: 860px; margin: 1.5rem auto; }
.about-kicker {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}
body.urdu-font .about-kicker,
body.rtl .about-kicker {
  letter-spacing: 0.08em;
  text-transform: none;
  font-family: var(--font-urdu);
  font-size: 1.15rem;
  font-weight: 700;
}
.about-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1rem;
  font-weight: 400;
}
.about-page .about-lead:first-of-type {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.75;
}
body.urdu-font .about-lead,
body.rtl .about-lead {
  font-family: var(--font-urdu);
  font-size: 1.28rem;
  line-height: 2;
  font-weight: 400;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 1.5rem 0 1.75rem;
}
.about-pillar {
  border-top: 2px solid var(--gold);
  padding-top: 0.85rem;
}
.about-pillar h2,
.about-sub {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.about-sub {
  font-size: 1.18rem;
  margin: 1.6rem 0 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
}
.about-pillar p { margin: 0; color: var(--text); font-size: 0.98rem; line-height: 1.65; }
.about-list { margin: 0 0 1rem; padding-inline-start: 1.2rem; }
.about-list li { margin: 0 0 0.45rem; line-height: 1.65; }
.about-close {
  font-weight: 700;
  color: var(--navy);
  margin: 1.1rem 0 0;
}
.about-cta {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
  font-weight: 800;
}
.about-cta a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.about-cta a:hover { color: var(--crimson); }
.about-cta-dot { color: var(--gold); margin: 0 0.55rem; font-weight: 700; }
@media (max-width: 768px) {
  .about-pillars { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-lead { font-size: 1.08rem; }
}
@media (max-width: 375px) {
  .about-page { padding: 1.15rem; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.team-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1rem 1.1rem;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.team-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(11, 30, 61, 0.08);
}
.team-card-photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  background: #e2e8f0;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card-photo-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}
.team-card-photo-ph--lg { width: 220px; height: 220px; border-radius: 50%; }
.team-card-name {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--navy);
}
.team-card-role {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}
.team-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crimson);
}
.team-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1.75rem;
  align-items: start;
}
.team-profile-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.team-profile-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
  display: block;
}
.team-bio { line-height: 1.75; margin-bottom: 1.25rem; }
.team-meta { list-style: none; line-height: 1.8; }
.team-meta a { color: var(--crimson); }
.team-profile-qr {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
}
.team-qr-img {
  width: 200px;
  height: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.team-qr-hint { font-size: 0.85rem; color: var(--muted); margin: 0.65rem 0; }
@media (max-width: 860px) {
  .team-profile,
  .team-profile-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .team-profile-copy { text-align: start; width: 100%; }
  html[dir="rtl"] .team-profile-copy { text-align: right; }
}

/* legacy dedicated-rail classes no longer used for chips */
.dedicated-rail { display: none; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: #94a3b8; padding: 2.5rem 0 0; margin-top: 2rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.site-footer h4 { color: var(--gold); font-family: var(--font-serif); margin-bottom: 0.65rem; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; }
.site-footer a { color: #94a3b8; text-decoration: none; font-size: 0.88rem; }
.site-footer a:hover { color: #fff; }
.footer-tagline { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 0.35rem; }
.social-links--icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  align-items: stretch;
  max-width: 17rem;
}
.social-links--icons .social-icon {
  justify-content: flex-start;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 3px;
  color: #e2e8f0 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  text-decoration: none;
}
.social-icon:hover { filter: brightness(1.08); color: #fff !important; border-color: var(--gold); }
.social-icon-glyph {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
/* Brand-colored chips so Follow icons read clearly on navy footer */
.social-icon--facebook {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #fff !important;
}
.social-icon--facebook .social-icon-glyph { background: #fff; }
.social-icon--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: #dc2743 !important;
  color: #fff !important;
}
.social-icon--instagram .social-icon-glyph { background: #fff; }
.social-icon--threads {
  background: #000 !important;
  border-color: #333 !important;
  color: #fff !important;
}
.social-icon--threads .social-icon-glyph { background: #fff; }
.social-icon--x {
  background: #000 !important;
  border-color: #333 !important;
  color: #fff !important;
}
.social-icon--x .social-icon-glyph { background: #fff; }
.social-icon--youtube {
  background: #FF0000 !important;
  border-color: #FF0000 !important;
  color: #fff !important;
}
.social-icon--youtube .social-icon-glyph { background: #fff; }
.social-icon--linkedin {
  background: #0A66C2 !important;
  border-color: #0A66C2 !important;
  color: #fff !important;
}
.social-icon--linkedin .social-icon-glyph { background: #fff; }
.social-icon--whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}
.social-icon--whatsapp .social-icon-glyph { background: #fff; }
.social-icon--website {
  background: #1F6F4A !important;
  border-color: #D4AF37 !important;
  color: #fff !important;
}
.social-icon--facebook .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 9h3V6h-3c-2.2 0-4 1.8-4 4v2H7v3h3v7h3v-7h3l1-3h-4v-2c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 9h3V6h-3c-2.2 0-4 1.8-4 4v2H7v3h3v7h3v-7h3l1-3h-4v-2c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}
.social-icon--instagram .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm5 5a5 5 0 100 10 5 5 0 000-10zm6.5-.9a1.1 1.1 0 11-2.2 0 1.1 1.1 0 012.2 0zM12 9a3 3 0 110 6 3 3 0 010-6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm5 5a5 5 0 100 10 5 5 0 000-10zm6.5-.9a1.1 1.1 0 11-2.2 0 1.1 1.1 0 012.2 0zM12 9a3 3 0 110 6 3 3 0 010-6z'/%3E%3C/svg%3E");
}
.social-icon--x .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.9 2H22l-7.1 8.1L23 22h-6.3l-4.9-6.4L6.1 22H3l7.6-8.7L1 2h6.5l4.4 5.8L18.9 2zm-1.1 18h1.7L7.3 3.9H5.5L17.8 20z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.9 2H22l-7.1 8.1L23 22h-6.3l-4.9-6.4L6.1 22H3l7.6-8.7L1 2h6.5l4.4 5.8L18.9 2zm-1.1 18h1.7L7.3 3.9H5.5L17.8 20z'/%3E%3C/svg%3E");
}
.social-icon--youtube .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M23 7.5a3 3 0 00-2.1-2.1C19.2 5 12 5 12 5s-7.2 0-8.9.4A3 3 0 001 7.5 31.5 31.5 0 001 12a31.5 31.5 0 00.1 4.5 3 3 0 002.1 2.1C4.8 19 12 19 12 19s7.2 0 8.9-.4a3 3 0 002.1-2.1A31.5 31.5 0 0023 12a31.5 31.5 0 000-4.5zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M23 7.5a3 3 0 00-2.1-2.1C19.2 5 12 5 12 5s-7.2 0-8.9.4A3 3 0 001 7.5 31.5 31.5 0 001 12a31.5 31.5 0 00.1 4.5 3 3 0 002.1 2.1C4.8 19 12 19 12 19s7.2 0 8.9-.4a3 3 0 002.1-2.1A31.5 31.5 0 0023 12a31.5 31.5 0 000-4.5zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
}
.social-icon--linkedin .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.5 8.5H3.7V21h2.8V8.5zM5.1 3A1.6 1.6 0 103.5 4.6 1.6 1.6 0 005.1 3zM21 21h-2.8v-6.1c0-1.5 0-3.3-2-3.3s-2.3 1.6-2.3 3.2V21H11V8.5h2.7v1.7h.1a3 3 0 012.7-1.5c2.9 0 3.5 1.9 3.5 4.4V21z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.5 8.5H3.7V21h2.8V8.5zM5.1 3A1.6 1.6 0 103.5 4.6 1.6 1.6 0 005.1 3zM21 21h-2.8v-6.1c0-1.5 0-3.3-2-3.3s-2.3 1.6-2.3 3.2V21H11V8.5h2.7v1.7h.1a3 3 0 012.7-1.5c2.9 0 3.5 1.9 3.5 4.4V21z'/%3E%3C/svg%3E");
}
.social-icon--tiktok .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.6 7.2a6.5 6.5 0 01-3.7-1.2v7.3a5.5 5.5 0 11-5.5-5.5c.3 0 .6 0 .9.1v2.7a2.8 2.8 0 100 5.6 2.8 2.8 0 002.8-2.8V2.5h2.7c.2 1.7 1.4 3.2 3 3.9v.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.6 7.2a6.5 6.5 0 01-3.7-1.2v7.3a5.5 5.5 0 11-5.5-5.5c.3 0 .6 0 .9.1v2.7a2.8 2.8 0 100 5.6 2.8 2.8 0 002.8-2.8V2.5h2.7c.2 1.7 1.4 3.2 3 3.9v.8z'/%3E%3C/svg%3E");
}
.social-icon--threads .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.2 2c3.2 0 5.7 1.1 7.2 3.1.5.6.4 1.5-.3 1.9-.6.4-1.4.2-1.9-.3-1-1.3-2.7-2-5-2-3.9 0-6.5 2.5-6.5 6.2 0 2.4 1.1 4.1 3.1 4.9-.4.6-.6 1.3-.6 2.1 0 2.2 1.7 3.7 4.4 3.7 2.2 0 3.8-.9 4.8-2.5.4-.6 1.3-.8 1.9-.4.6.4.8 1.2.4 1.8-1.5 2.5-4 3.9-7.1 3.9-4.2 0-7.2-2.6-7.2-6.5 0-1.3.3-2.5.9-3.5C4.8 9.8 4 7.7 4 5.9 4 2.6 7.4 0 12.2 0zm.4 8.2c1.6 0 2.6.8 2.6 2.1 0 1.4-1 2.3-2.6 2.3s-2.6-.9-2.6-2.3c0-1.3 1-2.1 2.6-2.1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.2 2c3.2 0 5.7 1.1 7.2 3.1.5.6.4 1.5-.3 1.9-.6.4-1.4.2-1.9-.3-1-1.3-2.7-2-5-2-3.9 0-6.5 2.5-6.5 6.2 0 2.4 1.1 4.1 3.1 4.9-.4.6-.6 1.3-.6 2.1 0 2.2 1.7 3.7 4.4 3.7 2.2 0 3.8-.9 4.8-2.5.4-.6 1.3-.8 1.9-.4.6.4.8 1.2.4 1.8-1.5 2.5-4 3.9-7.1 3.9-4.2 0-7.2-2.6-7.2-6.5 0-1.3.3-2.5.9-3.5C4.8 9.8 4 7.7 4 5.9 4 2.6 7.4 0 12.2 0zm.4 8.2c1.6 0 2.6.8 2.6 2.1 0 1.4-1 2.3-2.6 2.3s-2.6-.9-2.6-2.3c0-1.3 1-2.1 2.6-2.1z'/%3E%3C/svg%3E");
}
.social-icon--email .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.social-icon--phone .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E");
}
.social-icon--whatsapp .social-icon-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 00-8.7 15l-1.1 4 4.1-1.1A10 10 0 1012 2zm5.7 14.1c-.2.7-1.2 1.2-2 1.4-.5.1-1.2.2-3.5-.7-2.9-1.2-4.8-4.2-4.9-4.4-.2-.2-1.3-1.7-1.3-3.3 0-1.5.8-2.3 1.1-2.6.3-.3.6-.4.9-.4h.6c.2 0 .5 0 .7.5l.9 2.2c.1.2.1.4 0 .6l-.4.7c-.1.2-.3.4-.1.7.2.3.7 1.2 1.6 1.9 1.1.9 2 1.2 2.3 1.3.3.1.5.1.7-.1l1-.1.1c.2-.1.5-.2.6.1.2.4.9 2.1.2 2.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 00-8.7 15l-1.1 4 4.1-1.1A10 10 0 1012 2zm5.7 14.1c-.2.7-1.2 1.2-2 1.4-.5.1-1.2.2-3.5-.7-2.9-1.2-4.8-4.2-4.9-4.4-.2-.2-1.3-1.7-1.3-3.3 0-1.5.8-2.3 1.1-2.6.3-.3.6-.4.9-.4h.6c.2 0 .5 0 .7.5l.9 2.2c.1.2.1.4 0 .6l-.4.7c-.1.2-.3.4-.1.7.2.3.7 1.2 1.6 1.9 1.1.9 2 1.2 2.3 1.3.3.1.5.1.7-.1l1-.1.1c.2-.1.5-.2.6.1.2.4.9 2.1.2 2.8z'/%3E%3C/svg%3E");
}
.social-icon--website .social-icon-glyph {
  background: transparent url("/assets/img/brand/probes-mark-fill.png") center / contain no-repeat;
  mask-image: none;
  -webkit-mask-image: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}
.social-icon--website:hover .social-icon-glyph {
  background-image: url("/assets/img/brand/probes-mark-fill.png");
}
/* Contact page — icons on light background */
.contact-page .contact-blurb {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.social-links--contact {
  gap: 0.65rem;
}
.social-icon--on-light {
  background: #fff;
  color: var(--navy) !important;
  border-color: rgba(11, 30, 61, 0.2);
}
.social-icon--on-light:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--navy) !important;
  border-color: var(--gold);
}
.social-icon--on-light .social-icon-glyph {
  background: var(--navy);
}
.social-icon--on-light.social-icon--website .social-icon-glyph {
  background: transparent url("/assets/img/brand/probes-mark-fill.png") center / contain no-repeat;
}
.footer-bottom { margin-top: 2rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.78rem; }
.footer-bottom-inner p { margin: 0.35rem 0; }
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); text-decoration: underline; }

/* Privacy / legal */
.privacy-page .privacy-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -0.35rem 0 1.25rem;
}
.privacy-h {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.75rem 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
}
body.rtl .privacy-h,
body.urdu-font .privacy-h {
  font-family: var(--font-urdu);
  font-size: 1.35rem;
}
.privacy-list {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
  line-height: 1.75;
  color: var(--text);
}
.privacy-list li { margin-bottom: 0.45rem; }

/* Related coverage — internal link equity */
.article-related {
  margin: 2rem 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold);
}
.article-related-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
body.rtl .article-related-title,
body.urdu-font .article-related-title {
  font-family: var(--font-urdu);
  font-size: 1.3rem;
}
.article-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-related-list li {
  margin: 0;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(11, 30, 61, 0.08);
}
.article-related-list a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.45;
}
.article-related-list a:hover {
  color: var(--gold-ink, #8a6d1d);
  text-decoration: underline;
}
body.rtl .privacy-list,
body.urdu-font .privacy-list {
  font-family: var(--font-urdu);
  font-size: 1.15rem;
  line-height: 1.9;
}

/* Article end — follow + Google preference */
.article-follow {
  margin: 2rem 0 1rem;
  padding: 1.25rem 1.1rem;
  border-top: 1px solid var(--gold);
  background: var(--page);
}
.article-follow-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  color: var(--navy);
}
.article-follow-icons { max-width: 22rem; margin-bottom: 0.85rem; }
.article-follow-pref { margin: 0; font-size: 0.92rem; }
.article-follow-pref a { color: var(--crimson); font-weight: 700; text-decoration: none; }
.article-follow-pref a:hover { text-decoration: underline; }

/* ── Search ── */
.search-page { max-width: 800px; margin: 0 auto; }
.search-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.search-form input { flex: 1; padding: 0.75rem; border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; }
.search-form button { background: var(--crimson); color: #fff; border: none; padding: 0 1.25rem; border-radius: 4px; font-weight: 700; cursor: pointer; }

/* ── Portal / admin ── */
.portal-page { min-height: 100vh; background: var(--page); }
.portal-header { background: var(--navy); color: #fff; padding: 1rem 0; border-bottom: 3px solid var(--gold); }
.portal-main { padding: 2rem 1rem 4rem; max-width: 900px; margin: 0 auto; }
.portal-card { background: var(--card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.portal-card-head { background: var(--navy); color: #fff; padding: 1.15rem 1.35rem; border-bottom: 3px solid var(--gold); }
.portal-form { padding: 1.35rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.3rem; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 0.7rem; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.btn-submit { width: 100%; padding: 0.9rem; background: var(--crimson); color: #fff; border: none; font-weight: 800; cursor: pointer; text-transform: uppercase; }
.portal-brand { font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.06em; }

.lang-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lang-pair .ur-field { direction: rtl; font-family: var(--font-urdu); }
.admin-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1rem; }
.btn-draft { background: var(--navy); color: #fff; border: none; padding: 0.65rem 1.25rem; border-radius: 4px; font-weight: 700; cursor: pointer; }
.btn-preview { background: #fff; color: var(--navy); border: 1px solid var(--navy); padding: 0.65rem 1.25rem; border-radius: 4px; font-weight: 700; cursor: pointer; }
.trend-chip { display: inline-block; background: var(--navy); color: var(--gold); padding: 0.25rem 0.7rem; border-radius: 999px; margin: 0.2rem; font-size: 0.78rem; }
.x-pending-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.learn-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--gold); padding: 1.1rem; border-radius: 4px; }
.learn-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.learn-meta { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.news-preview-form { background: var(--page); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 4px; padding: 1rem; }
.np-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.np-title { font-family: var(--font-serif); font-size: 1.15rem; margin: 0.5rem 0; line-height: 1.3; }
.np-body { font-size: 0.88rem; line-height: 1.6; }
.np-credit { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }

@media (max-width: 1280px) {
  .container { max-width: 100%; }
}
@media (max-width: 960px) {
  .hero-grid, .hot-grid, .more-grid, .category-strip-grid, .article-bilingual, .lang-pair, .x-pending-grid { grid-template-columns: 1fr; }
  .category-wire { grid-template-columns: 1fr 1fr; }
  .category-wire-lead { grid-column: 1 / -1; }
  .category-wire-list { grid-column: 1 / -1; }
  .category-wire-pairs { grid-template-columns: 1fr 1fr; }
  .more-item a { grid-template-columns: 1fr; }
  .hero-caption h1 { font-size: 1.45rem; }
  .article-bilingual .article-copy + .article-copy { border-left: none; border-top: 1px solid var(--gold); padding-top: 1rem; }
}
@media (max-width: 768px) {
  .hero-zone { --hero-h: auto; }
  .category-wire { grid-template-columns: 1fr; }
  .category-wire-lead { grid-column: auto; }
  .category-wire-list { grid-column: auto; }
  .category-wire-pairs { grid-template-columns: 1fr; }
  .hero-grid { gap: 1rem; }
  .hero-feature {
    height: auto; min-height: 0;
    display: block;
  }
  .hero-feature a {
    display: flex; flex-direction: column; height: auto; color: inherit;
  }
  .hero-photo {
    position: relative; height: 220px; min-height: 220px; flex-shrink: 0;
  }
  .hero-photo img, .hero-photo .img-placeholder {
    height: 220px; min-height: 220px; width: 100%; object-fit: cover;
  }
  .hero-shade { display: none; }
  .hero-caption {
    position: static;
    padding: 0.95rem 1rem 1.05rem;
    background: var(--card);
    color: var(--text);
    border-top: 1px solid var(--gold);
  }
  .hero-caption h1 {
    font-size: 1.2rem; line-height: 1.3; color: var(--text); margin-bottom: 0.4rem;
  }
  body.urdu-font .hero-caption h1,
  body.rtl .hero-caption h1 {
    line-height: 2.1;
    margin-bottom: 0.65rem;
  }
  .hero-caption p {
    font-size: 0.88rem; color: var(--muted); opacity: 1; max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 0.45rem;
  }
  .hero-desk { color: var(--crimson); margin-bottom: 0.4rem; }
  .hero-caption footer { opacity: 1; color: var(--muted); }
  .hero-feature .badge-breaking { top: 0.65rem; left: 0.65rem; }
  body.rtl .hero-feature .badge-breaking { right: 0.65rem; left: auto; }
  .hero-sidebar { height: auto; }
  .widget-headlines { height: auto; }
  .headlines-scroll-viewport { max-height: 280px; }
  .article-header h1 { font-size: 1.65rem; }
  .hot-grid { grid-template-columns: 1fr 1fr; }
  .category-strip-grid { grid-template-columns: 1fr 1fr; }
  .more-list--dense { grid-template-columns: 1fr; }
}
@media (max-width: 375px), (max-width: 640px) {
  .masthead-inner { flex-direction: column; align-items: stretch; }
  .masthead-aside { align-items: stretch; margin: 0; width: 100%; }
  .masthead-tools { justify-content: space-between; width: 100%; }
  .masthead-search { flex: 1; }
  .masthead-search input { width: 100%; min-width: 0; }
  .hot-grid { grid-template-columns: 1fr; }
  .logo-mark-chip { width: 56px; height: 56px; }
  .logo-text { font-size: 0.95rem; }
  .article-page { padding: 1.15rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-ad-rail { position: static; order: -1; }
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
