/* Joogles ATS – vacatureoverzicht, vacaturepagina en sollicitatieformulier.
   Kleuren en letters sluiten aan op joogles.nl: goud #bc8031, paars #800ac4, Josefin Sans voor koppen. */
.jats-jobs, .jats-single, .jats-apply { --jats-gold: #bc8031; --jats-gold-dark: #9e6a27; --jats-sand: #f7efe4; --jats-sand-light: #fbf7f1; --jats-line: #ebe2d4; --jats-text: #3b3b3b; --jats-muted: #6f6a63; }

/* ---------- Overzicht ---------- */
.jats-jobs { margin: 0 0 3em; }
.jats-jobs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--jats-line); }
.jats-jobs-count { margin: 0 !important; color: var(--jats-muted); }
.jats-jobs-count strong { color: var(--jats-text); }
.jats-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.jats-pc { display: flex; align-items: center; gap: 10px; margin: 0 !important; }
.jats-pc label { margin: 0; font-weight: 400; color: var(--jats-muted); }
.jats-pc-field { display: flex; }
.jats-pc-field input { width: 120px; height: 42px; margin: 0 !important; padding: 0 12px !important; border: 1px solid #d9cdb9 !important; border-right: 0 !important; border-radius: 4px 0 0 4px !important; font: inherit; text-transform: uppercase; background: #fff; }
.jats-pc-field input::placeholder { text-transform: none; }
.jats-pc-field input:focus { outline: 2px solid var(--jats-gold); outline-offset: 1px; }
.jats-pc-field button { height: 42px; margin: 0; padding: 0 16px; border: 0; border-radius: 0 4px 4px 0; background: var(--jats-gold); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.jats-pc-field button:hover { background: var(--jats-gold-dark); }
.jats-pc-msg { margin: -8px 0 16px !important; color: var(--jats-muted); font-size: .92em; }
.jats-filter[hidden] { display: none !important; }
.jats-filter { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; }
.jats-filter span { color: var(--jats-muted); }
.jats-filter select { -webkit-appearance: none; appearance: none; min-width: 180px; height: 42px; margin: 0 !important; padding: 0 38px 0 12px !important; border: 1px solid #d9cdb9 !important; border-radius: 4px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bc8031' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center !important; font: inherit; color: var(--jats-text); cursor: pointer; }
.jats-filter select:focus { outline: 2px solid var(--jats-gold); outline-offset: 1px; }

.jats-jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.jats-job { position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 20px 22px 18px; background: #fff; border: 1px solid var(--jats-line); border-radius: 6px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.jats-job:hover { border-color: var(--jats-gold); box-shadow: 0 6px 18px rgba(110, 76, 30, .08); }
.jats-job[hidden] { display: none; }
.jats-job-title { margin: 0 0 10px !important; padding: 0 !important; font-size: 1.35em !important; line-height: 1.25 !important; }
.jats-job-title a { color: var(--jats-gold) !important; text-decoration: none !important; }
.jats-job-title a:focus-visible { outline: 2px solid var(--jats-gold); outline-offset: 3px; }
.jats-job-client { margin: -4px 0 10px !important; font-weight: 600; color: var(--jats-text); font-size: .95em; }
.jats-job-meta:empty { display: none; }
.jats-job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px !important; padding: 0 !important; }
.jats-job-meta .jats-dist { background: #f2e7fa; color: #5b0a8c; font-weight: 600; }
.jats-job-meta span { background: var(--jats-sand); color: #6d4515; border-radius: 4px; padding: 2px 9px; font-size: .85em; line-height: 1.6; }
.jats-job-excerpt { margin: 0 0 14px !important; color: var(--jats-text); font-size: .95em; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jats-job-more { margin-top: auto; font-weight: 600; font-size: .9em; color: var(--jats-gold); }
.jats-job:hover .jats-job-more { color: var(--jats-gold-dark); text-decoration: underline; }
.jats-jobs-none { margin: 24px 0 0 !important; color: var(--jats-muted); }
.jats-jobs-none a { color: var(--jats-gold); }

/* ---------- Vacaturepagina ----------
   Past zich aan de breedte van het tekstvak van het thema aan, niet alleen aan het scherm. */
.jats-single-wrap { container-type: inline-size; }
.jats-single { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.jats-single-main { min-width: 0; color: var(--jats-text); }
.jats-single-main > p, .jats-single-main > ul, .jats-single-main > ol { margin: 0 0 1em; }
.jats-single-main > h3 { margin: 1.8em 0 .5em !important; font-size: 1.45em !important; line-height: 1.3 !important; }
.jats-single-main > h3:first-child { margin-top: 0 !important; }
.jats-single-main > ul, .jats-single-main > ol { padding-left: 1.2em; }
.jats-single-main li { margin-bottom: .35em; }

.jats-single-side { order: -1; }
.jats-facts { padding: 18px 20px; background: var(--jats-sand-light); border: 1px solid var(--jats-line); border-radius: 8px; }
.jats-facts dl { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 16px; }
.jats-facts dt { margin: 0; font-size: .8em; color: var(--jats-muted); }
.jats-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--jats-text); }
.jats-btn { display: block; text-align: center; background: var(--jats-gold); color: #fff !important; text-decoration: none !important; font-weight: 600; padding: 12px 18px; border-radius: 4px; transition: background .15s; }
.jats-btn:hover { background: var(--jats-gold-dark); }
.jats-back { display: block; margin-top: 12px; text-align: center; font-size: .9em; color: var(--jats-muted) !important; }

@container (min-width: 880px) {
	.jats-single { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 48px; align-items: start; }
	.jats-single-side { order: 0; position: sticky; top: 120px; }
	.jats-facts { padding: 22px 22px 18px; }
	.jats-facts dl { display: block; margin-bottom: 18px; }
	.jats-facts dl > div { padding: 9px 0; border-bottom: 1px solid var(--jats-line); }
	.jats-facts dl > div:first-child { padding-top: 0; }
}

/* ---------- Formulier ---------- */
.jats-apply-section { container-type: inline-size; margin-top: 3em; padding: 28px 30px 10px; background: var(--jats-sand-light, #fbf7f1); border: 1px solid var(--jats-line, #ebe2d4); border-radius: 8px; scroll-margin-top: 120px; }
.jats-apply-section h2 { margin: 0 0 18px !important; font-size: 1.6em !important; }
.jats-apply { max-width: 720px; }
.jats-apply-form p { margin: 0 0 14px; }
.jats-apply-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.jats-apply-form input[type=text], .jats-apply-form input[type=email], .jats-apply-form input[type=tel], .jats-apply-form input[type=url], .jats-apply-form textarea {
	width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid #d9cdb9; border-radius: 4px; font: inherit; background: #fff;
}
.jats-apply-form input[type=file] { font: inherit; }
.jats-apply-form input:focus, .jats-apply-form textarea:focus { outline: 2px solid #bc8031; outline-offset: 1px; border-color: #bc8031; }
.jats-apply-form small { display: block; color: #6f6a63; margin-top: 4px; font-weight: 400; }
.jats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@container (max-width: 560px) { .jats-row { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .jats-row { grid-template-columns: 1fr; } .jats-apply-section { padding: 22px 18px 6px; } }
.jats-consent label { font-weight: normal; display: flex; gap: 8px; align-items: flex-start; font-size: .92em; }
.jats-consent input { margin-top: 4px; flex: none; }
.jats-apply-form .jats-consent { margin-bottom: 8px; }
.jats-submit { background: #bc8031; color: #fff; border: 0; border-radius: 4px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; margin-top: 6px; }
.jats-submit:hover { background: #9e6a27; }
.jats-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.jats-notice { border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; }
.jats-notice ul { margin: 0; padding-left: 18px; }
.jats-notice-ok { background: #edf7ed; border: 1px solid #b7dfb9; }
.jats-notice-error { background: #fbeaea; border: 1px solid #f0b8b8; }
