* { 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: 1.5rem 0 3rem; }

/* ── Hero + headlines sidebar ── */
.hero-zone { margin-bottom: 2rem; --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: calc((var(--hero-h) - 3.2rem) / var(--headline-visible));
  display: flex;
  align-items: flex-start;
  padding-top: 0.35rem;
  padding-bottom: 0.55rem;
}
.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 (Geo-style sections) ── */
.category-strip { margin-bottom: 2rem; }
.category-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.category-strip-head .section-head { margin-bottom: 0; border-bottom: none; padding-bottom: 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-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.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.headlines-ol li::before { content: counter(hl); color: var(--crimson); 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:hover { color: var(--crimson); }
.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;
}

/* ── Article ── */
.article-page {
  background: var(--card); border-radius: 4px; padding: 2rem;
  max-width: 780px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.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; }

/* ── 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; }
.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; }

/* ── 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; }
  .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; }
  .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; }
}

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