/*
Theme Name: UKJobsAlert
Theme URI: 
Author: Antigravity
Author URI: 
Description: A professional UK job board and career blog
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ukjobsalert
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #003087; /* UK deep blue */
    --color-accent: #CF142B; /* UK red */
    --color-background: #f5f5f5; /* Softer, cleaner near-white */
    --color-white: #ffffff;
    --color-text-dark: #111827;
    --color-text-muted: #6b7280;
    
    /* Employment Type Badge Colors */
    --color-badge-full-time: #10b981; /* green */
    --color-badge-part-time: #f59e0b; /* orange */
    --color-badge-contract: #003087; /* primary blue */
    --color-badge-internship: #8b5cf6; /* purple */
    --color-badge-other: #6b7280; /* gray */

    /* Typography */
    --font-primary: 'Lato', sans-serif;
    --font-heading: 'Lato', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-pill: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Spacing */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-xxl: 5rem;    /* 80px */
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #a81022;
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

.text-center { text-align: center; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.section-padding { padding: 40px 0; }
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 0;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    color: var(--color-white);
}
.badge-full-time { background-color: var(--color-badge-full-time); }
.badge-part-time { background-color: var(--color-badge-part-time); }
.badge-contract { background-color: var(--color-badge-contract); }
.badge-internship { background-color: var(--color-badge-internship); }
.badge-other { background-color: var(--color-badge-other); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
}

/* New Header Layout */
.header-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* Nav Menu */
.main-navigation ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-navigation a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Dropdown / Sub-menu Desktop */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    padding: 0.5rem 0;
    z-index: 1003;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.main-navigation li:hover > .sub-menu {
    display: flex;
}

.main-navigation .sub-menu a {
    color: var(--color-text-dark);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    background-color: var(--color-background);
    color: var(--color-primary);
}

.main-navigation .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
}

/* Header Search */
.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.desktop-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1.5rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    z-index: 1002;
    border: 1px solid #e5e7eb;
}

.desktop-search-dropdown.active {
    display: block;
    animation: fadeInUp 0.2s ease forwards;
}

.header-search-form {
    display: flex;
    width: 100%;
}

.header-search-field {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
    outline: none;
}

.header-search-submit {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-submit:hover {
    background: #002366;
}

.mobile-search-form {
    display: none;
}

/* Hamburger Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-close {
    display: none;
    position: fixed; /* Fixed so it's always top right of viewport */
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 0.5rem;
    z-index: 1005; /* higher than navigation */
}
.menu-close svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
}

/* Hero Section - Premium Look */
.hero-section {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(207, 20, 43, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 48px;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 2.5rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: var(--color-white); /* Ensure white on dark bg */
}

.hero-container {
    position: relative;
    z-index: 2;
}

.adecco-search-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    gap: 1rem;
    max-width: 1000px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.adecco-input-wrapper {
    flex: 1;
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
}

.adecco-control {
    width: 100%;
    border: none;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    color: var(--color-text-dark);
    height: 60px;
}

.adecco-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
}

.adecco-btn-submit {
    background-color: #CF142B; /* UK Red */
    color: var(--color-white);
    border: none;
    padding: 0 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 60px;
}

.adecco-btn-submit:hover {
    background-color: #b01124;
    transform: translateY(-1px);
}

.hero-categories {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-category-link {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-category-link:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 32px; }
    .adecco-search-form { flex-direction: column; padding: 0.75rem; }
    .adecco-btn-submit { padding: 1.25rem; height: auto; }
}

/* Autosuggest Dropdown */
.location-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999; /* Increased to prevent category pills covering it */
    display: none;
    animation: slideDown 0.2s ease;
    text-align: left;
}

.location-dropdown.active {
    display: block;
}

