/**
 * Jagruk Junction — Modern Editorial Design System ("Digital Trust")
 * Version: 3.0 (Full UI/UX & Editorial Typography Overhaul)
 * High-performance, mobile-first responsive news portal design
 */

:root {
  /* Curated Color Palette */
  --jj-bg-canvas: #f8fafc;
  --jj-bg-surface: #ffffff;
  --jj-bg-muted: #f1f5f9;
  --jj-bg-subtle: #e2e8f0;
  
  --jj-text-primary: #0f172a;
  --jj-text-secondary: #334155;
  --jj-text-muted: #64748b;
  --jj-text-light: #94a3b8;
  
  --jj-navy-950: #050e1d;
  --jj-navy-900: #0a192f;
  --jj-navy-800: #0f2942;
  --jj-navy-700: #1a365d;
  --jj-navy-600: #233656;
  
  --jj-crimson-600: #dc2626;
  --jj-crimson-700: #b91c1c;
  --jj-saffron-500: #f97316;
  --jj-saffron-600: #ea580c;
  --jj-saffron-700: #c2410c;
  --jj-amber-400: #fbbf24;
  --jj-amber-500: #f59e0b;
  --jj-amber-600: #d97706;
  
  --jj-border-subtle: #e2e8f0;
  --jj-border-medium: #cbd5e1;
  --jj-border-strong: #94a3b8;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Merriweather', Georgia, Cambria, "Times New Roman", Times, serif;
  --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;
  --font-bangla: 'Noto Sans Bengali', 'Inter', sans-serif;
  
  /* Elevation Shadows & Radius */
  --jj-shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --jj-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --jj-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.07);
  --jj-shadow-lg: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
  --jj-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  
  --jj-radius-sm: 6px;
  --jj-radius-md: 10px;
  --jj-radius-lg: 14px;
  --jj-radius-xl: 18px;
  --jj-radius-2xl: 24px;
  --jj-radius-full: 9999px;
  
  /* Transitions */
  --jj-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --jj-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--jj-bg-canvas);
  color: var(--jj-text-primary);
  font-family: var(--font-hindi);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[lang="hi"], .lang-hi {
  font-family: var(--font-hindi);
}

[lang="bn"], .lang-bn {
  font-family: var(--font-bangla);
}

/* Container */
.jj-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Main Spacing */
.jj-main-content {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Top Utility Bar */
.jj-utility-bar {
  background-color: var(--jj-navy-950);
  color: #e2e8f0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.jj-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jj-live-market-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--jj-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--jj-transition-fast);
}

.jj-live-market-pill:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.jj-market-up { color: #4ade80; font-weight: 700; }
.jj-market-down { color: #f87171; font-weight: 700; }

.jj-edition-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--jj-radius-full);
  padding: 2px 4px;
}

.jj-edition-btn {
  padding: 0.2rem 0.65rem;
  border-radius: var(--jj-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: all var(--jj-transition-fast);
}

.jj-edition-btn:hover { color: #ffffff; }
.jj-edition-btn.active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.45);
}

/* Modern Masthead Header */
.jj-masthead {
  background-color: var(--jj-navy-900);
  background-image: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.25) 0%, transparent 60%);
  border-bottom: 3px solid var(--jj-saffron-600);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px -2px rgba(5, 14, 29, 0.35);
  backdrop-filter: blur(8px);
}

.jj-masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.jj-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0 !important;
}

.jj-brand-emblem-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--jj-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--jj-transition-fast);
  flex-shrink: 0 !important;
  min-width: 120px;
}

.jj-brand-logo:hover .jj-brand-emblem-wrap {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-1px);
}

.jj-brand-img {
  height: 42px;
  width: auto;
  min-width: 120px;
  max-width: 180px;
  object-fit: contain;
  border-radius: var(--jj-radius-sm);
  display: block;
  flex-shrink: 0 !important;
}

.jj-live-beacon {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--jj-navy-900);
  box-shadow: 0 0 8px #ef4444;
  animation: jjPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes jjPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

.jj-brand-tagline {
  display: flex;
  flex-direction: column;
}

