:root {
  color-scheme: light;
  --brand-red: #d32f2f;
  --brand-red-dark: #a81c1c;
  --brand-gold: #f59e0b;

  /* Editorial Ink & Paper */
  --ink-900: #141414;
  --ink-800: #222222;
  --ink-600: #4b5563;
  --ink-400: #52525b;
  --paper: #ffffff;
  --bg-page: #f5f5f3;
  --surface-muted: #efefec;
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  /* Persistent Chrome (Top Bar & Footer) — stays dark in both themes */
  --chrome-bg: #141414;
  --chrome-bg-elevated: #262626;
  --chrome-ink: #f4f4f5;
  --chrome-muted: #a1a1aa;
  --chrome-border: #3f3f46;
  --chrome-divider: #27272a;

  /* Masthead Panoramic Blend */
  --masthead-bg: #ffffff;
  --masthead-fade: rgba(255, 255, 255, 0.96);
  --masthead-fade-mid: rgba(255, 255, 255, 0.58);
  --masthead-fade-transparent: rgba(255, 255, 255, 0);
  --masthead-scrim: rgba(15, 15, 18, 0.68);

  /* Semantic Pills & Announcement Badges */
  --pill-red-bg: #fef2f2;
  --pill-red-ink: #b91c1c;
  --pill-red-border: #fecaca;
  --pill-green-bg: #dcfce7;
  --pill-green-ink: #166534;
  --pill-green-border: #bbf7d0;
  --pill-amber-bg: #fef3c7;
  --pill-amber-ink: #92400e;
  --pill-amber-border: #fde68a;
  --pill-blue-bg: #eff6ff;
  --pill-blue-ink: #1d4ed8;
  --pill-blue-border: #bfdbfe;
  --pill-purple-bg: #f5f3ff;
  --pill-purple-ink: #6d28d9;
  --pill-purple-border: #ddd6fe;
  --pill-slate-bg: #f1f5f9;
  --pill-slate-ink: #334155;
  --pill-slate-border: #cbd5e1;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max-width: 1240px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink-900: #f4f4f5;
  --ink-800: #e4e4e7;
  --ink-600: #d4d4d8;
  --ink-400: #a1a1aa;
  --paper: #18181b;
  --bg-page: #09090b;
  --surface-muted: #202024;
  --border: #27272a;
  --border-strong: #3f3f46;

  --chrome-bg: #111114;
  --chrome-bg-elevated: #222227;
  --chrome-ink: #f4f4f5;
  --chrome-muted: #a1a1aa;
  --chrome-border: #3f3f46;
  --chrome-divider: #27272a;

  --masthead-bg: #18181b;
  --masthead-fade: rgba(24, 24, 27, 0.96);
  --masthead-fade-mid: rgba(24, 24, 27, 0.64);
  --masthead-fade-transparent: rgba(24, 24, 27, 0);
  --masthead-scrim: rgba(9, 9, 11, 0.72);

  --pill-red-bg: rgba(211, 47, 47, 0.22);
  --pill-red-ink: #fca5a5;
  --pill-red-border: rgba(211, 47, 47, 0.45);
  --pill-green-bg: rgba(22, 101, 52, 0.35);
  --pill-green-ink: #86efac;
  --pill-green-border: rgba(34, 197, 94, 0.38);
  --pill-amber-bg: rgba(245, 158, 11, 0.2);
  --pill-amber-ink: #fcd34d;
  --pill-amber-border: rgba(245, 158, 11, 0.4);
  --pill-blue-bg: rgba(37, 99, 235, 0.22);
  --pill-blue-ink: #93c5fd;
  --pill-blue-border: rgba(59, 130, 246, 0.4);
  --pill-purple-bg: rgba(124, 58, 237, 0.22);
  --pill-purple-ink: #c4b5fd;
  --pill-purple-border: rgba(139, 92, 246, 0.4);
  --pill-slate-bg: rgba(100, 116, 139, 0.24);
  --pill-slate-ink: #cbd5e1;
  --pill-slate-border: rgba(148, 163, 184, 0.35);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Gujarati", "Noto Sans Devanagari", "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 3-Language Typography Priority (GU / HI / EN) */
:lang(gu),
:lang(gu) body {
  font-family: "Noto Sans Gujarati", "Noto Sans Devanagari", "Inter", system-ui, -apple-system, sans-serif;
}

:lang(hi),
:lang(hi) body {
  font-family: "Noto Sans Devanagari", "Noto Sans Gujarati", "Inter", system-ui, -apple-system, sans-serif;
}

:lang(en),
:lang(en) body {
  font-family: "Inter", "Noto Sans Gujarati", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}

:lang(gu) .ticker-label,
:lang(hi) .ticker-label,
:lang(gu) .masthead-panorama-caption,
:lang(hi) .masthead-panorama-caption {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Utility Bar */
.top-bar {
  background: var(--chrome-bg);
  color: var(--chrome-ink);
  font-size: 0.82rem;
  border-bottom: 2px solid var(--brand-red);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.edition-badge {
  background: rgba(211, 47, 47, 0.22);
  color: #fca5a5;
  border: 1px solid rgba(211, 47, 47, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

.top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.state-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--chrome-ink);
}

.state-select-wrap select {
  background: var(--chrome-bg-elevated);
  color: var(--chrome-ink);
  border: 1px solid var(--chrome-border);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--chrome-bg-elevated);
  border: 1px solid var(--chrome-border);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--chrome-muted);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--brand-red);
  color: #ffffff;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-socials a {
  color: var(--chrome-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.15s;
}

.top-socials a:hover {
  color: #ffffff;
}

/* Cohesive Editorial Masthead Banner */
.masthead {
  background: var(--masthead-bg);
  border-bottom: 1px solid var(--border);
}

.masthead-inner {
  display: grid;
  grid-template-columns: minmax(340px, 440px) 1fr;
  align-items: stretch;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.masthead-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-family: "Noto Serif", "Noto Sans Gujarati", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
}

.brand-text h1 span {
  color: var(--brand-red);
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--ink-600);
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.4;
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Unified Panoramic Visual Strip */
.masthead-panoramic {
  position: relative;
  min-height: 124px;
  max-height: 152px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--masthead-bg);
}

