/*
Theme Name: StitchIt Recruitment
Theme URI: https://stitchit.in
Author: StitchIt Team
Author URI: https://stitchit.in
Description: Premium IT Recruitment Agency Portal — Corporate Modern design for StitchIt Recruitment. Supports job listings, salary guide, insights, and candidate/employer flows.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stitchit
Tags: recruitment, jobs, corporate, custom-menu, featured-images, full-width-template
*/

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --primary: #002b5a;
  --primary-mid: #004182;
  --primary-deep: #001638;
  --cyan: #00cbfe;
  --cyan-dim: #5ed4ff;
  --cyan-glow: rgba(0,203,254,0.12);
  --surface: #f7f9fb;
  --surface-low: #f2f4f6;
  --surface-card: #ffffff;
  --border: #E2E8F0;
  --border-mid: #c3c6d2;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94a3b8;
  --footer-bg: #002052;
  --shadow-card: 0 2px 12px rgba(0,43,90,0.06), 0 0 0 1px rgba(0,43,90,0.04);
  --shadow-hover: 0 12px 40px rgba(0,43,90,0.12), 0 0 0 1px rgba(0,43,90,0.06);
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-mark::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border-radius: 4px;
}

.logo-mark span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
  font-family: 'Playfair Display', serif;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-text em {
  font-style: normal;
  color: var(--cyan);
}

/* Primary Menu */
.primary-menu-wrap { display: flex; align-items: center; }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.primary-menu li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
  color: var(--primary);
}

.primary-menu li.current-menu-item a::after,
.primary-menu li.current_page_item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.mobile-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  font-family: 'DM Sans', sans-serif;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover { background: rgba(0,43,90,0.04); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,43,90,0.2);
}

.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,43,90,0.3);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--primary-deep);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0,203,254,0.3);
}

.btn-cyan:hover {
  background: #00b8e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,203,254,0.4);
}

.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 8px; }

.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: #f0f6ff; transform: translateY(-1px); }

.btn-glass {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
}

.btn-glass:hover { background: rgba(255,255,255,0.14); }

/* ===== SECTION COMMON ===== */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,203,254,0.08);
  border: 1px solid rgba(0,203,254,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 8px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s;
}

.view-all:hover { gap: 10px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001638 0%, #002b5a 40%, #003979 70%, #001a42 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,203,254,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,203,254,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,203,254,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,65,130,0.4) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,203,254,0.12);
  border: 1px solid rgba(0,203,254,0.25);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero h1 em { font-style: italic; color: var(--cyan); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span { color: var(--cyan); }

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ===== SEARCH ===== */
.search-wrap { position: relative; z-index: 10; margin-top: -40px; }

.search-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,43,90,0.14), 0 0 0 1px rgba(0,43,90,0.06);
  padding: 36px 40px;
}

.search-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr 180px 140px;
  gap: 16px;
  align-items: end;
}

.field-group { display: flex; flex-direction: column; gap: 8px; }

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-label .material-symbols-outlined { font-size: 16px; }

.field-input {
  height: 50px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.field-input::placeholder { color: var(--text-light); }
.field-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,43,90,0.08); }

.field-select {
  height: 50px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 36px 0 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 14px center;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  transition: border-color 0.2s;
}

.field-select:focus { border-color: var(--primary); }

.search-btn {
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.search-btn:hover { background: var(--primary-mid); box-shadow: 0 4px 16px rgba(0,43,90,0.3); transform: translateY(-1px); }

.search-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-footer-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

/* ===== JOB LISTINGS ===== */
.jobs-section { padding: 80px 0; }

.jobs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }

.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 92px;
}

.filter-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-clear { font-size: 12px; font-weight: 500; color: var(--cyan); cursor: pointer; text-transform: none; letter-spacing: 0; }

.filter-group { margin-bottom: 24px; }

.filter-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.filter-option { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; cursor: pointer; }

.filter-option-left { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }

.filter-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.filter-checkbox.checked { background: var(--primary); border-color: var(--primary); }
.filter-checkbox.checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); display: block; }

.filter-count { font-size: 11px; color: var(--text-light); background: var(--surface-low); padding: 2px 7px; border-radius: 100px; }
.filter-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ===== JOB CARDS ===== */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }

.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s;
}

.job-card:hover { border-color: rgba(0,43,90,0.15); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.job-card:hover::before { background: var(--cyan); }

.job-card.featured { background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%); border-color: rgba(0,65,130,0.15); }
.job-card.featured::before { background: var(--primary); }