.jj-brand-name {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.jj-brand-motto {
  color: var(--jj-amber-400);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Navigation Bar */
.jj-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 1;
  min-width: 0;
}

.jj-nav-item {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.825rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--jj-radius-md);
  white-space: nowrap;
  position: relative;
  transition: all var(--jj-transition-fast);
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .jj-nav-item {
    font-size: 0.78rem;
    padding: 0.4rem 0.45rem;
    gap: 0.2rem;
  }
}

.jj-nav-icon {
  font-size: 0.85rem;
}

.jj-nav-item:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.jj-nav-item.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.jj-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background-color: var(--jj-amber-400);
  border-radius: var(--jj-radius-full);
}

/* Tools Dropdown Menu — Solid Opaque Deep Navy */
.jj-tools-dropdown {
  position: relative;
}

.jj-tools-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.35rem;
  width: 16.5rem;
  background-color: #0b1329 !important;
  background: #0b1329 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(6px);
}

.jj-tools-dropdown:hover .jj-tools-menu,
.jj-tools-dropdown:focus-within .jj-tools-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.jj-tools-heading {
  padding: 0.45rem 1rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fbbf24 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.25rem;
}

.jj-tools-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f8fafc !important;
  text-decoration: none;
  transition: all 0.15s ease;
}

.jj-tools-item:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  padding-left: 1.2rem;
}

.jj-tools-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Breaking News Ticker */
.jj-ticker-container {
  background-color: #ffffff;
  border-bottom: 1px solid var(--jj-border-subtle);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jj-ticker-badge {
  background: linear-gradient(135deg, var(--jj-crimson-600), var(--jj-crimson-700));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0 1.1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  text-transform: uppercase;
}

.jj-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.jj-ticker-marquee {
  display: inline-block;
  padding-left: 100%;
  animation: jjTickerScroll 40s linear infinite;
}

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

.jj-ticker-item {
  display: inline-block;
  margin-right: 3.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--jj-text-primary);
  text-decoration: none;
}

.jj-ticker-item:hover {
  color: var(--jj-saffron-700);
  text-decoration: underline;
}

@keyframes jjTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==================================================== */
/* BULLETPROOF RESPONSIVE GRIDS                        */
/* ==================================================== */

.jj-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .jj-hero-grid {
    grid-template-columns: 1.75fr 1fr;
    gap: 2rem;
  }
}

.jj-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .jj-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .jj-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jj-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .jj-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .jj-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section Header Bar */
.jj-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--jj-navy-900);
  padding-bottom: 0.65rem;
  margin-bottom: 1.75rem;
}

.jj-section-header-compact {
  margin-bottom: 1rem;
}

.jj-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--jj-navy-900);
  margin: 0;
  letter-spacing: -0.01em;
}

.jj-section-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--jj-radius-full);
  background-color: var(--jj-saffron-600);
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

.jj-section-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--jj-saffron-700);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--jj-transition-fast);
}

.jj-section-link:hover {
  color: var(--jj-saffron-600);
  text-decoration: underline;
  transform: translateX(2px);
}

.jj-section-block {
  margin-bottom: 3.5rem;
}

/* ==================================================== */
/* HERO LEAD ARTICLE COMPONENT                          */
/* ==================================================== */

.jj-lead-story {
  background-color: var(--jj-bg-surface);
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-2xl);
  overflow: hidden;
  box-shadow: var(--jj-shadow-sm);
  transition: all var(--jj-transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.jj-lead-story:hover {
  box-shadow: var(--jj-shadow-xl);
  border-color: var(--jj-border-medium);
  transform: translateY(-3px);
}

.jj-lead-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--jj-bg-muted);
  overflow: hidden;
}

.jj-lead-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.jj-lead-story:hover .jj-lead-thumb {
  transform: scale(1.03);
}

.jj-lead-badge-overlay {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.jj-lead-tag {
  background: linear-gradient(135deg, var(--jj-crimson-600), var(--jj-crimson-700));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--jj-radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.jj-read-tag {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--jj-radius-full);
}

.jj-lead-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.jj-lead-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.jj-category-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--jj-radius-full);
  text-decoration: none;
}

