/* People Office – Hero & Modal styles */

/* ══════════════════════════════════════════
   THEME-OVERRIDE CLASSES (loaded from theme)
   ══════════════════════════════════════════ */

/* Container */
.po-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Hero section — full-width breakout from WP content column ── */
.po-hero-section {
    background-color: #fceee5;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    box-sizing: border-box;
    /* Force out of Tailwind grid column */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 76% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* Override Tailwind column constraints */
    grid-column: 1 / -1 !important;
    -ms-grid-column-span: all;
    margin-top: -147px;
}

.po-hero-grid {
    max-width: 900px;
    margin: 0 auto;
}

.po-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.po-heading-wrap {
    margin-bottom: 1.5rem;
}

.po-vacature-heading {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #e87820 !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

/* Search form pill */
.po-search-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f5d4b8;
    border-radius: 0.5rem;
    padding: 0.375rem;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
    stroke: #888888;
    width: 100%;
    box-sizing: border-box;
}

/* Keyword input group */
.po-query-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e8a87c;
    border-radius: 0.375rem;
    padding: 0 0.75rem;
    height: 48px;
    flex: 2;
    min-width: 0;
}

.po-query-icon {
    color: #888888;
    flex-shrink: 0;
    margin-right: 0.5rem;
    stroke: #888888;
}

.po-query-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #333333 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: 100%;
    flex: 1;
}

.po-query-input::placeholder { color: #aaaaaa; }

/* Location input group */
.po-location-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e8a87c;
    border-radius: 0.375rem;
    padding: 0 0.75rem;
    height: 48px;
    flex: 1.5;
    min-width: 0;
    gap: 0;
}

.po-postcode-inner {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.po-location-icon {
    flex-shrink: 0;
    margin-right: 0.5rem;
    stroke: #888888;
}

.po-postcode-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #333333 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: 100%;
}

