/* ==========================================================================
   सामुदायिक स्वास्थ्य साथी समूह (Community Health Saathi Samuh) - Hindi Initiative
   Vanilla CSS Design System - Shared Hosting & Offline Optimized
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & CSS Variables
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&family=Rozha+One&display=swap');

:root {
  /* Color Palette: Earthy Terracotta, Healing Teal, Saffron Accent */
  --primary: #a3381a;
  --primary-hover: #862c12;
  --primary-light: #fbeee9;
  --primary-soft: rgba(163, 56, 26, 0.08);

  --secondary: #00796b;
  --secondary-hover: #005b50;
  --secondary-light: #e0f2f1;
  --secondary-soft: rgba(0, 121, 107, 0.08);

  --accent: #d97706;
  --accent-light: #fef3c7;

  --success: #2e7d32;
  --warning: #ed6c02;
  --danger: #d32f2f;
  --info: #0288d1;

  /* Surfaces & Backgrounds */
  --bg-page: #faf8f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f4efe9;
  --bg-dark: #1f2421;

  /* Text & Border Colors */
  --text-main: #23272a;
  --text-muted: #5c646b;
  --text-light: #89939d;
  --text-inverse: #ffffff;
  --border-light: #e6dfd5;
  --border-focus: #a3381a;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 10px 24px rgba(163, 56, 26, 0.15);

  /* Typography */
  --font-body: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Rozha One', 'Nirmala UI', 'Mangal', 'Noto Sans Devanagari', serif;
  --font-en: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Base font scaling */
  --font-scale: 1rem;
  --line-height-base: 1.65;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --nav-height: 72px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark / High Contrast Mode */
body.dark-mode {
  --bg-page: #121516;
  --bg-surface: #1a1e20;
  --bg-card: #202528;
  --bg-muted: #282f33;
  --bg-dark: #0b0d0e;

  --text-main: #e8ecf0;
  --text-muted: #a6b0b8;
  --text-light: #7c8891;
  --text-inverse: #121516;
  --border-light: #31383d;

  --primary: #f26d44;
  --primary-hover: #ff855f;
  --primary-light: #38241f;
  --primary-soft: rgba(242, 109, 68, 0.18);

  --secondary: #26a69a;
  --secondary-hover: #4db6ac;
  --secondary-light: #163330;

  --accent: #fbbf24;
  --accent-light: #382e18;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 10px 24px rgba(242, 109, 68, 0.3);
}

/* Font Resizing Classes */
body.font-sm { --font-scale: 0.88rem; }
body.font-md { --font-scale: 1rem; }
body.font-lg { --font-scale: 1.15rem; }

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-scale);
  line-height: var(--line-height-base);
  color: var(--text-main);
  background-color: var(--bg-page);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  padding-bottom: 60px; /* Space for mobile bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

a:hover {
  color: var(--primary-hover);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   3. Accessibility & Utility Topbar
   -------------------------------------------------------------------------- */
.top-accessibility-bar {
  background-color: var(--bg-dark);
  color: #d1d5db;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.accessibility-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ctrl {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-ctrl:hover, .btn-ctrl.active {
  background: var(--primary);
  border-color: var(--primary);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  padding: 3px 10px;
  color: #fff;
  font-size: 0.78rem;
}

.lang-btn.active {
  background: var(--secondary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Main Navigation Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(163, 56, 26, 0.25);
}

.brand-logo-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
}

.brand-text h1 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.2px;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.main-nav {
  display: none;
}

