/*
Theme Name: NorthAmericanJobs
Theme URI: https://northamericanjobs.site
Author: NorthAmericanJobs
Author URI: https://northamericanjobs.site
Description: Professional Job Portal theme for USA & Canada jobs. Built for WP Job Manager plugin with Elementor support. Features hero slider, job listings, employer dashboard and AdSense ready layout.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: northamericanjobs
Tags: job-board, elementor, responsive, custom-colors, custom-logo, featured-images, full-width-template, one-column, two-columns, three-columns
*/

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1a1917;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --primary: #1d4ed8;
    --primary-light: #2563eb;
    --primary-dark: #1e40af;
    --primary-pale: #eff6ff;
    --primary-border: #bfdbfe;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-light: #fffbeb;
    --green: #059669;
    --green-light: #ecfdf5;
    --red: #dc2626;
    --red-light: #fef2f2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* =============================================
   CONTAINER & LAYOUT
============================================= */
.container, .wp-site-blocks {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 48px;
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 48px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}
h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(24px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: 20px; }
p { color: var(--gray-600); line-height: 1.75; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-pale);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.section-title { margin-bottom: 10px; }
.section-subtitle { font-size: 16px; color: var(--gray-500); max-width: 500px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(29,78,216,.25);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29,78,216,.3);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary-border);
}
.btn-outline:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--gray-50); color: var(--primary); }
.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-300); color: var(--gray-900); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 15px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 48px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* =============================================
   NAVBAR
============================================= */
#masthead {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 1px 12px rgba(0,0,0,.04);
    height: 68px;
    transition: all 0.3s;
}
#masthead.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 48px;
    max-width: 100%;
}
.site-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--gray-900);
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo .logo-accent { color: var(--primary); }
.site-logo .logo-tld { color: var(--gray-400); font-size: 13px; font-weight: 500; }
.site-logo img { height: 38px; width: auto; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.2s;
    border-radius: 2px;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu .current-menu-item a { color: var(--primary); }
.nav-menu .current-menu-item a::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 999;
    padding: 20px 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    border-top: 1px solid var(--gray-100);
}
.mobile-nav.open { display: flex; }
.mob-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    text-decoration: none;
}
.mob-link:hover { background: var(--gray-50); color: var(--primary); }
.mob-divider { height: 1px; background: var(--gray-100); margin: 8px 0; }
.mob-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    padding-top: 68px;
    background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 50%, #f8faff 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(29,78,216,.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.05) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 48px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-pale);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-badge .live-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: livepulse 2s infinite;
}
@keyframes livepulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(1.3)} }
.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--gray-900);
    margin-bottom: 20px;
    max-width: 820px;
}
.hero-title .highlight {
    color: var(--primary);
    position: relative;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    border-radius: 2px;
    opacity: 0.4;
}
.hero-desc {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--gray-500);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 36px;
}
.hero-flags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-flag {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

/* SEARCH BOX */
.search-box {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 7px;
    display: flex;
    align-items: center;
    max-width: 920px;
    box-shadow: var(--shadow-xl);
    gap: 2px;
}
.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-right: 1.5px solid var(--gray-100);
}
.search-field svg { color: var(--gray-400); flex-shrink: 0; }
.search-field input {
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--gray-900);
    background: transparent;
    width: 100%;
    font-family: inherit;
}
.search-field input::placeholder { color: var(--gray-400); }
.search-select {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-right: 1.5px solid var(--gray-100);
}
.search-select select {
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--gray-600);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    min-width: 130px;
    -webkit-appearance: none;
}
.search-btn {
    padding: 12px 28px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-lg);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(29,78,216,.3);
}
.search-btn:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29,78,216,.35);
}

/* HERO STATS */
.hero-stats {
    display: flex;
    gap: 0;
    margin-top: 44px;
    flex-wrap: wrap;
    max-width: 640px;
}
.hero-stat {
    flex: 1;
    min-width: 120px;
    padding: 0 28px 0 0;
    border-right: 1.5px solid var(--gray-200);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; padding-left: 28px; padding-right: 0; }
