/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --main: #299deb;
  --main-dark: #1a7bbf;
  --main-light: #e8f4fd;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --text: #111111;
  --text-muted: #555555;
  --border: #e0e0e0;
  --breaking: #e8b800;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --font-telugu: "Mandali", sans-serif;
  --font-heading: 'Segoe UI', Arial, sans-serif;
}

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

body {
  font-family: "Mandali", sans-serif;
  background: var(--bg);
  color: #111111;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Section headings stay in English font */
h1, h2, .section-header h2, .widget-header {
  font-family: var(--font-heading);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--main); }
img { display: block; width: 100%; height: auto; object-fit: cover; }
ul { list-style: none; }

/* ===========================
   TOP INFO BAR
=========================== */
.top-bar {
  background: var(--main);
  color: #fff;
  font-size: 15px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-left span,
.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
}

.top-bar-right a:hover { opacity: 1; text-decoration: underline; }

.top-bar-right a + a::before,
.top-bar-right .lang-select::before {
  content: '|';
  margin-right: 18px;
  opacity: 0.5;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #fff;
  opacity: 0.92;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  background: var(--bg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.hamburger {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 728×90 Leaderboard Ad */
.header-ad {
  flex: 1;
  max-width: 728px;
}

.header-ad-img {
  display: block;
  width: 100%;
  max-width: 728px;
  height: 90px;
  object-fit: fill;
  border-radius: var(--radius);
}

.header-ad-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
}

/* Header right buttons */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: opacity 0.2s;
  text-align: center;
}

.header-btn i { font-size: 22px; }
.header-btn:hover { opacity: 0.85; }

.live-tv { color: var(--main); }
.whatsapp { color: #25d366; }

.breaking-btn {
  background: var(--breaking);
  color: #1a1a1a;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.3;
}

/* Download App Button */
.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 12px;
  padding: 8px 18px;
  text-decoration: none;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.app-download-btn:hover {
  border-color: var(--main);
  box-shadow: 0 4px 12px rgba(41,157,235,0.2);
  transform: translateY(-1px);
  color: #111;
}

.app-download-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.app-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-dl-arrow { display: none; }

/* ===========================
   MAIN NAV
=========================== */
.main-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(41,157,235,0.3);
}

.main-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

/* Follow Us in nav */
.nav-follow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.25);
  margin-left: 8px;
}

.nav-follow-label {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.9;
}

.nav-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.nav-social:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: inherit;
}