@media (min-width: 1040px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-submit-content {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 8px rgba(163, 56, 26, 0.25);
}

.btn-submit-content:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: inline-flex;
  padding: 8px;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

@media (min-width: 1040px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section with Real Photo & Quick Search
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(31, 36, 33, 0.88), rgba(163, 56, 26, 0.82)),
              url('../assets/images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 60px 0 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f1f3f5;
  margin-bottom: 26px;
  font-weight: 400;
}

/* Hero Search Box */
.hero-search-wrapper {
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.search-input-field {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  color: #212529;
  outline: none;
  background: transparent;
}

.btn-hero-search {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-hero-search:hover {
  background: var(--primary-hover);
}

.quick-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

.quick-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-pill:hover {
  background: #fff;
  color: var(--primary);
}

/* Hero Spotlight Card */
.hero-spotlight-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .hero-spotlight-card {
  background: rgba(26, 30, 32, 0.95);
  color: var(--text-main);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.spotlight-badge {
  background: var(--secondary-light);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.spotlight-body h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.spotlight-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  background: var(--bg-muted);
  padding: 12px;
  border-radius: var(--radius-md);
}

.stat-item .num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-en);
}

.stat-item .label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Reference & Solidarity Banner (SOCHARA / JSA / PHM / DAP)
   -------------------------------------------------------------------------- */
.solidarity-strip {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.solidarity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.solidarity-lead {
  display: flex;
  align-items: center;
  gap: 12px;
}

.solidarity-lead .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solidarity-lead h5 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.solidarity-lead p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.partner-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-tag {
  background: var(--bg-muted);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.partner-tag:hover {
  background: var(--secondary-light);
  color: var(--secondary);
  border-color: var(--secondary);
}

/* --------------------------------------------------------------------------
   7. Section Headers & Generic Components
   -------------------------------------------------------------------------- */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-kicker {
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.3rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  background: var(--bg-surface);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   8. Resource Repository (पुस्तिकाएं, पोस्टर, आईईसी, शोध रपट)
   -------------------------------------------------------------------------- */
.filter-bar-wrapper {
  background: var(--bg-surface);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.theme-tab-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.tab-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-muted);
  color: var(--text-muted);
  white-space: nowrap;
  border: 1px solid transparent;
}

.tab-pill:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.tab-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.filter-selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
}

.custom-select:focus {
  border-color: var(--primary);
}

/* Resource Grid */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

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

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(163, 56, 26, 0.4);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.theme-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--secondary-light);
  color: var(--secondary);
}

.bandwidth-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-download {
  flex: 1;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-download:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-card-preview {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-card-preview:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   9. Audio & Video Resource Hub (दृश्य-श्रव्य संसाधन केंद्र)
   -------------------------------------------------------------------------- */
.av-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .av-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Modern In-Page Audio Player Box */
.audio-hub-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

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

.player-title-wrap h4 {
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.player-title-wrap p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.player-main-console {
  background: linear-gradient(135deg, var(--bg-dark), #2a3136);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.now-playing-info {
  margin-bottom: 16px;
}

.track-category-tag {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 6px;
}

.now-playing-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.now-playing-meta {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.scrubber-wrap {
  margin-bottom: 16px;
}

.audio-progress-bar {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.audio-progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 4px;
  font-family: var(--font-en);
}

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

.main-playback-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-play-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(163, 56, 26, 0.4);
}

.btn-play-toggle:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.btn-audio-aux {
  color: #cbd5e1;
  font-size: 0.88rem;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.btn-audio-aux:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.player-aux-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speed-select {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
}

/* Playlist Items */
.audio-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}

.audio-playlist-item:hover, .audio-playlist-item.active {
  background: var(--primary-light);
  border-color: var(--primary);
}

.playlist-idx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-playlist-item.active .playlist-idx {
  background: var(--primary);
  color: #fff;
}

.playlist-text {
  flex: 1;
}

.playlist-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2px;
}

.playlist-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.playlist-duration {
  font-size: 0.78rem;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--text-light);
}

/* Video Grid Box */
.video-hub-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.video-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-card-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.video-card-item:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.video-thumb-wrap {
  position: relative;
  height: 100%;
  min-height: 80px;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-info-wrap {
  padding: 10px 10px 10px 0;
}

.video-info-wrap h5 {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--text-main);
}

.video-info-wrap p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.video-meta-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   10. Fellows & Alumni Network (अध्येता व एलुमनाई नेटवर्क)
   -------------------------------------------------------------------------- */
.fellows-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.fellow-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.fellow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.fellow-img-box {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.fellow-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fellow-card:hover .fellow-img-box img {
  transform: scale(1.05);
}

.fellow-batch-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(31, 36, 33, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.fellow-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fellow-location {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.fellow-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.fellow-focus {
  font-size: 0.84rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.fellow-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.btn-fellow-detail {
  width: 100%;
  border: 1px solid var(--border-light);
  background: var(--bg-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.btn-fellow-detail:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   11. Community Voices & Testimonies (जमीनी आवाज़ें)
   -------------------------------------------------------------------------- */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

.voice-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voice-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: serif;
}

.voice-quote-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 18px;
  font-style: italic;
}

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

.voice-author h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.voice-author p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-voice-listen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.btn-voice-listen:hover {
  background: var(--secondary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. Skill Development & Media Innovation (कौशल विकास व मीडिया)
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

.skill-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.skill-box:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.skill-icon-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon svg {
  width: 24px;
  height: 24px;
}

.skill-meta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.skill-meta span {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
}

.skill-topics-list {
  list-style: none;
  margin-bottom: 18px;
}

.skill-topics-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.skill-topics-list li::before {
  content: "✔";
  color: var(--secondary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. Directory & Partner Network (सहयोगी संस्थाएं व नेटवर्क)
   -------------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.partner-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-top h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.partner-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

.partner-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.partner-focus-tags {
  font-size: 0.76rem;
  color: var(--text-light);
  background: var(--bg-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   14. Events & Campaigns Calendar (आयोजन, अभियान व कैलेंडर)
   -------------------------------------------------------------------------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  align-items: center;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .event-item {
    grid-template-columns: 160px 1fr auto;
  }
}

.event-date-box {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.event-date-box .date-highlight {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.event-date-box .date-time {
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 4px;
}

.event-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.event-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.event-meta-row {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   15. Articles, Field Dispatches & Newsletter Archive
   -------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   16. Editorial Guidelines & Submit Form (संपादकीय नीति व सामग्री भेजें)
   -------------------------------------------------------------------------- */
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 960px) {
  .editorial-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.guidelines-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
}

.guideline-point {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.guideline-point:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guideline-point h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guideline-point p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.submission-form-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  font-size: 0.9rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   17. Site Footer & Offline Support
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 56px 0 24px;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.footer-about-text {
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.86rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   18. Mobile Bottom Navigation Bar (Very useful for health workers on phone)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  z-index: 998;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mob-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px;
}

.mob-tab-btn.active, .mob-tab-btn:hover {
  color: var(--primary);
}

.mob-tab-btn svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   19. Interactive Modals (Preview, Video, Fellow Profile, RSVP, Submission)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-close-modal {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 4px 8px;
}

.btn-close-modal:hover {
  color: var(--danger);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--bg-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice.success {
  border-left: 4px solid var(--success);
}

/* --------------------------------------------------------------------------
   20. SOCHARA Core Perspectives & Frameworks (सोचारा वैचारिक दर्शन)
   -------------------------------------------------------------------------- */
.framework-tab-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border-light);
  scrollbar-width: thin;
}

.framework-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  white-space: nowrap;
  transition: var(--transition);
}

.framework-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.framework-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(163, 56, 26, 0.25);
}

.framework-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.framework-hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.framework-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.framework-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--secondary-light);
  color: var(--secondary);
}

.framework-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.framework-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 22px;
}

/* Comparison Table for Paradigm Shift */
.shift-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 22px 0;
}

@media (min-width: 768px) {
  .shift-comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shift-col {
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1.5px solid var(--border-light);
}

.shift-col.old {
  background: #fff5f5;
  border-color: #fed7d7;
}

body.dark-mode .shift-col.old {
  background: #2d1a1a;
  border-color: #5c2929;
}

.shift-col.new {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

body.dark-mode .shift-col.new {
  background: #142e1d;
  border-color: #276738;
}

.shift-col h5 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shift-col.old h5 { color: #c53030; }
.shift-col.new h5 { color: #2e7d32; }

.shift-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shift-list li {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.paradigm-table-wrap {
  overflow-x: auto;
  margin: 8px 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.paradigm-official-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.88rem;
}

.paradigm-official-table th,
.paradigm-official-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.5;
}

.paradigm-official-table thead th {
  background: var(--bg-muted);
  font-weight: 800;
  color: var(--text-main);
}

.paradigm-official-table tbody th {
  font-weight: 700;
  color: var(--primary);
  width: 18%;
  background: var(--bg-card);
}

.paradigm-official-table td.col-old {
  background: #fff5f5;
  color: var(--text-main);
}

.paradigm-official-table td.col-new {
  background: #f0fdf4;
  color: var(--text-main);
}

body.dark-mode .paradigm-official-table td.col-old {
  background: #2d1a1a;
}

body.dark-mode .paradigm-official-table td.col-new {
  background: #142e1d;
}

.seven-shifts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 18px;
}

.seven-shifts li {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-main);
}

.sochara-source {
  font-size: 0.84rem;
  line-height: 1.55;
  margin-top: 16px;
}

.sochara-source a {
  color: var(--primary);
  font-weight: 700;
}

/* Axiom Cards Grid */
.axioms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

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

.axiom-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.axiom-card .axiom-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.axiom-card h5 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.axiom-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.axiom-card.axiom-wide {
  grid-column: 1 / -1;
}

.axiom-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.axiom-card li {
  margin-bottom: 6px;
}

/* SEPCE Analysis Letter Grid */
.sepce-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0;
}

@media (min-width: 680px) {
  .sepce-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.sepce-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
}

.sepce-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.sepce-letter {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-family: var(--font-en);
}

.sepce-card h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sepce-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}

/* Social Vaccine Pillars */
.social-vaccine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .social-vaccine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sv-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px;
}

.sv-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sv-box h5 span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sv-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

