/* ==========================================================================
   Live Samwad — जनता की आवाज़, जनता के साथ
   Theme stylesheet (static prototype → WordPress theme)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (sampled from logo) */
  --red: #D7141A;
  --red-d: #B00F14;
  --navy: #0E3A78;
  --navy-d: #0A2A57;
  --orange: #F26A0F;
  --amber: #F7A600;
  --teal: #0B84B8;
  --up: #12805C;
  --wa: #25D366;

  /* Surfaces & text */
  --bg: #F3F4F7;
  --surface: #FFFFFF;
  --surface-2: #F0F2F6;
  --text: #141821;
  --muted: #5B6474;
  --line: #E2E5EB;
  --ink: var(--navy);            /* heading accent colour */
  --accent: var(--red);          /* per-section accent */
  --ad-bg: #EEF0F4;
  --ad-stripe: #E4E7EC;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .07);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1280px;
  --gutter: 16px;
  --nav-h: 56px;

  --font: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Martel", "Noto Serif Devanagari", Georgia, serif;
}

[data-theme="dark"] {
  --bg: #0C1016;
  --surface: #151A22;
  --surface-2: #1D2430;
  --text: #E7EBF1;
  --muted: #9AA4B3;
  --line: #29303C;
  --ink: #8EB4FF;
  --ad-bg: #1A202A;
  --ad-stripe: #212835;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --up: #3DD68C;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { margin-block: 28px; }
.surface { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }

/* Brand stripe — echo of the logo's arrow band */
.brand-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--orange) 0 34%, var(--amber) 34% 72%, var(--teal) 72% 100%);
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-d); color: #D9E3F5; font-size: 14px; }
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar-date { display: flex; align-items: center; gap: 6px; }
.topbar-weather { display: flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.topbar-links { display: flex; gap: 16px; margin-left: auto; }

/* Reader location: top-bar chip + panel, one-time banner */
.loc-chip-wrap { position: relative; }
.loc-chip {
  display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 1px 10px;
}
.loc-chip:hover, .loc-chip[aria-expanded="true"] { background: rgba(255,255,255,.2); }
.loc-chip .i:last-child { font-size: 12px; opacity: .8; }
.loc-panel {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; width: 280px; display: grid; gap: 12px; padding: 14px;
  background: var(--surface); color: var(--text); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
}
.loc-panel[hidden] { display: none; }
.loc-panel small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.loc-panel select { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; }
.loc-panel .btn { justify-content: center; }
.loc-status { margin: 0; font-size: 13px; color: var(--muted); }
.loc-status:empty { display: none; }
.loc-banner { background: var(--surface); border-bottom: 1px solid var(--line); }
.loc-banner .container { display: flex; align-items: center; gap: 10px; min-height: 52px; font-weight: 600; }
.loc-banner .container > .i { flex: none; color: var(--red); font-size: 20px; }
.loc-banner small { display: block; font-weight: 400; color: var(--muted); }
.loc-banner small:empty { display: none; }
.loc-banner .btn { margin-left: auto; flex: none; }
.social { display: flex; gap: 6px; }
.social a {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.1); font-size: 13px; transition: background .2s;
}
.social a:hover { background: var(--red); color: #fff; }

/* ---------- Masthead ---------- */
.masthead { background: var(--surface); }
.masthead .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; flex-direction: column; flex: none; border-radius: 6px; overflow: hidden; }
.logo img { height: 92px; width: auto; align-self: center; }
.logo-motto {
  display: block; padding: 3px 10px 4px; text-align: center; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .01em;
}
.logo:hover .logo-motto { color: #fff; }
[data-theme="dark"] .logo { background: #fff; }
[data-theme="dark"] .logo img { padding: 4px 8px 2px; }

/* ---------- Primary navigation ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
}
.nav { display: flex; align-items: center; height: var(--nav-h); gap: 4px; position: relative; }
.nav-logo-mini { display: none; }
.nav-logo-mini img { height: 40px; }
.nav-logo-mini .logo-motto { display: none; }
.nav-wrap.is-stuck .nav-logo-mini { display: block; margin-right: 8px; }

.menu { display: flex; align-items: center; height: 100%; }
.menu > li { height: 100%; display: flex; align-items: center; }
.menu > li > a {
  display: flex; align-items: center; gap: 4px; height: 100%;
  padding: 0 12px; font-weight: 700; font-size: 17px; position: relative; white-space: nowrap;
}
.menu > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.menu > li:hover > a::after, .menu > li > a.is-active::after { transform: scaleX(1); }
.menu > li > a.is-active { color: var(--red); }
.menu .home-link svg { font-size: 20px; }
.menu .chev { font-size: 12px; transition: transform .2s; }
.menu > li:hover .chev { transform: rotate(180deg); }

/* Mega menu (districts by division) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 3px solid var(--red);
  box-shadow: 0 18px 40px rgba(16, 24, 40, .16); border-radius: 0 0 var(--radius) var(--radius);
  padding: 22px 24px; display: grid; gap: 20px;
  grid-template-columns: repeat(var(--cols, 5), 1fr) 260px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 {
  font-size: 13px; letter-spacing: .02em; color: var(--muted); font-weight: 700;
  padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.mega-col a { display: block; padding: 3px 0; font-size: 16px; font-weight: 500; }
.mega-col a::before { content: "› "; color: var(--orange); font-weight: 700; }
.mega-feature { border-left: 1px solid var(--line); padding-left: 20px; }
.mega-feature .card-title { font-size: 16px; }
.mega-all { display: inline-flex; margin-top: 10px; font-weight: 700; color: var(--red); font-size: 15px; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  font-size: 19px; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--red); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.menu-toggle { display: none; }
.menu-close, .menu > .drawer-head { display: none; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Search overlay */
.search-panel {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 40, .72);
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 0;
  backdrop-filter: blur(4px);
}
.search-panel.is-open { display: flex; }
.search-box { width: 100%; max-width: 720px; background: var(--surface); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.search-box form { display: flex; gap: 10px; }
.search-box input {
  flex: 1; font: inherit; font-size: 20px; padding: 12px 16px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--surface-2); color: var(--text);
}
.search-box input:focus { outline: none; border-color: var(--red); }
.search-box .btn { padding: 0 22px; }
.search-hint { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker .container { display: flex; align-items: stretch; height: 44px; }
.ticker-label {
  display: flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; flex: none;
  background: var(--red); color: #fff; font-weight: 800; font-size: 16px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: flex; gap: 44px; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 20px; }
.ticker-track:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.ticker-items a::before { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Trending hashtags */
.trend-bar { padding: 12px 0; }
.trend-bar .container { display: flex; align-items: center; gap: 10px; }
.trend-bar strong { flex: none; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.trend-bar strong svg { color: var(--orange); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 5px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 600; font-size: 15px; white-space: nowrap; transition: .15s;
}
.chip:hover, .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 700;
  background: var(--red); color: #fff; transition: background .15s;
}
.btn:hover { background: var(--red-d); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--red); background: transparent; color: var(--red); }
.btn-wa { background: var(--wa); color: #06361A; }
.btn-wa:hover { background: #1EBE5A; color: #06361A; }

/* ---------- Section heading ---------- */
.sec-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
.sec-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 140px, var(--line) 140px);
}
.sec-title { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.sec-title::before {
  content: ""; width: 14px; height: 22px; background: var(--accent);
  clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}
.sec-more { margin-left: auto; font-weight: 700; font-size: 15px; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.sec-more:hover { color: var(--text); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 4px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--muted);
}
.tab:hover { color: var(--text); background: var(--surface-2); }
.tab.is-active { background: var(--accent); color: #fff; }

[data-accent="teal"] { --accent: var(--teal); }
[data-accent="orange"] { --accent: var(--orange); }
[data-accent="navy"] { --accent: var(--navy); }
[data-theme="dark"] [data-accent="navy"] { --accent: #4C7FE0; }
[data-accent="amber"] { --accent: #E09400; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.card-media {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 9; background: var(--surface-2);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-title { font-size: 19px; font-weight: 700; line-height: 1.38; }
.card-title a:hover { color: var(--red); }
.card-excerpt { color: var(--muted); font-size: 16px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Hashtag badges overlaid on post images */
.tags {
  position: absolute; left: 10px; top: 10px; right: 10px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none;
}
.tag {
  pointer-events: auto;
  display: inline-flex; align-items: center;
  padding: 2px 10px 3px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.5; color: #fff;
  background: rgba(14, 58, 120, .88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: background .15s, transform .15s;
}
.tag:first-child { background: rgba(215, 20, 26, .92); }
.tag:hover { color: #fff; background: var(--orange); transform: translateY(-1px); }
.tags-sm .tag { font-size: 12px; padding: 1px 8px 2px; }
.tags-sm .tag:nth-child(n+2) { display: none; }  /* tiny thumbs show only the primary tag */

/* Kicker (category → district) */
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent); }
.kicker svg { font-size: 13px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.badge-live {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 4px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em;
}
.badge-live .live-dot { width: 6px; height: 6px; }

/* Overlay card (title on image) */
.card-overlay .card-media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.card-overlay .card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px;
  color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 12, 28, .55) 30%, rgba(5, 12, 28, .92));
  border-radius: 0 0 var(--radius) var(--radius);
}
.card-overlay .card-title a:hover { color: #FFD27A; }
.card-overlay .meta { color: rgba(255,255,255,.82); }
.card-overlay .kicker { color: #FFC24A; }

/* Horizontal (list) card */
.card-row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card-row .card-media { width: 132px; flex: none; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.card-row .card-title { font-size: 16px; line-height: 1.42; }
.card-row .card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-row .meta { font-size: 13px; }

.divided > * + * { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }

/* Play badge for video posts */
.play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(215, 20, 26, .92); color: #fff; font-size: 22px; box-shadow: 0 0 0 6px rgba(255,255,255,.25);
  transition: transform .2s;
}
.card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play-sm { width: 38px; height: 38px; font-size: 15px; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.duration { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 4px; }

/* ---------- Layout grids ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sticky-side { position: sticky; top: calc(var(--nav-h) + 16px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) 340px; gap: 20px; }
.hero-lead { min-height: 470px; }
.hero-lead .card-title { font-size: 31px; line-height: 1.28; font-weight: 800; }
.hero-lead .card-body { padding: 28px; }
.hero-lead .card-excerpt { color: rgba(255,255,255,.86); margin: 8px 0 10px; font-size: 17px; }
.hero-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.hero-stack .card-title { font-size: 19px; }
.hero-stack .card-body { padding: 16px 18px; }

.latest { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 16px 18px; display: flex; flex-direction: column; min-height: 0; }
.latest-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.latest-head h2 { font-size: 20px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.latest-list { overflow: auto; flex: 1; max-height: 420px; scrollbar-width: thin; }
.latest-list li { position: relative; padding: 10px 0 10px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.latest-list li::before {
  content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--orange);
}
.latest-list li:first-child::before { border-color: var(--red); background: var(--red); }
.latest-list time { font-size: 13px; font-weight: 700; color: var(--red); }
.latest-list a { display: block; font-weight: 600; font-size: 16px; line-height: 1.4; }

/* ---------- District picker ("मेरा ज़िला") ---------- */
.district-box {
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden;
  display: grid; grid-template-columns: 340px minmax(0, 1fr);
}
.district-pick {
  padding: 22px; color: #fff; position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(247, 166, 0, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);
}
.district-pick h2 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.district-pick p { margin: 4px 0 16px; color: rgba(255,255,255,.75); font-size: 15px; }
.seg { display: inline-flex; background: rgba(255,255,255,.12); padding: 4px; border-radius: 10px; margin-bottom: 14px; }
.seg button { padding: 6px 18px; border-radius: 7px; font-weight: 700; color: rgba(255,255,255,.8); }
.seg button.is-active { background: #fff; color: var(--navy); }
.district-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 196px; overflow: auto; scrollbar-width: thin; }
.district-chips button {
  padding: 4px 11px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.district-chips button:hover { background: rgba(255,255,255,.22); }
.district-chips button.is-active { background: var(--amber); border-color: var(--amber); color: #1B1300; }
.district-feed { padding: 22px; }
.district-feed-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.district-feed-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.district-feed-head .sec-more { --accent: var(--red); }

/* ---------- Block layouts ---------- */
.block-a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; }
.block-a .card-lead .card-title { font-size: 24px; font-weight: 800; }

.most-read { counter-reset: mr; }
.most-read li { counter-increment: mr; display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.most-read li:last-child { border-bottom: 0; }
.most-read li::before {
  content: counter(mr, decimal-leading-zero); flex: none; font-size: 30px; font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, var(--orange), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 40px;
}
.most-read a { font-weight: 600; font-size: 16px; line-height: 1.42; }

.widget { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; }
.widget-title { font-size: 20px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.widget-title::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--accent); }

/* Video band */
.video-band { background: linear-gradient(180deg, var(--navy-d), #071C3B); color: #fff; padding: 34px 0; margin: 34px 0; }
.video-band .sec-head::after { background: linear-gradient(90deg, var(--red) 0 140px, rgba(255,255,255,.15) 140px); }
.video-band .sec-title { color: #fff; }
.video-band .sec-more { color: #FFC24A; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; }
.video-main .card-media { aspect-ratio: 16 / 9; }
.video-main .card-title { font-size: 24px; color: #fff; }
.video-list { display: flex; flex-direction: column; gap: 14px; }
.video-list .card-row .card-media { width: 168px; aspect-ratio: 16 / 9; }
.video-list .card-title { color: #fff; }
.video-band .meta { color: rgba(255,255,255,.7); }
.video-band .card-title a:hover { color: #FFC24A; }

/* Category columns */
.cat-col { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px; border-top: 4px solid var(--accent); }
.cat-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cat-col-head h3 { font-size: 22px; font-weight: 800; color: var(--accent); }
.cat-col-head a { font-size: 14px; font-weight: 700; color: var(--muted); }
.cat-col .card-title { font-size: 18px; }
.headline-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.headline-list a { font-weight: 600; font-size: 16px; line-height: 1.42; display: flex; gap: 8px; }
.headline-list a::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); }

/* Web stories */
.stories { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.story { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; scroll-snap-align: start; display: block; color: #fff; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover img { transform: scale(1.06); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 50%, rgba(0,0,0,.88)); }
.story-bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; display: flex; gap: 3px; }
.story-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); }
.story-bars i:first-child { background: #fff; }
.story-title { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 2; font-weight: 700; font-size: 17px; line-height: 1.35; }
.story .tags { top: 22px; }
.story:hover { color: #fff; }

/* Opinion */
.opinion { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); position: relative; }
.opinion::before { content: "“"; position: absolute; right: 16px; top: -6px; font-size: 90px; line-height: 1; color: var(--amber); opacity: .35; font-family: Georgia, serif; }
.opinion .card-title { font-size: 18px; }
.author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--orange), var(--red)); font-size: 18px;
}
.avatar.t { background: linear-gradient(135deg, var(--teal), var(--navy)); }
.avatar.a { background: linear-gradient(135deg, var(--amber), var(--orange)); }
.author b { display: block; font-size: 16px; }
.author small { color: var(--muted); font-size: 13px; }

/* Weather */
.wx-city {
  margin-left: auto; font: inherit; font-size: 15px; font-weight: 700; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 8px; cursor: pointer;
}
.wx-now { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; }
.wx-icon { font-size: 52px; color: var(--amber); }
.wx-temp { font-size: 38px; font-weight: 800; line-height: 1; color: var(--ink); }
.wx-desc { font-weight: 600; color: var(--muted); margin-top: 4px; }
.wx-hl { margin-left: auto; text-align: right; font-size: 14px; color: var(--muted); line-height: 1.6; }
.wx-hl b { color: var(--text); }
.wx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.wx-stats li { background: var(--surface-2); border-radius: var(--radius-sm); padding: 8px; text-align: center; }
.wx-stats small, .wx-stats b { display: block; }
.wx-stats small { font-size: 13px; color: var(--muted); }
.wx-stats b { font-size: 15px; }
.wx-days { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 0; padding: 10px 0 0; list-style: none; text-align: center; }
.wx-days li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; }
.wx-days span { color: var(--muted); font-weight: 600; }
.wx-days svg { font-size: 24px; color: var(--amber); margin: 2px 0; }
.wx-days small { color: var(--muted); }
.wx-src { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.wx-ctx { margin: 10px 0 0; font-size: 14px; }
.wx-ctx a { color: var(--red); font-weight: 700; }
.wx-note { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: right; }

/* Stock market widget */
.sticky-track { display: flex; flex-direction: column; }
.mkt-status { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.mkt-status.is-open { background: rgba(18,128,92,.12); color: var(--up); }
.mkt-indices { list-style: none; margin: 0; padding: 0; }
.mkt-indices li { display: grid; grid-template-columns: 1fr 60px auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mkt-name { font-weight: 700; line-height: 1.2; }
.mkt-name small, .mkt-val small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.mkt-val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.25; }
.mkt-spark { width: 60px; height: 22px; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.is-up .mkt-spark { stroke: var(--up); }
.is-down .mkt-spark { stroke: var(--red); }
.mkt-indices .is-up .mkt-val small, .mkt-movers.is-up small { color: var(--up); }
.mkt-indices .is-down .mkt-val small, .mkt-movers.is-down small { color: var(--red); }
.mkt-tabs { display: flex; gap: 4px; margin: 14px 0 6px; background: var(--surface-2); padding: 3px; border-radius: 8px; }
.mkt-tabs button { flex: 1; padding: 5px 8px; border-radius: 6px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
.mkt-tabs button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.mkt-movers { list-style: none; margin: 0; padding: 0; }
.mkt-movers li { display: grid; grid-template-columns: 1fr auto 62px; gap: 10px; align-items: baseline; padding: 7px 0; font-size: 15px; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.mkt-movers li:last-child { border-bottom: 0; }
.mkt-movers span { font-weight: 600; }
.mkt-movers small { text-align: right; font-size: 14px; font-weight: 700; }
.mkt-src { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: right; }
.mkt-more { margin-top: 8px; justify-content: flex-end; }
.weather.is-loading .wx-now, .weather.is-loading .wx-stats, .weather.is-loading .wx-days { opacity: .5; transition: opacity .2s; }

/* Poll */
.poll-q { font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.poll-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 14px; margin-bottom: 8px; border-radius: 8px; border: 2px solid var(--line); background: var(--surface-2);
  font-weight: 600; text-align: left; overflow: hidden;
}
.poll-opt:hover { border-color: var(--navy); }
.poll-opt .bar { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(247, 166, 0, .28); transition: width .7s ease; z-index: 0; }
.poll-opt span { position: relative; z-index: 1; }
.poll-opt .pct { opacity: 0; font-weight: 800; color: var(--ink); }
.poll.is-voted .poll-opt { cursor: default; }
.poll.is-voted .pct { opacity: 1; }
.poll.is-voted .poll-opt.is-picked { border-color: var(--amber); }
.poll-foot { font-size: 13px; color: var(--muted); }


/* ---------- Ad slots ---------- */
/* Each .ad maps to a WordPress widget area / ad-manager zone (see data-ad-zone). */
.ad {
  position: relative; margin: 0 auto; display: grid; place-items: center; text-align: center;
  border-radius: var(--radius-sm); color: var(--muted); font-size: 13px; font-weight: 600;
  background: repeating-linear-gradient(-45deg, var(--ad-bg) 0 12px, var(--ad-stripe) 12px 24px);
  border: 1px dashed color-mix(in srgb, var(--muted) 35%, transparent);
  overflow: hidden;
}
.ad::before {
  content: "विज्ञापन"; position: absolute; top: 4px; left: 8px;
  font-size: 11px; letter-spacing: .06em; color: var(--muted); opacity: .8;
}
.ad-dim { font-size: 15px; font-weight: 700; color: var(--muted); }
.ad-dim small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.ad-728x90 { width: 728px; max-width: 100%; height: 90px; }
.ad-970x90 { width: 970px; max-width: 100%; height: 90px; }
.ad-970x250 { width: 970px; max-width: 100%; height: 250px; }
.ad-300x250 { width: 300px; max-width: 100%; height: 250px; }
.ad-300x600 { width: 300px; max-width: 100%; height: 600px; }
.ad-336x280 { width: 336px; max-width: 100%; height: 280px; }
.ad-wrap { padding: 8px 0; }
.ad-row { margin-block: 28px; }

/* Native / in-feed sponsored card */
.ad-native { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px; display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); }
.ad-native .ad { width: 100%; height: 124px; }
.ad-native .sponsored { font-size: 12px; font-weight: 800; letter-spacing: .05em; color: #A06A00; background: rgba(247,166,0,.16); padding: 1px 8px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.ad-native h4 { font-size: 18px; }
.ad-native p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* Mobile anchor ad */
.ad-anchor {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface); box-shadow: 0 -4px 16px rgba(0,0,0,.14); padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.ad-anchor .ad { width: 320px; height: 50px; }
.ad-anchor-close {
  position: absolute; right: 8px; top: -26px; width: 26px; height: 26px; border-radius: 6px 6px 0 0;
  background: var(--surface); box-shadow: 0 -3px 8px rgba(0,0,0,.1); display: grid; place-items: center; font-size: 14px;
}

/* ---------- Category / archive ---------- */
.cat-hero {
  color: #fff; padding-bottom: 18px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(247, 166, 0, .28), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);
}
.cat-hero .breadcrumb { color: rgba(255,255,255,.7); margin: 0; padding: 16px 0 10px; }
.cat-hero .breadcrumb [aria-current] { color: #fff; }
.cat-hero .breadcrumb a:hover { color: #fff; }
.cat-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cat-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .05em; background: var(--red); padding: 2px 10px; border-radius: 4px; }
.cat-title { font-size: 44px; font-weight: 800; line-height: 1.15; margin-top: 6px; }
.cat-desc { margin: 6px 0 0; max-width: 640px; color: rgba(255,255,255,.8); font-size: 17px; }
.cat-stats { display: flex; align-items: center; gap: 20px; flex: none; }
.cat-stats div { text-align: center; }
.cat-stats b { display: block; font-size: 28px; font-weight: 800; line-height: 1; color: var(--amber); }
.cat-stats small { font-size: 13px; color: rgba(255,255,255,.75); }

.river { display: flex; flex-direction: column; gap: 18px; }
.river-item { flex-direction: row; gap: 18px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.river-item .card-media { width: 280px; flex: none; }
.river-item .card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.river-item .card-title { font-size: 21px; }
.load-more { text-align: center; margin: 24px 0 14px; }
.load-more .btn { min-width: 240px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px; font-weight: 700; background: var(--surface); border: 1px solid var(--line);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .is-current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }
.pagination .pg-dots { border: 0; background: none; }

.cat-sub { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-weight: 700; color: #FFC24A; }
.cat-sub a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.loc-bar {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; width: fit-content; max-width: 100%;
}
.loc-sep { align-self: center; font-size: 12px; color: rgba(255,255,255,.5); }
.loc-step { display: flex; flex-direction: column; justify-content: center; padding: 4px 12px; border-radius: 8px; min-width: 120px; }
.loc-step small { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.loc-step b { font-size: 17px; color: #fff; }
a.loc-step:hover { background: rgba(255,255,255,.1); color: #fff; }
.loc-step select {
  font: inherit; font-size: 17px; font-weight: 700; color: #fff; background: transparent; border: 0; padding: 0 20px 0 0; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #FFC24A 50%), linear-gradient(135deg, #FFC24A 50%, transparent 50%);
  background-position: right 6px top 55%, right 1px top 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.loc-step select option { color: var(--text); background: var(--surface); }
.loc-step:focus-within { background: rgba(255,255,255,.14); }
.chip-group { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.chip-group + .chip-group { margin-top: 8px; }
.chip-label { flex: none; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); min-width: 72px; }
.chip-group .chip-row { min-width: 0; }
.cat-hero .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.cat-hero .chip:hover, .cat-hero .chip.is-active { background: #fff; border-color: #fff; color: var(--navy); }
.cat-col-head h3 a:hover { color: inherit; text-decoration: underline; }
.send-news {
  display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed var(--wa); box-shadow: var(--shadow-sm);
}
.send-news-icon { font-size: 34px; color: var(--wa); }
.send-news h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.send-news p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.send-news .btn { margin-left: auto; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #071C3B; color: #C9D4E8; margin-top: 40px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.footer-brand img { height: 84px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-brand p { margin: 14px 0; color: #9FB0CC; }
.footer-motto { display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .02em; }
.site-footer h4 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; position: relative; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--orange); border-radius: 2px; }
.foot-links { columns: 2; column-gap: 16px; }
.foot-links li { padding: 3px 0; break-inside: avoid; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; font-size: 20px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   Single post
   ========================================================================== */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--orange), var(--amber), var(--red)); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 20px 0 14px; }
.breadcrumb a { font-weight: 600; }
.breadcrumb svg { font-size: 11px; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

.article-layout { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.share-rail { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.share-rail small { font-size: 12px; font-weight: 700; color: var(--muted); }
.share-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: #fff;
  transition: transform .15s;
}
.share-btn:hover { color: #fff; transform: translateY(-2px); }
.s-wa { background: var(--wa); }
.s-fb { background: #1877F2; }
.s-x { background: #111; }
.s-tg { background: #229ED9; }
.s-copy { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.s-copy:hover { color: var(--red); }

.article { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 30px 34px; min-width: 0; }
.article-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.article h1 { font-size: 38px; line-height: 1.26; font-weight: 800; letter-spacing: -.005em; }
.article-dek { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 14px 0 20px; font-weight: 500; }
.byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tool-btn {
  height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px;
}
.tool-btn:hover { border-color: var(--red); color: var(--red); }
.tool-btn.is-on { background: var(--red); border-color: var(--red); color: #fff; }

.article-figure { margin: 22px 0 6px; }
.article-figure .card-media { aspect-ratio: 16 / 9; border-radius: 12px; }
.article-figure .tags { left: 14px; top: 14px; }
.article-figure .tag { font-size: 15px; padding: 3px 12px 4px; }
.article-figure figcaption { font-size: 14px; color: var(--muted); padding: 8px 2px 0; display: flex; gap: 6px; }

.highlights {
  margin: 22px 0; padding: 18px 20px; border-radius: 10px;
  background: color-mix(in srgb, var(--amber) 10%, var(--surface)); border-left: 5px solid var(--orange);
}
.highlights h2 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.highlights li { position: relative; padding: 4px 0 4px 22px; font-weight: 600; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; background: var(--orange); transform: rotate(45deg); }

.article-body { --fs: 19px; font-family: var(--font-serif); font-size: var(--fs); line-height: 1.95; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { font-family: var(--font); font-size: 1.3em; font-weight: 800; margin: 1.4em 0 .6em; color: var(--ink); }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 3.3em; line-height: .95; padding: 6px 10px 0 0; font-weight: 800; color: var(--red); font-family: var(--font); }
.article-body blockquote {
  margin: 1.4em 0; padding: 18px 22px 18px 64px; position: relative; border-radius: 10px;
  background: var(--surface-2); font-family: var(--font); font-size: 1.08em; font-weight: 600; line-height: 1.6;
}
.article-body blockquote::before { content: "“"; position: absolute; left: 16px; top: 2px; font-size: 72px; color: var(--red); font-family: Georgia, serif; line-height: 1; }
.article-body blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--muted); font-weight: 500; }
.article-body .in-article-ad { margin: 1.6em 0; font-family: var(--font); }

.also-read { margin: 1.6em 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; font-family: var(--font); }
.also-read > b { display: block; font-size: 14px; color: var(--red); margin-bottom: 8px; letter-spacing: .02em; }
.also-read .card-row .card-media { width: 110px; }
.also-read .card-title { font-size: 16px; }
.also-read .card-title a { text-decoration: none; color: var(--text); }
.also-read .card-title a:hover { color: var(--red); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; }
.post-tags strong { font-size: 15px; color: var(--muted); margin-right: 4px; }
.post-tags a { padding: 5px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink); }
.post-tags a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.share-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px; border-radius: 10px; background: var(--surface-2); }
.share-inline strong { margin-right: auto; }
.share-inline .share-btn { width: 40px; height: 40px; font-size: 17px; }

.wa-strip {
  margin: 22px 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--wa) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--wa) 40%, transparent);
}
.wa-strip svg.big { font-size: 34px; color: #1FAF55; }
.wa-strip div { flex: 1; min-width: 200px; }
.wa-strip b { display: block; font-size: 17px; }
.wa-strip span { font-size: 15px; color: var(--muted); }

.author-box { display: flex; gap: 16px; padding: 20px; border-radius: 12px; border: 1px solid var(--line); margin: 22px 0; }
.author-box .avatar { width: 72px; height: 72px; font-size: 28px; }
.author-box h3 { font-size: 19px; }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.prev-next a { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); display: block; }
.prev-next a:hover { border-color: var(--red); }
.prev-next small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.prev-next .next { text-align: right; }
.prev-next .next small { justify-content: flex-end; }
.prev-next b { font-size: 16px; line-height: 1.4; display: block; }


.related-grid .card-title { font-size: 17px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .hero .latest { grid-column: 1 / -1; }
  .latest-list { max-height: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .menu > li > a { padding: 0 9px; font-size: 16px; }
  .menu .hide-lg { display: none; }
  .article-layout { grid-template-columns: 48px minmax(0, 1fr) 300px; gap: 22px; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 66px; }
  .topbar-links, .topbar-weather { display: none; }

  /* Header order on mobile: top bar → logo/actions/menu bar → header ad */
  body { display: flex; flex-direction: column; }
  body > * { order: 1; min-width: 0; }
  body > .topbar, body > .nav-wrap, body > .loc-banner { order: 0; }
  .loc-banner .container { font-size: 14px; }
  .masthead .logo { display: none; }
  .masthead .container { justify-content: center; padding-top: 10px; padding-bottom: 10px; }

  /* Bar: logo left · search + theme centre · menu right */
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav-logo-mini, .nav-wrap.is-stuck .nav-logo-mini {
    display: inline-flex; flex-direction: column; justify-self: start; margin: 0;
    border-radius: 5px; overflow: hidden; grid-area: 1 / 1;
  }
  .nav-logo-mini img { height: 60px; width: auto; align-self: center; }
  .nav-logo-mini .logo-motto { display: block; font-size: 10px; padding: 1px 6px 2px; }
  [data-theme="dark"] .nav-logo-mini { background: #fff; }
  .nav-actions { grid-area: 1 / 2; margin: 0; justify-self: center; }
  .menu-toggle { display: grid; grid-area: 1 / 3; justify-self: end; width: 52px; height: 52px; margin-right: -8px; font-size: 34px; }

  /* Off-canvas drawer (slides in from the right, next to the menu button) */
  .nav .menu {
    position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); height: auto;
    flex-direction: column; align-items: stretch; overflow-y: auto; background: var(--surface);
    transform: translateX(102%); transition: transform .25s ease; box-shadow: -10px 0 30px rgba(0,0,0,.2);
  }
  .nav .menu.is-open { transform: none; }
  .drawer-open .nav-wrap { z-index: 95; } /* lift the drawer's stacking context above the scrim */
  .menu > .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); height: auto !important; }
  .drawer-head img { height: 46px; }
  .menu-close { display: grid; }
  .menu > li { height: auto; display: block; border-bottom: 1px solid var(--line); }
  .menu > li > a { height: 52px; padding: 0 18px; justify-content: space-between; }
  .menu > li > a::after { display: none; }
  .menu > li:hover .chev { transform: none; }
  .menu > li.is-open .chev { transform: rotate(180deg); }
  .menu .hide-lg { display: block; }
  .mega {
    position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    border-radius: 0; padding: 4px 18px 16px; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--surface-2);
  }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega, .has-mega.is-open:hover .mega { display: grid; }
  .mega-feature { display: none; }
  .mega h4 { padding-top: 12px; }
  .scrim { position: fixed; inset: 0; z-index: 80; background: rgba(5, 12, 28, .5); opacity: 0; visibility: hidden; transition: .2s; }
  .scrim.is-open { opacity: 1; visibility: visible; }

  .with-sidebar, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .share-rail { display: none; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .ad { grid-column: 1 / -1; }
  .sidebar .ad-300x600 { display: none; }
  .sticky-side { position: static; }
  .district-box { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .ad-anchor { display: block; }
  body.has-anchor { padding-bottom: 64px; }
  .to-top { bottom: 80px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 14px; }
  .hero-lead { min-height: 360px; }
  .hero-lead .card-title { font-size: 24px; }
  .hero-lead .card-body { padding: 18px; }
  .hero-lead .card-excerpt { display: none; }
  .hero-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stack .card-overlay .card-media { min-height: 200px; }
  .hero-stack .card-title { font-size: 16px; }
  .hero-stack .card-body { padding: 12px; }
  .latest-list { grid-template-columns: 1fr; }
  .block-a, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grid-4 .card-title { font-size: 16px; }
  .sidebar { grid-template-columns: 1fr; }
  .sec-title { font-size: 22px; }
  .sec-head .tabs { order: 3; width: 100%; }
  .ad-native { grid-template-columns: 1fr; }
  .ad-728x90, .ad-970x90 { width: 320px; height: 90px; }
  .ad-970x250 { width: 300px; height: 250px; }
  .ad-728x90 .ad-dim small, .ad-970x90 .ad-dim small { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .cat-hero-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat-title { font-size: 34px; }
  .cat-desc { font-size: 16px; }
  .cat-stats { gap: 16px; flex-wrap: wrap; }
  .cat-stats b { font-size: 24px; }
  .river-item { gap: 12px; }
  .river-item .card-media { width: 128px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .river-item .card-media .tags { display: none; }
  .river-item .card-title { font-size: 17px; }
  .river-item .card-excerpt, .river-item .meta span:first-child { display: none; }
  .pagination .pg-num:not(.is-current), .pagination .pg-dots { display: none; }
  .send-news { flex-wrap: wrap; }
  .loc-bar { width: 100%; }
  .loc-step { flex: 1 1 0; min-width: 0; padding: 4px 8px; }
  .loc-step select, .loc-step b { font-size: 15px; width: 100%; }
  .chip-group { flex-direction: column; align-items: stretch; gap: 6px; }
  .send-news .btn { margin-left: 0; width: 100%; justify-content: center; }
  .stories { grid-auto-columns: 150px; }
  .video-list .card-row .card-media { width: 132px; }

  .article { padding: 18px 16px; border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
  .article h1 { font-size: 27px; }
  .article-dek { font-size: 17px; }
  .byline-tools { margin-left: 0; width: 100%; }
  .article-body { --fs: 18px; }
  .prev-next { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-stack { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .card-row .card-media { width: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-items { animation: none; }
}

/* =========================================================================
   WordPress theme additions (not in the mockups)
   ========================================================================= */

/* Skip link */
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--surface); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-weight: 700; }

/* Lazy-block skeletons: fixed height so nothing jumps when content arrives */
.ls-skel { display: grid; gap: 14px; }
.ls-skel-item { display: block; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--surface-2) 60%, var(--surface)) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: ls-shimmer 1.4s ease-in-out infinite; }
.ls-skel-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ls-skel-cards .ls-skel-item { min-height: 220px; }
.ls-skel-block { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ls-skel-block .ls-skel-item:first-child { grid-row: span 4; min-height: 420px; }
.ls-skel-block .ls-skel-item { min-height: 92px; }
.ls-skel-rows .ls-skel-item { min-height: 72px; }
.ls-skel-lines { gap: 12px; }
.ls-skel-lines .ls-skel-item { min-height: 18px; }
.ls-skel-lines .ls-skel-item:nth-child(even) { width: 80%; }
@keyframes ls-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ls-skel-item { animation: none; } }
@media (max-width: 767px) { .ls-skel-block { grid-template-columns: 1fr; } .ls-skel-block .ls-skel-item:first-child { grid-row: auto; min-height: 240px; } }
[data-lazy-body].is-loading, [data-river-list].is-loading { opacity: .45; transition: opacity .2s; }
[data-lazy-body] { transition: opacity .2s; }

/* Branded image placeholder */
img.ls-ph { object-fit: cover; background: var(--surface-2); }

/* Live ads: real creatives, no dashed preview frame */
.ad.is-live { background: none; border: 0; display: block; line-height: 0; }
.ad.is-live img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad.is-live picture { display: contents; }
.ad-native.is-live .ad { height: auto; aspect-ratio: 300 / 170; }
.ad-native.is-live h4 a:hover { color: var(--red); }
@media (max-width: 767px) { .ad.no-mobile, .ad-row:has(> .ad.no-mobile:only-child) { display: none; } }

/* Archive header extras */
.cat-hero.has-cover { background: linear-gradient(160deg, rgba(14,58,120,.92) 0%, rgba(10,42,87,.82) 100%), var(--cat-cover) center / cover no-repeat; }
.cat-title .cat-page { font-size: .5em; font-weight: 700; opacity: .75; }
.river-empty { padding: 28px 18px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* LIVE list: posts that arrived since the last refresh */
.latest-list li.is-new { animation: ls-new 2.4s ease-out; }
@keyframes ls-new { from { background: color-mix(in srgb, var(--amber) 22%, transparent); } to { background: transparent; } }

/* Article body: elements authors make in the block editor */
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .4em; }
.article-body figure { margin: 22px 0; }
.article-body figure img, .article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.article-body figcaption, .article-body .wp-element-caption { font-size: 14px; color: var(--muted); padding-top: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .9em; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body th { background: var(--surface-2); }
.article-body a:not(.card a):not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-body iframe, .article-body .wp-block-embed__wrapper iframe { max-width: 100%; }
.article-body .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.article-body .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-body .alignleft { float: left; margin: 4px 18px 10px 0; max-width: 50%; }
.article-body .alignright { float: right; margin: 4px 0 10px 18px; max-width: 50%; }
.article-body .aligncenter { margin-inline: auto; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.page-article { max-width: 820px; margin-inline: auto; }
.page-article h1 { margin-bottom: 14px; }

/* Click-to-play YouTube facade */
.lite-yt { position: relative; cursor: pointer; }
.lite-yt img { width: 100%; height: 100%; object-fit: cover; }
.lite-yt-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border: 0; border-radius: 50%; background: rgba(215,20,26,.92); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.lite-yt-play .i { width: 34px; height: 34px; }
.lite-yt:hover .lite-yt-play { background: var(--red); transform: scale(1.05); }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Search form outside the overlay (404, search results) */
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; }

/* 404 */
.not-found .nf-box { text-align: center; max-width: 640px; margin: 20px auto 10px; }
.not-found .nf-code { font-size: 88px; font-weight: 800; line-height: 1; color: var(--red); margin: 0; }
.not-found h1 { font-size: 30px; margin: 8px 0; }
.not-found .nf-box > p { color: var(--muted); }
.not-found .search-form { margin: 18px auto; }
.not-found .nf-chips { justify-content: center; flex-wrap: wrap; }

.tool-btn[aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
