:root {
  color-scheme: light;
}
html {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}
@import url('redesign-theme.css');
/* ============================================================
   LoksewaTools — Premium Light Mode Design System v2
   Clean, Bright, Professional SaaS Aesthetic
   ============================================================ */

:root {
  /* Color Palette - Human-Grade Civic Authority & Precision */
  --primary: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary: #0284c7;
  --accent: #dc2626;
  --accent2: #0f172a;
  --accent-deep: #1e3a8a;
  --accent-soft: #eff6ff;
  --ink: #0f172a;
  --line: #e2e8f0;
  --navy: #0f172a;
  --paper-alt: #f8fafc;
  --shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.08);
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-light: #f8fafc;
  
  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-light: #64748b;
  
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.94);
  --glass-border: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.1);
  
  /* Purposeful Accent Accents */
  --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-light: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100000 !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary, #0f172a);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  color: var(--primary, #1d4ed8);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-text {
  font-family: "Fraunces", "Noto Sans Devanagari", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
  flex-wrap: nowrap;
}

.nav-toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-primary);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-label:hover {
  background: rgba(108, 76, 245, 0.08);
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.nav-toggle-checkbox:checked ~ .nav-toggle-label,
body.nav-menu-open .nav-toggle-label {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Mobile Navigation Backdrop Overlay (Clean, crisp, no blur) */
.nav-backdrop {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.nav-toggle-checkbox:checked ~ .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 981px) {
  .nav-backdrop {
    display: none !important;
  }
}

/* Global / Desktop: Mobile nav drawer header elements are strictly hidden */
.mobile-nav-header,
.btn-drawer-close,
.btn-mobile-nav-close {
  display: none !important;
}

body.nav-menu-open {
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .nav-toggle-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 1002 !important;
    position: relative !important;
  }

  .nav-toggle-label:hover {
    background: rgba(108, 76, 245, 0.08) !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label,
  .nav-toggle-checkbox:checked ~ .header-extra-controls .nav-toggle-label,
  body.nav-menu-open .nav-toggle-label,
  .nav-toggle-label.nav-open {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    position: relative !important;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label:not(.nav-open),
  .nav-toggle-checkbox:checked ~ .header-extra-controls .nav-toggle-label:not(.nav-open) {
    color: transparent !important;
  }

  .nav-toggle-checkbox:checked ~ .nav-toggle-label:not(.nav-open)::after,
  .nav-toggle-checkbox:checked ~ .header-extra-controls .nav-toggle-label:not(.nav-open)::after {
    content: '✕' !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
  }

  /* Sleek Off-Canvas Side Drawer (From Left, matching lds.com.np) */
  .main-nav {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(300px, 80vw) !important;
    max-width: 300px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    box-shadow: 12px 0 35px rgba(15, 23, 42, 0.25) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1000000 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateX(-105%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .main-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  .nav-toggle-checkbox:checked ~ .main-nav,
  body.nav-menu-open .main-nav {
    transform: translateX(0) !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  /* Top Blue Brand Header Banner */
  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%) !important;
    color: #ffffff !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
  }

  .mobile-nav-header > span,
  .mobile-nav-header span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
  }

  .btn-drawer-close,
  .btn-mobile-nav-close,
  .mobile-nav-header label[for="navToggle"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background 0.15s ease !important;
  }

  .btn-drawer-close:hover,
  .btn-mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
  }

  /* Crisp, Clean Full-Width Menu Links with Dividers */
  .main-nav .nav-link-item,
  .main-nav > a:not(.btn-nav-cta):not(.nav-cta) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 18px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
  }

  .main-nav .nav-link-item:hover,
  .main-nav .nav-link-item:active,
  .main-nav > a:not(.btn-nav-cta):not(.nav-cta):hover,
  .main-nav > a:not(.btn-nav-cta):not(.nav-cta):active {
    background: #f8fafc !important;
    color: #2563eb !important;
    transform: none !important;
  }

  .main-nav .nav-link-item.active,
  .main-nav > a.active {
    background: #eff6ff !important;
    color: #2563eb !important;
    font-weight: 800 !important;
  }

  .main-nav .nav-actions {
    padding: 16px 18px !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .main-nav .btn-nav-cta,
  .main-nav .nav-cta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 12px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }
}

.main-nav a,
.main-nav .nav-link-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: #475569;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover,
.main-nav .nav-link-item:hover {
  color: #1d4ed8;
  background: rgba(108, 76, 245, 0.08);
}

.main-nav a.active,
.main-nav .nav-link-item.active {
  color: #1d4ed8;
  background: rgba(108, 76, 245, 0.12);
  font-weight: 700;
}

.main-nav .pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  vertical-align: middle;
}

.main-nav .nav-actions {
  display: flex;
  align-items: center;
  margin-left: 6px;
  flex-shrink: 0;
}

.main-nav .btn-nav-cta,
.main-nav a.nav-cta,
.nav-cta,
.site-header .btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(108, 76, 245, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.main-nav .btn-nav-cta:hover,
.main-nav a.nav-cta:hover,
.nav-cta:hover,
.site-header .btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 76, 245, 0.38);
  filter: brightness(1.05);
}

/* Multi-tier laptop & desktop scaling */
@media (min-width: 1361px) {
  .header-row { max-width: 1440px; }
  .main-nav { gap: 5px; }
  .main-nav a, .main-nav .nav-link-item { padding: 7px 11px; font-size: 0.89rem; }
  .main-nav .btn-nav-cta, .site-header .btn-nav-cta { padding: 8px 16px; font-size: 0.88rem; }
}

@media (max-width: 1360px) and (min-width: 1181px) {
  .header-row { gap: 8px; padding: 0 12px; }
  .main-nav { gap: 2px; }
  .main-nav a, .main-nav .nav-link-item { padding: 6px 8px; font-size: 0.83rem; }
  .main-nav .pulse-badge { padding: 1px 4px; font-size: 0.64rem; }
  .main-nav .btn-nav-cta, .site-header .btn-nav-cta { padding: 6px 12px; font-size: 0.82rem; }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .header-row { gap: 6px; padding: 0 10px; }
  .brand-text { font-size: 1.20rem !important; }
  .brand-sub { font-size: 0.58rem !important; }
  .main-nav { gap: 2px; }
  .main-nav a, .main-nav .nav-link-item { padding: 5px 6px; font-size: 0.77rem; }
  .main-nav .pulse-badge { padding: 1px 3px; font-size: 0.60rem; }
  .main-nav .btn-nav-cta, .site-header .btn-nav-cta { padding: 5px 9px; font-size: 0.75rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 76, 245, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(108, 76, 245, 0.1);
  border: 1px solid rgba(108, 76, 245, 0.3);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero h1 strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(108, 76, 245, 0.08);
  transform: translateY(-4px);
}

/* ============================================================
   SHARE BAR STYLES
   ============================================================ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
}

.share-label {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 600;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line, #e1e4e8);
  background: #fff;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.share-native {
  display: none;
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 76, 245, 0.08);
}

.share-native:hover {
  background: rgba(108, 76, 245, 0.14);
}

.share-wa {
  border-color: #25D366;
  color: #128C4A;
  background: rgba(37, 211, 102, 0.1);
}

.share-wa:hover {
  background: rgba(37, 211, 102, 0.18);
  color: #128C4A;
}

.share-fb {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
}

.share-fb:hover {
  background: rgba(24, 119, 242, 0.16);
  color: #1877F2;
}

.share-copy {
  border-color: var(--line, #e1e4e8);
  color: var(--text-secondary);
  background: var(--bg-secondary, #f8fafc);
}

.share-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108, 76, 245, 0.08);
}

@media (max-width: 768px) {
  .share-bar {
    gap: 6px;
    margin-top: 1rem;
  }
  .share-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  .share-label {
    font-size: 0.75rem;
  }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.ad-slot {
  display: block;
  margin: 36px auto;
  max-width: 100%;
  text-align: center;
}

.ad-slot-label {
  display: none;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94a3b8;
  margin: 0 0 6px;
  text-align: center;
}

/* Show label and ad container only if there is an active filled ad or image */
.ad-slot:has(ins.adsbygoogle[data-ad-status="filled"], iframe, img) .ad-slot-label {
  display: block;
}
.ad-slot:not(:has(img, iframe, ins.adsbygoogle[data-ad-status="filled"])) {
  display: none !important;
}

.ad-slot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Size the inner box by ad type so it doesn't stretch to the full
   container width — mirrors the sizing rules in css/style.css.
   The leaderboard slot gets a real `height` (not just min-height): the
   Gadgetsmandu banner image is a very wide, thin ~12:1 graphic, so on a
   narrow phone screen scaling it to full width while keeping its natural
   shape makes it only ~25-30px tall — technically "correct" scaling, but
   too short to read. Giving the box a real height and letting the image
   crop into it (object-fit:cover, anchored left so the headline stays in
   frame) keeps it a legible, consistent size on any screen instead of
   shrinking to a sliver. */
#adSlotTop {
  display: block !important;
  max-width: 1180px !important;
  margin: 8px auto 4px !important;
  padding: 0 14px !important;
}
#adSlotTop .ad-slot {
  margin: 0 auto !important;
}
#adSlotTop .ad-slot-inner {
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
#adSlotTop .ad-slot-inner a {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
}
#adSlotTop .ad-slot-inner picture {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
}
#adSlotTop .ad-slot-inner img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
}
.ad-slot--rectangle .ad-slot-inner { min-height: 250px; max-width: 300px; }
.ad-slot--in-article .ad-slot-inner { min-height: 0; max-width: 728px; width: 100%; }

@media (max-width: 600px) {
  #adSlotTop {
    margin: 6px auto 2px !important;
    padding: 0 10px !important;
  }
  #adSlotTop .ad-slot-inner {
    border-radius: 8px !important;
  }
  .ad-slot--in-article .ad-slot-inner { min-height: 0; max-width: 100%; }
}

.features {
  padding: 80px 20px;
  background: var(--bg-primary);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title h2 strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  .section-title p {
    font-size: 1rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 76, 245, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.feature-link:hover {
  gap: 12px;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */

.blog-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
  width: 100%;
}

.blog-section .section-title {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  /* CSS Grid with repeat(auto-fit, ...) reserves the same fixed set of
     column tracks for every row, so a trailing row with fewer cards than
     the row above (e.g. 4 posts = 3 + 1) left the unused columns visibly
     empty on wide desktop screens. Flexbox wraps and centers naturally
     instead, so a short last row never leaves blank space. */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  flex: 1 1 320px;
  max-width: 350px;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: var(--gradient-primary);
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(108, 76, 245, 0.1);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: auto;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 60px 20px 30px;
  color: #475569;
}

.site-footer h4 {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.site-footer a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #1d4ed8 !important;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #1d4ed8;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
  text-align: center;
  color: #64748b;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    min-height: auto !important;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-cta-group {
    margin-bottom: 30px;
  }

  .blog-grid {
    gap: 20px;
    padding: 0 15px;
  }

  .blog-card {
    flex-basis: 100%;
    max-width: 100%;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }

  .subscription-card {
    padding: 24px 16px;
    text-align: center;
    flex-direction: column;
    overflow: hidden;
    gap: 20px;
  }

  .subscription-content {
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }

  .subscription-content h3 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 10px !important;
  }

  .subscription-content p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  .subscribe-form {
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .subscribe-email, 
  .subscribe-phone,
  .subscribe-btn {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
  }
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Scrollbar Styling - Subtle Modern Neutral */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 980px) {
  ::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
  }
}

/* ============================================================
   TOOL SPECIFIC STYLING (Restoring Original Functionality)
   ============================================================ */

.tools-section {
  padding: 80px 20px;
  background: var(--bg-primary);
  width: 100%;
}

