/* ==========================================================================
   News Today Chhattisgarh — Hindi News Portal
   Palette: brand red · black · white/grey
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --navy: #E50000;
  --navy-deep: #B80000;
  --navy-soft: #FF1A1A;
  --blue: #E50000;
  --blue-soft: #FF1A1A;
  --green: #2F9E1A;
  --green-soft: #36A100;
  --green-tint: #EAF7E6;
  --accent-red: #E50000;
  --accent-yellow: #F8E81C;
  --accent-pink: #D84589;
  --grey: #F4F4F4;
  --grey-mid: #E4E4E4;
  --grey-dark: #666666;
  --text: #0A0A0A;
  --text-muted: #1F2937;
  --white: #FFFFFF;
  --breaking: #E60000;
  --positive: #2F9E1A;
  --warning: #B45309;
  --shadow-sm: 0 1px 2px rgba(229, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(229, 0, 0, 0.08);
  --shadow-lg: 0 12px 36px rgba(229, 0, 0, 0.12);
  --radius: 4px;
  --radius-lg: 6px;
  --font-display: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-body: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  --nav-h: 48px;
  --topbar-h: 36px;
  --bottom-nav-h: 60px;
  --transition: 0.22s ease;
  --focus-ring: 0 0 0 3px rgba(229, 0, 0, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--grey);
  min-height: 100vh;
  font-weight: 500;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
img[loading="lazy"] { background: var(--grey-mid); }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-red); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
iframe { border: 0; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.5rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden { display: none !important; }
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Icon helper ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.2em;
  fill: currentColor;
  flex-shrink: 0;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75em; height: 1.75em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover { background: var(--navy-soft); color: var(--white); }
.btn--accent {
  background: var(--green);
  color: var(--white);
}
.btn--accent:hover { background: var(--green-soft); color: var(--white); }
.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  padding-inline: 0.75rem;
}
.btn--sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.topbar__clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar__weather {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.topbar__city-btn {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius);
}
.topbar__city-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.topbar__social {
  display: flex;
  gap: 0.5rem;
}
.topbar__social a {
  color: rgba(255, 255, 255, 0.75);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.topbar__social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Site Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  position: relative;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo img,
.logo svg {
  height: 48px;
  width: auto;
}
.logo:hover { color: var(--navy); opacity: 0.92; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-search {
  display: flex;
  align-items: center;
  background: var(--grey);
  border-radius: 999px;
  padding: 0.25rem 0.35rem 0.25rem 0.85rem;
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search:focus-within {
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
  background: var(--white);
}
.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 160px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}
.header-search input::placeholder { color: var(--grey-dark); }
.header-search button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.header-search button.header-search__btn,
.header-search .header-search__btn {
  width: auto;
  min-width: auto;
  height: auto;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.35rem;
  background: var(--navy, #1A0000);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.2;
}
.header-search button:hover { background: var(--grey-mid); }
.header-search button.header-search__btn:hover,
.header-search .header-search__btn:hover {
  background: #163156;
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  border-radius: var(--radius);
}
.nav-toggle:hover { background: var(--grey); }

/* ---------- Sticky Navigation ---------- */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
}
.site-nav__inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.site-nav__inner::-webkit-scrollbar { display: none; }
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
}
.site-nav__list a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.site-nav__list a:hover,
.site-nav__list a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: var(--green);
}
.site-nav__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-inline: 0.5rem;
}
.site-nav__cta .btn {
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
}

