/*
Theme Name: SchemeWala
Theme URI: https://schemewala.in
Author: SchemeWala Team
Description: India's most comprehensive government scheme finder. Includes scheme listings, filters, blog, email alerts and full SEO support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, responsive-layout, two-columns, right-sidebar, translation-ready
Text Domain: schemewala
*/

/* ════════════════════════════════════
   VARIABLES
   ════════════════════════════════════ */
:root {
  --saffron:    #ff6b00;
  --saffron-l:  #fff3e8;
  --saffron-xl: #fffaf5;
  --green:      #047857;
  --green-l:    #d1fae5;
  --green-xl:   #f0fdf4;
  --blue:       #1d4ed8;
  --blue-l:     #dbeafe;
  --navy:       #0f172a;
  --white:      #ffffff;
  --bg:         #fafaf8;
  --text:       #1c1917;
  --muted:      #6b7280;
  --muted2:     #9ca3af;
  --border:     #e7e5e0;
  --border2:    #d1cfc8;
  --serif:      'Baloo 2', cursive;
  --sans:       'Hind', sans-serif;
  --sh:         0 2px 16px rgba(255,107,0,.10);
  --sh2:        0 12px 48px rgba(255,107,0,.15);
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  22px;
}

/* ════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 3px; }

/* ════════════════════════════════════
   LAYOUT
   ════════════════════════════════════ */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow{ max-width: 780px; margin: 0 auto; padding: 0 20px; }
.section          { padding: 64px 0; }
.section--white   { background: var(--white); }
.section--bg      { background: var(--bg); }

/* ════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--navy); }
p { margin-bottom: 1rem; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--saffron); margin-bottom: 10px; text-align: center;
}
.section-title {
  font-family: var(--serif); font-size: clamp(24px, 4vw, 38px); font-weight: 800;
  color: var(--navy); text-align: center; margin-bottom: 40px;
  letter-spacing: -0.5px; line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--saffron); }
.sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.sec-title { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ''; width: 5px; height: 20px; background: var(--saffron); border-radius: 3px; flex-shrink: 0; display: block; }

/* ════════════════════════════════════
   BUTTONS
   ════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; font-family: var(--sans); font-size: 14px; font-weight: 700;
  border-radius: var(--radius); border: none; cursor: pointer; transition: all .2s;
}
.btn--saffron { background: var(--saffron); color: #fff; }
.btn--saffron:hover { background: #e05500; box-shadow: 0 4px 16px rgba(255,107,0,.35); color: #fff; }
.btn--gradient { background: linear-gradient(135deg, var(--saffron), #ff9500); color: #fff; }
.btn--gradient:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,0,.35); }
.btn--ghost { background: none; border: 1.5px solid var(--border2); color: var(--text); }
.btn--ghost:hover { border-color: var(--saffron); color: var(--saffron); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #065f46; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--full { width: 100%; }
.btn--lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* ════════════════════════════════════
   NAVBAR
   ════════════════════════════════════ */
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 400;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(255,107,0,.1); }
.header-inner {
  height: 66px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
/* Logo */
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-flag { display: flex; flex-direction: column; width: 20px; height: 20px; border-radius: 3px; overflow: hidden; border: 1px solid rgba(0,0,0,.1); flex-shrink: 0; }
.flag-s { flex: 1; background: var(--saffron); }
.flag-w { flex: 1; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; }
.flag-g { flex: 1; background: var(--green); }
.site-title { font-family: var(--serif); font-size: 22px; font-weight: 800; color: var(--navy); margin: 0; line-height: 1; }
.site-title a { color: var(--navy); }
/* Nav */
.main-navigation { flex: 1; }
.main-navigation ul { display: flex; gap: 4px; justify-content: center; }
.main-navigation ul li a {
  padding: 7px 13px; font-size: 13px; font-weight: 600;
  color: var(--muted); border-radius: 8px; transition: all .15s; display: block;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--saffron); background: var(--saffron-l); }
/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Hamburger */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; border-radius: 2px; transition: .3s; }
/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 399; padding: 24px 20px;
  flex-direction: column; gap: 4px; overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); display: block; }