.tools-section .section-title {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.tool-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tool-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tool-card-icon {
  font-size: 2.5rem;
  background: white;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.tool-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.tool-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.tool-body {
  margin-top: auto;
}

.field-row {
  margin-bottom: 20px;
}

.field-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.field-row input, 
.field-row select, 
.field-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: white;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.field-row input:focus, 
.field-row select:focus, 
.field-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 76, 245, 0.1);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.dropzone {
  border: 2px dashed var(--glass-border);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(108, 76, 245, 0.02);
}

.dropzone:hover {
  border-color: var(--primary);
  background: rgba(108, 76, 245, 0.05);
}

.dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.dropzone-label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dropzone-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tool-result {
  margin-top: 20px;
  padding: 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.converter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: 10px;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.field-row.three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

/* Specific to original components */
.resizer-stage canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.comp-preview {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.age-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.age-stat-card {
  background: white;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  text-align: center;
}

.age-stat-val {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.age-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.data-source {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

.data-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.data-label {
  font-weight: 600;
}

.data-value {
  color: var(--primary);
  font-weight: 700;
}

/* Wide tool card */
.tool-card-wide {
  grid-column: 1 / -1;
}

.vacancy-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
}

.vacancy-col {
  display: flex;
  flex-direction: column;
}

.vacancy-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.vacancy-list {
  list-style: none;
  flex: 1;
}

.vacancy-item {
  background: white;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.vacancy-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.v-title {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.v-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================================
   PREMIER MOCK TEST SIMULATOR UI (DESKTOP & MOBILE BEST-IN-CLASS)
   ============================================================ */
#tool-quiz {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 22px !important;
  padding: 34px 36px !important;
  box-shadow: 0 12px 36px -6px rgba(15, 23, 42, 0.07), 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  margin-bottom: 30px !important;
  position: relative !important;
  overflow: hidden !important;
}
@media (max-width: 768px) {
  #tool-quiz {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

.quiz-sim-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #f1f5f9;
}
.qsh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #5b21b6;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qsh-title {
  font-family: 'Fraunces', serif;
  font-size: 1.65rem;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.25;
}
.qsh-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* Featured Master Mixed Mock Button */
.quiz-featured-hero {
  margin-bottom: 14px;
  width: 100%;
}
.quiz-master-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-direction: row !important;
  padding: 16px 22px !important;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%) !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: left !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
.quiz-master-btn:hover {
  border-color: #7c3aed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.14) !important;
}
.quiz-master-btn.active {
  border-color: #7c3aed !important;
  background: linear-gradient(135deg, #fbf7ff 0%, #eff6ff 100%) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22), 0 8px 24px rgba(124, 58, 237, 0.16) !important;
}
.qmb-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.master-star-icon {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #a855f7, #1d4ed8) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.55rem !important;
  box-shadow: 0 4px 14px rgba(108, 76, 245, 0.32) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.qmb-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.qmb-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.qmb-sub {
  font-size: 0.84rem;
  color: #64748b;
  margin-top: 3px;
}
.qmb-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.qmb-count {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #4338ca;
  white-space: nowrap;
}
.quiz-master-btn.active .qmb-count {
  background: #4338ca;
  color: #ffffff;
  border-color: #4338ca;
}
.qmb-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.quiz-master-btn.active .qmb-radio-dot {
  border-color: #7c3aed;
  background: #7c3aed;
}
.quiz-master-btn.active .qmb-radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* Sub-subjects Grid (3 columns Desktop, 2 columns Mobile) */
.quiz-section-subhead {
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quiz-sub-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
  width: 100% !important;
}
@media (max-width: 860px) {
  .quiz-sub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 480px) {
  .quiz-sub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

.quiz-subject-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 16px 14px 14px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: left !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
  min-height: 108px;
  position: relative !important;
}
.quiz-subject-card:hover {
  border-color: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(108, 76, 245, 0.12) !important;
}
.quiz-subject-card.active {
  border-color: #1d4ed8 !important;
  background: linear-gradient(145deg, #fbfaff 0%, #eff6ff 100%) !important;
  box-shadow: 0 0 0 2px #1d4ed8, 0 8px 22px rgba(108, 76, 245, 0.16) !important;
  transform: translateY(-2px) !important;
}
.qsc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}
.qsc-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  background: #f1f5f9 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
  margin: 0 !important;
}
.qsc-count {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
}
.quiz-subject-card.active .qsc-count {
  background: #1d4ed8;
  color: #ffffff;
}
.qsc-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  display: block;
}
.quiz-subject-card.active .qsc-title {
  color: #4338ca;
}
.qsc-sub {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 2px;
  display: block;
  line-height: 1.3;
}

/* Category Accent Gradients */
.qc-indigo .qsc-icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe) !important; }
.qc-teal .qsc-icon   { background: linear-gradient(135deg, #ccfbf1, #99f6e4) !important; }
.qc-amber .qsc-icon  { background: linear-gradient(135deg, #fef3c7, #fde68a) !important; }
.qc-emerald .qsc-icon{ background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important; }
.qc-rose .qsc-icon   { background: linear-gradient(135deg, #ffe4e6, #fecdd3) !important; }
.qc-blue .qsc-icon   { background: linear-gradient(135deg, #e0f2fe, #bae6fd) !important; }

/* 2-Column Responsive Config Grid */
.quiz-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .quiz-config-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.quiz-config-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.qcc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}
.quiz-count-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}
.q-count-pill {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  padding: 8px 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.q-count-pill small {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}
.q-count-pill:hover {
  border-color: #1d4ed8;
  background: #faf5ff;
  transform: translateY(-1px);
}
.q-count-pill.active {
  border-color: #4f46e5;
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28);
}
.q-count-pill.active small {
  color: #e0e7ff;
}

/* Switches */
.quiz-toggles-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s ease;
}
.quiz-switch-row:hover {
  border-color: #cbd5e1;
}
.qsr-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.qsr-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
}
.qsr-desc {
  font-size: 0.78rem;
  color: #64748b;
}
.custom-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.custom-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .25s;
  border-radius: 26px;
}
.custom-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}
.custom-switch input:checked + .slider {
  background-color: #4f46e5;
}
.custom-switch input:checked + .slider:before {
  transform: translateX(22px);
}

/* Completely Hide sr-only Select Dropdowns */
.sr-only-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

/* Live Exam Specs Summary Strip */
.quiz-specs-summary {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
.qss-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qss-k {
  color: #64748b;
}
.qss-v {
  color: #0f172a;
  font-weight: 800;
}

/* Action CTAs */
.quiz-actions-master {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.quiz-start-cta {
  flex: 2;
  min-width: 260px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 16px 28px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.4) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.quiz-start-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px -4px rgba(79, 70, 229, 0.5) !important;
}
.cta-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-icon {
  font-size: 1.5rem;
}
.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.cta-main {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.cta-sub {
  font-size: 0.76rem;
  color: #e0e7ff;
  font-weight: 600;
}
.quiz-print-cta {
  flex: 1;
  min-width: 180px;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
}
.quiz-print-cta:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}
.quiz-sub-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.quiz-trust-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   PREPARATION TOOLS CARDS GRID (REPLACES BARE TEXT LINKS)
   ============================================================ */
.related-tools-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}
@media (max-width: 768px) {
  .related-tools-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.prep-tool-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 18px 20px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}
.prep-tool-card:hover {
  transform: translateY(-3px) !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(108, 76, 245, 0.12) !important;
}
.ptc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.ptc-content {
  flex: 1;
}
.ptc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}
.prep-tool-card:hover .ptc-title {
  color: #1d4ed8;
}
.ptc-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 8px;
}
.ptc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #e0f2fe;
}
.prep-tool-card:hover .ptc-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #ddd6fe;
}

@media (max-width: 600px) {
  .quiz-master-btn {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
  }
  .qmb-meta {
    width: 100%;
    justify-content: space-between;
  }
  .quiz-actions-master {
    flex-direction: column;
  }
  .quiz-start-cta, .quiz-print-cta {
    width: 100% !important;
    flex: none !important;
  }
}

/* ============================================================
   SUBSCRIPTION SECTION STYLING
   ============================================================ */

.subscription-section {
  padding: 60px 20px;
  background: var(--bg-primary);
}

.subscription-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  color: white;
  box-shadow: var(--shadow-lg);
}

.subscription-content {
  flex: 1;
  min-width: 200px;
}

.subscription-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}

