:root {
	--jobs-primary: #174a8b;
	--jobs-secondary: #123055;
	--jobs-white: #fff;
	--jobs-yellow: #ffdd00;
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10.5 10.5L15 15' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--icon-location: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1C4.7 1 2 3.7 2 7c0 4.5 6 11 6 11s6-6.5 6-11c0-3.3-2.7-6-6-6z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='8' cy='7' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
	--icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M3.76 2.34L8 6.59l4.24-4.25 1.42 1.42L9.41 8l4.25 4.24-1.42 1.42L8 9.41l-4.24 4.25-1.42-1.42L6.59 8 2.34 3.76z'/%3E%3C/svg%3E");
}

.job-overview-title{
	margin: 24px 0 12px 0;
	text-align: center;
	color: var(--jobs-secondary);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.job-filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	align-items: center;
	margin:40px 0;
}

.job-select {
	position: relative;
}

.job-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 12px;
	height: 8px;
	transform: translateY(-50%);

	background-color: var(--jobs-primary);

	-webkit-mask: var(--icon-chevron) center / contain no-repeat;
	mask: var(--icon-chevron) center / contain no-repeat;

	pointer-events: none;
}

.job-select-clear {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 14px;
	height: 14px;
	padding: 0;
	margin: 0;
	border: 0;

	background-color: var(--jobs-primary);

	-webkit-mask: var(--icon-close) center / contain no-repeat;
	mask: var(--icon-close) center / contain no-repeat;

	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
}

.job-select-clear::before {
	transform: rotate(45deg);
}

.job-select-clear::after {
	transform: rotate(-45deg);
}

.job-select.is-active::after {
	display: none;
}

.job-filters select,
.job-filters input[type="search"] {
	
	width: 100%;
	height: 38px;
	margin: 0;
	padding: 0 14px;

	background: var(--jobs-white);
	border: 2px solid var(--jobs-primary);
	border-radius: 19px;
	font-size: 14px;
	color: var(--jobs-primary);
	font-weight:500;
}

.job-filters select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: none;
}

.job-filters select:focus,
.job-filters input[type="search"]:focus {
	border-color: var(--jobs-primary);
	outline: none;
	box-shadow: none;
}

.job-filters select option {
	font-family: sans-serif !important;
}

.job-filters input[type="search"]::placeholder {
	color: var(--jobs-primary);
	opacity: 1;
}

.job-search {
	position: relative;
	width: 100%;
}

.job-search input[type="search"] {
	padding-right: 42px;
}

.job-search::after {
	content: "";
	position: absolute;
	right: 16px;
	top: calc(50% - 1px);
	width: 16px;
	height: 16px;
	transform: translateY(-50%);

	background-color: var(--jobs-primary);

	-webkit-mask: var(--icon-search) center / contain no-repeat;
	mask: var(--icon-search) center / contain no-repeat;

	pointer-events: none;
}

@media (max-width: 1000px) {
	.job-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.job-filters {
		grid-template-columns: 1fr;
	}
}

.jobs-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom:80px;
}

.job-card {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.job-card-link {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.job-card-link::after {
	content: "";
	position: absolute;
	inset: 0;
	background:linear-gradient(to bottom,rgba(0,0,0,0) 50%, rgba(18,48,85,0.95) 80%);
	pointer-events: none;
}
.job-card-link::before {
	content: "";
	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.12);
	opacity: 0;

	transition: opacity 0.4s ease;
	z-index: 1;

	pointer-events: none;
}
.job-card-link:hover::before {
	opacity: 1;
}

.job-card-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}
.job-card-link:hover .job-card-image {
	transform: scale(1.05);
}

.job-card-content {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 22px;
	z-index: 2;
	color: #fff;
}

.job-card-location {
	display: flex;
	align-items: center;
	gap: 5px;

	color: var(--jobs-yellow);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

.job-card-location::before {
	content: "";
	flex: 0 0 12px;
	width: 12px;
	height: 15px;

	background-color: var(--jobs-yellow);

	-webkit-mask: var(--icon-location) center / contain no-repeat;
	mask: var(--icon-location) center / contain no-repeat;
}

.job-overview .job-card .job-card-title {
	margin: 3px 0 0;
	color: #fff;
	font-size: 22px;
	line-height: 1.15;
	font-weight:700;
	color: var(--jobs-white);
}

@media (max-width: 1000px) {
	.jobs-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.jobs-list {
		grid-template-columns: 1fr;
	}
}

.jobs-no-results {
	margin: 0;
	padding: 60px 0 !important;
	text-align: center;
	font-style: italic;
	font-size: 18px;
}

.jobs-results {
	position: relative;
	transition:opacity 0.2s ease,height 0.3s ease;
}

.jobs-results.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.jobs-results.is-changing {
	opacity: 0;
	overflow: hidden;
}

.jobs-results.is-loading::after {
	content: "";
	position: absolute;
	top: 80px;
	left: 50%;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	border: 3px solid rgba(23, 74, 139, 0.2);
	border-top-color: var(--jobs-primary);
	border-radius: 50%;
	animation: jobs-spinner 0.7s linear infinite;
}

@keyframes jobs-spinner {
	to {
		transform: rotate(360deg);
	}
}

.job-text-white .wpb_content_element > *{
	color:#FFFFFF;
}

.job-text-primary .wpb_content_element p,
.job-text-primary .wpb_content_element li{
	color: #123055;
}