/* Sasse Stellenanzeigen – Basis-Styles. Farben/Schriften kommen aus dem Theme (Bootstrap-Variablen). */

.stellenliste-filter {
	margin-bottom: 1.5rem;
}

/*
 * Alle drei Felder einheitlich (Optik wie die Theme-Formularfelder).
 * Das Theme gestaltet input[type=search] nicht und gibt Text-/Auswahlfeldern unterschiedliche
 * Höhen (44px / 41,6px) sowie margin-bottom: 1rem – dadurch saß das Suchfeld tiefer.
 */
.stellenliste-filter input[type=search],
.stellenliste-filter input[type=text],
.stellenliste-filter select {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 1.25rem;
	font-family: inherit;
	font-size: 15px;
	line-height: 40px;
	color: #565656;
	background-color: #FFF;
	border: 2px solid #A5A8C7;
	border-radius: 0;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color 300ms ease;
}
.stellenliste-filter select {
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23565656' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 1.25rem center;
	background-size: 14px 10px;
	cursor: pointer;
}
.stellenliste-filter input[type=search]:focus,
.stellenliste-filter input[type=text]:focus,
.stellenliste-filter select:focus {
	border-color: #092C66;
	outline: none;
	box-shadow: none;
}
.stellenliste-filter input::placeholder {
	color: #565656;
	opacity: .7;
}
/* Safari/Chrome: Standard-Styling des Suchfelds entfernen */
.stellenliste-filter input[type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
}
.stellenliste-filter .form-label {
	display: block;
	margin-bottom: .35rem;
}
/* „Meinen Standort verwenden“ als Textlink direkt unter dem Feld „PLZ oder Ort“ */
.stellenliste-filter .stellenliste-standort {
	display: inline-block;
	margin: .35rem 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #092C66;
	background: none;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.stellenliste-filter .stellenliste-standort:hover,
.stellenliste-filter .stellenliste-standort:focus-visible {
	text-decoration: none;
}
.stellenliste-filter .stellenliste-standort[hidden] {
	display: none;
}
.stellenliste-aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin-top: .75rem;
}
.stellenliste-status {
	font-size: .9rem;
	color: var(--bs-secondary-color, #6c757d);
	margin-bottom: .5rem;
}

.stellenliste-items {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bs-border-color, #dee2e6);
}
.stellenliste-item {
	border-bottom: 1px solid var(--bs-border-color, #dee2e6);
	margin: 0;
	padding: 0;
}
.stellenliste-item::before {
	display: none; /* evtl. Theme-Listenpunkte unterdrücken */
}

/* Kopf und Zeilen teilen sich dasselbe Spaltenraster, damit die Überschriften bündig sind. */
.stellenliste-kopf,
.stellenliste-item a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(10rem, 30%);
	column-gap: 1.5rem;
	align-items: baseline;
	padding: 1rem .25rem;
}
.stellenliste-kopf {
	padding-top: .5rem;
	padding-bottom: .5rem;
	font-weight: 600;
	font-size: 15px;
	text-transform: uppercase;
	color: #092C66;
	border-bottom: 2px solid #092C66;
}
.stellenliste-kopf + .stellenliste-items {
	border-top: 0;
}
.stellenliste-item a {
	text-decoration: none;
	color: inherit;
	transition: background-color .15s ease;
}
.stellenliste-item a:hover,
.stellenliste-item a:focus-visible {
	background-color: var(--bs-tertiary-bg, #f8f9fa);
}
.stellenliste-item .stellenliste-titel {
	font-weight: 600;
	color: var(--bs-primary, #0d6efd);
}
.stellenliste-item .stellenliste-ort {
	color: var(--bs-secondary-color, #6c757d);
}

/* Schmale Bildschirme: Ort unter dem Titel, Kopf ausblenden */
@media (max-width: 575.98px) {
	.stellenliste-kopf {
		display: none;
	}
	.stellenliste-item a {
		grid-template-columns: 1fr;
		row-gap: .25rem;
	}
}
.stellenliste-distanz:empty {
	display: none;
}
.stellenliste-leer {
	padding: 1.5rem 0;
}
.stellenliste [hidden] {
	display: none !important;
}

/* Detailseite – Titel-Bereich nutzt die Theme-Klassen .head / p.subhead (wie die alte Detailseite) */
.stelle-inhalt ul {
	padding-left: 1.25rem;
}
.stelle-inhalt li + li {
	margin-top: .35rem;
}

/* Bewerbungsformular */
.sasse-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.sasse-bewerbung fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}
.sasse-bewerbung .sasse-legend {
	font-size: inherit;
	margin-bottom: .25rem;
	float: none;
}
.sasse-bewerbung .wpcf7-radio .wpcf7-list-item-label label {
	display: inline;
	cursor: pointer;
}
.sasse-bewerbung .sasse-fehler {
	display: block;
	color: #b3261e;
	font-size: 14px;
	margin: -.75rem 0 1rem;
}
.sasse-bewerbung p .sasse-fehler,
.sasse-bewerbung fieldset .sasse-fehler,
.sasse-bewerbung .wpcf7-acceptance .sasse-fehler {
	margin-top: .25rem;
}
.sasse-bewerbung .is-invalid input[type=text],
.sasse-bewerbung .is-invalid input[type=email],
.sasse-bewerbung .is-invalid input[type=tel] {
	border-color: #b3261e;
}
.sasse-bewerbung button[disabled] {
	opacity: .6;
	cursor: progress;
}
.sasse-bewerbung-erfolg:focus {
	outline: none;
}

/* Hinweise im Editor */
.sasse-jobs-hinweis {
	padding: .75rem 1rem;
	border: 1px dashed #c3c4c7;
	background: #f6f7f7;
	color: #50575e;
	font-size: 13px;
}