.jj-pill-primary {
  background-color: #fff7ed;
  color: var(--jj-saffron-700);
  border: 1px solid #fed7aa;
}

.jj-pill-white {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--jj-navy-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.jj-meta-sep {
  color: var(--jj-border-strong);
  font-size: 0.75rem;
}

.jj-meta-date {
  font-size: 0.75rem;
  color: var(--jj-text-muted);
  font-weight: 500;
}

.jj-lead-title {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--jj-text-primary);
  letter-spacing: -0.015em;
  margin: 0.4rem 0 0.85rem 0;
}

.jj-lead-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jj-transition-fast);
}

.jj-lead-title a:hover {
  color: var(--jj-saffron-700);
}

.jj-lead-excerpt {
  font-size: 1rem;
  color: var(--jj-text-secondary);
  line-height: 1.65;
  margin: 0 0 1.25rem 0;
}

.jj-lead-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--jj-border-subtle);
  font-size: 0.8125rem;
}

.jj-author-badge {
  font-weight: 700;
  color: var(--jj-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jj-author-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--jj-saffron-600);
}

.jj-read-more-btn {
  color: var(--jj-saffron-700);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--jj-transition-fast);
}

.jj-read-more-btn:hover {
  color: var(--jj-saffron-600);
  gap: 0.55rem;
}

/* Hero Sidebar & Top Stories */
.jj-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jj-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.jj-story-pill-card {
  background-color: var(--jj-bg-surface);
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-lg);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all var(--jj-transition-fast);
}

.jj-story-pill-card:hover {
  border-color: var(--jj-border-medium);
  box-shadow: var(--jj-shadow-sm);
  transform: translateX(3px);
}

.jj-story-rank {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--jj-saffron-700);
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.jj-story-content {
  flex: 1;
}

.jj-story-category-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--jj-saffron-700);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.jj-story-title {
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--jj-text-primary);
  margin: 0;
}

.jj-story-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jj-transition-fast);
}

.jj-story-title a:hover {
  color: var(--jj-saffron-700);
}

.jj-story-meta-row {
  font-size: 0.7rem;
  color: var(--jj-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 4px;
}

.jj-story-thumb-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--jj-radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--jj-bg-muted);
}

.jj-story-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.jj-story-pill-card:hover .jj-story-thumb {
  transform: scale(1.08);
}

/* Glassmorphic Live Market & Weather Box */
.jj-widget-box {
  background: linear-gradient(145deg, var(--jj-navy-950) 0%, var(--jj-navy-900) 100%);
  color: #ffffff;
  padding: 1.15rem;
  border-radius: var(--jj-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px -4px rgba(5, 14, 29, 0.4);
}

.jj-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.6rem;
}

.jj-live-pill-tag {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--jj-radius-full);
}

.jj-widget-market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
}

.jj-market-metric {
  flex: 1;
  text-align: center;
}

.jj-market-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
}

.jj-widget-weather-strip {
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
}

.jj-weather-chip {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--jj-radius-md);
  padding: 0.4rem 0.5rem;
  text-align: center;
}

.jj-weather-city {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

.jj-weather-temp {
  display: block;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 800;
  margin-top: 1px;
}

/* ==================================================== */
/* EDITORIAL MAGAZINE CARDS                             */
/* ==================================================== */

.jj-card {
  background-color: var(--jj-bg-surface);
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--jj-transition-base);
}

.jj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jj-shadow-lg);
  border-color: var(--jj-border-medium);
}

.jj-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--jj-bg-muted);
  overflow: hidden;
}

.jj-aspect-compact {
  aspect-ratio: 16 / 9;
}

.jj-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  display: block;
}

.jj-card:hover .jj-card-thumb {
  transform: scale(1.05);
}

.jj-card-tag-overlay {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.jj-read-chip {
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--jj-radius-full);
}

.jj-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jj-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--jj-text-primary);
  margin: 0 0 0.6rem 0;
}

.jj-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jj-transition-fast);
}

.jj-card-title a:hover {
  color: var(--jj-saffron-700);
}

.jj-card-excerpt {
  font-size: 0.85rem;
  color: var(--jj-text-secondary);
  line-height: 1.55;
  margin: 0 0 0.85rem 0;
}

