/* Job Listings Manager – Frontend Styles */

.jlm-wrapper {
	scroll-behavior: smooth;
}

.jlm-filterbar {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.jlm-filter-wrapper {
	width: 78%;
}

.jlm-filter-btn {
	padding: 8px 18px !important;
	border: 1px solid #d0d0d0;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jlm-filter-btn:hover {
	border-color: #999;
}

.jlm-filter-btn.is-active {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.jlm-ort-filter {
	font-size: 1rem;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 8px 14px !important;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	width: 20%;
}

.jlm-no-results {
	margin-bottom: 24px;
}

.jlm-category-section {
	position: relative;
	padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.jlm-category-section.jlm-section-odd {
	background-color: var(--e-global-color-secondary);
}

.jlm-category-section.jlm-section-odd::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	margin-left: calc((((100vw - 1600px) / 2) * -1) - 10px);
	background-color: var(--e-global-color-secondary);
	width: 100vw;
	height: 100%;
	z-index: -1;
}

.jlm-card-info {
	flex-basis: 55%;
}

.jlm-category-title {
	font-size: 22px;
	margin-bottom: 16px;
	padding-bottom: 8px;
}

.jlm-grid {
	display: flex;
	flex-direction: column;
	width: 70%;
	gap: 20px;
}

.jlm-card {
	display: flex;
	flex-direction: column;
	background: var(--e-global-color-accent);
}

.jlm-card-image img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.jlm-card-body {
	padding: 20px 30px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
}

.jlm-card-meta strong {
	text-transform: uppercase;
}

.jlm-card .jlm-card-title a {
	color: #fff;
}

.jlm-card h3.jlm-card-title {
	font-size: 23px;
	margin: 0;
}

.jlm-card-actions {
	display: flex;
	flex-basis: 45%;
	justify-content: end;
	align-items: center;
	gap: 10px;
}

button.jlm-btn,
a.jlm-btn {
	color: #fff !important;
	font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
	font-size: 1rem;
	line-height: 1;
	display: inline-block !important;
	padding: 15px 20px !important;
	border-radius: 100px;
	border-color: var(--e-global-color-secondary) !important;
	text-align: center;
	background-color: var(--e-global-color-secondary) !important;
}

/* Kurzer visueller Hinweis, dass ein Feld gerade automatisch befüllt wurde */
.jlm-field-filled {
	animation: jlmFlash 900ms ease;
}

@keyframes jlmFlash {
	0%   { background-color: #01d287; }
	100% { background-color: transparent; }
}
