@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
  /* Colors (Light Theme Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-green-light: #ecfdf5;
  
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  
  --accent-red: #ef4444;
  --accent-red-light: #fee2e2;
  
  --border-color: #e2e8f0;
  --border-focus: #10b981;
  
  /* Shadow Systems */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  
  /* Layout & Animation */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Logo SVG variable overrides for Light mode */
  --logo-text-invest: #0f172a;
  --logo-text-sub: #475569;
  --logo-pillar-1: #1e293b;
  --logo-pillar-2: #1e293b;
  
  /* Glassmorphism Defaults */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-blur: blur(12px);
}

[data-theme="dark"] {
  /* Colors (Dark Theme) */
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #090d16;
  
  --accent-green-light: rgba(16, 185, 129, 0.1);
  --accent-amber-light: rgba(217, 119, 6, 0.1);
  --accent-red-light: rgba(239, 68, 68, 0.1);
  
  --border-color: #2d3748;
  --border-focus: #10b981;
  
  /* Shadows and Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(45, 55, 72, 0.5);
  
  /* Logo SVG variable overrides for Dark mode */
  --logo-text-invest: #f8fafc;
  --logo-text-sub: #cbd5e1;
  --logo-pillar-1: #e2e8f0;
  --logo-pillar-2: #e2e8f0;
}

/* --- BASICS & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

input, button, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  background-color: var(--accent-green-light);
  color: var(--accent-green);
}

.badge-amber {
  background-color: var(--accent-amber-light);
  color: var(--accent-amber);
}

.glow-btn {
  background-color: var(--accent-green);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.glow-btn:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.6);
}

.glow-btn:active {
  transform: translateY(0);
}

/* --- FINANCIAL TICKER BAR --- */
.ticker-bar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 100;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticker-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticker-items-container {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-slide 30s linear infinite;
  gap: 3rem;
  padding-left: 2rem;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ticker-name {
  color: var(--text-secondary);
}

.ticker-val {
  color: var(--text-primary);
  font-weight: 700;
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-weight: 700;
}

.ticker-up { color: var(--accent-green); }
.ticker-down { color: var(--accent-red); }

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

/* --- HEADER & NAVIGATION --- */
header {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 48px;
  width: 240px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-green);
  transition: var(--transition);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

/* Extra controls: dark mode toggle, search, newsletter button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; fill: currentColor; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

/* Menu button for mobile */
.menu-btn {
  display: none;
}

/* --- HERO SECTION --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.hero-main-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), box-shadow 0.4s ease;
}

.hero-main-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-main-card:hover .hero-img {
  transform: scale(1.04);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.65) 100%);
}

.hero-badge-overlay {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
}

.hero-meta-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
}

.hero-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-title a:hover {
  color: var(--accent-green);
}

.hero-excerpt {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--accent-green);
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sidebar List */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-heading {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.sidebar-heading::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--border-color);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
  transition: var(--transition);
}

.sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-item:hover {
  transform: translateX(4px);
}

.sidebar-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.sidebar-title a:hover {
  color: var(--accent-green);
}

.sidebar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- CATEGORIES SECTION --- */
.category-section {
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--border-color);
  padding: 3rem 0;
  box-shadow: inset 0 8px 30px rgb(0,0,0,0.01);
}

.category-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.category-item:hover, .category-item.active {
  background-color: var(--bg-primary);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-item.active {
  background-color: var(--accent-green-light);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  transition: var(--transition);
}

.category-item:hover .category-icon, .category-item.active .category-icon {
  background-color: var(--accent-green);
  color: #ffffff;
  border-color: var(--accent-green);
}

.category-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  background-color: var(--bg-tertiary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.category-item:hover .category-count, .category-item.active .category-count {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* --- MAIN GRID & SIDEBAR (SIP CALCULATOR) --- */
.main-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

/* Article grid cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.article-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--text-muted);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-card:hover .card-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a:hover {
  color: var(--accent-green);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-author-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.card-author-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.read-more-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more-link:hover {
  gap: 0.5rem;
}

/* Pagination / Shimmer Loading Mockup */
.load-more-container {
  grid-column: span 2;
  text-align: center;
  margin-top: 2.5rem;
}

.shimmer-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.shimmer-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* --- PREMIUM SIP CALCULATOR WIDGET --- */
.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calculator-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-premium);
}

.calc-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.calc-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.input-val-display {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-green);
  background-color: var(--accent-green-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Range Slider Styling */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-color);
  outline: none;
  transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-green);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--accent-green-hover);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.3);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--accent-green);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  transition: var(--transition);
}

