/*
 * Theme Name:   Janshiksha GP Child (Shikshasutra Pro)
 * Description:  GeneratePress child theme — High-Authority Naukridrishti-grade Educational & Recruitment Portal
 * Template:     generatepress
 * Version:      4.1.0
 * Author:       Shikshasutra Team
 */

/* ==========================================================================
   GOOGLE FONTS — INTER
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS (Naukridrishti Exact Palette & Spacing)
   ========================================================================== */
:root {
  /* Brand Palette */
  --clr-primary:       #2563eb;
  --clr-primary-dark:  #1d4ed8;
  --clr-primary-light: #eff6ff;
  --clr-navy:          #0c2340;
  --clr-navy-light:    #1e293b;

  /* Status Accents */
  --clr-open:    #16a34a;
  --clr-urgent:  #dc2626;
  --clr-warning: #d97706;
  --clr-info:    #0284c7;

  /* Surfaces & Backgrounds */
  --clr-bg:        #f8fafc;
  --clr-card:      #ffffff;
  --clr-border:    #e2e8f0;
  --clr-border-2:  #cbd5e1;
  --clr-border-hover: #93c5fd;

  /* Text & Typography */
  --clr-text-1:  #0f172a;
  --clr-text-2:  #334155;
  --clr-text-3:  #64748b;
  --clr-text-4:  #94a3b8;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1);

  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body) !important;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--clr-text-2);
  background-color: var(--clr-bg) !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

a { color: var(--clr-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--clr-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--clr-text-1);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 .5em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   3. 2-COLUMN PORTAL LAYOUT
   ========================================================================== */
.ss-layout {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 16px;
  align-items: flex-start;
}

.ss-layout.full-width {
  display: block;
}

.ss-main-col {
  flex: 1;
  min-width: 0;
}

.ss-sidebar {
  width: 320px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .ss-layout {
    flex-direction: column;
    gap: 24px;
    margin-top: 14px;
  }
  .ss-sidebar {
    width: 100%;
  }
}

/* ==========================================================================
   4. TIER 1: TOP ANNOUNCEMENT BAR
   ========================================================================== */
.ss-ticker-bar {
  background: var(--clr-navy);
  color: #fff;
  height: 38px;
  font-size: 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ss-ticker-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ss-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dc2626;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  letter-spacing: .5px;
}

.ss-ticker-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.75); }
}

.ss-ticker-text {
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-ticker-inner a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}
.ss-ticker-inner a:hover {
  color: #93c5fd;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.top-skip-link {
  color: #94a3b8;
  font-size: 11.5px;
  text-decoration: none;
}
.top-skip-link:hover { color: #fff; }

.top-sitemap-link {
  color: #94a3b8;
  display: flex;
  align-items: center;
}
.top-sitemap-link:hover { color: #fff; }

/* ==========================================================================
   5. TIER 2: MAIN BRAND & SEARCH MASTHEAD
   ========================================================================== */
.site-masthead {
  background: #ffffff;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  position: relative;
  z-index: 50;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

/* Brand Badge & Typography */
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-primary-light);
  border-radius: var(--r-md);
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.site-brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-accent { color: var(--clr-primary); }
.brand-main   { color: var(--clr-text-1); }
.brand-dot    { color: #dc2626; font-weight: 900; }

.site-custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

/* Header Search Form (Naukridrishti Capsule Style) */
.header-search-form {
  flex: 1;
  max-width: 520px;
  margin: 0 16px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-pill);
  padding: 3px 4px 3px 14px;
  transition: all .2s ease;
}

.search-input-wrapper:focus-within {
  background: #ffffff;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.search-field-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.header-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 6px 0 !important;
  font-size: 13.5px !important;
  color: var(--clr-text-1) !important;
  outline: none !important;
  font-family: inherit;
  box-shadow: none !important;
}

.header-search-input::placeholder {
  color: var(--clr-text-3);
  font-size: 13px;
}

.header-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
}

.header-search-submit:hover {
  background: var(--clr-primary-dark);
}

/* Masthead Actions & Nav */
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-action-pill {
  display: inline-flex;
  align-items: center;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border: 1px solid #bfdbfe;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all .15s ease;
}

.header-action-pill:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.desktop-main-nav { display: flex; align-items: center; }

.desktop-menu-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu-list a {
  color: var(--clr-text-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.desktop-menu-list a:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.btn-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--clr-text-1);
  cursor: pointer;
}

@media (max-width: 860px) {
  .header-search-form { display: none; }
  .desktop-main-nav { display: none; }
  .btn-menu-toggle { display: block; }
}

/* ==========================================================================
   6. TIER 3: SUB-NAVIGATION QUICK CATEGORY STRIP (Naukridrishti Style)
   ========================================================================== */
.sub-nav-strip {
  background: var(--clr-navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sub-nav-strip::-webkit-scrollbar { display: none; }

.sub-nav-inner {
  display: flex;
  align-items: center;
}

.sub-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sub-nav-list li a {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .15s ease;
}

.sub-nav-list li a:hover,
.sub-nav-list li a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  border-bottom-color: #3b82f6;
}

/* ==========================================================================
   7. QUALIFICATION FILTER STRIP
   ========================================================================== */
.qualification-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--clr-border);
  padding: 10px 0;
}

