/* ══════════════════════════════════════════
   SARKARI WALA — theme.css
   Full-width | No sidebar | Mobile-first
   Breakpoints: 480 / 640 / 900 / 1100
══════════════════════════════════════════ */

/* ─── 1. VARIABLES ─── */
:root {
  --sw-saffron:       #FF6B00;
  --sw-saffron-light: #FF8C33;
  --sw-saffron-pale:  #FFF3E8;
  --sw-navy:          #0D1B3E;
  --sw-navy-mid:      #1A2F5E;
  --sw-green:         #138808;
  --sw-white:         #ffffff;
  --sw-off-white:     #F8F9FC;
  --sw-gray:          #6B7280;
  --sw-gray-light:    #E5E8EF;
  --sw-text:          #1a1a2e;
  --sw-radius:        12px;
  --sw-radius-sm:     8px;
  --sw-shadow:        0 4px 24px rgba(13,27,62,.10);
  --sw-shadow-sm:     0 2px 8px rgba(13,27,62,.07);
  --sw-transition:    0.22s ease;
  --sw-max:           1100px;
  --sw-pad:           clamp(14px, 3vw, 24px);
}

/* ─── 2. RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans', sans-serif;
  background: var(--sw-off-white);
  color: var(--sw-text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sw-saffron); text-decoration: none; transition: color var(--sw-transition); }
a:hover { color: var(--sw-saffron-light); }
a:focus-visible { outline: 2px solid var(--sw-saffron); outline-offset: 3px; border-radius: 3px; }
ul, ol { padding-left: 1.5em; }
table { border-collapse: collapse; width: 100%; }
input, button, textarea, select { font-family: inherit; }
button { cursor: pointer; }

/* ─── 3. TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  line-height: 1.25;
  color: var(--sw-navy);
}
h1 { font-size: clamp(22px, 5vw, 42px); }
h2 { font-size: clamp(18px, 3vw, 30px); }
h3 { font-size: clamp(16px, 2.5vw, 20px); }
h4 { font-size: 16px; font-weight: 700; }
p  { margin-bottom: 1rem; }
blockquote {
  border-left: 4px solid var(--sw-saffron);
  padding: 12px 18px;
  background: var(--sw-saffron-pale);
  border-radius: 0 var(--sw-radius-sm) var(--sw-radius-sm) 0;
  font-style: italic;
}
code {
  background: var(--sw-off-white);
  border: 1px solid var(--sw-gray-light);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
}
pre { overflow-x: auto; background: var(--sw-navy); color: #e2e8f0; padding: 16px; border-radius: var(--sw-radius); }
pre code { background: none; border: none; padding: 0; }

/* ─── 4. LAYOUT ─── */
.sw-container {
  max-width: var(--sw-max);
  margin: 0 auto;
  padding: 0 var(--sw-pad);
  width: 100%;
}
/* Full-width page content — no sidebar */
.sw-page-content {
  max-width: var(--sw-max);
  padding-bottom: 40px;
}

/* ─── 5. SKIP LINK ─── */
.sw-skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--sw-saffron); color: #fff;
  padding: 8px 16px; font-weight: 700; z-index: 9999;
  border-radius: 0 0 var(--sw-radius-sm) 0; transition: top .2s;
}
.sw-skip-link:focus { top: 0; }

/* ─── 6. TICKER ─── */
.sw-ticker-bar {
  background: var(--sw-navy); color: #fff;
  height: 32px; overflow: hidden;
  display: flex; align-items: center; width: 100%;
}
.sw-ticker-label {
  background: var(--sw-saffron);
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 11px;
  padding: 0 12px; height: 100%;
  display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0; letter-spacing: .5px;
}
.sw-ticker-track {
  display: flex; animation: sw-ticker 50s linear infinite;
  white-space: nowrap; padding-left: 20px;
  font-size: 12px; opacity: .9;
}
.sw-ticker-track:hover { animation-play-state: paused; }
.sw-ticker-track span { padding-right: 36px; }
.sw-ticker-track span::after {
  content: '\2022'; color: var(--sw-saffron);
  margin-left: 36px; font-size: 8px; vertical-align: middle;
}
@keyframes sw-ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── 7. HEADER ─── */
.sw-header {
  background: var(--sw-white); box-shadow: var(--sw-shadow-sm);
  position: sticky; top: 0; z-index: 100; width: 100%;
}
.sw-header-inner {
  display: flex; align-items: center;
  gap: 14px; height: 60px;
}
.sw-site-logo {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; text-decoration: none;
}
.sw-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--sw-saffron), var(--sw-saffron-light));
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.sw-logo-text {
  font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: 20px; color: var(--sw-navy); line-height: 1;
}
.sw-logo-text span { color: var(--sw-saffron); }
.sw-logo-sub { font-size: 9px; color: var(--sw-gray); margin-top: 2px; }

