/* ============================================================
   KYAKHABARHAI? — style.css
   Dark Theme | Indian Tricolor Identity
   ============================================================ */

/* ---- 0. FONTS ---- */
/* Inter (body), Space Grotesk (headlines), JetBrains Mono (data/mono),
   Noto Sans Devanagari/Telugu/Tamil/Malayalam — all share matching metrics */

/* ---- 1. COLOR TOKENS ---- */
html {
  --bg:  #000;
  --su:  #0a0a0a;
  --ri:  #111;
  --bo:  #1e1e1e;
  --tx:  #f0ece4;
  --sb:  #777;
  --ac:  #FF9933;
  --grn: #138808;
  --nvy: #000080;
  --up:  #138808;
  --dn:  #e03228;
}

/* ---- 2. CUSTOM TRICOLOR CURSOR ---- */
html,
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' stroke='%23138808' stroke-width='2' fill='none'/%3E%3Ccircle cx='16' cy='16' r='8' stroke='%23FFFFFF' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='16' cy='16' r='3' fill='%23FF9933'/%3E%3C/svg%3E") 16 16, auto;
}

a,
button,
[onclick],
input[type="submit"],
input[type="button"],
select,
label[for],
.cat-btn,
.lb,
.ctrl button,
.ff-load-more,
.ff-mkt-tab,
.ff-curr-sel,
.ff-comm-cur-btn {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23138808' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='5' stroke='%23FFFFFF' stroke-width='1.5' fill='none'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23FF9933'/%3E%3Cline x1='20' y1='20' x2='30' y2='30' stroke='%23FF9933' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, pointer;
}

/* ---- 3. RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--ac);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

input, select, textarea {
  font: inherit;
  color: var(--tx);
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 4px;
  padding: .45em .65em;
  outline: none;
  transition: border-color .2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ac);
}

/* ---- 4. SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bo);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bo) var(--bg);
}

/* ---- 5. TRICOLOR BAR ---- */
.tricolor {
  height: 3px;
  background: linear-gradient(90deg, #FF9933 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #138808 66.66%);
  width: 100%;
  flex-shrink: 0;
}

/* ---- 6. HEADER ---- */
.hdr {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--bo);
}

.mh-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.mh-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  justify-self: center;
  text-decoration: none;
}

.logo:hover { color: var(--tx); }

.logo-img {
  height: 57px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,153,51,.45));
  transition: filter .3s;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(255,153,51,.75));
}

.logo-name {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.44rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--tx);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.logo-q {
  color: var(--ac);
  font-weight: 800;
}

.logo-tag {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem;
  font-weight: 500;
  color: var(--sb);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* Language switcher */
.lang-sw {
  display: flex;
  gap: 6px;
  justify-self: start;
}

.lb {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--bo);
  background: transparent;
  color: var(--sb);
  transition: all .2s;
}

.lb:hover {
  border-color: var(--ac);
  color: var(--tx);
}

.lb.on {
  background: var(--ac);
  color: #000;
  border-color: var(--ac);
}

/* Controls */
.ctrl {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.ctrl button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}

.ctrl button:hover {
  border-color: var(--ac);
  background: rgba(255, 153, 51, .08);
}

/* Date strip */
.date-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: var(--sb);
  border-top: 1px solid var(--bo);
}

.day-lbl {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ac);
  font-weight: 600;
}

.dsep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bo);
  flex-shrink: 0;
}

.date-full {
  color: var(--sb);
}

.clock-lbl {
  text-transform: uppercase;
  color: var(--sb);
}

.clock-time {
  color: var(--tx);
  font-weight: 600;
}

/* ---- 7. MARKET TICKER ---- */
.mkts {
  background: var(--su);
  border-bottom: 1px solid var(--bo);
  overflow-x: auto;
  white-space: nowrap;
  padding: 6px 16px;
  display: flex;
  gap: 24px;
  -webkit-overflow-scrolling: touch;
}

.mkts::-webkit-scrollbar {
  height: 0;
}

.mkt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  flex-shrink: 0;
}

.mkt-label {
  color: var(--sb);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.mkt-v {
  color: var(--tx);
  font-weight: 600;
}

.mkt-c {
  font-size: .72rem;
}

.mkt-c.up {
  color: var(--up);
}

.mkt-c.dn {
  color: var(--dn);
}

/* ---- 8. BREAKING TICKER ---- */
.ticker {
  background: var(--ac);
  color: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 34px;
  position: relative;
}

.tk-lbl {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 14px;
  background: #e07800;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.tk-scroll {
  overflow: hidden;
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.tk-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-family: 'Noto Sans', sans-serif;
  font-size: .82rem;
  font-weight: 600;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- 9. CATEGORY NAV ---- */
.cat-outer {
  border-bottom: 1px solid var(--bo);
  background: var(--bg);
}

.cat-bar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}

.cat-bar::-webkit-scrollbar {
  height: 0;
}

.cat-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
  color: var(--sb);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
}

.cat-btn:hover,
.cat-btn.on {
  color: var(--tx);
  border-bottom-color: var(--ac);
}

/* ---- 10. LIVE BAR ---- */
.live-outer {
  border-top: 2px solid var(--grn);
  background: var(--su);
  border-bottom: 1px solid var(--bo);
}

.live-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 16px;
}

.le-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.le-badge {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grn);
  display: flex;
  align-items: center;
  gap: 6px;
}

.le-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grn);
  animation: blink-dot 1.4s ease-in-out infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: .2; }
}

.le-events {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.le-events::-webkit-scrollbar {
  height: 4px;
}

.le-ev {
  flex-shrink: 0;
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: .82rem;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color .2s;
}

.le-ev:hover {
  border-color: var(--grn);
}

.le-ev.brk {
  border-left: 3px solid var(--ac);
}

/* ---- 11. FLASHFEED 3-COLUMN LAYOUT ---- */
.ff-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
}

.ff-grid {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 24px;
  align-items: start;
}

.ff-left {
  position: sticky;
  top: 80px;
}

.ff-centre {
  min-width: 0;
}

.ff-right {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---- 12. MOST READ ---- */
.ff-mostread {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff-mr-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--bo);
  transition: background .15s;
}

.ff-mr-item:hover {
  background: var(--su);
}

.ff-mr-item:last-child {
  border-bottom: none;
}

.ff-mr-num {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ac);
  line-height: 1;
  min-width: 32px;
  flex-shrink: 0;
  opacity: .7;
}

.ff-mr-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tx);
}

.ff-mr-title:hover {
  color: var(--ac);
}