.filter-strip-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.filter-strip-wrapper::-webkit-scrollbar { display: none; }

.filter-lead-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--clr-text-3);
  letter-spacing: .5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.filters-by-q {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-e-item {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: var(--clr-text-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.filter-e-item:hover,
.filter-e-item.active {
  background: var(--clr-primary);
  color: #ffffff;
  border-color: var(--clr-primary);
}

/* ==========================================================================
   8. MANUAL ALERT CARDS (Urgent Notice Chips)
   ========================================================================== */
.ss-alerts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.ss-alert-chip {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ss-alert-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
  border-color: #cbd5e1;
}

.ss-alert-pill {
  font-size: 10px;
  font-weight: 800;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 2.5px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.ss-alert-chip-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--clr-text-1);
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}
.ss-alert-chip-title a { color: inherit; text-decoration: none; }
.ss-alert-chip-title a:hover { color: var(--clr-primary); }

.ss-alert-chip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-alert-view {
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-text-2);
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s ease;
}
.btn-alert-view:hover { background: #e2e8f0; color: #0f172a; }

.btn-alert-apply {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--clr-primary);
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  margin-left: auto;
  transition: background .15s ease;
}
.btn-alert-apply:hover { background: var(--clr-primary-dark); }

/* ==========================================================================
   9. NAUKRIDRISHTI JOB CARDS & GRID
   ========================================================================== */
.ss-section {
  margin-bottom: 28px;
}

.ss-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--clr-border);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.ss-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--clr-text-1);
  margin: 0;
  letter-spacing: -0.2px;
}

.ss-section-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ss-section-more:hover { text-decoration: underline; }

/* Responsive, Perfectly Aligned Grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

@media (min-width: 1100px) {
  .job-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
}

.nd-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.08);
  border-color: #93c5fd;
}

/* 16:9 Card Thumbnail Container */
.nd-card-thumb-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
  text-decoration: none;
}

.nd-card-thumb-img,
.nd-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.nd-card:hover .nd-card-thumb-img,
.nd-card:hover .nd-card-thumb-wrap img {
  transform: scale(1.04);
}

/* Floating Badges on 16:9 Thumbnail */
.nd-thumb-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.nd-thumb-org {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  background: #ffffff;
}

/* Dynamic 16:9 Institutional Banner */
.nd-dynamic-banner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 55%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nd-dynamic-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.nd-dynamic-org-code {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nd-dynamic-cat-pill {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Card Content Body */
.nd-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card Top (Fallback) */
.nd-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  min-height: 32px;
}

.nd-status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.nd-pill-open   { background: #f8fafc; color: #1e3a8a; border: 1px solid #e2e8f0; }
.nd-pill-info   { background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; }
.nd-pill-urgent { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.nd-pill-closed { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }

.nd-org-avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--clr-text-1);
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--clr-border);
  flex-shrink: 0;
}

/* Card Title & Dept */
.nd-card-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-card-link {
  color: var(--clr-text-1);
  text-decoration: none;
}
.nd-card-link:hover { color: var(--clr-primary); }

.nd-card-dept {
  font-size: 12px;
  color: var(--clr-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2x2 Meta Grid */
.nd-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  margin-bottom: 12px;
  min-height: 60px;
}

.nd-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #334155;
  overflow: hidden;
  min-width: 0;
}

.nd-meta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-meta-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.nd-meta-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Card Footer */
.nd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--clr-text-3);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--clr-border);
}

.nd-red-mark {
  background: transparent;
  color: #dc2626;
  font-weight: 700;
  padding: 0;
}

/* ==========================================================
   10. TABBED HUB (Results / Admit Cards / Syllabus)
   ========================================================== */
.ss-tabbed-panel {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ss-tab-strip {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--clr-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ss-tab-strip::-webkit-scrollbar { display: none; }

.ss-tab-btn {
  flex: 1;
  min-width: 120px;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--clr-text-3);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all .15s ease;
  text-align: center;
}

.ss-tab-btn.active {
  background: #ffffff;
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.ss-tab-pane {
  padding: 4px 0;
}

.ss-tab-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--clr-text-1);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .12s ease;
}