.masthead-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.masthead-panorama-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--masthead-bg) 0%, var(--masthead-fade-mid) 5%, var(--masthead-fade-transparent) 14%),
    linear-gradient(180deg, transparent 56%, var(--masthead-scrim) 100%);
}

.masthead-panorama-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88);
}

.caption-dot {
  opacity: 0.8;
}

/* Backward-compatible legacy masthead fallback (until M3 updates index.html) */
.header-landmarks {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landmark-card {
  position: relative;
  width: 142px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.landmark-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landmark-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 8px 6px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masthead-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-800);
  white-space: nowrap;
}

.theme-btn {
  background: var(--chrome-bg-elevated);
  border: 1px solid var(--chrome-border);
  color: var(--chrome-ink);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.85rem;
  line-height: 1;
}

.theme-btn:hover {
  border-color: var(--brand-red);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px 10px;
  flex: 1 1 180px;
  min-width: 0;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: 0.9rem;
  color: var(--ink-900);
  padding: 4px 6px;
  font-family: inherit;
}

.search-clear {
  background: none;
  border: none;
  color: var(--ink-400);
  font-size: 1rem;
  display: none;
}

.search-clear.visible {
  display: inline-block;
}

/* Sticky Category Navbar */
.nav-bar {
  background: var(--paper);
  border-bottom: 2px solid var(--ink-900);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  background: transparent;
  border: none;
  padding: 7px 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-800);
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-btn:hover {
  background: var(--bg-page);
  color: var(--brand-red);
}

.nav-btn.active {
  background: var(--brand-red);
  color: #ffffff;
}

/* Breaking News Ticker */
.ticker-wrap {
  background: #fff5f5;
  border-bottom: 1px solid #fecaca;
}

[data-theme="dark"] .ticker-wrap {
  background: #1c1010;
  border-bottom-color: #7f1d1d;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: hidden;
}

.ticker-label {
  background: var(--brand-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ticker-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  flex: 1;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}

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

.ticker-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-800);
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.ticker-item:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 24px 0 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink-900);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.38;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 20px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-count-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-600);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.hero-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.hero-banner {
  background: linear-gradient(135deg, #1f1f1f 0%, #3a1212 55%, #b71c1c 100%);
  color: #ffffff;
  padding: 32px 28px;
  position: relative;
  min-height: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-badge {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
  text-transform: uppercase;
}

.hero-banner h2 {
  font-size: 1.65rem;
  line-height: 1.38;
  font-weight: 800;
}

.hero-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

.hero-summary {
  color: var(--ink-600);
  font-size: 0.98rem;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-400);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.read-more {
  color: var(--brand-red);
  font-weight: 700;
}

/* Latest Sidebar */
.latest-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
}

.latest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.latest-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.latest-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-item-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
}

