/* ===========================
   CSS Reset & Variables
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --saffron:    #FF6B00;
  --saffron-lt: #FF8C3A;
  --saffron-dk: #CC5500;
  --green:      #138808;
  --green-lt:   #1aaa0a;
  --navy:       #1a2744;
  --navy-lt:    #243358;
  --white:      #ffffff;
  --off-white:  #f5f5f0;
  --gray-50:    #fafafa;
  --gray-100:   #f1f1f1;
  --gray-200:   #e5e5e5;
  --gray-400:   #9ca3af;
  --gray-600:   #6b7280;
  --gray-800:   #1f2937;
  --text:       #1a1a2e;
  --text-light: #555577;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.15);
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --transition: all .25s ease;
  --font-hindi: 'Noto Sans Devanagari', sans-serif;
  --font-serif: 'Noto Serif Devanagari', serif;
  --font-ui:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-hindi); background: var(--off-white); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   Top Bar
   =========================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  font-family: var(--font-ui);
  padding: 6px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-bar-right { display: flex; align-items: center; gap: 10px; }
.top-bar-right a { color: rgba(255,255,255,.75); transition: color .2s; display: flex; align-items: center; }
.top-bar-right a:hover { color: var(--saffron); }
.divider { opacity: .35; }

/* ===========================
   Header
   =========================== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--saffron);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-emblem {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-lt));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255,107,0,.35);
}
.logo-emblem.small { width: 38px; height: 38px; }
.ashoka-chakra {
  width: 28px; height: 28px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  position: relative;
}
.ashoka-chakra::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
}
.ashoka-chakra.small { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.logo-sub { font-family: var(--font-ui); font-size: .65rem; font-weight: 700; letter-spacing: 2px; color: var(--saffron); }

.header-right { display: flex; align-items: center; gap: 14px; }
.search-box {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition);
}
.search-box:focus-within { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }
.search-box input {
  border: none; outline: none;
  padding: 8px 16px;
  font-family: var(--font-hindi); font-size: .85rem;
  width: 220px; background: transparent;
}
.search-btn {
  background: var(--saffron);
  color: white; padding: 8px 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.search-btn:hover { background: var(--saffron-dk); }
.subscribe-btn {
  background: var(--green);
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  font-family: var(--font-hindi); font-size: .85rem; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.subscribe-btn:hover { background: var(--green-lt); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(19,136,8,.3); }

/* ===========================
   Navbar
   =========================== */