/* Mobile nav drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 38, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  z-index: 210;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--grey-mid);
}
.mobile-nav__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border-radius: var(--radius);
}
.mobile-nav__list {
  padding: 0.5rem;
  overflow-y: auto;
  flex: 1;
}
.mobile-nav__list a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--navy);
  font-weight: 500;
  border-radius: var(--radius);
}
.mobile-nav__list a:hover,
.mobile-nav__list a.active {
  background: var(--grey);
  color: var(--blue);
}
body.nav-open { overflow: hidden; }

/* ---------- Breaking Ticker ---------- */
.breaking {
  background: var(--grey);
  border-bottom: 1px solid var(--grey-mid);
  display: flex;
  align-items: stretch;
  min-height: 40px;
  overflow: hidden;
}
.breaking__label {
  flex-shrink: 0;
  background: var(--breaking);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breaking__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.breaking__track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.breaking__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
  padding-inline: 1rem;
}
.breaking__track:hover { animation-play-state: paused; }
.breaking__track a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.breaking__track a:hover { color: #F8E81C; }
.breaking__track a + a::before {
  content: '•';
  margin-right: 3rem;
  color: #F8E81C;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero__slides {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 520px;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 21, 38, 0.92) 0%,
    rgba(7, 21, 38, 0.55) 45%,
    rgba(7, 21, 38, 0.2) 100%
  );
  z-index: 2;
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 0 3.5rem;
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  padding-inline: 1rem;
}
.hero__cat {
  display: inline-block;
  align-self: flex-start;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  color: var(--white);
  max-width: 680px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero__title a { color: inherit; }
.hero__title a:hover { color: rgba(255, 255, 255, 0.9); }
.hero__excerpt {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero__controls {
  position: absolute;
  bottom: 1.25rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background var(--transition);
}
.hero__btn:hover { background: rgba(255, 255, 255, 0.3); }
.hero__dots {
  display: flex;
  gap: 0.4rem;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background var(--transition), transform var(--transition);
}
.hero__dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}

/* ---------- Section Headers ---------- */
.section {
  padding: 2.25rem 0;
}
.section--grey { background: var(--grey); }
.section--green-tint { background: var(--green-tint); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
}
.section__title {
  font-size: 1.05rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  border-radius: 4px 4px 0 0;
  transform: translateY(3px);
}
.section__title::before {
  display: none;
}
.section__more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.section__more:hover { color: var(--accent-red); }

/* ---------- Category Shortcuts ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.15rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  color: var(--navy);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.15s;
}
.cat-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--navy);
}
.cat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.cat-card__name {
  font-weight: 600;
  font-size: 0.92rem;
}
.cat-card__count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- News Cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  transition: box-shadow var(--transition), transform 0.15s;
  height: 100%;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-soft);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius);
  z-index: 1;
}
.news-card__badge--positive { background: var(--green); }
.news-card__badge--video {
  background: rgba(11, 31, 58, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.news-card__body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}
.news-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}
.news-card__title a { color: var(--navy); }
.news-card__title a:hover { color: var(--blue); }
.news-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.news-card__meta {
  font-size: 0.78rem;
  color: var(--grey-dark);
  margin-top: auto;
  padding-top: 0.35rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Featured / large card */
.news-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}
.news-card--featured .news-card__media { aspect-ratio: 16 / 11; }
.news-card--featured .news-card__title { font-size: 1.45rem; }
.news-card--horizontal {
  flex-direction: row;
  min-height: 110px;
}
.news-card--horizontal .news-card__media {
  width: 38%;
  aspect-ratio: auto;
  flex-shrink: 0;
}
.news-card--horizontal .news-card__body { padding: 0.75rem; }
.news-card--horizontal .news-card__title { font-size: 0.95rem; }

/* ---------- Layout: Main + Sidebar ---------- */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.widget {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget__title {
  font-size: 1.1rem;
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
}
.widget__body { padding: 0.75rem 1rem 1rem; }

/* Trending numbered list */
.trending-list { counter-reset: trend; }
.trending-list li {
  counter-increment: trend;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grey-mid);
}
.trending-list li:last-child { border-bottom: 0; }
.trending-list li::before {
  content: none;
  display: none;
}
.trending-list a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.4;
}
.trending-list a:hover { color: var(--blue); }
.trending-list .meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

/* ---------- Special Coverage ---------- */
.coverage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}
.coverage__hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--navy);
}
.coverage__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  position: absolute;
  inset: 0;
}
.coverage__hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(transparent 20%, rgba(7, 21, 38, 0.9));
  color: var(--white);
}
.coverage__hero-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.coverage__hero-content h3 a { color: inherit; }
.coverage__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ---------- Photo Stories ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.05); }
.photo-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(7, 21, 38, 0.92));
  color: var(--white);
}
.photo-card__caption h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
}
.photo-card__caption h3 a { color: inherit; }