/* Brand colours — always visible */
.nav-social--facebook  { color: #1877f2; }
.nav-social--whatsapp  { color: #25d366; }
.nav-social--twitter   { color: #000; }
.nav-social--instagram { color: #e1306c; }
.nav-social--youtube   { color: #ff0000; }
.nav-social--gnews     { color: #4285f4; }

.main-nav ul::-webkit-scrollbar { display: none; }

.main-nav ul li a {
  display: block;
  color: #fff;
  padding: 14px 14px;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
  border-bottom: 3px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li.active > a {
  background: rgba(255,255,255,0.12);
  border-bottom-color: var(--breaking);
}

.main-nav ul li.active > a i { color: var(--breaking); }

/* Dropdown */
.more-nav { position: relative; }

.more-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  z-index: 200;
}

.more-nav:hover .dropdown { display: block; }

.more-nav .dropdown li a {
  color: var(--text);
  padding: 10px 16px;
  border-bottom: none;
  font-size: 16px;
}

.more-nav .dropdown li a:hover { background: var(--main-light); color: var(--main); }

/* ===========================
   TRENDING BAR
=========================== */
.trending-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.trending-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trending-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--main);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trending-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 15px;
  color: #111;
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 700;
}

.tag:hover {
  background: var(--main);
  color: #fff;
  border-color: var(--main);
}

.tag-more {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.tag-more:hover { background: var(--main); color: #fff; border-color: var(--main); }

/* ===========================
   BREAKING NEWS TICKER
=========================== */
.breaking-ticker {
  background: #fff;
  border-bottom: 2px solid var(--main-light);
  overflow: hidden;
}

.ticker-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticker-label {
  background: var(--main);
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.ticker-content span { padding-right: 60px; }

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

.ticker-more {
  color: var(--main);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-more:hover { text-decoration: underline; }

/* ===========================
   MAIN CONTENT
=========================== */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 24px;
}

.section { margin-bottom: 10px; }

/* Remove extra gap between section header and top-news-layout */
.section:first-child .section-header {
  margin-bottom: 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  font-family: "Mandali", sans-serif;
  padding: 4px 0 4px 16px;
  margin: 0;
  border-left: 6px solid var(--main);
  border-radius: 4px 0 0 4px;
  clip-path: none;
}

.section-header h2::before,
.section-header h2::after { display: none; }

.view-all {
  font-size: 15px;
  color: var(--main);
  font-weight: 600;
}

.view-all:hover { text-decoration: underline; }

/* ===========================
   NEWS CARDS
=========================== */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-card img { height: 200px; }
.news-card.featured img { height: 320px; }
.news-card.small img { height: 160px; }

.card-body { padding: 12px; }

.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 6px 0 8px;
  color: #111;
}

.card-body h3 a { color: #111; }
.card-body h3 a:hover { color: var(--main); }

.category-tag {
  display: inline-block;
  background: var(--main-light);
  color: var(--main);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===========================
   TOP NEWS 3-COLUMN LAYOUT
=========================== */
.top-news-layout {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 16px;
  align-items: start;
}

/* ── LEFT LIST ── */
.top-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tnl-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  color: var(--text);
}

.tnl-item:last-child { border-bottom: none; }
.tnl-item:hover { background: var(--main-light); }

.tnl-item img {
  width: 72px;
  height: 52px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}

.tnl-item p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  color: #111;
  display: -webkit-box;
 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── CENTER ── */
.top-news-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tnc-featured {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tnc-featured img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.tnc-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  padding: 40px 16px 16px;
}

.tnc-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-telugu);
}

.tnc-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tnc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.tnc-card:hover { transform: translateY(-2px); }

.tnc-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.tnc-card p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  padding: 6px 8px 8px;
  margin: 0;
  color: #111;
  display: -webkit-box;
 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── RIGHT ── */
.top-news-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tns-ad-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}

.tns-ad-box {
  width: 100%;
  height: 200px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  line-height: 1.6;
}

/* Horoscope Banner */
.horoscope-banner {
  display: flex;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0533 0%, #3b1278 40%, #6a2fc0 70%, #9b4de0 100%);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(106,47,192,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 110px;
  position: sticky;
  top: 60px;
}

.horoscope-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,47,192,0.55);
}

.horo-img {
  width: 110px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
}

.horo-img img {
  width: 110px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.horo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  gap: 6px;
}

.horo-title {
  font-family: var(--font-telugu);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 2px 2px 0 #000;
  letter-spacing: 1px;
  line-height: 1.2;
  text-align: center;
}

.horo-sub {
  font-family: var(--font-telugu);
  font-size: 18px;
  font-weight: 700;
  color: #ff4444;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6), 1px 1px 0 #800;
  text-align: center;
  line-height: 1.2;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .top-news-layout {
    grid-template-columns: 240px 1fr;
  }
  .top-news-right { display: none; }
}

@media (max-width: 768px) {
  .top-news-layout {
    grid-template-columns: 1fr;
  }
  .top-news-list { display: none; }
  .tnc-bottom { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .tnc-bottom { grid-template-columns: 1fr; }
  .tnc-featured img { height: 220px; }
}

/* Four column grid */
.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ===========================
   CONTENT COLUMNS
=========================== */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-bottom: 40px;
}

/* ===========================
   NEWS TEXT LIST (Latest News)
=========================== */
.news-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-text-list li {
  border-bottom: 1px dashed #ccc;
  padding: 10px 0 10px 20px;
  position: relative;
  line-height: 1.55;
}

.news-text-list li::before {
  content: '◦';
  position: absolute;
  left: 2px;
  top: 10px;
  color: #555;
  font-size: 18px;
  line-height: 1.55;
}

.news-text-list li:last-child { border-bottom: none; }

.news-text-list li a {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.news-text-list li a:hover { color: var(--main); }

/* ===========================
   PROMOTIONAL BANNER
=========================== */
.promo-banner {
  width: 100%;
  margin: 0 0 32px 0;
  display: flex;
  gap: 16px;
}

.promo-half {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.promo-half:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 600px) {
  .promo-banner { flex-direction: column; }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.13);
  color: var(--main);
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.04);
}

.gallery-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.5px;
}

.gallery-card p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 12px 12px;
  margin: 0;
  color: #111;
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.sidebar-news-list {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
}

.sidebar-news-list li {
  border-bottom: 1px dashed #ccc;
  padding: 9px 0 9px 18px;
  position: relative;
}

.sidebar-news-list li:last-child { border-bottom: none; }

