/**
 * Greenhouse Jobs widget — default skin (overridable via Elementor Style panel).
 * Loaded on demand via get_style_depends().
 */

.jdw-ee-gh-jobs {
	box-sizing: border-box;
	width: 100%;
	--jdw-ee-gh-filter-accent: #f65e1e;
}

.jdw-ee-gh-jobs *,
.jdw-ee-gh-jobs *::before,
.jdw-ee-gh-jobs *::after {
	box-sizing: border-box;
}

.jdw-ee-gh-jobs__filter-wrap {
	margin: 0 auto 3em;
	padding: 0 85px;
	max-width: 1378px;
	display: flex;
	justify-content: center;
}

.jdw-ee-gh-jobs__filter {
	width: clamp(300px, 35vw, 600px);
	height: 2.5em;
	border: 0.5px solid lightgray;
	padding: 0 5px;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23ffffff' d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E"),
		linear-gradient(to left, var(--jdw-ee-gh-filter-accent) 3em, rgba(255, 255, 255, 0.2) 3em);
	background-repeat: no-repeat, no-repeat;
	background-position: right 0.8em center, right top;
	background-size: 1.1em, 100% 100%;
	font: inherit;
	color: #161616;
	cursor: pointer;
	transition: border-color 0.25s, background-color 0.25s;
}

.jdw-ee-gh-jobs__filter:hover {
	--jdw-ee-gh-filter-accent: #b84c16;
}

.jdw-ee-gh-jobs__filter:focus-visible {
	outline: 2px solid var(--jdw-ee-gh-filter-accent);
	outline-offset: 2px;
}

.jdw-ee-gh-jobs__filter:disabled {
	opacity: 0.7;
	cursor: wait;
}

.jdw-ee-gh-jobs__list-wrap {
	width: 100%;
}

.jdw-ee-gh-jobs__list {
	margin: 0 auto;
	padding: 0 85px;
	max-width: 1378px;
	border-top: 1px solid #c7c6c4;
	border-bottom: 1px solid #c7c6c4;
}

.jdw-ee-gh-jobs__job {
	display: grid;
	grid-template-columns: 2fr 0.75fr 0.75fr;
	grid-column-gap: 2.5rem;
	grid-row-gap: 2.5rem;
	align-items: center;
	padding: 2rem;
	border-bottom: 1px solid #c7c6c4;
	border-left: 1px solid #c7c6c4;
	border-right: 1px solid #c7c6c4;
	font-family: "Suisse Intl", Suisseintl, Arial, sans-serif;
}

.jdw-ee-gh-jobs__job:last-child {
	border-bottom: 0;
}

.jdw-ee-gh-jobs__title {
	margin: 0;
	grid-area: span 1 / span 1;
	align-self: center;
	letter-spacing: -0.03em;
	font-family: "Suisse Intl", Suisseintl, Arial, sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #161616;
}

.jdw-ee-gh-jobs__location {
	margin: 0;
	align-self: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: #161616;
}

.jdw-ee-gh-jobs__apply {
	grid-area: span 1 / span 1;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: fit-content;
	padding: 16px 24px;
	border: 2px solid #f65e1e;
	background-color: #f65e1e;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.25s, background-color 0.25s;
}

.jdw-ee-gh-jobs__apply:hover,
.jdw-ee-gh-jobs__apply:focus {
	background-color: #b84c16;
	border-color: #b84c16;
	color: #fff;
	text-decoration: none;
}

.jdw-ee-gh-jobs__apply:focus-visible {
	outline: 2px solid #f65e1e;
	outline-offset: 2px;
}

.jdw-ee-gh-jobs__status {
	margin: 0;
	padding: 2rem;
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
	color: #4f4e4c;
	border-left: 1px solid #c7c6c4;
	border-right: 1px solid #c7c6c4;
}

.jdw-ee-gh-jobs__status--error {
	color: #b84c16;
}

/* Visually hidden helper when theme does not ship .screen-reader-text */
.jdw-ee-gh-jobs .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media screen and (max-width: 992px) {
	.jdw-ee-gh-jobs__job {
		grid-column-gap: 2rem;
		grid-row-gap: 2rem;
		grid-template-columns: 1fr 1fr 1fr;
	}

	.jdw-ee-gh-jobs__title {
		font-size: 22px;
	}

	.jdw-ee-gh-jobs__filter-wrap,
	.jdw-ee-gh-jobs__list {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media screen and (max-width: 767px) {
	.jdw-ee-gh-jobs__job {
		grid-column-gap: 3.5rem;
		grid-row-gap: 0;
		grid-template-columns: 1fr 1fr;
	}

	.jdw-ee-gh-jobs__location {
		grid-area: 2 / 1 / 3 / 2;
	}

	.jdw-ee-gh-jobs__apply {
		grid-area: 1 / 2 / 3 / 3;
		align-self: center;
	}

	.jdw-ee-gh-jobs__filter-wrap,
	.jdw-ee-gh-jobs__list {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 479px) {
	.jdw-ee-gh-jobs__job {
		grid-column-gap: 0;
		grid-row-gap: 1rem;
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}

	.jdw-ee-gh-jobs__title {
		font-size: 20px;
	}

	.jdw-ee-gh-jobs__location {
		grid-area: auto;
	}

	.jdw-ee-gh-jobs__apply {
		grid-area: auto;
		justify-self: start;
	}
}