.mobile-nav a:last-child { color: var(--saffron); font-weight: 800; border: none; }

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: var(--white); padding: 64px 20px 56px; text-align: center;
}
.hero-ashoka-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 90vw); height: min(500px, 90vw);
  border-radius: 50%; border: 1px solid rgba(255,107,0,.06); pointer-events: none;
}
.hero-ashoka-ring::before { content: ''; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(255,107,0,.05); }
.hero-glow {
  position: absolute; width: min(600px, 100%); height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,0,.07), transparent 65%);
  top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-l); border: 1px solid #86efac;
  border-radius: 100px; padding: 6px 16px 6px 10px;
  font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 22px;
}
.badge-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: blink 1.6s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 {
  font-family: var(--serif); font-size: clamp(32px, 6vw, 66px);
  font-weight: 800; line-height: 1.08; color: var(--navy);
  margin-bottom: 18px; letter-spacing: -1.5px;
}
.hero h1 .hl-s { color: var(--saffron); }
.hero h1 .hl-g { color: var(--green); }
.hero-sub { font-size: clamp(15px, 2.5vw, 17px); color: var(--muted); max-width: 500px; margin: 0 auto 36px; line-height: 1.8; }
.hero-sub strong { color: var(--text); font-weight: 700; }

/* ════════════════════════════════════
   FINDER CARD
   ════════════════════════════════════ */