.subscription-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.subscribe-form {
  flex: 1.5;
  min-width: 200px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subscribe-email, 
.subscribe-phone {
  flex: 1;
  min-width: 150px;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.subscribe-btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.subscribe-msg {
  flex-basis: 100%;
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.2em;
  font-weight: 600;
}

/* ============================================================
   RESTORED SECTIONS — Calendar, Guide, Eligibility, Info Cards
   ============================================================ */
.tool-card.c-emerald .tool-card-icon { background: linear-gradient(135deg, #6ee7b7, #1f7a53); box-shadow: 0 6px 14px -4px rgba(31, 122, 83, .45); }
.tool-card.c-gold    .tool-card-icon { background: linear-gradient(135deg, #f3d488, #a8752b); box-shadow: 0 6px 14px -4px rgba(168, 117, 43, .45); }
.tool-card.c-rose    .tool-card-icon { background: linear-gradient(135deg, #ff9eb5, #e5322d); box-shadow: 0 6px 14px -4px rgba(229, 50, 45, .45); }
.tool-card.c-teal    .tool-card-icon { background: linear-gradient(135deg, #4dd0c8, #00897b); box-shadow: 0 6px 14px -4px rgba(0, 137, 123, .45); }
.tool-card.c-indigo  .tool-card-icon { background: linear-gradient(135deg, #7c8cff, #33418f); box-shadow: 0 6px 14px -4px rgba(51, 65, 143, .45); }

.calendar-layout { display: flex; gap: 24px; align-items: flex-start; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.calendar-card { background: var(--bg-primary); border: 1px solid var(--glass-border); border-radius: 14px; padding: 20px; width: 100%; max-width: 420px; min-width: 0; box-sizing: border-box; margin: 0 auto; box-shadow: var(--shadow-sm); }
.calendar-side { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 720px) {
  .calendar-card, .calendar-side { width: 100%; max-width: 420px; margin: 0 auto; }
}
.info-card { background: var(--bg-primary); border: 1px solid var(--glass-border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.info-card-title { margin: 0 0 6px; font-size: 1.05rem; color: var(--text-primary); }
.info-card-desc { margin: 0 0 14px; font-size: .88rem; color: var(--text-secondary); }
.sat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 230px; overflow-y: auto; }
.sat-list li { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; padding: 7px 10px; border-radius: 8px; background: var(--bg-secondary); }
.sat-list li .sat-bs { font-weight: 600; color: var(--text-primary); }
.sat-list li .sat-ad { color: var(--text-secondary); font-size: .82rem; }
.sat-list .tool-result { padding: 7px 2px; }
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calendar-title { flex: 1; text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.cal-nav-btn { background: none; border: 1px solid var(--glass-border); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 1rem; transition: border-color .2s ease, color .2s ease; }
.cal-nav-btn:hover { border-color: var(--primary); color: var(--primary); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: .75rem; color: var(--text-secondary); margin-bottom: 6px; width: 100%; box-sizing: border-box; }
.calendar-weekdays .is-saturday { color: #e11d48; font-weight: 700; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; box-sizing: border-box; }
.cal-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 8px; font-weight: 600; font-size: 1.05rem; color: var(--text-primary); min-width: 0; overflow: hidden; }
.cal-day.is-empty { visibility: hidden; }
.cal-day .ad-sub { font-size: .65rem; font-weight: 500; color: var(--text-secondary); }
.cal-day.is-saturday { color: #e11d48; }
.cal-day.is-saturday .ad-sub { color: #e11d48; opacity: .75; }
.cal-day.is-today { background: rgba(108, 76, 245, .12); color: var(--primary); }
.cal-day.is-today .ad-sub { color: var(--primary); }
.cal-day.is-today.is-saturday { background: rgba(225, 29, 72, .12); color: #e11d48; }
.cal-day.is-holiday { position: relative; }
.cal-day.is-holiday::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}
.calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: .75rem; color: var(--text-secondary); }
.calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.calendar-legend .legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.calendar-legend .legend-dot.dot-sat { background: #e11d48; }
.calendar-legend .legend-dot.dot-holiday { background: #f59e0b; }

.guide-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 18px; }
.guide-steps li { display: flex; gap: 14px; align-items: flex-start; }
.guide-steps h4 { margin: 0 0 4px; color: var(--text-primary); font-size: 1rem; }
.guide-steps p { margin: 0; color: var(--text-secondary); font-size: .92rem; line-height: 1.6; }
.guide-num { font-family: 'Source Sans 3', Arial, sans-serif; font-weight: 800; color: #fff; font-size: 1rem; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(108, 76, 245, .35); }

/* ============================================================
   MODERN SAAS V3 UPGRADES — HEADER, DROPDOWN, NEWS & VACANCY
   ============================================================ */

/* 1. Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100000 !important;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108, 76, 245, 0.12), rgba(0, 180, 216, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(108, 76, 245, 0.15);
}
.brand-text {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-sub {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* Nav Links & Dropdowns */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link-item {
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.nav-link-item:hover {
  background: #f1f5f9;
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}
.nav-dropdown-menu.nav-dropdown-menu-wide {
  width: 600px !important;
  min-width: 560px !important;
  max-width: 92vw !important;
  background: #ffffff !important;
  display: grid !important;
  grid-template-columns: 1fr 1px 1fr !important;
  padding: 18px !important;
  gap: 16px !important;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .nav-dropdown-menu-wide {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dropdown-divider-v {
    display: none;
  }
}
.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dropdown-group-title {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  padding: 4px 8px 6px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropdown-divider-v {
  background: #f1f5f9;
  width: 1px;
  height: 100%;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: #0f172a;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: #f8fafc;
}
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.dropdown-item-info {
  display: flex;
  flex-direction: column;
}
.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}
.dropdown-item-desc {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 1px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #1d4ed8, #00b4d8);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(108, 76, 245, 0.3);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108, 76, 245, 0.4);
}
.btn-nav-admin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.btn-nav-admin:hover {
  background: #e2e8f0;
  transform: rotate(30deg);
}

/* Live Badge */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  background: #dcfce7;
  color: #15803d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* 2. Bento Tools Hub Grid */
.tools-hub-section {
  padding: 60px 0;
  background: #ffffff;
}
.tools-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.bento-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px -10px rgba(108, 76, 245, 0.12);
}
.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bento-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #f8fafc;
}
.bento-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: #efe9ff;
  color: #1d4ed8;
}
.bento-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.bento-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.bento-action {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bento-card:hover .bento-action {
  gap: 10px;
}

/* 3. Live Current Affairs News Feed */
.news-feed-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.section-header-modern {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.section-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.section-title-modern {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.2;
}
.section-sub-modern {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* News Filter Pills */
.news-filter-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.news-pill-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.news-pill-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.news-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(108, 76, 245, 0.25);
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}
.news-feed-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.news-feed-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.78rem;
}
.news-cat-chip {
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  background: #efe9ff;
  color: #1d4ed8;
}
.news-cat-chip.cat-econ { background: #fef3c7; color: #b45309; }
.news-cat-chip.cat-appt { background: #fee2e2; color: #b91c1c; }
.news-cat-chip.cat-intl { background: #e0f2fe; color: #0369a1; }
.news-card-date {
  color: #94a3b8;
  font-weight: 500;
}
.news-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px;
}
.news-card-summary {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.news-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  font-size: 0.82rem;
}
.news-source-tag {
  color: #64748b;
  font-weight: 500;
}
.news-read-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

/* 4. Vacancies Redesign */
.vac-section-modern {
  padding: 60px 0;
  background: #ffffff;
}
.vac-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.vac-tabs-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vac-tab-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.vac-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.vac-search-input {
  padding: 9px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  font-size: 0.88rem;
  width: 260px;
}
.vac-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.vac-modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.vac-modern-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}
.vac-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.vac-org-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #334155;
}
.vac-deadline-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vac-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.4;
}
.vac-card-details {
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 18px;
  flex: 1;
}
.vac-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* 5. Streamlined Quick Console */
.quick-console-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .console-grid { grid-template-columns: 1fr; }
}
.console-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* 6. Modern High-Converting Subscription Card */
.sub-modern-wrap {
  padding: 36px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #0f172a;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}
.sub-modern-box {
  background: #ffffff;
  border: 1px solid rgba(108, 76, 245, 0.16);
  border-radius: 18px;
  padding: 26px 28px 20px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 12px 30px -12px rgba(108, 76, 245, 0.08), 0 2px 5px rgba(0, 0, 0, 0.02);
  text-align: center;
}
.sub-modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 99px;
  background: #f5f3ff;
  border: 1px solid rgba(108, 76, 245, 0.25);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.sub-modern-title {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  margin: 0 0 6px;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.sub-modern-desc {
  font-size: 0.88rem;
  color: #475569;
  max-width: 580px;
  margin: 0 auto 12px;
  line-height: 1.45;
}
.sub-benefits-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sub-benefit-pill {
  font-size: 0.78rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
}
.sub-benefit-pill span {
  color: #10b981;
  font-weight: 800;
}
.sub-form-row {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
  gap: 8px;
  align-items: center;
}
.sub-input-modern {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s;
}
.sub-input-modern:focus {
  background: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(108, 76, 245, 0.15);
}
.sub-input-modern::placeholder { color: #94a3b8; }
.sub-btn-modern {
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #4f46e5);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(108, 76, 245, 0.3);
  transition: all 0.2s;
}
.sub-btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(108, 76, 245, 0.4);
}

@media (max-width: 640px) {
  .sub-modern-wrap {
    padding: 24px 0;
  }
  .sub-modern-box {
    padding: 20px 16px 16px;
    border-radius: 14px;
  }
  .sub-modern-title {
    font-size: 1.3rem;
  }
  .sub-modern-desc {
    font-size: 0.82rem;
  }
  .sub-form-row {
    flex-direction: column;
    gap: 8px;
  }
  .sub-input-modern, .sub-btn-modern {
    width: 100%;
  }
}

/* 7. Modal for News Details */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1100;
}
.news-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 32px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .site-header {
    backdrop-filter: none !important;
    background: #ffffff !important;
    z-index: 100005 !important;
  }
  .header-row {
    height: 64px !important;
    padding: 0 16px !important;
    position: relative !important;
    z-index: 100006 !important;
  }
  .nav-toggle-label {
    z-index: 100007 !important;
  }
  .brand-text {
    font-size: 1.25rem !important;
  }
  .brand-sub {
    display: none !important;
  }

  /* Full-Screen Dark Overlay Backdrop */
  .nav-backdrop,
  #navBackdrop {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 999990 !important;
    cursor: pointer !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
  }
  body.nav-menu-open .nav-backdrop,
  .nav-toggle-checkbox:checked ~ .nav-backdrop {
    display: block !important;
    opacity: 1 !important;
  }

  /* Sleek Off-Canvas Side Drawer (From Left, exactly like lds.com.np) */
  .main-nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(300px, 80vw) !important;
    max-width: 300px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    box-shadow: 12px 0 35px rgba(15, 23, 42, 0.25) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 1000000 !important;
    transform: translateX(-105%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  .main-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }
  body.nav-menu-open .main-nav,
  .nav-toggle-checkbox:checked ~ .main-nav {
    transform: translateX(0) !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  /* Top Blue Brand Header Banner */
  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%) !important;
    color: #ffffff !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
  }
  .mobile-nav-header > span,
  .mobile-nav-header span {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
  }
  .btn-drawer-close,
  .btn-mobile-nav-close,
  .mobile-nav-header label[for="navToggle"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background 0.15s ease !important;
  }
  .btn-drawer-close:hover,
  .btn-mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
  }

  /* Crisp, Clean Full-Width Menu Links with Dividers */
  .main-nav .nav-link-item,
  .main-nav > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
  }
  .main-nav .nav-link-item:hover,
  .main-nav .nav-link-item:active,
  .main-nav > a:hover,
  .main-nav > a:active {
    background: #f8fafc !important;
    color: #2563eb !important;
    transform: none !important;
  }
  .main-nav .nav-actions {
    padding: 16px 18px !important;
    margin: 0 !important;
    background: #ffffff !important;
  }
  .main-nav .btn-nav-cta {
    display: block !important;
    text-align: center !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 13px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    font-size: 0.90rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
  }
  .main-nav > a:active {
    background: #f5f3ff !important;
    color: #1d4ed8 !important;
    transform: translateX(3px);
  }
  .main-nav .nav-actions {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  .main-nav .btn-nav-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #00b4d8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(108, 76, 245, 0.3) !important;
    text-decoration: none !important;
    border: none !important;
  }
  .main-nav .btn-nav-cta:hover,
  .main-nav .btn-nav-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 76, 245, 0.4) !important;
    color: #ffffff !important;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 8px 0;
  }
  .sub-form-row { flex-direction: column; }
  .sub-btn-modern { width: 100%; }
}

/* ==========================================================================
   WIDE DESKTOP LAYOUT FOR ALL TOOL PAGES (Eliminates Empty Side Gaps)
   ========================================================================== */
.tool-page-wrap {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.tool-page-hero {
  padding: 44px 0 32px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.tool-page-title {
  font-family: var(--font-heading, "Fraunces", serif) !important;
  font-size: 2.3rem !important;
  line-height: 1.25 !important;
  color: #0f172a !important; /* Deep crisp ink — 15:1 AAA contrast */
  margin: 0 0 10px !important;
  font-weight: 800 !important;
}

.tool-page-sub {
  font-size: 1.05rem !important;
  color: #475569 !important; /* Elegant slate grey */
  max-width: 82ch !important;
  line-height: 1.65 !important;
}

.breadcrumb {
  color: #64748b !important;
  font-size: 0.85rem !important;
  margin-bottom: 12px !important;
}

.breadcrumb a {
  color: #64748b !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}

.breadcrumb a:hover {
  color: var(--primary, #1d4ed8) !important;
}

.tool-page-body {
  padding: 48px 0 80px !important;
  background: var(--bg-primary, #f8fafc) !important;
}

/* 2-Column Desktop Grid for Tool Workspaces */
.tools-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
  gap: 32px !important;
  align-items: start !important;
  margin-bottom: 40px !important;
}

@media (max-width: 860px) {
  .tools-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Tool card elevated SaaS design */
.tool-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  box-shadow: 0 10px 35px rgba(0,0,0,0.04) !important;
  padding: 32px 36px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.tool-card-wide {
  max-width: 100% !important;
  padding: 36px 40px !important;
}

/* PDF Tools Suite Wide Responsive Launchpad */
.tool-launch-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 24px !important;
}

.tool-launch {
  min-height: 110px !important;
  padding: 20px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tool-launch:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(108,76,245,0.12) !important;
  border-color: var(--primary, #1d4ed8) !important;
}

.tool-launch-icon {
  font-size: 1.8rem !important;
}

/* Vacancy Columns Wide Desktop Grid */
.vacancy-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  margin-top: 28px !important;
}

.vacancy-col {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03) !important;
  padding: 24px 20px !important;
}

/* Tool Content 2-Column Split (Tool Main + Info/FAQ Companion Sidebar) */
.tool-content-layout {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 48px !important;
  align-items: start !important;
  margin-top: 40px !important;
}

@media (max-width: 1024px) {
  .tool-content-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

.tool-info-article {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 36px 40px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
}

.tool-companion-sidebar {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  position: sticky !important;
  top: 96px !important;
}

/* Premium Sidebar Card */
.tool-companion-sidebar .sidebar-widget {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04) !important;
}

.tool-companion-sidebar .sidebar-widget-title {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.tool-companion-sidebar .sidebar-tool-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Interactive Tool Links inside Sidebar */
.tool-companion-sidebar .sidebar-tool-link {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  text-decoration: none !important;
  color: #0f172a !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-companion-sidebar .sidebar-tool-link:hover {
  background: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 8px 20px rgba(108, 76, 245, 0.12) !important;
  transform: translateX(4px) !important;
  color: #1d4ed8 !important;
}

.tool-companion-sidebar .sidebar-tool-link div div {
  color: #0f172a !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  font-size: 0.92rem !important;
}

.tool-companion-sidebar .sidebar-tool-link small {
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
  display: block !important;
  margin-top: 2px !important;
}

.tool-companion-sidebar .sidebar-tool-icon {
  font-size: 1.3rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

/* Premium Gradient Mock Test CTA Card */
.tool-companion-sidebar .sidebar-mock-test-cta {
  background: linear-gradient(135deg, #3b28cc 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-radius: 18px !important;
  padding: 26px 24px !important;
  box-shadow: 0 12px 28px rgba(108, 76, 245, 0.28) !important;
  text-align: center !important;
}

.tool-companion-sidebar .sidebar-mock-test-cta h4 {
  margin: 0 0 10px !important;
  font-size: 1.2rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.tool-companion-sidebar .sidebar-mock-test-cta p {
  margin: 0 0 18px !important;
  font-size: 0.88rem !important;
  color: #e0e7ff !important;
  line-height: 1.55 !important;
}

.tool-companion-sidebar .sidebar-mock-test-btn {
  display: block !important;
  background: #ffffff !important;
  color: #3b28cc !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-size: 0.94rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.tool-companion-sidebar .sidebar-mock-test-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
}

.privacy-tool-note {
  max-width: 1280px !important;
  margin: 12px auto !important;
  padding: 0 24px !important;
}

/* =========================================================
   COMPREHENSIVE MOBILE ALIGNMENT & RESPONSIVENESS (360px - 768px)
   ========================================================= */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 768px) {
  .wrap, .tool-page-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .tool-page-hero {
    padding: 32px 0 28px !important;
  }

  .tool-page-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  .tool-page-sub {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .tool-page-body {
    padding: 24px 0 60px !important;
  }

  .tool-card {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }

  .tool-card-wide {
    padding: 20px 18px !important;
  }

  .console-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .console-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .tool-layout-grid, .tool-content-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .tool-companion-sidebar {
    position: static !important;
    margin-top: 16px !important;
  }

  .tools-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .vacancy-columns {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .tool-info-article {
    padding: 24px 20px !important;
  }

  .resizer-canvas-wrap, .cropper-wrap, #cropCanvas {
    max-width: 100% !important;
    height: auto !important;
  }

  .field-row.three {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    display: block !important;
  }

  .tool-tabs {
    flex-wrap: wrap !important;
  }

  .tab-btn {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
  }
}




/* =========================================================
   WORLD-CLASS REDESIGN: CURRENT AFFAIRS, BENTO TOOLS, VACANCIES
   ========================================================= */

/* 1. Live Current Affairs News Feed */
.news-feed-section {
  padding: 80px 0 !important;
  background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #f8fafc 100%) !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  position: relative !important;
}
.section-header-modern {
  text-align: center !important;
  max-width: 720px !important;
  margin: 0 auto 40px !important;
}
.section-tag {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--primary, #1d4ed8) !important;
  margin-bottom: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(108, 76, 245, 0.08) !important;
  padding: 5px 16px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(108, 76, 245, 0.15) !important;
}
.section-title-modern {
  font-family: 'Fraunces', serif !important;
  font-size: 2.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 12px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}
.section-sub-modern {
  font-size: 1.05rem !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* News Filter Pills */
.news-filter-pills {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 36px !important;
}
.news-pill-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 99px !important;
  padding: 9px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
  font-family: inherit !important;
}
.news-pill-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
}
.news-pill-btn.active {
  background: linear-gradient(135deg, #3b28cc, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(108, 76, 245, 0.28) !important;
  transform: translateY(-1px) !important;
}

.news-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 24px !important;
}
.news-feed-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
  overflow: hidden !important;
}
.news-feed-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #1d4ed8, #00b4d8) !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}
.news-feed-card:hover {
  transform: translateY(-5px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.08) !important;
}
.news-feed-card:hover::before {
  opacity: 1 !important;
}
.news-card-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
  font-size: 0.8rem !important;
}
.news-cat-chip {
  padding: 4px 12px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 0.76rem !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.news-cat-chip.cat-econ { background: #fef3c7 !important; color: #b45309 !important; }
.news-cat-chip.cat-appt { background: #fee2e2 !important; color: #b91c1c !important; }
.news-cat-chip.cat-intl { background: #e0f2fe !important; color: #0369a1 !important; }
.news-card-date {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.news-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.42 !important;
  margin: 0 0 10px !important;
  transition: color 0.2s !important;
}
.news-feed-card:hover .news-card-title {
  color: #1d4ed8 !important;
}
.news-card-summary {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 20px !important;
  flex: 1 !important;
}
.news-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 14px !important;
  font-size: 0.84rem !important;
}
.news-source-tag {
  color: #64748b !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.news-read-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  transition: all 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.news-read-btn:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

/* 2. Apple/Linear-Style Bento Tools Hub */
.tools-hub-section {
  padding: 80px 0 !important;
  background: #ffffff !important;
}
.tools-bento-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 24px !important;
  margin-top: 36px !important;
}
.bento-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 22px !important;
  padding: 28px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  overflow: hidden !important;
}
.bento-card:hover {
  transform: translateY(-6px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 40px -10px rgba(108, 76, 245, 0.14) !important;
}
.bento-card.bento-col-6 {
  grid-column: span 6 !important;
}
.bento-card.bento-col-4 {
  grid-column: span 4 !important;
}
@media (max-width: 1024px) {
  .bento-card.bento-col-6 { grid-column: span 12 !important; }
  .bento-card.bento-col-4 { grid-column: span 6 !important; }
}
@media (max-width: 768px) {
  .bento-card.bento-col-6, .bento-card.bento-col-4 { grid-column: span 12 !important; }
}

.bento-featured-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f6ff 100%) !important;
  border: 1px solid #e0d7fe !important;
}
.bento-featured-quiz {
  background: linear-gradient(135deg, #ffffff 0%, #fdf4f8 100%) !important;
  border: 1px solid #fbcfe8 !important;
}
.bento-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
}
.bento-icon-wrap {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.75rem !important;
  background: #f8fafc !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
.bento-badge {
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  padding: 4px 11px !important;
  border-radius: 99px !important;
  background: #efe9ff !important;
  color: #1d4ed8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
.bento-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 8px !important;
  line-height: 1.35 !important;
}
.bento-desc {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 20px !important;
  flex: 1 !important;
}
.bento-pills-row {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 18px !important;
}
.bento-mini-pill {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}
.bento-action {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  color: var(--primary, #1d4ed8) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: gap 0.2s !important;
}
.bento-card:hover .bento-action {
  gap: 10px !important;
}

/* 3. Vacancies Section Redesign */
.vac-section-modern {
  padding: 80px 0 !important;
  background: radial-gradient(circle at 50% 100%, #f8fafc 0%, #ffffff 100%) !important;
}
.vac-filter-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 32px !important;
  flex-wrap: wrap !important;
  background: #f8fafc !important;
  padding: 10px 14px !important;
  border-radius: 99px !important;
  border: 1px solid #e2e8f0 !important;
}
.vac-tabs-row {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.vac-tab-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 99px !important;
  padding: 9px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  font-family: inherit !important;
}
.vac-tab-btn:hover {
  color: #0f172a !important;
  background: #eff6ff !important;
}
.vac-tab-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2) !important;
}
.vac-search-wrap {
  position: relative !important;
  width: 280px !important;
}
@media (max-width: 640px) {
  .vac-search-wrap { width: 100% !important; }
}
.vac-search-input {
  width: 100% !important;
  padding: 10px 16px 10px 38px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 99px !important;
  font-size: 0.88rem !important;
  background: #ffffff !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  transition: all 0.2s !important;
}
.vac-search-input:focus {
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(108, 76, 245, 0.15) !important;
}
.vac-search-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 0.95rem !important;
  color: #94a3b8 !important;
}

.vac-modern-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 24px !important;
}
.vac-modern-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 26px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}
.vac-modern-card:hover {
  transform: translateY(-5px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08) !important;
}
.vac-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}
.vac-org-pill {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.vac-org-pill.org-bank { background: #dcfce7 !important; color: #15803d !important; }
.vac-org-pill.org-prov { background: #ffedd5 !important; color: #c2410c !important; }
.vac-deadline-chip {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.vac-card-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  line-height: 1.4 !important;
  transition: color 0.2s !important;
}
.vac-modern-card:hover .vac-card-title {
  color: #1d4ed8 !important;
}
.vac-card-details {
  font-size: 0.88rem !important;
  color: #64748b !important;
  margin-bottom: 20px !important;
  line-height: 1.55 !important;
  flex: 1 !important;
}
.vac-card-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 16px !important;
}
.vac-btn-apply {
  flex: 1 !important;
  background: linear-gradient(135deg, #3b28cc, #1d4ed8) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-align: center !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(108, 76, 245, 0.2) !important;
  transition: all 0.2s !important;
}
.vac-btn-apply:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(108, 76, 245, 0.35) !important;
}
.vac-btn-cal {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 9px 14px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
.vac-btn-cal:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}


/* =========================================================
   PROPORTION & VACANCY BOX REFINEMENTS (COMPACT, HIGH DENSITY)
   ========================================================= */

/* Hero Compact Refinements */
.hero {
  padding: 42px 0 28px !important;
}
.hero-title {
  font-family: 'Fraunces', serif !important;
  font-size: clamp(1.85rem, 3.8vw, 2.45rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.02em !important;
}
.hero-sub {
  font-size: 1.02rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  max-width: 640px !important;
  margin: 0 auto 22px !important;
}
.hero-cta-btn {
  padding: 11px 22px !important;
  font-size: 0.92rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

/* Section Header Compact */
.news-feed-section, .tools-hub-section, .quick-console-section, .vac-section-modern {
  padding: 48px 0 !important;
}
.section-header-modern {
  text-align: center !important;
  max-width: 680px !important;
  margin: 0 auto 28px !important;
}
.section-tag {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--primary, #1d4ed8) !important;
  margin-bottom: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(108, 76, 245, 0.08) !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(108, 76, 245, 0.15) !important;
}
.section-title-modern {
  font-family: 'Fraunces', serif !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}
.section-sub-modern {
  font-size: 0.95rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Tools Hub Compact Grid (4-Column Balanced) */
.tools-compact-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
}
.tool-compact-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
}
.tool-compact-card:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 14px 28px -6px rgba(108, 76, 245, 0.12) !important;
}
.tool-card-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}
.tool-icon-circle {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
}
.tool-tag-badge {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 99px !important;
}
.tool-card-h3 {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
}
.tool-card-p {
  font-size: 0.86rem !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
  flex: 1 !important;
}
.tool-link-action {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: var(--primary, #1d4ed8) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: gap 0.2s ease !important;
}
.tool-compact-card:hover .tool-link-action {
  gap: 8px !important;
}

/* =========================================================
   STRUCTURED PROPER VACANCY CONTAINER BOX (DASHBOARD STYLE)
   ========================================================= */
.vac-container-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
  margin-top: 24px !important;
}
.vac-box-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 20px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
}
.vac-tabs-row {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.vac-tab-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 99px !important;
  padding: 7px 15px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  font-family: inherit !important;
}
.vac-tab-btn:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
.vac-tab-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
}
.vac-search-wrap {
  position: relative !important;
  width: 260px !important;
}
@media (max-width: 640px) {
  .vac-search-wrap { width: 100% !important; }
}
.vac-search-input {
  width: 100% !important;
  padding: 8px 14px 8px 34px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 99px !important;
  font-size: 0.84rem !important;
  background: #ffffff !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}
.vac-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
}

/* Inside the Vacancy Box: List Rows */
.vac-box-list {
  display: flex !important;
  flex-direction: column !important;
}
.vac-row-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
  gap: 16px !important;
}
.vac-row-card:last-child {
  border-bottom: none !important;
}
.vac-row-card:hover {
  background: #fafafa !important;
}
@media (max-width: 768px) {
  .vac-row-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 18px !important;
  }
}
.vac-row-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 1 !important;
}
.vac-row-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
}
.vac-icon-federal { background: #eff6ff !important; color: #1d4ed8 !important; }
.vac-icon-banking { background: #dcfce7 !important; color: #15803d !important; }
.vac-icon-provincial { background: #ffedd5 !important; color: #c2410c !important; }

.vac-row-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.vac-row-top-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.vac-badge-federal {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}
.vac-badge-banking {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  background: #dcfce7 !important;
  color: #15803d !important;
}
.vac-badge-provincial {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 99px !important;
  background: #ffedd5 !important;
  color: #c2410c !important;
}
.vac-status-live {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #16a34a !important;
}
.vac-row-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.38 !important;
}
.vac-row-sub {
  font-size: 0.82rem !important;
  color: #64748b !important;
}
.vac-row-sub strong {
  color: #dc2626 !important;
}

.vac-row-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  .vac-row-right {
    width: 100% !important;
    justify-content: flex-start !important;
    margin-top: 6px !important;
  }
}
.vac-btn-view {
  background: linear-gradient(135deg, #3b28cc, #1d4ed8) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(108, 76, 245, 0.2) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.vac-btn-view:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(108, 76, 245, 0.35) !important;
}
.vac-btn-bell {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
.vac-btn-bell:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.vac-box-bottombar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.vac-box-all-link {
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: var(--primary, #1d4ed8) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.vac-box-all-link:hover {
  text-decoration: underline !important;
}


/* =========================================================
   ULTIMATE BEST DESIGN: CURRENT AFFAIRS, TOOLS HUB & VACANCY BOX
   ========================================================= */

/* Section Basics */
.news-feed-section {
  padding: 56px 0 !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.tools-hub-section {
  padding: 56px 0 !important;
  background: #ffffff !important;
}
.vac-section-modern {
  padding: 56px 0 !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
.section-header-modern {
  text-align: center !important;
  max-width: 680px !important;
  margin: 0 auto 32px !important;
}
.section-tag {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--primary, #1d4ed8) !important;
  margin-bottom: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(108, 76, 245, 0.08) !important;
  padding: 4px 14px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(108, 76, 245, 0.15) !important;
}
.section-title-modern {
  font-family: 'Fraunces', serif !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}
.section-sub-modern {
  font-size: 0.96rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* 1. CURRENT AFFAIRS NEWS CARDS (PREMIUM EDITORIAL STYLE) */
.news-filter-pills {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 28px !important;
}
.news-pill-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 99px !important;
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  font-family: inherit !important;
}
.news-pill-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
.news-pill-btn.active {
  background: linear-gradient(135deg, #3b28cc, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(108, 76, 245, 0.25) !important;
}
/* Quick Capsule: Shiksha & Samsamayik in Short */
.edu-short-capsule-box {
  margin: 24px 32px 8px !important;
  padding: 24px 26px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.edu-short-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-top: 14px !important;
}

.edu-short-col {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
}

.edu-short-col-title {
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.edu-short-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.edu-short-list li {
  position: relative !important;
  padding-left: 20px !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}

.edu-short-list li::before {
  content: "•" !important;
  position: absolute !important;
  left: 4px !important;
  top: 0 !important;
  color: #1d4ed8 !important;
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

.edu-short-list li strong {
  color: #0f172a !important;
  font-weight: 700 !important;
  display: inline !important;
}

@media (max-width: 768px) {
  .edu-short-capsule-box {
    margin: 16px 14px 6px !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }
  .edu-short-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .edu-short-col {
    padding: 16px 14px !important;
  }
  .edu-short-list li {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }
}

.news-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
}
.news-feed-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
}
.news-feed-card:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 14px 30px -8px rgba(108, 76, 245, 0.12) !important;
}
.news-card-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}
.news-cat-chip {
  padding: 4px 10px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.news-cat-chip.cat-edu { background: #eff6ff !important; color: #4338ca !important; border: 1px solid #c7d2fe !important; }
.news-cat-chip.cat-econ { background: #fef3c7 !important; color: #b45309 !important; border: 1px solid #fde68a !important; }
.news-cat-chip.cat-appt { background: #fee2e2 !important; color: #b91c1c !important; border: 1px solid #fecaca !important; }
.news-cat-chip.cat-intl { background: #e0f2fe !important; color: #0369a1 !important; border: 1px solid #bae6fd !important; }
.news-card-date {
  color: #64748b !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.news-card-title {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  margin: 0 0 10px !important;
  transition: color 0.2s ease !important;
}
.news-feed-card:hover .news-card-title {
  color: #1d4ed8 !important;
}
.news-card-quote {
  background: #f8fafc !important;
  border-left: 3px solid #1d4ed8 !important;
  padding: 10px 14px !important;
  border-radius: 0 8px 8px 0 !important;
  font-size: 0.88rem !important;
  color: #475569 !important;
  line-height: 1.55 !important;
  margin-bottom: 16px !important;
  flex: 1 !important;
}
.news-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 12px !important;
}
.news-source-tag {
  color: #64748b !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}
.news-read-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.news-read-btn:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

/* 2. ESSENTIAL LOKSEWA PREPARATION TOOLS & VACANCIES — SAAS BOX LAUNCHER GRID */
.tools-showcase-grid,
.vac-bulletin-grid,
.vacancies-showcase-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-top: 0 !important;
  padding: 24px 28px 28px !important;
  background: #ffffff !important;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .tools-showcase-grid,
  .vac-bulletin-grid,
  .vacancies-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    padding: 20px !important;
  }
}

@media (max-width: 768px) and (min-width: 641px) {
  .tools-showcase-grid,
  .vac-bulletin-grid,
  .vacancies-showcase-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    padding: 16px 14px !important;
  }
}

@media (max-width: 640px) {
  .tools-showcase-grid,
  .vac-bulletin-grid,
  .vacancies-showcase-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 14px 10px 18px !important;
  }
}

/* Modern Square/Box Launcher Card */
.tool-showcase-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  text-align: left !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  padding: 20px 18px 20px !important;
  text-decoration: none !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  min-height: 164px !important;
}

.tool-showcase-card.is-hidden,
.tool-showcase-card[hidden],
.tool-showcase-card[style*="display: none"],
.blog-listing-card.is-hidden,
.blog-listing-card[hidden],
.blog-listing-card[style*="display: none"],
.vac-card-box.is-hidden,
.vac-card-box[hidden] {
  display: none !important;
}

.tool-showcase-card::before {
  display: none !important;
}

.tool-showcase-card:hover {
  transform: translateY(-4px) !important;
  border-color: #93c5fd !important;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03) !important;
}

.tool-showcase-card:active {
  transform: scale(0.98) !important;
}

/* Tool Title */
.tool-showcase-card .tool-launch-name,
.tool-showcase-card .tool-card-title {
  font-size: 1.02rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.015em !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
  text-align: left !important;
  transition: color 0.18s ease !important;
}

.tool-showcase-card:hover .tool-launch-name,
.tool-showcase-card:hover .tool-card-title {
  color: #1d4ed8 !important;
}

/* Tool Subtitle */
.tool-showcase-card .tool-launch-sub {
  font-size: 0.80rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  margin: 0 !important;
  display: block !important;
}

/* Squircle Icon with Colored Gradient Glow */
.tool-showcase-card .tool-launch-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  margin: 0 0 14px 0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-showcase-card:hover .tool-launch-icon {
  transform: scale(1.1) rotate(2deg) !important;
}

/* Modern Tag Badge */
.tool-showcase-card .tool-launch-tag {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  z-index: 1 !important;
}

.tool-showcase-card .tool-launch-tag.tag-hot {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.tool-showcase-card .tool-launch-tag.tag-new {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #a7f3d0 !important;
}

.tool-showcase-card .tool-launch-tag.tag-psc {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important;
}

/* Mobile Box View Tweaks (< 640px) */
@media (max-width: 640px) {
  .tool-showcase-card {
    padding: 18px 10px 14px !important;
    border-radius: 16px !important;
    min-height: 146px !important;
  }
  .tool-showcase-card .tool-launch-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    font-size: 1.4rem !important;
    margin: 2px auto 8px !important;
  }
  .tool-showcase-card .tool-launch-name,
  .tool-showcase-card .tool-card-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
  }
  .tool-showcase-card .tool-launch-sub {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }
  .tool-showcase-card .tool-launch-tag {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
    top: 6px !important;
    right: 6px !important;
  }
}

/* 3. ULTIMATE STRUCTURED VACANCY BULLETIN BOX */
.vac-bulletin-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 32px -10px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  margin-top: 24px !important;
}
.vac-bulletin-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
  color: #ffffff !important;
  padding: 22px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}
.vac-bulletin-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.vac-bulletin-badge {
  background: rgba(34, 197, 94, 0.15) !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  letter-spacing: 0.04em !important;
}
.vac-bulletin-h3 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
}
.vac-bulletin-stats {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.vac-stats-chip {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  color: #f8fafc !important;
}

.vac-bulletin-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 24px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
}
.vac-tabs-row {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.vac-tab-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 99px !important;
  padding: 7px 15px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}
.vac-tab-btn:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
.vac-tab-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15) !important;
}
.vac-search-wrap {
  position: relative !important;
  width: 260px !important;
}
@media (max-width: 640px) {
  .vac-search-wrap { width: 100% !important; }
}
.vac-search-input {
  width: 100% !important;
  padding: 8px 14px 8px 34px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 99px !important;
  font-size: 0.84rem !important;
  background: #ffffff !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}
.vac-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
}

/* Grid of Vacancy Cards inside Bulletin Box */
.vac-bulletin-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 18px !important;
  padding: 24px !important;
  background: #ffffff !important;
}
.vac-card-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  position: relative !important;
}
.vac-card-box:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08) !important;
}
.vac-card-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  gap: 8px !important;
}
.vac-card-org {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.vac-card-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}
.vac-card-org-name {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}
.vac-card-live-dot {
  font-size: 0.72rem !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 2px !important;
}
.dot-green {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  display: inline-block !important;
}
.vac-card-deadline-pill {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  background: #fef2f2 !important;
  color: #dc2626 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid #fee2e2 !important;
  white-space: nowrap !important;
}
.vac-card-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease !important;
}
.vac-card-box:hover .vac-card-title {
  color: #1d4ed8 !important;
}

