/*
 * Stellendetailseite aus dem Plugin „zvoove Recruit Jobboard“ im Look der internen Stellen.
 * Markup und IDs kommen aus dem Plugin, die Klassen offene-stellen__*, stelle__* und
 * zvoove-* setzt inc/zvoove.php.
 */

/* Eckdaten */

.zvoove-meta__eintrag {
	display: inline-flex;
	align-items: center;
	gap: var(--offene-stellen-meta-icon-gap);
	font-size: var(--fs-label);
	font-weight: 600;
	line-height: 1.57;
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-platinum);
}

.zvoove-meta__eintrag > div {
	display: contents;
}

#zrjb-job-jobdetails-header:empty {
	display: none;
}

.zvoove-icon {
	flex-shrink: 0;
	width: var(--offene-stellen-icon);
	height: var(--offene-stellen-icon);
	background-color: currentColor;
	-webkit-mask: var(--icon) no-repeat center / contain;
	mask: var(--icon) no-repeat center / contain;
}

/* Stellenbeschreibung auf der Detailseite */

.zvoove-beschreibung {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.zvoove-beschreibung__titel {
	margin-bottom: 0;
}

.zvoove-beschreibung__titel:not(:first-of-type) {
	margin-top: calc(var(--stelle-abschnitt-abstand) - 1.5rem);
}

@media (min-width: 992px) {
	.zvoove-beschreibung {
		display: grid;
		grid-template-columns: 5fr 7fr;
		gap: var(--stelle-abschnitt-abstand) var(--stelle-spalten-abstand);
	}

	.zvoove-beschreibung__titel {
		grid-column: 1;
	}

	.zvoove-beschreibung__titel:not(:first-of-type) {
		margin-top: 0;
	}

	.zvoove-beschreibung__text {
		grid-column: 2;
	}
}

.zvoove-beschreibung__text {
	font-size: var(--fs-h4);
	font-weight: 500;
	line-height: var(--lh-h4);
	color: var(--color-silver);
}

.zvoove-beschreibung__text > :last-child {
	margin-bottom: 0;
}

.zvoove-beschreibung__text ul {
	margin-bottom: 1rem;
	padding-left: 0;
	list-style: none;
}

.zvoove-beschreibung__text li {
	position: relative;
	padding-block: var(--stelle-punkt-padding);
	padding-left: calc(var(--popup-punkt) + var(--popup-punkt-abstand));
	border-bottom: 1px solid var(--color-akzent);
}

.zvoove-beschreibung__text li:first-child {
	padding-top: 0;
}

.zvoove-beschreibung__text li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.zvoove-beschreibung__text li::before {
	content: "";
	position: absolute;
	left: 0;
	width: var(--popup-punkt);
	height: var(--popup-punkt);
	margin-top: calc((var(--lh-h4) * 1em - var(--popup-punkt)) / 2);
	background-color: var(--color-akzent);
	border-radius: 50%;
}

.zvoove-stelle__hinweis {
	max-width: 48rem;
	margin-bottom: 0;
	font-size: var(--fs-h4);
	line-height: var(--lh-h4);
	color: var(--color-silver);
}
