/*
Theme Name: WOCOTransportation Child
Template: oceanwp
Version: 1.0
*/
 /* Jobs Hero Section */



/* WOCO Jobs Hero Search */
.jobs-hero {
	color: #fff;
	padding: 30px 60px;
}

.jobs-hero__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

/* Search form */
.jobs-hero-search {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	background: #fff;
	padding: 18px;
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Field wrappers */
.jobs-hero-search__field {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Labels */
.jobs-hero-search__field label {
	margin: 0;
	color: #1f2933;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

/* Keyword and location inputs */
.jobs-hero-search input[type="text"] {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d6d6d6;
	border-radius: 8px;
	box-sizing: border-box;
	background: #fff;
	color: #222;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	outline: none;
}

/* Input focus */
.jobs-hero-search input[type="text"]:focus {
	border-color: #b5121b;
	box-shadow: 0 0 0 3px rgba(181, 18, 27, 0.16);
}

/* Search button */
.jobs-hero-search .jobs-hero-search__button {
	height: 48px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 8px;
	background-color: #c62032 !important;
	color: #fff !important;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.jobs-hero-search .jobs-hero-search__button:hover,
.jobs-hero-search .jobs-hero-search__button:focus {
	background-color: #000 !important;
	color: #fff !important;
}

.jobs-hero-search .jobs-hero-search__button:active {
	transform: translateY(1px);
}

/* Mobile layout */
@media (max-width: 800px) {
	.jobs-hero {
		padding: 28px 20px;
	}

	.jobs-hero-search {
		flex-direction: column;
		align-items: stretch;
		max-width: 420px;
		margin: 0 auto;
	}

	.jobs-hero-search__field {
		width: 100%;
	}

	.jobs-hero-search__button {
		width: 100%;
	}
}


.showing_jobs {
	display: none !important;
}
/* =====================================
   WOCO JOB CARD GRID
===================================== */

/* Remove the previous filter/list split layout */
div.job_listings {
	display: block;
	width: 100%;
	max-width: 1280px;
	margin-right: auto;
	margin-left: auto;
}

/* Hide the old filter panel */
div.job_listings form.job_filters {
	display: none;
}

/* Three-column listing grid */
div.job_listings ul.job_listings {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	list-style: none;
}

/* Individual card */
div.job_listings ul.job_listings li.woco-job-card {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

div.job_listings ul.job_listings li.woco-job-card:hover {
	border-color: #c62032;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
}

/* Remove WP Job Manager's default link layout */
.woco-job-card__link {
	display: block !important;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	color: inherit !important;
	text-decoration: none !important;
}

/* Internal card layout */
.woco-job-card__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 245px;
	padding: 24px;
	box-sizing: border-box;
}

/* Job title */
.woco-job-card__title {
	margin: 0 0 8px;
	color: #111;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
}

/* Location and home-time row */
.woco-job-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: #505050;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.4;
}

.woco-job-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.woco-job-card__meta-item i {
	color: #c62032;
}

.woco-job-card__divider {
	color: #b5b5b5;
}

/* Requirement badges */
.woco-job-card__requirements {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px;
}

.woco-job-card__requirements span {
	display: inline-flex;
	align-items: center;
	min-height: 23px;
	padding: 3px 9px;
	border: 1px solid #b9b9b9;
	border-radius: 999px;
	color: #333;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

/* Description */
.woco-job-card__blurb {
	margin: 0 0 22px;
	color: #333;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
}

/* CTA stays aligned at bottom */
.woco-job-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
	color: #c62032;
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.woco-job-card__cta span {
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.woco-job-card:hover .woco-job-card__cta span {
	transform: translateX(4px);
}

/* Tablet */
@media (max-width: 1024px) {
	div.job_listings ul.job_listings {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile */
@media (max-width: 767px) {
	div.job_listings ul.job_listings {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.woco-job-card__content {
		min-height: 0;
		padding: 20px;
	}
}