/* ==========================================================================
   vacatures.css — extra styling for the "Werken bij → Vacatures" pages
   Loaded separately via site.php (only on the werken-bij / vacatures pages).
   Kept apart from styles.css / output.css so the draft can be reviewed and
   removed/merged after client approval. Reuses existing brand vars from
   styles.css (--okred, --okgold, --okgrey1..3).
   ========================================================================== */

/* Let the card body fill the card height so the pills can pin to the bottom,
   regardless of how long the title/description above them is. */
.content .service-card {
	display: flex;
	flex-direction: column;
}
.content .service-card .card-text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

/* Vacancy titles run longer than the service titles, so reserve room for up to
   4 lines (line-height 2rem => 8rem + 1rem breathing space before the <hr>),
   mirroring how the diensten cards reserve 5rem for 2 lines. */
.content .service-card .card-title {
	min-height: 9rem;
}

/* Small label under a vacancy card title (dienstverband, locatie, ...) */
.content .service-card .vacature-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;     /* push the pills to the bottom of the card */
	padding-top: 1rem;
}
.content .service-card .vacature-badge {
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: var(--bold);
	padding: 0.25rem 0.875rem;
	border-radius: 2rem;
	/* Same as the "Contact" button in the menu: white text on grey */
	background-color: rgba(var(--okgrey2), 1);
	color: #ffffff;
}

/* Facts / summary box in the vacancy-detail sidebar */
.content .vacature-facts {
	background-color: rgba(var(--okgrey3), 0.5);
	border-radius: 1rem;
	padding: 1.75rem;
	margin-bottom: 2rem;
}
.content .vacature-facts h3 {
	font-size: 1.25rem;
	line-height: 2rem;
	margin-bottom: 1rem;
	font-weight: var(--bold);
	color: rgba(var(--okred), 1);
	text-transform: uppercase;
}
.content .vacature-facts dl {
	margin: 0;
}
.content .vacature-facts dt {
	font-size: 0.8125rem;
	line-height: 1.25rem;
	font-weight: var(--bold);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: rgba(var(--okgrey2), 1);
}
.content .vacature-facts dd {
	margin: 0 0 1.125rem 0;
	font-size: 1.125rem;
	line-height: 1.625rem;
	color: rgba(var(--okgrey1), 1);
}
.content .vacature-facts dd:last-child {
	margin-bottom: 0;
}

/* Apply call-to-action block at the bottom of a vacancy */
.content .vacature-apply {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(var(--okgrey3), 1);
}
.content .vacature-apply p {
	margin-bottom: 1.5rem;
}

/* Draft/preview ribbon so the client and editors can see this is not live yet.
   Remove this rule (and the .draft-ribbon markup) when the page is approved. */
.content .draft-ribbon {
	display: inline-block;
	margin-bottom: 1.5rem;
	padding: 0.375rem 1rem;
	border-radius: 0.5rem;
	/* Deliberately a non-brand blue so it reads clearly as a draft marker */
	background-color: #2563eb;
	color: #ffffff;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: var(--bold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