.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.job-card-left { display: flex; align-items: flex-start; gap: 16px; }

.company-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--surface-low);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--primary);
  flex-shrink: 0;
}

.job-meta { flex: 1; }
.job-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; letter-spacing: -0.01em; }
.job-company { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.job-badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-featured { background: rgba(0,203,254,0.1); color: #0077a8; border: 1px solid rgba(0,203,254,0.3); }
.badge-new { background: rgba(16,185,129,0.1); color: #0d6b4e; border: 1px solid rgba(16,185,129,0.25); }
.badge-remote { background: rgba(99,102,241,0.1); color: #4338ca; border: 1px solid rgba(99,102,241,0.2); }

.job-card-info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }

.job-info-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.job-info-item .material-symbols-outlined { font-size: 16px; color: var(--text-light); }

.job-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-tag { padding: 4px 12px; background: var(--surface-low); border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--text-muted); }

.job-card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.job-salary { font-size: 16px; font-weight: 700; color: var(--primary); }
.job-salary span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.job-card-btns { display: flex; align-items: center; gap: 10px; }

.btn-icon { width: 38px; height: 38px; border: 1.5px solid var(--border); background: transparent; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--text-muted); }
.btn-icon:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,43,90,0.04); }

.jobs-count { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.jobs-count strong { color: var(--primary); }

/* ===== AI BANNER ===== */
.ai-banner {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  position: relative;
  margin-bottom: 80px;
}

.ai-banner::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,203,254,0.15) 0%, transparent 70%); }

.ai-icon { width: 80px; height: 80px; background: rgba(0,203,254,0.12); border: 1px solid rgba(0,203,254,0.2); border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-icon .material-symbols-outlined { font-size: 36px; color: var(--cyan); }
.ai-content { flex: 1; position: relative; z-index: 1; }
.ai-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-dim); margin-bottom: 10px; }
.ai-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.ai-desc { font-size: 15px; color: rgba(255,255,255,0.65); max-width: 440px; line-height: 1.6; }
.ai-actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }

/* ===== WHAT TO DO ===== */
.what-section { background: var(--surface-low); padding: 80px 0; }
.what-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }

.what-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.what-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.what-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; transition: background 0.3s; }
.what-card:hover::before { background: var(--cyan); }

.what-icon { width: 72px; height: 72px; background: rgba(0,43,90,0.06); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; transition: background 0.3s; }
.what-icon .material-symbols-outlined { font-size: 34px; color: var(--primary); }
.what-card:hover .what-icon { background: rgba(0,203,254,0.1); }
.what-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: -0.01em; }
.what-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

/* ===== INSIGHTS ===== */
.insights-section { padding: 80px 0; }
.insights-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }

.insight-card { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all 0.3s; }
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.insight-img { aspect-ratio: 16/9; background: var(--surface-low); overflow: hidden; position: relative; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.insight-card:hover .insight-img img { transform: scale(1.05); }
.insight-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.insight-featured .insight-img { aspect-ratio: 4/3; }

.insight-cat { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; }

.insight-body { background: #fff; border: 1px solid var(--border); border-top: none; padding: 24px; }
.insight-featured .insight-body { padding: 28px; }

.insight-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; letter-spacing: -0.01em; transition: color 0.2s; }
.insight-card:hover .insight-title { color: var(--primary); }
.insight-featured .insight-title { font-size: 22px; }

.insight-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.insight-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-low); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.author-name { font-size: 13px; font-weight: 600; color: var(--text); }
.author-read { font-size: 12px; color: var(--text-light); }

/* ===== JOB VACANCIES PAGE ===== */
.page-hero {
  background: var(--primary);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,203,254,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,203,254,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px,4vw,52px); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 520px; line-height: 1.6; }

/* ══════════════════════════════════════════════════════
   PAGE HERO — BACKGROUND IMAGES (per-page)
   ══════════════════════════════════════════════════════ */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.22;
}

/* About */
.page-hero--about .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80');
}

/* Accelerated Startups */
.page-hero--startups .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?auto=format&fit=crop&w=1600&q=80');
}

/* AI Talent Mapping */
.page-hero--ai-talent .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1677442135703-1787eea5ce01?auto=format&fit=crop&w=1600&q=80');
}