.navbar {
  background: var(--navy);
  position: sticky; top: 81px; z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav-inner { display: flex; align-items: center; gap: 0; }
.nav-links { display: flex; align-items: center; flex: 1; }
.nav-links li a {
  display: block;
  padding: 13px 15px;
  color: rgba(255,255,255,.8);
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links li a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px; background: var(--saffron);
  transition: var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { color: white; }
.nav-links li a:hover::after,
.nav-links li a.active::after { left: 0; right: 0; }

.weather-widget {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: .82rem;
  margin-left: auto; padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* ===========================
   Breaking News Ticker
   =========================== */
.breaking-news {
  background: linear-gradient(90deg, #fff5ee, #fff);
  border-top: 1px solid #ffe0c0;
  border-bottom: 1px solid #ffe0c0;
  overflow: hidden;
}
.breaking-inner { display: flex; align-items: center; gap: 0; height: 40px; }
.breaking-label {
  background: var(--saffron);
  color: white;
  padding: 0 16px;
  height: 100%;
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .82rem;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: white; border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.4);} }

.ticker-wrapper { flex: 1; overflow: hidden; }
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  font-size: .85rem; color: var(--text);
  animation: ticker 35s linear infinite;
  padding-left: 20px;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from{transform:translateX(100vw);} to{transform:translateX(-100%);} }

/* ===========================
   Main Layout
   =========================== */
.main-content { padding: 28px 0; }
.main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.content-area { display: flex; flex-direction: column; gap: 36px; }

/* ===========================
   Category Badges
   =========================== */
.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .7rem; font-weight: 700; font-family: var(--font-ui);
  letter-spacing: .5px; text-transform: uppercase;
  color: white;
}
.category-badge.small { font-size: .62rem; padding: 2px 7px; }
.politics    { background: #9333ea; }
.tech        { background: #0ea5e9; }
.sports      { background: #16a34a; }
.national    { background: var(--saffron); }
.health      { background: #e11d48; }
.edu         { background: #7c3aed; }
.intl        { background: #0369a1; }
.business    { background: #b45309; }
.entertain   { background: #db2777; }

/* ===========================
   Hero Section
   =========================== */
.hero-section { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.hero-card.featured { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-img-wrap { position: relative; height: 340px; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,30,.88) 0%, rgba(10,10,30,.3) 50%, transparent 100%);
}
.hero-img-wrap .category-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; z-index: 2;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700;
  color: white; line-height: 1.45;
  margin-bottom: 10px;
}
.hero-excerpt { color: rgba(255,255,255,.78); font-size: .85rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.meta { display: flex; align-items: center; gap: 14px; font-size: .78rem; flex-wrap: wrap; }
.meta .author { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.7); }
.meta .time { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.7); }
.meta .read-time { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); padding: 2px 8px; border-radius: 12px; font-size: .72rem; }
.meta.light .author,.meta.light span { color: rgba(255,255,255,.8); }

.hero-secondary { display: flex; flex-direction: column; gap: 14px; }
.news-card.secondary { display: flex; gap: 0; border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow-sm); transition: var(--transition); flex: 1; }
.news-card.secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-card.secondary .card-img-wrap { width: 110px; flex-shrink: 0; position: relative; }
.news-card.secondary .card-img-wrap img { height: 100%; }
.news-card.secondary .card-img-wrap .category-badge { position: absolute; top: 8px; left: 8px; }
.news-card.secondary .card-body { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.news-card.secondary h2 { font-family: var(--font-serif); font-size: .92rem; font-weight: 600; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card.secondary .meta .time,.news-card.secondary .meta .read-time { color: var(--gray-600); background: var(--gray-100); }

/* ===========================
   Section Headers & Tabs
   =========================== */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.section-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.title-accent { display: inline-block; width: 5px; height: 22px; background: var(--saffron); border-radius: 3px; }
.see-all { font-family: var(--font-ui); font-size: .82rem; font-weight: 600; color: var(--saffron); transition: color .2s; }
.see-all:hover { color: var(--saffron-dk); }

.tab-group { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); }
.tab-btn {
  padding: 8px 18px;
  font-family: var(--font-hindi); font-size: .87rem; font-weight: 500;
  color: var(--gray-600);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--saffron); }
.tab-btn.active { color: var(--saffron); border-bottom-color: var(--saffron); font-weight: 600; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===========================
   News Grid Cards
   =========================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card.grid-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer;
}
.news-card.grid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card.grid-card .card-img-wrap { height: 170px; position: relative; }
.news-card.grid-card .card-img-wrap .category-badge { position: absolute; top: 10px; left: 10px; }
.news-card.grid-card .card-body { padding: 14px 16px 18px; }
.news-card.grid-card h3 { font-family: var(--font-serif); font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card.grid-card p { font-size: .83rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.news-card.grid-card .meta .author,.news-card.grid-card .meta .time { color: var(--gray-600); font-size: .76rem; }

/* ===========================
   Feature Section
   =========================== */
.feature-section {}
.feature-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.feature-card.large { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-img-wrap { position: relative; height: 380px; }
.feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,30,.92) 0%, rgba(10,10,30,.4) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.feature-overlay .category-badge { margin-bottom: 12px; align-self: flex-start; }
.feature-overlay h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: white; line-height: 1.45; margin-bottom: 10px; }
.feature-overlay p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: white; border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-list-item:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.feature-list-item img { width: 80px; height: 68px; border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; }
.feature-list-item div { display: flex; flex-direction: column; gap: 5px; }
.feature-list-item h4 { font-family: var(--font-serif); font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-list-item .meta .time { color: var(--gray-600); font-size: .75rem; }

/* ===========================
   Video Section
   =========================== */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.video-card { cursor: pointer; }
.video-card:hover .play-btn { background: var(--saffron); transform: scale(1.1); }
.video-thumb { position: relative; height: 150px; border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.7); color: white;
  font-size: .72rem; font-family: var(--font-ui);
  padding: 2px 6px; border-radius: 4px;
}
.video-card p { font-size: .85rem; font-weight: 500; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===========================
   Sidebar
   =========================== */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 128px; }
.sidebar-widget { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.widget-header { padding: 14px 18px; border-bottom: 2px solid var(--gray-100); }
.widget-header h3 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); }
.fire-icon { font-size: 1.1rem; }

/* Trending */
.trending-list { padding: 8px 0; }
.trending-list li { display: flex; align-items: flex-start; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--gray-100); transition: background .2s; }
.trending-list li:last-child { border-bottom: none; }
.trending-list li:hover { background: var(--gray-50); }
.trend-num { font-family: var(--font-ui); font-size: 1.1rem; font-weight: 800; color: var(--saffron); min-width: 28px; line-height: 1.2; }
.trending-list li div { display: flex; flex-direction: column; gap: 4px; }
.trending-list li a { font-size: .87rem; font-weight: 500; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trending-list li a:hover { color: var(--saffron); }
.trend-views { font-size: .74rem; color: var(--gray-400); font-family: var(--font-ui); }

/* Weather */
.weather-body { padding: 16px 18px; }
.weather-main { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.weather-icon-big { font-size: 2.8rem; }
.temp-big { font-family: var(--font-ui); font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.city-name { display: block; font-size: .85rem; color: var(--gray-600); }
.weather-desc { font-size: .83rem; color: var(--gray-600); margin-bottom: 10px; }
.weather-row { display: flex; gap: 16px; font-size: .8rem; color: var(--gray-600); margin-bottom: 14px; }
.weather-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-city { display: flex; justify-content: space-between; font-size: .82rem; background: var(--gray-50); padding: 6px 10px; border-radius: var(--radius-sm); }
.w-city span:last-child { font-weight: 700; color: var(--saffron); }

/* Poll */
.poll-body { padding: 16px 18px; }
.poll-question { font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 14px; line-height: 1.45; }
.poll-options { display: flex; flex-direction: column; gap: 10px; }
.poll-opt {
  text-align: left; width: 100%;
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 10px 12px;
  transition: var(--transition); cursor: pointer;
}
.poll-opt:hover { border-color: var(--saffron); background: #fff5ee; }
.poll-opt.voted { border-color: var(--saffron); background: #fff5ee; }
.poll-opt span:first-child { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 6px; }
.poll-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--saffron), var(--saffron-lt)); border-radius: 3px; transition: width 1s ease; }
.poll-pct { font-size: .78rem; font-weight: 700; color: var(--saffron); font-family: var(--font-ui); }
.poll-total { font-size: .76rem; color: var(--gray-400); margin-top: 10px; text-align: center; font-family: var(--font-ui); }

/* Newsletter */
.newsletter-widget { background: linear-gradient(135deg, var(--navy), var(--navy-lt)); }
.newsletter-inner { padding: 22px 18px; text-align: center; }
.nl-icon { font-size: 2rem; margin-bottom: 8px; }
.newsletter-inner h3 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.newsletter-inner p { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.newsletter-inner input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 25px; background: rgba(255,255,255,.1);
  color: white; font-family: var(--font-hindi); font-size: .84rem;
  margin-bottom: 10px; outline: none;
}
.newsletter-inner input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-inner input:focus { border-color: var(--saffron); }
.newsletter-inner button {
  width: 100%; padding: 10px;
  background: var(--saffron); color: white;
  border-radius: 25px; font-family: var(--font-hindi); font-size: .88rem; font-weight: 600;
  transition: var(--transition);
}
.newsletter-inner button:hover { background: var(--saffron-lt); transform: translateY(-1px); }

/* Tags */
.tags-cloud { padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags-cloud a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--gray-100); color: var(--gray-600);
  border-radius: 20px; font-size: .8rem;
  transition: var(--transition); border: 1px solid var(--gray-200);
}
.tags-cloud a:hover { background: var(--saffron); color: white; border-color: var(--saffron); }

/* ===========================
   States Section
   =========================== */
.states-section {
  background: white;
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0;
}
.states-section .section-header { margin-bottom: 24px; }
.states-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.state-card {
  background: var(--off-white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
  cursor: pointer;
}
.state-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.state-flag {
  height: 70px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: white;
  font-family: var(--font-ui); letter-spacing: 1px;
}
.state-info { padding: 12px 14px; }
.state-info h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.state-info p { font-size: .78rem; color: var(--text-light); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===========================
   Footer
   =========================== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-top { padding: 50px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .logo-main { color: white; font-size: 1.3rem; }
.footer-logo .logo-sub { color: var(--saffron); }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: white;
  transition: var(--transition);
}
.social-link:hover { background: var(--saffron); transform: translateY(-2px); }
.footer-links h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: white; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-links h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--saffron); border-radius: 2px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links li a:hover { color: var(--saffron); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.45); font-family: var(--font-ui); }

/* ===========================
   Modal
   =========================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: white; border-radius: var(--radius-lg);
  width: 100%; max-width: 640px; max-height: 85vh; overflow-y: auto;
  padding: 28px; position: relative;
  transform: translateY(30px); transition: var(--transition);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; font-size: 1.1rem; color: var(--gray-400); padding: 4px 8px; border-radius: 50%; transition: var(--transition); }
.modal-close:hover { background: var(--gray-100); color: var(--text); }
.modal-cat { margin-bottom: 12px; display: inline-block; }
.modal-box h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 12px; }
.modal-meta { margin-bottom: 18px; }
.modal-meta span { color: var(--gray-600); font-size: .8rem; }
.modal-box img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.modal-body { font-size: .92rem; color: var(--text-light); line-height: 1.85; }
.modal-body p { margin-bottom: 14px; }

/* ===========================
   Scroll to Top
   =========================== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 9998;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--saffron); color: white;
  font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,107,0,.45);
  transition: var(--transition); opacity: 0; visibility: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--saffron-dk); transform: translateY(-3px); }

/* ===========================
   Responsive — Tablet Wide (≤1100px)
   =========================== */
@media (max-width: 1100px) {
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .main-grid { grid-template-columns: 1fr 300px; }
  .search-box input { width: 180px; }
}

/* ===========================
   Responsive — Tablet (≤900px)
   =========================== */
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; top: auto; }
  .hero-section { grid-template-columns: 1fr; }
  .hero-secondary { flex-direction: row; gap: 12px; }
  .news-card.secondary { flex-direction: column; flex: 1; }
  .news-card.secondary .card-img-wrap { width: 100%; height: 130px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-img-wrap { height: 300px; }
  .hero-img-wrap { height: 310px; }
  .tab-group {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .tab-group::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; }
}

/* ===========================
   Responsive — Mobile (≤768px)
   =========================== */
@media (max-width: 768px) {
  /* Navigation */
  .hamburger { display: flex; }
  .nav-inner { flex-wrap: wrap; padding: 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--navy-lt);
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open {
    display: flex;
    animation: navSlideDown .25s ease forwards;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links li a { padding: 11px 22px; font-size: .9rem; }
  .nav-links li a::after { display: none; }
  .weather-widget { display: none; }

  /* Header */
  .logo-main { font-size: 1.3rem; }
  .logo-sub { font-size: .6rem; letter-spacing: 1px; }
  .logo-emblem { width: 46px; height: 46px; }
  .subscribe-btn { display: none; }
  .search-box input { width: 130px; }

  /* Top bar */
  .date-display { display: none; }
  .top-bar-inner .divider { display: none; }

  /* Hero */
  .hero-img-wrap { height: 270px; }
  .hero-title { font-size: 1.15rem; }
  .hero-secondary { flex-direction: column; }

  /* Category tabs */
  .tab-group {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 2px solid var(--gray-200);
  }
  .tab-group::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; padding: 8px 14px; font-size: .83rem; }
  .section-header { flex-wrap: wrap; gap: 8px; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Feature */
  .feature-img-wrap { height: 260px; }
  .feature-overlay h3 { font-size: 1.1rem; }

  /* Video */
  .video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .video-thumb { height: 130px; }

  /* States */
  .states-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Modal — bottom sheet on mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 22px 18px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .modal-box h2 { font-size: 1.15rem; }
  .modal-box img { height: 190px; }

  /* Breaking news */
  .breaking-label { padding: 0 18px 0 14px; font-size: .78rem; }
  .ticker-track { font-size: .82rem; }
}

/* ===========================
   Responsive — Small Mobile (≤520px)
   =========================== */
@media (max-width: 520px) {
  /* Top bar */
  .top-bar-left { display: none; }

  /* Header */
  .logo-main { font-size: 1.2rem; }
  .logo-emblem { width: 42px; height: 42px; }
  .search-box input { width: 110px; font-size: .8rem; }

  /* Hero */
  .hero-img-wrap { height: 230px; }
  .hero-title { font-size: 1.05rem; }
  .hero-excerpt { display: none; }

  /* Hero secondary — switch back to row for side-by-side */
  .news-card.secondary { flex-direction: row; }
  .news-card.secondary .card-img-wrap { width: 95px; height: auto; flex-shrink: 0; }
  .news-card.secondary h2 { font-size: .84rem; -webkit-line-clamp: 2; }

  /* News grid */
  .news-grid { grid-template-columns: 1fr; }

  /* Feature */
  .feature-img-wrap { height: 210px; }
  .feature-overlay { padding: 16px; }
  .feature-overlay h3 { font-size: 1rem; }
  .feature-list-item img { width: 64px; height: 54px; }

  /* Video */
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-thumb { height: 115px; }

  /* States */
  .states-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .state-flag { height: 60px; font-size: 1.2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 32px 0 24px; }

  /* Section titles */
  .section-title { font-size: 1.05rem; }

  /* Layout */
  .main-content { padding: 16px 0; }
  .content-area { gap: 22px; }

  /* Breaking news */
  .breaking-inner { height: 36px; }
  .ticker-track { font-size: .78rem; }

  /* Scroll top */
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

  /* Modal */
  .modal-box { padding: 18px 14px; max-height: 95vh; }
  .modal-box img { height: 170px; }

  /* Poll */
  .poll-opt { padding: 12px 14px; min-height: 44px; }
}

/* ===========================
   Responsive — Extra Small (≤380px)
   =========================== */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .logo-main { font-size: 1.05rem; }
  .logo-emblem { width: 36px; height: 36px; }
  .ashoka-chakra { width: 20px; height: 20px; }
  .header-inner { gap: 10px; }
  .search-box input { width: 90px; font-size: .78rem; }
  .search-btn { padding: 8px 10px; }
  .hero-img-wrap { height: 200px; }
  .hero-title { font-size: .98rem; }
  .tab-btn { padding: 7px 10px; font-size: .79rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb { height: 170px; }
  .states-grid { gap: 8px; }
  .state-flag { height: 52px; font-size: 1.05rem; }
  .footer-links { display: none; }
  .footer-brand { display: block !important; }
  .section-title { font-size: .98rem; }
  .modal-box h2 { font-size: 1rem; }
}

/* ===========================
   Safe Area (Notched Phones)
   =========================== */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .scroll-top {
    bottom: max(28px, env(safe-area-inset-bottom));
    right: max(28px, env(safe-area-inset-right));
  }
  .toast-notif {
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 16px));
  }
}

/* ===========================
   Touch Device Enhancements
   =========================== */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms on touch */
  .news-card.grid-card:hover,
  .news-card.secondary:hover,
  .feature-list-item:hover,
  .state-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .social-link:hover,
  .scroll-top:hover,
  .subscribe-btn:hover { transform: none; }

  /* Larger tap targets */
  .nav-links li a { padding: 13px 22px; }
  .poll-opt { padding: 12px 14px; min-height: 44px; }
  .trending-list li { padding: 13px 18px; }
  .tab-btn { padding: 10px 16px; }
  .tags-cloud a { padding: 7px 14px; }
  .search-btn { padding: 10px 16px; }

  /* Remove underline animation */
  .nav-links li a::after { display: none; }

  /* Smooth scroll on iOS */
  .modal-box { -webkit-overflow-scrolling: touch; }
}
