/* SearchAndSolve Essentials Frontend Styles */

:root {
    --sas-orange: #f4992b;
    --sas-orange-dark: #e8881a;
    --sas-orange-light: #f7b55c;
    --sas-text-dark: #333333;
    --sas-text-light: #666666;
    --sas-border: #e1e1e1;
    --sas-background: #f9f9f9;
    --sas-white: #ffffff;
    --sas-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --sas-radius: 8px;
}

/* Admin bar should be visible for logged in users */

/* Twenty Twenty-One Theme Header Padding Override */
.site-header {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    margin-top: -0.3rem !important;
}

.site-branding {
    margin-bottom: 0 !important;
}

/* Menu Styling - Standard WordPress Menu */
.primary-navigation ul li a:hover,
.primary-navigation ul li a:focus,
.primary-navigation ul li:hover > a,
.site-header .primary-navigation a:hover,
.site-header .primary-navigation a:focus {
    color: var(--sas-orange) !important;
    background-color: transparent !important;
    transition: color 0.3s ease;
}

/* Menu alignment - left align with spacing from logo */
.site-header .site-branding {
    margin-right: 5rem;
}

.site-header .primary-navigation {
    text-align: left;
}

/* Force Twenty Twenty-One menu left alignment */
.site-header .site-header-inner {
    justify-content: flex-start !important;
}

.site-header .primary-navigation ul {
    justify-content: flex-start !important;
}

.primary-navigation {
    margin-left: 0 !important;
}

/* Filter sidebar styling */
.sas-filters {
    background: var(--sas-white);
    padding: 1.5rem;
    border-radius: var(--sas-radius);
    border: 1px solid var(--sas-border);
    box-shadow: var(--sas-shadow);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sas-filters h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--sas-text-dark);
    font-weight: 600;
}

.sas-filter-group {
    margin-bottom: 1.5rem;
}

.sas-filter-group h4 {
    margin-bottom: 0.75rem;
    color: var(--sas-text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.sas-filter-group label {
    display: block;
    margin-bottom: 0.4rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--sas-text-light);
}

.sas-filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(0.9);
}

.sas-filter-group:first-of-type {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

#sas-search {
    flex: 1;
    padding: 0.6rem;
    border: 2px solid var(--sas-orange);
    border-radius: var(--sas-radius);
    font-size: 0.85rem;
    outline: none;
    min-width: 0;
}

#sas-search:focus {
    border-color: var(--sas-orange-dark);
    box-shadow: 0 0 0 2px rgba(244, 153, 43, 0.2);
}

#sas-search-btn {
    background: var(--sas-orange);
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: var(--sas-radius);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

#sas-search-btn .dashicons {
    font-size: 16px;
}

#sas-search-btn:hover {
    background: var(--sas-orange-dark);
}

.sas-filter-actions {
    margin-bottom: 1.5rem;
}

