/*
Theme Name: YojanaSarthi
Theme URI: https://yojanasarthi.com
Author: YojanaSarthi Team
Author URI: https://yojanasarthi.com
Description: A professional Hindi Government Schemes blog theme covering Central and State Yojanas. Optimized for Google Discover and AdSense.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: yojanasarthi
Tags: blog, government, hindi, yojana, schemes
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C38;
  --saffron-pale: #FFF4EC;
  --green: #138808;
  --green-light: #1aa80a;
  --green-pale: #F0FBF0;
  --navy: #0B2545;
  --navy-mid: #1A3A6B;
  --ink: #1C1C2E;
  --muted: #6B7280;
  --soft: #9CA3AF;
  --white: #FFFFFF;
  --cream: #FFFBF7;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =============================================
   TOP BAR
============================================= */
.top-bar {
  background: var(--navy);
  padding: 7px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}
.top-bar span { color: var(--saffron-light); font-weight: 600; }

/* =============================================
   HEADER
============================================= */
#site-header {
  background: var(--white);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--saffron) 33.33%, white 33.33%, white 66.66%, var(--green) 66.66%) 1;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}
.logo-text-main {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}
.logo-text-main span { color: var(--saffron); }
.logo-text-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

/* NAV */
#main-nav { display: flex; align-items: center; gap: 4px; }
#main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
#main-nav a:hover { background: var(--saffron-pale); color: var(--saffron); }
#main-nav a.nav-central {
  background: var(--saffron);
  color: white !important;
  font-weight: 600;
}
#main-nav a.nav-central:hover { background: #e55a00; }
#main-nav a.nav-state {
  background: var(--green);
  color: white !important;
  font-weight: 600;
}
#main-nav a.nav-state:hover { background: #0f6b06; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:last-child { border-bottom: none; }

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 72px 24px 80px;
}
.hero-tricolor {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron) 33.33%, white 33.33%, white 66.66%, var(--green) 66.66%);
}
.hero-bg-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,107,0,0.03) 40px, rgba(255,107,0,0.03) 41px);
}
.hero-chakra {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-size: 420px;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--saffron-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-section h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-section h1 .hs { color: var(--saffron-light); }
.hero-section h1 .hg { color: #4ade80; }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-search-bar {
  display: flex;
  max-width: 560px;
  margin: 0 auto 40px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.hero-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}
.hero-search-bar input::placeholder { color: var(--soft); }
.hero-search-bar button {
  background: var(--saffron);
  color: white;
  border: none;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.hero-search-bar button:hover { background: #e55a00; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 800;
  color: var(--saffron-light);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  display: block;
}

/* =============================================
   CATEGORY CARDS
============================================= */
.category-cards {
  max-width: 1200px;
  margin: -32px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cat-card {
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-5px); }
.cat-card::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.cat-central {
  background: linear-gradient(135deg, var(--saffron), #FF8C38, #FFB347);
  box-shadow: 0 8px 32px rgba(255,107,0,0.35);
}
.cat-state {
  background: linear-gradient(135deg, var(--green), #1aa80a, #22c55e);
  box-shadow: 0 8px 32px rgba(19,136,8,0.35);
}
.cat-icon { font-size: 48px; flex-shrink: 0; }
.cat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 6px;
}
.cat-title {
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.cat-desc { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.cat-arrow {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  transition: all 0.2s;
  margin-left: auto;
}
.cat-card:hover .cat-arrow { background: rgba(255,255,255,0.35); transform: translateX(4px); }

/* =============================================
   SECTIONS COMMON
============================================= */
.site-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.tag-saffron { color: var(--saffron); }
.tag-green { color: var(--green); }
.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.view-all-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1.5px solid;
}
.view-all-saffron { color: var(--saffron); border-color: var(--saffron); }
.view-all-saffron:hover { background: var(--saffron); color: white; }
.view-all-green { color: var(--green); border-color: var(--green); }
.view-all-green:hover { background: var(--green); color: white; }

/* =============================================
   POST / SCHEME GRID
============================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--saffron-pale), #FFE4CC);
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.post-thumb.green-thumb { background: linear-gradient(135deg, var(--green-pale), #DCFCE7); }
.post-cat-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--saffron);
  color: white;
}
.post-cat-tag.green-tag { background: var(--green); }
.post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-ministry {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 6px;
}
.post-card-title {
  font-family: 'Baloo 2', cursive;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.post-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.post-benefit {
  font-size: 12px;
  font-weight: 700;
  color: var(--saffron);
}
.post-benefit.green { color: var(--green); }
.post-meta-small {
  font-size: 11px;
  color: var(--soft);
}
.post-arrow { font-size: 18px; color: var(--soft); transition: all 0.2s; }
.post-card:hover .post-arrow { color: var(--saffron); transform: translateX(4px); }

/* =============================================
   STATE CHIPS
============================================= */
.bg-state { background: linear-gradient(180deg, white 0%, var(--green-pale) 100%); }
.states-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.state-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.state-chip:hover {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(19,136,8,0.1);
}
.state-flag { font-size: 26px; }
.state-name { font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.state-count { font-size: 10px; color: var(--green); font-weight: 600; }

/* =============================================
   SINGLE POST
============================================= */
.single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.post-featured-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post-header { margin-bottom: 28px; }
.post-category-link {
  display: inline-block;
  background: var(--saffron-pale);
  color: var(--saffron);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.post-category-link.green { background: var(--green-pale); color: var(--green); }
.entry-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.post-meta strong { color: var(--ink); }
.post-meta-item { display: flex; align-items: center; gap: 5px; }

/* Entry Content */
.entry-content { font-size: 16px; line-height: 1.85; color: #333; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Baloo 2', cursive;
  color: var(--navy);
  margin: 32px 0 14px;
  line-height: 1.3;
  border-left: 4px solid var(--saffron);
  background: var(--saffron-pale);
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content h2 { font-size: 22px; font-weight: 800; }
.entry-content h3 { font-size: 18px; font-weight: 700; }
.entry-content h4 { font-size: 16px; font-weight: 700; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol {
  margin: 0 0 18px 24px;
  list-style: disc;
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--saffron); text-decoration: underline; }
.entry-content a:hover { color: #e55a00; }
.entry-content strong { font-weight: 700; color: var(--navy); }
.entry-content blockquote {
  border-left: 4px solid var(--green);
  background: var(--green-pale);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.entry-content table th {
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.entry-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.entry-content table tr:nth-child(even) td { background: var(--saffron-pale); }
.entry-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* =============================================
   AUTHOR BOX
============================================= */
.author-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.author-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light));
}
.author-box-inner { display: flex; gap: 18px; align-items: flex-start; }
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  color: white;
  font-weight: 700;
}
.author-name {
  font-family: 'Baloo 2', cursive;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.author-bio { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =============================================
   SIDEBAR
============================================= */
.sidebar-wrap { display: flex; flex-direction: column; gap: 24px; }
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.widget-title {
  font-family: 'Baloo 2', cursive;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
  display: flex;
  align-items: center;
  gap: 8px;
}
.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  align-items: flex-start;
}
.recent-post-item:last-child { border-bottom: none; }
.rp-thumb {
  width: 68px; height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--saffron-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.rp-title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.rp-date { font-size: 11px; color: var(--soft); margin-top: 4px; }
.recent-post-item:hover .rp-title { color: var(--saffron); }

/* Search widget */
.widget-search {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.widget-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}
.widget-search button {
  background: var(--saffron);
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 15px;
}

/* Category list widget */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.2s;
}
.cat-list-item:hover { background: var(--saffron-pale); color: var(--saffron); }
.cat-count {
  background: var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

/* =============================================
   WHY US SECTION
============================================= */
.why-section {
  background: var(--navy);
  padding: 64px 24px;
}
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-title {
  font-family: 'Baloo 2', cursive;
  font-size: 32px;
  font-weight: 800;
  color: white;
  text-align: center;
  margin-bottom: 8px;
}
.why-sub {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 48px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.08); }
.why-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.why-card-title {
  font-family: 'Baloo 2', cursive;
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.why-card-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* =============================================
   NEWSLETTER
============================================= */
.newsletter-section {
  background: linear-gradient(135deg, var(--saffron), #e55a00);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '☸';
  position: absolute;
  left: -60px; top: 50%;
  transform: translateY(-50%);
  font-size: 300px;
  color: rgba(255,255,255,0.06);
}
.newsletter-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.newsletter-section h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.newsletter-section p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form button {
  background: var(--navy);
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #0d1f3c; }

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: #070F1F;
  color: rgba(255,255,255,0.6);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  font-weight: 800;
  color: white;
  display: block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--saffron); }
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 16px;
}
.footer-tricolor { display: flex; gap: 4px; margin-top: 12px; }
.tc { height: 4px; flex: 1; border-radius: 2px; }
.tc-s { background: var(--saffron); }
.tc-w { background: rgba(255,255,255,0.4); }
.tc-g { background: var(--green); }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--saffron-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--saffron-light); }

/* =============================================
   ARCHIVE / CATEGORY PAGE
============================================= */
.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.archive-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 48px 24px;
  text-align: center;
  color: white;
}
.archive-header h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.archive-header p { color: rgba(255,255,255,0.65); font-size: 15px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--saffron); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--soft); }

/* =============================================
   PAGINATION
============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--ink);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--saffron); color: var(--saffron); background: var(--saffron-pale); }
.pagination .current { background: var(--saffron); color: white; border-color: var(--saffron); }

/* =============================================
   404 PAGE
============================================= */
.error-404-wrap {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 0 24px;
}
.error-404-wrap .error-icon { font-size: 80px; margin-bottom: 24px; display: block; }
.error-404-wrap h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.error-404-wrap p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--saffron);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-home:hover { background: #e55a00; }

/* =============================================
   ANIMATIONS
============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-wrap { grid-template-columns: 1fr; }
  .archive-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .category-cards { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .cat-card { padding: 24px 20px; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
