/* ==========================================================================
   MENDALO.ID - International Standard Design System & UI Engine v2.0
   Responsive, High-Performance, Pixel-Perfect Styling for Nationwide Portal
   ========================================================================== */

:root {
    /* Brand Palette - Deep Navy, Vibrant Azure & Emerald Trust */
    --primary: #1D4ED8;
    --primary-hover: #1E40AF;
    --primary-active: #172554;
    --primary-light: #EFF6FF;
    --primary-subtle: #DBEAFE;
    --primary-border: #93C5FD;

    --accent: #0284C7;
    --accent-hover: #0369A1;
    --accent-light: #F0F9FF;

    --success: #059669;
    --success-hover: #047857;
    --success-light: #ECFDF5;
    --success-border: #A7F3D0;

    --warning: #D97706;
    --warning-light: #FFFBEB;
    --warning-border: #FDE68A;

    --danger: #DC2626;
    --danger-light: #FEF2F2;
    --danger-border: #FECACA;

    /* Neutrals / Dark Slate */
    --slate-950: #020617;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;

    /* Elevation & Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 4px -1px rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);

    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Core Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--slate-800);
    background-color: var(--slate-50);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--primary-hover);
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--slate-900);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.brand-text span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    position: relative;
    transition: color var(--transition-fast);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Mobile Menu Hamburger Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--slate-800);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.mobile-menu-btn:hover {
    background: var(--slate-100);
}

/* Mobile Drawer Overlay */
.drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1998;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1999;
    box-shadow: var(--shadow-2xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}
.drawer-backdrop.open {
    display: block;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-800);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background var(--transition-fast);
}
.drawer-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    line-height: 1.4;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.35);
}

.btn-free {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: var(--white);
    border: 1px solid #047857;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}
.btn-free:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
}
.btn-outline:hover {
    background: var(--slate-100);
    color: var(--slate-900);
    border-color: var(--slate-400);
}

.btn-secondary {
    background: var(--slate-100);
    color: var(--slate-700);
    border-color: var(--slate-200);
}
.btn-secondary:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
}

.badge-success, .badge-verified {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.badge-warning, .badge-urgent {
    background: var(--warning-light);
    color: var(--warning);
    border: 1px solid var(--warning-border);
}

.badge-remote {
    background: #EDE9FE;
    color: #6D28D9;
    border: 1px solid #DDD6FE;
}

.badge-free {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

/* ==========================================================================
   Hero Section - International Grade
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0A0F1D 0%, #0F172A 50%, #172554 100%);
    position: relative;
    color: var(--white);
    padding: 84px 0 100px 0;
    margin-top: -1px;
    margin-bottom: 56px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(2, 132, 199, 0) 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #67E8F9;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 50%, #93C5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--slate-300);
    max-width: 720px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Modern Multi-Field Search Form */
.hero-search-box {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-field {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    min-width: 220px;
}

.search-field i {
    color: var(--slate-400);
    font-size: 1.1rem;
}

.search-field input, .search-field select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--slate-800);
    background: transparent;
}

.search-divider {
    width: 1px;
    height: 36px;
    background: var(--slate-200);
}

.hero-search-box .btn-submit {
    flex-shrink: 0;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
}
.hero-search-box .btn-submit:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

/* Quick Filter Tags */
.quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.quick-tag-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--slate-200);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.quick-tag-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Live Stats Bar */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-card {
    text-align: center;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.stat-number span {
    color: #38BDF8;
}
.stat-label {
    font-size: 0.88rem;
    color: var(--slate-400);
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================================================
   Section Components
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--slate-500);
    font-size: 0.98rem;
    margin-top: 4px;
}

/* Nationwide Region Showcase Cards */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.region-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.region-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.region-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.region-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
}

.region-info p {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-top: 2px;
}

/* Job Cards - Premium Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.job-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-xs);
}

.job-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

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

.company-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-logo-img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--slate-200);
    background: var(--white);
    flex-shrink: 0;
}

.company-logo-fallback {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    border: 1px solid var(--primary-border);
    flex-shrink: 0;
}

.company-name-text {
    font-size: 0.88rem;
    color: var(--slate-600);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-title-link {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
    text-decoration: none;
    line-height: 1.35;
    margin-top: 4px;
    display: block;
}
.job-title-link:hover {
    color: var(--primary);
}

.job-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.job-detail-chips {
    display: flex;
    gap: 18px;
    font-size: 0.88rem;
    color: var(--slate-600);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.chip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-item i {
    color: var(--slate-400);
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--slate-100);
    gap: 12px;
}

.job-salary-tag {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.category-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.category-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
}

.category-card p {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-top: 4px;
}

/* Free Employer Recruitment Banner */
.employer-cta-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border: 2px solid #059669;
    border-radius: var(--radius-xl);
    padding: 48px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
    box-shadow: var(--shadow-xl);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.employer-cta-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}

.banner-content p {
    font-size: 1.05rem;
    color: var(--slate-300);
    line-height: 1.6;
}

.banner-action {
    position: relative;
    z-index: 2;
}

/* Feature Highlights Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}

.feature-box:hover {
    border-color: var(--primary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--slate-600);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Articles Showcase */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 64px;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.article-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--slate-100);
    overflow: hidden;
}

.article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}
.article-card:hover .article-thumb-img {
    transform: scale(1.05);
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-cat-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.article-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--slate-400);
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
}

/* ==========================================================================
   Modals & Popups (QR Code & Share)
   ========================================================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 540px;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--slate-100);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}
.modal-close-btn:hover {
    color: var(--slate-800);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 64px 0 24px 0;
    margin-top: auto;
    border-top: 1px solid var(--slate-800);
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--white);
}

.footer-region-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-region-pill {
    background: rgba(255, 255, 255, 0.06);
    color: var(--slate-300);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.footer-region-pill:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--slate-500);
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .hero-section {
        padding: 56px 0 64px 0;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-search-box {
        flex-direction: column;
        padding: 16px;
    }
    .search-field {
        width: 100%;
        padding: 10px 0;
        border-left: none !important;
        border-bottom: 1px solid var(--slate-100);
    }
    .search-divider {
        display: none;
    }
    .hero-search-box .btn-submit {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
        padding-top: 24px;
    }
    .stat-number {
        font-size: 1.75rem;
    }
    .employer-cta-banner {
        padding: 28px 20px;
    }
    .banner-content h2 {
        font-size: 1.5rem;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
