/*
Theme Name:        Bryze ATS Theme
Theme URI:         https://bryze.nl/ats/theme
Description:       Het officiële Bryze ATS theme — slank, snel, geïntegreerd met de Bryze ATS plugin-suite (vacatures, kandidaten, CRM, AI, AVG). Werkt out-of-the-box met de centrale Bryze Branding (logo, accent-kleur, footer).
Version:           5.0.0
Requires at least: 5.8
Tested up to:      6.4
Requires PHP:      7.4
Author:            Bryze Development
Author URI:        https://bryze.nl
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       bryze-ats-theme
Domain Path:       /languages
Tags:              recruitment, ats, jobs, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

== Changelog ==

5.0.0 — 2026-05-27
- Herzien onder de naam "Bryze ATS Theme" (was Bryze Flow Pro)
- Text-domain genormaliseerd naar `bryze-ats-theme`
- Aangepaste theme-metadata: License, Tags, Requires PHP/WP toegevoegd
- Voorbereid voor centrale Bryze Branding (logo, accent-kleur, footer-tekst)

4.0.0
- Internal release als "Bryze ATS Theme"
- Plugin-bridge: laadt SAS/Bryze ATS-core modules

2.2 — Bryze Flow Pro (legacy)
- Vacature-archive + single layout
- Mobile menu
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Container System */
.sas-page-container {
    width: 90vw;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.sas-content-wrapper {
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.sas-hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* Offerte/Contract single-page = full-width. Plugin-onafhankelijk in het thema,
   zodat het werkt met elke PDF-plugin (vervangt de oude bryze-pdf wp_head-override). */
body.single-offerte .sas-content-wrapper,
body.single-offerte article.sas-content-wrapper,
body.single-offerte .entry-content,
body.single-offerte .main-content {
    max-width: none;
    width: 100%;
    display: block;
    grid-template-columns: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

body.single-offerte .sas-content-wrapper > h1,
body.single-offerte article.sas-content-wrapper > h1 {
    max-width: 1200px;
    margin: 2rem auto 1.5rem;
    padding: 0 20px;
    color: #1e293b;
}

body.single-offerte .psig-wrap {
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.site-header {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4px
}

.site-logo {
    margin-right: 5cm;
    margin-top: 4px; /* Logo 4px van bovenkant */
}

.site-logo img {
    max-height: 160px;
    width: auto;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: var(--sas-primary, #2563eb);
    color: white;
}

/* Login/Dashboard link in header */
.header-login {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.header-login-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #007bff;
    color: #fff !important;
}

.header-login-link:hover {
    background: #0056b3;
    color: #fff !important;
}

.header-dashboard-link {
    background: #28a745;
}

.header-dashboard-link:hover {
    background: #1e7e34;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: #333;
}

/* Font sizes controlled by Style Manager */

/* Page Templates */
.page-header {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    margin: 0;
    color: #333;
}

/* Content Areas */
.main-content {
    padding: 0;
}

.entry-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* Archive Pages */
.archive-header {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.archive-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* Footer */
.site-footer {
    background: #ffffff;
    color: #333333;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Buttons */
.sas-button,
.wp-block-button__link {
    background: var(--sas-primary, #2563eb);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
}


.sas-button:hover,
.wp-block-button__link:hover {
    background: var(--sas-primary-dark, #1d4ed8);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sas-page-container {
        width: 95vw;
    }
    
    .sas-content-wrapper,
    .entry-content,
    .archive-content {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .header-login {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Font sizes controlled by Style Manager */

    /* Recruiter Card Mini for Mobile */
    .recruiter-card-mini {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin: 1.5rem 0;
    }

    .recruiter-card-mini .recruiter-photo img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .recruiter-card-mini .recruiter-details {
        flex-grow: 1;
    }

    .recruiter-card-mini .recruiter-name {
        font-weight: 600;
        margin: 0;
    }

    .recruiter-card-mini .recruiter-contact-icons {
        display: flex;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .recruiter-card-mini .recruiter-contact-icons a {
        font-size: 1.2rem;
        color: #333;
    }
}

/* Plugin Integration */
.sas-vacature-grid,
.sas-contact-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

/* Recruiter Card */
.recruiter-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 2rem 0;
}

.recruiter-card .recruiter-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.recruiter-card .recruiter-info h3 {
    margin: 0 0 0.5rem;
}

.recruiter-card .recruiter-bio {
    margin-bottom: 1rem;
}

.recruiter-card .recruiter-contact-links a {
    margin-right: 1rem;
    text-decoration: none;
    color: var(--sas-primary, #2563eb);
    font-weight: 500;
}

.recruiter-card .recruiter-contact-links a:hover {
    text-decoration: underline;
}

/* Ensure consistent containers */
.page-template-contact .sas-contact-section,
.archive-vacature .main-content,
.single-vacature .main-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    margin: 2rem 0;
}