.range-slider::-moz-range-thumb:hover {
  background: var(--accent-green-hover);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.3);
}

.calc-results {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-result-row.total-wealth {
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.calc-result-row.total-wealth span:last-child {
  color: var(--accent-green);
}

/* --- THE INDIA OPPORTUNITY NEWSLETTER --- */
.newsletter-section {
  margin: 5rem 0;
}

.newsletter-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .newsletter-card {
  background: linear-gradient(135deg, #111827 0%, #030712 100%);
  border: 1px solid var(--border-color);
}

.newsletter-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
}

.newsletter-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.newsletter-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-badge {
  align-self: flex-start;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  margin-bottom: 1.25rem;
}

.newsletter-heading {
  font-family: var(--font-editorial);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.newsletter-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.newsletter-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.bullet-icon {
  color: var(--accent-green);
}

.newsletter-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: var(--transition);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  border-color: var(--accent-green);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.form-submit-btn {
  background-color: var(--accent-green);
  color: #ffffff;
  border: none;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.form-submit-btn:hover {
  background-color: var(--accent-green-hover);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.form-policy-text {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.75rem;
}

/* --- FOOTER & DISCLAIMER --- */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 48px;
  width: 240px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

/* SEBI Compliant Disclaimer Box */
.disclaimer-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.disclaimer-heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-heading svg {
  color: var(--accent-amber);
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bottom-links a:hover {
  color: var(--accent-green);
}

/* --- OVERLAYS & MODALS --- */
/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 13, 22, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-modal-container {
  width: 90%;
  max-width: 600px;
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.search-overlay.active .search-modal-container {
  transform: translateY(0);
}

.search-form-row {
  display: flex;
  gap: 1rem;
  position: relative;
}

.search-input-field {
  flex-grow: 1;
  background: none;
  border: none;
  border-bottom: 2px solid #ffffff;
  color: #ffffff;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  font-weight: 600;
}

.search-input-field::placeholder {
  color: #64748b;
}

.search-close-btn {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 2rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .main-layout-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .newsletter-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .newsletter-card {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 70px;
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-btn {
    display: flex;
    font-size: 1.5rem;
  }
  
  .mobile-menu-active .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-secondary);
    z-index: 80;
    padding: 2rem 1.5rem;
    gap: 2rem;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }
  
  .mobile-menu-active .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }
  
  .mobile-menu-active .nav-item {
    font-size: 1.2rem;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
  }
  
  .mobile-menu-active .nav-actions {
    margin-top: 1rem;
    justify-content: space-between;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .load-more-container {
    grid-column: span 1;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-img-wrap {
    height: 280px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .logo-wrapper {
    width: 180px;
  }
  
  .category-flex {
    justify-content: stretch;
  }
  
  .category-item {
    width: 100%;
    justify-content: space-between;
  }
  
  .newsletter-heading {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* --- WORDPRESS CORE BLOCKS COMPATIBILITY & OVERRIDES --- */
.entry-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.entry-content h2, .entry-content h3 {
  font-family: var(--font-editorial);
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.entry-content h2 { font-size: 1.85rem; }
.entry-content h3 { font-size: 1.45rem; }

.entry-content p {
  margin-bottom: 1.75rem;
}

.entry-content a {
  color: var(--accent-green);
  text-decoration: underline;
  font-weight: 600;
}

.entry-content a:hover {
  color: var(--accent-green-hover);
}

.entry-content blockquote {
  border-left: 4px solid var(--accent-green);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Dynamic Reading Content Container */
.post-reading-banner {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