.jj-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--jj-text-muted);
  border-top: 1px solid var(--jj-border-subtle);
  padding-top: 0.75rem;
}

.jj-card-author {
  font-weight: 600;
  color: var(--jj-text-secondary);
  display: flex;
  align-items: center;
}

.jj-card-date {
  font-weight: 500;
}

/* Feature Cards without Image (Education / Schemes) */
.jj-editorial-feature-card {
  background-color: var(--jj-bg-surface);
  border: 1px solid var(--jj-border-subtle);
  border-left-width: 4px;
  border-radius: var(--jj-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--jj-transition-base);
}

.jj-editorial-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--jj-shadow-md);
  border-color: var(--jj-border-medium);
}

.jj-feature-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.jj-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--jj-text-primary);
  margin: 0 0 0.5rem 0;
}

.jj-feature-title a {
  color: inherit;
  text-decoration: none;
}

.jj-feature-title a:hover {
  color: var(--jj-saffron-700);
}

.jj-feature-desc {
  font-size: 0.8rem;
  color: var(--jj-text-secondary);
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
}

/* ==================================================== */
/* CITIZEN UTILITIES & FINANCE SECTION                 */
/* ==================================================== */

.jj-utilities-panel {
  background-color: var(--jj-bg-surface);
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-2xl);
  padding: 2rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--jj-shadow-xs);
}

.jj-utilities-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--jj-border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.jj-badge-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--jj-saffron-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.jj-utilities-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--jj-navy-900);
  margin: 0;
}

.jj-utilities-all-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--jj-saffron-700);
  text-decoration: none;
}

.jj-utilities-all-link:hover {
  text-decoration: underline;
}

.jj-tool-card {
  padding: 1.35rem;
  border: 1px solid var(--jj-border-subtle);
  background-color: #fafbfc;
  border-radius: var(--jj-radius-xl);
  transition: all var(--jj-transition-fast);
  display: flex;
  flex-direction: column;
}

.jj-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--jj-shadow-md);
  border-color: var(--jj-border-medium);
  background-color: #ffffff;
}

.jj-tool-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--jj-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.jj-tool-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--jj-navy-900);
  margin: 0 0 0.45rem 0;
}

.jj-tool-desc {
  font-size: 0.8rem;
  color: var(--jj-text-secondary);
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.jj-tool-action {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.jj-tool-action:hover {
  text-decoration: underline;
}

/* Regional News Panel */
.jj-regional-panel {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: var(--jj-radius-2xl);
  padding: 2rem;
  margin-bottom: 3.5rem;
}

/* Sponsored Panel */
.jj-sponsored-panel {
  border-top: 1px solid var(--jj-border-subtle);
  padding-top: 2rem;
  margin-bottom: 3.5rem;
}

/* ==================================================== */
/* NEWSLETTER SUBSCRIPTION COMPONENT                    */
/* ==================================================== */

.jj-newsletter-box {
  background: linear-gradient(135deg, var(--jj-navy-950) 0%, var(--jj-navy-900) 60%, var(--jj-navy-800) 100%);
  color: #ffffff;
  border-radius: var(--jj-radius-2xl);
  padding: 3rem 1.75rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -10px rgba(5, 14, 29, 0.5);
  position: relative;
  overflow: hidden;
}

.jj-newsletter-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.jj-newsletter-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--jj-amber-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.65rem;
}

.jj-newsletter-headline {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}

.jj-newsletter-sub {
  color: #cbd5e1;
  font-size: 0.925rem;
  max-width: 540px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.6;
}

.jj-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .jj-newsletter-form {
    flex-direction: row;
  }
}

