.mds-main-jobs-list {
	--mds-jobs-gold: var(--color-gold, #b88a58);
	--mds-jobs-panel: #f0ece4;
	--mds-jobs-surface: #fbfaf8;
	--mds-jobs-text: #171717;
	--mds-jobs-muted: #b8b8b8;
	width: 100%;
	color: var(--mds-jobs-text);
	font-family: inherit;
}

.mds-main-jobs-list *,
.mds-main-jobs-list *::before,
.mds-main-jobs-list *::after {
	box-sizing: border-box;
}

.mds-jobs-filter-panel {
	margin-bottom: 36px;
	padding: 28px 18px 25px;
	border: 1px solid var(--mds-jobs-gold);
	border-radius: 8px;
	background: var(--mds-jobs-panel);
}

.mds-jobs-filter-form {
	display: grid;
	grid-template-columns: minmax(260px, 2.05fr) minmax(155px, 1fr) minmax(165px, 1fr) minmax(150px, 1fr) minmax(145px, .8fr);
	gap: 20px;
	align-items: start;
}

.mds-jobs-filter-field,
.mds-jobs-filter-actions {
	min-width: 0;
}

.mds-jobs-filter-field > label {
	display: block;
	margin: 0 0 15px 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.mds-jobs-keyword-control,
.mds-jobs-select-control {
	position: relative;
}

.mds-jobs-keyword-control input,
.mds-jobs-select-control select {
	display: block;
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 48px 0 18px;
	border: 0;
	border-radius: 8px;
	outline: 0;
	background: #fff;
	box-shadow: none;
	color: var(--mds-jobs-text);
	font: inherit;
	font-size: 14px;
	line-height: 16px;
	background: #fff!important;
	color: var(--color-gold)!important;
}

.mds-jobs-keyword-control input::placeholder {
	color: var(--mds-jobs-muted);
	opacity: 1;
}

.mds-jobs-keyword-control input:focus,
.mds-jobs-select-control select:focus {
	box-shadow: 0 0 0 2px rgba(184, 138, 88, .24);
}

.mds-jobs-keyword-control svg {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 23px;
	height: 23px;
	transform: translateY(-50%);
	fill: none;
	stroke: var(--mds-jobs-gold);
	stroke-linecap: round;
	stroke-width: 2;
	pointer-events: none;
}

.mds-jobs-select-control select {
	padding-right: 48px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.mds-jobs-select-control::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 21px;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--mds-jobs-gold);
	border-bottom: 2px solid var(--mds-jobs-gold);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.mds-jobs-filter-actions {
	display: grid;
	grid-template-rows: auto 60px auto;
}

.mds-jobs-action-spacer {
	display: block;
	height: 31px;
}

.mds-jobs-search-button {
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 20px;
	border: 1px solid var(--mds-jobs-gold);
	border-radius: 8px;
	background: var(--mds-jobs-gold);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 58px;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.mds-jobs-search-button:hover,
.mds-jobs-search-button:focus {
	background: transparent;
	color: var(--mds-jobs-gold);
	border:solid 1px;
}

.mds-jobs-clear-filters {
	justify-self: end;
	margin: 15px 5px 0 0;
	color: var(--mds-jobs-gold);
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}

.mds-jobs-clear-filters:hover,
.mds-jobs-clear-filters:focus {
	text-decoration: underline;
}

.mds-jobs-table-shell {
	overflow: hidden;
	border: 1px solid var(--mds-jobs-gold);
	border-radius: 8px;
	background: rgba(255, 255, 255, .34);
}

.mds-jobs-table-scroll {
	overflow-x: auto;
}

.mds-jobs-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
	table-layout: fixed;
}

.mds-jobs-table th,
.mds-jobs-table td {
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.mds-jobs-table th {
	padding: 23px 34px;
	border-bottom: 1px solid rgba(184, 138, 88, .55);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.mds-jobs-table td {
	padding: 19px 34px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.mds-jobs-table th:nth-child(1),
.mds-jobs-table td:nth-child(1) {
	width: 17%;
}

.mds-jobs-table th:nth-child(2),
.mds-jobs-table td:nth-child(2) {
	width: 17%;
}

.mds-jobs-table th:nth-child(3),
.mds-jobs-table td:nth-child(3) {
	width: 24%;
}

.mds-jobs-table th:nth-child(4),
.mds-jobs-table td:nth-child(4) {
	width: 16%;
}

.mds-jobs-table th:nth-child(5),
.mds-jobs-table td:nth-child(5) {
	width: 26%;
}

.mds-jobs-title-link {
	color: var(--mds-jobs-gold);
	text-decoration: none;
}

.mds-jobs-title-link:hover,
.mds-jobs-title-link:focus {
	text-decoration: underline;
}

.mds-jobs-no-results-row td {
	padding-top: 45px;
	padding-bottom: 45px;
	text-align: center;
}

.mds-jobs-pagination {
	min-height: 83px;
	padding: 24px 20px;
	border-top: 1px solid rgba(184, 138, 88, .55);
}

.mds-jobs-pagination .page-numbers {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mds-jobs-pagination > .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.mds-jobs-pagination .page-numbers li {
	margin: 0;
	padding: 0;
}

.mds-jobs-pagination a.page-numbers,
.mds-jobs-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mds-jobs-text);
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
}

.mds-jobs-pagination span.page-numbers.current {
	color: var(--mds-jobs-gold);
}

.mds-jobs-pagination a.prev,
.mds-jobs-pagination a.next {
	min-width: 24px;
	color: var(--mds-jobs-gold);
	font-size: 36px;
	font-weight: 300;
	line-height: .7;
}

.mds-jobs-pagination a.page-numbers:hover,
.mds-jobs-pagination a.page-numbers:focus {
	color: var(--mds-jobs-gold);
}

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

	.mds-jobs-filter-keyword {
		grid-column: 1 / -1;
	}

	.mds-jobs-filter-actions {
		align-self: end;
	}

	.mds-jobs-action-spacer {
		display: none;
	}
}

@media (max-width: 767px) {
	.mds-jobs-filter-panel {
		padding: 22px 16px;
	}

	.mds-jobs-filter-form {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.mds-jobs-filter-keyword {
		grid-column: auto;
	}

	.mds-jobs-filter-field > label {
		margin-bottom: 9px;
	}

	.mds-jobs-filter-actions {
		grid-template-rows: auto auto;
		gap: 0;
	}

	.mds-jobs-clear-filters {
		justify-self: center;
		margin-right: 0;
	}

	.mds-jobs-table-scroll {
		overflow: visible;
	}

	.mds-jobs-table,
	.mds-jobs-table tbody,
	.mds-jobs-table tr,
	.mds-jobs-table td {
		display: block;
		width: 100%;
	}

	.mds-jobs-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.mds-jobs-table tr {
		padding: 18px 20px;
		border-bottom: 1px solid rgba(184, 138, 88, .35);
	}

	.mds-jobs-table tr:last-child {
		border-bottom: 0;
	}

	.mds-jobs-table td,
	.mds-jobs-table td:nth-child(n) {
		display: grid;
		grid-template-columns: minmax(115px, 42%) 1fr;
		gap: 14px;
		width: 100%;
		padding: 8px 0;
		font-size: 15px;
	}

	.mds-jobs-table td::before {
		content: attr(data-label);
		font-weight: 700;
	}

	.mds-jobs-no-results-row td {
		display: block;
		padding: 24px 0;
		text-align: center;
	}

	.mds-jobs-no-results-row td::before {
		display: none;
	}

	.mds-jobs-pagination > .page-numbers {
		gap: 12px;
		flex-wrap: wrap;
	}
}
