:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-alt: #f2ede2;
  --header-bg: rgba(255, 255, 255, 0.97);
  --text: #121620;
  --text-muted: #515866;
  --border: #e3dccb;
  --accent: #c43226;
  --accent-hover: #a1251b;
  --accent-soft: rgba(196, 50, 38, 0.1);
  --indigo: #1b365d;
  --gold: #b45309;
  --shadow: 0 12px 32px rgba(18, 22, 32, 0.06);
  --shadow-sm: 0 4px 14px rgba(18, 22, 32, 0.05);
  --radius: 14px;
  --article-size: 16.5px;
  --font-sans: 'Inter', 'Noto Sans Devanagari', 'Nirmala UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', 'Noto Sans Devanagari', Georgia, serif;
  --font-hi: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', system-ui, sans-serif;
}

html[data-theme='dark'] {
  --bg: #0c1017;
  --surface: #141a24;
  --surface-alt: #1b2330;
  --header-bg: rgba(20, 26, 36, 0.97);
  --text: #f3f0e8;
  --text-muted: #a6b0c0;
  --border: #263042;
  --accent: #ef5b4e;
  --accent-hover: #ff7165;
  --accent-soft: rgba(239, 91, 78, 0.16);
  --indigo: #93c5fd;
  --gold: #f6c453;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.25);
}

html[data-font-scale='sm'] {
  --article-size: 15px;
}

html[data-font-scale='lg'] {
  --article-size: 18.5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

.devanagari {
  font-family: var(--font-hi);
  line-height: 1.78;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html[data-lang-mode='hi'] .lang-en {
  display: none !important;
}

html[data-lang-mode='en'] .lang-hi {
  display: none !important;
}

html[data-lang-mode='both'] .date-meta .lang-en::after,
html[data-lang-mode='both'] .brand-sub .lang-en::after,
html[data-lang-mode='both'] .header-nav .lang-en::after,
html[data-lang-mode='both'] .primary-btn .lang-en::after,
html[data-lang-mode='both'] .secondary-btn .lang-en::after,
html[data-lang-mode='both'] .filter-pill .lang-en::after,
html[data-lang-mode='both'] .hero-img-caption .lang-en::after,
html[data-lang-mode='both'] .media-badge .lang-en::after,
html[data-lang-mode='both'] .cat-badge .lang-en::after {
  content: ' · ';
  opacity: 0.75;
}

.dateline-sep {
  opacity: 0.45;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 120;
  transition: width 80ms linear;
}

/* Top Dateline Strip */
.top-dateline {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

.dateline-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.dateline-left,
.dateline-right {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.dateline-desk {
  font-weight: 600;
  color: var(--text);
}

.dateline-right a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Sticky Masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.78rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.24rem;
}

.brand-sep {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lang-switcher {
  display: inline-flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn,
.icon-btn,
.font-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 0.36rem 0.72rem;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 150ms ease, color 150ms ease;
}

.lang-btn.is-active,
.font-btn.is-active {
  background: var(--accent);
  color: #ffffff;
}

.icon-btn {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
}

html[data-theme='light'] .theme-label-dark,
html[data-theme='dark'] .theme-label-light {
  display: none;
}

/* Ticker */
.ticker-bar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ticker-label {
  flex-shrink: 0;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--accent);
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  font-size: 0.84rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.ticker-track::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--text);
  text-decoration: none;
}

.ticker-item:hover {
  color: var(--accent);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ticker-cat {
  font-weight: 700;
  color: var(--indigo);
}

/* Hero Section */
.hero-section {
  padding: 1.75rem 0 1.35rem;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 1.85rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.lead-badge {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
}

.cat-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  padding: 0.2rem 0.56rem;
  border-radius: 6px;
}

.edition-tag {
  font-weight: 600;
  color: var(--text-muted);
}

.hero-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.42rem, 2.3vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-title-hi {
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  line-height: 1.44;
  color: var(--indigo);
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.9rem;
}

.hero-summaries {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.micro-pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.08rem 0.4rem;
  border-radius: 5px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
  margin-right: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.15rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 0.92rem;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
}

.primary-btn:hover {
  background: var(--accent-hover);
}

.secondary-btn {
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary-btn:hover {
  border-color: var(--accent);
}

.reading-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-media-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
}

.hero-media-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-img-caption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.article-header .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.4rem;
}

.stat-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Controls & Filters */
.controls-section {
  padding: 0.65rem 0 1.15rem;
}

.controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.filter-pill {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.36rem 0.62rem;
  min-height: 38px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  gap: 0.24rem;
  align-items: center;
}

.filter-pill.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.search-wrap input {
  width: min(210px, 100%);
  min-width: 175px;
  min-height: 38px;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
}

/* Radar Grid */
.radar-section {
  padding: 0.4rem 0 2.1rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.42rem;
}

.section-count {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.radar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.radar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.radar-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.radar-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 280ms ease;
}

.radar-card:hover .radar-media img {
  transform: scale(1.03);
}

.media-badge,
.signal-pill {
  position: absolute;
  top: 0.75rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.media-badge {
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.82);
}

.signal-pill {
  right: 0.75rem;
  background: rgba(196, 50, 38, 0.9);
}

.radar-body {
  padding: 1.2rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.radar-title {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.38;
}

.radar-title-hi {
  font-size: 1.02rem;
  color: var(--indigo);
  margin-bottom: 0.65rem;
}

.radar-title a {
  color: inherit;
  text-decoration: none;
}

.radar-title a:hover {
  color: var(--accent);
}

.radar-excerpt {
  margin: 0 0 0.55rem;
  font-size: 0.89rem;
  color: var(--text-muted);
}

.radar-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.source-tag {
  color: var(--text-muted);
  font-weight: 600;
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.empty-state {
  padding: 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* Briefing + AI Newsroom */
.editions-section {
  padding: 0.4rem 0 3.2rem;
}

.editions-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1.35rem;
  align-items: start;
}

.briefing-card,
.newsroom-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.briefing-card h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
}

.briefing-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

html[data-lang-mode='hi'] .briefing-cols,
html[data-lang-mode='en'] .briefing-cols {
  grid-template-columns: 1fr;
}

.brief-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.brief-list li {
  margin-bottom: 0.55rem;
}

.briefing-sources {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.1rem;
}

.sources-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.source-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.newsroom-panel {
  background: var(--surface-alt);
}

.panel-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.newsroom-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
}

.newsroom-panel p {
  margin: 0 0 0.7rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.newsroom-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.newsroom-stats dt {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.newsroom-stats dd {
  margin: 0.12rem 0 0;
  font-weight: 700;
  font-size: 0.94rem;
}

.panel-feeds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.panel-feeds a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.34rem 0.68rem;
  border-radius: 8px;
  text-decoration: none;
}

/* Article Page */
.article-page {
  padding: 1.5rem 0 3.5rem;
}

.article-container {
  max-width: 1060px;
}

.breadcrumb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.article-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.18;
}

.article-title-hi {
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  line-height: 1.44;
  color: var(--indigo);
  padding-left: 0.85rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 0.95rem;
}

.article-subtitle {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.byline-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0.65rem 0 0.25rem;
}

.byline-bar a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

.share-wa {
  background: #16803d;
}

.share-tg {
  background: #0369a1;
}

.share-x {
  background: #18181b;
}

.snapshot-box,
.qa-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.75rem;
}

.snapshot-box h3,
.qa-box h3 {
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--surface-alt);
}