/* Banking & Fintech */
.page-hero--bfsi .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1600&q=80');
}

/* Careers */
.page-hero--careers .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80');
}

/* Compensation Benchmarking */
.page-hero--comp-bench .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1543286386-713bdd548da4?auto=format&fit=crop&w=1600&q=80');
}

/* Contact */
.page-hero--contact .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1600&q=80');
}

/* Contract Hiring */
.page-hero--contract .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80');
}

/* Executive Search */
.page-hero--exec-search .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=1600&q=80');
}

/* Find a Job */
.page-hero--find-job .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=1600&q=80');
}

/* Gallery */
.page-hero--gallery .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1600&q=80');
}

/* Global Placement */
.page-hero--global .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=1600&q=80');
}

/* Healthcare & Life Sciences */
.page-hero--health .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=80');
}

/* Insights */
.page-hero--insights .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80');
}

/* Leadership */
.page-hero--leadership .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80');
}

/* Management Consulting */
.page-hero--consulting .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80');
}

/* Permanent Staffing */
.page-hero--perm-staff .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1600&q=80');
}

/* Reviews */
.page-hero--reviews .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1600&q=80');
}

/* RPO Solutions */
.page-hero--rpo .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80');
}

/* Services & Industries */
.page-hero--si .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80');
}

/* Technology & IT */
.page-hero--tech .page-hero-bg {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80');
}

.vacancies-wrap { padding: 64px 0; }

.vacancies-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }

.vacancies-sidebar { position: sticky; top: 92px; }

.vacancy-search-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.vacancy-search-box input { width: 100%; height: 46px; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0 16px 0 44px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; position: relative; transition: border-color 0.2s; }
.vacancy-search-box input:focus { border-color: var(--primary); }
.vacancy-search-inner { position: relative; }
.vacancy-search-inner .material-symbols-outlined { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-light); pointer-events: none; }

.vacancies-grid { display: flex; flex-direction: column; gap: 20px; }