/* Prominent Opening and Closing Dates Banner */
.vac-card-dates-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin: 10px 0 14px !important;
  gap: 8px !important;
}
.vac-date-col {
  display: flex !important;
  flex-direction: column !important;
}
.vac-date-lbl {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  letter-spacing: 0.02em !important;
}
.vac-date-val {
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 2px !important;
  line-height: 1.25 !important;
}
.vac-date-val.vac-date-urgent {
  color: #dc2626 !important;
}
.vac-date-sep {
  font-size: 1.2rem !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

.vac-card-info-chips {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-bottom: 16px !important;
  flex: 1 !important;
}
.vac-chip {
  font-size: 0.72rem !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.vac-card-footer {
  display: block !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 13px !important;
  margin-top: 8px !important;
}
.vac-card-btn-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}
.vac-btn-apply {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #4338ca 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.01em !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-sizing: border-box !important;
}
.vac-btn-apply:hover {
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 100%) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4) !important;
  color: #ffffff !important;
}
.vac-btn-apply:active {
  transform: translateY(0) !important;
}
.vac-btn-sub-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
}
.vac-btn-sub-row > button {
  flex: 1 1 0px !important;
  min-width: 78px !important;
}
.vac-btn-cal {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  padding: 8px 4px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
.vac-btn-cal:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-1px) !important;
}
.vac-btn-cal.is-scheduled {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border-color: #6ee7b7 !important;
  font-weight: 700 !important;
}
.vac-btn-bookmark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  padding: 8px 4px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
.vac-btn-bookmark:hover {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
  transform: translateY(-1px) !important;
}
.vac-btn-bookmark.is-bookmarked {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #f59e0b !important;
  font-weight: 700 !important;
}
.vac-btn-wa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 8px 4px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
.vac-btn-wa .vac-wa-svg {
  color: #25D366 !important;
  fill: #25D366 !important;
  transition: transform 0.2s ease, fill 0.2s ease !important;
}
.vac-btn-wa:hover {
  background: #25D366 !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
  transform: translateY(-1px) !important;
}
.vac-btn-wa:hover .vac-wa-svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  transform: scale(1.12) !important;
}
.vac-btn-icon {
  flex-shrink: 0 !important;
}