.po-postcode-input::placeholder { color: #aaaaaa; }

.po-radius-inner {
    display: flex;
    align-items: center;
    border-left: 1px solid #dddddd;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.po-radius-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #333333 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: 70px;
}

.po-radius-input::placeholder { color: #aaaaaa; }

.po-radius-input::-webkit-outer-spin-button,
.po-radius-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.po-radius-input[type=number] { -moz-appearance: textfield; }

.po-km-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555555;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

/* Submit button */
.po-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background-color: #1a73e8 !important;
    background: #1a73e8 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0 1.75rem !important;
    height: 52px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.po-submit-btn:hover,
.po-submit-btn:focus {
    background-color: #1558c0 !important;
    background: #1558c0 !important;
    color: #ffffff !important;
}

.po-arrow-icon { stroke: #ffffff; flex-shrink: 0; }

/* Alert link */
.po-alert-row {
    text-align: center;
    margin-top: 0.5rem;
}

.po-alert-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #333333 !important;
    font-size: 0.95rem;
    text-decoration: underline;
    text-decoration-color: #333333;
    transition: opacity 0.2s;
}

.po-alert-trigger:hover { opacity: 0.7; text-decoration: underline; }

.uzp-button-fill  { display: inline-flex; align-items: center; }
.uzp-button-filled { display: none; align-items: center; }
.po-alert-trigger:hover .uzp-button-fill   { display: none; }
.po-alert-trigger:hover .uzp-button-filled { display: inline-flex; }

/* ── Filter bar (theme-override job-listings-start.php) ── */

.po-jobs-section {
    box-sizing: border-box;
    padding: 2rem 1.5rem 4rem;
    background-color: #f3f4f6 !important;
    display: flow-root; /* contains floats and overflow without clipping */
    /* Force out of Tailwind grid column */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 76% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-column: 1 / -1 !important;
}

/* Ensure the inner grid and cards stay inside .po-jobs-section */
.po-jobs-section .po-filter-section,
.po-jobs-section .po-jobs-container,
.po-jobs-section .sjb-listing,
.po-jobs-section .sjb-po-main,
.po-jobs-section .po-job-grid {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    left: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.po-filter-section {
    margin-bottom: 1.5rem;
    background-color: transparent;
}

.po-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.po-filter-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.po-funnel-icon { color: #444; flex-shrink: 0; }

/* Filter dropdowns */
.po-categories-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.po-filter-category {
    position: relative;
}

.po-filter-title {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 0.25rem;
    user-select: none;
    transition: background 0.15s;
}

.po-filter-title:hover {
    background: #e87820;
}

.po-filter-title:hover .po-filter-label,
.po-filter-title:hover .po-filter-chevron {
    color: #ffffff !important;
}

.po-filter-category.open .po-filter-title {
    background: #e87820;
}

.po-filter-category.open .po-filter-title .po-filter-label,
.po-filter-category.open .po-filter-title .po-filter-chevron {
    color: #ffffff !important;
}

.po-filter-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #282828;
}

.po-filter-chevron {
    color: #282828;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.po-filter-category.open .po-filter-chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.po-filter-items {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 100;
    padding: 0.5rem 0;
}

.po-filter-category.open .po-filter-items { display: block; }

.po-filter-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #333333;
    text-decoration: none !important;
    transition: background 0.15s;
    cursor: pointer;
}

.po-filter-item:hover { background: #f5f5f5; color: #333333; }

.po-filter-item.po-filter-active { color: #e87820; font-weight: 600; }

.po-check {
    width: 14px;
    height: 14px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}

.po-check.po-check-active,
.po-filter-active .po-check {
    background: #e87820;
    border-color: #e87820;
}

.po-filter-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #888888;
}

/* Results count (right side) */
.po-filter-right { margin-left: auto; }

.po-filter-count-display {
    font-size: 0.95rem;
    color: #282828;
}

/* Mobile toggle */
.po-filter-mobile-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #282828;
    padding: 0.4rem 0;
}

.po-toggle-chevron { transition: transform 0.2s; }
.po-filter-mobile-toggle.filtersOpen .po-toggle-chevron { transform: rotate(180deg); }

/* Job section background — grey on .po-jobs-section, container is transparent */
.po-jobs-container {
    background-color: transparent !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    position: static !important;
    width: auto !important;
    transform: none !important;
}

.sjb-listing { }
.sjb-po-main { }

/* Fix: replace Tailwind grid classes — desktop only */
.po-job-grid,
.sjb-po-main .list-view,
.sjb-po-main .list-view.grid,
.sjb-po-main .grid.grid-cols-1,
div.sjb-po-main div.list-view {
    display: grid !important;
    gap: 2rem !important;
    grid-template-columns: 1fr !important;
}

@media (min-width: 769px) {
    .po-job-grid,
    .sjb-po-main .list-view,
    .sjb-po-main .list-view.grid,
    .sjb-po-main .grid.grid-cols-1,
    div.sjb-po-main div.list-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Responsive (hero + filter + grid) ── */

/* Tablet */
@media (max-width: 900px) {
    .po-job-grid,
    .grid.grid-cols-1 { gap: 1rem; }
}

/* Mobile */
@media (max-width: 768px) {

    /* Hero: cancel full-width breakout on mobile */
    .po-hero-section {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 2rem 1rem 1.5rem !important;
        overflow: hidden;
        box-sizing: border-box !important;
    }

    .po-jobs-section {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }

    .po-vacature-heading { font-size: 1.75rem !important; }

    /* Stack search form vertically */
    .po-search-form {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .po-query-wrap,
    .po-location-wrap {
        flex: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .po-location-wrap {
        flex-direction: row !important;
    }

    .po-submit-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Filter bar: mobile toggle */
    .po-filter-mobile-toggle { display: flex; }
    .po-categories-wrap {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .po-categories-wrap.po-categories-open { display: flex; }
    .po-filter-items {
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
        margin-top: 4px;
    }

    .po-filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .po-filter-right { margin-left: 0; }

    /* Single column cards */
    .po-job-grid,
    .grid.grid-cols-1,
    .sjb-po-main .list-view,
    .sjb-po-main .list-view.grid,
    div.sjb-po-main div.list-view { grid-template-columns: 1fr !important; }

    /* Cards full width */
    .po-job-card__inner { padding: 1.25rem !important; }

    /* Meta items: allow wrapping on small screens */
    .po-job-card__meta { flex-wrap: wrap !important; }
}

/* ══════════════════════════════════════════
   END THEME-OVERRIDE CLASSES
   ══════════════════════════════════════════ */

/* ── Hero section ── */

.po-hero {
    background-color: #fceee5;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

.po-hero__container {
    max-width: 820px;
    margin: 0 auto;
}

.po-hero__count {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #e87820 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

/* Form pill container */
.po-hero__form {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f5d4b8;
    border-radius: 0.5rem;
    padding: 0.375rem;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

/* Individual input groups */
.po-hero__input-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e8a87c;
    border-radius: 0.375rem;
    padding: 0 0.75rem;
    height: 48px;
    flex: 2;
    min-width: 0;
}

.po-hero__input-group--location {
    flex: 1.5;
}

.po-hero__input-icon {
    color: #888888;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

/* Inputs inside groups — reset all theme styles */
.po-hero__input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    color: #333333 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.po-hero__input::placeholder {
    color: #aaaaaa;
}

.po-hero__input--narrow {
    width: 70px;
    flex: 0 0 70px;
}

/* Remove number input spinners */
.po-hero__input--narrow::-webkit-outer-spin-button,
.po-hero__input--narrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.po-hero__input--narrow[type=number] {
    -moz-appearance: textfield;
}

.po-hero__divider {
    width: 1px;
    height: 22px;
    background: #dddddd;
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.po-hero__km {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555555;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

/* Submit button */
.po-hero__btn {
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    padding: 0 1.5rem;
    height: 48px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
    line-height: 1;
}

.po-hero__btn:hover {
    background-color: #1558c0;
    color: #ffffff;
}

/* Alert link */
.po-hero__alert-wrap {
    text-align: center;
    margin-top: 0.5rem;
}

.po-hero__alert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #333333;
    font-size: 0.95rem;
    text-decoration: underline;
    text-decoration-color: #333333;
    transition: opacity 0.2s;
}

.po-hero__alert-link:hover {
    opacity: 0.7;
    text-decoration: underline;
    color: #333333;
}

/* ── Modal ── */

.po-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.po-modal-overlay--active {
    display: flex;
}

.po-modal {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 680px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.po-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #333;
    transition: background-color 0.15s;
}

.po-modal__close:hover {
    background: #e0e0e0;
}

.po-modal__title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    margin-bottom: 1.25rem !important;
    margin-top: 0 !important;
    padding-right: 2.5rem;
}

.po-modal__input {
    display: block;
    width: 100%;
    border: 1px solid #d0d0d0;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #333333;
    margin-bottom: 1rem;
    box-sizing: border-box;
    outline: none;
}

.po-modal__input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

.po-modal__btn {
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.po-modal__btn:hover {
    background-color: #1558c0;
    color: #ffffff;
}

/* ── Responsive (hero) ── */

@media (max-width: 640px) {
    .po-hero {
        padding: 2.5rem 1rem;
    }

    .po-hero__count {
        font-size: 2rem !important;
    }

    .po-hero__form {
        flex-direction: column;
        gap: 0.375rem;
    }

    .po-hero__input-group,
    .po-hero__input-group--location {
        flex: none;
        width: 100%;
    }

    .po-hero__btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Filter bar ── */

.po-listing {
    padding: 1.5rem 0 3rem;
    width: 100%;
    max-width: none;
}

.po-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.po-filter-bar__left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.po-filter-bar__icon {
    color: #444444;
    display: flex;
    align-items: center;
    margin-right: 0.25rem;
}

.po-filter-bar__dropdown {
    position: relative;
}

.po-filter-bar__select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #282828;
    cursor: pointer;
    padding: 0.4rem 1.6rem 0.4rem 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23282828' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    outline: none;
}

.po-filter-bar__select:focus {
    outline: none;
}

.po-filter-bar__right {
    margin-left: auto;
}

.po-filter-bar__count {
    font-size: 0.95rem;
    color: #282828;
}

.po-filter-bar__count strong {
    font-weight: 700;
}

/* ── Job grid ── */

.po-job-grid,
.sjb-po-main .list-view,
.sjb-po-main .list-view.grid,
.sjb-po-main .grid.grid-cols-1,
div.sjb-po-main div.list-view {
    display: grid !important;
    gap: 2rem !important;
    grid-template-columns: 1fr !important;
}

@media (min-width: 769px) {
    .po-job-grid,
    .sjb-po-main .list-view,
    .sjb-po-main .list-view.grid,
    .sjb-po-main .grid.grid-cols-1,
    div.sjb-po-main div.list-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Job card ── */

.po-job-card {
    list-style: none;
}

.po-job-card__link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}

.po-job-card__inner {
    background: #ffffff;
    border: 1px solid rgba(40, 40, 40, 0.10);
    border-radius: 0.5rem;
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.po-job-card:hover .po-job-card__inner {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.po-job-card__top {
    flex: 1;
}

.po-job-card__title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    display: block !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.po-job-card__meta {
    list-style: none;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
}

.po-job-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666666;
}

.po-job-card__meta-icon {
    flex-shrink: 0;
}

.po-job-card__bottom {
    margin-top: auto;
}

/* Animated "Bekijk vacature" button — reset theme overrides */
.po-job-card__link .po-job-card__btn-wrap,
.po-job-card__btn-wrap {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    padding: 0.5rem 1rem 0.5rem 3rem !important;
    cursor: pointer !important;
    min-height: 2rem !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    text-align: left !important;
}

.po-job-card__link .po-job-card__btn-circle,
.po-job-card__btn-circle {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 2rem !important;
    height: 2rem !important;
    background-color: #e87820 !important;
    background: #e87820 !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    z-index: 0 !important;
}

.po-job-card__btn-arrow {
    position: absolute !important;
    left: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: left 0.3s ease !important;
    flex-shrink: 0;
    z-index: 1 !important;
}

.po-job-card__link .po-job-card__btn-label,
.po-job-card__btn-label {
    position: relative !important;
    z-index: 1 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #282828 !important;
    white-space: nowrap !important;
    transition: color 0.3s ease !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Hover: circle expands */
.po-job-card:hover .po-job-card__btn-circle {
    width: calc(100% + 3rem) !important;
    height: 2.5rem !important;
    border-radius: 2rem !important;
    transform: translateY(-50%) !important;
}

.po-job-card:hover .po-job-card__btn-label {
    color: #ffffff !important;
}

.po-job-card:hover .po-job-card__btn-arrow {
    left: 1rem !important;
}

/* ── Responsive (grid) ── */

@media (max-width: 768px) {
    .po-job-grid,
    .sjb-po-main .list-view {
        grid-template-columns: 1fr !important;
    }

    .po-job-card__meta {
        flex-wrap: wrap !important;
        gap: 0.4rem 1rem !important;
    }

    .po-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .po-filter-bar__left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
    }

    .po-filter-bar__dropdown {
        width: 100%;
    }

    .po-filter-bar__select {
        width: 100% !important;
    }

    .po-filter-bar__icon,
    .po-filter-bar__right,
    .po-filter-left {
        display: none !important;
    }

    .po-filter-bar__select {
        appearance: auto !important;
        -webkit-appearance: auto !important;
        border: 1px solid #ddd !important;
        border-radius: 0.375rem !important;
        padding: 0.5rem 0.75rem !important;
        background-color: #ffffff !important;
        width: 100% !important;
    }

    #apply_form form {
        grid-template-columns: 1fr !important;
    }

    #apply_form .cx2_personal-firstName,
    #apply_form .cx2_personal-middleName,
    #apply_form .cx2_personal-lastName,
    #apply_form .cx2_contact-email,
    #apply_form .cx2_contact-homePhone {
        grid-column: 1 / -1 !important;
    }
}

/* ══════════════════════════════════════════
   JOB DETAIL PAGE — hide theme chrome
   ══════════════════════════════════════════ */

/* Hide Avada/theme page title bar on single job posts */
body.single-post .fusion-page-title-bar,
body.single-post .fusion-page-title-wrapper,
body.single-post .fusion-page-title-row,
body.single-post #sliders-container,
body.single-post .fusion-slider-container,
body.single-post .post-content > h1.fusion-post-title,
body.single-post .fusion-post-title-meta-wrap,
body.single-post .fusion-sharing-box,
body.single-post .fusion-breadcrumbs,
body.single-post .fusion-page-title-bar-center,
body.single-post #main .fusion-row > .fusion-layout-column:first-child > .fusion-column-wrapper > h1,
body.single-post .entry-title {
    display: none !important;
}

/* Remove padding/margin left by the hidden title bar */
body.single-post #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.single-post .fusion-content-sep {
    display: none !important;
}

/* Make the content area full width — remove sidebar constraints */
body.single-post #content,
body.single-post .post-content,
body.single-post #wrapper_blog_posts,
body.single-post .fusion-blog-layout-single {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* ══════════════════════════════════════════
   JOB DETAIL — hero + body layout
   ══════════════════════════════════════════ */

.po-detail-hero {
    background-color: #fceee5;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    transform: translateX(-50%) !important;
    grid-column: 1 / -1 !important;
    margin-top: 0;
    margin-bottom: 0;
}

.po-detail-hero__inner {
    max-width: 860px;
    margin: 0 auto;
}

.po-detail-hero__label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #282828;
    margin-bottom: 0.5rem;
}

.po-detail-hero__title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #e87820 !important;
    margin: 0 0 1.25rem !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

.po-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: center;
    align-items: center;
}

.po-detail-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #555555;
    font-size: 0.95rem;
}

.po-detail-hero__meta-icon {
    flex-shrink: 0;
}

/* Body section */
.po-detail-body {
    background-color: #ffffff;
    padding: 3.5rem 1.5rem 4rem;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50% !important;
    transform: translateX(-50%) !important;
    grid-column: 1 / -1 !important;
}

.po-detail-container {
    max-width: 1100px;
    margin: 0 auto;
}

.po-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.po-detail-main { min-width: 0; }

.po-detail-card {
    background: #ffffff;
    border: 1px solid rgba(40,40,40,0.1);
    border-radius: 0.625rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.po-detail-card__heading {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #e87820 !important;
    margin: 0 !important;
}

.po-detail-card__content {
    color: #282828;
    line-height: 1.7;
    font-size: 0.95rem;
}

.po-detail-card__content strong {
    font-weight: 700;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.po-detail-card__content ul {
    padding-left: 0;
    list-style: none;
    margin: 0.5rem 0;
}

.po-detail-card__content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.po-detail-card__content ul li::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #e87820;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.45em;
}

/* Apply button */
.po-detail-apply-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #1a73e8 !important;
    background: #1a73e8 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.po-detail-apply-btn:hover {
    background-color: #1557b0 !important;
    color: #ffffff !important;
}

.po-detail-apply-btn--white {
    width: 100% !important;
    margin-top: 1.5rem;
    align-self: stretch;
}

/* Share bar */
.po-detail-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(40,40,40,0.1);
    padding-top: 1.5rem;
    flex-wrap: wrap;
}

.po-detail-share__label {
    font-size: 0.9rem;
    color: #555;
}

.po-detail-share__link {
    color: #282828 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.po-detail-share__link:hover { color: #e87820 !important; }

/* Sidebar */
.po-detail-sidebar { min-width: 0; }

.po-detail-sidebar__sticky {
    position: sticky;
    top: 8rem;
}

/* Recruiter card */
.po-detail-recruiter {
    background-color: #e87820 !important;
    border-radius: 0.625rem;
    padding: 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.po-detail-recruiter__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.po-detail-recruiter__photo {
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    object-fit: cover;
    object-position: top;
    border: 2px solid rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.po-detail-recruiter__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.po-detail-recruiter__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff !important;
    display: block;
}

.po-detail-recruiter__role {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
}

.po-detail-recruiter__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    position: relative;
    z-index: 2;
}

.po-detail-recruiter__contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.po-detail-recruiter__contact-link:hover { opacity: 0.8; }

.po-detail-recruiter__bg-svg {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    max-height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Alert link */
.po-detail-alert-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #282828 !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.po-detail-alert-link span { text-decoration: underline; }
.po-detail-alert-link:hover { color: #e87820 !important; }

/* ── Carerix apply form styles ── */

/* Hide section headings — layout handles grouping */
#apply_form h3.cx_h3 {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 1.5rem 0 0.5rem !important;
    border: none !important;
    padding: 0 !important;
}

/* Form grid layout — 6 equal columns as base unit */
#apply_form form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem 1.5rem;
    align-items: start;
}

/* Full-width: headings, motivation, cv, gender, birthdate, agreement */
#apply_form h3.cx_h3,
#apply_form .cx2_personal-gender,
#apply_form .cx2_personal-birthDate,
#apply_form .cx2_personal-cv,
#apply_form .cx2_motivationAndSource-motivation,
#apply_form #agreement,
#apply_form #agreement_container {
    grid-column: 1 / -1;
}

/* Row 1: Voornaam (2 cols) | Tussenvoegsel (2 cols) | Achternaam (2 cols) */
#apply_form .cx2_personal-firstName  { grid-column: span 2; }
#apply_form .cx2_personal-middleName { grid-column: span 2; }
#apply_form .cx2_personal-lastName   { grid-column: span 2; }

/* Row 2: E-mail (3 cols) | Telefoon (3 cols) */
#apply_form .cx2_contact-email     { grid-column: span 3; }
#apply_form .cx2_contact-homePhone { grid-column: span 3; }

#apply_form [class*="cx2_"] {
    margin-bottom: 0;
}

/* Submit button full width */
#apply_form input#apply_button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Labels */
#apply_form label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #282828 !important;
    margin-bottom: 0.375rem !important;
}

/* Text / email / tel / date inputs */
#apply_form input[type="text"],
#apply_form input[type="email"],
#apply_form input[type="date"],
#apply_form input[type="tel"] {
    width: 100% !important;
    padding: 0.625rem 1rem !important;
    border: 1px solid rgba(40,40,40,0.15) !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    color: #282828 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    height: 3rem !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

#apply_form input[type="text"]:focus,
#apply_form input[type="email"]:focus,
#apply_form input[type="date"]:focus,
#apply_form input[type="tel"]:focus {
    border-color: #1a73e8 !important;
}

/* Radio buttons — gender, email type */
#apply_form .cx2_labels_type-contact-email {
    display: none !important;
}