.jj-newsletter-input {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border-radius: var(--jj-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  font-family: var(--font-sans);
  transition: all var(--jj-transition-fast);
}

.jj-newsletter-input:focus {
  background: #ffffff;
  border-color: var(--jj-amber-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.jj-newsletter-btn {
  padding: 0.85rem 1.65rem;
  background: linear-gradient(135deg, var(--jj-saffron-600), var(--jj-saffron-700));
  color: #ffffff;
  font-weight: 800;
  border: none;
  border-radius: var(--jj-radius-md);
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
  transition: all var(--jj-transition-fast);
}

.jj-newsletter-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.jj-newsletter-disclaimer {
  font-size: 0.75rem;
  margin-top: 0.85rem;
  color: #94a3b8;
}

/* ==================================================== */
/* REBUILT MODERN FOOTER                               */
/* ==================================================== */

.jj-footer {
  background-color: var(--jj-navy-950);
  color: #94a3b8;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  border-top: 4px solid var(--jj-saffron-600);
  margin-top: 4rem;
}

.jj-footer h4 {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.jj-footer ul { list-style: none; padding: 0; margin: 0; }
.jj-footer ul li { margin-bottom: 0.65rem; }
.jj-footer ul li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--jj-transition-fast);
}
.jj-footer ul li a:hover { color: #ffffff; }

.jj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .jj-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==================================================== */
/* ARTICLE DETAIL & LONGFORM READING EXPERIENCE         */
/* ==================================================== */

/* Top Sticky Reading Progress Bar */
#jj-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--jj-saffron-600), var(--jj-amber-400));
  z-index: 99999;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.7);
}

/* Article Shell */
.jj-article-shell {
  background: #ffffff;
  border-radius: var(--jj-radius-xl);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--jj-border-subtle);
  padding: 1.75rem 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .jj-article-shell {
    padding: 3rem 2.5rem;
  }
}

/* Article Heading & Subhead */
.jj-article-headline {
  font-family: var(--font-hindi);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .jj-article-headline {
    font-size: 2.5rem;
    line-height: 1.3;
  }
}

/* Trust Bar & Reporter Attribution */
.jj-article-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--jj-border-subtle);
  border-bottom: 1px solid var(--jj-border-subtle);
  margin-bottom: 1.75rem;
}

.jj-reporter-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.jj-reporter-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--jj-radius-full);
  background: linear-gradient(135deg, var(--jj-navy-900), var(--jj-navy-700));
  color: var(--jj-amber-400);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.25);
  border: 2px solid #ffffff;
}

.jj-reporter-info-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jj-reporter-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.15rem 0.45rem;
  border-radius: var(--jj-radius-full);
}

.jj-reporter-info-role {
  font-size: 0.775rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.jj-article-time-meta {
  font-size: 0.8125rem;
  color: #64748b;
  text-align: right;
  line-height: 1.45;
}

/* Floating / Inline Social Share & Action Bar */
.jj-share-bar-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  background: #f8fafc;
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-lg);
  margin-bottom: 2rem;
}

.jj-share-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.jj-share-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--jj-radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--jj-transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.jj-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}
.jj-btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.jj-btn-telegram {
  background: #229ED9;
  color: #ffffff;
}
.jj-btn-telegram:hover {
  background: #1c88bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(34, 158, 217, 0.35);
  color: #ffffff;
}

.jj-btn-x {
  background: #0f172a;
  color: #ffffff;
}
.jj-btn-x:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
  color: #ffffff;
}

.jj-btn-facebook {
  background: #1877F2;
  color: #ffffff;
}
.jj-btn-facebook:hover {
  background: #135fc4;
  transform: translateY(-2px);
  color: #ffffff;
}

.jj-btn-copy {
  background: #ffffff;
  color: #334155;
  border-color: #cbd5e1;
}
.jj-btn-copy:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Accessibility Font Resizer */
.jj-font-resizer {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--jj-radius-full);
  overflow: hidden;
}

.jj-resizer-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all var(--jj-transition-fast);
}

.jj-resizer-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.jj-resizer-btn.active {
  background: var(--jj-navy-900);
  color: #ffffff;
}

/* Key Takeaways Card */
.jj-key-takeaways {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid var(--jj-amber-500);
  border-radius: var(--jj-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.jj-takeaways-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.jj-takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jj-takeaways-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.jj-takeaways-list li:last-child {
  margin-bottom: 0;
}

.jj-takeaways-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--jj-saffron-600);
  font-size: 0.875rem;
  font-weight: 900;
}

/* Longform Article Content Typography */
.jj-article-content {
  font-family: var(--font-hindi);
  font-size: 1.125rem;
  line-height: 1.95;
  color: #1e293b;
  word-break: break-word;
}