.ss-tab-list-row:last-child { border-bottom: none; }
.ss-tab-list-row:hover { background: #f8fafc; color: var(--clr-primary); }

.ss-tab-row-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--clr-text-3);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ss-tab-row-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-tab-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ss-tab-new-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: #dc2626;
  padding: 1.5px 5px;
  border-radius: 3px;
  letter-spacing: .5px;
}

.ss-tab-row-time {
  font-size: 11.5px;
  color: var(--clr-text-4);
  font-weight: 400;
}

/* ==========================================================
   11. 2-COLUMN NEWS & CAREER UPDATES GRID
   ========================================================== */
.ss-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .ss-news-grid { grid-template-columns: 1fr; }
}

.ss-news-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ss-news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.ss-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.ss-news-card:hover .ss-news-thumb img {
  transform: scale(1.03);
}

.ss-news-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ss-news-cat-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 6px;
}

.ss-news-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ss-news-title a { color: var(--clr-text-1); text-decoration: none; }
.ss-news-title a:hover { color: var(--clr-primary); }

.ss-news-meta {
  font-size: 12px;
  color: var(--clr-text-3);
  margin-top: auto;
}

/* ==========================================================
   12. WHATSAPP CTA BAND & SOCIAL CHANNELS
   ========================================================== */
.ss-cta-band {
  background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.ss-cta-text h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
}

.ss-cta-text p {
  color: #bfdbfe;
  font-size: 13.5px;
  margin: 0;
}

.btn-wa-direct-join {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22,163,74,0.3);
  transition: background .15s ease;
}

.btn-wa-direct-join:hover { background: #15803d; color: #fff; }

@media (max-width: 768px) {
  .ss-cta-band { flex-direction: column; text-align: center; }
  .btn-wa-direct-join { width: 100%; justify-content: center; }
}

.ss-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .ss-social-grid { grid-template-columns: repeat(2, 1fr); }
}

.ss-social-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all .15s ease;
}

.ss-social-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--clr-border-hover);
}

.ss-social-name { font-size: 13px; font-weight: 700; color: var(--clr-text-1); }
.ss-social-count { font-size: 11.5px; color: var(--clr-text-3); margin-bottom: 6px; }

.ss-social-join-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 3px 12px;
  border-radius: var(--r-pill);
}

/* ==========================================================
   13. SINGLE ARTICLE PAGE
   ========================================================== */
.article-wrap {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .article-wrap { padding: 16px; }
}

/* Breadcrumb */
.ss-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--clr-text-3);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ss-breadcrumb a { color: var(--clr-text-3); }
.ss-breadcrumb a:hover { color: var(--clr-primary); }
.ss-breadcrumb-sep { color: var(--clr-text-4); font-size: 14px; }

/* Article Header */
.article-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.article-title {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--clr-text-1);
  margin: 0 0 14px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--clr-text-3);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 20px;
}

.article-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.byline-author-real-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.article-byline-author { font-weight: 700; color: var(--clr-text-1); }
.article-byline-dot { color: var(--clr-text-4); }

/* Google Preferred / Google News Follow Button */
.btn-gnews-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-1);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.btn-gnews-follow:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-gnews-follow svg {
  flex-shrink: 0;
  display: block;
}

.article-share-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
}

/* Top Highlight Announcement Box */
.article-highlight-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--clr-navy);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #0f172a;
}
.article-highlight-icon {
  flex-shrink: 0;
  color: var(--clr-navy);
  margin-top: 1px;
}
.article-highlight-text {
  flex: 1;
  font-weight: 600;
}

/* Conditional Job / Notice Info Box */
.ss-job-info-box {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ss-job-info-box-header {
  background: var(--clr-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .2px;
}

.ss-job-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ss-job-info-table th {
  background: #f8fafc;
  color: #475569;
  width: 36%;
  padding: 10px 14px;
  border-bottom: 1px solid var(--clr-border);
  font-weight: 600;
  text-align: left;
}

.ss-job-info-table td {
  padding: 10px 14px;
  color: var(--clr-text-1);
  font-weight: 600;
  border-bottom: 1px solid var(--clr-border);
}

/* Featured Image (Preserves 16:9 Discover Ratio) */
.article-featured-img {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.article-hero-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Table of Contents */
.ss-toc {
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.ss-toc-header {
  background: #f1f5f9;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--clr-text-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.ss-toc-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ss-toc-toggle {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-text-3);
}

.ss-toc-body {
  padding: 12px 16px 12px 36px;
  font-size: 13.5px;
}

.ss-toc-list {
  margin: 0;
  padding: 0;
}

.ss-toc-list li {
  margin-bottom: 6px;
}

.ss-toc-list a {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 500;
}
.ss-toc-list a:hover { text-decoration: underline; }

/* Article Content & Typography */
.article-prose {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
}

.article-prose p { margin: 0 0 16px; }

.article-prose h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text-1);
  margin: 32px 0 14px;
  line-height: 1.35;
}

.article-prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-text-1);
  margin: 22px 0 10px;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--clr-border);
  font-size: 13.5px;
}