/* ---- 13. HERO ARTICLE ---- */
.ff-hero {
  margin-bottom: 28px;
}

.ff-hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--ri);
}

.ff-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-hero-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--tx);
  margin-bottom: 10px;
}

.ff-hero-title:hover {
  color: var(--ac);
}

.ff-hero-deck {
  font-size: .92rem;
  color: var(--sb);
  line-height: 1.55;
  margin-bottom: 8px;
}

.ff-hero-byline {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--sb);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---- 14. SUB STORIES ---- */
.ff-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.ff-sub-card {
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, transform .15s;
}

.ff-sub-card:hover {
  border-color: var(--ac);
  transform: translateY(-2px);
}

.ff-sub-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ff-sub-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 10px 12px;
  line-height: 1.3;
}

.ff-sub-hidden {
  display: none;
}

.ff-load-more {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--ac);
  border-radius: 6px;
  color: var(--ac);
  background: transparent;
  margin-bottom: 28px;
  transition: background .2s, color .2s;
}

.ff-load-more:hover {
  background: var(--ac);
  color: #000;
}

/* ---- 15. CATEGORY STRIPS ---- */
.ff-strip {
  margin-bottom: 28px;
}

.ff-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bo);
}

.ff-strip-head h2,
.ff-strip-head .ff-strip-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ff-strip-head .ff-strip-icon {
  font-size: 0.88rem;
}

.ff-strip-head a {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--ac);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ff-strip-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.ff-strip-cards::-webkit-scrollbar {
  height: 4px;
}

.ff-sc {
  flex-shrink: 0;
  width: 220px;
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}

.ff-sc:hover {
  border-color: var(--ac);
}

.ff-sc img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ff-sc .ff-sc-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 10px;
  line-height: 1.3;
}

.ff-sc .ff-sc-cat {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 10px 8px;
  color: var(--ac);
}

/* ---- 16. PANELS / WIDGETS ---- */
.ff-panel {
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
}

.ff-panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bo);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tx);
}

.ff-panel-icon {
  font-size: 1rem;
  color: var(--ac);
}

/* ---- 17. MARKETS WIDGET ---- */
.ff-stocks {
  padding: 0;
}

.ff-stock-search {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bo);
}

.ff-stock-input {
  flex: 1;
  font-size: .82rem;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--su);
  border: 1px solid var(--bo);
  color: var(--tx);
}

.ff-stock-input:focus {
  border-color: var(--ac);
}

.ff-stock-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--ac);
  border-radius: 4px;
  color: var(--ac);
  background: transparent;
  transition: background .2s, color .2s;
}

.ff-stock-btn:hover {
  background: var(--ac);
  color: #000;
}

.ff-mkt-tabs {
  display: flex;
  border-bottom: 1px solid var(--bo);
}

.ff-mkt-tab {
  flex: 1;
  padding: 8px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  color: var(--sb);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.ff-mkt-tab:hover,
.ff-mkt-tab.on {
  color: var(--ac);
  border-bottom-color: var(--ac);
}

.ff-stock-row {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  font-size: .82rem;
  transition: background .15s;
}

.ff-stock-row:hover {
  background: var(--su);
}

.ff-stock-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ff-stock-sym {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: .78rem;
  color: var(--tx);
}

.ff-stock-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  color: var(--tx);
  margin-right: 12px;
}

.ff-stock-chg {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.ff-stock-chg.up {
  color: var(--up);
  background: rgba(19, 136, 8, .12);
}

.ff-stock-chg.dn {
  color: var(--dn);
  background: rgba(224, 50, 40, .12);
}

/* Stock lookup result */
.ff-stock-lookup-result {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bo);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 153, 51, .04);
}

.ff-stock-lookup-sym {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ac);
}

.ff-stock-lookup-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem;
  margin-left: auto;
}

.ff-stock-lookup-chg {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.ff-stock-lookup-chg.up {
  color: var(--up);
  background: rgba(19, 136, 8, .12);
}

.ff-stock-lookup-chg.dn {
  color: var(--dn);
  background: rgba(224, 50, 40, .12);
}

/* Volume badge */
.ff-stock-vol {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  color: var(--sb);
  margin-left: 6px;
}

.ff-vol-badge {
  font-size: .6rem;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--bo);
  color: var(--sb);
  font-family: 'JetBrains Mono', monospace;
}

/* Market section headers */
.ff-mkt-section {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  background: var(--su);
  border-bottom: 1px solid var(--bo);
  color: var(--sb);
}

.ff-mkt-section.gain {
  color: var(--up);
  border-left: 3px solid var(--up);
}

.ff-mkt-section.loss {
  color: var(--dn);
  border-left: 3px solid var(--dn);
}

/* ---- 18. COMMODITIES ---- */
.ff-commodities {
  padding: 0;
}

.ff-comm-block {
  border-bottom: 1px solid var(--bo);
}

.ff-comm-block:last-child {
  border-bottom: none;
}

.ff-comm-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s;
}

.ff-comm-head-row:hover {
  background: var(--su);
}

.ff-comm-weights {
  padding: 0 14px 10px;
}

.ff-comm-wrow {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: .8rem;
  color: var(--sb);
  border-bottom: 1px dashed rgba(30,30,30,.6);
}

.ff-comm-wrow:last-child {
  border-bottom: none;
}

.ff-comm-cur-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--bo);
  border-radius: 3px;
  color: var(--sb);
  background: transparent;
  transition: all .2s;
}

.ff-comm-cur-btn:hover,
.ff-comm-cur-btn.on {
  border-color: var(--ac);
  color: var(--ac);
}

/* ---- 19. AQI ---- */
.ff-aqi {
  padding: 0;
}

.ff-aqi-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  font-size: .82rem;
  transition: background .15s;
}

.ff-aqi-row:hover {
  background: var(--su);
}

.ff-aqi-row:last-child {
  border-bottom: none;
}

.ff-aqi-city {
  flex: 1;
  color: var(--tx);
}

.ff-aqi-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.ff-aqi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ff-aqi-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  min-width: 70px;
}

/* ---- 20. CURRENCY CONVERTER ---- */
.ff-currency {
  padding: 14px;
}

.ff-curr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ff-curr-input {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: .9rem;
  padding: 8px 10px;
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 4px;
  color: var(--tx);
}

.ff-curr-input:focus {
  border-color: var(--ac);
}

.ff-curr-sel {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  padding: 8px 10px;
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 4px;
  color: var(--tx);
  min-width: 70px;
  appearance: none;
  -webkit-appearance: none;
}