.finder-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--sh2); max-width: 780px; margin: 0 auto; text-align: left;
}
.finder-card-title {
  font-family: var(--serif); font-size: 18px; font-weight: 800; color: var(--navy);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.finder-card-title::before { content: ''; width: 6px; height: 22px; background: var(--saffron); border-radius: 3px; flex-shrink: 0; }
.finder-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 18px;
}
.fq { display: flex; flex-direction: column; gap: 5px; }
.fq label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.fq select, .fq input {
  padding: 11px 13px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--sans); font-size: 14px;
  color: var(--text); outline: none; background: var(--bg);
  transition: border-color .2s; width: 100%; font-weight: 500;
}
.fq select:focus, .fq input:focus { border-color: var(--saffron); background: #fff; }
.find-btn {
  width: 100%; padding: 15px; background: linear-gradient(135deg, var(--saffron), #ff9500);
  color: #fff; border: none; border-radius: var(--radius-lg);
  font-family: var(--sans); font-size: 16px; font-weight: 800;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 10px;
  letter-spacing: .3px;
}
.find-btn:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,0,.35); }
.finder-tags {
  display: flex; gap: 7px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  align-items: center;
}
.finder-tags-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.ftag {
  padding: 5px 14px; background: var(--saffron-l); border: 1px solid #fed7aa;
  border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--saffron);
  cursor: pointer; transition: all .2s;
}
.ftag:hover { background: var(--saffron); color: #fff; }

/* ════════════════════════════════════
   STATS STRIP
   ════════════════════════════════════ */
.stats-strip { background: linear-gradient(135deg, var(--navy), #1e293b); padding: 28px 20px; }
.stats-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 16px;
}
.stat-item { text-align: center; color: #fff; }
.stat-number { font-family: var(--serif); font-size: clamp(22px,4vw,30px); font-weight: 800; line-height: 1; }
.stat-number em { color: #fbbf24; font-style: normal; }
.stat-label { font-size: 10px; color: rgba(255,255,255,.45); font-weight: 600; margin-top: 4px; letter-spacing: .5px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ════════════════════════════════════
   MAIN CONTENT LAYOUT
   ════════════════════════════════════ */
.content-wrap {
  max-width: 1200px; margin: 0 auto; padding: 44px 20px 72px;
  display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start;
}

/* ════════════════════════════════════
   FILTER TABS
   ════════════════════════════════════ */
.filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ftb {
  padding: 8px 16px; font-size: 12px; font-weight: 700; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--muted);
  cursor: pointer; transition: all .2s; font-family: var(--sans);
}
.ftb:hover { border-color: var(--saffron); color: var(--saffron); }
.ftb.on { background: var(--saffron); color: #fff; border-color: var(--saffron); box-shadow: 0 3px 10px rgba(255,107,0,.25); }
.results-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.results-label strong { color: var(--text); font-weight: 800; }

/* ════════════════════════════════════
   SCHEME CARDS
   ════════════════════════════════════ */
.schemes-list { display: flex; flex-direction: column; gap: 14px; }
.scheme-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px;
  cursor: pointer; transition: all .25s; position: relative; overflow: hidden;
}
.scheme-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(to bottom, var(--saffron), #ff9500);
  border-radius: 4px 0 0 4px; transform: scaleY(0); transition: transform .25s; transform-origin: center;
}
.scheme-card:hover { box-shadow: var(--sh2); transform: translateY(-3px); border-color: #fed7aa; }
.scheme-card:hover::before { transform: scaleY(1); }
.scheme-card--hot { border-color: #fde68a; background: linear-gradient(135deg, #fffbeb 0%, #fff 60%); }
.hot-flag {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 100px; letter-spacing: .8px; text-transform: uppercase;
}
.sc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.sc-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; border: 1.5px solid var(--border);
  transition: transform .2s;
}
.scheme-card:hover .sc-icon { transform: scale(1.07) rotate(-2deg); }
.sc-info { flex: 1; min-width: 0; }
.sc-title { font-family: var(--serif); font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.sc-ministry { font-size: 12px; color: var(--muted); font-weight: 600; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.stag { padding: 4px 11px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.st-who { background: var(--blue-l); color: var(--blue); }
.st-ben { background: var(--green-l); color: var(--green); }
.st-cat { background: var(--saffron-l); color: var(--saffron); }
.st-new { background: #fef9c3; color: #713f12; }
.sc-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.sc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sc-meta-item { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.sc-btns { display: flex; gap: 8px; align-items: center; }
.btn-bookmark {
  width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--border);
  background: none; cursor: pointer; font-size: 14px; transition: all .2s; color: var(--muted2);
}
.btn-bookmark:hover, .btn-bookmark.saved { border-color: var(--saffron); color: var(--saffron); background: var(--saffron-l); }
.btn-view {
  padding: 9px 18px; background: var(--saffron); color: #fff; border: none;
  border-radius: 9px; font-family: var(--sans); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.btn-view:hover { background: #e05500; box-shadow: 0 4px 14px rgba(255,107,0,.35); }
.btn-view--hot { background: linear-gradient(135deg, #f59e0b, #f97316); }
.btn-view--hot:hover { box-shadow: 0 4px 14px rgba(245,158,11,.4); }
.load-more-btn {
  width: 100%; padding: 14px; background: var(--white); color: var(--saffron);
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  cursor: pointer; margin-top: 12px; transition: all .2s;
}
.load-more-btn:hover { border-color: var(--saffron); background: var(--saffron-l); }

/* ════════════════════════════════════
   CATEGORY CARDS
   ════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; cursor: pointer;
  transition: all .25s; text-align: center;
}
.cat-card:hover { box-shadow: var(--sh2); transform: translateY(-4px); border-color: #fed7aa; }
.cat-icon { font-size: 30px; margin-bottom: 12px; }
.cat-name { font-family: var(--serif); font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cat-count { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ════════════════════════════════════
   BLOG CARDS
   ════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: all .25s;
}
.blog-card:hover { box-shadow: var(--sh2); transform: translateY(-3px); border-color: #fed7aa; }
.blog-card-img {
  height: 140px; display: flex; align-items: center;
  justify-content: center; font-size: 44px; border-bottom: 1px solid var(--border);
}
.blog-card-body { padding: 18px; }
.blog-cat { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--saffron); margin-bottom: 7px; }
.blog-title { font-family: var(--serif); font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.blog-excerpt { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.blog-foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 500; }
.blog-readmore { color: var(--saffron); font-weight: 700; font-size: 12px; }

/* ════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 86px; }
.widget {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.widget-title {
  font-family: var(--serif); font-size: 14px; font-weight: 800;
  color: var(--navy); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ''; width: 4px; height: 16px; background: var(--saffron); border-radius: 2px; flex-shrink: 0; }
/* Alert form */
.alert-form { display: flex; flex-direction: column; gap: 9px; }
.alert-form input {
  padding: 10px 13px; border: 1.5px solid var(--border); border-radius: 9px;
  font-family: var(--sans); font-size: 13px; outline: none;
  background: var(--bg); transition: border-color .2s; color: var(--text);
}
.alert-form input:focus { border-color: var(--saffron); background: #fff; }
.alert-form input::placeholder { color: var(--muted2); }
.alert-btn {
  padding: 11px; background: linear-gradient(135deg, var(--saffron), #ff9500);
  color: #fff; border: none; border-radius: 9px; font-family: var(--sans);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .2s;
}
.alert-btn:hover { opacity: .9; }
/* State grid */
.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.state-item {
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer;
  transition: all .2s; text-align: center;
}
.state-item:hover { border-color: var(--saffron); color: var(--saffron); background: var(--saffron-l); }
/* Trending */
.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: all .2s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover .trending-name { color: var(--saffron); }
.trending-num { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--border2); width: 24px; flex-shrink: 0; line-height: 1; }
.trending-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 2px; }
.trending-meta { font-size: 11px; color: var(--muted); }
/* Did you know */
.widget--tip {
  background: linear-gradient(135deg, var(--saffron-l), var(--green-xl));
  border-color: #fed7aa; text-align: center;
}
.widget--tip .tip-icon { font-size: 28px; margin-bottom: 10px; }
.widget--tip .tip-heading { font-family: var(--serif); font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.widget--tip p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════
   SCHEME DETAIL PAGE
   ════════════════════════════════════ */
.detail-page { padding: 32px 20px 72px; }
.detail-page .container--narrow { max-width: 860px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--saffron);
  cursor: pointer; padding: 0; margin-bottom: 24px;
  background: none; border: none; font-family: var(--sans); transition: gap .2s;
}
.back-btn:hover { gap: 12px; }
.detail-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--sh);
}
.detail-hero-section {
  background: linear-gradient(135deg, var(--saffron-l), var(--green-xl));
  padding: clamp(24px, 4vw, 36px); border-bottom: 1.5px solid var(--border);
}
.detail-top { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; flex-wrap: wrap; }
.detail-icon {
  width: 68px; height: 68px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; border: 2px solid rgba(255,107,0,.2);
  background: #fff; flex-shrink: 0;
}
.detail-name { font-family: var(--serif); font-size: clamp(20px, 4vw, 26px); font-weight: 900; color: var(--navy); letter-spacing: -.5px; margin-bottom: 5px; line-height: 1.2; }
.detail-ministry { font-size: 13px; color: var(--muted); font-weight: 600; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn-apply-big {
  padding: 13px 30px; background: linear-gradient(135deg, var(--saffron), #ff9500);
  color: #fff; border: none; border-radius: var(--radius-lg);
  font-family: var(--sans); font-size: 15px; font-weight: 800; cursor: pointer; transition: all .2s;
}
.btn-apply-big:hover { opacity: .9; box-shadow: 0 6px 20px rgba(255,107,0,.4); transform: translateY(-1px); }
.btn-share-big {
  padding: 13px 20px; background: none; border: 1.5px solid var(--border2);
  border-radius: var(--radius-lg); font-family: var(--sans); font-size: 14px;
  font-weight: 700; color: var(--text); cursor: pointer; transition: all .2s;
}
.btn-share-big:hover { border-color: var(--saffron); color: var(--saffron); }
/* Detail body */
.detail-body-section { padding: clamp(24px, 4vw, 36px); }
.detail-section { margin-bottom: 28px; }
.detail-section-title {
  font-family: var(--serif); font-size: 17px; font-weight: 800;
  color: var(--navy); margin-bottom: 13px;
  display: flex; align-items: center; gap: 8px;
}
.detail-section-title::before { content: ''; width: 4px; height: 18px; background: var(--saffron); border-radius: 2px; flex-shrink: 0; }
.detail-section p { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 10px; }
.detail-section ul { display: flex; flex-direction: column; gap: 8px; }
.detail-section ul li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.7; }
.detail-section ul li::before { content: '✦'; position: absolute; left: 0; color: var(--saffron); font-size: 10px; top: 4px; }
.info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.info-box { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 15px; }
.info-box-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted2); margin-bottom: 5px; }
.info-box-value { font-size: 14px; font-weight: 800; color: var(--navy); font-family: var(--serif); }
/* Detail footer */
.detail-footer-bar {
  background: var(--bg); padding: 20px clamp(24px,4vw,36px);
  border-top: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.deadline-text { font-size: 13px; font-weight: 700; color: #dc2626; display: flex; align-items: center; gap: 6px; }
.share-buttons { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.share-btn-sm {
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--border);
  background: none; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.share-btn-sm:hover { border-color: var(--saffron); background: var(--saffron-l); }

/* ════════════════════════════════════
   NEWSLETTER BANNER
   ════════════════════════════════════ */
.newsletter-banner {
  background: linear-gradient(135deg, var(--navy), #1e293b);
  padding: 56px 20px; text-align: center; position: relative; overflow: hidden;
}
.newsletter-banner::before {
  content: '';
  position: absolute; width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,0,.15), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.newsletter-inner { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }
.newsletter-banner h2 { font-family: var(--serif); font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -1px; }
.newsletter-banner h2 em { font-style: italic; color: #fbbf24; }
.newsletter-banner p { font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 32px; line-height: 1.7; }
.nl-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto 14px; }
.nl-form input {
  flex: 1; padding: 13px 18px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); font-family: var(--sans); font-size: 14px;
  color: #fff; outline: none; transition: border-color .2s;
}
.nl-form input::placeholder { color: rgba(255,255,255,.4); }
.nl-form input:focus { border-color: rgba(255,255,255,.5); }
.nl-form button {
  padding: 13px 24px; background: var(--saffron); color: #fff; border: none;
  border-radius: var(--radius-lg); font-family: var(--sans); font-size: 14px;
  font-weight: 800; cursor: pointer; white-space: nowrap; transition: all .2s;
}
.nl-form button:hover { background: #e05500; box-shadow: 0 4px 16px rgba(255,107,0,.4); }
.nl-note { font-size: 12px; color: rgba(255,255,255,.3); }

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.site-footer { background: var(--navy); color: #fff; padding: 52px 20px 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px;
}
.footer-brand-logo { font-family: var(--serif); font-size: 20px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.85; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 34px; height: 34px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.45);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.footer-social:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; font-family: var(--sans); }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.25); margin-left: 14px; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ════════════════════════════════════
   TOAST
   ════════════════════════════════════ */
.sw-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--navy); color: #fff;
  padding: 13px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 700; font-family: var(--sans);
  box-shadow: 0 8px 32px rgba(0,0,0,.2); z-index: 999;
  transition: transform .4s ease; display: flex; align-items: center;
  gap: 10px; white-space: nowrap;
}
.sw-toast.show { transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.anim { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.anim.in { opacity: 1; transform: none; }

/* ════════════════════════════════════
   WORDPRESS CORE
   ════════════════════════════════════ */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* ════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .info-boxes { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
   ════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .main-navigation, .header-cta .btn--ghost { display: none; }
  .menu-toggle { display: flex; }
  /* Hero */
  .hero { padding: 48px 16px 40px; }
  .finder-grid { grid-template-columns: 1fr 1fr; }
  /* Stats */
  .stats-inner { justify-content: center; gap: 20px; }
  .stat-divider { display: none; }
  /* Content */
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  /* Newsletter */
  .nl-form { flex-direction: column; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 7px; }
  /* Detail */
  .detail-top { flex-direction: column; }
  .info-boxes { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
   ════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; letter-spacing: -1px; }
  .finder-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { gap: 4px; }
  .ftb { padding: 7px 12px; font-size: 11px; }
  .info-boxes { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .btn-apply-big { width: 100%; text-align: center; }
}
