/* =========================================================
   Vacancy content blocks (front end + block editor).
   Block styles picked in the editor (Block settings → Styles),
   registered in assets/js/vacancy-editor.js:
   List: Key facts, Checklist. Paragraph: Highlight, Call to action, Small print.
   ========================================================= */

/* Key facts: list of "<strong>Label</strong>Value" items shown as tiles */
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-facts > li {
	margin: 0;
	padding: 16px 20px;
	background: #FCFCFC;
	border: 1px solid #C6C5C9;
	border-radius: 12px;
	font-weight: 600;
	font-size: 16px;
	line-height: 140%;
	color: #0f172a;
}
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-facts > li strong {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #525c65;
}

@media (max-width: 576px) {
	:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-facts {
		grid-template-columns: 1fr;
	}
}

/* Highlighted note */
:is(.bmw-vacancy__content, .editor-styles-wrapper) p.is-style-bmw-highlight {
	margin-top: 24px;
	margin-bottom: 24px;
	padding: 16px 20px;
	background: #FFF4ED;
	border-left: 4px solid #f35b07;
	border-radius: 0 12px 12px 0;
	color: #0f172a;
}

/* Benefits list with check marks */
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-checklist {
	padding-left: 0;
	list-style: none;
}
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-checklist > li {
	position: relative;
	padding-left: 32px;
}
:is(.bmw-vacancy__content, .editor-styles-wrapper) ul.is-style-bmw-checklist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #0f172a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Closing call to action */
:is(.bmw-vacancy__content, .editor-styles-wrapper) p.is-style-bmw-cta {
	margin-top: 32px;
	padding: 20px 24px;
	background: #0f172a;
	border-radius: 12px;
	color: #fff;
	font-size: 18px;
	line-height: 140%;
}

/* Small print */
:is(.bmw-vacancy__content, .editor-styles-wrapper) p.is-style-bmw-small {
	margin-top: -16px;
	font-size: 14px;
	line-height: 150%;
	color: #525c65;
}