.ff-curr-sel:focus {
  border-color: var(--ac);
}

.ff-curr-arrow {
  font-size: 1.1rem;
  color: var(--ac);
  flex-shrink: 0;
}

.ff-curr-result {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  color: var(--ac);
}

/* ---- 21. TODAY IN HISTORY ---- */
.ff-otd {
  padding: 0;
}

.ff-otd-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 14px;
  color: var(--ac);
  border-bottom: 1px solid var(--bo);
}

.ff-otd-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: background .15s;
}

.ff-otd-item:hover {
  background: var(--su);
}

.ff-otd-item:last-child {
  border-bottom: none;
}

.ff-otd-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ac);
  flex-shrink: 0;
  min-width: 40px;
}

.ff-otd-text {
  font-size: .82rem;
  color: var(--sb);
  line-height: 1.45;
}

/* ---- 22. OP-EDS / OPINION ---- */
.ff-opeds {
  padding: 0;
}

.ff-oped-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  position: relative;
  transition: background .15s;
}

.ff-oped-item:hover {
  background: var(--su);
}

.ff-oped-item:last-child {
  border-bottom: none;
}

.ff-oped-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  padding-right: 20px;
}

.ff-oped-deck {
  font-size: .78rem;
  color: var(--sb);
  line-height: 1.4;
}

.ff-oped-beacon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---- 23. 4-COLUMN GRID ---- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.grid-4-item {
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, transform .15s;
}

.grid-4-item:hover {
  border-color: var(--ac);
  transform: translateY(-2px);
}

.g4-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.g4-cat {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ac);
  padding: 10px 12px 0;
}

.g4-hl {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  padding: 4px 12px;
  line-height: 1.3;
}

.g4-deck {
  font-size: .78rem;
  color: var(--sb);
  padding: 0 12px 12px;
  line-height: 1.4;
}

/* ---- 24. 2-COLUMN GRID ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.g2-left,
.g2-right {
  min-width: 0;
}

/* ---- 25. OLD LAYOUT CLASSES (backward compat) ---- */
.grid {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
}

.col-a {
  min-width: 0;
}

.col-b {
  min-width: 0;
}

.col-c {
  min-width: 0;
}

.hero-art {
  margin-bottom: 24px;
}

.hero-hl {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.hero-deck {
  font-size: .9rem;
  color: var(--sb);
  line-height: 1.5;
  margin-bottom: 8px;
}

.cat-tag {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ac);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
  display: inline-block;
}

.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--sb);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.side-art {
  padding: 12px 0;
  border-bottom: 1px solid var(--bo);
}

.side-art:last-child {
  border-bottom: none;
}

.side-hl {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.side-hl:hover {
  color: var(--ac);
}

.sub-art {
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color .2s;
}

.sub-art:hover {
  border-color: var(--ac);
}

.sub-hl {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 10px 12px 4px;
  line-height: 1.3;
}

.sub-deck {
  font-size: .78rem;
  color: var(--sb);
  padding: 0 12px 10px;
  line-height: 1.4;
}

.rank-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--bo);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ac);
  opacity: .6;
  line-height: 1;
  min-width: 28px;
}

.rank-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
}

.rank-cat {
  font-size: .6rem;
  text-transform: uppercase;
  color: var(--ac);
  letter-spacing: 1px;
}

.sec {
  margin-bottom: 24px;
}

.widget {
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.wh {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bo);
}

.wt {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .9rem;
  font-weight: 600;
}

.ws {
  font-size: .78rem;
  color: var(--sb);
}

.wb {
  padding: 10px 14px;
}

.drow {
  display: flex;
  justify-content: space-between;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  font-size: .82rem;
}

.drow:last-child {
  border-bottom: none;
}

/* ---- 26. FOOTER ---- */
.footer {
  background: var(--su);
  border-top: 1px solid var(--bo);
  margin-top: 40px;
}

.ft {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.ft-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--bo);
  align-items: flex-start;
}

.ft-name {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.ft-q {
  color: var(--ac);
}

.ft-tag {
  font-size: .7rem;
  color: var(--sb);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
}

.ft-desc {
  font-size: .82rem;
  color: var(--sb);
  max-width: 360px;
  line-height: 1.55;
}

.ft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ft-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sb);
  transition: color .2s;
}

.ft-link:hover {
  color: var(--ac);
}

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.ft-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  color: var(--sb);
}

.ft-tri {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #FF9933 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #138808 66.66%);
  border-radius: 2px;
}

/* ---- 27. FUNNY SECTION ---- */
.ff-funny {
  padding: 0;
}

.ff-funny-item {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(30,30,30,.6);
  transition: background .15s;
}

.ff-funny-item:hover {
  background: var(--su);
}

.ff-funny-item:last-child {
  border-bottom: none;
}

.ff-funny-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---- 28. BREAKING BADGE ---- */
.ff-breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dn);
  font-weight: 600;
}

.ff-breaking-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dn);
  animation: pulse-break 1.2s ease-in-out infinite;
}

@keyframes pulse-break {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.6); }
}

/* ---- 29. TAGS ---- */
.ff-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ac);
  margin-bottom: 4px;
}

/* ---- 30. LOADING STATES ---- */
.ff-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--sb);
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
}

.ff-loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--bo);
  border-top-color: var(--ac);
  border-radius: 50%;
  margin-left: 10px;
  animation: spin-load .8s linear infinite;
}

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

.ff-mkt-loading {
  padding: 20px 14px;
  text-align: center;
  color: var(--sb);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
}

.ff-mkt-loading::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--bo);
  border-top-color: var(--ac);
  border-radius: 50%;
  margin: 8px auto 0;
  animation: spin-load .8s linear infinite;
}

/* ---- 31. RESPONSIVE ---- */

