/* Stellenanzeigen – Ausgabe über [stellenanzeigen]
--------------------------------------------------
   Die Selektoren sind bewusst zweistufig (.sww-stellen davor):
   die globalen Elementor-Kit-Styles (.elementor-kit-xxx a,
   .elementor-kit-xxx .elementor-button) würden sonst gewinnen.
-------------------------------------------------- */

.sww-stellen {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Karte */
.sww-stellen .sww-stellen__item,
.sww-stellen .sww-stellen__empty {
	padding: 30px;
	border-radius: 40px;
	background-color: var(--e-global-color-ffffff, #fff);
}

.sww-stellen .sww-stellen__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 30px;
}

.sww-stellen .sww-stellen__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

/* Titel + "(w/m/d)" */
.sww-stellen .sww-stellen__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 20px;
	row-gap: 4px;
	margin: 0;
	padding: 0;
	font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	font-size: var(--e-global-typography-secondary-font-size);
	font-weight: var(--e-global-typography-secondary-font-weight);
	line-height: var(--e-global-typography-secondary-line-height);
	color: var(--e-global-color-secondary);
}

.sww-stellen .sww-stellen__title-link,
.sww-stellen .sww-stellen__title-link:visited {
	color: var(--e-global-color-secondary);
	text-decoration: none;
	transition: color 0.2s ease;
}

.sww-stellen .sww-stellen__title-link:hover,
.sww-stellen .sww-stellen__title-link:focus {
	color: var(--e-global-color-primary);
}

.sww-stellen .sww-stellen__wmd {
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: var(--e-global-typography-text-line-height);
	color: var(--e-global-color-secondary);
}

/* Ort | Beschäftigung | Dauer */
.sww-stellen .sww-stellen__meta {
	margin: 0;
	padding: 0;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: var(--e-global-typography-text-line-height);
	color: var(--e-global-color-text);
}

/* Button (Standard-Elementor-Button, nur Hintergrundfarbe wird gesetzt) */
.sww-stellen .sww-stellen__action {
	flex: 0 0 auto;
}

.sww-stellen .sww-stellen__action .elementor-button {
	background-color: var(--e-global-color-primary);
	transition: background-color 0.2s ease;
}

.sww-stellen .sww-stellen__action .elementor-button:hover,
.sww-stellen .sww-stellen__action .elementor-button:focus {
	background-color: var(--e-global-color-accent);
}

/* Keine Stellenanzeigen vorhanden */
.sww-stellen .sww-stellen__empty {
	margin: 0;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: var(--e-global-typography-text-line-height);
	color: var(--e-global-color-text);
}

/* Mobil (Elementor-Breakpoint) */
@media (max-width: 767px) {

	.sww-stellen .sww-stellen__item,
	.sww-stellen .sww-stellen__empty {
		border-radius: 30px;
	}

	.sww-stellen .sww-stellen__item {
		flex-direction: column;
		align-items: flex-start;
	}
}