/* ---------- Video Section ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
}
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-deep);
}
.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
}
.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background var(--transition);
  z-index: 1;
}
.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}
.video-card__body {
  padding: 1rem;
  color: var(--white);
}
.video-card__body h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}
.video-card__body h3 a { color: inherit; }
.video-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.video-stack .video-card__media { aspect-ratio: 16 / 8; }
.video-stack .video-card__play { width: 44px; height: 44px; }
.video-stack .video-card__body h3 { font-size: 0.95rem; }

/* ---------- Positive News ---------- */
.positive-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.positive-banner strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
}
.news-card--positive {
  border-color: rgba(47, 107, 79, 0.25);
}
.news-card--positive:hover {
  border-color: var(--green);
}

/* ---------- Article Page ---------- */
.article-page {
  padding: 2rem 0 3rem;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}
.article-header {
  margin-bottom: 1.5rem;
}
.article-header__cat {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.article-header h1 {
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  line-height: 1.28;
  margin-bottom: 0.75rem;
}
.article-header__dek {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-mid);
}
.article-meta__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
}
.article-meta__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  transition: opacity var(--transition), transform 0.15s;
}
.share-btn:hover { opacity: 0.9; color: var(--white); transform: translateY(-1px); }
.share-btn--whatsapp { background: #128C7E; }
.share-btn--facebook { background: #1877F2; }
.share-btn--x { background: #1A0000; }
.share-btn--telegram { background: #229ED9; }
.share-btn--copy { background: var(--grey-dark); }
.article-featured-img {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey);
}
.article-featured-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.article-featured-img figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.65rem 0.85rem;
  background: var(--grey);
}
.article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2,
.article-body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}
.article-body p { margin-bottom: 1.15rem; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--green);
  background: var(--green-tint);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.15rem 1.25rem;
  list-style: revert;
}
.article-body img {
  margin: 1.25rem auto;
  border-radius: var(--radius);
}
.article-gallery--single {
  margin: 1rem 0 1.25rem;
}
.article-gallery--single .article-gallery__grid {
  grid-template-columns: 1fr;
}
.article-body .article-gallery {
  margin: 1.25rem 0;
}
.article-gallery__title {
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
}
.article-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.article-gallery__item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey);
  aspect-ratio: 4 / 3;
}
.article-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  display: block;
}
.article-pdf {
  margin: 1.25rem 0 1.75rem;
}
.article-pdf__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--navy, #0f2744);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
}
.article-pdf__btn:hover { opacity: 0.92; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 1rem;
}
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--grey);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--grey-mid);
}
.tag:hover { background: var(--green-tint); border-color: var(--green); color: var(--green); }