/* Below 1200px */
@media (max-width: 1200px) {
  .ff-grid {
    grid-template-columns: 1fr;
  }

  .ff-left {
    position: static;
    order: 2;
  }

  .ff-centre {
    order: 1;
  }

  .ff-right {
    position: static;
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

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

  .mh-top {
    grid-template-columns: auto 1fr auto;
  }
}

/* Below 768px */
@media (max-width: 768px) {
  .ff-grid {
    gap: 16px;
  }

  .ff-right {
    grid-template-columns: 1fr;
  }

  .ff-sub-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .ff-hero-title {
    font-size: 1.5rem;
  }

  .hero-hl {
    font-size: 1.4rem;
  }

  .ft-top {
    flex-direction: column;
    gap: 20px;
  }

  .mh-top {
    gap: 10px;
  }

  .logo-img {
    height: 70px;
  }

  .logo-name {
    font-size: 1rem;
  }
}

/* Below 600px */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }

  .lang-sw {
    display: none;
  }

  .mh-top {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .logo-img {
    height: 56px;
  }

  .logo-name {
    font-size: .9rem;
  }

  .date-strip {
    font-size: .7rem;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cat-btn {
    font-size: .7rem;
    padding: 8px 12px;
  }

  .ff-hero-title {
    font-size: 1.3rem;
  }

  .hero-hl {
    font-size: 1.2rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .ff-page {
    padding: 12px 10px;
  }

  .mkts {
    padding: 6px 10px;
    gap: 16px;
  }

  .ctrl button {
    width: 32px;
    height: 32px;
    font-size: .85rem;
  }

  .ft-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .le-ev {
    max-width: 220px;
    padding: 6px 10px;
    font-size: .78rem;
  }

  .ff-sc {
    width: 180px;
  }

  .ff-curr-row {
    flex-wrap: wrap;
  }
}

/* ---- 32. UTILITY ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Selection color */
::selection {
  background: var(--ac);
  color: #000;
}

::-moz-selection {
  background: var(--ac);
  color: #000;
}


/* ============================================
   KYAKHABARHAI — FLASHFEED-STYLE OVERHAUL
   ============================================ */

/* --- Live card category badges (tricolor) --- */
.le-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.le-ev:nth-child(3n+1) .le-cat { background: #FF9933; color: #000; }
.le-ev:nth-child(3n+2) .le-cat { background: #FFFFFF; color: #111; }
.le-ev:nth-child(3n) .le-cat { background: #138808; color: #fff; }

/* --- Breaking badge on live cards --- */
.le-ev.brk .le-cat { position: relative; }
.le-ev.brk::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #FF9933;
  border-radius: 3px 0 0 3px;
}

/* --- Live card time stamps — smaller, subtle --- */
.le-time {
  font-size: 0.68rem !important;
  color: var(--sb) !important;
  opacity: 0.7;
  font-family: 'JetBrains Mono', monospace;
}

/* --- Hero section timestamps --- */
.ff-hero-time {
  font-size: 0.72rem !important;
  color: var(--sb) !important;
  font-family: 'JetBrains Mono', monospace;
}

/* --- Category tags (FlashFeed-style colored badges) --- */
.ff-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ac);
  color: #000;
}

/* --- Hero meta row — FlashFeed-style layout --- */
.ff-hero-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

/* --- Sub-story card tags --- */
.ff-sub-card .ff-tag {
  font-size: 0.66rem;
  padding: 1px 8px;
}

/* --- Most Read tags --- */
.ff-mr-body .ff-tag {
  font-size: 0.5rem;
  padding: 1px 6px;
  border-radius: 2px;
}

/* --- Live section header refinement --- */
.le-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.le-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}
.le-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grn);
}
.le-sub {
  font-size: 0.68rem;
  color: var(--sb);
  font-family: 'JetBrains Mono', monospace;
}

/* --- Live events strip — better card styling --- */
.le-ev {
  position: relative;
  border: 1px solid var(--bo);
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--su);
  transition: border-color 0.2s;
}
.le-ev:hover {
  border-color: var(--ac);
}
.le-title {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--tx);
}

/* --- Header refinements --- */
.mh-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 12px 20px;
}
.logo {
  justify-self: center;
}

/* --- Search & settings buttons (bigger) --- */
.mh-right {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mh-right > * {
  font-size: 1.3rem;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Category nav bar — FlashFeed-style --- */
.ff-cats {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--bo);
  padding: 0 16px;
}
.ff-cats button, .ff-cats a {
  padding: 10px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sb);
  border: none;
  background: none;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.ff-cats button:hover, .ff-cats a:hover,
.ff-cats button.active, .ff-cats a.active {
  color: var(--ac);
  border-bottom-color: var(--ac);
}

/* --- Breaking ticker refinement --- */
.ff-breaking-badge {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
  background: #fff;
  color: #c00;
}

/* --- Date strip refinement --- */
.mh-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ac);
}

/* --- Panel titles — FlashFeed-style with emoji --- */
.ff-panel-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ac);
  margin-bottom: 12px;
}

/* --- Hero title — FlashFeed-style --- */
.ff-hero-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* --- Hero byline — cleaner --- */
.ff-hero-byline {
  font-size: 0.7rem;
  color: var(--sb);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bo);
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
  .logo-img { height: 39px; }
  .logo-name { font-size: 1.4rem; }
  .logo { align-items: center; text-align: center; }
  .mh-top { grid-template-columns: auto 1fr auto; }
  .mh-right > * { font-size: 1.5rem; min-width: 44px; min-height: 29px; }
}

@media (max-width: 600px) {
  .logo-img { height: 29px; }
  .logo-name { font-size: 1.1rem; }
  .mh-right > * { font-size: 1.4rem; min-width: 40px; min-height: 40px; }
  .le-ev { padding: 10px 12px; }
  .le-cat { font-size: 0.55rem; padding: 1px 6px; }
}


/* ============================================
   BATCH FIX — layout, overlap, widgets, footer
   ============================================ */

/* 1. Top space above header */
.mh-top { padding-top: 24px !important; }

/* 2. Hide search & settings buttons */
.mh-right .ctrl { display: none !important; }

/* 3. Breaking + tag overlap fix — inline row */
.ff-hero > .ff-breaking-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.6rem;
  vertical-align: middle;
}
.ff-hero-meta-top {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ff-hero-meta-top .ff-tag {
  display: inline-block !important;
  margin: 0;
}
.ff-hero-meta-top .ff-hero-time {
  display: inline !important;
  font-size: 0.68rem !important;
}

/* 4. Most Read numbers — smaller, bottom-aligned, colored */
.ff-mr-num {
  font-size: 1rem !important;
  font-weight: 800;
  color: var(--ac) !important;
  opacity: 0.6;
  min-width: 22px;
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}
.ff-mr-item {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bo);
}
.ff-mr-item:last-child { border-bottom: none; }

/* 5. Markets widget — hide Yahoo shortcodes */
.ff-stock-sym { display: none !important; }

/* 6. Commodities — collapsible weights */
.ff-comm-weights {
  display: none !important;
  overflow: hidden;
}
.ff-comm-block.open .ff-comm-weights {
  display: block !important;
}
.ff-comm-head-row {
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid var(--bo);
  transition: background 0.2s;
}
.ff-comm-head-row:hover {
  background: var(--ri);
}
.ff-comm-toggle {
  transition: transform 0.2s;
}
.ff-comm-block.open .ff-comm-toggle {
  transform: rotate(180deg);
}

