/*
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 ===== */

/* ═══════════════════════════════════════════════════════════
   PER-PAGE BACKGROUND SYSTEM
   Variables set via Customizer (functions.php) or inline style
   --page-bg-color  : hex/rgba overlay colour (default: #030c23)
   --page-bg-image  : url(...) or empty
   --page-bg-opacity: 0–1 for the veil opacity (default: 0.76)
   ═══════════════════════════════════════════════════════════ */
:root {
  --page-bg-color:   #030c23;
  --page-bg-image:   none;
  --page-bg-opacity: 0.76;
}
:root {
  --primary: #002b5a;
  --primary-mid: #004182;
  --primary-deep: #001638;
  --cyan: #00cbfe;
  --cyan-dim: #5ed4ff;
  --cyan-glow: rgba(0,203,254,0.12);
  --surface: rgba(247,249,251,0.92);
  --surface-low: rgba(242,244,246,0.88);
  --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-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='60' cy='60' r='1' fill='%23004182' fill-opacity='0.07'/%3E%3Ccircle cx='0' cy='0' r='1' fill='%23004182' fill-opacity='0.07'/%3E%3Ccircle cx='60' cy='0' r='1' fill='%23004182' fill-opacity='0.07'/%3E%3Ccircle cx='0' cy='60' r='1' fill='%23004182' fill-opacity='0.07'/%3E%3Cline x1='0' y1='0' x2='60' y2='0' stroke='%23004182' stroke-width='0.3' stroke-opacity='0.05'/%3E%3Cline x1='0' y1='0' x2='0' y2='60' stroke='%23004182' stroke-width='0.3' stroke-opacity='0.05'/%3E%3C/pattern%3E%3Cpattern id='dots' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='18' fill='none' stroke='%2300cbfe' stroke-width='0.4' stroke-opacity='0.06'/%3E%3Ccircle cx='90' cy='90' r='18' fill='none' stroke='%2300cbfe' stroke-width='0.4' stroke-opacity='0.06'/%3E%3Ccircle cx='90' cy='30' r='8' fill='none' stroke='%23004182' stroke-width='0.4' stroke-opacity='0.05'/%3E%3Ccircle cx='30' cy='90' r='8' fill='none' stroke='%23004182' stroke-width='0.4' stroke-opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='120' height='120' fill='url(%23grid)'/%3E%3Crect width='120' height='120' fill='url(%23dots)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== GLOBAL PAGE BACKGROUND PATTERN ===== */
/* Subtle geometric pattern visible on all pages — fixed so it doesn't scroll */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0,203,254,0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(0,43,90,0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,65,130,0.03) 0%, transparent 60%);
}

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;
  gap: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Clear gap: logo LEFT, nav centre, actions RIGHT ── */
.site-header .primary-menu-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-left: 28px;  /* space from logo to first nav link */
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: #002b5a;
  border-radius: 10px;
  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: 16px;
  height: 16px;
  background: #c9a84c;
  border-radius: 4px;
}

.logo-mark span {
  color: #fff;
  font-size: 19px;
  font-weight: 400;
  z-index: 1;
  font-family: 'DM Serif Display', serif;
}

.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1;
}

.logo-text em {
  font-style: italic;
  color: #c9a84c;
}

/* 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: #c9a84c;
  color: #03081f;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(201,168,76,0.3);
}

.btn-cyan:hover {
  background: #d4b35a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,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-gold {
  background: #c9a84c;
  color: #03081f;
  font-weight: 700;
  border: none;
}
.btn-gold:hover { background: #d4b35a; 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 — Navy & Gold with background image ===== */
:root {
  --gold: #c9a84c;
  --gold-light: #f0d080;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #030c23;
  padding-top: 80px;
  padding-bottom: 70px;
}

/* Background photo layer */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

/* Dark veil over photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 35, 0.75);
  z-index: 1;
}

/* Gold top accent line */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

/* Subtle grid texture */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Warm glow top-right */
.hero-glow {
  position: absolute;
  top: -100px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

/* Cool glow bottom-left */
.hero-glow-2 {
  position: absolute;
  bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,43,90,0.5) 0%, transparent 65%);
  z-index: 2;
}

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