#apply_form input[type="radio"] {
    accent-color: #e87820;
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* File inputs */
#apply_form input[type="file"] {
    font-size: 0.875rem;
    color: #282828;
    width: 100%;
}

/* Textarea */
#apply_form textarea {
    width: 100% !important;
    min-height: 160px !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(40,40,40,0.15) !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    color: #282828 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical !important;
    font-family: inherit !important;
}

#apply_form textarea:focus {
    border-color: #e87820 !important;
}

/* Geslacht and Geboortedatum — full width */
#apply_form .cx2_personal-gender,
#apply_form .cx2_personal-birthDate {
    grid-column: 1 / -1;
}

#apply_form .cx2_personal-cv-info,
#apply_form .cx2_personal-photo-info {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

/* Submit button */
#apply_form input#apply_button {
    background-color: #e87820 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    width: auto !important;
    height: auto !important;
    margin-top: 0.5rem !important;
    transition: background-color 0.2s ease !important;
    display: inline-block !important;
}

#apply_form input#apply_button:hover {
    background-color: #c9671a !important;
}

/* Required marker */
#apply_form .cx2_required_marker {
    color: #e87820;
    margin-left: 2px;
}

/* ── Plugin apply form (job-application.php) styles ── */
#sjb-application-form h3 { display: none; }