.sas-btn-secondary {
    background: #f8f9fa;
    border: 1px solid var(--sas-border);
    color: var(--sas-text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--sas-radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sas-btn-secondary:hover {
    background: #e9ecef;
    border-color: var(--sas-orange);
}

/* Twenty Twenty One Theme Override - Vacature Content Headers - FORCE OVERRIDE */
.single-vacature .entry-content h1,
.single-vacature .entry-content h2,
.single-vacature .entry-content h3,
.single-vacature .entry-content h4,
.single-vacature .entry-content h5,
.single-vacature .entry-content h6,
body.single-vacature .entry-content h1,
body.single-vacature .entry-content h2,
body.single-vacature .entry-content h3,
body.single-vacature .entry-content h4,
body.single-vacature .entry-content h5,
body.single-vacature .entry-content h6,
.wp-site-blocks .single-vacature .entry-content h1,
.wp-site-blocks .single-vacature .entry-content h2,
.wp-site-blocks .single-vacature .entry-content h3,
.wp-site-blocks .single-vacature .entry-content h4,
.wp-site-blocks .single-vacature .entry-content h5,
.wp-site-blocks .single-vacature .entry-content h6,
.twentytwentyone .single-vacature .entry-content h1,
.twentytwentyone .single-vacature .entry-content h2,
.twentytwentyone .single-vacature .entry-content h3,
.twentytwentyone .single-vacature .entry-content h4,
.twentytwentyone .single-vacature .entry-content h5,
.twentytwentyone .single-vacature .entry-content h6 {
    color: #f39c12 !important;
    font-weight: 600 !important;
    margin-top: 1.2rem !important;
    margin-bottom: 0.6rem !important;
}

.single-vacature .entry-content h1,
body.single-vacature .entry-content h1,
.wp-site-blocks .single-vacature .entry-content h1,
.twentytwentyone .single-vacature .entry-content h1 { font-size: 1.4rem !important; }

.single-vacature .entry-content h2,
body.single-vacature .entry-content h2,
.wp-site-blocks .single-vacature .entry-content h2,
.twentytwentyone .single-vacature .entry-content h2 { font-size: 1.2rem !important; }

.single-vacature .entry-content h3,
body.single-vacature .entry-content h3,
.wp-site-blocks .single-vacature .entry-content h3,
.twentytwentyone .single-vacature .entry-content h3 { font-size: 1.1rem !important; }

.single-vacature .entry-content h4,
body.single-vacature .entry-content h4,
.wp-site-blocks .single-vacature .entry-content h4,
.twentytwentyone .single-vacature .entry-content h4 { font-size: 1rem !important; }

.single-vacature .entry-content h5,
body.single-vacature .entry-content h5,
.wp-site-blocks .single-vacature .entry-content h5,
.twentytwentyone .single-vacature .entry-content h5 { font-size: 0.95rem !important; }

.single-vacature .entry-content h6,
body.single-vacature .entry-content h6,
.wp-site-blocks .single-vacature .entry-content h6,
.twentytwentyone .single-vacature .entry-content h6 { font-size: 0.9rem !important; }

.single-vacature .entry-content p,
body.single-vacature .entry-content p,
.wp-site-blocks .single-vacature .entry-content p,
.twentytwentyone .single-vacature .entry-content p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

.single-vacature .entry-content ul,
.single-vacature .entry-content ol,
body.single-vacature .entry-content ul,
body.single-vacature .entry-content ol,
.wp-site-blocks .single-vacature .entry-content ul,
.wp-site-blocks .single-vacature .entry-content ol,
.twentytwentyone .single-vacature .entry-content ul,
.twentytwentyone .single-vacature .entry-content ol {
    font-size: 0.85rem !important;
}

/* Application form styling - matches recruiter card */
.sas-application-form {
    background: var(--sas-white);
    padding: 2rem;
    border-radius: 12px !important;
    border: 1px solid var(--sas-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
}

/* Force border-radius on all form elements */
.sas-application-form input[type="text"],
.sas-application-form input[type="email"], 
.sas-application-form input[type="tel"],
.sas-application-form input[type="url"],
.sas-application-form textarea {
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.sas-application-form h3 {
    margin-bottom: 1.5rem;
    color: var(--sas-text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.sas-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sas-form-field {
    margin-bottom: 1rem;
}

.sas-form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--sas-text-dark);
    font-size: 0.9rem;
}

.sas-form-field input,
.sas-form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--sas-border);
    border-radius: 8px !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fafafa;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
}

.sas-form-field input:focus,
.sas-form-field textarea:focus {
    outline: none;
    border-color: var(--sas-orange);
    box-shadow: 0 0 0 3px rgba(244, 153, 43, 0.15);
    background: var(--sas-white);
}

.sas-form-field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.sas-vacature-card .sas-btn {
    background: var(--sas-orange);
    color: var(--sas-white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin: 1rem 0 0 0;
    width: auto;
    min-width: 140px;
}

.sas-vacature-card .sas-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(244, 153, 43, 0.3);
}

.sas-form-submit,
.wp-site-blocks .sas-form-submit,
body .sas-form-submit,
.sas-application-form .sas-form-submit,
input.sas-form-submit,
button.sas-form-submit,
input[type="submit"].sas-form-submit {
    background: #f39c12 !important;
    color: white !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(244, 153, 43, 0.3) !important;
    display: inline-block !important;
    text-align: center !important;
    min-width: 160px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
}

.sas-form-submit:hover,
.wp-site-blocks .sas-form-submit:hover,
body .sas-form-submit:hover,
.sas-application-form .sas-form-submit:hover,
input.sas-form-submit:hover,
button.sas-form-submit:hover,
input[type="submit"].sas-form-submit:hover {
    background: #e67e22 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(244, 153, 43, 0.4) !important;
}

.sas-form-submit:hover {
    background: var(--sas-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 153, 43, 0.4);
}

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

/* Compact Grid Styling */
.sas-vacature-grid-compact {
    display: grid;
    grid-template-columns: repeat(var(--columns, 2), 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sas-vacature-card-compact {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: var(--sas-white);
    transition: all 0.3s ease;
}

.sas-vacature-card-compact:hover {
    border-color: var(--sas-orange);
    box-shadow: 0 2px 8px rgba(244, 153, 43, 0.15);
}

.sas-card-title-compact {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.sas-card-title-compact a {
    color: var(--sas-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sas-card-title-compact a:hover {
    color: var(--sas-orange);
}

.sas-card-location {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sas-location-icon {
    font-size: 0.8rem;
    color: #f39c12 !important;
}

.sas-grid-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.sas-btn-view-all {
    background: var(--sas-orange);
    color: var(--sas-white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.sas-btn-view-all:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 153, 43, 0.3);
}

@media (max-width: 768px) {
    .sas-vacature-grid-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sas-vacature-card-compact {
        padding: 1rem 0;
    }
}

/* Hero Section Styling */
.sas-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    min-height: 400px;
}

.sas-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sas-hero-overlay-dark {
    background: rgba(0, 0, 0, 0.5);
}

.sas-hero-overlay-light {
    background: rgba(255, 255, 255, 0.7);
}

.sas-hero-overlay-none {
    background: transparent;
}

.sas-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.sas-hero-align-center {
    text-align: center;
}

.sas-hero-align-left {
    text-align: left;
}

.sas-hero-align-right {
    text-align: right;
}

.sas-hero-color-white {
    color: white;
}

.sas-hero-color-dark {
    color: #333;
}

.sas-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sas-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.sas-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sas-hero-align-center .sas-hero-buttons {
    justify-content: center;
}

.sas-hero-align-left .sas-hero-buttons {
    justify-content: flex-start;
}

.sas-hero-align-right .sas-hero-buttons {
    justify-content: flex-end;
}

.sas-hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--sas-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sas-hero-btn-primary {
    background: var(--sas-orange);
    color: white;
    border-color: var(--sas-orange);
}

.sas-hero-btn-primary:hover {
    background: var(--sas-orange-dark);
    border-color: var(--sas-orange-dark);
    color: white;
}

.sas-hero-btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.sas-hero-btn-secondary:hover {
    background: white;
    color: var(--sas-text-dark);
}

.sas-hero-color-dark .sas-hero-btn-secondary {
    color: #333;
    border-color: #333;
}

.sas-hero-color-dark .sas-hero-btn-secondary:hover {
    background: #333;
    color: white;
}

@media (max-width: 768px) {
    .sas-hero-title {
        font-size: 2rem;
    }
    
    .sas-hero-subtitle {
        font-size: 1rem;
    }
    
    .sas-hero-content {
        padding: 1rem;
    }
    
    .sas-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sas-hero-btn {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
}

/* Reduce header spacing */
.wp-site-blocks {
    padding-top: 0 !important;
}

/* Fix WordPress image constraints */
.entry-content .wp-block-image,
.entry-content figure {
    max-width: none !important;
}

/* MetaSlider responsive fix */
.home .metaslider {
    max-width: 100%;
    height: auto;
}

.home .metaslider img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Clean Vacature Grid - No Filters */
.sas-clean-vacature-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.sas-clean-vacature-grid.sas-grid-columns-1 {
    grid-template-columns: 1fr;
}

.sas-clean-vacature-grid.sas-grid-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sas-clean-vacature-grid.sas-grid-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sas-clean-vacature-grid.sas-grid-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Compact Vacature Card */
.sas-compact-vacature-card {
    background: var(--sas-white);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem 2rem 0 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 300px;
}

.sas-compact-vacature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--sas-orange);
}

.sas-card-badge {
    background: var(--sas-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.sas-card-title {
    margin: 0 0 0.8rem 0;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
    color: #2c3e50;
}

.sas-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sas-card-title a:hover {
    color: var(--sas-orange);
}

.sas-card-location {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Removed - using inline HTML icon instead */

.sas-card-excerpt {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sas-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.sas-detail-item {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #c8e6c9;
}

.sas-card-footer {
    margin-top: auto;
}

.sas-card-button {
    background: var(--sas-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    transition: all 0.3s ease;
    width: calc(100% + 4rem);
    margin: auto -2rem -2rem -2rem;
    text-align: center;
    box-sizing: border-box;
}

.sas-card-button:hover {
    background: var(--sas-orange-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .sas-clean-vacature-grid.sas-grid-columns-2,
    .sas-clean-vacature-grid.sas-grid-columns-3,
    .sas-clean-vacature-grid.sas-grid-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .sas-compact-vacature-card {
        padding: 1rem;
    }
}

/* Vacature Header */
.sas-vacature-header {
    background: var(--sas-white);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    padding: 2rem;
    margin-bottom: 1rem;
    margin-top: 0;
    box-shadow: var(--sas-shadow);
}

.sas-header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sas-vacature-title {
    margin: 0;
    color: var(--sas-text-dark);
    font-size: 2rem;
    font-weight: 700;
}

.sas-vacature-location {
    color: var(--sas-text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.sas-vacature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sas-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.sas-chip-category {
    background: var(--sas-orange);
    color: var(--sas-white);
}

.sas-chip-salary {
    background: #28a745;
    color: var(--sas-white);
}

.sas-chip-education {
    background: #007bff;
    color: var(--sas-white);
}

.sas-chip-hours {
    background: #6f42c1;
    color: var(--sas-white);
}

.sas-chip-contract {
    background: #fd7e14;
    color: var(--sas-white);
}

.sas-chip-experience {
    background: #20c997;
    color: var(--sas-white);
}

/* Filters */
.sas-filters {
    background: var(--sas-white);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--sas-shadow);
}

.sas-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sas-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.sas-filter-field input,
.sas-filter-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.sas-filter-field input:focus,
.sas-filter-field select:focus {
    outline: none;
    border-color: var(--sas-orange);
    box-shadow: 0 0 0 2px rgba(244, 153, 43, 0.2);
}

.sas-filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.sas-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--sas-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.sas-btn-primary:hover {
    background: var(--sas-orange-dark);
    color: var(--sas-white);
    text-decoration: none;
}

.sas-btn-secondary {
    background: var(--sas-background);
    color: var(--sas-text-dark);
    border: 1px solid var(--sas-border);
}

.sas-btn-secondary:hover {
    background: var(--sas-border);
    text-decoration: none;
}

/* Vacature Grid */
.sas-vacature-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sas-columns-1 { grid-template-columns: 1fr; }
.sas-columns-2 { grid-template-columns: repeat(2, 1fr); }
.sas-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.sas-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
}
.sas-columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .sas-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sas-vacature-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Vacature Card */
.sas-vacature-card {
    background: var(--sas-white);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    overflow: hidden;
    box-shadow: var(--sas-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sas-vacature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.sas-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sas-card-content {
    padding: 1.5rem;
}

.sas-card-category {
    display: inline-block;
    background: var(--sas-orange);
    color: var(--sas-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.sas-card-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.sas-card-title a {
    color: var(--sas-text-dark);
    text-decoration: none;
}

.sas-card-title a:hover {
    color: var(--sas-orange);
}

.sas-card-location {
    color: var(--sas-text-light);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.sas-card-excerpt {
    color: var(--sas-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sas-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sas-card-meta span {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--sas-background);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--sas-text-light);
}

.sas-meta-salary {
    background: #d4edda !important;
    color: #155724 !important;
}

/* Application Form */
.sas-application-form {
    background: var(--sas-white);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--sas-shadow);
}

.sas-application-form h3 {
    margin: 0 0 1.5rem 0;
    color: var(--sas-text-dark);
    font-size: 1.5rem;
}

.sas-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.sas-form-field {
    display: flex;
    flex-direction: column;
}

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

.sas-form-field input,
.sas-form-field input[type="file"] {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 0.9rem;
}

.sas-form-field small {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.sas-form-field input:focus,
.sas-form-field textarea:focus {
    outline: none;
    border-color: var(--sas-orange);
    box-shadow: 0 0 0 2px rgba(244, 153, 43, 0.2);
}

.sas-form-message {
    padding: 1rem;
    border-radius: var(--sas-radius);
    margin-top: 1rem;
}

.sas-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sas-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Recruiter Card */
.sas-recruiter-card {
    background: var(--sas-white);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    padding: 2rem;
    margin: 0;
    box-shadow: var(--sas-shadow);
    position: sticky;
    top: 2rem;
}

.sas-recruiter-header h3 {
    margin: 0 0 1.5rem 0;
    color: var(--sas-text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.sas-recruiter-content {
    text-align: center;
}

.sas-recruiter-photo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.sas-recruiter-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--sas-orange-light);
}

.sas-recruiter-info {
    width: 100%;
}

.sas-recruiter-name {
    margin: 0 0 1rem 0;
    color: var(--sas-text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.sas-recruiter-bio {
    color: var(--sas-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.sas-recruiter-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sas-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--sas-orange);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem;
    border: 2px solid var(--sas-orange);
    border-radius: var(--sas-radius);
    transition: all 0.3s ease;
}

.sas-contact-link:hover {
    background: var(--sas-orange);
    color: var(--sas-white);
    text-decoration: none;
}

.sas-contact-link .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Pagination */
.sas-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.sas-pagination a,
.sas-pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    text-decoration: none;
    color: var(--sas-text-dark);
}

.sas-pagination a:hover {
    background: var(--sas-orange);
    color: var(--sas-white);
    border-color: var(--sas-orange);
}

.sas-pagination .current {
    background: var(--sas-orange);
    color: var(--sas-white);
    border-color: var(--sas-orange);
}

/* No Results */
.sas-no-results {
    text-align: center;
    padding: 3rem;
    color: var(--sas-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sas-vacature-header {
        padding: 1.5rem;
    }
    
    .sas-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sas-vacature-title {
        font-size: 1.5rem;
    }
    
    .sas-filter-row {
        grid-template-columns: 1fr;
    }
    
    .sas-filter-actions {
        flex-direction: column;
    }
    
    .sas-recruiter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .sas-form-row {
        grid-template-columns: 1fr;
    }
}
