/* ===================================================================
   CRITICAL LOGO AND HEADER STYLES
   =================================================================== */
.brand-logo-img,
.ag-brand-logo-img,
.logo-brand img,
.ag-logo-brand img,
.header-main img,
.ag-header-main img,
.ag-header-inner img,
.header-inner img {
  height: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 250px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-logo-img,
.ag-footer-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  background-color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* Single Post Category Badge - Strict White Text, No Blue underline */
.ag-single-cat-badge,
.single-cat-badge {
  display: inline-block;
  background-color: #2e7d32;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.ag-single-cat-badge a,
.single-cat-badge a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-block;
}

.ag-single-cat-badge a:hover,
.single-cat-badge a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.92;
}

/* Web Stories Arrow Buttons */
.ag-stories-nav-btns {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ag-stories-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  user-select: none;
}

.ag-stories-arrow:hover {
  background-color: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

/* ===================================================================
   CATEGORY PAGE LAYOUT STYLES (बाजारभाव & All Categories)
   =================================================================== */
.ag-category-main-content {
  padding: 10px 0 50px 0;
}

.ag-category-intro-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ag-cat-badge-wrap {
  margin-bottom: 12px;
}

.ag-cat-label-pill {
  display: inline-block;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.ag-category-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

.ag-category-description-text p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.72;
  margin-bottom: 12px;
}

.ag-category-description-text a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: underline;
}

/* Category Articles 3-Col Grid */
.ag-grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.ag-cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ag-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.ag-cat-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.ag-cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ag-cat-card:hover .ag-cat-card-media img {
  transform: scale(1.04);
}

.ag-card-badge-small {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #2e7d32;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ag-cat-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ag-cat-card-date {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
}

.ag-cat-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ag-cat-card-excerpt {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ag-cat-readmore {
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: auto;
}

/* Related Guides Grid */
.ag-related-guides-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 36px;
}

.ag-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ag-guide-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s ease;
}

.ag-guide-card:hover {
  background: #f0fdf4;
  border-color: #86efac;
}

.ag-guide-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.ag-guide-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.ag-guide-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 10px;
}

.ag-guide-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2e7d32;
}

/* FAQ Section Accordion */
.ag-faq-section-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 36px;
}

.ag-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ag-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.ag-faq-item[open] {
  background-color: #ffffff;
  border-color: #2e7d32;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.08);
}

.ag-faq-question {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ag-faq-question::-webkit-details-marker {
  display: none;
}

.ag-faq-icon {
  font-size: 1.3rem;
  color: #2e7d32;
  font-weight: 700;
}

.ag-faq-answer {
  padding: 0 18px 16px 18px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
  padding-top: 12px;
}

.ag-faq-answer a {
  color: #2e7d32;
  font-weight: 600;
  text-decoration: underline;
}

/* ===================================================================
   NEWS CATEGORY PAGE STYLES (मराठी बातम्या)
   =================================================================== */

/* Breaking News Section */
.ag-breaking-section {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-left: 4px solid #dc2626;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 32px;
}

.ag-live-pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #dc2626;
  border-radius: 50%;
  margin-right: 6px;
  animation: ag-pulse 1.5s infinite;
}

@keyframes ag-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.ag-breaking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ag-breaking-card {
  background: #ffffff;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ag-breaking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
  border-color: #fca5a5;
}

.ag-breaking-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: #dc2626;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.ag-breaking-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.ag-breaking-title a {
  color: #0f172a;
  text-decoration: none;
}

.ag-breaking-title a:hover {
  color: #dc2626;
}

.ag-breaking-meta {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ag-updated-badge {
  color: #16a34a;
  font-weight: 600;
}

/* Topic / Sub-category Navigation Pills */
.ag-topic-nav-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.ag-topic-nav-header {
  margin-bottom: 12px;
}

.ag-topic-nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ag-topic-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ag-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #1e293b;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.ag-topic-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.ag-topic-pill.active {
  background: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
}

/* Editorial Trust Box */
.ag-editorial-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 36px;
}

.ag-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ag-trust-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  transition: all 0.2s ease;
}

.ag-trust-card:hover {
  background: #f0fdf4;
  border-color: #86efac;
}

