/* Jagrut Odisha — design tokens from the brand brief (section 2) */
:root {
  --red: #D7141A;
  --red-deep: #A50E12;
  --saffron: #F7931E;
  --gold: #FFC20E;
  --globe: #0B4DA2;
  --ink: #1A1A1A;
  --slate: #6B7280;
  --paper: #FFFFFF;
  --paper-2: #F5F5F5;
  --line: #E5E7EB;
  --card: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lift: 0 8px 20px rgba(0,0,0,.12);
  --grad: linear-gradient(90deg, var(--red) 0%, var(--saffron) 100%);
  --radius: 8px;
  --max: 1280px;
  --f-head: "Poppins", "Noto Sans Oriya", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans Oriya", system-ui, sans-serif;
  --lh-body: 1.7;
}
html[lang="or"] { --lh-body: 1.8; }
html[lang="or"] body { --f-head: "Noto Sans Oriya", "Poppins", sans-serif; --f-body: "Noto Sans Oriya", "Inter", sans-serif; }

html[data-theme="dark"] {
  --ink: #EDEDED;
  --slate: #9CA3AF;
  --paper: #121212;
  --paper-2: #1B1B1B;
  --card: #1E1E1E;
  --line: #2C2C2C;
  --shadow: 0 1px 3px rgba(0,0,0,.5);
  --shadow-lift: 0 8px 20px rgba(0,0,0,.6);
  --globe: #6EA8FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper-2);
  padding-bottom: 64px; /* mobile bottom nav */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top utility bar (desktop only) ---------- */
.utility-bar { display: none; background: var(--red-deep); color: #fff; font-size: 13px; }
@media (min-width: 1024px) { .utility-bar { display: block; } }
.utility-bar .container { height: 32px; display: flex; align-items: center; gap: 20px; }
.utility-bar .spacer { flex: 1; }
.utility-bar .lang-switch button { background: none; border: 0; color: rgba(255,255,255,.7); padding: 0 4px; }
.utility-bar .lang-switch button.active { color: #fff; font-weight: 600; }
.utility-bar .socials { display: flex; gap: 10px; }
.utility-bar .socials a { opacity: .85; display: inline-flex; }
.utility-bar .socials a:hover { opacity: 1; }
.utility-bar .socials svg { width: 15px; height: 15px; fill: currentColor; }
.btn-live-sm { display: inline-flex; align-items: center; gap: 6px; background: var(--red); padding: 3px 10px; border-radius: 4px; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header::after { content: ""; display: block; height: 4px; background: var(--grad); }
/* The header keeps one height while scrolling (changing it moved the page and caused stutter).
   When scrolled, only the logo scales down a little: a transform, so nothing else on the page moves. */
.header-main { display: flex; align-items: center; gap: 16px; height: 84px; }
.logo img { display: block; height: 68px; width: auto; transform-origin: left center; transition: transform .2s ease; }
.site-header.shrunk .logo img { transform: scale(.82); }
.main-nav { display: none; flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.main-nav a, .main-nav .more-btn {
  display: block; padding: 8px 9px; font-family: var(--f-head); font-weight: 600; font-size: 14px;
  border-radius: 4px; white-space: nowrap; background: none; border: 0; color: var(--ink);
}
.main-nav a:hover, .main-nav .more-btn:hover { color: var(--red); }
.main-nav a.active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.more { position: relative; }
.main-nav .more-menu { display: none; position: absolute; right: 0; top: 100%; background: var(--card); box-shadow: var(--shadow-lift); border-radius: var(--radius); padding: 6px; min-width: 200px; flex-direction: column !important; }
.main-nav .more:hover .more-menu, .main-nav .more:focus-within .more-menu { display: flex; }
.header-actions { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--paper-2); color: var(--red); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hamburger { display: inline-flex; }
.desktop-only { display: none !important; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
  .desktop-only { display: inline-flex !important; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 1023px) {
  .header-main { height: 72px; justify-content: space-between; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .logo img { height: 58px; transform-origin: center center; }
  .site-header.shrunk .logo img { transform: scale(.84); }
}

/* mobile category chips */
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--paper); scrollbar-width: none; border-bottom: 1px solid var(--line); }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.chip.active, .chip:hover { background: var(--red); color: #fff; border-color: var(--red); }
@media (min-width: 1024px) { .site-header .chip-row { display: none; } }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: var(--paper); z-index: 100; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 4px solid; border-image: var(--grad) 1; }
.drawer-head img { height: 40px; }
.drawer nav a { display: block; padding: 12px 20px; font-weight: 600; font-family: var(--f-head); border-bottom: 1px solid var(--line); }
.drawer nav a:hover { color: var(--red); background: var(--paper-2); }
.drawer .lang-switch { display: flex; gap: 8px; padding: 16px 20px; }
.drawer .lang-switch button { flex: 1; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.drawer .lang-switch button.active { background: var(--red); color: #fff; border-color: var(--red); }

/* search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 120; display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay.open { display: flex; }
.search-overlay form { width: min(640px, 92vw); display: flex; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lift); }
.search-overlay input { flex: 1; border: 0; padding: 16px 18px; font-size: 18px; background: transparent; color: var(--ink); outline: none; }
.search-overlay button { border: 0; background: var(--red); color: #fff; padding: 0 22px; font-weight: 600; }

/* ---------- Breaking ticker ---------- */
.ticker { background: var(--red-deep); color: #fff; display: flex; align-items: stretch; height: 40px; overflow: hidden; }
.ticker-label { flex: none; background: var(--gold); color: #1A1A1A; font-weight: 800; font-family: var(--f-head); font-size: 13px; padding: 0 14px; display: flex; align-items: center; letter-spacing: .04em; position: relative; z-index: 1; }
.ticker-label::after { content: ""; position: absolute; right: -12px; top: 0; border-left: 12px solid var(--gold); border-top: 20px solid transparent; border-bottom: 20px solid transparent; }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-items { display: flex; gap: 48px; white-space: nowrap; padding-left: 100%; animation: ticker 60s linear infinite; font-size: 15px; font-weight: 500; }
.ticker:hover .ticker-items, .ticker.paused .ticker-items { animation-play-state: paused; }
.ticker-items a { display: inline-flex; align-items: center; gap: 10px; }
.ticker-items a::before { content: ""; width: 6px; height: 6px; background: var(--saffron); border-radius: 50%; }
.ticker-items a:hover { text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-items { animation-duration: 180s; } }

/* ---------- Pulse dot ---------- */
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.4s ease-out infinite; }
.pulse.orange { background: var(--saffron); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Ad slots (reserved sizes) ---------- */
.ad { background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 10px, var(--paper) 10px, var(--paper) 20px); border: 1px dashed var(--line); color: var(--slate); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.ad-leaderboard { width: 320px; height: 50px; margin: 16px auto; }
@media (min-width: 768px) { .ad-leaderboard { width: 728px; height: 90px; } }
.ad-mrec { width: 300px; height: 250px; max-width: 100%; }
.ad-half { width: 300px; height: 600px; max-width: 100%; }
.ad-inarticle { width: 300px; height: 250px; margin: 28px auto; }
.mobile-sticky-ad { position: fixed; left: 50%; transform: translateX(-50%); bottom: 64px; z-index: 40; width: 320px; height: 50px; box-shadow: var(--shadow-lift); }
.mobile-sticky-ad .close { position: absolute; top: -10px; right: -10px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1; }
@media (min-width: 1024px) { .mobile-sticky-ad { display: none; } }

/* ---------- Layout ---------- */
main { padding-bottom: 32px; }
.layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 32px; } }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .sidebar .sticky { position: sticky; top: 96px; } }
.section { margin: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-family: var(--f-head); font-weight: 600; font-size: 18px; text-transform: uppercase; margin: 0; padding-bottom: 6px; position: relative; letter-spacing: .02em; }
html[lang="or"] .section-title { text-transform: none; letter-spacing: 0; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--saffron); border-radius: 2px; }
@media (min-width: 1024px) { .section-title { font-size: 22px; } }
.see-all { color: var(--red); font-weight: 600; font-size: 14px; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; display: block; position: relative; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.thumb { position: relative; background: var(--line); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.r16x9 { aspect-ratio: 16/9; }
.r9x16 { aspect-ratio: 9/16; }
.r1x1 { aspect-ratio: 1/1; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--red); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.badge.explainer, .badge.fact { background: var(--globe); }
.badge.exclusive { background: var(--gold); color: #1A1A1A; }
.badge.video { background: rgba(0,0,0,.7); }
.badge.sponsored { background: var(--slate); }
.cat-label { color: var(--red); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
html[lang="or"] .cat-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
.headline { font-family: var(--f-head); font-weight: 700; margin: 4px 0; line-height: 1.3; }
html[lang="or"] .headline { line-height: 1.5; }
.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; }
.meta { color: var(--slate); font-size: 12px; font-weight: 500; }
@media (min-width: 1024px) { .meta { font-size: 13px; } }

/* Hero */
.card-hero .thumb { aspect-ratio: 16/9; }
.card-hero .overlay { position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.card-hero .headline { font-size: 22px; }
.card-hero .cat-label { color: var(--gold); }
.card-hero .summary { font-size: 15px; opacity: .9; margin: 6px 0 0; }
.card-hero .meta { color: rgba(255,255,255,.75); }
@media (min-width: 1024px) { .card-hero .headline { font-size: 32px; } }

/* Standard */
.card-std .body { padding: 12px 14px 14px; }
.card-std .headline { font-size: 17px; }

/* List */
.card-list { display: flex; gap: 12px; padding: 10px; box-shadow: none; background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); }
.card-list:hover { transform: none; box-shadow: none; }
.card-list:hover .headline { color: var(--red); }
.card-list .thumb { width: 96px; flex: none; border-radius: 6px; }
.card-list .headline { font-size: 15px; margin: 2px 0 4px; }

/* Video */
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); z-index: 2; }
.play::before { content: ""; border-left: 18px solid var(--red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.play.sm { width: 40px; height: 40px; }
.play.sm::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }
.duration { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 6px; border-radius: 4px; z-index: 2; }
.card-video .body { padding: 10px 12px 12px; }
.card-video .headline { font-size: 15px; }

/* Short */
.card-short { border-radius: 12px; }
.card-short .overlay { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; z-index: 2; }
.card-short .headline { font-size: 14px; font-weight: 600; }

/* ---------- Grids & rows ---------- */
.top-block { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 1024px) { .top-block { grid-template-columns: 2fr 1fr; gap: 24px; } }
.top-side { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.top-side .card-list:last-child { border-bottom: 0; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cat-row { display: grid; gap: 16px; }
@media (min-width: 768px) { .cat-row { grid-template-columns: 1.4fr 1fr; } }
.cat-row .smalls { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.cat-row .smalls .card-list:last-child { border-bottom: 0; }
.scroller { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.scroller.videos { grid-auto-columns: minmax(260px, 1fr); }
@media (min-width: 1024px) { .scroller.videos { grid-auto-columns: calc((100% - 48px) / 4); } }
.scroller.shorts { grid-auto-columns: 160px; }
@media (min-width: 1024px) { .scroller.shorts { grid-auto-columns: calc((100% - 80px) / 6); } }

/* Live strip */
.live-strip { background: var(--red); color: #fff; border-radius: var(--radius); margin-top: 20px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; flex-wrap: wrap; }
.live-strip .live-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .08em; font-size: 14px; }
.live-strip .prog { flex: 1; min-width: 160px; font-weight: 500; }
.live-strip .prog small { display: block; opacity: .75; font-size: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 0; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--gold); color: #1A1A1A; }
.btn-outline { border: 2px solid var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-block { width: 100%; }

/* Latest feed */
.feed { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.feed .card-list:last-of-type { border-bottom: 0; }
.feed .load-more { padding: 12px; }

/* Districts */
.district-box { display: grid; gap: 20px; }
.district-box .map-wrap { max-width: 560px; width: 100%; margin: 0 auto; }
.district-box .pick { display: grid; gap: 12px; }
@media (min-width: 640px) { #distStories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } #distStories .card-list { flex-direction: column; border-bottom: 0; } #distStories .card-list .thumb { width: 100%; aspect-ratio: 16/9; } }
.odisha-map { width: 100%; height: auto; display: block; }
.odisha-map .d { fill: #FDE3D3; stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: fill .15s; }
html[data-theme="dark"] .odisha-map .d { fill: #3A2420; stroke: #121212; }
.odisha-map .d:hover, .odisha-map .d.sel { fill: var(--red); }
.odisha-map text { font-size: 8px; fill: var(--ink); pointer-events: none; font-weight: 600; }
.odisha-map .d:hover + text, .odisha-map .d.sel + text { fill: #fff; }
.select { width: 100%; padding: 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 16px; }

/* Sidebar widgets */
.widget-title { font-family: var(--f-head); font-weight: 600; font-size: 16px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 3px solid; border-image: var(--grad) 1; display: inline-block; }
.weather { display: flex; align-items: center; gap: 14px; }
.weather .temp { font-size: 40px; font-weight: 700; font-family: var(--f-head); line-height: 1; }
.weather .sun { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 40%, var(--saffron)); box-shadow: 0 0 0 6px rgba(255,194,14,.2); }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv b { font-weight: 600; }
.up { color: #15803D; font-size: 12px; } .down { color: var(--red); font-size: 12px; }
.trending { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.trending li { counter-increment: t; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trending li:last-child { border-bottom: 0; }
.trending li::before { content: counter(t); font-family: var(--f-head); font-size: 26px; font-weight: 800; color: var(--saffron); line-height: 1; width: 22px; flex: none; }
.trending a { font-weight: 600; font-size: 15px; line-height: 1.4; }
.trending a:hover { color: var(--red); }

/* Opinion */
.opinion-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .opinion-grid { grid-template-columns: repeat(3, 1fr); } }
.opinion { display: flex; gap: 12px; padding: 16px; align-items: flex-start; }
.opinion img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--saffron); }
.opinion .name { font-weight: 700; font-size: 13px; color: var(--globe); }

/* Galleries */
.gal-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Category / district banner ---------- */
.cat-banner { background: var(--grad); color: #fff; }
.cat-banner .container { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cat-banner h1 { margin: 0; font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.cat-banner .sub { opacity: .9; font-size: 15px; }
.cat-banner .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.subchips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.subchips::-webkit-scrollbar { display: none; }
.follow-btn.following { background: var(--gold); color: #1A1A1A; }

/* ---------- Article ---------- */
.breadcrumb { font-size: 13px; color: var(--slate); padding: 16px 0 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--red); }
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px 28px; }
@media (min-width: 768px) { .article { padding: 28px 36px 36px; } }
.article h1 { font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1.3; margin: 8px 0 10px; }
html[lang="or"] .article h1 { line-height: 1.5; }
@media (min-width: 1024px) { .article h1 { font-size: 36px; } }
.standfirst { font-size: 18px; color: var(--slate); margin: 0 0 18px; line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline .who { flex: 1; min-width: 160px; }
.byline .who b { display: block; font-size: 15px; }
.tools { display: flex; gap: 6px; align-items: center; }
.tools button { border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); border-radius: 6px; padding: 6px 10px; font-size: 14px; font-weight: 600; }
.tools button:hover { border-color: var(--red); color: var(--red); }
.share-bar { display: flex; gap: 8px; margin: 16px 0; }
.share-bar a, .share-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; border-radius: 6px; color: #fff; border: 0; font-weight: 600; font-size: 14px; padding: 0 12px; }
.share-bar svg { width: 18px; height: 18px; fill: currentColor; }
.share-bar .wa { background: #25D366; flex: 1; max-width: 200px; }
.share-bar .fb { background: #1877F2; }
.share-bar .x { background: #000; }
.share-bar .tg { background: #229ED9; }
.share-bar .cp { background: var(--slate); }
@media (max-width: 767px) {
  .share-bar.sticky-mobile { position: fixed; left: 0; right: 0; bottom: 64px; margin: 0; padding: 8px 12px; background: var(--paper); box-shadow: 0 -2px 10px rgba(0,0,0,.1); z-index: 45; }
  .share-bar.sticky-mobile .wa { max-width: none; }
}
figure { margin: 18px -16px; }
@media (min-width: 768px) { figure { margin: 22px 0; } }
figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { figure img { border-radius: var(--radius); } }
figcaption { font-size: 13px; color: var(--slate); padding: 8px 16px 0; }
@media (min-width: 768px) { figcaption { padding: 8px 0 0; } }
.article-body { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: var(--lh-body); }
@media (min-width: 1024px) { .article-body { font-size: 19px; } }
.article-body p { margin: 0 0 1.1em; }
.article-body a { color: var(--globe); text-decoration: underline; text-underline-offset: 2px; }
.article-body .dateline { font-weight: 700; }
.pull-quote { border-left: 5px solid var(--saffron); margin: 1.6em 0; padding: 4px 0 4px 20px; font-family: var(--f-head); font-size: 1.25em; font-weight: 600; line-height: 1.5; }
.pull-quote cite { display: block; font-size: 14px; font-style: normal; color: var(--slate); font-weight: 500; margin-top: 8px; }
.info-box { background: var(--paper-2); border-top: 4px solid var(--globe); border-radius: 0 0 var(--radius) var(--radius); padding: 16px 20px; margin: 1.5em 0; font-size: .92em; }
.info-box h4 { margin: 0 0 8px; color: var(--globe); font-family: var(--f-head); }
.info-box ul { margin: 0; padding-left: 20px; }
.also-read { border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 10px 14px; margin: 1.4em 0; font-size: .92em; border-radius: 0 6px 6px 0; }
.also-read b { color: var(--red); }
.also-read a { color: var(--ink) !important; text-decoration: none !important; font-weight: 600; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; }
.tags a { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.tags a:hover { border-color: var(--red); color: var(--red); }
.next-story { margin-top: 24px; text-align: center; color: var(--slate); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.next-story::before, .next-story::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Live TV ---------- */
.player { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.player .live-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-weight: 800; padding: 5px 10px; border-radius: 4px; display: inline-flex; gap: 8px; align-items: center; letter-spacing: .08em; font-size: 13px; z-index: 2; }
.player .viewers { position: absolute; top: 14px; left: 92px; background: rgba(0,0,0,.6); color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 13px; z-index: 2; }
.player img.watermark { position: absolute; top: 10px; right: 12px; width: 84px; height: auto; opacity: .9; z-index: 2; pointer-events: none; }
.player .controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; display: flex; align-items: center; gap: 12px; font-size: 13px; z-index: 2; }
.player .bar { flex: 1; height: 4px; background: rgba(255,255,255,.3); border-radius: 2px; position: relative; }
.player .bar::after { content: ""; position: absolute; inset: 0 0 0 0; background: var(--red); border-radius: 2px; }
.player .play { width: 76px; height: 76px; }
.player .play::before { border-left-width: 24px; border-top-width: 14px; border-bottom-width: 14px; margin-left: 7px; }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; gap: 14px; padding: 12px; border-radius: 6px; align-items: center; }
.schedule li + li { border-top: 1px solid var(--line); }
.schedule .time { font-weight: 700; font-size: 14px; width: 64px; color: var(--slate); flex: none; }
.schedule li.now { background: rgba(215,20,26,.08); border-left: 4px solid var(--red); }
.schedule li.now .time { color: var(--red); }
.schedule .now-tag { margin-left: auto; font-size: 11px; font-weight: 800; color: #fff; background: var(--red); border-radius: 4px; padding: 2px 6px; display: inline-flex; align-items: center; gap: 5px; letter-spacing: .05em; }
.live-layout { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { .live-layout { grid-template-columns: 2fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--red-deep) 0%, #3A0507 55%, #0A0A0A 100%); color: rgba(255,255,255,.85); margin-top: 40px; }
.site-footer .container { padding-top: 40px; padding-bottom: 24px; }
.foot-top { display: grid; gap: 28px; }
@media (min-width: 1024px) { .foot-top { grid-template-columns: 1.4fr repeat(5, 1fr); } }
.foot-brand .wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.foot-brand .wordmark img { height: 72px; width: auto; display: block; }
.foot-brand .wordmark span { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .02em; line-height: 1; font-style: italic; }
.foot-brand p { font-size: 14px; margin: 14px 0; line-height: 1.6; }
.foot-col h4 { color: #fff; font-family: var(--f-head); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
html[lang="or"] .foot-col h4 { text-transform: none; letter-spacing: 0; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 8px; font-size: 14px; }
.foot-col a:hover { color: var(--gold); }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .foot-cols { display: contents; } }
.foot-socials { display: flex; gap: 10px; margin: 12px 0; }
.foot-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; }
.foot-socials a:hover { background: var(--red); }
.foot-socials svg { width: 16px; height: 16px; fill: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Mobile bottom nav ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: var(--paper); border-top: 1px solid var(--line); display: flex; z-index: 60; box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.bottom-nav a, .bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--slate); background: none; border: 0; }
.bottom-nav a.active { color: var(--red); }
.bottom-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .live-ic { position: relative; }
.bottom-nav .live-ic .pulse { position: absolute; top: -2px; right: -4px; background: var(--red); }
@media (min-width: 1024px) { .bottom-nav { display: none; } }

/* ---------- Toast, back to top, soft prompts ---------- */
.toast { position: fixed; left: 50%; bottom: 140px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%); }
@media (min-width: 1024px) { .toast { bottom: 40px; } }
.to-top { position: fixed; right: 16px; bottom: 140px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: var(--shadow-lift); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; font-size: 20px; }
.to-top.show { opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .to-top { bottom: 24px; } }
.soft-prompt { position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 124px; max-width: 420px; margin: 0 auto; background: var(--card); border-radius: 12px; box-shadow: var(--shadow-lift); padding: 18px; border-top: 4px solid var(--red); display: none; }
.soft-prompt.show { display: block; }
.soft-prompt h4 { margin: 0 0 6px; font-family: var(--f-head); }
.soft-prompt p { margin: 0 0 14px; font-size: 14px; color: var(--slate); }
.soft-prompt .row { display: flex; gap: 8px; justify-content: flex-end; }
.btn-ghost { background: transparent; color: var(--slate); }
@media (min-width: 1024px) { .soft-prompt { left: auto; right: 24px; bottom: 24px; margin: 0; } }
.consent { bottom: 124px; }
@media (min-width: 1024px) { .consent { left: 24px; right: auto; } }

/* ---------- Static pages / forms ---------- */
.page-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; margin-top: 20px; }
@media (min-width: 768px) { .page-card { padding: 36px 44px; } }
.page-card h2 { font-family: var(--f-head); margin-top: 1.4em; }
.page-card p { line-height: var(--lh-body); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: -1px; }
.upload { border: 2px dashed var(--line); border-radius: 8px; padding: 24px; text-align: center; color: var(--slate); }

/* 404 */
.notfound { text-align: center; padding: 48px 16px; }
.notfound img { width: min(360px, 80vw); margin: 0 auto 12px; }
.notfound .big { font-family: var(--f-head); font-weight: 800; font-size: 80px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Font-size toggle */
.article-body.fs-1 { font-size: 15px; }
.article-body.fs-3 { font-size: 21px; }
.article-body.fs-4 { font-size: 23px; }

.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

/* Initials avatar (columnists, bylines) */
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 18px; border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--saffron); }
.avatar.sm { width: 44px; height: 44px; font-size: 15px; }
mark { background: rgba(255,194,14,.45); color: inherit; padding: 0 2px; border-radius: 2px; }

/* Generated video clips */
.thumb video.preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.player video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.unmute { position: absolute; right: 12px; bottom: 56px; z-index: 3; border: 0; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; padding: 8px 14px; font-weight: 600; font-size: 13px; }
.unmute:hover { background: var(--red); }
.featured { display: grid; gap: 16px; }
@media (min-width: 1024px) { .featured { grid-template-columns: 2fr 1fr; gap: 24px; } }
.featured-side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.featured-caption { padding: 14px; border-bottom: 3px solid; border-image: var(--grad) 1; }
.featured-caption .headline { font-size: 18px; }
.featured-pick { text-align: left; font: inherit; color: inherit; border: 0; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; width: 100%; cursor: pointer; }
.featured-pick.on { border-left-color: var(--red); background: var(--paper-2); }

/* CMS-driven pieces */
.breaking-banner { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.4; }
.breaking-banner .badge { position: static; background: var(--gold); color: #1A1A1A; flex: none; }
.breaking-banner:hover { background: var(--red-deep); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-video video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
@media (min-width: 768px) { .article-video video { border-radius: var(--radius); } }
.liveblog { border: 2px solid var(--red); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 1.4em; }
.liveblog h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--red); font-family: var(--f-head); }
.liveblog .pulse { background: var(--red); }
.lb-item { border-left: 3px solid var(--saffron); padding: 2px 0 2px 12px; margin: 10px 0; }
.lb-item p { margin: 2px 0 0; }
.article-body figure img, .article-body img { border-radius: var(--radius); }
.article-body blockquote { border-left: 5px solid var(--saffron); margin: 1.6em 0; padding: 4px 0 4px 20px; font-family: var(--f-head); font-size: 1.15em; font-weight: 600; }

/* forms backed by the CMS */
.newsletter { flex-wrap: wrap; }
.newsletter .consent { width: 100%; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.75); margin-top: 4px; }
.newsletter .consent input { margin-top: 2px; flex: none; }
.btn-wa { background: #25D366; color: #fff; margin-top: 10px; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.page-info { background: var(--paper-2); border-left: 4px solid var(--saffron); padding: 12px 16px; border-radius: 0 6px 6px 0; line-height: 1.8; }
.page-info a { color: var(--globe); }
.form-ok { background: rgba(21,128,61,.1); border: 1px solid rgba(21,128,61,.35); color: inherit; padding: 12px 16px; border-radius: 6px; }

/* live blog refresh */
.liveblog h3 small { font-family: var(--f-body); font-weight: 500; margin-left: auto; color: var(--slate); }
.lb-new { animation: lbIn .6s ease-out; background: rgba(247,147,30,.12); border-radius: 4px; }
@keyframes lbIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lb-pill { position: fixed; top: 120px; left: 50%; transform: translateX(-50%); z-index: 70; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; padding: 10px 18px; box-shadow: var(--shadow-lift); }
@media (prefers-reduced-motion: reduce) { .lb-new { animation: none; } }

/* offline reading */
.tools button.saved { border-color: var(--globe); color: var(--globe); }
.saved-item { align-items: flex-start; }
.saved-item .thumb { width: 96px; flex: none; }
.link-btn { background: none; border: 0; color: var(--red); font-weight: 600; padding: 4px 0; font-size: 13px; }
.net-banner { position: sticky; top: 0; z-index: 80; background: #1a1a1a; color: #fff; text-align: center; padding: 8px 12px; font-size: 14px; }
.net-banner a { color: var(--gold); font-weight: 700; margin-left: 6px; }

/* ---------- Grievance redressal page ---------- */
.cat-banner .gv-sub { margin: 6px 0 0; opacity: .92; font-size: 15px; max-width: 760px; }
.gv-lead { font-size: 17px; line-height: 1.7; margin-top: 0; }
.gv-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.gv-officer { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 18px 20px; background: var(--paper); }
.gv-officer-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.gv-badge { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--paper-2); }
.gv-k { font-size: 13px; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.gv-name { font-family: var(--f-head); font-size: 22px; font-weight: 700; line-height: 1.25; }
.gv-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.gv-dl dt { font-weight: 600; color: var(--slate); }
.gv-dl dd { margin: 0; word-break: break-word; }
.gv-dl a, .gv a:not(.btn) { color: var(--globe); }
.gv-sec { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.gv-sec h2 { margin: 0 0 12px; font-size: 21px; }
.gv-list { margin: 8px 0 12px; padding-left: 20px; line-height: 1.75; }
.gv-muted { color: var(--slate); font-size: 15px; }
.gv-steps { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.gv-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.gv-steps li { position: relative; display: flex; gap: 16px; padding: 0 0 18px; }
.gv-steps li p { margin: 4px 0 0; line-height: 1.6; }
.gv-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; }
.gv-when { font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .03em; }
.gv-reports { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.gv-form .gv-req { color: var(--red); }
.gv-hint { display: block; margin-top: 4px; color: var(--slate); font-size: 13px; }
.gv-form select { width: 100%; }
.gv-check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; font-size: 15px; }
.gv-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.gv-ack { border: 2px solid #15803d; background: #f0fdf4; color: #14532d; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.gv-ack .gv-dl dt { color: #166534; }
.gv-ack-title { font-family: var(--f-head); font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.gv-ack p { margin: 12px 0; }
html[data-theme="dark"] .gv-ack { background: #052e16; color: #dcfce7; }
@media print { .site-header, .site-footer, .bottom-nav, .sidebar, .gv-form, .chip-row, .ticker, .ad-slot, .mobile-sticky-ad { display: none !important; } }
html[data-theme="dark"] .gv-ack .gv-dl dt { color: #86efac; }
.gv-desig { font-size: 14px; color: var(--slate); }

/* ---------- live weather + panjika ---------- */
.wx-wrap { position: relative; }
.wx-chip { background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; white-space: nowrap; }
.wx-chip:hover { text-decoration: underline; }
.wx-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; background: var(--card); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 12px; width: 260px; }
.wx-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wx-picker select { flex: 1 1 140px; min-width: 0; height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.wx-locate { height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); color: var(--ink); padding: 0 10px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.wx-locate:disabled { opacity: .6; }
.wx-icon { font-size: 44px; line-height: 1; }
.wx-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 14px; color: var(--slate); }
.wx-credit { margin-top: 8px; font-size: 12px; color: var(--slate); }
.wx-credit a { color: inherit; text-decoration: underline; }
.wx-skel { color: var(--slate); font-size: 14px; padding: 6px 0; }
[data-panjika] .kv b small { font-weight: 500; color: var(--slate); }
.wx-allow { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--paper-2); }
.wx-allow-btn { width: 100%; justify-content: center; }
.wx-allow small { display: block; margin-top: 6px; color: var(--slate); font-size: 12px; line-height: 1.4; }