/* 7. Sub-card timestamps — FlashFeed style inline */
.ff-sub-card .ff-tag {
  display: inline-block !important;
  vertical-align: middle;
}
.ff-sub-time {
  font-size: 0.65rem !important;
  color: var(--sb) !important;
  font-family: 'JetBrains Mono', monospace;
  display: inline !important;
  margin-left: 8px;
  vertical-align: middle;
}

/* 8. Footer — left-aligned, compact */
.ft {
  text-align: left !important;
  padding: 30px 24px 16px !important;
}
.ft-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap;
  gap: 20px;
}
.ft-top > div:first-child {
  max-width: 400px;
}
.ft-links {
  display: flex !important;
  gap: 16px;
  flex-wrap: wrap;
}
.ft-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ft-bottom {
  text-align: left !important;
  font-size: 0.65rem;
  color: var(--sb);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--bo);
}

/* 9. Mobile — logo centered, no search, compact footer */
@media (max-width: 768px) {
  .mh-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
  }
  .mh-left {
    order: 2;
  }
  .logo {
    order: 1;
    align-items: center !important;
  }
  .mh-right {
    display: none !important;
  }
  .ft-top {
    flex-direction: column !important;
    gap: 12px;
  }
  .ft-links {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .mh-top { padding-top: 12px !important; }
  .ft { padding: 20px 16px 12px !important; }
  .ff-mr-num { font-size: 0.85rem !important; }
}

/* 10. Live strip color matching */
.live-outer {
  border-top: 3px solid var(--grn) !important;
}
.le-badge {
  background: var(--grn);
  color: #fff;
  padding: 2px 10px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.le-lbl {
  color: #fff !important;
}
.le-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}


/* ============================================
   MEGA FIX — all remaining issues
   ============================================ */

/* 1. MORE TOP SPACE — both desktop and mobile */
.mh-top { padding-top: 40px !important; }
@media (max-width: 768px) { .mh-top { padding-top: 28px !important; } }

/* 2. SHUKRAVAR FLASH animation */
@keyframes day-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.day-lbl {
  animation: day-flash 2.5s ease-in-out infinite;
  color: var(--ac) !important;
  font-weight: 700;
}

/* 3. LOGO BREATHING glow animation */
@keyframes logo-breathe {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(255,153,51,0.45)); }
  50% { filter: drop-shadow(0 0 28px rgba(255,153,51,0.85)); }
}
.logo-img {
  animation: logo-breathe 3s ease-in-out infinite !important;
}

/* 4. LIVE SECTION — light white strip */
.live-outer {
  background: rgba(255,255,255,0.04) !important;
  border-top: 3px solid var(--grn) !important;
  border-bottom: 1px solid var(--bo) !important;
  padding: 14px 16px !important;
}

/* 5. AQI DOTS — fix display */
.ff-aqi-dot {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  vertical-align: middle;
  margin-right: 4px;
}

/* 6. COMMODITY — click-to-expand styling */
.ff-comm-head-row {
  cursor: pointer !important;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--bo);
}
.ff-comm-head-row:hover { background: var(--ri); border-radius: 4px; padding: 10px 8px !important; }
.ff-comm-weights {
  display: none !important;
  padding: 8px 0;
}
.ff-comm-block.open .ff-comm-weights {
  display: block !important;
}
.ff-comm-toggle {
  transition: transform 0.3s !important;
  font-size: 0.8rem;
}
.ff-comm-block.open .ff-comm-toggle {
  transform: rotate(180deg) !important;
}

/* 7. LANGUAGE OVERFLOW — live strip and all sections */
.le-title, .le-ev, .sub-hl, .sub-deck, .ff-hero-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
.le-ev {
  min-width: 220px;
  max-width: 320px;
  flex-shrink: 0;
}

/* 8. TITLE vs BODY distinction — sub stories */
.sub-hl, .ff-sub-title {
  font-family: 'Space Grotesk', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  color: var(--tx) !important;
  margin-bottom: 4px;
}
.sub-deck, .ff-sub-deck {
  font-size: 0.78rem !important;
  color: var(--sb) !important;
  line-height: 1.45;
  font-weight: 400 !important;
}
.meta {
  font-size: 0.65rem !important;
  color: var(--sb) !important;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.7;
  margin: 2px 0 4px;
}

/* 9. VISHLESHAN (Opinion/Analysis) — distinct container */
.g2-left {
  background: var(--su) !important;
  border: 1px solid var(--bo) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}
.g2-left .sec {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--ac) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--ac) !important;
  margin-bottom: 14px !important;
}
.g2-left .sub-art {
  background: var(--ri) !important;
  border: 1px solid var(--bo) !important;
  border-radius: 6px !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
  transition: border-color 0.2s;
}
.g2-left .sub-art:hover {
  border-color: var(--ac) !important;
}
.g2-left .sub-art:last-child { margin-bottom: 0 !important; }

/* 10. RAJYA (States) — container boxes */
.g2-right {
  background: var(--su) !important;
  border: 1px solid var(--bo) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}
.g2-right .sec {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--grn) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--grn) !important;
  margin-bottom: 14px !important;
}
.side-art {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--bo) !important;
}
.side-art:last-child { border-bottom: none !important; }

/* State name badge */
.side-art .st-name, .side-art > *:first-child {
  display: inline-block !important;
  background: var(--grn) !important;
  color: #fff !important;
  padding: 2px 10px !important;
  border-radius: 3px !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 6px !important;
}
.side-art .st-hl {
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: var(--tx) !important;
  line-height: 1.35;
}

/* 11. BREAKING + TAG — same row, not overlapping */
.ff-hero > .ff-breaking-badge {
  display: inline-flex !important;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 0 !important;
}
.ff-hero-meta-top {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  vertical-align: middle;
  margin-bottom: 8px !important;
}

/* 12. MOST READ numbers — compact */
.ff-mr-num {
  font-size: 0.85rem !important;
  min-width: 20px !important;
  opacity: 0.5 !important;
}
.ff-mr-item {
  align-items: flex-start !important;
  padding: 6px 0 !important;
}