/* Split layout: left text, right card */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  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: 'DM Serif Display', serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1.2px;
  max-width: 560px;
  margin-bottom: 18px;
}

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

.hero h1 small {
  display: block;
  font-size: clamp(22px, 2.5vw, 30px);
  color: rgba(255,255,255,0.42);
  letter-spacing: -0.5px;
  margin-top: 8px;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  max-width: 420px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(201,168,76,0.18);
  flex-wrap: wrap;
  gap: 0;
}

.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.hero-stat-num span { color: var(--gold); font-size: 14px; vertical-align: super; }

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Each stat padded with gold dividers */
.hero-stats > div {
  padding: 0 24px;
  border-right: 1px solid rgba(201,168,76,0.18);
}
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child  { border-right: none; }

.hero-stat-divider { display: none; }

/* ── Glassy white search card ── */
.hero-search-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 14px;
  padding: 26px 24px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 2px 12px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-search-card .search-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: 400;
  color: #0d1b2e;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.hero-search-card .field-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-search-card .field-input,
.hero-search-card .field-select {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #dde3ec;
}

.hero-search-card .field-input::placeholder { color: #b0bec5; }

.hero-search-card .search-btn {
  background: #002b5a;
  color: #ffffff;
  border: none;
}

.hero-search-card .search-btn:hover { background: #004182; }

/* Search footer tags */
.hero-search-card .search-footer-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-search-card .tag {
  font-size: 12px;
  color: #002b5a;
  background: rgba(0,43,90,0.07);
  border: 1px solid rgba(0,43,90,0.14);
  padding: 4px 10px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s;
}

.hero-search-card .tag:hover { background: rgba(0,43,90,0.13); }

/* Trust bar below hero */
.hero-trust-bar {
  background: rgba(3,12,35,0.55);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 11px 0;
}

.hero-trust-bar .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  font-weight: 400;
}

.hero-trust-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--gold);
}

/* ===== 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; }

/* ===== CLIENT MARQUEE ===== */
.clients-section {
  padding: 48px 0 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f8f9fb;
  overflow: hidden;
}

.clients-header {
  text-align: center;
  margin-bottom: 28px;
}

.clients-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.clients-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  animation: clients-scroll 32s linear infinite;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes clients-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-chip {
  flex-shrink: 0;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: opacity 0.2s;
}