/* Vacancy Dynamic Countdown Badge Urgency Styles */
.vac-badge-urgent {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: 1px solid #fca5a5 !important;
  font-weight: 800 !important;
}
.vac-badge-warning {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
  font-weight: 700 !important;
}
.vac-badge-open {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  font-weight: 700 !important;
}
.vac-badge-expired {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
}

.vac-bulletin-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.vac-footer-tip {
  font-size: 0.84rem !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.vac-footer-btn {
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  color: var(--primary, #1d4ed8) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.vac-footer-btn:hover {
  text-decoration: underline !important;
}


/* ============================================================
   SHARED BULLET BOARD STYLES FOR TOOLS, NEWS & VACANCIES
   ============================================================ */
.tools-bulletin-box,
.news-bulletin-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 32px -10px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  margin-top: 24px !important;
}

.tools-bulletin-controls,
.news-bulletin-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 24px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
}

.tools-bulletin-footer,
.news-bulletin-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 24px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.tool-tabs-row {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.tool-filter-btn {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 8px 16px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  user-select: none !important;
}

.tool-filter-btn:hover {
  color: #0f172a !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

.tool-filter-btn.active {
  background: linear-gradient(135deg, #4338ca, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28) !important;
}

/* ============================================================
   ULTRA-PREMIUM SEARCH BOX SYSTEM (ALL SECTIONS & CONTROLS)
   ============================================================ */

.tool-search-wrap,
.vac-search-wrap,
.qsn-search-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex: 1 1 340px !important;
  max-width: 440px !important;
  min-width: 250px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 768px) {
  .tool-search-wrap,
  .vac-search-wrap,
  .qsn-search-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }
}

.tool-search-input,
.vac-search-input,
.qsn-search-box,
.blog-search-input {
  width: 100% !important;
  height: 46px !important;
  padding: 0 44px 0 44px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9999px !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  outline: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tool-search-input::placeholder,
.vac-search-input::placeholder,
.qsn-search-box::placeholder,
.blog-search-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 450 !important;
}

.tool-search-input:hover,
.vac-search-input:hover,
.qsn-search-box:hover,
.blog-search-input:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
}