/* 13. MOBILE — language dropdown, logo size, centered */
@media (max-width: 600px) {
  /* Language as dropdown */
  .lang-sw {
    display: block !important;
  }
  .mh-left .lb {
    display: none !important;
  }
  /* Logo +12% from current 29px = 32px */
  .logo-img { height: 32px !important; }
  .logo-name { font-size: 0.95rem !important; }
  /* Center logo */
  .logo { align-items: center !important; text-align: center !important; }
  .mh-top {
    padding-top: 20px !important;
  }
  /* Hide search/settings */
  .mh-right { display: none !important; }
  /* Grid sections stack */
  .grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* Logo +12% from 39px = 44px */
  .logo-img { height: 44px !important; }
  .logo-name { font-size: 1.0rem !important; }
  /* Language dropdown visible */
  .lang-sw { display: block !important; }
}

/* 14. FOOTER — compact, aligned */
.ft {
  text-align: left !important;
}
.ft-links {
  display: flex !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
.ft-links a {
  white-space: nowrap !important;
}
.ft-bottom {
  text-align: left !important;
  margin-top: 12px !important;
}
@media (max-width: 768px) {
  .ft { padding: 20px 16px !important; }
  .ft-top {
    flex-direction: column !important;
    gap: 16px !important;
  }
}


/* LANGUAGE DROPDOWN (mobile) */
.lang-dd {
  display: none;
  background: var(--su);
  color: var(--tx);
  border: 1px solid var(--ac);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-family: 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Malayalam', sans-serif;
  cursor: pointer;
  outline: none;
}
.lang-dd option {
  background: var(--su);
  color: var(--tx);
  padding: 4px 8px;
}
@media (max-width: 768px) {
  .lang-dd { display: block !important; }
  .mh-left .lb { display: none !important; }
}
@media (min-width: 769px) {
  .lang-dd { display: none !important; }
}


/* ============================================
   FINAL OVERHAUL — clean fixes
   ============================================ */

/* --- TOP SPACING --- */
.mh-top { padding-top: 44px !important; }

/* --- CENTER LOGO on desktop + mobile --- */
.mh-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
}
.logo {
  order: 1 !important;
  align-items: center !important;
  text-align: center !important;
}
.mh-left { order: 2 !important; display: none !important; }
.mh-right { display: none !important; }

/* --- LANGUAGE DROPDOWN — all screen sizes --- */
.lang-dd {
  display: inline-block !important;
  order: 2 !important;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .mh-top { padding-top: 20px !important; }
  .logo-img { height: 51px !important; }
}
@media (max-width: 600px) {
  .logo-img { height: 42px !important; }
  .logo-name { font-size: 0.88rem !important; }
}

/* --- SHUKRAVAR FLASH --- */
@keyframes day-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.day-lbl {
  animation: day-pulse 2.5s ease-in-out infinite !important;
}

/* --- LOGO BREATHING --- */
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,153,51,0.35)); }
  50% { filter: drop-shadow(0 0 24px rgba(255,153,51,0.8)); }
}
.logo-img {
  animation: logo-glow 3s ease-in-out infinite !important;
}

/* --- SOFT CONTAINERS — tone down brightness --- */
:root {
  --soft-bg: rgba(255,255,255,0.03);
  --soft-border: rgba(255,255,255,0.08);
  --badge-saffron: rgba(255,153,51,0.15);
  --badge-green: rgba(19,136,8,0.15);
  --badge-white: rgba(255,255,255,0.1);
}

/* --- LIVE SECTION — single light strip --- */
.live-outer {
  background: rgba(255,255,255,0.035) !important;
  border-top: 3px solid var(--grn) !important;
  border-bottom: 1px solid var(--soft-border) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
}
.le-badge {
  background: var(--grn) !important;
  color: #fff !important;
  padding: 3px 12px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.65rem !important;
}
.le-lbl { color: #fff !important; font-weight: 800 !important; }
.le-dot {
  width: 6px !important; height: 6px !important;
  background: #fff !important;
  border-radius: 50% !important;
  display: inline-block !important;
}
.le-ev {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  position: relative;
  min-width: 220px;
  max-width: 300px;
  flex-shrink: 0;
  overflow: hidden;
}
.le-ev:hover { border-color: rgba(255,153,51,0.3) !important; }
.le-ev.brk { border-left: 3px solid var(--ac) !important; }

/* Live card tags — SOFT tricolor badges */
.le-cat {
  display: inline-block !important;
  padding: 2px 10px !important;
  border-radius: 3px !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 6px !important;
}
.le-ev:nth-child(3n+1) .le-cat { background: var(--badge-saffron) !important; color: var(--ac) !important; }
.le-ev:nth-child(3n+2) .le-cat { background: var(--badge-white) !important; color: var(--tx) !important; }
.le-ev:nth-child(3n) .le-cat { background: var(--badge-green) !important; color: var(--grn) !important; }

.le-title {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  color: var(--tx) !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}
.le-time {
  font-size: 0.6rem !important;
  color: var(--sb) !important;
  opacity: 0.6 !important;
  font-family: 'JetBrains Mono', monospace !important;
  margin-top: 6px !important;
  display: block !important;
}

/* --- BREAKING + TAG — same height, inline row --- */
.ff-hero > .ff-breaking-badge,
.ff-hero-meta-top .ff-tag {
  display: inline-flex !important;
  align-items: center !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 3px !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  vertical-align: middle !important;
  line-height: 24px !important;
}
.ff-hero > .ff-breaking-badge {
  background: rgba(220,38,38,0.15) !important;
  color: #ef4444 !important;
  gap: 5px !important;
  margin-right: 6px !important;
}
.ff-breaking-dot {
  width: 6px !important; height: 6px !important;
  border-radius: 50% !important;
  background: #ef4444 !important;
  display: inline-block !important;
}
.ff-hero-meta-top .ff-tag {
  background: var(--badge-saffron) !important;
  color: var(--ac) !important;
}
.ff-hero-meta-top {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  vertical-align: middle !important;
  margin-bottom: 8px !important;
}
.ff-hero-time {
  font-size: 0.62rem !important;
  color: var(--sb) !important;
  font-family: 'JetBrains Mono', monospace !important;
  opacity: 0.7 !important;
}

/* --- MOST READ — numbers centered, soft flash, container --- */
@keyframes mr-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}
.ff-mr-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px !important;
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
}
.ff-mr-num {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: var(--ac) !important;
  font-family: 'JetBrains Mono', monospace !important;
  min-width: 24px !important;
  text-align: center !important;
  animation: mr-pulse 3s ease-in-out infinite !important;
  line-height: 1 !important;
}
.ff-mr-title {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--tx) !important;
}
.ff-mr-body .ff-tag {
  font-size: 0.5rem !important;
  padding: 1px 6px !important;
  border-radius: 2px !important;
  background: var(--badge-saffron) !important;
  color: var(--ac) !important;
  margin-bottom: 3px !important;
  display: inline-block !important;
}