.qa-item {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border);
}

.qa-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.qa-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--indigo);
}

.qa-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 1.35rem;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.font-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 3px 6px;
  border-radius: 999px;
}

.font-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-inline: 0.35rem;
}

.copy-status {
  font-size: 0.83rem;
  color: var(--accent);
  font-weight: 600;
}

.article-cover {
  margin: 0 0 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.toc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

.toc-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.toc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.toc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
}

.toc-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.takeaways-box,
.sources-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.75rem;
}

.takeaways-box h3,
.sources-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.takeaways-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.takeaways-box li {
  margin-bottom: 0.45rem;
}

.section-figure {
  margin: 0 0 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.section-figure img {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: cover;
}

.section-figure figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bilingual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  font-size: var(--article-size);
}

html[data-lang-mode='both'] .article-section .bilingual-grid > .lang-col:first-child {
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
}

html[data-lang-mode='hi'] .bilingual-grid,
html[data-lang-mode='en'] .bilingual-grid {
  grid-template-columns: 1fr;
  max-width: 72ch;
}

.article-section {
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--border);
}

.col-pill {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.16rem 0.5rem;
  border-radius: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.article-section h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.35;
}

.article-section p {
  margin: 0 0 0.9rem;
}

.sources-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.sources-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
}

.sources-list a:hover {
  border-color: var(--accent);
}

.source-url {
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.tags-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}

.tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.65rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.footer-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}

.footer-links a {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-card,
  .editions-layout,
  .radar-grid,
  .bilingual-grid,
  .briefing-cols,
  .sources-list {
    grid-template-columns: 1fr;
  }

  .article-header .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-lang-mode='both'] .article-section .bilingual-grid > .lang-col:first-child {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border);
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .hero-card,
  .briefing-card,
  .newsroom-panel,
  .snapshot-box,
  .qa-box {
    padding: 1.05rem;
  }

  .search-wrap,
  .search-wrap input {
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .data-table tr:last-child {
    border-bottom: 0;
  }

  .data-table td {
    border: 0;
    padding: 0.18rem 0;
  }
}

@media print {
  .top-dateline,
  .site-header,
  .article-toolbar,
  .toc-bar,
  .article-bottom-nav,
  .site-footer,
  .reading-progress {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}