.article-prose table th {
  background: var(--clr-navy);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
  text-align: left;
}

.article-prose table td {
  padding: 10px 14px;
  border: 1px solid var(--clr-border);
}

.article-prose table tr:nth-child(even) {
  background: #f8fafc;
}

/* Hide accidental empty paragraphs */
.article-prose p:empty { display: none; }

/* Share Strip */
.article-share-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  margin: 28px 0;
}

.share-lead-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

.share-pill:hover { opacity: .92; transform: translateY(-1px); }
.share-pill-wa { background: #16a34a; }
.share-pill-tg { background: #0284c7; }
.share-pill-x  { background: #0f172a; }
.share-pill-fb { background: #1877f2; }

/* ==========================================================================
   14. EEAT-COMPLIANT AUTHOR PROFILE CARD & FACT-CHECKER BOX
   ========================================================================== */
.ss-author-profile-box {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 32px 0 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.ss-author-profile-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--clr-border);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text-2);
}

.ss-author-sec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11.5px;
}

.ss-author-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.ss-author-profile-body {
  padding: 20px 22px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.ss-author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
}

.ss-author-real-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  display: block;
}

.ss-author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--clr-navy);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
}

.ss-avatar-badge-check {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ss-author-details-content {
  flex: 1;
  min-width: 0;
}

.ss-author-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.ss-author-full-name {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.ss-author-full-name a {
  color: var(--clr-text-1);
  text-decoration: none;
}

.ss-author-full-name a:hover {
  color: var(--clr-primary);
}

.ss-author-designation-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 2.5px 8px;
  border-radius: 4px;
  display: inline-block;
}

.ss-author-qual-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
}

.ss-author-bio {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 14px;
}

.ss-author-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--clr-border);
}

.ss-author-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ss-auth-soc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--clr-border);
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  transition: all .15s ease;
}

.ss-auth-soc-pill:hover {
  transform: translateY(-1px);
}

.ss-auth-soc-pill.soc-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.ss-auth-soc-pill.soc-x:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.ss-auth-soc-pill.soc-telegram:hover {
  background: #229ed9;
  color: #ffffff;
  border-color: #229ed9;
}

.ss-auth-soc-pill.soc-email:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.ss-author-all-posts-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ss-author-all-posts-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .ss-author-profile-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ss-author-name-row,
  .ss-author-qual-row,
  .ss-author-footer-row,
  .ss-author-social-links {
    justify-content: center;
  }
}

/* Related Posts */
.ss-related-posts {
  margin-top: 32px;
}

.ss-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 640px) {
  .ss-related-grid { grid-template-columns: 1fr; }
}

.ss-related-card {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .15s ease;
}

.ss-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-sm);
}

.ss-related-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f5f9;
}

.ss-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-related-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ss-related-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ss-related-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ss-related-card-title a { color: var(--clr-text-1); text-decoration: none; }
.ss-related-card-title a:hover { color: var(--clr-primary); }

.ss-related-card-date {
  font-size: 11px;
  color: var(--clr-text-4);
  margin-top: auto;
}

/* ==========================================================
   14. ARCHIVE / CATEGORY PAGE (Naukridrishti Horizontal Cards)
   ========================================================== */
.archive-header-banner {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.archive-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--clr-text-1);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-title-icon {
  display: inline-flex;
  align-items: center;
  color: var(--clr-primary);
}

.archive-count-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.archive-description {
  font-size: 13px;
  color: var(--clr-text-3);
  margin-top: 8px;
  line-height: 1.5;
}

.archive-posts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nd-archive-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}

.nd-archive-card:hover {
  transform: translateY(-2px);
  border-color: var(--clr-border-hover);
  box-shadow: 0 4px 12px rgba(37,99,235,0.06);
}

.nd-archive-thumb-wrap {
  width: 170px;
  height: 96px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.nd-archive-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.nd-archive-card:hover .nd-archive-thumb-img {
  transform: scale(1.03);
}

.nd-archive-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nd-archive-cat-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 2px 8px;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 4px;
}