.tool-search-input:focus,
.vac-search-input:focus,
.qsn-search-box:focus,
.blog-search-input:focus {
  border-color: #1d4ed8 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16), 0 8px 24px -4px rgba(99, 102, 241, 0.12) !important;
}

.tool-search-icon,
.vac-search-icon,
.qsn-search-lens,
.blog-search-icon {
  position: absolute !important;
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 1rem !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
  line-height: 1 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1 !important;
}

.tool-search-wrap:focus-within .tool-search-icon,
.vac-search-wrap:focus-within .vac-search-icon,
.qsn-search-container:focus-within .qsn-search-lens,
.blog-search-box:focus-within .blog-search-icon {
  color: #1d4ed8 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Instant Clear (✕) Button */
.tool-search-clear,
.search-clear-btn {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  z-index: 2 !important;
}

.tool-search-clear:hover,
.search-clear-btn:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

.tool-search-wrap.has-value .tool-search-clear,
.vac-search-wrap.has-value .search-clear-btn {
  display: flex !important;
}

.tool-search-wrap.has-value .search-kbd-pill,
.vac-search-wrap.has-value .search-kbd-pill {
  display: none !important;
}

/* Keyboard shortcut hint badge (Ctrl+K or /) */
.search-kbd-pill {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  padding: 2px 7px !important;
  font-family: ui-monospace, SFMono-Regular, monospace !important;
  cursor: pointer !important;
  user-select: none !important;
  pointer-events: auto !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.18s ease !important;
  z-index: 1 !important;
}

.search-kbd-pill:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.tool-search-wrap:focus-within .search-kbd-pill,
.vac-search-wrap:focus-within .search-kbd-pill,
.qsn-search-container:focus-within .search-kbd-pill,
.blog-search-box:focus-within .search-kbd-pill {
  opacity: 0.45 !important;
}

@media (max-width: 640px) {
  .search-kbd-pill {
    display: none !important;
  }
  .tool-search-input,
  .vac-search-input,
  .qsn-search-box,
  .blog-search-input {
    height: 48px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
    padding: 0 40px 0 42px !important;
  }
}

/* Dedicated Search Page Box (/search/) */
.search-box#searchForm {
  display: flex !important;
  align-items: center !important;
  max-width: 680px !important;
  margin: 24px auto !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 6px 6px 6px 16px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  transition: all 0.25s ease !important;
}

.search-box#searchForm:focus-within {
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 4px rgba(108, 76, 245, 0.15), 0 8px 28px rgba(108, 76, 245, 0.12) !important;
}

.search-box#searchForm input#searchInput {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background: transparent !important;
  padding: 10px 8px !important;
}

.search-box#searchForm button[type="submit"] {
  padding: 10px 24px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}



/* ============================================================
   PREMIER FULL BOX DESIGN SYSTEM (ALL HOMEPAGE SECTIONS)
   ============================================================ */
.full-board-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 32px -10px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  margin: 32px auto 0 !important;
  position: relative !important;
  max-width: 1180px !important;
}

.full-board-accent-purple {
  height: 4px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #1d4ed8, #a855f7, #3b82f6) !important;
}

.full-board-accent-blue {
  height: 4px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #0284c7, #06b6d4, #1d4ed8) !important;
}

.full-board-accent-emerald {
  height: 4px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #10b981, #059669, #1d4ed8) !important;
}

.full-board-accent-amber {
  height: 4px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #f59e0b, #d97706, #ef4444) !important;
}

.full-board-header {
  padding: 34px 28px 24px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 640px) {
  .full-board-header { padding: 22px 14px 18px !important; }
}

.full-board-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.full-board-title {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .full-board-title { font-size: 1.35rem !important; margin-bottom: 6px !important; }
}

.full-board-desc {
  font-size: 0.95rem !important;
  color: #64748b !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
  max-width: 780px !important;
  text-align: center !important;
}

@media (max-width: 640px) {
  .full-board-desc { font-size: 0.85rem !important; line-height: 1.5 !important; }
}

/* ============================================================
   PRO STAT CHIPS ROW & CHIPS (UNIVERSAL SAAS CONTAINER LOOK)
   ============================================================ */
.pro-stat-row,
.quiz-stat-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 16px auto 0 !important;
  max-width: 900px !important;
  width: 100% !important;
}

.pro-stat-chip,
.quiz-stat-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  padding: 6px 15px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.pro-stat-chip:hover,
.quiz-stat-chip:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px) !important;
}

.pro-stat-chip svg,
.quiz-stat-chip svg {
  flex-shrink: 0 !important;
}

.pro-stat-chip strong,
.quiz-stat-chip strong {
  font-weight: 800 !important;
  color: #0f172a !important;
}

/* Themed Chip Variants */
.pro-stat-chip.chip-purple,
.quiz-stat-chip.chip-purple {
  background: rgba(108, 76, 245, 0.05) !important;
  border-color: rgba(108, 76, 245, 0.18) !important;
  color: #5b21b6 !important;
}
.pro-stat-chip.chip-purple svg,
.quiz-stat-chip.chip-purple svg {
  color: #1d4ed8 !important;
}

.pro-stat-chip.chip-blue,
.quiz-stat-chip.chip-blue {
  background: rgba(2, 132, 199, 0.05) !important;
  border-color: rgba(2, 132, 199, 0.18) !important;
  color: #0369a1 !important;
}
.pro-stat-chip.chip-blue svg,
.quiz-stat-chip.chip-blue svg {
  color: #0284c7 !important;
}

.pro-stat-chip.chip-emerald,
.quiz-stat-chip.chip-emerald {
  background: rgba(16, 185, 129, 0.05) !important;
  border-color: rgba(16, 185, 129, 0.18) !important;
  color: #15803d !important;
}
.pro-stat-chip.chip-emerald svg,
.quiz-stat-chip.chip-emerald svg {
  color: #10b981 !important;
}

.pro-stat-chip.chip-amber,
.quiz-stat-chip.chip-amber {
  background: rgba(245, 158, 11, 0.05) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
  color: #b45309 !important;
}
.pro-stat-chip.chip-amber svg,
.quiz-stat-chip.chip-amber svg {
  color: #d97706 !important;
}