.client-chip--teal    { background: #e0f5ef; color: #0a6b50; border-color: #b0e0d0; }
.client-chip--blue    { background: #e6f0fc; color: #1a4fa8; border-color: #b3cef5; }
.client-chip--green   { background: #e8f5e1; color: #2a6b1a; border-color: #b8dfa8; }
.client-chip--purple  { background: #f0ecfd; color: #5a2db5; border-color: #ccc0f0; }
.client-chip--indigo  { background: #eaecfd; color: #2d35a8; border-color: #b8bef5; }
.client-chip--orange  { background: #fef3e6; color: #b85a0a; border-color: #f5ceaa; }
.client-chip--dark    { background: #e8eaed; color: #1a2030; border-color: #c0c5d0; }
.client-chip--red     { background: #fdeaea; color: #a81a1a; border-color: #f5b8b8; }
.client-chip--pink    { background: #fde8f2; color: #a82068; border-color: #f5b8d8; }

.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 base ── */
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: #030c23;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0 64px;
  min-height: 260px;
  margin-bottom: 0 !important;
}

/* ── Zero gap after page-hero — all pages, all devices ── */
.page-hero + *         { margin-top: 0 !important; }
.page-hero + section   { margin-top: 0 !important; }
.page-hero + div       { margin-top: 0 !important; }

/* Gold top accent line */
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #f0d080, #c9a84c);
  z-index: 4;
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 3;
  pointer-events: none;
}

.page-hero-content,
.container.page-hero-content { position: relative; z-index: 5; max-width: 720px; }

.page-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-hero h1 em { font-style: italic; color: #c9a84c; }

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  line-height: 1.7;
}

.page-hero-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 10px;
  opacity: 0.8;
}

.hero-action-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}


.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); cursor: pointer; }
.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: 1.8fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }

.footer-brand-logo {
  margin-bottom: 16px;
}
/* Footer logo is handled entirely by .mt-logo--footer in header.php */
/* Footer name block — X/Y position */
.footer-brand-names {
  display: flex;
  flex-direction: column;
  transform: translate(var(--ft-name-x,0px), var(--ft-name-y,0px));
}
.footer-brand-text {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: var(--ft-name-size, 18px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.footer-brand-text em { font-style: normal; color: #5cc0ff; }
.footer-brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-top: 3px;
}
.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: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.22s; text-decoration: none; }
.footer-social .material-symbols-outlined { font-size: 17px; }

/* Per-platform hover brand colours */
.footer-social--linkedin:hover  { border-color: #0a66c2; color: #0a66c2; background: rgba(10,102,194,0.12); }
.footer-social--instagram:hover { border-color: #e1306c; color: #e1306c; background: rgba(225,48,108,0.1); }
.footer-social--youtube:hover   { border-color: #ff0000; color: #ff0000; background: rgba(255,0,0,0.1); }
.footer-social--twitter:hover   { border-color: #fff;    color: #fff;    background: rgba(255,255,255,0.08); }
.footer-social--whatsapp:hover  { border-color: #25d366; color: #25d366; background: rgba(37,211,102,0.1); }
.footer-social--email:hover     { border-color: #c9a84c; color: #c9a84c; background: rgba(201,168,76,0.1); }

/* ── YouTube feature card ── */
/* ── YouTube & Instagram full-width social bar ── */
.footer-social-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-social-bar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.18s, opacity 0.18s;
  cursor: pointer;
}
.footer-social-bar-card:hover { transform: translateY(-2px); opacity: .9; }
.footer-social-bar-card--yt  { background: rgba(255,0,0,0.14); border: 1px solid rgba(255,0,0,0.3); }
.footer-social-bar-card--ig  { background: rgba(225,48,108,0.1); border: 1px solid rgba(225,48,108,0.28); }
.footer-social-bar-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-social-bar-card--yt .footer-social-bar-icon { background: #ff0000; }
.footer-social-bar-card--ig .footer-social-bar-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social-bar-text { flex: 1; min-width: 0; }
.footer-social-bar-text strong { display: block; font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 2px; }
.footer-social-bar-text span  { display: block; font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.4; }
.footer-social-bar-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 16px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
}
.footer-social-bar-btn--yt { background: #ff0000; color: #fff; }
.footer-social-bar-btn--ig { background: linear-gradient(135deg,#e6683c,#bc1888); color: #fff; }
@media (max-width: 640px) { .footer-social-bar { grid-template-columns: 1fr; } }

.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}
.footer-designer__built { color: rgba(255,255,255,0.28); }
.footer-designer__by    { color: rgba(255,255,255,0.28); }
.footer-designer__heart { display: inline-block; animation: hbeat 1.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes hbeat {
  0%,100% { transform: scale(1); }
  14%      { transform: scale(1.25); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.15); }
  56%      { transform: scale(1); }
}
.footer-designer__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1D9E75;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 3px 8px 3px 4px;
  border-radius: 20px;
  border: 1px solid rgba(29,158,117,0.25);
  background: rgba(29,158,117,0.07);
}
.footer-designer__link:hover {
  color: #fff;
  background: rgba(29,158,117,0.25);
  border-color: rgba(29,158,117,0.5);
}
.footer-designer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.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 */
.hero-search-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 28px 20px;
  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;
  position: relative;
  z-index: 2;
  /* Ensure white always shows through */
  isolation: isolate;
}

/* 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; }
.mvt2-drawer   { display: none; } /* JS controls this */
.mvt2-backdrop { display: none; }

/* FORCE: never show mobile-only elements on desktop */
@media (min-width: 769px) {
  .menu-toggle     { display: none !important; }
  .mvt2-drawer   { display: none !important; }
  .mvt2-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 1fr; gap: 24px; }
  .hero-split    { grid-template-columns: 1fr; gap: 32px; }
  .hero-search-card { max-width: 560px; margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════
   DRAWER STYLES — controlled by header.php overlay system
   ══════════════════════════════════════════════════════ */
/* NOTE: .mobile-drawer lives inside .drawer-overlay which is display:none when closed.
   Do NOT add position:fixed or transform to .mobile-drawer here — it breaks touch. */

.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 mobile ── */
  .hero { min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(26px, 7vw, 38px); max-width: 100%; margin-bottom: 14px; }
  .hero h1 small { font-size: clamp(18px, 4vw, 22px); }
  .hero-sub { font-size: 14px; max-width: 100%; margin-bottom: 24px; }
  .hero-badge { margin-top: 0; margin-bottom: 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-search-card { margin-bottom: 28px; }

  /* 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(201,168,76,0.15);
    border-radius: 10px;
    overflow: hidden;
  }
  .hero-stats > div { padding: 12px 10px; text-align: center; border: 1px solid rgba(201,168,76,0.1); border-right: none; border-top: none; }
  .hero-stat-divider { display: none; }
  .hero-stat-num     { font-size: 22px; }
  .hero-stat-label   { font-size: 11px; }

  /* ── Candidate hero search card ── */
  .hero-search-card {
    padding: 18px 16px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
  }
  .hero-search-card .search-title { font-size: 15px; margin-bottom: 14px; }
  .hero-search-card form div[style*="grid"] { grid-template-columns: 1fr !important; }
  /* 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 { padding-top: 36px; padding-bottom: 32px; }

  .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;
}

/* ══════════════════════════════════════════════════
/* ══════════════════════════════════════════════════
   BROWSE BAR — Desktop 4 dropdowns
   ══════════════════════════════════════════════════ */
.browse-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,43,90,0.05);
}
.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); }
}

/* ============================================
   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.85) 0%, rgba(0,43,90,0.78) 50%, rgba(0,26,66,0.85) 100%);
  z-index: 1;
}
.hero-employer .hero-bg-img { display: none; }
.hero-employer {
  position: relative;
}
.hero-employer .hero-bg {
  background: linear-gradient(135deg, rgba(0,22,56,0.85) 0%, rgba(0,43,90,0.78) 50%, rgba(0,26,66,0.85) 100%);
  z-index: 1;
}
.hero-employer .hero-grid,
.hero-employer .hero-glow,
.hero-employer .hero-glow-2,
.hero-employer .hero-content {
  z-index: 2;
}
/* Candidate hero background image */
.hero-candidate {
  position: relative;
}
.hero-candidate .hero-bg-img { display: none; }
.hero-candidate .hero-bg {
  z-index: 1;
  background: linear-gradient(135deg, rgba(0,22,56,0.85) 0%, rgba(0,43,90,0.78) 40%, rgba(0,57,121,0.75) 70%, rgba(0,26,66,0.85) 100%) !important;
}
.hero-candidate .hero-grid,
.hero-candidate .hero-glow,
.hero-candidate .hero-glow-2,
.hero-candidate .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;
}

/* ================================================================
   MIVHAANTECH ADDITIONS v1.2 — Hero BG images, Employer Auth Pages
   ================================================================ */

/* --- Page Hero Background Images --- */
/* ── PAGE HERO — UNIFIED NAVY/GOLD (matches homepage) ── */
/* Page hero responsive — padding only, no image rules */
@media (max-width: 768px) {
  .page-hero { padding: 48px 0 40px !important; min-height: 200px !important; margin-bottom: 0 !important; }
  .page-hero h1 { font-size: clamp(22px, 5vw, 36px) !important; }
}



/* --- City Quick Filter Badges --- */
.city-filter-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.city-filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 24px; font-size: 13px; font-weight: 600;
  text-decoration: none; border: 1.5px solid var(--border);
  background: #fff; color: var(--text); transition: all .15s; cursor: pointer;
}
.city-filter-chip:hover, .city-filter-chip.active {
  border-color: var(--cyan); color: var(--primary); background: rgba(0,203,254,0.06);
}
.city-filter-chip.active { background: var(--cyan); color: var(--primary); border-color: var(--cyan); }

/* --- Job Code Badge --- */
.job-code-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #e0f2fe; color: #0369a1;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  font-family: 'DM Mono', 'Courier New', monospace;
}

/* --- Employer Login / Register form inputs --- */
.emp-form-input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 0 14px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--text); background: #fff; outline: none;
  transition: border-color 0.2s;
}
.emp-form-input:focus { border-color: var(--cyan); }