.ag-trust-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.ag-trust-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.ag-trust-card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .ag-breaking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ag-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ag-grid-2-cols {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .ag-breaking-grid {
    grid-template-columns: 1fr;
  }
  .ag-trust-grid {
    grid-template-columns: 1fr;
  }
  .ag-topic-pills-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .ag-topic-pill {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

/* ===================================================================
   CRITICAL LOGO AND HEADER STYLES
   =================================================================== */
.brand-logo-img,
.ag-brand-logo-img,
.logo-brand img,
.ag-logo-brand img,
.header-main img,
.ag-header-main img,
.ag-header-inner img,
.header-inner img {
  height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-logo-img,
.ag-footer-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  background-color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.ag-container, .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.ag-header-main, .header-main {
  background-color: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ag-header-inner, .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ag-search-box, .search-box {
  position: relative;
  width: 320px;
}

.ag-search-box input, .search-box input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.9rem;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.ag-search-box input:focus, .search-box input:focus {
  border-color: #2e7d32;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.ag-search-icon, .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 0.95rem;
}

.ag-mobile-toggle, .mobile-nav-toggle {
  display: none;
}

/* ===================================================================
   eShetkari (ई-शेतकरी) - Professional Agriculture News Portal CSS
   Inspired by Agrowon & Modern Editorial News Standards
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Tiro+Devanagari+Marathi:ital@0;1&family=Yantramanav:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-green: #2e7d32;
  --dark-green: #1b5e20;
  --light-green-bg: #8bc34a;
  --vibrant-green-bg: #84cc16;
  --accent-green-banner: #7cb342;
  --accent-gold: #f59e0b;
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-marathi: 'Mukta', 'Noto Sans Devanagari', 'Tiro Devanagari Marathi', 'Yantramanav', 'Nirmala UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-latin: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Remove all ugly grey scrollbars for Google AMP mobile look */
::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
}

* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body {
  font-family: var(--font-marathi);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden !important;
  width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container, .ag-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===================================================================
   Top Bar & Header
   =================================================================== */

.top-bar, .ag-top-bar {
  background-color: #111827;
  color: #d1d5db;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid #1f2937;
}

.top-bar-inner, .ag-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .ag-top-bar-left, .top-bar-right, .ag-top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge, .ag-live-badge {
  background-color: #dc2626;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.header-main, .ag-header-main {
  background-color: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner, .ag-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-site-link, .ag-topbar-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-icon, .ag-topbar-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
}

.logo-brand, .ag-logo-brand {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-brand, .ag-logo-brand:hover {
  opacity: 0.92;
  transform: scale(1.01);
}

.brand-logo-img, .ag-brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.footer-logo-img, .ag-footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 14px;
  display: block;
  background-color: #ffffff;
  padding: 4px 8px;
}


.search-box, .ag-search-box {
  position: relative;
  width: 340px;
}

.search-box, .ag-search-box input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-family: var(--font-marathi);
  font-size: 0.9rem;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.search-box, .ag-search-box input:focus {
  border-color: var(--primary-green);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.search-icon, .ag-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===================================================================
   Navigation Bar (Desktop View - Dark Green Bar Below Logo)
   =================================================================== */

.nav-bar, .ag-nav-bar {
  background-color: #1b5e20 !important;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links, .ag-nav-links {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.nav-links::-webkit-scrollbar, .ag-nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links li, .ag-nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li a, .ag-nav-links li a,
.nav-links .menu-item a, .ag-nav-links .menu-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-links li a:hover,
.nav-links .menu-item a:hover,
.ag-nav-links li a:hover,
.ag-nav-links .menu-item a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
}

.nav-links li a.active,
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a,
.ag-nav-links li a.active,
.ag-nav-links li.current-menu-item a,
.ag-nav-links li.current_page_item a,
.ag-nav-links li.active-item a {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border-bottom: 3px solid #f59e0b !important;
  color: #ffffff !important;
}

/* ===================================================================
   Mobile Drawer Navigation (Clean List with Icons as per User Image)
   =================================================================== */

.mobile-drawer, .ag-mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active, .ag-mobile-drawer.active {
  left: 0;
}

.drawer-header, .ag-drawer-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.drawer-logo, .ag-drawer-logo {
  height: 38px;
  max-width: 160px;
  object-fit: contain;
}

.drawer-close, .ag-drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
}

.drawer-links, .ag-drawer-links {
  list-style: none;
  padding: 12px 8px;
  margin: 0;
}

.drawer-links li, .ag-drawer-links li {
  list-style: none;
  margin: 4px 6px;
}

.drawer-links li a, .ag-drawer-links li a,
.drawer-links .menu-item a, .ag-drawer-links .menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.drawer-links li a .ag-drawer-icon,
.ag-drawer-links li a .ag-drawer-icon {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  flex-shrink: 0;
}

.drawer-links li a:hover,
.ag-drawer-links li a:hover {
  background-color: #f8fafc;
  color: #166534;
  padding-left: 18px;
}

/* Active State in Mobile Drawer (Mint pill box as per Image 1) */
.drawer-links li a.active,
.drawer-links li.active-item a,
.drawer-links li.current-menu-item a,
.drawer-links li.current_page_item a,
.ag-drawer-links li a.active,
.ag-drawer-links li.active-item a,
.ag-drawer-links li.current-menu-item a,
.ag-drawer-links li.current_page_item a {
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  font-weight: 800;
  border: 1px solid #bbf7d0 !important;
  border-radius: 8px;
  padding-left: 16px;
}

.drawer-overlay, .ag-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  backdrop-filter: blur(2px);
}

.drawer-overlay.active, .ag-drawer-overlay.active {
  display: block;
}

/* ===================================================================
   Ticker Bar (Breaking News)
   =================================================================== */

.ticker-bar, .ag-ticker-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
}

.ticker-label, .ag-ticker-label {
  background-color: #dc2626;
  color: white;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  gap: 6px;
  z-index: 2;
}

.ticker-content, .ag-ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-items, .ag-ticker-items {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 35s linear infinite;
}

.ticker-items, .ag-ticker-items:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  margin-right: 40px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}

.ticker-item:hover {
  color: var(--primary-green);
}

@keyframes ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ===================================================================
   Section Headings
   =================================================================== */

.section-wrapper, .ag-section-wrapper {
  padding: 30px 0;
}

.section-header, .ag-section-header {
  margin-bottom: 20px;
}

.section-title, .ag-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  display: inline-block;
  position: relative;
}