.sidebar-news-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--main);
  font-size: 8px;
  line-height: 1.8;
}

.sidebar-news-list li a {
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: block;
  text-decoration: none;
}

.sidebar-news-list li a:hover { color: var(--main); }
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget {
  background: #3899eb14;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  font-family: "Mandali", sans-serif;
  padding: 4px 0 4px 16px;
  border-left: 6px solid var(--main);
  border-radius: 4px 0 0 4px;
  margin-bottom: 12px;
  clip-path: none;
}

.widget-header::before,
.widget-header::after { display: none; }

.popular-list {
  list-style: decimal;
  padding: 12px 16px 12px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popular-list li a {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: #111;
}

.popular-list li a:hover { color: var(--main); }

.ad-banner .ad-placeholder {
  background: var(--bg-light);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  border: 2px dashed var(--border);
  margin: 12px;
  border-radius: var(--radius);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
}

.photo-grid img {
  height: 80px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.photo-grid a:hover img { opacity: 0.8; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #1a2a3a;
  color: #ccc;
  margin-top: 40px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--main);
}

.footer-brand p {
  margin: 10px 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}

.social-links a:hover { background: var(--main); }

.footer-links h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links ul li a {
  font-size: 15px;
  color: #aaa;
  transition: color 0.2s;
}

.footer-links ul li a:hover { color: var(--main); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 16px 20px;
  font-size: 15px;
  color: #888;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .top-stories-grid { grid-template-columns: 1fr; }
  .side-cards { flex-direction: row; flex-wrap: wrap; }
  .side-cards .news-card.small { flex: 1 1 calc(50% - 6px); }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .content-columns { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-follow-label { display: none; }
}

@media (max-width: 768px) {
  .site-header { flex-wrap: wrap; }
  .header-ad { display: none; }
  .header-right { gap: 6px; }
  .header-btn span { display: none; }
  .header-btn { padding: 8px 10px; }
  .breaking-btn span { display: block; font-size: 10px; }
  .app-badge { display: none; }
  .four-col { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .top-bar { font-size: 14px; }
  .nav-follow { display: none; }
}

@media (max-width: 480px) {
  .four-col { grid-template-columns: 1fr; }
  .side-cards .news-card.small { flex: 1 1 100%; }
  .news-list-item img { width: 100px; height: 70px; }
  .main-nav ul li a { padding: 12px 10px; font-size: 15px; }
}

/* ===========================
   CATEGORY BLOCK (Entertainment etc.)
=========================== */
.cat-block {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #111;
}

.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s;
}

.cat-card:hover img { transform: scale(1.03); }

.cat-card p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #111;
  display: -webkit-box;

  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card:hover p { color: var(--main); }

.cat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.cat-side-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  text-decoration: none;
  color: #111;
}

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

.cat-side-item img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cat-side-item p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #111;
  display: -webkit-box;
  
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-side-item:hover p { color: var(--main); }

@media (max-width: 1024px) {
  .cat-block { grid-template-columns: 1fr; }
  .cat-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   TABBED NEWS BLOCK
=========================== */
.tab-news-section { margin-bottom: 40px; }

.tab-news-header {
  display: flex;
  align-items: center;
  gap: 0;
  background: #1a1a2e;
  border-radius: 8px 8px 0 0;
  padding: 0 16px;
  flex-wrap: wrap;
}

.tab-news-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: "Mandali", sans-serif;
  padding: 14px 20px 14px 4px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 8px;
}

.tab-news-title span { color: var(--main); }

.tab-news-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-news-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  font-weight: 600;
  font-family: "Mandali", sans-serif;
  padding: 14px 16px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: #fff; }

.tab-btn.active {
  color: #fff;
  border-bottom-color: var(--main);
}

.tab-more-btn {
  margin-left: auto;
  background: #2a2a4a;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 14px;
  border-bottom: none !important;
}

/* Tab panels */
.tab-panel {
  display: none;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
  padding: 16px;
}

.tab-panel.active { display: block; }

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Featured large card */
.tab-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: #111;
}

.tab-featured img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s;
}

.tab-featured:hover img { transform: scale(1.02); }

.tab-featured p {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
  color: #111;
}

.tab-featured:hover p { color: var(--main); }

/* 2×2 side grid */
.tab-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tab-side-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #111;
}

.tab-side-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.2s;
}

.tab-side-card:hover img { transform: scale(1.03); }

.tab-side-card p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  color: #111;
  display: -webkit-box;

  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tab-side-card:hover p { color: var(--main); }

