/*
Theme Name: Sarkari Nova
Theme URI: https://example.com/sarkari-nova
Author: Sarkari Nova Team
Author URI: https://example.com
Description: A bold, modern Government Jobs & Results portal theme with vibrant design, fast performance, and mobile-first layout. Perfect for Sarkari Result, Sarkari Naukri, and Admit Card websites.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
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: sarkari-nova
Tags: government, jobs, results, news, mobile-friendly, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ========================================
   CSS VARIABLES & ROOT
======================================== */
:root {
  --primary: #1a237e;
  --primary-dark: #0d1457;
  --primary-light: #283593;
  --accent: #ff6f00;
  --accent-light: #ff8f00;
  --accent-glow: #ffa726;
  --success: #2e7d32;
  --danger: #c62828;
  --warning: #f57f17;
  --info: #0277bd;
  --bg: #f0f2f8;
  --bg-card: #ffffff;
  --bg-dark: #0a0e2e;
  --text-primary: #1a1a2e;
  --text-secondary: #455a64;
  --text-light: #ffffff;
  --text-muted: #78909c;
  --border: #e0e4f0;
  --shadow-sm: 0 2px 8px rgba(26,35,126,0.08);
  --shadow-md: 0 4px 20px rgba(26,35,126,0.12);
  --shadow-lg: 0 8px 40px rgba(26,35,126,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-main: 'Hind', 'Noto Sans Devanagari', sans-serif;
  --font-display: 'Baloo 2', 'Hind', sans-serif;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========================================
   UTILITY CLASSES
======================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-gap { margin-bottom: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-new { background: var(--accent); color: #fff; animation: pulse-badge 1.5s infinite; }
.badge-result { background: var(--success); color: #fff; }
.badge-admit { background: var(--info); color: #fff; }
.badge-syllabus { background: #7b1fa2; color: #fff; }
.badge-answer { background: #00695c; color: #fff; }
.badge-hot { background: var(--danger); color: #fff; }

@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,111,0,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255,111,0,0); }
}

/* ========================================
   TOP TICKER BAR
======================================== */
.ticker-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 7px 0;
  overflow: hidden;
  font-size: 13px;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
  background: var(--accent);
  color: #fff;
  padding: 2px 14px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 1px;
  flex-shrink: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 12px;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  gap: 40px;
  animation: ticker-move 40s linear infinite;
  white-space: nowrap;
}
.ticker-track a { color: #e8eaf6; font-size: 13px; }
.ticker-track a:hover { color: var(--accent-glow); }
.ticker-sep { color: var(--accent); opacity: 0.6; }

@keyframes ticker-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   HEADER
======================================== */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  gap: 15px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-logo-img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--accent); object-fit: cover; }
.logo-text-wrap { display: flex; flex-direction: column; }
.site-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.site-name span { color: var(--accent-glow); }
.site-tagline { font-size: 11px; color: #90caf9; letter-spacing: 0.5px; margin-top: 1px; }

/* Header Search */
.header-search { display: flex; align-items: center; flex: 1; max-width: 380px; margin: 0 auto; }
.header-search form { display: flex; width: 100%; background: rgba(255,255,255,0.12); border-radius: 30px; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.25); transition: border-color var(--transition), background var(--transition); }
.header-search form:focus-within { background: rgba(255,255,255,0.2); border-color: var(--accent-glow); }
.header-search input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 9px 16px; font-size: 14px; font-family: var(--font-main); }
.header-search input::placeholder { color: rgba(255,255,255,0.55); }
.header-search button { background: var(--accent); border: none; color: #fff; padding: 9px 16px; cursor: pointer; font-size: 16px; transition: background var(--transition); }
.header-search button:hover { background: var(--accent-light); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========================================
   NAVIGATION
======================================== */
.main-nav { background: #fff; border-bottom: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.nav-inner { display: flex; align-items: center; }
.nav-menu { display: flex; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: #fff8f0;
}
.nav-menu > li:first-child > a { padding-left: 0; }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 999;
}
.nav-menu li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a { display: block; padding: 10px 18px; font-size: 13px; color: var(--text-primary); border-bottom: 1px solid var(--border); }
.nav-menu .sub-menu li a:hover { background: #f0f2f8; color: var(--accent); padding-left: 24px; }

/* ========================================
   HERO / BANNER SECTION
======================================== */
.hero-section {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 50%, #1565c0 100%);
  padding: 36px 0 28px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; position: relative; }
.hero-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  color: #fff;
  transition: transform var(--transition), background var(--transition);
}
.hero-stat-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.15); }
.hero-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--accent-glow); display: block; }
.hero-stat-label { font-size: 13px; color: #90caf9; margin-top: 2px; }

/* ========================================
   CATEGORY PILLS
======================================== */
.category-pills { padding: 18px 0; background: #fff; border-bottom: 1px solid var(--border); }
.pills-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.cat-pill-latest { background: #e8eaf6; color: var(--primary); border-color: var(--primary); }
.cat-pill-result { background: #e8f5e9; color: var(--success); border-color: var(--success); }
.cat-pill-admit { background: #e3f2fd; color: var(--info); border-color: var(--info); }
.cat-pill-job { background: #fff3e0; color: var(--accent); border-color: var(--accent); }
.cat-pill-syllabus { background: #f3e5f5; color: #7b1fa2; border-color: #7b1fa2; }
.cat-pill-answer { background: #e0f2f1; color: #00695c; border-color: #00695c; }
.cat-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); filter: brightness(1.05); }

/* ========================================
   MAIN LAYOUT
======================================== */
.main-content-area { padding: 24px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* ========================================
   POST CARDS
======================================== */
.card-section { margin-bottom: 28px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid var(--primary);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: -2.5px;
  left: 0;
  width: 60px;
  height: 2.5px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .icon { font-size: 20px; }
.section-view-all { font-size: 13px; font-weight: 600; color: var(--accent); padding: 4px 14px; border: 1.5px solid var(--accent); border-radius: 20px; transition: all var(--transition); }
.section-view-all:hover { background: var(--accent); color: #fff; }

/* Post List Card */
.post-list-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.post-list-item:last-child { border-bottom: none; }
.post-list-item:hover { background: #f8f9ff; }
.post-list-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.icon-bg-blue { background: #e8eaf6; }
.icon-bg-green { background: #e8f5e9; }
.icon-bg-orange { background: #fff3e0; }
.icon-bg-purple { background: #f3e5f5; }
.icon-bg-teal { background: #e0f2f1; }
.post-list-content { flex: 1; min-width: 0; }
.post-list-title { font-size: 14px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 4px; }
.post-list-title a { color: inherit; }
.post-list-title a:hover { color: var(--accent); }
.post-list-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-meta-date { font-size: 11px; color: var(--text-muted); }
.post-list-badge { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

/* Grid Post Card */
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-grid-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-grid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-grid-thumb { position: relative; overflow: hidden; height: 160px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.post-grid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-grid-card:hover .post-grid-thumb img { transform: scale(1.06); }
.post-grid-thumb .badge { position: absolute; top: 10px; left: 10px; }
.post-grid-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.post-grid-title { font-size: 14px; font-weight: 700; color: var(--text-primary); line-height: 1.45; margin-bottom: 8px; flex: 1; }
.post-grid-title a:hover { color: var(--accent); }
.post-grid-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

/* ========================================
   SIDEBAR
======================================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.widget-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.widget-header {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.widget-header.accent-header { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%); }
.widget-header.green-header { background: linear-gradient(90deg, #2e7d32 0%, #388e3c 100%); }
.widget-body { padding: 0; }

.widget-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  transition: background var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}
.widget-list-item:last-child { border-bottom: none; }
.widget-list-item:hover { background: #f8f9ff; color: var(--accent); }
.widget-list-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.widget-list-item .dot.green { background: var(--success); }
.widget-list-item .dot.blue { background: var(--info); }

/* Quick Links widget */
.quick-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.quick-link-item {
  background: #fff;
  padding: 12px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.quick-link-item:hover { background: var(--primary); color: #fff; }
.quick-link-item .ql-icon { font-size: 22px; }

/* Important Dates widget */
.dates-table { width: 100%; font-size: 12px; }
.dates-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dates-table tr:last-child td { border-bottom: none; }
.dates-table .dt-label { color: var(--text-secondary); font-weight: 500; width: 60%; }
.dates-table .dt-date { color: var(--primary); font-weight: 700; text-align: right; white-space: nowrap; }

/* ========================================
   NOTICE BOARD
======================================== */
.notice-board {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
  border: 2px solid var(--warning);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.notice-header {
  background: var(--warning);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-list { padding: 4px 0; max-height: 220px; overflow-y: auto; }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(245,127,23,0.15);
  font-size: 13px;
}
.notice-item:last-child { border-bottom: none; }
.notice-item::before { content: '📢'; flex-shrink: 0; font-size: 14px; margin-top: 1px; }
.notice-item a { color: var(--text-primary); font-weight: 500; }
.notice-item a:hover { color: var(--warning); }

/* ========================================
   STATE FILTER BAR
======================================== */
.state-filter { background: var(--bg-card); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.state-filter h3 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.state-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.state-pill { font-size: 12px; padding: 4px 12px; border-radius: 20px; background: #f0f2f8; color: var(--text-secondary); font-weight: 500; border: 1px solid var(--border); cursor: pointer; transition: all var(--transition); text-decoration: none; }
.state-pill:hover, .state-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========================================
   POST SINGLE PAGE
======================================== */
.single-post-wrap { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--border); }
.single-post-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 28px; color: #fff; }
.single-post-header .post-category { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 10px; }
.single-post-header h1 { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.single-post-header .post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #90caf9; }
.single-post-body { padding: 28px; }
.info-table-wrap { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--primary); margin: 20px 0; }
.info-table-title { background: var(--primary); color: #fff; padding: 10px 16px; font-weight: 700; font-size: 14px; text-align: center; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th { background: #e8eaf6; color: var(--primary); padding: 10px 14px; font-weight: 700; text-align: left; border-bottom: 1px solid var(--border); }
.info-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: #f8f9ff; }
.info-table td a { color: var(--accent); font-weight: 600; }
.info-table td a:hover { text-decoration: underline; }

.apply-btn-wrap { text-align: center; margin: 24px 0; }
.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,111,0,0.35);
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.apply-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,111,0,0.45); color: #fff; background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-glow) 100%); }

/* Content Typography */
.single-post-body h2 { font-family: var(--font-display); font-size: 20px; color: var(--primary); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.single-post-body h3 { font-size: 17px; color: var(--primary-light); margin: 18px 0 10px; }
.single-post-body p { margin-bottom: 14px; color: var(--text-secondary); font-size: 15px; }
.single-post-body ul, .single-post-body ol { margin: 12px 0 12px 20px; color: var(--text-secondary); font-size: 15px; }
.single-post-body li { margin-bottom: 6px; }

/* ========================================
   FOOTER
======================================== */
.site-footer { background: var(--bg-dark); color: #cfd8dc; margin-top: 40px; }
.footer-top { padding: 40px 0 30px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-about .site-name { font-size: 20px; margin-bottom: 12px; display: block; }
.footer-about p { font-size: 13px; line-height: 1.7; color: #90a4ae; margin-bottom: 16px; }
.footer-col h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #90a4ae; font-size: 13px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent-glow); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--transition);
  text-decoration: none;
}
.social-fb { background: #1877f2; color: #fff; }
.social-tw { background: #1da1f2; color: #fff; }
.social-yt { background: #ff0000; color: #fff; }
.social-tg { background: #0088cc; color: #fff; }
.social-btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }

.footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #607d8b; }
.footer-bottom a { color: #78909c; }
.footer-bottom a:hover { color: var(--accent-glow); }

/* ========================================
   PAGINATION
======================================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; flex-wrap: wrap; }
.page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  background: var(--bg-card); border: 1.5px solid var(--border);
  transition: all var(--transition); text-decoration: none;
}
.page-numbers:hover, .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-numbers.dots { border: none; background: none; }

/* ========================================
   BACK TO TOP
======================================== */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999; box-shadow: 0 4px 15px rgba(255,111,0,0.4);
  transition: all var(--transition); opacity: 0; pointer-events: none;
  border: none;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,111,0,0.5); }

/* ========================================
   LOADING SKELETON
======================================== */
.skeleton { background: linear-gradient(90deg, #f0f2f8 25%, #e4e8f5 50%, #f0f2f8 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr 280px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .nav-toggle { display: flex; }

  .main-nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border);
  }
  .main-nav .nav-menu.active { display: flex; }
  .nav-menu > li > a { padding: 13px 16px; border-bottom: 1px solid var(--border); border-bottom-color: var(--border) !important; }
  .nav-menu .sub-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; border-radius: 0; background: #f8f9ff; display: none; }
  .nav-menu li.active .sub-menu { display: block; }

  .content-grid { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .main-primary { order: 1; }

  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-num { font-size: 26px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }

  .grid-posts { grid-template-columns: 1fr; }
  .pills-wrap { gap: 7px; }
  .cat-pill { font-size: 12px; padding: 6px 12px; }

  .footer-bottom { text-align: center; justify-content: center; }
  .single-post-header { padding: 20px; }
  .single-post-body { padding: 18px; }
}

@media (max-width: 480px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-name { font-size: 18px; }
  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  #back-to-top { bottom: 16px; right: 16px; }
}

/* ========================================
   WORDPRESS CORE CLASSES
======================================== */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 5px; }
.sticky { border-left: 4px solid var(--accent); }

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