#sjb-application-form .uzp__form-group { margin-bottom: 1rem; }

#sjb-application-form .uzp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: flex-start;
}

#sjb-application-form .uzp-col-sm-3 {
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #282828 !important;
    margin-bottom: 0.375rem !important;
    float: none !important;
}

#sjb-application-form .uzp-col-sm-9 {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

#sjb-application-form .uzp__form-control {
    width: 100% !important;
    padding: 0.625rem 1rem !important;
    border: 1px solid rgba(40,40,40,0.15) !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    color: #282828 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    height: 3rem !important;
    outline: none !important;
    box-shadow: none !important;
}

#sjb-application-form textarea.uzp__form-control {
    height: auto !important;
    min-height: 10rem !important;
    resize: vertical !important;
}

#sjb-application-form .uzp__form-control:focus {
    border-color: #1a73e8 !important;
}

#sjb-application-form .app-submit {
    background-color: #e87820 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

#sjb-application-form .app-submit:hover { background-color: #c9671a !important; }

#sjb-application-form .uzp__help-block { font-size: 0.8rem; color: #e87820; margin-top: 0.25rem; }

/* Hide loader by default */
#sjb-application-form .sjb-loading { display: none; }

.po-apply-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.po-apply-row .po-apply-field { flex: 1; min-width: 120px; }