/* --- SUB STORIES — distinct title vs body --- */
.ff-sub-card {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 6px !important;
  padding: 14px !important;
  transition: border-color 0.2s !important;
}
.ff-sub-card:hover { border-color: rgba(255,153,51,0.3) !important; }
.ff-sub-card .ff-tag {
  background: var(--badge-saffron) !important;
  color: var(--ac) !important;
  font-size: 0.5rem !important;
  padding: 1px 8px !important;
  border-radius: 2px !important;
  display: inline-block !important;
  margin-bottom: 4px !important;
}
.sub-hl, .ff-sub-title {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  color: var(--tx) !important;
}
.sub-deck, .ff-sub-deck {
  font-size: 0.72rem !important;
  color: var(--sb) !important;
  line-height: 1.45 !important;
  margin-top: 4px !important;
}
.meta, .sub-time {
  font-size: 0.58rem !important;
  color: var(--sb) !important;
  opacity: 0.6 !important;
  font-family: 'JetBrains Mono', monospace !important;
  margin: 3px 0 !important;
}

/* --- VISHLESHAN (Opinion) — container + writer name --- */
.g2-left {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}
.g2-left .sec.sec-w {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--ac) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(255,153,51,0.3) !important;
  margin-bottom: 14px !important;
}
.g2-left .sub-art {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 6px !important;
  padding: 14px !important;
  margin-bottom: 10px !important;
}
.g2-left .sub-art:last-child { margin-bottom: 0 !important; }
.g2-left .sub-art .meta {
  font-size: 0.6rem !important;
  color: var(--ac) !important;
  opacity: 0.8 !important;
  font-style: italic !important;
  margin-bottom: 6px !important;
  display: block !important;
}
.g2-left .sub-hl {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  margin-bottom: 6px !important;
}
.g2-left .sub-deck {
  font-size: 0.72rem !important;
  color: var(--sb) !important;
}

/* --- RAJYA (States) — name badge only, not full container --- */
.g2-right {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}
.g2-right .sec {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--grn) !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(19,136,8,0.3) !important;
  margin-bottom: 14px !important;
}
.side-art {
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--soft-border) !important;
  background: transparent !important;
}
.side-art:last-child { border-bottom: none !important; }
/* State name — small badge */
.st-name {
  display: inline-block !important;
  background: var(--badge-green) !important;
  color: var(--grn) !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 5px !important;
}
.st-hl {
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  color: var(--tx) !important;
  line-height: 1.35 !important;
}
.st-deck {
  font-size: 0.7rem !important;
  color: var(--sb) !important;
  margin-top: 3px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* --- MARKETS — hide Yahoo codes (already done, reinforce) --- */
.ff-stock-sym { display: none !important; }

/* --- COMMODITIES — collapsible --- */
.ff-comm-weights { display: none !important; }
.ff-comm-block.open .ff-comm-weights { display: block !important; }
.ff-comm-head-row {
  cursor: pointer !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--soft-border) !important;
}
.ff-comm-head-row:hover { background: var(--soft-bg) !important; }

/* --- AQI DOTS fix --- */
.ff-aqi-dot {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  vertical-align: middle !important;
  margin-right: 4px !important;
}

/* --- PANELS — softer backgrounds --- */
.ff-panel {
  background: var(--soft-bg) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 8px !important;
}
.ff-panel-title {
  border-bottom-color: rgba(255,153,51,0.2) !important;
}

/* --- CATEGORY NAV --- */
.ff-cats button, .ff-cats a {
  font-size: 0.68rem !important;
  padding: 10px 14px !important;
}

/* --- FOOTER — left aligned, compact --- */
.ft {
  text-align: left !important;
  padding: 30px 24px 16px !important;
}
.ft-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}
.ft-links {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.ft-links a {
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap !important;
}
.ft-bottom {
  text-align: left !important;
  font-size: 0.62rem !important;
  color: var(--sb) !important;
  margin-top: 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--soft-border) !important;
}

/* --- MOBILE footer --- */
@media (max-width: 768px) {
  .ft { padding: 20px 16px 12px !important; }
  .ft-top { flex-direction: column !important; gap: 12px !important; }
  .grid-2 { display: flex !important; flex-direction: column !important; gap: 16px !important; }
}

/* --- LANGUAGE DROPDOWN styling --- */
.lang-dd {
  background: var(--su) !important;
  color: var(--tx) !important;
  border: 1px solid var(--soft-border) !important;
  border-radius: 6px !important;
  padding: 5px 12px !important;
  font-size: 0.75rem !important;
  cursor: pointer !important;
  outline: none !important;
}
.lang-dd:focus { border-color: var(--ac) !important; }


/* ============================================
   TARGETED PATCH — final fixes
   ============================================ */

/* --- REMOVE STICKY HEADER --- */
.hdr {
  position: relative !important;
}

/* --- LANGUAGE DROPDOWN — visible, centered under logo --- */
.lang-dd {
  display: inline-block !important;
  background: var(--su) !important;
  color: var(--tx) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
  padding: 5px 14px !important;
  font-size: 0.78rem !important;
  cursor: pointer !important;
  outline: none !important;
  margin: 4px 0 !important;
}
.lang-dd:focus { border-color: var(--ac) !important; }

/* --- FOOTER — "hamare bare mein" links to lower left --- */
.ft-top {
  display: block !important;
}
.ft-top > div:first-child {
  margin-bottom: 16px !important;
}
.ft-links {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  margin-top: 12px !important;
}
.ft-links a {
  font-size: 0.68rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--sb) !important;
  white-space: nowrap !important;
}
.ft-links a:hover { color: var(--ac) !important; }
.ft-bottom {
  text-align: left !important;
  font-size: 0.6rem !important;
  margin-top: 10px !important;
}

/* --- RAJYA — green container ONLY for state name, not article --- */
.g2-right {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.g2-right .sec {
  background: transparent !important;
}
.side-art {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--soft-border) !important;
  padding: 10px 0 !important;
}
.side-art:last-child { border-bottom: none !important; }
.side-art .st-name {
  display: inline-block !important;
  background: var(--badge-green) !important;
  color: var(--grn) !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 5px !important;
}
.side-art .st-hl {
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  color: var(--tx) !important;
  line-height: 1.35 !important;
  display: block !important;
  margin-top: 4px !important;
}