.vacancy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.vacancy-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--border); transition: background 0.2s; }
.vacancy-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: rgba(0,43,90,0.12); }
.vacancy-card:hover::before { background: var(--cyan); }
.vacancy-card.urgent::before { background: #ef4444; }

.vacancy-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.vacancy-title { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; margin-bottom: 4px; }
.vacancy-dept { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.vacancy-status { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.status-open { background: rgba(16,185,129,0.1); color: #0d6b4e; border: 1px solid rgba(16,185,129,0.25); }
.status-urgent { background: rgba(239,68,68,0.1); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }
.status-closed { background: var(--surface-low); color: var(--text-muted); border: 1px solid var(--border); }

.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status-open .status-dot { background: #10b981; }
.status-urgent .status-dot { background: #ef4444; animation: pulse 1.5s infinite; }

.vacancy-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.vacancy-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.vacancy-meta-item .material-symbols-outlined { font-size: 16px; color: var(--text-light); }

.vacancy-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vacancy-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.vacancy-salary { font-size: 15px; font-weight: 700; color: var(--primary); }
.vacancy-salary span { font-size: 12px; color: var(--text-light); font-weight: 400; }

.vacancy-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.vacancy-tag { padding: 3px 10px; background: var(--surface-low); border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--text-muted); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-num { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.page-num:hover { border-color: var(--primary); color: var(--primary); }
.page-num.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Vacancy Count Bar */
.vacancy-count-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.vacancy-count { font-size: 14px; color: var(--text-muted); }
.vacancy-count strong { color: var(--primary); font-weight: 700; }

.sort-select { height: 38px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 32px 0 12px; font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; }

/* ===== FOOTER ===== */
.site-footer { background: var(--footer-bg); padding: 64px 0 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }

.footer-brand-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-brand-text em { font-style: italic; color: var(--cyan); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.2s; }
.footer-social:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,203,254,0.06); }
.footer-social .material-symbols-outlined { font-size: 18px; }

.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-designer {
  text-align: center;
  padding: 12px 0 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.footer-designer a {
  color: rgba(0,203,254,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-designer a:hover { color: var(--cyan); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== CANDIDATE HERO — SEARCH-FIRST LAYOUT (Desktop base) ===== */

/* Hero layout: flex column, search card in hero */
.hero-content--search {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 56px;
  gap: 0;
}

/* Compact headline (smaller than full employer hero) */
.hero-title-compact {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 10px;
  max-width: 680px;
}
.hero-title-compact em { font-style: italic; color: var(--cyan); }

/* Subtitle under compact headline */
.hero-sub--compact {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* White card that holds the search form, elevated inside hero */
.search-browse-wrapper {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.14);
  margin-top: 12px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-search-card {
  width: 100%;
  background: #ffffff;
  border-radius: 0;
  padding: 28px 28px 20px;
  box-shadow: none;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Stats row at bottom of hero, glassy style */
.hero-stats--below {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 18px 28px;
}
.hero-stats--below .hero-stat-divider { display: block; }

/* ===== RESPONSIVE ===== */

/* ── Desktop default: hamburger hidden, desktop nav visible ── */
.menu-toggle     { display: none !important; }
.nav-desktop-btn { display: inline-flex; }
.mobile-drawer   { display: none; } /* JS controls this */
.drawer-backdrop { display: none; }

/* FORCE: never show mobile-only elements on desktop */
@media (min-width: 769px) {
  .menu-toggle     { display: none !important; }
  .mobile-drawer   { display: none !important; }
  .drawer-backdrop { display: none !important; }
}

/* ── Tablet ≤1024px ── */
@media (max-width: 1024px) {
  .jobs-layout, .vacancies-layout    { grid-template-columns: 1fr; }
  .filter-sidebar, .vacancies-sidebar { position: static; }
  .search-row    { grid-template-columns: 1fr 1fr; gap: 12px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid .insight-featured { grid-column: 1 / -1; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════
   DRAWER STYLES — position:fixed, always rendered correctly
   ══════════════════════════════════════════════════════ */
.mobile-drawer {
  /* When JS sets display:flex, these kick in */
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 300px !important;
  max-width: 88vw !important;
  background: #fff !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  box-shadow: -6px 0 32px rgba(0,43,90,0.18) !important;
  /* Slide-in animation */
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.mobile-drawer.drawer-open {
  transform: translateX(0) !important;
}

/* Backdrop */
.drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,15,40,0.5) !important;
  z-index: 99998 !important;
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}
.drawer-backdrop.backdrop-visible {
  opacity: 1 !important;
}

/* Drawer top bar */
.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

/* Close button */
.drawer-close {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--surface-low); color: var(--primary); border-color: var(--primary); }
.drawer-close .material-symbols-outlined { font-size: 20px; }

/* Drawer nav links */
.drawer-nav { flex: 1; overflow-y: auto; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav ul li { border-bottom: 1px solid var(--border); }
.drawer-nav ul li:last-child { border-bottom: none; }
.drawer-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.drawer-nav ul li a:hover,
.drawer-nav ul li a:active {
  background: var(--surface-low);
  color: var(--primary);
  padding-left: 26px;
}

/* Drawer CTA buttons */
.drawer-ctas {
  padding: 14px 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  flex-shrink: 0;
}
.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.drawer-btn--primary  { background: var(--primary); color: #fff; border: none; }
.drawer-btn--primary:hover  { background: var(--primary-mid); }
.drawer-btn--cyan     { background: var(--cyan); color: var(--primary-deep); font-weight: 700; border: none; }
.drawer-btn--cyan:hover     { background: #00b8e0; }
.drawer-btn--outline  { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.drawer-btn--outline:hover  { background: rgba(0,43,90,0.04); }
.drawer-btn .material-symbols-outlined { font-size: 18px; }

/* ══════════════════════════════════════════════════════
   MOBILE ≤768px — switch to hamburger nav
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hide desktop nav and CTA buttons */
  .primary-menu-wrap { display: none !important; }
  .nav-desktop-btn   { display: none !important; }
  /* Extra specificity to defeat any inherited styles */
  .site-header .nav-actions .nav-desktop-btn,
  header .nav-desktop-btn { display: none !important; }

  /* Show hamburger */
  .site-header .menu-toggle,
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .site-header .menu-toggle span,
  .menu-toggle span {
    display: block !important;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    pointer-events: none;
  }

  /* Slim header height */
  .nav-inner { height: 60px; }
  .site-header { position: sticky; top: 0; z-index: 1000; }

  /* ── Hero ── */
  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 28px; }
  .hero h1 { font-size: clamp(26px, 7vw, 40px); max-width: 100%; margin-bottom: 14px; }
  .hero-sub { font-size: 15px; max-width: 100%; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Stats: 2×2 grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
  }
  .hero-stat-divider { display: none; }
  .hero-stats > div  { padding: 14px 10px; text-align: center; border: 1px solid rgba(255,255,255,0.08); }
  .hero-stat-num     { font-size: 24px; }
  .hero-stat-label   { font-size: 11px; }

  /* ── Candidate hero with search ── */
  .hero-content--search   { padding-top: 72px; padding-bottom: 28px; }
  .hero-badge             { margin-top: 8px; margin-bottom: 16px; }
  .hero-title-compact     { font-size: clamp(22px, 6.5vw, 30px); margin-bottom: 10px; }
  .hero-sub--compact      { font-size: 14px; margin-bottom: 4px; color: rgba(255,255,255,0.78); }
  .search-browse-wrapper {
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1) !important;
  }
  .hero-search-card {
    padding: 18px 14px 14px;
    border-radius: 0;
    margin: 0;
    background: #ffffff !important;
    box-shadow: none !important;
    position: relative;
    z-index: 2;
  }
  .search-row             { grid-template-columns: 1fr; gap: 10px; }
  /* ensure search-title and labels visible inside white card */
  .hero-search-card .search-title { color: var(--text-muted); font-size: 11px; margin-bottom: 12px; }
  .hero-search-card .field-input,
  .hero-search-card .field-select { background: #fff; color: var(--text); }
  .field-group label[style*="opacity:0"] { display: none !important; }

  .hero-stats--below {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
  }
  .hero-stats--below > div    { padding: 12px 8px; text-align: center; border: 1px solid rgba(255,255,255,0.08); }
  .hero-stats--below .hero-stat-divider { display: none; }

  /* ── Content sections ── */
  .jobs-section, .insights-section, .what-section { padding: 48px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .jobs-list   { gap: 12px; }
  .job-card    { padding: 18px 14px; }
  .job-meta    { flex-wrap: wrap; gap: 8px; }
  .insights-grid { grid-template-columns: 1fr; }
  .what-cards  { grid-template-columns: 1fr; max-width: 100%; }

  /* AI banner */
  .ai-banner  { flex-direction: column; padding: 24px 16px; text-align: center; border-radius: 14px; }
  .ai-icon    { margin: 0 auto; }
  .ai-content { text-align: center; }
  .ai-title   { font-size: 20px; }
  .ai-desc    { font-size: 14px; }
  .ai-actions { flex-direction: column; width: 100%; gap: 10px; }
  .ai-actions .btn { width: 100%; justify-content: center; }

  /* Employer steps */
  .employer-how-section { padding: 48px 0; }
  .employer-steps       { flex-direction: column; gap: 12px; }
  .employer-step-arrow  { transform: rotate(90deg); align-self: center; padding: 4px 0; }
  .employer-step        { padding: 22px 16px; }
  .employer-cta-card    { flex-direction: column; padding: 24px 16px; text-align: center; margin-bottom: 40px; }
  .employer-cta-left    { text-align: center; }
  .employer-cta-card .ai-actions { align-items: center; }

  /* Search card */
  .search-card   { padding: 20px 14px; border-radius: 12px; }
  .search-footer { gap: 6px; }
  .tag           { font-size: 12px; padding: 4px 12px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── Small phones ≤480px ── */
@media (max-width: 480px) {
  .container   { padding: 0 14px; }
  .nav-inner   { height: 56px; }

  .hero h1        { font-size: clamp(22px, 8.5vw, 30px); }
  .hero-sub       { font-size: 14px; }
  .hero-title-compact { font-size: clamp(19px, 7.5vw, 25px); }
  .hero-sub--compact  { font-size: 13px; }

  .field-input, .field-select { height: 46px; font-size: 14px; }
  .search-btn { height: 46px; font-size: 14px; }

  .hero-stats > div,
  .hero-stats--below > div { padding: 12px 6px; }
  .hero-stat-num   { font-size: 20px; }
  .hero-stat-label { font-size: 10px; }

  .job-card { padding: 14px 12px; }
  .job-footer { flex-direction: column; gap: 8px; align-items: flex-start; }
  .job-footer .btn { width: 100%; justify-content: center; }

  .section-title { font-size: 22px; }
  .logo-context-badge { display: none; }
  .vacancy-header { flex-direction: column; gap: 10px; }
  .single-job-layout { grid-template-columns: 1fr; }
  .job-sidebar { position: static; }
}

/* ══════════════════════════════════════════════════════
   EMPLOYER HEADER ACCENT
   ══════════════════════════════════════════════════════ */
.site-header--employer {
  border-bottom-color: rgba(0,203,254,0.2);
  position: relative;
}
/* gradient accent line removed */

/* ══════════════════════════════════════════════════════
   EMPLOYER PAGE SECTIONS
   ══════════════════════════════════════════════════════ */
.employer-how-section {
  padding: 80px 0;
  background: var(--surface);
}
.employer-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.employer-step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.25s;
}
.employer-step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-icon .material-symbols-outlined { font-size: 26px; color: var(--cyan); }
.employer-step h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.employer-step p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.employer-step-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 60px;
  color: var(--border-mid);
  font-size: 24px;
  flex-shrink: 0;
}
.employer-cta-card {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 64px;
  position: relative;
  overflow: hidden;
}
.employer-cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,203,254,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.employer-cta-left { flex: 1; }

/* Logo context badge */
.logo-context-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--primary-deep);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   SCAM ALERT BANNER
   ══════════════════════════════════════════════════ */
.scam-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff3cd;
  border-bottom: 1px solid #f0c040;
  padding: 10px 24px;
  font-size: 13px;
  color: #7a4f00;
  position: relative;
  z-index: 90;
  flex-wrap: wrap;
}
.scam-alert.dismissed { display: none; }
.scam-alert-icon { font-size: 18px; color: #d97706; flex-shrink: 0; }
.scam-alert-text { flex: 1; line-height: 1.5; }
.scam-alert-text a { color: #b45309; font-weight: 600; text-decoration: underline; margin-left: 4px; }
.scam-alert-text a:hover { color: #92400e; }
.scam-alert-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #92400e;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.scam-alert-close:hover { opacity: 1; }
.scam-alert-close .material-symbols-outlined { font-size: 18px; }

/* ══════════════════════════════════════════════════
   BROWSE BAR — Desktop 4 dropdowns
   ══════════════════════════════════════════════════ */
.browse-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 50;
}
.browse-bar-inner {
  display: flex;
  align-items: center;
}

/* Desktop dropdowns: visible on ≥769px */
.browse-dropdowns {
  display: flex;
  align-items: center;
  width: 100%;
}
.browse-mobile-toggle { display: none; }
.browse-mobile-panel  { display: none; }

.browse-dropdown {
  flex: 1;
  position: relative;
  border-right: 1px solid var(--border);
}
.browse-dropdown:last-child { border-right: none; }

.browse-dd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.browse-dd-trigger:hover,
.browse-dd-trigger[aria-expanded="true"] {
  background: var(--surface-low);
  color: var(--primary);
}
.browse-dd-trigger .material-symbols-outlined {
  font-size: 18px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.browse-dd-trigger[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}

/* Dropdown panel */
.browse-dd-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(0,43,90,0.12);
  z-index: 200;
  padding: 8px 0;
  animation: ddFadeIn 0.15s ease;
}
.browse-dd-panel.is-open { display: block; }
@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.browse-dd-panel a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.browse-dd-panel a:hover {
  background: var(--surface-low);
  color: var(--primary);
  padding-left: 26px;
}

/* ══════════════════════════════════════════════════
   BROWSE BAR — Mobile: single button + accordion
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .browse-dropdowns   { display: none; }

  .browse-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01em;
  }
  .browse-mobile-toggle .material-symbols-outlined:first-child { font-size: 20px; color: var(--cyan); }
  .browse-mobile-chevron {
    margin-left: auto;
    font-size: 20px;
    transition: transform 0.22s;
    color: var(--text-muted);
  }
  .browse-mobile-toggle[aria-expanded="true"] .browse-mobile-chevron {
    transform: rotate(180deg);
  }

  .browse-mobile-panel {
    border-top: 1px solid var(--border);
    padding: 4px 0 8px;
  }
  .browse-mobile-panel.is-open { display: block; }

  /* Accordion items */
  .browse-acc-item {
    border-bottom: 1px solid var(--border);
  }
  .browse-acc-item:last-child { border-bottom: none; }
  .browse-acc-item summary {
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
  }
  .browse-acc-item summary::-webkit-details-marker { display: none; }
  .browse-acc-item summary::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.2s;
  }
  .browse-acc-item[open] summary::after {
    transform: rotate(180deg);
  }
  .browse-acc-item[open] summary { color: var(--primary); }
  .browse-acc-links {
    padding: 4px 0 8px;
    background: var(--surface);
  }
  .browse-acc-links a {
    display: block;
    padding: 9px 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
  }
  .browse-acc-links a:hover { color: var(--primary); }
}

/* Mobile scam alert adjustments */
@media (max-width: 768px) {
  .scam-alert { padding: 10px 14px; font-size: 12px; gap: 8px; }
  .scam-alert-text strong { display: block; }
}

/* ============================================
   POST CV SECTION
   ============================================ */
.post-cv-section {
  padding: 0 0 0 0;
  margin-top: -2px;
}
.post-cv-banner {
  background: #0d5c73;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  margin: 32px 0 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  flex-wrap: wrap;
}
.post-cv-icon {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-cv-icon .material-symbols-outlined {
  font-size: 30px;
  color: #fff;
}
.post-cv-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: #8dc63f;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 20px;
  text-transform: uppercase;
}
.post-cv-content {
  flex: 1;
  min-width: 180px;
}
.post-cv-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}
.post-cv-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.post-cv-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.post-cv-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.post-cv-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.post-cv-label:hover {
  background: #fff;
  color: #0d5c73;
}
.post-cv-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  text-align: right;
  transition: color 0.2s;
}
@media (max-width: 768px) {
  .post-cv-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    gap: 16px;
  }
  .post-cv-action {
    align-items: flex-start;
    width: 100%;
  }
  .post-cv-label { width: 100%; justify-content: center; }
  .post-cv-hint { text-align: left; }
}

/* Employer header Login / Register button tweaks */
.site-header--employer .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.site-header--employer .btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   EMPLOYER DROPDOWN — Desktop
   ============================================ */
.primary-menu .nav-employer-dd { position: relative; }
.primary-menu .nav-employer-dd > a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.nav-dd-arrow {
  font-size: 16px !important;
  transition: transform 0.2s;
  vertical-align: middle;
}
.primary-menu .nav-employer-dd:hover .nav-dd-arrow,
.primary-menu .nav-employer-dd.is-open .nav-dd-arrow {
  transform: rotate(180deg);
}
.primary-menu .nav-employer-dd .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 9999;
}
.primary-menu .nav-employer-dd:hover .sub-menu,
.primary-menu .nav-employer-dd.is-open .sub-menu { display: block; }
.primary-menu .nav-employer-dd .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14px;
  color: #1a2a3a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.primary-menu .nav-employer-dd .sub-menu li a .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary, #0d5c73);
}
.primary-menu .nav-employer-dd .sub-menu li a:hover {
  background: #f4f8fb;
  color: var(--primary, #0d5c73);
}

/* ============================================
   EMPLOYER DROPDOWN — Mobile Drawer
   ============================================ */
.drawer-has-sub { list-style: none; }
.drawer-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-chevron {
  font-size: 18px !important;
  transition: transform 0.2s;
}
.drawer-has-sub.is-open .drawer-chevron { transform: rotate(180deg); }
.drawer-submenu {
  display: none;
  list-style: none;
  padding: 4px 0 4px 12px;
  margin: 0;
  border-left: 2px solid rgba(255,255,255,0.15);
}
.drawer-has-sub.is-open .drawer-submenu { display: block; }
.drawer-submenu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: 14px;
  opacity: 0.85;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.drawer-submenu li a:hover { opacity: 1; }
.drawer-submenu li a .material-symbols-outlined { font-size: 17px; }

/* ══════════════════════════════════════════════════════
   EMPLOYER HERO — BACKGROUND IMAGE SUPPORT
   ══════════════════════════════════════════════════════ */
.hero-employer .hero-bg {
  background: linear-gradient(135deg, rgba(0,22,56,0.92) 0%, rgba(0,43,90,0.85) 40%, rgba(0,57,121,0.80) 70%, rgba(0,26,66,0.92) 100%);
}
.hero-employer .hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image, url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.hero-employer {
  position: relative;
}
.hero-employer .hero-bg {
  z-index: 1;
}
.hero-employer .hero-grid,
.hero-employer .hero-glow,
.hero-employer .hero-glow-2,
.hero-employer .hero-content {
  z-index: 2;
}

/* ══════════════════════════════════════════════════════
   FLOATING SOCIAL + CALL BUTTONS
   ══════════════════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  position: relative;
}
.floating-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
}

/* Tooltip labels */
.floating-btn::before {
  content: attr(data-label);
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,25,50,0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  backdrop-filter: blur(6px);
}
.floating-btn:hover::before {
  opacity: 1;
}

/* WhatsApp */
.floating-btn--whatsapp {
  background: #25D366;
}
.floating-btn--whatsapp svg { fill: #fff; width: 24px; height: 24px; max-width: 24px; max-height: 24px; display: block; flex-shrink: 0; overflow: hidden; }
.floating-btn svg { max-width: 26px; max-height: 26px; overflow: hidden; }

/* Call */
.floating-btn--call {
  background: var(--cyan, #00cbfe);
}
.floating-btn--call .material-symbols-outlined {
  color: var(--primary, #002b5a);
  font-size: 24px;
  animation: ring 3s ease-in-out infinite;
}
@keyframes ring {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-15deg); }
  94% { transform: rotate(15deg); }
  96% { transform: rotate(-10deg); }
  98% { transform: rotate(10deg); }
}

/* LinkedIn & Instagram floating buttons removed */

/* Pulse ring on call button */
.floating-btn--call::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--cyan, #00cbfe);
  opacity: 0;
  animation: callpulse 2.5s ease-out infinite;
}
@keyframes callpulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 480px) {
  .floating-actions { right: 14px; bottom: 20px; gap: 10px; }
  .floating-btn { width: 46px; height: 46px; }
  .floating-btn::before { display: none; }
}


/* ============================================
   SHARED: nav-inner needs position:relative
   for ALL dropdowns to anchor correctly
   ============================================ */
.nav-inner { position: relative; }

/* ============================================
   COMPANY DROPDOWN — Desktop
   ============================================ */
.primary-menu .nav-company-dd { position: relative; }
.primary-menu .nav-company-dd > a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.primary-menu .nav-company-dd:hover .nav-dd-arrow,
.primary-menu .nav-company-dd.is-open .nav-dd-arrow {
  transform: rotate(180deg);
}
.primary-menu .nav-company-dd .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,43,90,0.10);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,43,90,0.14);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 10000;
}
.primary-menu .nav-company-dd:hover .sub-menu,
.primary-menu .nav-company-dd.is-open .sub-menu { display: block; }
.primary-menu .nav-company-dd .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1a2a3a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.primary-menu .nav-company-dd .sub-menu li a .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary, #002b5a);
  flex-shrink: 0;
}
.primary-menu .nav-company-dd .sub-menu li a:hover {
  background: #f0f5fa;
  color: var(--primary, #002b5a);
}

/* ============================================
   SERVICES & INDUSTRIES — MEGA MENU Desktop
   ============================================ */
/* The li itself is relative so top/left anchor to the li bottom */
.primary-menu .nav-si-dd {
  position: relative;
}
.primary-menu .nav-si-dd > a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.primary-menu .nav-si-dd:hover .nav-dd-arrow,
.primary-menu .nav-si-dd.is-open .nav-dd-arrow {
  transform: rotate(180deg);
}
/* Mega panel — anchored to the li, shifted left so it doesn't clip right edge */
.primary-menu .nav-si-dd .mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1px solid rgba(0,43,90,0.10);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,43,90,0.16);
  padding: 26px 28px;
  z-index: 10000;
}
/* Prevent overflow past right edge of viewport */
@media (max-width: 1100px) {
  .primary-menu .nav-si-dd .mega-menu {
    left: auto;
    right: -60px;
    transform: none;
  }
}
.primary-menu .nav-si-dd:hover .mega-menu,
.primary-menu .nav-si-dd.is-open .mega-menu { display: block; }

/* Two-column grid inside mega */
.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.mega-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted, #64748B);
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border, #E2E8F0);
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.mega-item:hover { background: #f0f5fa; }
.mega-icon {
  font-size: 20px !important;
  color: var(--primary, #002b5a);
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.7;
}
.mega-item:hover .mega-icon {
  opacity: 1;
  color: var(--cyan, #00cbfe);
}
.mega-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-item-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text, #1E293B);
  line-height: 1.3;
}
.mega-item-text em {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted, #64748B);
  line-height: 1.3;
}
.mega-item:hover .mega-item-text strong { color: var(--primary, #002b5a); }

/* ============================================
   MOBILE DRAWER — submenu label separator
   ============================================ */
.drawer-submenu-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  padding: 14px 0 4px;
  pointer-events: none;
  list-style: none;
}