/* Desktop nav */
.sw-primary-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; flex-wrap: nowrap;
}
.sw-primary-nav a {
  font-family: 'Baloo 2', cursive; font-weight: 600;
  font-size: 13px; color: var(--sw-navy);
  padding: 6px 10px; border-radius: var(--sw-radius-sm);
  transition: all var(--sw-transition); white-space: nowrap; text-decoration: none;
}
.sw-primary-nav a:hover,
.sw-primary-nav .current-menu-item > a,
.sw-primary-nav .current_page_item > a,
.sw-primary-nav .current-menu-ancestor > a {
  background: var(--sw-saffron-pale); color: var(--sw-saffron);
}
/* Dropdown */
.sw-primary-nav .menu-item-has-children { position: relative; }
.sw-primary-nav .sub-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--sw-white); border: 1.5px solid var(--sw-gray-light);
  border-radius: var(--sw-radius); min-width: 210px;
  box-shadow: var(--sw-shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--sw-transition); z-index: 200; padding: 6px 0;
  list-style: none;
}
.sw-primary-nav .menu-item-has-children:hover .sub-menu,
.sw-primary-nav .menu-item-has-children:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sw-primary-nav .sub-menu li { list-style: none; }
.sw-primary-nav .sub-menu a { display: block; padding: 9px 16px; border-radius: 0; font-size: 13px; }

/* Header search */
.sw-header-search {
  display: flex; align-items: center;
  background: var(--sw-off-white); border: 1.5px solid var(--sw-gray-light);
  border-radius: 20px; padding: 0 12px; gap: 7px; height: 34px;
  min-width: 150px; max-width: 220px;
  transition: border-color var(--sw-transition);
  position: relative; flex-shrink: 1;
}
.sw-header-search:focus-within { border-color: var(--sw-saffron); }
.sw-header-search input {
  border: none; background: transparent;
  font-size: 13px; color: var(--sw-text);
  outline: none; width: 100%; min-width: 0;
}
.sw-header-search svg { color: var(--sw-gray); flex-shrink: 0; }

/* Live search dropdown */
.sw-search-results-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--sw-white); border: 1.5px solid var(--sw-gray-light);
  border-radius: var(--sw-radius); box-shadow: var(--sw-shadow);
  z-index: 300; max-height: 320px; overflow-y: auto; display: none;
}
.sw-search-results-dropdown.active { display: block; }
.sw-search-result-item {
  padding: 10px 14px; border-bottom: 1px solid var(--sw-gray-light);
  cursor: pointer; text-decoration: none; display: block;
}
.sw-search-result-item:last-child { border-bottom: none; }
.sw-search-result-item:hover { background: var(--sw-off-white); }
.sw-search-result-item .sri-title { font-weight: 600; font-size: 13px; color: var(--sw-navy); }
.sw-search-result-item .sri-date  { font-size: 11px; color: var(--sw-gray); margin-top: 2px; }

/* Hamburger */
.sw-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; background: none; border: none; flex-shrink: 0;
}
.sw-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--sw-navy); border-radius: 2px; transition: .3s;
}

/* ─── 8. MOBILE MENU ─── */
.sw-mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(13,27,62,.98); z-index: 9999;
  flex-direction: column; padding: 18px 18px 32px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.sw-mobile-menu.open { display: flex; }
.sw-mobile-menu-close {
  align-self: flex-end; background: rgba(255,255,255,.1);
  border: none; color: #fff; font-size: 20px;
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; cursor: pointer; flex-shrink: 0;
}
.sw-mobile-menu-close:hover { background: rgba(255,255,255,.2); }
.sw-mobile-menu a {
  color: #fff; font-family: 'Baloo 2', cursive; font-weight: 700;
  font-size: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; transition: color var(--sw-transition);
}
.sw-mobile-menu a:hover { color: var(--sw-saffron-light); }
.sw-mobile-menu a:last-of-type { border-bottom: none; }
.sw-mobile-menu .sub-menu {
  list-style: none; padding: 0; display: block;
  border-left: 3px solid var(--sw-saffron); margin-left: 12px;
}
.sw-mobile-menu .sub-menu a { font-size: 13.5px; padding: 10px 0 10px 12px; color: rgba(255,255,255,.8); }
/* Mobile search inside menu */
.sw-mobile-search {
  margin-top: 18px;
  display: flex;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; overflow: hidden;
}
.sw-mobile-search input {
  flex: 1; border: none; background: transparent;
  padding: 11px 14px; color: #fff; font-size: 14px; outline: none;
}
.sw-mobile-search input::placeholder { color: rgba(255,255,255,.5); }
.sw-mobile-search button {
  background: var(--sw-saffron); color: #fff;
  border: none; padding: 0 16px; font-size: 18px;
}