.section-header, .ag-section-header.light-title .section-title, .ag-section-title {
  color: #111827;
}

/* ===================================================================
   SECTION 1: मुख्य बातम्या (Main / Featured Headlines)
   Layout: 1 Big Left Card + 4 Sub Cards (2 columns x 2 rows)
   =================================================================== */

.headlines-grid, .ag-headlines-grid {
  display: grid;
  grid-template-columns: 48% 1fr;
  gap: 24px;
}

/* Big Hero Card */
.hero-card, .ag-hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.hero-card, .ag-hero-card:hover {
  transform: translateY(-2px);
}

.hero-media, .ag-hero-media {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.hero-media, .ag-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-card, .ag-hero-card:hover .hero-media, .ag-hero-media img {
  transform: scale(1.03);
}

.hero-body, .ag-hero-body {
  padding: 18px 0 6px 0;
}

.hero-title, .ag-hero-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 8px;
}

.hero-title, .ag-hero-title:hover {
  color: var(--primary-green);
}

.hero-time, .ag-hero-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-excerpt, .ag-hero-excerpt {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sub-Cards Grid (4 items: 2 columns x 2 rows) */
.sub-headlines-grid, .ag-sub-headlines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.sub-card, .ag-sub-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.sub-card, .ag-sub-card:hover {
  transform: translateY(-2px);
}

.sub-media, .ag-sub-media {
  width: 135px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #e2e8f0;
}

.sub-media, .ag-sub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sub-card, .ag-sub-card:hover .sub-media, .ag-sub-media img {
  transform: scale(1.05);
}

.sub-body, .ag-sub-body {
  flex: 1;
}

.sub-title, .ag-sub-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.sub-card, .ag-sub-card:hover .sub-title, .ag-sub-title {
  color: var(--primary-green);
}

.sub-time, .ag-sub-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   SECTION 2: ताज्या बातम्या (Latest News - Green Brand Section)
   Layout: 4 columns x 2 rows = 8 cards on Vibrant Green Background
   =================================================================== */

.section-latest-green, .ag-section-latest-green {
  background-color: var(--accent-green-banner);
  padding: 36px 0;
}

.section-latest-green, .ag-section-latest-green .section-title, .ag-section-title {
  color: #0f2910;
  font-size: 2rem;
  margin-bottom: 24px;
}

.grid-4-cols, .ag-grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card-latest, .ag-card-latest {
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card-latest, .ag-card-latest:hover {
  transform: translateY(-3px);
}

.card-latest-media, .ag-card-latest-media {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.card-latest-media, .ag-card-latest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-latest, .ag-card-latest:hover .card-latest-media, .ag-card-latest-media img {
  transform: scale(1.05);
}

.card-latest-title, .ag-card-latest-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0d280e;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-latest, .ag-card-latest:hover .card-latest-title, .ag-card-latest-title {
  color: #000000;
  text-decoration: underline;
}

.card-latest-time, .ag-card-latest-time {
  font-size: 0.85rem;
  color: #244b25;
  font-weight: 500;
}

/* ===================================================================
   SECTION 3: मार्केट इन्टेलिजन्स / बाजारभाव (Market Intelligence)
   Layout: 4 columns x 2 rows = 8 cards
   =================================================================== */

.card-market, .ag-card-market {
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card-market, .ag-card-market:hover {
  transform: translateY(-3px);
}

.card-market-media, .ag-card-market-media {
  width: 100%;
  height: 165px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card-market-media, .ag-card-market-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-market, .ag-card-market:hover .card-market-media, .ag-card-market-media img {
  transform: scale(1.04);
}

.card-market-title, .ag-card-market-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-market, .ag-card-market:hover .card-market-title, .ag-card-market-title {
  color: var(--primary-green);
}

.card-market-time, .ag-card-market-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================================================================
   SECTION 4: वेब स्टोरीज (Web Stories - 9:16 Aspect Ratio)
   Layout: 4 columns vertical cards with story icon and gradient overlay
   =================================================================== */

.web-stories-grid, .ag-web-stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.story-card, .ag-story-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card, .ag-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-card, .ag-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card, .ag-story-card:hover img {
  transform: scale(1.08);
}

.story-icon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #48bb78;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 85%, rgba(0,0,0,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 14px;
  color: #ffffff;
  z-index: 1;
}

.story-title, .ag-story-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.story-time {
  font-size: 0.78rem;
  color: #d1d5db;
}

/* ===================================================================
   Footer
   =================================================================== */

.site-footer, .ag-site-footer, .footer-main {
  background-color: #0f172a !important;
  color: #cbd5e1 !important;
  padding: 50px 0 24px 0 !important;
  margin-top: 50px !important;
  border-top: 4px solid var(--primary-green) !important;
  display: block !important;
  width: 100% !important;
}

.footer-grid, .ag-footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1.1fr 1fr 1.3fr !important;
  gap: 36px !important;
  margin-bottom: 36px !important;
}

.footer-col, .ag-footer-col {
  display: flex !important;
  flex-direction: column !important;
}

.footer-col h4, .ag-footer-col h4, .footer-title, .ag-footer-title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  border-left: 4px solid var(--primary-green) !important;
  padding-left: 10px !important;
  letter-spacing: 0.2px !important;
}

.footer-col ul, .ag-footer-col ul, .footer-links, .ag-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col ul li, .ag-footer-col ul li {
  margin-bottom: 11px !important;
}

.footer-col ul li a, .ag-footer-col ul li a, .footer-links a, .ag-footer-links a {
  color: #cbd5e1 !important;
  font-size: 0.94rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
}

.footer-col ul li a:hover, .ag-footer-col ul li a:hover, .footer-links a:hover, .ag-footer-links a:hover {
  color: #4ade80 !important;
  transform: translateX(4px) !important;
}

.ag-footer-desc, .footer-desc {
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  margin-top: 10px !important;
}

.footer-bottom, .ag-footer-bottom {
  border-top: 1px solid #1e293b !important;
  padding-top: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
}

/* ===================================================================
   Mobile Navigation & Drawer
   =================================================================== */

.mobile-nav-toggle, .ag-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-green);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
}