.latest-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.42;
  margin: 3px 0;
  color: var(--ink-900);
}

.latest-item:hover h3 {
  color: var(--brand-red);
}

.latest-item-time {
  font-size: 0.76rem;
  color: var(--ink-400);
}

/* Shorts Strip */
.shorts-section {
  margin-bottom: 36px;
}

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

.short-card {
  background: linear-gradient(165deg, #1b1b1b 0%, #2d1414 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 18px;
  min-height: 200px;
  min-width: 0;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #333;
  cursor: pointer;
  transition: transform 0.18s;
}

.short-card:hover {
  transform: translateY(-3px);
}

.short-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(211, 47, 47, 0.9);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.short-card h3 {
  font-size: 1rem;
  line-height: 1.42;
  margin: 12px 0;
}

.short-footer {
  font-size: 0.78rem;
  color: #d4d4d8;
  display: flex;
  justify-content: space-between;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.news-cat-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pill-red-ink);
  background: var(--pill-red-bg);
  border: 1px solid var(--pill-red-border);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.news-card h3 {
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--ink-900);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--ink-600);
  flex: 1;
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  color: var(--ink-600);
}

.section-sub {
  font-size: 0.84rem;
  color: var(--ink-600);
  margin-top: 3px;
}

.pill-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.state-focus-section,
.split-news-section,
.history-section,
.portals-section,
.verticals-section,
.corporate-section {
  margin-bottom: 36px;
}

.state-header,
.archive-header,
.verticals-header,
.corporate-header {
  flex-wrap: wrap;
  gap: 12px;
}

.date-filter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-800);
}

.date-filter-wrap select {
  background: var(--paper);
  color: var(--ink-900);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.news-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.split-news-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* 23 Business & Industry Verticals */
.verticals-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.vertical-chip {
  background: var(--paper);
  border: 1px solid var(--border-strong);
  color: var(--ink-800);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.vertical-chip:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.vertical-chip.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

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

.vertical-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.vertical-sector-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pill-red-ink);
  background: var(--pill-red-bg);
  border: 1px solid var(--pill-red-border);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.vertical-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--ink-900);
}

.vertical-card p {
  font-size: 0.88rem;
  color: var(--ink-600);
  flex: 1;
}

/* Corporate, AGM & IPO Announcements */
.corporate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.corporate-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid #1d4ed8;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.corp-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.corp-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  width: fit-content;
}

.corp-badge--agm {
  background: var(--pill-amber-bg);
  color: var(--pill-amber-ink);
  border-color: var(--pill-amber-border);
}

.corp-badge--ipo {
  background: var(--pill-green-bg);
  color: var(--pill-green-ink);
  border-color: var(--pill-green-border);
}

.corp-badge--board {
  background: var(--pill-purple-bg);
  color: var(--pill-purple-ink);
  border-color: var(--pill-purple-border);
}

.corp-badge--press {
  background: var(--pill-blue-bg);
  color: var(--pill-blue-ink);
  border-color: var(--pill-blue-border);
}

.corp-badge--regulatory {
  background: var(--pill-slate-bg);
  color: var(--pill-slate-ink);
  border-color: var(--pill-slate-border);
}

.pdf-chip {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--pill-red-bg);
  color: var(--pill-red-ink);
  border: 1px solid var(--pill-red-border);
}

.corporate-card h3 {
  font-size: 0.99rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--ink-900);
}

.corporate-card p {
  font-size: 0.87rem;
  color: var(--ink-600);
  flex: 1;
}

.corp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-400);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Today in History */
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.history-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.history-year {
  display: inline-block;
  background: var(--pill-amber-bg);
  color: var(--pill-amber-ink);
  border: 1px solid var(--pill-amber-border);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.history-card p {
  font-size: 0.9rem;
  color: var(--ink-800);
  flex: 1;
}

/* Govt Portals */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.portal-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, border-color 0.16s;
}

.portal-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-red);
}

.portal-type {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-red);
}

.portal-card h3 {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-900);
}

.portal-card p {
  font-size: 0.82rem;
  color: var(--ink-600);
}

/* Central & Official Govt Section */
.govt-section {
  margin-bottom: 36px;
}

.govt-header {
  flex-wrap: wrap;
  gap: 12px;
}

.govt-subtitle {
  font-size: 0.84rem;
  color: var(--ink-600);
  margin-top: 4px;
}

