/*
Theme Name: Mahatma Ayyankali Tribute
Theme URI: https://en.wikipedia.org/wiki/Ayyankali
Author: DeepMind / Antigravity
Author URI: https://en.wikipedia.org/wiki/Ayyankali
Description: A dignified, accessible, and responsive WordPress tribute theme dedicated to Mahatma Ayyankali (1863–1941) — the trailblazing social reformer, educator, labor movement pioneer, and lawmaker of Kerala.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayyankali-tribute
Tags: blog, custom-header, custom-menu, featured-images, full-width-template, grid-layout, one-column, two-columns, translation-ready
*/

/* ==========================================================================
   Design System & CSS Variables
   ========================================================================== */
:root {
  --primary: #8b2500;           /* Warm terracotta / burnt sienna - symbolizes historical soil & resilience */
  --primary-dark: #5c1800;
  --primary-light: #b33910;
  --secondary: #d97706;         /* Golden amber - symbolizes dawn of renaissance */
  --secondary-light: #fbbf24;
  --accent: #1e3a8a;            /* Deep royal navy - assembly & constitutional dignity */
  --bg-main: #fbfaf7;           /* Warm parchment paper */
  --bg-card: #ffffff;
  --bg-subtle: #f3efe6;
  --text-main: #1f2421;         /* Charcoal black for high legibility */
  --text-muted: #555d50;
  --text-light: #7b8377;
  --border-color: #e2dcd0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --font-serif: 'Merriweather', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