.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.drawer-logo, .ag-drawer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #4b5563;
  padding: 4px;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 6px;
}

.drawer-links li a:hover,
.drawer-links li a.active {
  color: var(--primary-green);
  background-color: #f0fdf4;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1999;
}

.drawer-overlay.open {
  display: block;
}

/* ===================================================================
   Single Post Editorial Styles
   =================================================================== */

.ag-single-post-page {
  padding: 24px 0 60px 0;
}

.ag-breadcrumb {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ag-breadcrumb a {
  color: var(--primary-green);
  font-weight: 600;
}

.ag-breadcrumb a:hover {
  text-decoration: underline;
}

.ag-article-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.ag-single-cat-badge {
  display: inline-block;
  background-color: var(--primary-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ag-single-title {
  font-size: 1.95rem; /* ~31px: Standard Google News Desktop Marathi headline */
  font-weight: 800;
  line-height: 1.36;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
  word-break: normal;
  overflow-wrap: break-word;
}

.ag-single-dek {
  font-size: 1.1rem; /* ~17.6px */
  font-weight: 500;
  line-height: 1.65;
  color: #334155;
  border-left: 4px solid var(--primary-green);
  margin-bottom: 22px;
  background-color: #f8fafc;
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
}

.ag-single-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.ag-meta-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ag-meta-avatar img {
  border-radius: 50%;
  border: 2px solid var(--border-color);
  width: 44px;
  height: 44px;
  display: block;
}

.ag-meta-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
}

.ag-meta-author-name a {
  color: var(--primary-green);
}

.ag-meta-dates {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ag-share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ag-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ag-share-whatsapp {
  background-color: #25D366;
}

.ag-share-fb {
  background-color: #1877F2;
}

.ag-share-tw {
  background-color: #0f1419;
}

.ag-single-main-media {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  background-color: #f1f5f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.ag-single-main-media img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.ag-image-caption {
  font-size: 0.82rem;
  color: #64748b;
  padding: 8px 14px;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-style: italic;
}

.ag-single-content {
  font-size: 1.125rem; /* ~18px: Google News Marathi standard body text */
  line-height: 1.85; /* Generous line height for clear Devanagari vowel matras */
  color: #1e293b;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  word-break: normal;
  overflow-wrap: break-word;
}

.ag-single-content h2 {
  font-size: 1.48rem; /* ~23.6px */
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 34px 0 16px 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.ag-single-content h3 {
  font-size: 1.25rem; /* ~20px */
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 26px 0 12px 0;
}

.ag-single-content p {
  margin-bottom: 20px;
}

.ag-single-content ul, .ag-single-content ol {
  margin: 16px 0 22px 24px;
}

.ag-single-content blockquote {
  background-color: #f0fdf4;
  border-left: 5px solid var(--primary-green);
  padding: 16px 20px;
  margin: 26px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.ag-single-tags-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.ag-tag-pill {
  display: inline-block;
  background-color: #f1f5f9;
  color: var(--primary-green);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.ag-author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 40px;
}

.ag-author-box-avatar img {
  border-radius: 50%;
  border: 3px solid var(--primary-green);
  width: 72px;
  height: 72px;
  display: block;
}

/* ===================================================================
   Responsive Breakpoints & Mobile Optimization
   =================================================================== */

@media (max-width: 1024px) {
  .headlines-grid, .ag-headlines-grid {
    grid-template-columns: 1fr;
  }
  .hero-media, .ag-hero-media {
    height: 300px;
  }
  .grid-4-cols, .ag-grid-4-cols,
  .web-stories-grid, .ag-web-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid, .ag-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle, .ag-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    color: var(--dark-green);
    background: none;
    border: none;
    cursor: pointer;
    grid-column: 1;
  }
  .mobile-drawer {
    display: block;
  }
  .search-box, .ag-search-box {
    display: none;
  }
  .top-bar-right, .ag-top-bar-right {
    display: none;
  }
  
  /* Strictly Center Logo in Mobile Header */
  .header-main, .ag-header-main {
    padding: 10px 0;
  }
  .header-inner, .ag-header-inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 6px;
  }
  .logo-brand, .ag-logo-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    grid-column: 2;
  }
  .brand-logo-img, .ag-brand-logo-img {
    height: 44px;
    max-width: 210px;
    margin: 0 auto;
    display: block;
  }
  .header-right-spacer, .ag-header-right-spacer {
    width: 40px;
    height: 40px;
    grid-column: 3;
    display: block;
  }

  /* Completely Remove the Horizontal Nav-bar below Logo on Mobile */
  .nav-bar, .ag-nav-bar {
    display: none !important;
  }

  .ticker-bar, .ag-ticker-bar {
    height: 38px;
  }
  .ticker-label, .ag-ticker-label {
    padding: 0 10px;
    font-size: 0.8rem;
  }
  .ticker-item {
    font-size: 0.85rem;
  }
}


@media (max-width: 640px) {
  .container, .ag-container {
    padding: 0 12px;
  }
  .section-wrapper, .ag-section-wrapper {
    padding: 22px 0;
  }
  .section-title, .ag-section-title {
    font-size: 1.55rem;
  }
  .hero-media, .ag-hero-media {
    height: 200px;
  }
  .hero-title, .ag-hero-title {
    font-size: 1.18rem;
  }
  .hero-excerpt, .ag-hero-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
  
  /* Compact list style for sub-headlines on phone */
  .sub-headlines-grid, .ag-sub-headlines-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sub-card, .ag-sub-card {
    gap: 12px;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
  }
  .sub-media, .ag-sub-media {
    width: 95px;
    height: 70px;
  }
  .sub-title, .ag-sub-title {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
  
  /* High-density 2-col cards on mobile for Latest News & Market Intel */
  .grid-4-cols, .ag-grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-latest-media, .ag-card-latest-media,
  .card-market-media, .ag-card-market-media {
    height: 110px;
    margin-bottom: 8px;
  }
  .card-latest-title, .ag-card-latest-title,
  .card-market-title, .ag-card-market-title {
    font-size: 0.88rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  .card-latest-time, .ag-card-latest-time,
  .card-market-time, .ag-card-market-time {
    font-size: 0.75rem;
  }
  
  /* Swipeable Carousel for Web Stories on Mobile */
  .web-stories-grid, .ag-web-stories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .web-stories-grid, .ag-web-stories-grid::-webkit-scrollbar {
    display: none;
  }
  .story-card, .ag-story-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    border-radius: 10px;
  }
  .story-title, .ag-story-title {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }

  /* Single Post Mobile Optimization (Google News Standard) */
  .ag-single-post-page {
    padding: 14px 0 36px 0;
  }
  .ag-article-card {
    padding: 18px 14px;
    border-radius: 10px;
  }
  .ag-single-cat-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    margin-bottom: 10px;
  }
  .ag-single-title {
    font-size: 1.42rem; /* ~22.7px: Standard Google News mobile Marathi headline */
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .ag-single-dek {
    font-size: 0.96rem; /* ~15.4px */
    line-height: 1.58;
    padding: 10px 12px;
    margin-bottom: 16px;
  }
  .ag-single-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    margin-bottom: 18px;
  }
  .ag-share-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .ag-share-btn {
    flex: 1;
    justify-content: center;
    padding: 8px;
    font-size: 0.8rem;
  }
  .ag-single-content {
    font-size: 1.06rem; /* ~17px: Google Mobile standard for Devanagari */
    line-height: 1.82;
    color: #1e293b;
    letter-spacing: 0.01em;
  }
  .ag-single-content h2 {
    font-size: 1.25rem; /* ~20px */
    margin: 22px 0 10px 0;
    line-height: 1.4;
  }
  .ag-single-content h3 {
    font-size: 1.12rem; /* ~18px */
    margin: 18px 0 8px 0;
    line-height: 1.4;
  }
  .ag-single-content p {
    margin-bottom: 16px;
  }
  .ag-author-box {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  .footer-grid, .ag-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom, .ag-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