.govt-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--paper);
  border: 1px solid var(--border-strong);
  color: var(--ink-800);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-pill:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.filter-pill.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

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

.govt-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}

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

.govt-source-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pill-green-ink);
  background: var(--pill-green-bg);
  border: 1px solid var(--pill-green-border);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.govt-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--ink-900);
}

.govt-card p {
  font-size: 0.86rem;
  color: var(--ink-600);
  flex: 1;
}

/* Modal Share */
.modal-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
}

.share-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-900);
}

.share-wa {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

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

[data-theme="dark"] .share-x {
  background: #27272a;
  border-color: #52525b;
  color: #f4f4f5;
}

/* About & Contact Strip */
.info-strip {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.info-strip h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-strip p {
  color: var(--ink-600);
  font-size: 0.93rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-800);
}

/* In-Portal Article & PDF Reader Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--paper);
  color: var(--ink-900);
  border: 1px solid var(--border);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-page);
  color: var(--ink-900);
  border: 1px solid var(--border-strong);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.modal-close:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-right: 44px;
}

.modal-attribution {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--pill-slate-bg);
  color: var(--pill-slate-ink);
  border: 1px solid var(--pill-slate-border);
}

.modal-card h2 {
  font-size: 1.45rem;
  line-height: 1.4;
  padding-right: 44px;
  margin: 10px 0 12px;
  color: var(--ink-900);
}

.modal-meta {
  font-size: 0.84rem;
  color: var(--ink-400);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.modal-content {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ink-800);
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-content h3,
.modal-content h4 {
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.42;
  margin-top: 6px;
}

.modal-content ul,
.modal-content ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-content a {
  color: var(--brand-red);
  text-decoration: underline;
}

.modal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}

.modal-content th,
.modal-content td {
  border: 1px solid var(--border-strong);
  padding: 8px 10px;
  text-align: left;
}

.modal-content th {
  background: var(--surface-muted);
  color: var(--ink-900);
}

.modal-pdf-wrap {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-page);
}

.modal-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-800);
}

.modal-pdf-fallback {
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: none;
}

.modal-pdf-fallback:hover {
  text-decoration: underline;
}

.modal-pdf-frame {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  border: 0;
  display: block;
  background: #ffffff;
}

.modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 16px;
  color: var(--ink-600);
  font-weight: 600;
}

.modal-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-error {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--pill-red-bg);
  border: 1px solid var(--pill-red-border);
  color: var(--pill-red-ink);
  font-size: 0.94rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--chrome-bg);
  color: var(--chrome-muted);
  padding: 36px 0 24px;
  border-top: 3px solid var(--brand-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.footer-title {
  color: var(--chrome-ink);
  font-weight: 800;
  font-size: 1.05rem;
}

footer h4 {
  color: var(--chrome-ink);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.google-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  background: var(--chrome-divider);
  border: 1px solid var(--chrome-border);
  border-radius: 6px;
  color: var(--chrome-ink);
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.google-profile-link:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--chrome-divider);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--chrome-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .masthead-panoramic {
    height: 112px;
    min-height: 112px;
  }
  .masthead-panorama-fade {
    background:
      linear-gradient(180deg, var(--masthead-fade-transparent) 45%, var(--masthead-scrim) 100%);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .shorts-grid,
  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid,
  .govt-grid,
  .history-grid,
  .verticals-grid,
  .corporate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shorts-grid,
  .news-grid,
  .news-grid.two-col,
  .govt-grid,
  .history-grid,
  .portals-grid,
  .verticals-grid,
  .corporate-grid {
    grid-template-columns: 1fr;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-text h1 {
    font-size: 1.45rem;
  }
  .masthead-panoramic {
    height: 88px;
    min-height: 88px;
  }
  .masthead-panorama-caption {
    font-size: 0.66rem;
    justify-content: center;
  }
  .masthead-tools {
    width: 100%;
  }
  .search-box {
    width: 100%;
    min-width: 0;
  }
  .verticals-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .verticals-chips::-webkit-scrollbar {
    display: none;
  }
  .hero-banner h2 {
    font-size: 1.3rem;
  }
  .modal-card {
    padding: 20px 16px;
    max-height: 92vh;
  }
  .modal-pdf-frame {
    height: 52vh;
    min-height: 320px;
  }
}

#modal-close,
.modal-close {
  color: var(--ink-900);
  background: var(--bg-page);
  border-color: var(--border-strong);
}

.verticals-section {
  margin-bottom: 36px;
}

.verticals-pills {
  margin-bottom: 16px;
}