.nd-archive-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-archive-title a { color: var(--clr-text-1); text-decoration: none; }
.nd-archive-title a:hover { color: var(--clr-primary); }

.nd-archive-excerpt {
  font-size: 12.5px;
  color: var(--clr-text-3);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nd-archive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--clr-text-3);
  margin-top: auto;
}

.nd-archive-read-link {
  font-weight: 700;
  color: var(--clr-primary);
}

@media (max-width: 640px) {
  .nd-archive-card {
    flex-direction: column;
    gap: 10px;
  }
  .nd-archive-thumb-wrap {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================
   15. SIDEBAR & WIDGETS
   ========================================================== */
.ss-widget {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

/* Crisp Modern Widget Header */
.ss-widget-header {
  background: #ffffff;
  color: var(--clr-text-1);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-widget-header-icon {
  display: inline-flex;
  align-items: center;
}

.ss-widget-title-text {
  flex: 1;
}

.ss-widget-body {
  padding: 0;
}

/* Search Box in Sidebar */
.ss-search-box {
  display: flex;
  gap: 6px;
}

.ss-search-input {
  flex: 1;
  border: 1px solid var(--clr-border) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  background: #f8fafc !important;
  color: var(--clr-text-1) !important;
  outline: none !important;
  box-shadow: none !important;
}

.ss-search-input:focus {
  background: #ffffff !important;
  border-color: var(--clr-primary) !important;
}

.ss-search-btn {
  background: var(--clr-primary) !important;
  border: none !important;
  border-radius: 6px !important;
  width: 38px;
  height: 38px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease;
}

.ss-search-btn:hover { background: var(--clr-primary-dark) !important; }

.ss-search-btn svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
}

/* Sidebar Compact List */
.ss-compact-list-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
  transition: background .12s ease;
}

.ss-compact-list-item:last-child { border-bottom: none; }
.ss-compact-list-item:hover { background: #f8fafc; }

.ss-compact-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ss-compact-content { flex: 1; min-width: 0; }

.ss-compact-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--clr-text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ss-compact-list-item:hover .ss-compact-title { color: var(--clr-primary); }

.ss-compact-date {
  font-size: 11px;
  color: var(--clr-text-4);
  margin-top: 3px;
}

.ss-compact-date-urgent { color: #dc2626 !important; font-weight: 700; }

/* Sidebar Tabs */
.ss-widget-tab-strip {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--clr-border);
}

.ss-widget-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  text-align: center;
}

.ss-widget-tab-btn.active {
  background: #ffffff;
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

/* Sidebar Social Hub */
.sidebar-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sb-social-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--clr-border);
  text-decoration: none;
  transition: all .15s ease;
}

.sb-social-item:hover {
  background: #ffffff;
  border-color: var(--clr-border-hover);
  transform: translateY(-1px);
}

.sb-social-meta strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-text-1);
  line-height: 1.2;
}

.sb-social-meta span {
  font-size: 10.5px;
  color: var(--clr-text-3);
}

/* Sidebar Tags Cloud */
.sidebar-links-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sb-tag-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--clr-text-2);
  background: #f1f5f9;
  border: 1px solid var(--clr-border);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all .15s ease;
}

.sb-tag-pill:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* ==========================================================
   16. FOOTER & MOBILE BOTTOM NAV
   ========================================================== */
.site-global-footer {
  background: var(--clr-navy);
  color: #cbd5e1;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 860px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-tagline {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-bottom-strip { flex-direction: column; text-align: center; }
  .footer-disclaimer-text { text-align: center !important; }
}

/* Floating WhatsApp Button */
.ss-float-whatsapp {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 4px 14px rgba(22,163,74,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform .2s ease;
}

.ss-float-whatsapp:hover {
  transform: scale(1.08);
}

/* Fixed Mobile Bottom Nav */
.mobile-b-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-item svg { width: 18px; height: 18px; }

.mobile-nav-item.active {
  color: var(--clr-primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .mobile-b-nav-bar { display: flex; }
  body { padding-bottom: 56px; }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-navy);
  color: #fff;
}

.drawer-brand { font-size: 16px; font-weight: 800; color: #fff; }
.btn-drawer-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

.drawer-body {
  padding: 16px;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 6px;
  color: var(--clr-text-1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  display: none;
}

.drawer-backdrop.open { display: block; }

/* Pagination */
.ss-pagination {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

.ss-pagination ul.page-numbers {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ss-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  color: var(--clr-text-1);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ss-pagination .page-numbers.current {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.ss-pagination .page-numbers:hover:not(.current) {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border-color: #bfdbfe;
}