.po-apply-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.po-apply-field label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #282828;
}

.po-apply-field input[type="text"],
.po-apply-field input[type="email"],
.po-apply-field input[type="tel"],
.po-apply-field textarea {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(40,40,40,0.15);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #282828;
    background: #ffffff;
    box-sizing: border-box;
    height: 3rem;
    outline: none;
}

.po-apply-field textarea {
    height: auto;
    min-height: 10rem;
    resize: vertical;
}

.po-apply-field input:focus,
.po-apply-field textarea:focus {
    border-color: #1a73e8;
}

.po-apply-alerts {
    background-color: #e87820;
    color: #ffffff;
    border-radius: 0.625rem;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.po-apply-alerts h3 {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem !important;
    display: block !important;
}

.po-apply-alerts__label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.po-apply-alerts__label span { text-decoration: underline; }

.po-apply-submit {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.po-apply-submit__btn {
    background-color: #e87820;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.po-apply-submit__btn:hover { background-color: #c9671a; }

.po-apply-submit__privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #282828;
    cursor: pointer;
    font-weight: 600;
}

#sjb-application-form .c-form__row,
#sjb-application-form .form-row,
#sjb-application-form .sjb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

#sjb-application-form label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #282828;
    margin-bottom: 0.375rem;
}

#sjb-application-form input[type="text"],
#sjb-application-form input[type="email"],
#sjb-application-form input[type="tel"],
#sjb-application-form textarea {
    width: 100% !important;
    padding: 0.625rem 1rem !important;
    border: 1px solid rgba(40,40,40,0.15) !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    color: #282828 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    height: 3rem !important;
    outline: none !important;
    box-shadow: none !important;
}

