/*
Theme Name: ExamCentersIndia
Theme URI: http://examcentersindia.com
Author: ExamCentersIndia Team
Author URI: http://examcentersindia.com
Description: India's most comprehensive exam center directory. Find SSC, UPSC, Railway, Medical, DSSSB, UPPSC, JJA and all competitive exam centers across India by pincode, district, or state.
Version: 1.0.0
Requires at least: 5.5
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: examcentersindia
Tags: directory, exam-center, government, india, one-column, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, responsive-layout
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  background: #f4f6f9;
  color: #2d2d2d;
  line-height: 1.7;
}
a { color: #1a3c8f; text-decoration: none; transition: color .2s; }
a:hover { color: #e85d04; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: #1a1a2e; }

/* ===========================
   VARIABLES
=========================== */
:root {
  --primary: #1a3c8f;
  --primary-dark: #0f2766;
  --secondary: #e85d04;
  --secondary-light: #ff8c42;
  --accent: #16a34a;
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  --border: #e0e4ef;
  --text: #2d2d2d;
  --text-muted: #6b7280;
  --shadow: 0 2px 12px rgba(26,60,143,.10);
  --shadow-hover: 0 6px 24px rgba(26,60,143,.18);
  --radius: 10px;
  --radius-sm: 6px;
}