.jj-article-content p {
  margin-top: 0;
  margin-bottom: 1.65rem;
}

.jj-article-content p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.9;
  font-weight: 500;
  color: #0f172a;
}

.jj-article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--jj-border-subtle);
}

.jj-article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}

.jj-article-content blockquote {
  border-left: 4px solid var(--jj-saffron-600);
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--jj-radius-md) var(--jj-radius-md) 0;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: #334155;
  line-height: 1.8;
}

.jj-article-content img {
  border-radius: var(--jj-radius-lg);
  box-shadow: var(--jj-shadow-md);
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  display: block;
}

.jj-article-content ul,
.jj-article-content ol {
  margin: 1.5rem 0 1.75rem 1.75rem;
  padding: 0;
}

.jj-article-content ul {
  list-style-type: disc;
}

.jj-article-content ol {
  list-style-type: decimal;
}

.jj-article-content li {
  margin-bottom: 0.65rem;
  line-height: 1.8;
}

/* Editorial Transparency Box */
.jj-editorial-trust-guarantee {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.65;
}

.jj-trust-icon-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--jj-radius-full);
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Related Stories Upgrade */
.jj-related-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--jj-border-subtle);
}

.jj-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .jj-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jj-related-card {
  background: #ffffff;
  border: 1px solid var(--jj-border-subtle);
  border-radius: var(--jj-radius-lg);
  overflow: hidden;
  box-shadow: var(--jj-shadow-xs);
  transition: all var(--jj-transition-base);
  display: flex;
  flex-direction: column;
}

.jj-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jj-shadow-lg);
  border-color: rgba(234, 88, 12, 0.3);
}

.jj-related-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--jj-navy-950);
}

.jj-related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jj-related-card:hover .jj-related-thumb {
  transform: scale(1.06);
}

.jj-related-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jj-related-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin: 0.35rem 0 0.75rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jj-related-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jj-transition-fast);
}

.jj-related-title a:hover {
  color: var(--jj-saffron-600);
}

.jj-related-meta {
  margin-top: auto;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ========================================================
   CHIEF EDITOR'S NOTEBOOK & जनसरोकार SHOWCASE
   ======================================================== */
.jj-editorial-notebook {
  margin: 3.5rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, #0a192f 0%, #0f2942 50%, #172554 100%);
  border-radius: var(--jj-radius-2xl);
  border: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 20px 40px -15px rgba(10, 25, 47, 0.4);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.jj-editorial-notebook::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 25px;
  font-size: 11rem;
  font-family: var(--font-serif);
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-weight: 900;
}

.jj-notebook-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .jj-notebook-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.jj-notebook-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: var(--jj-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jj-notebook-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0.4rem 0 0.25rem 0;
}

.jj-notebook-subtitle {
  font-size: 0.9375rem;
  color: #cbd5e1;
  max-width: 680px;
  line-height: 1.6;
}

.jj-notebook-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .jj-notebook-grid {
    grid-template-columns: 1.25fr 1fr;
  }
}

.jj-notebook-card-lead {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--jj-radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--jj-transition-base);
  backdrop-filter: blur(8px);
}

.jj-notebook-card-lead:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-2px);
}

.jj-notebook-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.jj-notebook-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.jj-notebook-card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--jj-transition-fast);
}

.jj-notebook-card-title a:hover {
  color: #fbbf24;
}

.jj-notebook-card-text {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.jj-notebook-quote-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid #f59e0b;
  padding: 0.85rem 1.15rem;
  border-radius: 0 var(--jj-radius-md) var(--jj-radius-md) 0;
  margin-bottom: 1.25rem;
  font-style: italic;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.jj-notebook-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.jj-notebook-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.jj-notebook-subcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--jj-radius-lg);
  padding: 1.25rem;
  transition: all var(--jj-transition-base);
}

.jj-notebook-subcard:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.4);
}

.jj-notebook-subcard-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.jj-notebook-subcard-title a {
  color: #ffffff;
  text-decoration: none;
}

.jj-notebook-subcard-title a:hover {
  color: #fbbf24;
}

.jj-notebook-subcard-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