/* ─── 9. HERO ─── */
.sw-hero {
  background: linear-gradient(135deg, var(--sw-navy) 0%, var(--sw-navy-mid) 60%, #1e3a6e 100%);
  padding: clamp(28px, 6vw, 56px) var(--sw-pad) clamp(36px, 7vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.sw-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' 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/svg%3E");
}
.sw-tricolor { display:flex; height:4px; border-radius:4px; overflow:hidden; width:72px; margin:0 auto 16px; }
.sw-tricolor .c1{flex:1;background:var(--sw-saffron)}
.sw-tricolor .c2{flex:1;background:var(--sw-white)}
.sw-tricolor .c3{flex:1;background:var(--sw-green)}
.sw-hero h1 { color:#fff; margin-bottom:10px; position:relative; }
.sw-hero h1 span { color:var(--sw-saffron-light); }
.sw-hero-sub {
  color: rgba(255,255,255,.75); font-size: clamp(13px,2vw,15px);
  max-width: 520px; margin: 0 auto 22px; position: relative;
}
.sw-hero-search {
  display: flex; max-width: 560px; margin: 0 auto 18px;
  background: #fff; border-radius: 50px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25); position: relative;
}
.sw-hero-search input {
  flex: 1; border: none; outline: none;
  padding: 13px 18px; font-size: 14px; color: var(--sw-text); min-width: 0;
}
.sw-hero-search button {
  background: var(--sw-saffron); color: #fff; border: none;
  padding: 0 22px; font-family: 'Baloo 2', cursive; font-weight: 700;
  font-size: 14px; white-space: nowrap; transition: background var(--sw-transition); flex-shrink: 0;
}
.sw-hero-search button:hover { background: var(--sw-saffron-light); }
.sw-hero-pills { display:flex; gap:7px; justify-content:center; flex-wrap:wrap; position:relative; padding:0 8px; }
.sw-hero-pills a {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  padding: 5px 12px; font-size: 12px; transition: all var(--sw-transition);
}
.sw-hero-pills a:hover { background: var(--sw-saffron); border-color: var(--sw-saffron); color: #fff; }

/* ─── 10. STATS BAR ─── */
.sw-stats-bar {
  background: var(--sw-white); border-bottom: 1px solid var(--sw-gray-light);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sw-stats-bar::-webkit-scrollbar { display: none; }
.sw-stats-inner { display:flex; gap:0; min-width:max-content; }
.sw-stat-item {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-right: 1px solid var(--sw-gray-light);
  transition: background var(--sw-transition); text-decoration: none; flex-shrink: 0;
}
.sw-stat-item:last-child { border-right: none; }
.sw-stat-item:hover { background: var(--sw-saffron-pale); }
.sw-stat-icon { width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.sw-stat-num { font-family:'Baloo 2',cursive; font-weight:800; font-size:17px; color:var(--sw-navy); line-height:1; }
.sw-stat-label { font-size:10px; color:var(--sw-gray); font-weight:500; white-space:nowrap; }

/* ─── 11. BREADCRUMB ─── */
.sw-breadcrumb { padding: 10px 0; }
.sw-bc-list { display:flex; align-items:center; gap:6px; flex-wrap:wrap; list-style:none; padding:0; margin:0; font-size:12px; }
.sw-bc-list a { color:var(--sw-gray); }
.sw-bc-list a:hover { color:var(--sw-saffron); }
.sw-bc-current span { color:var(--sw-text); font-weight:500; }
.sw-bc-sep { color:var(--sw-gray-light); font-size:14px; }

/* ─── 12. SECTION HEADERS ─── */
.sw-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; gap:10px; }
.sw-section-title {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: clamp(15px, 3vw, 18px); color: var(--sw-navy);
}
.sw-section-bar { width:4px; height:20px; background:var(--sw-saffron); border-radius:3px; display:inline-block; flex-shrink:0; }
.sw-cat-post-count { font-size:12px; font-weight:500; color:var(--sw-gray); }
.sw-view-all {
  font-family: 'Baloo 2', cursive; font-weight: 600; font-size: 12px;
  color: var(--sw-saffron); background: var(--sw-saffron-pale);
  padding: 5px 12px; border-radius: 20px;
  transition: all var(--sw-transition); white-space: nowrap; text-decoration: none; flex-shrink: 0;
}
.sw-view-all:hover { background: var(--sw-saffron); color: #fff; }

/* ─── 13. CATEGORY GRID ─── */
.sw-cat-wrap { margin: 20px 0 8px; }
.sw-cat-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 24px;
}
.sw-cat-card {
  background: var(--sw-white); border-radius: var(--sw-radius);
  border: 1.5px solid var(--sw-gray-light);
  padding: 16px 10px; text-align: center;
  transition: all var(--sw-transition); text-decoration: none; display: block;
}
.sw-cat-card:hover { border-color: var(--sw-saffron); box-shadow: 0 4px 16px rgba(255,107,0,.12); transform: translateY(-2px); }
.sw-cat-emoji { font-size: 24px; margin-bottom: 6px; }
.sw-cat-name { font-family:'Baloo 2',cursive; font-weight:700; font-size:12px; color:var(--sw-navy); line-height:1.3; }
.sw-cat-count { font-size:10px; color:var(--sw-gray); margin-top:3px; }

/* ─── 14. ARCHIVE HEADER ─── */
.sw-archive-header {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--sw-gray-light);
  margin-bottom: 20px;
}
.sw-archive-title {
  font-family: 'Baloo 2', cursive; font-weight: 800;
  font-size: clamp(18px,4vw,26px); color: var(--sw-navy);
  display: block;
}
.sw-archive-desc { color: var(--sw-gray); font-size: 14px; margin-top: 6px; margin-bottom: 0; }

/* ─── 15. JOB CARDS (post list items) ─── */
.sw-card-list { display:flex; flex-direction:column; gap:9px; margin-bottom:24px; }
.sw-job-card {
  background: var(--sw-white); border-radius: var(--sw-radius);
  border: 1.5px solid var(--sw-gray-light);
  padding: 12px 14px; display: flex; align-items: center; gap: 11px;
  transition: all var(--sw-transition); text-decoration: none;
}
.sw-job-card:hover {
  border-color: var(--sw-saffron);
  box-shadow: 0 4px 18px rgba(255,107,0,.11);
  transform: translateY(-1px);
}
.sw-job-avatar {
  width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0; background: var(--sw-saffron-pale); overflow: hidden;
}
.sw-job-avatar img { width:42px; height:42px; object-fit:cover; }
.sw-job-body { flex:1; min-width:0; }
.sw-job-title {
  font-weight: 600; font-size: 13.5px; color: var(--sw-navy);
  line-height: 1.45; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.sw-job-title:hover { color: var(--sw-saffron); }
.sw-job-meta { display:flex; gap:5px; margin-top:5px; flex-wrap:wrap; align-items:center; }
.sw-job-arrow { color:var(--sw-gray-light); font-size:20px; flex-shrink:0; transition:color var(--sw-transition); }
.sw-job-card:hover .sw-job-arrow { color:var(--sw-saffron); }

/* ─── 16. TAGS / BADGES ─── */
.sw-tag { display:inline-flex; align-items:center; font-size:10.5px; font-weight:600; padding:2px 7px; border-radius:5px; white-space:nowrap; line-height:1.5; }
.sw-tag-new   { background:#ECFDF5; color:#059669; animation:sw-pulse 2s infinite; }
.sw-tag-date  { background:var(--sw-off-white); color:var(--sw-gray); }
.sw-tag-posts { background:#EFF6FF; color:#2563EB; }
.sw-tag-type  { background:#FEF3C7; color:#D97706; }
.sw-last-date { font-size:10.5px; font-weight:600; padding:2px 7px; border-radius:5px; display:inline-block; }
.sw-date-urgent { background:#FEF2F2; color:#DC2626; }
.sw-date-soon   { background:#FEF3C7; color:#D97706; }
.sw-date-ok     { background:#ECFDF5; color:#059669; }
.sw-badge     { display:inline-flex; align-items:center; font-size:12px; font-weight:700; padding:3px 10px; border-radius:20px; }
.sw-badge-active   { background:#ECFDF5; color:#059669; }
.sw-badge-closed   { background:#FEF2F2; color:#DC2626; }
.sw-badge-result   { background:#EFF6FF; color:#2563EB; }
.sw-badge-upcoming { background:#FEF3C7; color:#D97706; }
@keyframes sw-pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ─── 17. PAGINATION ─── */
.sw-pagination { display:flex; justify-content:center; margin:24px 0 32px; }
.sw-pagination ul { display:flex; gap:5px; list-style:none; padding:0; flex-wrap:wrap; justify-content:center; }
.sw-pagination .page-numbers {
  display:flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; border-radius:var(--sw-radius-sm);
  border:1.5px solid var(--sw-gray-light); color:var(--sw-navy);
  font-weight:600; font-size:13px; background:var(--sw-white);
  text-decoration:none; padding:0 8px; transition:all var(--sw-transition);
}
.sw-pagination .page-numbers:hover { border-color:var(--sw-saffron); color:var(--sw-saffron); }
.sw-pagination .page-numbers.current { background:var(--sw-saffron); color:#fff; border-color:var(--sw-saffron); }

/* ─── 18. SINGLE POST ─── */
.sw-article-header { margin-bottom:18px; }
.sw-article-cats { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.sw-article-cats a { background:var(--sw-saffron); color:#fff; padding:3px 11px; border-radius:20px; font-size:11px; font-weight:700; font-family:'Baloo 2',cursive; }
.sw-post-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; font-size:12px; color:var(--sw-gray); }
.sw-post-meta span { display:flex; align-items:center; gap:4px; }
.sw-reading-time { background:var(--sw-off-white); padding:2px 9px; border-radius:20px; }
.sw-featured-img { border-radius:var(--sw-radius); overflow:hidden; margin-bottom:20px; }
.sw-featured-img img { width:100%; height:auto; }
.entry-content { max-width:100%; }
.entry-content h2, .entry-content h3 { margin:24px 0 10px; }
.entry-content ul, .entry-content ol { margin-bottom:16px; }
.entry-content img { border-radius:var(--sw-radius); max-width:100%; }
.entry-content a { color:var(--sw-saffron); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.entry-content table { overflow-x:auto; display:block; }

/* Info table */
.sw-info-table { background:var(--sw-white); border-radius:var(--sw-radius); border:1.5px solid var(--sw-gray-light); overflow:hidden; margin:20px 0; overflow-x:auto; }
.sw-info-table-head { background:linear-gradient(135deg,var(--sw-navy),var(--sw-navy-mid)); color:#fff; padding:12px 16px; font-family:'Baloo 2',cursive; font-weight:800; font-size:15px; display:flex; align-items:center; gap:8px; }
.sw-info-table table { width:100%; min-width:280px; }
.sw-info-table tr { border-bottom:1px solid var(--sw-gray-light); }
.sw-info-table tr:last-child { border-bottom:none; }
.sw-info-table td { padding:9px 14px; font-size:13.5px; vertical-align:top; }
.sw-info-table td:first-child { font-weight:600; color:var(--sw-navy); width:42%; background:var(--sw-off-white); }

/* Related posts */
.sw-related { margin-top:32px; padding-top:22px; border-top:1px solid var(--sw-gray-light); }
.sw-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px; }
.sw-related-card { background:var(--sw-white); border-radius:var(--sw-radius); border:1.5px solid var(--sw-gray-light); overflow:hidden; transition:all var(--sw-transition); text-decoration:none; display:block; }
.sw-related-card:hover { border-color:var(--sw-saffron); transform:translateY(-2px); }
.sw-related-card img { width:100%; height:120px; object-fit:cover; }
.sw-related-card-body { padding:10px; }
.sw-related-card-title { font-weight:700; font-size:12.5px; color:var(--sw-navy); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sw-related-card-date { font-size:10.5px; color:var(--sw-gray); margin-top:4px; }

/* Gutenberg blocks */
.wp-block-table { border-color:var(--sw-gray-light); overflow-x:auto; display:block; }
.wp-block-table table { min-width:280px; }
.wp-block-table td, .wp-block-table th { border-color:var(--sw-gray-light); padding:9px 12px; font-size:13.5px; }
.wp-block-table thead td, .wp-block-table th { background:var(--sw-navy); color:#fff; font-family:'Baloo 2',cursive; font-weight:700; }
.wp-block-table.is-style-stripes tr:nth-child(even) { background:var(--sw-off-white); }
.wp-block-button__link { background:var(--sw-saffron)!important; color:#fff!important; border-radius:var(--sw-radius-sm)!important; font-family:'Baloo 2',cursive!important; font-weight:700!important; padding:11px 24px!important; transition:background var(--sw-transition)!important; font-size:14px!important; }
.wp-block-button__link:hover { background:var(--sw-saffron-light)!important; }
.wp-block-button.is-style-outline .wp-block-button__link { background:transparent!important; color:var(--sw-saffron)!important; border:2px solid var(--sw-saffron)!important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background:var(--sw-saffron)!important; color:#fff!important; }
.wp-block-quote { border-left:4px solid var(--sw-saffron); padding:12px 16px; background:var(--sw-saffron-pale); border-radius:0 var(--sw-radius-sm) var(--sw-radius-sm) 0; }
.wp-block-details { border:1.5px solid var(--sw-gray-light); border-radius:var(--sw-radius); padding:12px 16px; margin-bottom:10px; }
.wp-block-details summary { font-weight:700; color:var(--sw-navy); cursor:pointer; font-size:14px; }
.wp-block-details summary:hover { color:var(--sw-saffron); }
.wp-block-separator { border-color:var(--sw-gray-light); }
.wp-block-cover { border-radius:var(--sw-radius); overflow:hidden; }

/* ─── 19. FOOTER ─── */
.sw-footer { background:var(--sw-navy); color:rgba(255,255,255,.85); margin-top:48px; }
.sw-footer-top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:24px; padding:36px 0 24px; }
.sw-footer-brand p { font-size:12.5px; margin-top:10px; opacity:.7; line-height:1.7; }
.sw-footer-col h4 { font-family:'Baloo 2',cursive; font-weight:700; font-size:13px; color:#fff; margin-bottom:12px; border-left:3px solid var(--sw-saffron); padding-left:8px; }
.sw-footer-col a { display:block; color:rgba(255,255,255,.65); font-size:12.5px; margin-bottom:7px; transition:color var(--sw-transition); }
.sw-footer-col a:hover { color:var(--sw-saffron-light); }
.sw-footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:13px 0; text-align:center; font-size:11.5px; opacity:.5; }

/* ─── 20. 404 ─── */
.sw-404 { text-align:center; padding:60px 20px; }
.sw-404-code { font-family:'Baloo 2',cursive; font-size:clamp(80px,20vw,120px); font-weight:800; color:var(--sw-gray-light); line-height:1; }
.sw-404 h2 { font-size:clamp(18px,4vw,26px); margin-bottom:10px; }
.sw-404 p  { color:var(--sw-gray); margin-bottom:20px; }

/* ─── 21. COMMENTS ─── */
.sw-comments { margin-top:32px; }
.sw-comments h2 { font-size:20px; margin-bottom:16px; }
.comment-list { list-style:none; padding:0; }
.comment { border-bottom:1px solid var(--sw-gray-light); padding:16px 0; }
.comment-author .avatar { border-radius:50%; margin-right:10px; }
.comment-meta { font-size:12px; color:var(--sw-gray); }
.comment-content { margin-top:7px; font-size:14px; }
.reply a { font-size:12px; color:var(--sw-saffron); font-weight:600; }

/* ═══════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════ */

/* ── max 1100px: slightly narrower ── */
@media (max-width: 1100px) {
  .sw-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .sw-footer-top { grid-template-columns: 1fr 1fr; }
}

/* ── max 900px: tablet ── */
@media (max-width: 900px) {
  .sw-primary-nav { display: none; }
  .sw-hamburger   { display: flex; }
  .sw-header-search { min-width: 120px; max-width: 160px; }

  .sw-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .sw-related-grid { grid-template-columns: repeat(2, 1fr); }
  .sw-footer-top { grid-template-columns: 1fr 1fr; gap: 18px; }

  .sw-stat-item { padding: 10px 14px; }
}

/* ── max 640px: mobile ── */
@media (max-width: 640px) {
  /* Header */
  .sw-header-inner  { height: 54px; gap: 10px; }
  .sw-header-search { display: none; } /* search moves into mobile menu */
  .sw-logo-sub      { display: none; }
  .sw-logo-text     { font-size: 17px; }
  .sw-logo-icon     { width: 34px; height: 34px; font-size: 17px; }

  /* Hero */
  .sw-hero { padding: 26px 14px 34px; }
  .sw-hero-sub { font-size: 13px; margin-bottom: 16px; }
  .sw-hero-pills a { font-size: 11px; padding: 4px 11px; }

  /* Category grid: 2 cols */
  .sw-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sw-cat-card { padding: 14px 8px; }
  .sw-cat-emoji { font-size: 22px; }
  .sw-cat-name  { font-size: 11px; }

  /* Stats: 3-col grid (not horizontal scroll) */
  .sw-stats-bar { overflow: visible; }
  .sw-stats-inner {
    min-width: unset;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .sw-stat-item {
    flex-direction: column; align-items: center;
    text-align: center; padding: 10px 6px; gap: 5px;
    border-right: 1px solid var(--sw-gray-light);
    border-bottom: 1px solid var(--sw-gray-light);
  }
  .sw-stat-icon  { width: 30px; height: 30px; font-size: 15px; }
  .sw-stat-num   { font-size: 15px; }
  .sw-stat-label { font-size: 9.5px; }

  /* Job cards */
  .sw-job-card   { padding: 10px 11px; gap: 9px; }
  .sw-job-avatar { width: 38px; height: 38px; font-size: 17px; border-radius: 8px; }
  .sw-job-title  { font-size: 13px; }
  .sw-job-meta   { gap: 4px; }
  .sw-tag        { font-size: 10px; padding: 2px 6px; }

  /* Section head */
  .sw-section-title { font-size: 14px; }
  .sw-view-all      { font-size: 11px; padding: 4px 10px; }

  /* Footer */
  .sw-footer-top { grid-template-columns: 1fr; gap: 14px; padding: 26px 0 14px; }

  /* Related posts */
  .sw-related-grid { grid-template-columns: 1fr; }

  /* Info table */
  .sw-info-table td { padding: 8px 11px; font-size: 12.5px; }
  .sw-info-table td:first-child { width: 40%; }

  /* Post nav */
  .sw-post-nav { grid-template-columns: 1fr !important; }

  /* Pagination */
  .sw-pagination .page-numbers { min-width: 32px; height: 32px; font-size: 12px; }

  /* Breadcrumb */
  .sw-bc-list { font-size: 11px; }
}

/* ── max 480px: small phones ── */
@media (max-width: 480px) {
  .sw-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sw-stats-inner { grid-template-columns: repeat(2, 1fr); }

  /* Hero search: stack buttons */
  .sw-hero-search {
    flex-direction: column; border-radius: 12px;
    overflow: visible; background: transparent; box-shadow: none; gap: 0;
  }
  .sw-hero-search input {
    background: #fff; border-radius: 12px;
    padding: 12px 16px; width: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    margin-bottom: 10px;
  }
  .sw-hero-search button { border-radius: 12px; padding: 12px; width: 100%; }

  .sw-mobile-menu a { font-size: 15px; padding: 12px 0; }
  .sw-ticker-track  { font-size: 11px; }
  .sw-ticker-label  { font-size: 10px; padding: 0 10px; }
}

/* ─── BLOG SECTION (Career Guidance) ─── */

/* ─── 3-COLUMN CATEGORY GRID LAYOUT ─── */

/* Outer grid: 3 columns */
.sw-cols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 8px;
}

/* Single column card */
.sw-col-section {
  background: var(--sw-white);
  border-radius: var(--sw-radius);
  border: 1.5px solid var(--sw-gray-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Column header */
.sw-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  background: var(--sw-navy);
  border-bottom: 2px solid var(--sw-saffron);
}
.sw-col-header__left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sw-col-header__icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}
.sw-col-header__title {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.sw-col-header__more {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 11px;
  color: var(--sw-saffron-light);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--sw-transition);
}
.sw-col-header__more:hover { color: #fff; }

/* Post rows inside column */
.sw-col-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sw-col-post {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--sw-gray-light);
  text-decoration: none;
  transition: background var(--sw-transition);
}
.sw-col-post:last-child { border-bottom: none; }
.sw-col-post:hover { background: var(--sw-saffron-pale); }
.sw-col-post:hover .sw-col-post__title { color: var(--sw-saffron); }

/* Bullet dot */
.sw-col-post__dot {
  width: 5px;
  height: 5px;
  background: var(--sw-saffron);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Post body */
.sw-col-post__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.sw-col-post__title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sw-navy);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--sw-transition);
}
.sw-col-post__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.sw-col-post__date {
  font-size: 10px;
  color: var(--sw-gray);
}
/* Override tag sizes inside column posts */
.sw-col-post .sw-tag {
  font-size: 9.5px;
  padding: 1px 5px;
  border-radius: 4px;
}
.sw-col-post .sw-last-date {
  font-size: 9.5px;
  padding: 1px 5px;
}

/* Empty state */
.sw-col-empty {
  padding: 20px;
  text-align: center;
  color: var(--sw-gray);
  font-size: 13px;
  flex: 1;
}

/* ── RESPONSIVE: 3-col grid ── */
/* 1100px: stays 3 columns */
/* 900px (tablet): 2 columns */
@media (max-width: 900px) {
  .sw-cols-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
/* 640px (mobile): 1 column */
@media (max-width: 640px) {
  .sw-cols-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sw-col-post { padding: 8px 11px; gap: 7px; }
  .sw-col-post__title { font-size: 12px; }
  .sw-col-header { padding: 10px 12px; }
  .sw-col-header__title { font-size: 13px; }
}

/* ─── CAREER GUIDANCE / BLOG SECTION ─── */

/* Divider with centered text label */
.sw-blog-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 30px;
}
.sw-blog-divider__line {
  flex: 1; height: 1px;
  background: var(--sw-gray-light);
}
.sw-blog-divider__text {
  font-family: 'Baloo 2', cursive;
  font-weight: 800; font-size: 13px;
  color: var(--sw-navy); white-space: nowrap;
  background: var(--sw-white);
  padding: 5px 16px; border-radius: 20px;
  border: 1.5px solid var(--sw-gray-light);
}

/* Section bar + view-all variant */
.sw-blog-bar        { background: var(--sw-green); }
.sw-view-all--blog  { background: #ECFDF5; color: var(--sw-green); }
.sw-view-all--blog:hover { background: var(--sw-green); color: #fff; }

/* Intro text */
.sw-blog-section  { margin-bottom: 16px; }
.sw-blog-intro    { font-size: 13.5px; color: var(--sw-gray); margin: -4px 0 16px; }

/* 3-col grid */
.sw-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* Card */
.sw-blog-card {
  background: var(--sw-white);
  border-radius: var(--sw-radius);
  border: 1.5px solid var(--sw-gray-light);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all var(--sw-transition);
}
.sw-blog-card:hover {
  border-color: var(--sw-green);
  box-shadow: 0 6px 24px rgba(19,136,8,.10);
  transform: translateY(-3px);
}

/* Thumbnail wrapper — both class names supported */
.sw-blog-card__thumb,
.sw-blog-card__img-wrap {
  display: block; overflow: hidden; flex-shrink: 0; position: relative;
}
.sw-blog-card__img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform .4s ease; display: block;
}
.sw-blog-card__thumb:hover .sw-blog-card__img,
.sw-blog-card__img-wrap:hover .sw-blog-card__img { transform: scale(1.04); }

/* Placeholder when no featured image */
.sw-blog-card__no-img,
.sw-blog-card__img--placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}

/* Category badge on image */
.sw-blog-card__cat {
  position: absolute; top: 10px; left: 10px;
  background: #ECFDF5; color: var(--sw-green);
  font-family: 'Baloo 2', cursive; font-weight: 700;
  font-size: 10px; padding: 2px 9px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .4px;
}

/* Card body */
.sw-blog-card__body {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 7px; flex: 1;
}
.sw-blog-card__title {
  font-family: 'Baloo 2', cursive; font-weight: 700;
  font-size: 14.5px; color: var(--sw-navy); line-height: 1.4; margin: 0;
}
.sw-blog-card__title a {
  color: inherit; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.sw-blog-card__title a:hover { color: var(--sw-green); }
.sw-blog-card__excerpt {
  font-size: 12.5px; color: var(--sw-gray); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.sw-blog-card__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--sw-gray); flex-wrap: wrap; margin-top: auto;
}
.sw-blog-card__read {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 12.5px;
  color: var(--sw-green); text-decoration: none;
  transition: gap var(--sw-transition); align-self: flex-start;
}
.sw-blog-card__link { /* alias */ color: var(--sw-green); text-decoration: none; font-weight: 700; font-size: 12.5px; }
.sw-blog-card__read:hover,
.sw-blog-card__link:hover { gap: 8px; color: var(--sw-green); }

/* Responsive blog grid */
@media (max-width: 900px) {
  .sw-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .sw-blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .sw-blog-card__img,
  .sw-blog-card__no-img,
  .sw-blog-card__img--placeholder { height: 160px; }
  .sw-blog-divider { margin: 28px 0 22px; }
}
@media (max-width: 480px) {
  .sw-blog-card__img,
  .sw-blog-card__no-img,
  .sw-blog-card__img--placeholder { height: 140px; }
}

/* ── Print ── */
@media print {
  .sw-ticker-bar,.sw-header,.sw-footer,.sw-hero,.sw-hamburger,.sw-mobile-menu { display:none!important; }
  body { font-size:12pt; color:#000; background:#fff; }
  a    { color:#000; }
}

/* ─── Utility ─── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
