/*
 * Single job opening: templates/single-wprk_job.html.
 * The frame (title bar, two columns, the card at the side) comes from base.css,
 * and so do the job facts and the apply box. This file spaces the
 * qualifications and the apply section in the main column.
 */

.wprk-single-job .wprk-job-qualifications > * {
	margin-block: 0;
}

.wprk-single-job .wprk-job-qualifications > * + * {
	margin-block-start: var(--wp--preset--spacing--30);
}

.wprk-single-job .wprk-job-qualifications :where(ul) {
	padding-inline-start: 1.2em;
}

.wprk-single-job .wprk-job-qualifications :where(li + li) {
	margin-block-start: 0.4em;
}

/* The apply section: a hairline above it, and room for the browser to scroll to it. */
.wprk-single-job .wprk-single-job__apply {
	border-block-start: 1px solid var(--wprk-border);
	padding-block-start: var(--wp--preset--spacing--50);
	scroll-margin-block-start: calc(var(--wprk-header-height, 0px) + var(--nr-pop-top, 0px) + var(--wp--preset--spacing--40));
}

.wprk-single-job .wprk-single-job__apply > * {
	margin-block: 0;
}

.wprk-single-job .wprk-single-job__apply > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.wprk-single-job .wprk-single-job__label {
	margin-block-end: var(--wp--preset--spacing--30);
}