.stat-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--gray-900);
    line-height: 1;
}
.stat-num span { color: var(--primary); }
.stat-label {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   BANNER SLIDER
============================================= */
.banner-slider-section {
    background: var(--secondary);
    overflow: hidden;
    position: relative;
}
.banner-slider {
    position: relative;
    height: 360px;
    overflow: hidden;
}
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.banner-slide.active { opacity: 1; }
.slide-bg-1 { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.slide-bg-2 { background: linear-gradient(135deg, #0f172a 0%, #1a3a1a 100%); }
.slide-bg-3 { background: linear-gradient(135deg, #1a1035 0%, #0f172a 100%); }
.slide-content {
    width: 100%;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.slide-text h2 {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.slide-text p { color: #94a3b8; font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}
.slide-btn:hover { background: var(--primary-pale); transform: translateY(-1px); color: var(--primary); }
.slide-jobs { display: flex; flex-direction: column; gap: 10px; }
.slide-job-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}
.banner-slide.active .slide-job-card { opacity: 1; transform: translateX(0); }
.banner-slide.active .slide-job-card:nth-child(2) { transition-delay: 0.1s; }
.banner-slide.active .slide-job-card:nth-child(3) { transition-delay: 0.2s; }
.sjc-icon {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(29,78,216,0.25);
    border: 1px solid rgba(29,78,216,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sjc-title { font-size: 13px; font-weight: 600; color: #e2e8f0; }
.sjc-sub { font-size: 11px; color: #64748b; margin-top: 2px; }
.sjc-sal { font-size: 14px; font-weight: 800; color: #4ade80; margin-left: auto; white-space: nowrap; }
.slider-nav {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(0,0,0,0.2);
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.slider-dot.active { width: 24px; background: #fff; }
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
    z-index: 10;
}
.slider-arrow:hover { background: rgba(255,255,255,0.2); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* =============================================
   TICKER / MARQUEE
============================================= */
.ticker-section {
    background: var(--gray-900);
    padding: 16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker-wrap {
    display: flex;
    overflow: hidden;
    gap: 0;
}
.ticker-track {
    display: flex;
    gap: 48px;
    animation: ticker 30s linear infinite;
    flex-shrink: 0;
    white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.ticker-item .ticker-dot { color: #1d4ed8; font-size: 16px; }

/* =============================================
   CATEGORIES SECTION
============================================= */
.categories-section { background: var(--gray-50); }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.cat-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-pale);
    opacity: 0;
    transition: opacity 0.25s;
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card:hover::before { opacity: 1; }
.cat-icon { font-size: 32px; margin-bottom: 12px; display: block; position: relative; z-index: 1; }
.cat-name { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; position: relative; z-index: 1; }
.cat-count { font-size: 12px; color: var(--gray-400); position: relative; z-index: 1; }

/* =============================================
   JOB CARDS
============================================= */
.jobs-section { background: var(--white); }
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.job-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.job-card.featured { border-color: #fbbf24; background: #fffbeb; }
.featured-badge {
    position: absolute;
    top: 0; right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.job-card-top { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.job-logo {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-pale);
    border: 1.5px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.job-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; line-height: 1.3; }
.job-company { font-size: 12px; color: var(--gray-500); }
.job-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.job-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid;
    white-space: nowrap;
}
.tag-remote { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.tag-full { background: var(--primary-pale); color: var(--primary); border-color: var(--primary-border); }
.tag-usa { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.tag-canada { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.tag-visa { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.tag-part { background: #faf5ff; color: #7c3aed; border-color: #ddd6fe; }
.tag-contract { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.job-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.job-salary { font-size: 15px; font-weight: 800; color: var(--green); }
.job-time { font-size: 11px; color: var(--gray-400); }
.job-apply-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}
.job-apply-btn:hover { background: var(--primary-light); color: #fff; }

/* =============================================
   HOW IT WORKS
============================================= */
.how-section { background: var(--gray-50); }
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.how-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    text-align: center;
    transition: all 0.25s;
    position: relative;
}
.how-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.how-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.25s;
}
.how-card:hover::before { opacity: 1; }
.how-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(29,78,216,.3);
}
.how-icon { font-size: 32px; margin-bottom: 12px; }
.how-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.how-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* =============================================
   EMPLOYER CTA SECTION
============================================= */
.cta-section {
    background: var(--secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(29,78,216,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.cta-text h2 { color: #fff; font-size: clamp(24px, 4vw, 44px); margin-bottom: 12px; }
.cta-text h2 em { font-style: italic; color: var(--accent); }
.cta-text p { color: #94a3b8; font-size: 15px; max-width: 420px; line-height: 1.75; }
.cta-perks { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.cta-perk { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 6px; }
.cta-perk .check { color: var(--green); }
.pricing-cards { display: flex; flex-direction: column; gap: 10px; min-width: 300px; }
.price-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}
.price-card:hover { border-color: rgba(29,78,216,0.5); background: rgba(29,78,216,0.1); }
.price-card.popular { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.06); }
.price-card-name { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 2px; }
.price-card-info { font-size: 11px; color: #64748b; }
.price-card-amount { font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1; }

/* =============================================
   FOOTER
============================================= */
#colophon {
    background: var(--gray-900);
    color: #fff;
    padding: 64px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 32px;
}
.footer-brand .footer-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.footer-brand .footer-logo span { color: #60a5fa; }
.footer-brand p { color: #475569; font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-tag {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 1px solid;
}
.footer-tag-usa { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.2); }
.footer-tag-ca { background: rgba(249,115,22,0.1); color: #fb923c; border-color: rgba(249,115,22,0.2); }
.footer-tag-remote { background: rgba(52,211,153,0.1); color: #34d399; border-color: rgba(52,211,153,0.2); }
.footer-col h5 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #475569; font-size: 13px; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #374151;
}
.wa-float {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.2s;
    z-index: 99;
}
.wa-float:hover { transform: scale(1.1); }

/* =============================================
   INNER PAGE STYLES
============================================= */
.page-header {
    padding: 100px 0 40px;
    background: linear-gradient(160deg, #f0f7ff, #ffffff);
    border-bottom: 1px solid var(--gray-100);
}
.page-header h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.page-header p { font-size: 16px; color: var(--gray-500); }
.page-body { padding: 40px 0 80px; }

/* JOB FILTERS */
.job-filters {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.job-filters input,
.job-filters select {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--gray-50);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.job-filters input:focus,
.job-filters select:focus { border-color: var(--primary); background: #fff; }
.job-filters input { flex: 1; min-width: 180px; }

/* JOB LIST ROWS */
.job-row {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.25s;
    position: relative;
}
.job-row:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(3px); }
.job-row.featured { border-color: #fbbf24; background: #fffbeb; }
.job-row .job-logo { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--primary-pale); border: 1.5px solid var(--primary-border); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.job-row .job-info { flex: 1; min-width: 0; }
.job-row .job-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row .job-meta { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.job-row .job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.job-row .job-salary { font-size: 15px; font-weight: 800; color: var(--green); }
.job-row .job-time { font-size: 11px; color: var(--gray-400); }

/* JOB DETAIL */
.job-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.job-detail-main { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.job-detail-header { padding: 28px; border-bottom: 1.5px solid var(--gray-100); }
.job-detail-body { padding: 28px; }
.job-detail-body p, .job-detail-body li { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 8px; }
.job-detail-body ul { padding-left: 20px; list-style: disc; }
.job-detail-body h3 { font-size: 18px; margin: 24px 0 12px; color: var(--gray-900); }
.sidebar-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 14px; }
.sidebar-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--gray-900); }
.overview-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.overview-row:last-child { border-bottom: none; }
.overview-label { color: var(--gray-500); font-weight: 500; }
.overview-value { color: var(--gray-900); font-weight: 700; text-align: right; }
.apply-card { background: var(--primary); border-radius: var(--radius-lg); padding: 24px; text-align: center; color: #fff; }
.apply-card h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.apply-card p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 18px; line-height: 1.6; }
.apply-website-btn { display: block; width: 100%; padding: 13px; background: #fff; color: var(--primary); border-radius: var(--radius-md); font-size: 14px; font-weight: 800; text-decoration: none; margin-bottom: 10px; transition: all 0.2s; text-align: center; }
.apply-website-btn:hover { background: var(--primary-pale); color: var(--primary); }
.apply-email-btn { display: block; padding: 11px; background: rgba(255,255,255,0.15); color: #fff; border-radius: var(--radius-md); font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); word-break: break-all; text-align: center; }

/* DASHBOARDS */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 0 60px; align-items: start; }
.dash-sidebar { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 88px; }
.dash-sidebar-header { padding: 22px; background: var(--primary); color: #fff; }
.dash-sidebar-name { font-size: 15px; font-weight: 700; }
.dash-sidebar-role { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }
.dash-nav { padding: 10px; }
.dash-nav-link { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-md); color: var(--gray-600); font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.dash-nav-link:hover, .dash-nav-link.active { background: var(--primary-pale); color: var(--primary); }
.dash-divider { height: 1px; background: var(--gray-100); margin: 6px 10px; }
.dash-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.dash-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; color: var(--gray-900); }
.stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-mini { background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.stat-mini-num { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat-mini-label { font-size: 11px; color: var(--gray-400); font-weight: 600; margin-top: 3px; }

/* FORMS */
.form-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-900);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray-700); cursor: pointer; }
.form-check input { width: 16px; height: 16px; accent-color: var(--primary); }

/* TABLES */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1.5px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 500px; }
th { text-align: left; padding: 11px 14px; background: var(--gray-50); color: var(--gray-600); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1.5px solid var(--gray-200); }
td { padding: 12px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; color: var(--gray-800); }
tr:hover td { background: var(--gray-50); }
tr:last-child td { border-bottom: none; }

/* ALERTS */
.alert { padding: 13px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; margin-bottom: 18px; border: 1px solid; }
.alert-success { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.alert-info { background: var(--primary-pale); color: var(--primary); border-color: var(--primary-border); }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* BADGES */
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; border: 1px solid; }
.badge-active { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.badge-pending { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.badge-inactive { background: var(--gray-100); color: var(--gray-500); border-color: var(--gray-200); }
.badge-admin { background: #faf5ff; color: #7c3aed; border-color: #ddd6fe; }
.badge-employer { background: var(--primary-pale); color: var(--primary); border-color: var(--primary-border); }
.badge-jobseeker { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
    background: var(--white);
}
.page-numbers:hover, .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =============================================
   ARTICLES / BLOG
============================================= */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: all 0.25s; display: block; }
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article-thumb { height: 120px; background: var(--primary-pale); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.article-body { padding: 18px; }
.article-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.article-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.35; }
.article-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }
.article-meta { font-size: 11px; color: var(--gray-400); display: flex; gap: 12px; }

/* =============================================
   UTILITY CLASSES
============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray-500); }
.text-small { font-size: 13px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 32px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 20px; }
.mb-lg { margin-bottom: 32px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1399px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1199px) {
    .container { padding: 0 32px; }
    .nav-wrap { padding: 0 32px; }
    .hero-inner { padding: 80px 32px; }
    .slide-content { padding: 0 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 1023px) {
    .nav-menu { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: flex; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-content { grid-template-columns: 1fr; }
    .slide-jobs { display: none; }
    .cta-inner { flex-direction: column; }
    .pricing-cards { width: 100%; max-width: 460px; }
    .job-detail-layout { grid-template-columns: 1fr; }
    .dash-layout { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; }
}
@media (max-width: 767px) {
    #masthead { height: 58px; }
    .nav-wrap { padding: 0 20px; height: 58px; }
    .mobile-nav { top: 58px; }
    .container, .hero-inner, .slide-content { padding: 0 20px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .jobs-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .search-box { flex-direction: column; gap: 4px; }
    .search-field { border-right: none; border-bottom: 1.5px solid var(--gray-100); }
    .search-select { border-right: none; border-bottom: 1.5px solid var(--gray-100); }
    .search-select select { width: 100%; }
    .search-btn { width: 100%; border-radius: var(--radius-md); }
    .hero-stats { flex-wrap: wrap; gap: 16px 0; }
    .hero-stat { min-width: 50%; border-right: none; padding: 0 16px 0 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-mini { grid-template-columns: 1fr 1fr; }
    .banner-slider { height: auto; min-height: 220px; }
    .hero-section { min-height: auto; }
    .hero-inner { padding: 60px 20px 48px; }
}
@media (max-width: 479px) {
    .container { padding: 0 16px; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .how-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .wa-float { width: 46px; height: 46px; font-size: 20px; }
    .stats-mini { grid-template-columns: 1fr; }
}

/* =============================================
   WP JOB MANAGER OVERRIDES
============================================= */
.job_listings { margin: 0; padding: 0; list-style: none; }
.job_listing { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 12px; transition: all 0.25s; }
.job_listing:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.job_listing a { text-decoration: none; color: var(--gray-900); }
.job_listing .position h3 { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.job_listing .company strong { font-size: 13px; color: var(--gray-500); }
.job_listing .location { font-size: 12px; color: var(--gray-400); }
.job_listing .job-type { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); font-size: 10px; font-weight: 700; }
.job_listing .full-time { background: var(--primary-pale); color: var(--primary); }
.job_listing .part-time { background: #faf5ff; color: #7c3aed; }
.job_listing .remote { background: #ecfdf5; color: #059669; }
.job_listing .contract { background: #ecfeff; color: #0e7490; }
.job-manager-form input,
.job-manager-form select,
.job-manager-form textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); font-size: 14px; font-family: inherit; outline: none; background: var(--gray-50); transition: border-color 0.2s; }
.job-manager-form input:focus,
.job-manager-form select:focus,
.job-manager-form textarea:focus { border-color: var(--primary); background: #fff; }
.job-manager-form label { font-size: 13px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 7px; }
.job-manager-form .field-wrapper { margin-bottom: 18px; }
.job-manager-form .submit-button,
.job-manager-form [type="submit"] { background: var(--primary); color: #fff; padding: 13px 32px; border: none; border-radius: var(--radius-md); font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.job-manager-form .submit-button:hover,
.job-manager-form [type="submit"]:hover { background: var(--primary-light); }
.elementor-section { position: relative; }
.wp-block-group { padding: 0; }
