/*
Theme Name: eGramSwaraj Tools & Reference
Theme URI: https://egramswaraj.org
Author: eGramSwaraj Independent Reference Portal
Author URI: https://egramswaraj.org
Description: A lightweight, fast, secure, and accessible WordPress theme designed for eGramSwaraj.org. An independent civic-tech reference portal providing guides, report navigation tools, GPDP workflow checklists, and official resource directories for India's Panchayati Raj governance ecosystem. Fully independent; not affiliated with or endorsed by the Government of India.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: egramswaraj
Tags: civic-tech, reference, tools, education, two-columns, full-width-template, custom-menu, featured-images, theme-options, translation-ready, accessibility-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN SYSTEM TOKENS (LIGHT THEME ONLY)
   ========================================================================== */
:root {
  /* Brand Palettes - Indian Civic-Tech Green & Slate Blue Accents */
  --color-primary: #0f766e;        /* Deep Teal / Civic Green */
  --color-primary-dark: #115e59;   /* Darker Teal for hover / active */
  --color-primary-light: #f0fdfa;  /* Very soft teal tint for highlights */
  --color-primary-border: #99f6e4; /* Light teal border */

  --color-secondary: #1e3a8a;      /* Government Reference Indigo */
  --color-secondary-dark: #172554; /* Deep Navy */
  --color-secondary-light: #eff6ff;/* Soft blue tint */

  --color-accent: #0284c7;         /* Sky Blue Accent */
  --color-accent-dark: #0369a1;
  --color-accent-light: #f0f9ff;

  /* Neutrals & Surfaces (Strictly Light Mode) */
  --color-background: #f8fafc;     /* Clean light canvas */
  --color-surface: #ffffff;        /* Crisp white content cards */
  --color-surface-alt: #f1f5f9;    /* Light gray secondary surface */
  --color-border: #e2e8f0;         /* Restrained crisp borders */
  --color-border-subtle: #edf2f7;

  /* Typography Colors */
  --color-text: #0f172a;           /* High contrast Slate 900 */
  --color-text-muted: #475569;     /* Slate 600 for body / secondary */
  --color-text-subtle: #64748b;    /* Slate 500 for captions / meta */
  --color-text-inverse: #ffffff;

  /* Semantic Feedback Colors */
  --color-success: #059669;        /* Emerald 600 */
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;
  
  --color-warning: #d97706;        /* Amber 600 */
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;

  --color-danger: #dc2626;         /* Rose Red 600 */
  --color-danger-bg: #fef2f2;
  --color-danger-border: #fecaca;

  --color-info: #0284c7;           /* Sky Blue 600 */
  --color-info-bg: #f0f9ff;
  --color-info-border: #bae6fd;

  /* Official Government Portal Distinction Flag */
  --color-official-badge-bg: #e0f2fe;
  --color-official-badge-text: #0369a1;
  --color-official-badge-border: #7dd3fc;

  /* Typography Stack */
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */

  /* Layout Widths */
  --container-max-width: 1200px;
  --container-narrow-width: 860px;
  --container-wide-width: 1320px;
  --container-padding: 1.5rem;

  /* Border Radii */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.5rem;  /* 8px */
  --radius-lg: 0.75rem; /* 12px */
  --radius-xl: 1rem;    /* 16px */
  --radius-full: 9999px;

  /* Restrained, Crisp Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
}