/* ===========================
   LAYOUT
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.main-content-area { flex: 1; }
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 28px; max-width: 1200px; margin: 30px auto; padding: 0 16px; }
@media(max-width:900px){ .content-sidebar-wrap { grid-template-columns:1fr; } }

/* ===========================
   TOP BAR
=========================== */
.top-bar {
  background: var(--primary-dark);
  color: #c8d8ff;
  font-size: .82rem;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #c8d8ff; }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-bar .notice { animation: ticker 20s linear infinite; }

/* ===========================
   HEADER
=========================== */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 20px;
}
.site-branding { display: flex; align-items: center; gap: 14px; }
.site-logo-icon {
  width: 50px; height: 50px; background: var(--secondary);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; font-weight: 900; flex-shrink: 0;
}
.site-title { font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.2; }
.site-tagline { font-size: .78rem; color: #a8c0ff; font-weight: 400; }

/* NAVIGATION */
.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  color: #d0deff; font-size: .9rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm);
  display: block; white-space: nowrap;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a {
  background: rgba(255,255,255,.15); color: #fff;
}
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s; z-index: 100;
}
.nav-menu li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a {
  padding: 9px 18px; color: var(--text); font-size: .88rem;
  display: block; border-left: 3px solid transparent;
}
.nav-menu .sub-menu li a:hover { border-left-color: var(--secondary); background: #f0f4ff; color: var(--primary); }

.menu-toggle {
  display: none; background: rgba(255,255,255,.15); border: 0;
  color: #fff; font-size: 1.5rem; cursor: pointer; padding: 8px 12px;
  border-radius: var(--radius-sm);
}
@media(max-width:900px){
  .menu-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dark); padding: 12px; gap: 4px; }
  .nav-menu.open { display: flex; }
  .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.2); margin: 4px 0 0 10px; }
  .nav-menu .sub-menu li a { color: #c8d8ff; }
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  background: linear-gradient(135deg, #0f2766 0%, #1a3c8f 50%, #1e4fb5 100%);
  color: #fff; padding: 60px 0 50px; text-align: center; 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.04'%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-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: var(--secondary); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-title { font-size: clamp(1.6rem, 4vw, 2.6rem); color: #fff; margin-bottom: 12px; }
.hero-title span { color: #ffd166; }
.hero-subtitle { font-size: 1rem; color: #a8c0ff; margin-bottom: 34px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* SEARCH BOX */
.search-box-wrap { max-width: 680px; margin: 0 auto; }
.search-tabs { display: flex; gap: 6px; margin-bottom: 14px; justify-content: center; }
.search-tab-btn {
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.2);
  color: #c8d8ff; padding: 7px 18px; border-radius: 30px; cursor: pointer;
  font-size: .85rem; font-weight: 600; transition: all .2s;
}
.search-tab-btn.active, .search-tab-btn:hover {
  background: var(--secondary); border-color: var(--secondary); color: #fff;
}
.search-form-group { display: flex; gap: 0; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.search-input {
  flex: 1; border: 0; padding: 16px 22px; font-size: 1rem; outline: none; color: var(--text);
}
.search-input::placeholder { color: #9ca3af; }
.search-btn {
  background: var(--secondary); color: #fff; border: 0; padding: 16px 28px;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; gap: 8px;
}
.search-btn:hover { background: #c94d00; }
.search-hint { font-size: .8rem; color: #8ca8e0; margin-top: 10px; }
.search-hint span { color: #ffd166; }

/* Hero stats */
.hero-stats { display: flex; gap: 30px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.7rem; font-weight: 900; color: #ffd166; }
.hero-stat .lbl { font-size: .75rem; color: #a8c0ff; text-transform: uppercase; letter-spacing: .5px; }

/* ===========================
   SEARCH RESULTS BOX
=========================== */
#search-results-box {
  max-width: 900px; margin: 0 auto 30px; display: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden;
}
.search-results-header {
  background: var(--primary); color: #fff; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.search-results-header .close-results { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.search-result-item {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start;
}
.search-result-item:last-child { border-bottom: none; }
.result-name { font-weight: 700; color: var(--primary); font-size: 1rem; }
.result-address { font-size: .85rem; color: var(--text-muted); margin-top: 3px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.result-tag { background: #e8f0fe; color: var(--primary); font-size: .72rem; padding: 2px 8px; border-radius: 12px; font-weight: 600; }
.result-pincode { background: var(--secondary); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.no-results { padding: 30px; text-align: center; color: var(--text-muted); }

/* ===========================
   ADSENSE BLOCKS
=========================== */
.adsense-block {
  background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius);
  padding: 12px; text-align: center; margin: 20px 0; overflow: hidden;
}
.adsense-block .ad-label { font-size: .7rem; color: #9ca3af; text-transform: uppercase; margin-bottom: 6px; }
.ad-728 { min-height: 90px; }
.ad-300 { min-height: 250px; }
.ad-responsive { min-height: 100px; }

/* ===========================
   SECTION STYLES
=========================== */
.section { padding: 50px 0; }
.section-light { background: #fff; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-tag {
  display: inline-block; background: #e8f0fe; color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); font-size: .95rem; max-width: 600px; margin: 0 auto; }

/* ===========================
   EXAM CATEGORY GRID
=========================== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card {
  background: #fff; border-radius: var(--radius); padding: 22px 16px;
  text-align: center; border: 2px solid var(--border);
  transition: all .25s; cursor: pointer; position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--secondary); transform: scaleX(0); transition: transform .25s;
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover .cat-icon { background: var(--primary); color: #fff; }
.cat-icon {
  width: 52px; height: 52px; border-radius: 12px; background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 12px; transition: all .25s;
}
.cat-name { font-size: .88rem; font-weight: 700; color: var(--primary); line-height: 1.3; }
.cat-count { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

/* ===========================
   STATE GRID
=========================== */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.state-card {
  background: #fff; border-radius: var(--radius-sm); padding: 14px 12px;
  border: 1px solid var(--border); text-align: center; transition: all .2s;
}
.state-card:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.state-card:hover .state-name, .state-card:hover .state-count { color: #fff; }
.state-abbr { font-size: 1.1rem; font-weight: 900; color: var(--secondary); margin-bottom: 5px; }
.state-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.state-count { font-size: .72rem; color: var(--text-muted); margin-top: 3px; }

/* ===========================
   CENTER CARD
=========================== */
.centers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.center-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: all .25s;
}
.center-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--primary); }
.center-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px 18px; color: #fff;
}
.center-card-header h3 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.center-card-header .center-type { font-size: .75rem; color: #a8c0ff; }
.center-card-body { padding: 16px 18px; }
.center-meta { display: flex; flex-direction: column; gap: 8px; }
.center-meta-item { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.center-meta-item .meta-icon { color: var(--secondary); flex-shrink: 0; margin-top: 2px; }
.center-meta-item .meta-text { color: var(--text); }
.center-exams { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.exam-badge { background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; }
.center-card-footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; cursor: pointer; border: 0; transition: all .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .8rem; }

/* ===========================
   SINGLE EXAM CENTER PAGE
=========================== */
.ec-detail-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
@media(max-width:768px){ .ec-detail-wrap { grid-template-columns: 1fr; } }
.ec-main-info { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.ec-title-section { border-bottom: 2px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.ec-title { font-size: 1.6rem; color: var(--primary); }
.ec-breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.ec-breadcrumb a { color: var(--primary); }
.ec-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ec-badge { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-verified { background: #dcfce7; color: #166534; }
.badge-active { background: #dbeafe; color: #1e40af; }
.ec-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px){ .ec-info-grid { grid-template-columns: 1fr; } }
.ec-info-item { padding: 14px; background: var(--bg-light); border-radius: var(--radius-sm); }
.ec-info-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; margin-bottom: 5px; }
.ec-info-value { font-size: .95rem; font-weight: 600; color: var(--text); }
.ec-map-section { margin-top: 24px; }
.ec-map-section iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius-sm); }
.ec-sidebar-widget { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.ec-sidebar-widget h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); color: var(--primary); }

/* ===========================
   BLOG POSTS
=========================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-thumb { height: 180px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-category-label {
  position: absolute; top: 12px; left: 12px; background: var(--secondary);
  color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.post-body { padding: 18px; }
.post-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.post-title { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; }
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: .85rem; color: var(--text-muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { color: var(--primary); font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.read-more:hover { color: var(--secondary); }

/* ===========================
   SIDEBAR
=========================== */
.sidebar-widget { background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 22px; box-shadow: var(--shadow); }
.sidebar-widget-title { font-size: 1rem; font-weight: 700; color: var(--primary); padding-bottom: 10px; border-bottom: 3px solid var(--secondary); margin-bottom: 16px; }
.sidebar-search-form { display: flex; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.sidebar-search-form input { flex: 1; border: 0; padding: 9px 12px; font-size: .9rem; outline: none; }
.sidebar-search-form button { background: var(--primary); color: #fff; border: 0; padding: 9px 14px; cursor: pointer; }
.sidebar-link-list li { border-bottom: 1px solid var(--border); }
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: .88rem; color: var(--text); }
.sidebar-link-list a:hover { color: var(--primary); padding-left: 4px; }
.sidebar-link-list .count { background: #e8f0fe; color: var(--primary); font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 12px; }
.pincode-search-widget input { width: 100%; border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .9rem; outline: none; margin-bottom: 8px; }
.pincode-search-widget input:focus { border-color: var(--primary); }
.pincode-search-widget button { width: 100%; }

/* ===========================
   BREADCRUMB
=========================== */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .83rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb .current { color: var(--text); }

/* ===========================
   FILTER BAR
=========================== */
.filter-bar {
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); margin-bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 5px; min-width: 160px; flex: 1; }
.filter-group label { font-size: .78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.filter-select {
  padding: 9px 12px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; outline: none; background: #fff; cursor: pointer;
}
.filter-select:focus { border-color: var(--primary); }
.filter-btn { padding: 10px 20px; }

/* ===========================
   PAGINATION
=========================== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 8px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; color: var(--primary); background: #fff;
  transition: all .2s;
}
.pagination a:hover, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===========================
   INFO BOXES
=========================== */
.info-box { border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.info-box-info { background: #eff6ff; border-left: 4px solid #3b82f6; }
.info-box-tip { background: #f0fdf4; border-left: 4px solid #22c55e; }
.info-box-note { background: #fffbeb; border-left: 4px solid #f59e0b; }
.info-box-icon { font-size: 1.3rem; flex-shrink: 0; }
.info-box-text h4 { font-size: .95rem; margin-bottom: 4px; }
.info-box-text p { font-size: .87rem; color: var(--text-muted); }

/* ===========================
   HOW IT WORKS
=========================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-item { text-align: center; padding: 24px 16px; }
.step-num {
  width: 50px; height: 50px; border-radius: 50%; background: var(--secondary);
  color: #fff; font-size: 1.3rem; font-weight: 900; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 1rem; margin-bottom: 8px; color: var(--primary); }
.step-desc { font-size: .85rem; color: var(--text-muted); }

/* ===========================
   FOOTER
=========================== */
.site-footer { background: #0f1c47; color: #94a8d4; margin-top: 50px; }
.footer-top { padding: 50px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .site-title { color: #fff; margin-bottom: 10px; font-size: 1.1rem; }
.footer-brand p { font-size: .86rem; line-height: 1.7; margin-bottom: 16px; }
.footer-widget h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.1); }
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget ul a { color: #94a8d4; font-size: .86rem; }
.footer-widget ul a:hover { color: var(--secondary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .82rem; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #94a8d4; font-size: .82rem; }
.footer-links a:hover { color: #fff; }

/* ===========================
   LOADING SPINNER
=========================== */
.spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(26,60,143,.2); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================
   ALERTS & NOTICES
=========================== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 16px 0; font-size: .9rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ===========================
   SINGLE BLOG POST
=========================== */
.post-content { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.post-header { margin-bottom: 24px; }
.post-content-body { font-size: .96rem; line-height: 1.9; }
.post-content-body h2 { font-size: 1.3rem; color: var(--primary); margin: 28px 0 12px; }
.post-content-body h3 { font-size: 1.1rem; color: var(--primary); margin: 22px 0 10px; }
.post-content-body p { margin-bottom: 16px; }
.post-content-body ul, .post-content-body ol { padding-left: 22px; margin-bottom: 16px; }
.post-content-body li { margin-bottom: 6px; }
.post-content-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.post-content-body table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; }
.post-content-body table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.post-content-body table tr:nth-child(even) td { background: var(--bg-light); }

/* ===========================
   ARCHIVE PAGE
=========================== */
.archive-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 36px 0; margin-bottom: 0; }
.archive-header h1 { color: #fff; font-size: 1.7rem; }
.archive-header p { color: #a8c0ff; margin-top: 6px; }
.archive-meta { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.archive-meta span { background: rgba(255,255,255,.15); padding: 4px 14px; border-radius: 20px; font-size: .82rem; }

/* ===========================
   RESPONSIVE
=========================== */
@media(max-width:768px){
  .hero-section { padding: 40px 0 36px; }
  .hero-stats { gap: 20px; }
  .section { padding: 36px 0; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .state-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .centers-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media(max-width:480px){
  .search-form-group { flex-direction: column; border-radius: var(--radius); }
  .search-input { border-radius: var(--radius) var(--radius) 0 0; }
  .search-btn { border-radius: 0 0 var(--radius) var(--radius); justify-content: center; }
  .filter-bar { flex-direction: column; }
  .filter-group { width: 100%; }
}

/* ===========================
   UTILITY
=========================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.d-none { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.view-all-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--primary); margin-top: 24px; }
.view-all-link:hover { color: var(--secondary); }
.highlight-text { color: var(--secondary); }