@media (max-width: 768px) {
  .tab-content-grid { grid-template-columns: 1fr; }
  .tab-featured img { height: 220px; }
  .tab-side-grid { grid-template-columns: 1fr 1fr; }
}


/* WRAPPER */
.event-bar{
    display:grid;
    gap:10px;
}

/* AUTO WIDTH */
.event-bar.one{
    grid-template-columns:1fr;
}

.event-bar.two{
    grid-template-columns:1fr 1fr;
}

.event-bar.multi{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

/* CARD */
.event-card{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    border-radius:14px;
    color:#fff;
    min-height:70px;
    overflow:hidden;
    isolation:isolate;
}

/* BACKGROUND IMAGE */
.event-card::before{
    content:"";
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    z-index:-2;
}

/* DARK OVERLAY */
.event-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* CUSTOM BACKGROUNDS */
.ipl::before{
    background-image:url('https://www.sakshi.com/s3fs-public/2026-03/IPL-STICKY-2026.jpg');
}

.election::before{
    background-image:url('https://images.unsplash.com/photo-1529107386315-e1a2ed48a620?q=80&w=1200');
}

.budget::before{
    background-image:url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1200');
}

/* LEFT */
.left{
    display:flex;
    align-items:center;
    gap:12px;
}

.icon{
    font-size:26px;
}

/* TEXT */
.title{
    font-size:16px;
    font-weight:700;
}

.sub{
    font-size:12px;
    opacity:0.9;
    margin-top:2px;
}

/* BUTTON */
.btn{
    font-size:13px;
    font-weight:700;
    color:#ffd84d;
    white-space:nowrap;
}

/* MOBILE */
@media(max-width:768px){

    .event-bar.two{
        grid-template-columns:1fr;
    }

    .title{
        font-size:14px;
    }
}


/* ===========================
   RESPONSIVE — HEADER & TOP-BAR FIXES
=========================== */

/* ── TOP BAR: single row, scrollable ── */
.top-bar {
  flex-wrap: nowrap !important;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.top-bar-right {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.top-bar-right::-webkit-scrollbar { display: none; }

.top-bar-left {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── SITE HEADER: desktop layout — logo | ad fills middle | right buttons ── */
.site-header {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 10px 20px;
  gap: 16px;
}

/* Logo — fixed, no grow */
.site-header .header-left {
  flex: 0 0 auto;
  gap: 16px;
  align-items: center;
}

.site-header .logo {
  flex-shrink: 0;
}

/* Ad — fills the middle space between logo and right buttons */
.site-header .header-ad {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 728px;
}

.site-header .header-ad > div,
.site-header .header-ad #div-gpt-ad-1780665991616-0 {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right buttons — fixed, no grow */
.site-header .header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* ── TABLETS (≤900px): hide ad, keep logo + buttons ── */
@media (max-width: 900px) {
  .site-header .header-ad { display: none !important; }

  .site-header {
    justify-content: space-between;
  }

  .site-header .header-left {
    flex: 0 0 auto;
  }

  .site-header .header-right {
    margin-left: auto;
  }
}

/* ── Social icons: hide below 600px ── */
@media (max-width: 600px) {
  .nav-follow { display: none !important; }

  .top-bar-left span { font-size: 12px; white-space: nowrap; }
  .top-bar-right a   { font-size: 12px; text-decoration: none; }

  .site-header {
    padding: 8px 12px;
  }

  /* Logo size on mobile */
  .site-header .logo img {
    height: 46px !important;
    width: auto !important;
  }

  .header-right { gap: 6px; }

  /* LiveTV: icon only */
  .live-tv span { display: none; }
  .live-tv { padding: 6px 8px; }

  /* Download App: compact */
  .app-download-btn {
    padding: 6px 10px;
    font-size: 13px;
    gap: 6px;
    border-radius: 8px;
  }

  .app-download-text { font-size: 13px; }
}

/* ── NAV BAR (nav-brand-blue) ── */
.nav-brand-blue {
  width: 100%;
  overflow: hidden;
}

.nav-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: block;
}

.nav-scroll::-webkit-scrollbar { display: none; }

@media (max-width: 600px) {
  .nav-link-custom {
    font-size: 15px !important;
    padding: 10px 8px !important;
  }
}

/* ── PILLAR ADS: hide on everything below wide desktop ── */
@media (max-width: 1379px) {
  #pillar-ad-left,
  #pillar-ad-right { display: none !important; }
}