.location-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    color: var(--color-text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-option:hover,
.location-option.highlighted {
    background-color: var(--color-background);
}

.location-option .count {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-stat strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.hero-stat span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 20px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.stat-card {
    background-color: var(--color-white);
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Profession Links Grid
   ========================================================================== */
.profession-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.profession-link {
    color: #2563eb;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    display: inline-block;
    width: max-content;
}

.profession-link:hover {
    border-bottom-color: #2563eb;
    text-decoration: none;
}

/* ==========================================================================
   Job Cards Grid
   ========================================================================== */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.job-card {
    background-color: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.job-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    border: 1px solid #e5e7eb;
    padding: 0.25rem;
}

.job-card-title {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.job-card-company {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-card-company svg { margin-right: 0.5rem; width: 16px; height: 16px; }

.job-card-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.job-detail-icon {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.job-detail-icon svg {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: auto;
}

.job-expiry {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.job-card-footer .btn {
	padding: 0.5rem 1rem;
}

/* ==========================================================================
   Blog Section / Cards
   ========================================================================== */
.blog-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 220px;
    background-color: #e5e7eb;
}

.blog-card-clean {
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    border: none;
}

.blog-card-clean:hover {
    box-shadow: none;
    transform: none;
}

.blog-card-clean .blog-card-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.blog-card-clean .blog-card-body {
    padding: 1rem 0;
}

.blog-card-clean .blog-card-meta {
    border-top: none;
    padding-top: 0;
    justify-content: flex-start;
    gap: 1rem;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-cat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 26px; /* 1.625rem approx */
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

/* ==========================================================================
   Single Blog Post Layout
   ========================================================================== */
.single-blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) 30px;
    background-color: var(--color-white);
}

.single-blog-container .blog-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.single-blog-container .entry-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.single-blog-container .entry-meta {
    font-size: 1rem;
    font-weight: 500;
}

.blog-featured-image-wrapper {
    margin: 0 0 3rem 0;
}

.blog-featured-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.blog-content {
    font-size: 1.125rem;
    color: #111827; /* Darker, more legible body text */
    line-height: 1.8;
}

.blog-content h2, .blog-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content img {
    border-radius: var(--border-radius-md);
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .single-blog-container {
        padding: var(--spacing-xl) 20px;
    }
    
    .single-blog-container .entry-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Archive & Filter Bar
   ========================================================================== */
.page-header {
    background-color: var(--color-white);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.archive-filter-bar {
    background-color: var(--color-white);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 64px; /* Adjust based on header height */
    z-index: 900;
}

.filter-form {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr auto;
    gap: 1rem;
}

.filter-group {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
}

/* ==========================================================================
   Single Job Page Layout
   ========================================================================== */
.single-job-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 20px;
}

.job-main-column {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e5e7eb;
}

.job-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.job-header-company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-header-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-sm);
    padding: 0.25rem;
}

.job-header-company-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.job-title-h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* 2-column Related Jobs Grid */
.related-jobs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.6rem;
    column-gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #374151; /* slightly darker than muted */
    font-size: 0.95rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
}

.job-meta-item svg {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.job-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 2rem 0;
}

.job-description-content h2,
.job-description-content h3 {
    margin-top: 2rem;
}

.job-description-content ul,
.job-description-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.job-description-content li {
    margin-bottom: 0.5rem;
}

.job-apply-section {
    margin-top: 3rem;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
}

/* Sidebar Cards */
.sidebar-card {
    background-color: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.sidebar-company-logo {
    display: block;
    margin: 0 auto 1rem;
    max-width: 120px;
}

.sidebar-detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.sidebar-detail-icon {
    color: var(--color-primary);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.sidebar-detail-icon svg { width: 18px; height: 18px; }

.sidebar-detail-content {
    display: flex;
    flex-direction: column;
}

.sidebar-detail-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.sidebar-detail-value {
    font-weight: 500;
}

/* Single Job Responsiveness tweaks */
@media (max-width: 992px) {
    .single-job-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-job-layout {
        padding: var(--spacing-sm) 20px;
        gap: var(--spacing-md);
    }

    .job-main-column {
        padding: 0;
        border: none;
        background-color: transparent;
    }

    .job-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .job-title-h1 {
        font-size: 1.875rem; /* Reduced from 2.5rem */
    }

    .job-meta-row {
        gap: 1rem;
        flex-direction: column; /* Stack meta items on mobile */
    }

    .job-meta-item {
        width: 100%;
    }

    .job-apply-section {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   Single Blog
   ========================================================================== */
.single-blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-sm);
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-featured-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.blog-content {
    font-size: 1.125rem;
    color: #111827; /* Even here we override */
}

.blog-content h2 { margin-top: 2.5rem; }
.blog-content p { margin-bottom: 1.5rem; }

/* Lists formatting */
.blog-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-content ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 0.75rem;
}

.blog-content ul li p,
.blog-content ol li p {
    margin-bottom: 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Post Tags */
.post-tags {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tags-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    color: var(--color-text-dark);
    transition: all 0.2s ease;
}

.post-tags a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Author Bio Box */
.author-bio-box {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    box-shadow: var(--shadow-sm);
}

.author-info {
    flex-grow: 1;
}

.author-name {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.author-name a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
}

.author-name a:hover {
    text-decoration-color: var(--color-primary);
}

.author-desc {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .author-bio-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Related Posts Redesign */
.related-posts {
    background-color: var(--color-background);
    margin-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.related-posts-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.related-posts-header h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.related-posts-header p {
    color: var(--color-text-muted);
}

.blog-card-placeholder {
    background-color: #e5e7eb;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.blog-card-link-wrapper {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.related-grid .blog-card-clean {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-grid .blog-card-clean:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-grid .blog-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.related-grid .blog-card-date {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Comments Section */
.comments-area {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: var(--spacing-xl) var(--spacing-sm);
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
    border-bottom: 2px solid var(--color-background);
    padding-bottom: 1rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 1.5rem;
}

.comment-author-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-meta {
    margin-bottom: 0.5rem;
}

.comment-meta b {
    font-size: 1.125rem;
    color: var(--color-primary);
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.comment-metadata a {
    color: inherit;
}

.comment-content p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.reply {
    margin-top: 0.5rem;
}

.reply a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s ease;
}

.reply a:hover {
    text-decoration-color: var(--color-primary);
}

/* Comment Form */
.comment-respond {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 3rem;
    border: 1px solid #e5e7eb;
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form .form-submit {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.comment-form .submit {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .comment-form {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Pagination & Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    padding: 1rem 20px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-primary);
}

.breadcrumbs span.separator {
    margin: 0 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: var(--spacing-xl) 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-white);
    border: 1px solid #e5e7eb;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #000000;
    color: var(--color-white);
    padding-top: var(--spacing-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-widget h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-nav-menu a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .job-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .single-job-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation, .menu-close {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }

    /* Mobile Nav Active State — white bg with deep blue text */
    .main-navigation.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        background-color: #ffffff; /* Changed from accent red to white */
        z-index: 1000;
        padding: 5rem 2rem 3rem;
        box-shadow: none;
        animation: slideInRight 0.3s ease;
        overflow-y: auto;
    }
    
    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .main-navigation.active ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-navigation.active li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb; /* match white bg */
    }
    
    .main-navigation.active li:last-child {
        border-bottom: none;
    }

    .main-navigation.active a {
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--color-primary); /* Deep blue text on white background */
        display: flex;
        justify-content: space-between;
        padding: 1.25rem 0;
        width: 100%;
    }
    
    .main-navigation .sub-menu {
        display: none;
        position: static;
        background-color: #f7f8fc;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
    }
    
    .main-navigation li.open-mobile > .sub-menu {
        display: flex;
    }
    
    .main-navigation .sub-menu a {
        color: var(--color-primary);
        padding: 1rem 1.5rem;
        font-size: 16px;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .main-navigation .sub-menu a:hover {
        background-color: #eef0f7;
        color: var(--color-primary);
    }

    .mobile-search-form {
        display: block;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .mobile-search-form .header-search-form {
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .mobile-search-form .header-search-field {
        border: none;
        padding: 1rem;
    }
    
    .mobile-search-form .header-search-submit {
        padding: 0 1.25rem;
    }

    .main-navigation.active .menu-close {
        display: block; /* Show close button when active */
        color: var(--color-primary); /* Blue close button on white bg */
    }
    
    .main-navigation.active .menu-close svg {
        stroke: var(--color-primary);
    }

    body.menu-open .menu-toggle {
        display: none; /* Hide hamburger when active */
    }

    .menu-overlay.active {
        display: none; /* Not needed for full screen */
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Rest */
    .hero-section h1 { font-size: 2.5rem; }
    
    .hero-search-form {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
        background-color: transparent;
        box-shadow: none;
    }

    .search-input-group {
        background-color: var(--color-white);
        border-radius: 10px;
        margin-bottom: 0.5rem;
        padding: 1rem;
    }

    .search-divider { display: none; }

    .job-grid, .blog-grid, .footer-grid, .filter-form {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Archive Page (Job List)
   ========================================================================== */
.archive-main-layout {
    background-color: var(--color-background);
}

.archive-grid {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.mobile-filter-bar {
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* Sidebar Filters */
.archive-sidebar {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.filter-widget {
    margin-bottom: 2rem;
}

.filter-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.filter-radio-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}

.radio-label input[type="radio"] {
    accent-color: var(--color-primary);
    width: 1rem;
    height: 1rem;
}

/* Job List View */
.job-list-view {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.job-card-list {
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card-list:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.job-list-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
}

.job-list-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.placeholder-logo {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    border-radius: var(--border-radius-sm);
}

.job-list-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.job-list-header {
    margin-bottom: 0.75rem;
}

.job-list-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.job-company {
    color: var(--color-primary);
    font-weight: 600;
}

.job-list-excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-list-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ========== Accordion Filter Styles ========== */
.filter-accordion {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0.9rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-dark);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-accordion-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.filter-accordion.open .filter-accordion-toggle svg {
    transform: rotate(180deg);
}

.filter-accordion-body {
    display: none;
    padding: 0.5rem 0 1rem;
    flex-direction: column;
    gap: 0;
}

.filter-accordion.open .filter-accordion-body {
    display: flex;
}

/* Checkbox labels for multi-select filters */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    border-radius: 3px;
}

.checkbox-label em {
    font-style: normal;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* Filter actions */
.filter-actions {
    margin-top: 1.25rem;
}

/* Over-ride filter-widget inside accordion */
.filter-accordion.filter-widget {
    margin-bottom: 0;
}

/* Salary Pill Styles */
.salary-pill {
    transition: all 0.2s ease;
}

.salary-pill:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-color: var(--color-primary) !important;
}

.salary-range-inputs input:focus {
    border-color: var(--color-primary) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 35, 102, 0.1);
}
.job-description-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #374151;
}

.job-description-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-description-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-description-content li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
    color: #374151;
}

.job-description-content h2,
.job-description-content h3,
.job-description-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

/* ========== Archive/Category Blog Card — Homepage Style ========== */
/* Apply the "clean" look to blog grid in archive/category pages */
.archive-blog-grid .blog-card,
.taxonomy-blog-grid .blog-card {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
}

.archive-blog-grid .blog-card:hover,
.taxonomy-blog-grid .blog-card:hover {
    transform: none;
    box-shadow: none !important;
}

.archive-blog-grid .blog-card .blog-card-image,
.taxonomy-blog-grid .blog-card .blog-card-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.archive-blog-grid .blog-card .blog-card-body,
.taxonomy-blog-grid .blog-card .blog-card-body {
    padding: 0.75rem 0 0;
}

.archive-blog-grid .blog-card .blog-card-excerpt,
.taxonomy-blog-grid .blog-card .blog-card-excerpt {
    display: none;
}

.archive-blog-grid .blog-card .blog-card-meta,
.taxonomy-blog-grid .blog-card .blog-card-meta {
    border-top: none;
    padding-top: 0.25rem;
    justify-content: flex-start;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.archive-blog-grid .blog-card .blog-card-title,
.taxonomy-blog-grid .blog-card .blog-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

/* Mobile Sidebar & Layout tweaks */
.sidebar-header.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-filter-bar {
        display: flex;
    }
    
    .archive-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 0 1.5rem 1.5rem;
        border-radius: 24px 24px 0 0;
        z-index: 2000;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
        display: block;
    }
    
    .archive-sidebar.active {
        transform: translateY(0);
    }
    
    .sidebar-header.mobile-only {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding: 1.5rem 0 1rem;
        border-bottom: 1px solid #f3f4f6;
        position: sticky;
        top: 0;
        background: var(--color-white);
        z-index: 10;
    }

    .sidebar-header.mobile-only h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary);
    }
    
    .btn-close-filter {
        background: #f3f4f6;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-muted);
        transition: background 0.2s;
    }

    .btn-close-filter:hover {
        background: #e5e7eb;
    }

    .filter-actions {
        position: sticky;
        bottom: 0;
        background: var(--color-white);
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin-top: 2rem;
        border-top: 1px solid #f3f4f6;
    }
}

@media (max-width: 640px) {
    .job-card-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-list-logo {
        width: 60px;
        height: 60px;
    }
}