/* --- Employer Dashboard --- */
.emp-dash-stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

/* --- Vacancy city link --- */
.vacancy-city-link:hover .material-symbols-outlined { color: var(--cyan) !important; }


/* ===== MOBILE FIXES: Single Job Vacancy Page ===== */
.jd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}
.jd-sidebar {
  position: sticky;
  top: 92px;
}

@media (max-width: 768px) {
  .jd-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-top: 28px !important;
    padding-bottom: 48px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .jd-layout > div {
    order: 1 !important;
  }
  .jd-sidebar {
    position: static !important;
    top: auto !important;
    order: 99 !important;
    width: 100% !important;
  }
  .jd-meta-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}

/* ===== MOBILE FIXES: Expertise Page Grid ===== */
.expertise-row-1,
.expertise-row-4 {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.expertise-row-1 > a { height: 340px; }
.expertise-row-4 > a { height: 300px; }

.expertise-row-2,
.expertise-row-3 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.expertise-row-2 > a,
.expertise-row-3 > a { height: 240px; }

/* Tablet: ≤900px */
@media (max-width: 900px) {
  .expertise-row-1,
  .expertise-row-4 {
    grid-template-columns: 1fr 1fr !important;
  }
  .expertise-row-1 > a:first-child,
  .expertise-row-4 > a:first-child {
    grid-column: 1 / -1;
    height: 260px !important;
  }
  .expertise-row-1 > a:not(:first-child),
  .expertise-row-4 > a:not(:first-child) {
    height: 210px !important;
  }
  .expertise-row-2,
  .expertise-row-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .expertise-row-2 > a,
  .expertise-row-3 > a {
    height: 190px !important;
  }
}

/* Mobile: ≤600px */
@media (max-width: 600px) {
  .expertise-row-1,
  .expertise-row-2,
  .expertise-row-3,
  .expertise-row-4 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .expertise-row-1 > a,
  .expertise-row-4 > a {
    grid-column: auto !important;
    height: 200px !important;
  }
  .expertise-row-2 > a,
  .expertise-row-3 > a {
    height: 180px !important;
  }
}

/* ===== MOBILE FIXES: Salary Guide Page ===== */
@media (max-width: 640px) {

  /* Outer guide cards grid — single column */
  .salary-guides-grid {
    grid-template-columns: 1fr !important;
  }

  /* Guide card inner — stack image on top, text below */
  .salary-card-inner {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .salary-card-inner > div:first-child {
    height: 160px !important; /* image section becomes a banner on top */
    min-height: 160px;
  }

  /* What's Inside 2-col → single col */
  .salary-whats-inside {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Modal form fields — stack to single col */
  .salary-modal-row {
    grid-template-columns: 1fr !important;
  }
}

/* Compact hero sizing — photo still shows */
.page-hero {
  padding: 60px 0 52px !important;
  min-height: 260px !important;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════════════════
   HARDCODED FALLBACK BACKGROUND IMAGES — always visible
   PHP inline style overrides these when admin sets custom.
   These fire if PHP/theme_mod fails for any reason.
   ══════════════════════════════════════════════════════ */
.page-hero--about       { background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--leadership  { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--reviews     { background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--careers     { background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--insights    { background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--gallery     { background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--find-a-job  { background-image: url('https://images.unsplash.com/photo-1586281380349-632531db7ed4?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--services    { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--contact     { background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--salary      { background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--expertise   { background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--faq         { background-image: url('https://images.unsplash.com/photo-1493612276216-ee3925520721?auto=format&fit=crop&w=1600&q=80'); }
.page-hero--policy      { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80'); }

/* Overlay — sits on top of background image, below content */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 35, 0.55);
  z-index: 1;
  pointer-events: none;
}
/* PHP-set overlay div overrides the ::before when admin sets custom opacity */
.page-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
/* When PHP overlay div is present, hide the ::before so they don't double-up */
.page-hero:has(> .page-hero-overlay)::before {
  display: none;
}