/* Comments */
.comments {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--navy);
}
.comments__title { font-size: 1.35rem; }
.comment-form {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
  padding: 1.25rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
}
.form-row { display: grid; gap: 0.35rem; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
}
.comment-list { display: flex; flex-direction: column; gap: 1rem; }
.comment-item {
  padding: 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
}
.comment-item__author {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.comment-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ---------- Category & Search Pages ---------- */
.page-hero {
  background: linear-gradient(135deg, #E50000 0%, #B80000 60%, #8F0000 140%);
  color: var(--white);
  padding: 2rem 0 1.75rem;
}
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span[aria-current] { color: #fff; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.35rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--white); }
.search-page-form {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
  margin: 1.5rem auto;
}
.search-page-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.search-results-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.category-filters a {
  padding: 0.4rem 0.9rem;
  background: var(--grey);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.category-filters a:hover,
.category-filters a.active {
  background: var(--navy);
  color: var(--white);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2rem 0 1rem;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding-inline: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.pagination a:hover { background: var(--grey); }
.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.newsletter h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}
.newsletter__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter__form input {
  min-width: 240px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter__form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 79, 0.35);
}
.newsletter__form .btn { background: var(--green); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .logo {
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p { line-height: 1.6; margin-bottom: 1rem; }
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Bottom Mobile Nav ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  z-index: 80;
  box-shadow: 0 -4px 20px rgba(11, 31, 58, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
}
.bottom-nav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}
.bottom-nav__list a.active,
.bottom-nav__list a:hover {
  color: var(--navy);
}
.bottom-nav__list .icon { width: 1.35em; height: 1.35em; }

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 0.85rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: toastIn 0.3s ease;
}
.toast--success { background: var(--green); }
.toast--error { background: var(--breaking); }
.toast--info { background: var(--blue); }
.toast__close {
  margin-left: auto;
  color: inherit;
  opacity: 0.8;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 0.15rem;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Skeletons ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--grey-mid) 25%, var(--grey) 50%, var(--grey-mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius);
}
.skeleton--text { height: 0.9em; margin-bottom: 0.5rem; }
.skeleton--title { height: 1.4em; width: 70%; margin-bottom: 0.75rem; }
.skeleton--media { aspect-ratio: 16 / 10; width: 100%; }
.skeleton--avatar { width: 40px; height: 40px; border-radius: 50%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Empty States ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--grey-mid);
}
.empty-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--grey-dark);
  opacity: 0.5;
}
.empty-state h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto 1.25rem;
}