#sjb-application-form textarea {
    height: auto !important;
    min-height: 10rem !important;
    resize: vertical !important;
}

#sjb-application-form input[type="text"]:focus,
#sjb-application-form input[type="email"]:focus,
#sjb-application-form input[type="tel"]:focus,
#sjb-application-form textarea:focus {
    border-color: #1a73e8 !important;
}

/* Vacancy-alerts orange box */
#sjb-application-form .sjb-vacancy-alerts,
#sjb-application-form .vacancy-alerts-wrap {
    background-color: #e87820;
    color: #ffffff;
    border-radius: 0.625rem;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}

#sjb-application-form .sjb-vacancy-alerts label,
#sjb-application-form .vacancy-alerts-wrap label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Submit button */
#sjb-application-form input[type="submit"],
#sjb-application-form button[type="submit"] {
    background-color: #e87820 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.875rem 2rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

#sjb-application-form input[type="submit"]:hover,
#sjb-application-form button[type="submit"]:hover {
    background-color: #c9671a !important;
}

/* File upload */
#sjb-application-form input[type="file"] {
    font-size: 0.9rem;
    color: #282828;
}

/* Privacy checkbox row */
#sjb-application-form .sjb-privacy-wrap,
#sjb-application-form .privacy-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #282828;
}

/* ── Tips voor je CV ── */
.po-detail-tips {
    margin-bottom: 1.5rem;
}

.po-detail-tips__title {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e87820;
    margin-bottom: 0.75rem;
}

.po-detail-tips__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.po-detail-tips__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #282828;
}

.po-detail-tips__icon { flex-shrink: 0; }

/* ── Back link (Terug naar vacature) ── */
.po-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: #282828 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.po-detail-back-link__circle {
    width: 2rem;
    height: 2rem;
    background-color: #282828;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: width 0.3s ease, background-color 0.2s ease;
}

.po-detail-back-link:hover { color: #ffffff !important; }
.po-detail-back-link:hover .po-detail-back-link__circle {
    width: 100%;
    background-color: #282828;
}

/* ── Detail page responsive ── */
@media (max-width: 900px) {
    .po-detail-grid { grid-template-columns: 1fr; }
    .po-detail-sidebar__sticky { position: static; }
}

@media (max-width: 768px) {
    .po-detail-hero {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        padding: 2.5rem 1rem 2rem;
    }
    .po-detail-body {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        padding: 1.5rem 1rem 2rem;
    }
    .po-detail-hero__title { font-size: 1.75rem !important; }
    .po-detail-hero__meta { justify-content: flex-start; }
    .po-detail-card { padding: 1.25rem; }
}