/* --- VISHLESHAN — writer name top-right, flashing box --- */
@keyframes writer-flash {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.g2-left .sub-art {
  position: relative !important;
}
.g2-left .sub-art .meta {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(255,153,51,0.1) !important;
  border: 1px solid rgba(255,153,51,0.2) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 0.55rem !important;
  font-style: italic !important;
  color: var(--ac) !important;
  animation: writer-flash 3s ease-in-out infinite !important;
  white-space: nowrap !important;
}

/* --- MOST READ — vertically centered, soft flashing container --- */
@keyframes mr-soft-flash {
  0%, 100% { background: rgba(255,153,51,0.05); }
  50% { background: rgba(255,153,51,0.12); }
}
.ff-mr-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  border: 1px solid var(--soft-border) !important;
  animation: mr-soft-flash 3.5s ease-in-out infinite !important;
}
.ff-mr-num {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 28px !important;
  background: rgba(255,153,51,0.1) !important;
  border-radius: 4px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--ac) !important;
  font-family: 'JetBrains Mono', monospace !important;
  animation: none !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}

/* --- CATEGORY tags — soft colored --- */
.ff-tag {
  background: rgba(255,153,51,0.12) !important;
  color: var(--ac) !important;
}
.ff-sub-card .ff-tag {
  background: rgba(255,153,51,0.1) !important;
}

/* --- BREAKING + TAG — same height --- */
.ff-hero > .ff-breaking-badge,
.ff-hero-meta-top .ff-tag,
.ff-hero-meta-top .ff-hero-time {
  height: 22px !important;
  line-height: 22px !important;
  padding: 0 10px !important;
  font-size: 0.58rem !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  border-radius: 3px !important;
}
.ff-hero > .ff-breaking-badge {
  background: rgba(220,38,38,0.12) !important;
  color: #ef4444 !important;
}
.ff-hero-meta-top .ff-tag {
  background: rgba(255,153,51,0.12) !important;
  color: var(--ac) !important;
}
.ff-hero-meta-top .ff-hero-time {
  background: transparent !important;
  padding: 0 !important;
  font-family: 'JetBrains Mono', monospace !important;
  color: var(--sb) !important;
  opacity: 0.7 !important;
}

/* --- LIVE SECTION — restore clean strip --- */
.le-events {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding-bottom: 6px !important;
  scrollbar-width: thin !important;
}


/* ============================================
   DYNAMIC HOMEPAGE — new element styles
   ============================================ */

/* Market ticker bar */
.mkt-bar {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 16px;
  background: var(--su);
  border-bottom: 1px solid var(--bo);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  white-space: nowrap;
}
.mkt-bar::-webkit-scrollbar { display: none; }
.mkt-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mkt-name { color: var(--sb); font-weight: 600; }
.mkt-price { color: var(--tx); }
.mkt-chg { font-weight: 600; }
.mkt-chg.up { color: var(--grn); }
.mkt-chg.dn { color: #e03228; }

/* Breaking ticker */
.ff-ticker {
  display: flex;
  align-items: center;
  background: var(--ac);
  overflow: hidden;
  height: 32px;
}
.ff-ticker-label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  background: rgba(0,0,0,.15);
  height: 100%;
  z-index: 1;
}
.ff-ticker-label .ff-breaking-dot {
  width: 6px; height: 6px;
  background: #000;
  border-radius: 50%;
  animation: blink-dot 1.4s ease-in-out infinite;
}
.ff-ticker-wrap {
  flex: 1;
  overflow: hidden;
}
.ff-ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  color: #000;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Category nav */
.ff-cats {
  display: flex !important;
  gap: 0 !important;
  overflow-x: auto !important;
  border-bottom: 1px solid var(--bo) !important;
  border-top: none !important;
  padding: 0 16px !important;
  scrollbar-width: none;
}
.ff-cats::-webkit-scrollbar { display: none; }
.ff-cats a {
  padding: 10px 16px !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: var(--sb) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border-bottom: 2px solid transparent !important;
  transition: all .2s !important;
}
.ff-cats a:hover { color: var(--ac) !important; border-bottom-color: var(--ac) !important; }

/* Date strip */
.mh-date {
  text-align: center;
  padding: 10px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--sb);
}

/* Sub stories grid */
.ff-sub-stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .ff-sub-stories { grid-template-columns: 1fr; }
}

/* Load more button */
.ff-load-more {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  background: rgba(255,153,51,.1);
  border: 1px solid rgba(255,153,51,.2);
  border-radius: 6px;
  color: var(--ac);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ff-load-more:hover { background: rgba(255,153,51,.2); }

/* Stock row styling */
.ff-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--bo);
  font-size: .72rem;
}
.ff-stock-label { flex: 1; color: var(--tx); font-weight: 500; }
.ff-stock-price { color: var(--tx); font-family: 'JetBrains Mono', monospace; }
.ff-stock-chg { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: .65rem; padding: 2px 6px; border-radius: 3px; }
.ff-stock-chg.up { background: rgba(19,136,8,.15); color: var(--grn); }
.ff-stock-chg.dn { background: rgba(220,38,38,.15); color: #ef4444; }

/* Stock input */
.ff-stock-input {
  flex: 1;
  padding: 6px 10px;
  background: var(--ri);
  border: 1px solid var(--bo);
  border-radius: 6px;
  color: var(--tx);
  font-size: .75rem;
  outline: none;
}
.ff-stock-input:focus { border-color: var(--ac); }
.ff-stock-btn {
  padding: 6px 12px;
  background: var(--ac);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}


/* ============================================
   FOOTER — clear visual separation
   ============================================ */
footer {
  margin-top: 40px !important;
  border-top: 3px solid var(--ac) !important;
  background: var(--su) !important;
  position: relative;
}
footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #FF9933 33%, #fff 33% 66%, #138808 66%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.ft {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 20px !important;
  text-align: left !important;
}
.ft-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid var(--bo) !important;
}
.ft-links {
  display: flex !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
.ft-links a {
  font-size: .68rem !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  color: var(--sb) !important;
  text-decoration: none !important;
  font-family: 'JetBrains Mono', monospace !important;
  transition: color .2s !important;
}
.ft-links a:hover { color: var(--ac) !important; }
.ft-bottom {
  text-align: left !important;
  font-size: .6rem !important;
  color: var(--sb) !important;
  opacity: .6 !important;
  margin-top: 16px !important;
  padding-top: 0 !important;
  border-top: none !important;
}
@media (max-width: 768px) {
  .ft { padding: 24px 16px 16px !important; }
  .ft-top { flex-direction: column !important; gap: 16px !important; }
}