@media (max-width: 640px) {
  .pro-stat-row,
  .quiz-stat-row {
    gap: 6px !important;
    margin-top: 12px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    padding: 2px 4px 4px !important;
  }
  .pro-stat-row::-webkit-scrollbar,
  .quiz-stat-row::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .pro-stat-chip,
  .quiz-stat-chip {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

.full-board-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 32px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
}

@media (max-width: 640px) {
  .full-board-controls { padding: 12px 18px !important; }
}

.full-board-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 32px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

@media (max-width: 640px) {
  .full-board-footer { padding: 16px 18px !important; }
}


/* ============================================================
   GLOBAL STRICT HEADER NAV CONSISTENCY (NO UPPERCASE, 0.92rem)
   ============================================================ */
header.site-header .header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1360px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (min-width: 981px) {
  header.site-header .main-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }

  header.site-header .main-nav a,
  header.site-header .nav-link-item,
  header.site-header .nav-dropdown-btn,
  .main-nav a,
  .nav-link-item,
  .nav-dropdown-btn {
    text-transform: none !important;
    font-size: 0.90rem !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
    color: #334155 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 7px 10px !important;
    line-height: 1.3 !important;
  }

  header.site-header .main-nav a:hover,
  header.site-header .nav-link-item:hover,
  header.site-header .nav-dropdown-btn:hover {
    color: var(--primary, #1d4ed8) !important;
    background: #f1f5f9 !important;
  }

  header.site-header .main-nav a.active,
  header.site-header .nav-link-item.active {
    color: var(--primary, #1d4ed8) !important;
    font-weight: 700 !important;
  }

  header.site-header .btn-nav-cta,
  header.site-header .main-nav a.nav-cta,
  .btn-nav-cta {
    text-transform: none !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #1d4ed8, #00b4d8) !important;
  }
}

@media (min-width: 981px) {
  header.site-header .header-row {
    max-width: 100% !important;
    padding: 0 16px !important;
    gap: 12px !important;
  }
  header.site-header .main-nav {
    justify-content: flex-end !important;
    gap: 3px !important;
    flex-wrap: nowrap !important;
  }
  header.site-header .main-nav a,
  header.site-header .nav-link-item {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  header.site-header .nav-actions {
    margin-left: 4px !important;
    flex-shrink: 0 !important;
  }
  header.site-header .btn-nav-cta {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1361px) {
  header.site-header .header-row {
    max-width: 1440px !important;
  }
  header.site-header .main-nav {
    gap: 6px !important;
  }
  header.site-header .main-nav a,
  header.site-header .nav-link-item {
    padding: 7px 12px !important;
    font-size: 0.90rem !important;
  }
  header.site-header .btn-nav-cta {
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
  }
}

@media (max-width: 1360px) and (min-width: 1181px) {
  header.site-header .main-nav {
    gap: 2px !important;
  }
  header.site-header .main-nav a,
  header.site-header .nav-link-item {
    padding: 6px 8px !important;
    font-size: 0.83rem !important;
  }
  header.site-header .pulse-badge {
    padding: 2px 5px !important;
    font-size: 0.65rem !important;
  }
  header.site-header .btn-nav-cta {
    padding: 7px 13px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 1180px) and (min-width: 1041px) {
  header.site-header .brand-text {
    font-size: 1.25rem !important;
  }
  header.site-header .brand-sub {
    font-size: 0.62rem !important;
  }
  header.site-header .main-nav {
    gap: 2px !important;
  }
  header.site-header .main-nav a,
  header.site-header .nav-link-item {
    padding: 5px 6px !important;
    font-size: 0.78rem !important;
  }
  header.site-header .pulse-badge {
    padding: 1px 4px !important;
    font-size: 0.62rem !important;
  }
  header.site-header .btn-nav-cta {
    padding: 6px 11px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 1040px) and (min-width: 981px) {
  header.site-header .brand-text {
    font-size: 1.15rem !important;
  }
  header.site-header .brand-sub {
    display: none !important;
  }
  header.site-header .main-nav {
    gap: 1px !important;
  }
  header.site-header .main-nav a,
  header.site-header .nav-link-item {
    padding: 4px 5px !important;
    font-size: 0.73rem !important;
  }
  header.site-header .pulse-badge {
    padding: 1px 3px !important;
    font-size: 0.60rem !important;
  }
  header.site-header .btn-nav-cta {
    padding: 5px 9px !important;
    font-size: 0.74rem !important;
  }
}


/* ============================================================
   MOBILE VIEW FIXES (TOOLS DROPDOWN OVERFLOW & BLOG SEARCH SVG)
   ============================================================ */

/* 1. Fix Giant SVG Search Icon on /blog/ */
.blog-search-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 780px !important;
  margin: 0 auto 32px !important;
  padding: 0 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.blog-search-box {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.blog-search-box:focus-within {
  border-color: var(--primary, #1d4ed8) !important;
  box-shadow: 0 0 0 3px rgba(108, 76, 245, 0.15) !important;
}

.blog-search-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  color: #94a3b8 !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.blog-search-input {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  padding: 4px 0 !important;
  font-size: 0.95rem !important;
  background: transparent !important;
  color: #0f172a !important;
  box-shadow: none !important;
  width: 100% !important;
}

.blog-search-clear {
  background: #f1f5f9 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  color: #64748b !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.blog-filter-pills {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-top: 14px !important;
}

.filter-pill {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.filter-pill:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
}

.filter-pill.active {
  background: var(--primary, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: var(--primary, #1d4ed8) !important;
}

.blog-results-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 14px !important;
  font-size: 0.88rem !important;
  color: #64748b !important;
  padding: 0 4px !important;
  width: 100% !important;
  max-width: 580px !important;
  box-sizing: border-box !important;
}

@media (max-width: 991px) {
  .site-header {
    backdrop-filter: none !important;
  }
  .header-row {
    position: static !important;
  }
  
  .main-nav {
    width: min(300px, 80vw) !important;
    max-width: 300px !important;
    right: auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .nav-dropdown {
    width: 100% !important;
    position: relative !important;
    margin: 4px 0 !important;
  }

  .nav-dropdown-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
  }

  .nav-dropdown-menu,
  .nav-dropdown-menu.nav-dropdown-menu-wide {
    position: static !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px !important;
    margin: 6px 0 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .dropdown-divider-v {
    display: none !important;
  }

  .dropdown-group {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .dropdown-group-title {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #64748b !important;
    padding: 4px 6px !important;
    text-transform: uppercase !important;
  }

  .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .dropdown-item-info {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  .dropdown-item-title {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  .dropdown-item-desc {
    font-size: 0.72rem !important;
    color: #64748b !important;
  }
}

/* 3. Mobile UI Polish: Horizontal Chip Scrollers & Responsive Box Spacing */
@media (max-width: 768px) {
  .tool-tabs-row,
  .news-filter-pills,
  .vac-tabs-row,
  .tool-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 2px 2px 6px !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .tool-tabs-row::-webkit-scrollbar,
  .news-filter-pills::-webkit-scrollbar,
  .vac-tabs-row::-webkit-scrollbar,
  .tool-tabs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .tool-filter-btn,
  .news-pill-btn,
  .vac-tab-btn,
  .tool-tabs .tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
  }

  .tools-showcase-grid,
  .vacancies-showcase-grid {
    padding: 14px 10px 18px !important;
    gap: 10px !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Blog category pills (/blog/) — wrap neatly in 2-3 compact rows on mobile
     so that ALL 6 categories are 100% visible, fully readable, and easily clickable
     without any horizontal clipping, cut off text, or hidden overflow. */
  .blog-filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    justify-content: center !important;
    gap: 7px 5px !important;
    padding: 4px 2px !important;
    margin: 12px 0 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .filter-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.78rem !important;
    padding: 6px 11px !important;
    border-radius: 99px !important;
    line-height: 1.3 !important;
  }
  .blog-results-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .news-cards-grid,
  .vac-bulletin-grid,
  .vac-cards-grid {
    padding: 16px 12px !important;
    gap: 14px !important;
    grid-template-columns: 1fr !important;
  }
  .tool-showcase-card {
    padding: 18px 10px 14px !important;
    border-radius: 16px !important;
  }
  .tools-hub-section {
    padding: 6px 0 24px !important;
  }
  .full-board-box {
    border-radius: 18px !important;
    margin: 8px 0 0 !important;
  }
  .full-board-header {
    padding: 16px 14px 12px !important;
  }
  .full-board-title {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
  .full-board-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .full-board-controls {
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .full-board-footer {
    padding: 14px 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .vac-footer-tip {
    font-size: 0.8rem !important;
  }
  .vac-footer-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 9px 12px !important;
    background: #f1f5f9 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  /* Mobile Exam Countdown Horizontal Carousel */
  .exam-cd-banner {
    padding: 8px 0 10px !important;
  }
  .exam-cd-active {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 10px !important;
    padding: 2px 14px 6px !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin: 0 -14px !important;
  }
  .exam-cd-active::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .exam-card-multi {
    flex: 0 0 88% !important;
    max-width: 330px !important;
    min-width: 250px !important;
    scroll-snap-align: center !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .exam-card-title {
    font-size: 0.86rem !important;
    margin-bottom: 6px !important;
  }
  .exam-timer-box span {
    font-size: 1rem !important;
  }
  .exam-mobile-swipe-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    text-align: center !important;
  }
}

/* ========================================================
   MODERN EXAM COUNTDOWN TICKER STYLES (UNIVERSAL)
   ======================================================== */
.exam-cd-banner {
  background: linear-gradient(135deg, #090e1a 0%, #0f172a 60%, #172554 100%) !important;
  color: #fff !important;
  padding: 22px 20px !important;
  margin: 36px auto 12px !important;
  border-radius: 20px !important;
  max-width: 1180px !important;
  border: 1px solid rgba(108, 76, 245, 0.35) !important;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.28) !important;
  position: relative !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}
@media (max-width: 1220px) {
  .exam-cd-banner {
    margin: 28px 16px 10px !important;
    border-radius: 16px !important;
  }
}
@media (max-width: 768px) {
  .exam-cd-banner {
    margin: 20px 10px 8px !important;
    padding: 14px 10px !important;
  }
}
.exam-cd-active {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
}
.exam-card-multi {
  flex: 1 1 290px !important;
  max-width: 380px !important;
  min-width: 260px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}
.exam-card-multi:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
.exam-card-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}
.exam-card-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}
.exam-live-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 6px #38bdf8 !important;
  animation: pulseDot 2s infinite ease-in-out !important;
}
.exam-card-link {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #1d4ed8, #4f46e5) !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  text-decoration: none !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.exam-card-link:hover {
  opacity: 0.9 !important;
  transform: translateX(2px) !important;
}
.exam-card-title {
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.exam-card-timer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.exam-timer-box {
  flex: 1 !important;
  text-align: center !important;
  min-width: 36px !important;
}
.exam-timer-box span {
  display: block !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
  font-family: 'JetBrains Mono', monospace, sans-serif !important;
  line-height: 1.1 !important;
}
.exam-timer-box small {
  font-size: 0.54rem !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
.exam-timer-box-sec span {
  color: #38bdf8 !important;
}
.exam-timer-sep {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.25) !important;
  margin-bottom: 8px !important;
}
.exam-mobile-swipe-hint {
  display: none;
}

/* Re-assert the mobile horizontal carousel behaviour.
   The "UNIVERSAL" block above uses unscoped !important rules that were
   winning the cascade over the earlier @media (max-width:768px) carousel
   rules (same specificity + !important, later source order wins), which
   is why the countdown cards were wrapping/overlapping instead of
   swiping on mobile. Re-declaring the mobile layout here, after the
   universal block, restores the intended single-card swipe carousel. */
@media (max-width: 768px) {
  .exam-cd-active {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 10px !important;
    padding: 2px 14px 6px !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    width: auto !important;
    margin: 0 -10px !important;
  }
  .exam-cd-active::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .exam-card-multi {
    flex: 0 0 88% !important;
    max-width: 330px !important;
    min-width: 250px !important;
    scroll-snap-align: center !important;
    padding: 10px 12px !important;
  }
  .exam-card-title {
    font-size: 0.86rem !important;
    white-space: normal !important;
    margin-bottom: 6px !important;
  }
  .exam-timer-box span {
    font-size: 1rem !important;
  }
  .exam-mobile-swipe-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    text-align: center !important;
  }
}

/* extra-tools.css sets `.exam-cd-banner .wrap { display:flex; ... }` with
   no !important. That wrap div holds the heading row, the fallback text,
   the active cards container, and the swipe hint as direct children — as
   a flex row (the default direction) those get placed side-by-side
   instead of stacking, which is what was causing the heading and the
   first exam card to overlap. Force it back to a normal block stack. */
.exam-cd-banner .wrap {
  display: block !important;
}

/* Hero Date & Time Widget Responsive Styling */
.hero-date-widget {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 32px rgba(108, 76, 245, 0.08);
  text-align: left;
}
.hero-date-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-date-val {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 2px;
  line-height: 1.2;
}
.hero-date-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}
.hero-date-divider {
  height: 42px;
  width: 1px;
  background: #e2e8f0;
}

@media (max-width: 640px) {
  .hero-date-widget {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .hero-date-val {
    font-size: 1.12rem !important;
  }
  .hero-date-label {
    font-size: 0.65rem !important;
  }
}




/* --- Unified Cohesive Floating Controls Ecosystem --- */
/* Right-Side Utility Button Stack (Scroll-to-top, Dark Mode, Notification Bell) */
.lst-floating-btn {
  position: fixed;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(108, 76, 245, 0.2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99992 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lst-floating-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border-color: #cbd5e1;
}

/* --- Floating Action Dock (Right Side Unified Stack) --- */
.lst-floating-dock {
  position: fixed !important;
  bottom: 24px !important;
  right: 20px !important;
  z-index: 99992 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: center !important;
  pointer-events: none !important;
}
.lst-floating-dock > * {
  pointer-events: auto !important;
  position: static !important;
  bottom: auto !important;
  right: auto !important;
}
/* Single Unified Floating Scroll Capsule Pill - Modern Sleek Redesign */
.lst-scroll-pill {
  position: fixed !important;
  right: 14px !important;
  bottom: 74px !important;
  width: 36px !important;
  height: 72px !important;
  border-radius: 9999px !important;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-evenly !important;
  padding: 4px 0 !important;
  box-sizing: border-box !important;
  z-index: 99992 !important;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.25s ease !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.lst-scroll-pill.visible {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}
.lst-pill-arrow-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.18s ease !important;
}
.lst-pill-arrow-btn svg {
  stroke: #ffffff !important;
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.6 !important;
  transition: transform 0.2s ease !important;
}
.lst-pill-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  transform: scale(1.12) !important;
}
.lst-pill-arrow-btn:active {
  transform: scale(0.9) !important;
  background: rgba(255, 255, 255, 0.35) !important;
}
.lst-pill-divider {
  width: 14px !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.25) !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}
@media (min-width: 769px) {
  .lst-scroll-pill {
    bottom: 30px !important;
    right: 24px !important;
    width: 38px !important;
    height: 76px !important;
  }
}

#pushEnableBanner {
  position: fixed !important;
  bottom: 24px !important;
  right: 76px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-width: 320px !important;
  z-index: 99990 !important;
}
@media (max-width: 640px) {
  #pushEnableBanner {
    bottom: 82px !important;
    right: 14px !important;
    left: 14px !important;
    max-width: calc(100vw - 28px) !important;
  }
}

/* 1. Scroll to Top Button (Right Bottom) */
.lst-top-btn {
  bottom: 24px;
  background: linear-gradient(135deg, #7c3aed, #1d4ed8);
  color: #ffffff;
  border: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.85);
  box-shadow: 0 8px 20px rgba(108, 76, 245, 0.38);
}
.lst-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  transition: transform 0.2s ease;
}
.lst-top-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1);
}

/* 2. Theme Toggle Button (Right Middle) */
.lst-theme-btn {
  bottom: 78px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 1.25rem;
}

/* 3. Notification Bell Button (Right Top of stack) */
.lst-bell-btn {
  bottom: 132px;
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid #e2e8f0;
  font-size: 1.22rem;
  position: fixed;
}
.lst-bell-btn.subscribed {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}
.lst-bell-active-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* Dark mode for right-side utility buttons */
body.dark-mode .lst-theme-btn,
body.dark-mode .lst-bell-btn {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}
body.dark-mode .lst-bell-btn.subscribed {
  background: #064e3b !important;
  border-color: #059669 !important;
  color: #34d399 !important;
}

/* --- Left-Side Controls (Loksewa AI Badge & Notice Alert) --- */
.lst-ai-float-badge {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 99995 !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #7c3aed 0%, #1d4ed8 50%, #4f46e5 100%);
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(108, 76, 245, 0.42), 0 2px 6px rgba(15, 23, 42, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: lstAiPulseGlow 3s infinite ease-in-out;
}
.lst-ai-float-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(108, 76, 245, 0.65), 0 0 0 4px rgba(108, 76, 245, 0.2);
  color: #ffffff !important;
}
.lst-ai-float-badge:active {
  transform: translateY(-1px) scale(0.98);
}
.lst-ai-float-flash {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  animation: lstAiFlashBounce 2s infinite ease-in-out;
}
.lst-ai-float-sparkle {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
}
.lst-ai-float-label {
  line-height: 1;
  white-space: nowrap;
}

/* Urgent Notice Button: Stacked neatly above AI badge on left */
#floatingNoticeBtn, .lst-notice-floating-btn {
  position: fixed !important;
  bottom: 78px !important;
  left: 20px !important;
  z-index: 99990 !important;
}

@keyframes lstAiPulseGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(108, 76, 245, 0.42), 0 2px 6px rgba(15, 23, 42, 0.1);
  }
  50% {
    box-shadow: 0 10px 28px rgba(108, 76, 245, 0.68), 0 0 0 6px rgba(124, 58, 237, 0.22);
  }
}

@keyframes lstAiFlashBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.22) rotate(-8deg); }
  50% { transform: scale(1) rotate(0deg); }
  75% { transform: scale(1.15) rotate(6deg); }
}