/* ---------- Push / Geo prompts ---------- */
.permission-banner {
  position: fixed;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  width: min(440px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.25rem;
  display: none;
}
.permission-banner.is-visible { display: block; animation: fadeIn 0.3s ease; }
.permission-banner h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.permission-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.permission-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
body.has-bottom-nav .permission-banner {
  bottom: calc(var(--bottom-nav-h) + 0.75rem + env(safe-area-inset-bottom, 0px));
}

/* ---------- Ads placeholder ---------- */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  background: var(--grey);
  border: 1px dashed var(--grey-mid);
  color: var(--grey-dark);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.25rem 0;
  border-radius: var(--radius);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .news-card--featured { grid-column: span 3; grid-row: auto; }
  .layout-split,
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: grid; }
  .site-nav { display: none; }
  .header-search { display: none; }
  .header-search--mobile {
    display: flex;
    margin: 0.75rem 1rem 1rem;
  }
  .topbar__social { display: none; }
  .hero__slides {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 420px;
  }
  .hero__overlay {
    background: linear-gradient(
      transparent 25%,
      rgba(7, 21, 38, 0.95)
    );
  }
  .hero__content { padding-bottom: 4rem; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: span 1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .newsletter__form { width: 100%; }
  .newsletter__form input { flex: 1; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .bottom-nav { display: block; }
  body.has-bottom-nav { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }
  .toast-stack {
    bottom: calc(var(--bottom-nav-h) + 0.75rem);
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }
  .article-share { justify-content: flex-start; }
  .news-card--horizontal {
    flex-direction: column;
  }
  .news-card--horizontal .news-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .topbar__meta { gap: 0.5rem; }
  .topbar__clock { font-size: 0.72rem; }
  .section { padding: 1.5rem 0; }
  .logo img,
  .logo svg { height: 40px; }
  .share-btn span.label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .breaking__track { animation: none; }
}

/* ---------- Print (article basics) ---------- */
@media print {
  .topbar,
  .site-nav,
  .breaking,
  .site-footer,
  .bottom-nav,
  .article-share,
  .comments,
  .newsletter,
  .sidebar,
  .ad-slot,
  .nav-toggle,
  .permission-banner,
  .toast-stack,
  .hero__controls,
  .hero__dots {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  .article-layout { display: block; }
  .article-header h1 { font-size: 22pt; color: black; }
  .article-body { font-size: 11pt; line-height: 1.6; }
  a { color: black; text-decoration: underline; }
  .article-featured-img { break-inside: avoid; }
  .site-header { border: none; }
  .logo { filter: none; }
}

/* ---------- Dark mode ---------- */
html.theme-dark {
  color-scheme: dark;
  --navy: #FF4D4D;
  --navy-deep: #E50000;
  --navy-soft: #FF6666;
  --blue: #FF4D4D;
  --blue-soft: #FF6666;
  --grey: #0B0F14;
  --grey-mid: #1A222D;
  --grey-dark: #9CA3AF;
  --text: #F3F4F6;
  --text-muted: #CBD5E1;
  --white: #151B23;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --focus-ring: 0 0 0 3px rgba(229, 0, 0, 0.35);
  --hdr-navy: #E50000;
  --hdr-navy-brand: #E50000;
  --hdr-navy-2: #FF3333;
  --hdr-muted: #CBD5E1;
  --hdr-black: #F3F4F6;
  --hdr-tile: #1A222D;
  --hdr-tile-border: #2A3441;
  --hdr-nav-text: #F3F4F6;
  --hdr-pink: #2A1515;
  --hdr-pink-2: #321818;
  --footer-bg: #070A0E;
  --footer-blue: #E50000;
  --footer-blue-soft: #FF4D4D;
}

html.theme-dark body {
  background: #0B0F14 !important;
  color: #E5E7EB !important;
}

html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark p,
html.theme-dark li,
html.theme-dark span,
html.theme-dark label {
  color: inherit;
}

html.theme-dark a { color: #FF6B6B; }
html.theme-dark a:hover { color: #FF8A8A; }

/* Shell / chrome */
html.theme-dark .topbar {
  background: #070A0E !important;
  border-color: #1F2937 !important;
}
html.theme-dark .site-header,
html.theme-dark .main-nav,
html.theme-dark .mobile-drawer,
html.theme-dark .mobile-more-sheet,
html.theme-dark .site-footer,
html.theme-dark .footer-main,
html.theme-dark .footer-bottom {
  background: #111827 !important;
  color: #E5E7EB !important;
  border-color: #1F2937 !important;
}
html.theme-dark .main-nav {
  border-top: 1px solid #1F2937 !important;
  border-bottom: 1px solid #1F2937 !important;
}
html.theme-dark .main-nav__link,
html.theme-dark .main-nav__txt,
html.theme-dark .brand,
html.theme-dark .header-motto,
html.theme-dark .hw-weather,
html.theme-dark .hw-weather__meta,
html.theme-dark .hw-weather strong,
html.theme-dark .hw-weather small {
  color: #F3F4F6 !important;
}
html.theme-dark .main-nav__link:hover,
html.theme-dark .main-nav__link.active {
  color: #fff !important;
}
html.theme-dark .header-search {
  background: #1A222D !important;
  border-color: #374151 !important;
}
html.theme-dark .header-search input {
  background: transparent !important;
  color: #F3F4F6 !important;
}
html.theme-dark .header-search input::placeholder { color: #94A3B8; }
html.theme-dark .hw-notify {
  background: #1A222D !important;
  border-color: #374151 !important;
  color: #F3F4F6 !important;
}

/* Drawers / mobile */
html.theme-dark .mobile-drawer__nav,
html.theme-dark .mobile-drawer__nav a,
html.theme-dark .md-navlink,
html.theme-dark .mobile-more-sheet,
html.theme-dark .mobile-bottom-nav {
  background: #111827 !important;
  color: #F3F4F6 !important;
  border-color: #374151 !important;
}
html.theme-dark .mobile-drawer__nav a.active,
html.theme-dark .md-navlink.active,
html.theme-dark .mbn-item.is-active {
  background: #2A1515 !important;
  color: #fff !important;
}
html.theme-dark .mobile-drawer__lang,
html.theme-dark .mobile-drawer__foot,
html.theme-dark .mdf-card {
  background: #1A222D !important;
  border-color: #374151 !important;
  color: #E5E7EB !important;
}
html.theme-dark .mdf-btn,
html.theme-dark .mdf-card__txt { color: #D1D5DB !important; }
html.theme-dark .mdf-theme.is-on {
  background: #E50000 !important;
  color: #fff !important;
}
html.theme-dark .mh-cat {
  background: #1A222D !important;
  border-color: #374151 !important;
  color: #E5E7EB !important;
}
html.theme-dark .mh-cat.is-active,
html.theme-dark .mh-cat__ico {
  color: #fff !important;
}
html.theme-dark .mh-cat.is-active {
  background: #E50000 !important;
  border-color: #E50000 !important;
}

/* Homepage / cards */
html.theme-dark .ns-home {
  --ns-accent: #E50000;
  --ns-accent-soft: #2A1515;
  --ns-ink: #F3F4F6;
  --ns-muted: #CBD5E1;
  --ns-line: #2A3441;
  --ns-card: #151B23;
  --ns-bg: #0B0F14;
}
html.theme-dark .ns-home,
html.theme-dark .ns-block,
html.theme-dark .ns-aside,
html.theme-dark .ns-aside__cards,
html.theme-dark .ns-card,
html.theme-dark .ns-feat,
html.theme-dark .ns-feat-main,
html.theme-dark .ns-feat-side,
html.theme-dark .ns-widgets,
html.theme-dark .ns-wxcard,
html.theme-dark .ns-cric,
html.theme-dark .news-card,
html.theme-dark .layout-main__sidebar,
html.theme-dark .section,
html.theme-dark .page-hero,
html.theme-dark .portal-top,
html.theme-dark .p-card,
html.theme-dark .p-row,
html.theme-dark .hb-item,
html.theme-dark .trend-card,
html.theme-dark .video-card,
html.theme-dark .positive-item,
html.theme-dark .bv-card,
html.theme-dark .bv-trend,
html.theme-dark .bv-join,
html.theme-dark .bv-about,
html.theme-dark .special-card,
html.theme-dark .contact-form,
html.theme-dark .contact-info,
html.theme-dark .article-card,
html.theme-dark .share-bar,
html.theme-dark .comments,
html.theme-dark .breadcrumb,
html.theme-dark .wx-panel,
html.theme-dark .wx-card,
html.theme-dark .wx-day,
html.theme-dark .wx-hour {
  background: #151B23 !important;
  color: #E5E7EB !important;
  border-color: #2A3441 !important;
}

html.theme-dark .ns-aside__head,
html.theme-dark .ns-block__head,
html.theme-dark .section-head,
html.theme-dark .bv-sec-head,
html.theme-dark .portal-head {
  background: transparent !important;
  color: #F3F4F6 !important;
  border-color: #2A3441 !important;
}

html.theme-dark .ns-card__body h3,
html.theme-dark .ns-card__body h3 a,
html.theme-dark .ns-feat-main h3 a,
html.theme-dark .news-card__body h3,
html.theme-dark .news-card__body h3 a,
html.theme-dark .p-card__body h3 a,
html.theme-dark .p-row__body h3 a,
html.theme-dark .hb-item__body h3 a,
html.theme-dark .bv-card__body h3 a,
html.theme-dark .bv-trend__title,
html.theme-dark .trend-card__meta a,
html.theme-dark .video-card h3 a,
html.theme-dark .positive-item__body h3 a,
html.theme-dark .article-header h1,
html.theme-dark .page-hero h1 {
  color: #F8FAFC !important;
}

html.theme-dark .ns-card__meta,
html.theme-dark .text-muted,
html.theme-dark .ns-aside__head a,
html.theme-dark .section-head a,
html.theme-dark .portal-more-btn {
  color: #CBD5E1 !important;
}

html.theme-dark .portal-more-btn {
  background: #1A222D !important;
  border-color: #374151 !important;
}
html.theme-dark .portal-more-btn:hover {
  background: #E50000 !important;
  color: #fff !important;
}

html.theme-dark .breaking,
html.theme-dark .bv-breaking {
  background: #1A222D !important;
  border-color: #374151 !important;
}
html.theme-dark .breaking__item,
html.theme-dark a.breaking__item,
html.theme-dark .bv-breaking__track a {
  color: #F3F4F6 !important;
}

html.theme-dark .ns-tabs button,
html.theme-dark .ns-tab,
html.theme-dark [data-aside-tab] {
  background: #1A222D !important;
  color: #CBD5E1 !important;
  border-color: #374151 !important;
}
html.theme-dark .ns-tabs .is-active,
html.theme-dark .ns-tab.is-active,
html.theme-dark [data-aside-tab].is-active {
  background: #E50000 !important;
  color: #fff !important;
}

html.theme-dark input,
html.theme-dark textarea,
html.theme-dark select {
  background: #1A222D !important;
  color: #F3F4F6 !important;
  border-color: #374151 !important;
}
html.theme-dark .btn,
html.theme-dark .btn-primary,
html.theme-dark .header-search__btn {
  background: #E50000 !important;
  color: #fff !important;
  border-color: #E50000 !important;
}

html.theme-dark .footer-links a,
html.theme-dark .footer-heading,
html.theme-dark .footer-about,
html.theme-dark .footer-contact-list,
html.theme-dark .footer-bottom p,
html.theme-dark .footer-bottom a {
  color: #D1D5DB !important;
}
html.theme-dark .footer-links a:hover,
html.theme-dark .footer-bottom a:hover {
  color: #fff !important;
}

/* Soft surfaces that stay light pink in light mode */
html.theme-dark .ns-aside__cards > *,
html.theme-dark .ns-aside .ns-card,
html.theme-dark [style*="background:#fff"],
html.theme-dark [style*="background: #fff"],
html.theme-dark [style*="background:#FFF"],
html.theme-dark [style*="background: #FFF"] {
  background-color: #151B23 !important;
}


/* ===== Dark mode: mobile header widgets / category tiles ===== */
html.theme-dark .nav-toggle,
html.theme-dark .site-header .nav-toggle {
  background: #1A222D !important;
  border-color: #374151 !important;
}
html.theme-dark .nav-toggle span {
  background: #FF4D4D !important;
}
html.theme-dark .hw-weather,
html.theme-dark .hw-epaper,
html.theme-dark .hw-notify,
html.theme-dark .hw-account,
html.theme-dark .header-widgets .hw-weather,
html.theme-dark .header-widgets .hw-notify {
  background: #1A222D !important;
  border-color: #374151 !important;
  color: #F3F4F6 !important;
}
html.theme-dark .hw-weather__meta strong,
html.theme-dark .hw-weather__meta small {
  color: #F3F4F6 !important;
}
html.theme-dark .mh-cat {
  background: transparent !important;
  border: 0 !important;
  color: #E5E7EB !important;
}
html.theme-dark .mh-cat__ico {
  background: #1A222D !important;
  border-color: #374151 !important;
  color: #FF4D4D !important;
  box-shadow: none !important;
}
html.theme-dark .mh-cat__name {
  color: #E5E7EB !important;
}
html.theme-dark .mh-cat.is-active .mh-cat__ico {
  background: #E50000 !important;
  border-color: #E50000 !important;
  color: #fff !important;
}
html.theme-dark .mh-cat.is-active .mh-cat__name {
  color: #FF6B6B !important;
}
html.theme-dark .mh-cat__ico img {
  filter: none;
}
html.theme-dark .mh-cat.is-active .mh-cat__ico img {
  filter: brightness(0) invert(1) !important;
}
html.theme-dark .header-motto,
html.theme-dark .header-motto strong {
  color: #F3F4F6 !important;
}
html.theme-dark .mobile-bottom-nav,
html.theme-dark .mbn-item {
  background: #111827 !important;
  color: #CBD5E1 !important;
  border-color: #1F2937 !important;
}
html.theme-dark .mbn-item.is-active {
  color: #E50000 !important;
  background: transparent !important;
}

html.theme-dark .topbar__social a,
html.theme-dark .topbar__social img {
  opacity: 1 !important;
  filter: brightness(0) invert(1) !important;
}
html.theme-dark .topbar__links a,
html.theme-dark .topbar__item,
html.theme-dark .topbar__meta {
  color: rgba(255,255,255,0.92) !important;
}