/* Responsive Mobile Layout (<= 768px) */
@media (max-width: 768px) {
  .lst-floating-dock,
  #lstFloatingDock {
    bottom: 74px !important;
    right: 16px !important;
    z-index: 99995 !important;
  }
  .lst-floating-btn {
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
  .lst-top-btn,
  #lstScrollTopBtn {
    bottom: 74px !important;
  }
  .lst-theme-btn {
    bottom: 122px;
  }
  .lst-bell-btn {
    bottom: 170px;
  }

  .lst-ai-float-badge {
    bottom: 74px;
    left: 14px;
    padding: 8px 13px;
    font-size: 0.8rem;
    gap: 5px;
  }
  .lst-ai-float-badge.is-cv-page {
    bottom: 74px !important;
    left: 12px !important;
    z-index: 100000 !important;
  }
  .lst-ai-float-flash {
    font-size: 0.95rem;
  }

  #floatingNoticeBtn, .lst-notice-floating-btn {
    bottom: 122px !important;
    left: 14px !important;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 64px !important;
  }
}

/* Suppress Loksewa AI on homepage and CV Maker */
body.home-page .lst-ai-float-badge,
body.home-page #lstAiFloatingBadge,
body.is-cv-page .lst-ai-float-badge,
body.is-cv-page #lstAiFloatingBadge,
body.cv-maker-page .lst-ai-float-badge,
body.cv-maker-page #lstAiFloatingBadge,
.lst-ai-float-badge.is-cv-page {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Suppress generic mobile bottom nav on CV Maker page so CV action tabs have full space */
body.is-cv-page .mobile-bottom-nav,
body.cv-maker-page .mobile-bottom-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Sticky Mobile Bottom Navigation across all pages */
.mobile-bottom-nav {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  height: 58px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
  padding: 0 4px !important;
  align-items: center !important;
  justify-content: space-around !important;
}

@media (max-width: 980px) {
  .mobile-bottom-nav {
    display: flex !important;
  }
  body:not(.is-cv-page):not(.cv-maker-page) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 981px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

.bottom-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  text-decoration: none !important;
  color: #64748b !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: #1d4ed8 !important;
}

.bottom-nav-icon {
  font-size: 1.15rem !important;
  line-height: 1 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lst-bottom-vac-badge {
  position: absolute !important;
  top: -4px !important;
  right: -11px !important;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  font-size: 0.52rem !important;
  font-weight: 900 !important;
  padding: 1px 4.5px !important;
  border-radius: 99px !important;
  line-height: 1 !important;
  letter-spacing: 0.3px !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45) !important;
  animation: lstNavVacPulse 2s infinite ease-in-out !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

@keyframes lstNavVacPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22);
  }
}

/* Floating Vacancy Circle Widget is responsive on both Mobile and Desktop */
@media (max-width: 768px) {
  /* Legacy elements fallback */
  .lst-vac-widget-card-legacy {
    display: none !important;
  }
}

@media print {
  .lst-floating-btn,
  .lst-ai-float-badge,
  #floatingNoticeBtn {
    display: none !important;
  }
}

/* --- Dark Reading Mode (रात्रिकालीन अध्ययन मोड) --- */
[data-theme="dark"], body.dark-mode {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
}
[data-theme="dark"] .site-header,
body.dark-mode .site-header {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid #1e293b !important;
}
[data-theme="dark"] .brand-text,
body.dark-mode .brand-text {
  color: #f8fafc !important;
}
[data-theme="dark"] .nav-link-item,
body.dark-mode .nav-link-item {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .tool-card,
body.dark-mode .tool-card,
[data-theme="dark"] .note-card,
body.dark-mode .note-card,
[data-theme="dark"] .ebook-modal-box,
body.dark-mode .ebook-modal-box,
[data-theme="dark"] .photo-modal-box,
body.dark-mode .photo-modal-box,
[data-theme="dark"] .sitemap-group-card,
body.dark-mode .sitemap-group-card {
  background: #151e2e !important;
  border-color: #243044 !important;
  color: #f1f5f9 !important;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 {
  color: #f8fafc !important;
}
[data-theme="dark"] p, body.dark-mode p {
  color: #cbd5e1 !important;
}
[data-theme="dark"] .notes-filter-btn,
body.dark-mode .notes-filter-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}
[data-theme="dark"] .notes-filter-btn.active,
body.dark-mode .notes-filter-btn.active {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}
[data-theme="dark"] .lst-theme-btn {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
[data-theme="dark"] .site-footer,
body.dark-mode .site-footer {
  background: #070a12 !important;
  border-top-color: #1e293b !important;
}

/* =========================================================
   DAILY QUESTION OF THE DAY WIDGET (HERO COMPANION)
   ========================================================= */
.daily-question-card {
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  border-radius: 18px;
  padding: 24px 28px;
  margin: 24px auto 16px;
  max-width: 1000px;
  box-shadow: 0 4px 20px rgba(108, 76, 245, 0.06);
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fbfbfe 100%);
  box-sizing: border-box;
}
.daily-q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.daily-q-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.daily-q-pill {
  background: #fef3c7;
  color: #b45309;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid #fde68a;
  letter-spacing: 0.02em;
}
.daily-q-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 6px;
}
.daily-q-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.daily-q-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
  margin: 0 0 18px;
  font-family: 'Fraunces', serif;
}
.daily-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .daily-options-grid { grid-template-columns: 1fr; }
}
.daily-opt-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.18s ease;
  width: 100%;
}
.daily-opt-btn:hover:not(:disabled) {
  border-color: #1d4ed8;
  background: #f5f3ff;
  transform: translateY(-1px);
}
.daily-opt-letter {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #475569;
  flex-shrink: 0;
}
.daily-opt-text { flex: 1; font-weight: 600; }
.daily-opt-status { font-size: 0.82rem; font-weight: 800; }
.daily-opt-btn.correct {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
}
.daily-opt-btn.correct .daily-opt-letter {
  background: #10b981;
  color: #ffffff;
}
.daily-opt-btn.wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}
.daily-opt-btn.wrong .daily-opt-letter {
  background: #ef4444;
  color: #ffffff;
}
.daily-opt-btn.unselected {
  opacity: 0.6;
}
.daily-explanation-box {
  background: #f8fafc;
  border-left: 4px solid #1d4ed8;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 18px;
  animation: fadeIn 0.3s ease;
}
.daily-exp-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #4f46e5;
  margin-bottom: 4px;
}
.daily-exp-text {
  font-size: 0.9rem;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}
/* --- Modern Professional Daily Actions Grid --- */
.daily-actions-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.daily-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.daily-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}
.daily-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.daily-action-btn .action-icon {
  font-size: 1rem;
  line-height: 1;
}
.daily-action-btn.daily-action-push {
  background: #eff6ff;
  border-color: #ddd6fe;
  color: #5b21b6;
}
.daily-action-btn.daily-action-push:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
.daily-action-btn.daily-action-mock:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}
.daily-action-btn.daily-action-papers:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

/* Reset & Next Question Controls inside explanation */
.daily-exp-reset-wrap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-daily-reset {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-daily-reset:hover {
  background: #f1f5f9;
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.btn-daily-next {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  border: 1px solid #4338ca;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(108, 76, 245, 0.25);
}
.btn-daily-next:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #3730a3 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 76, 245, 0.4);
}
.btn-change-question {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.btn-change-question:hover {
  background: #f5f3ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(108, 76, 245, 0.15);
}
.btn-change-question:active,
.btn-daily-next:active,
.btn-daily-reset:active {
  transform: scale(0.97);
}

@media (max-width: 640px) {
  .daily-actions-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .daily-action-btn {
    padding: 11px 16px;
    font-size: 0.88rem;
    justify-content: center;
  }
}

/* --- Question Bookmark & Study Streak Controls --- */
.btn-quiz-bookmark {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
  margin-bottom: 8px;
}
.btn-quiz-bookmark:hover {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.btn-quiz-bookmark.active {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
}
.btn-quiz-bookmark-sm {
  transition: transform 0.15s ease;
}
.btn-quiz-bookmark-sm:hover {
  transform: scale(1.2);
}
.lst-study-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   GLOBAL BREAKING NEWS TICKER COMPONENT (Sleek, Compact & Fully Responsive)
   ========================================================================== */
.live-ticker-wrap {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  height: 32px;
  overflow: hidden;
  position: relative;
  z-index: 1001;
  font-family: inherit;
  transition: all 0.25s ease;
  background: #090e17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  box-sizing: border-box;
}

/* Theme 1: Default Sleek Royal Blue */
.live-ticker-wrap.theme-royal-blue {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
.live-ticker-wrap.theme-royal-blue .ticker-badge {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-right: 1px solid #1e40af !important;
}
.live-ticker-wrap.theme-royal-blue .ticker-item {
  color: #0f172a !important;
}
.live-ticker-wrap.theme-royal-blue .ticker-item:hover {
  color: #1d4ed8 !important;
}
.live-ticker-wrap.theme-royal-blue .ticker-sep {
  color: #94a3b8 !important;
}
.live-ticker-wrap.theme-royal-blue .ticker-ctrl-btn {
  color: #475569 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

/* Theme 2: Dark Crimson */
.live-ticker-wrap.theme-dark-crimson {
  background: #0b0d14;
  border-bottom: 1px solid rgba(225, 29, 72, 0.3);
  color: #e2e8f0;
}
.live-ticker-wrap.theme-dark-crimson .ticker-badge {
  background: rgba(225, 29, 72, 0.18);
  color: #fb7185;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.live-ticker-wrap.theme-dark-crimson .ticker-item {
  color: #e2e8f0;
}
.live-ticker-wrap.theme-dark-crimson .ticker-sep {
  color: rgba(244, 63, 94, 0.4);
}

/* Theme 3: Clean Light */
.live-ticker-wrap.theme-clean-light {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}
.live-ticker-wrap.theme-clean-light .ticker-badge {
  background: #fee2e2;
  color: #dc2626;
  border-right: 1px solid #e2e8f0;
}
.live-ticker-wrap.theme-clean-light .ticker-item {
  color: #334155;
}
.live-ticker-wrap.theme-clean-light .ticker-item:hover {
  color: #0f172a !important;
}
.live-ticker-wrap.theme-clean-light .ticker-sep {
  color: #cbd5e1;
}
.live-ticker-wrap.theme-clean-light .ticker-ctrl-btn {
  color: #1e40af;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

/* Badge */
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  padding: 0 14px;
  height: 100%;
  flex-shrink: 0;
  z-index: 3;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.ticker-pulse-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
  animation: pulseTickerDot 1.4s infinite ease-in-out;
  display: inline-block;
}
@keyframes pulseTickerDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Marquee Track */
.ticker-track-container {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeTicker 88s linear infinite;
  will-change: transform;
}
.ticker-track.paused,
.ticker-track-container:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marqueeTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Items & Category Badges */
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  padding: 0 10px;
  font-size: 0.80rem;
  line-height: 1;
  letter-spacing: 0.1px;
  white-space: nowrap;
  color: #e2e8f0;
  transition: color 0.15s ease;
}
.ticker-item:hover {
  text-decoration: underline;
}
.ticker-tag {
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}
.ticker-tag.tag-psc { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.ticker-tag.tag-econ { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.ticker-tag.tag-intl { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.ticker-tag.tag-nat { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.ticker-sep {
  font-size: 0.85rem;
  padding: 0 6px;
  line-height: 1;
  opacity: 0.4;
  display: inline-block;
}
.ticker-arrow {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-left: 2px;
  display: inline-block;
}
.ticker-ctrl-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0 10px;
  height: 22px;
  border-radius: 4px;
  margin: 0 6px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 3;
  transition: all 0.15s ease;
}
.ticker-ctrl-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
@media (max-width: 640px) {
  .live-ticker-wrap { height: 28px; font-size: 0.76rem; }
  .ticker-badge { padding: 0 8px; font-size: 0.72rem; }
  .ticker-item { font-size: 0.75rem; padding: 0 6px; gap: 5px; }
  .ticker-tag { font-size: 0.62rem; padding: 1.5px 5px; }
  .ticker-ctrl-btn { display: none; }
}



