/* Career Listings — job listing (shortcode/block) styles */

.career-listings-job-list {
	--career-listings-primary: #0084ff;
	--career-listings-text: #010417;
	--career-listings-muted: #5e6c8d;
	--career-listings-border: #d4e0ed;
	--career-listings-surface: #ffffff;
	--career-listings-radius: 18px;

	/* Match the theme's .container gutter (see wp-content/themes/kovaion/style.css) so the
	   listing lines up with the rest of the page's sections. */
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

.career-listings-job-list .career-listings-jobs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.career-listings-job-item {
	display: flex;
	align-items: center;
	gap: 20px;
	border: 1px solid var( --career-listings-border );
	border-radius: var( --career-listings-radius );
	background: var( --career-listings-surface );
	padding: 30px;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.career-listings-job-item:hover {
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.08 );
	border-color: var( --career-listings-primary );
}

.career-listings-job-left-col {
	flex: 1 1 60%;
	min-width: 0;
}

.career-listings-job-right-col {
	flex: 0 0 auto;
	margin-left: auto;
}

.career-listings-job-list .career-listings-job-title {
	margin: 0 0 12px;
	font-weight: 700;
	font-size: 20px;
}

.career-listings-job-list .career-listings-job-title a {
	color: var( --career-listings-text );
	text-decoration: none;
}

.career-listings-job-list .career-listings-job-title a:hover {
	color: var( --career-listings-primary );
}

.career-listings-job-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 40px;
	color: var( --career-listings-muted );
	font-size: 15px;
}

.career-listings-job-spec strong {
	font-weight: 600;
	color: var( --career-listings-text );
	margin-right: 4px;
}

.career-listings-job-cta {
	display: inline-block;
	padding: 14px 35px;
	border: 1px solid var( --career-listings-border );
	border-radius: 25px;
	background: var( --career-listings-surface );
	color: var( --career-listings-primary );
	font-weight: 700;
	font-size: 14px;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.career-listings-job-cta:hover {
	background: var( --career-listings-primary );
	color: #fff;
}

.career-listings-empty {
	padding: 24px 0;
	color: var( --career-listings-muted );
	text-align: center;
}

@media screen and ( max-width: 767px ) {
	.career-listings-job-item {
		flex-wrap: wrap;
		padding: 20px;
		text-align: center;
	}

	.career-listings-job-left-col {
		flex: 1 1 100%;
	}

	.career-listings-job-specs {
		justify-content: center;
	}

	.career-listings-job-right-col {
		flex: 1 1 100%;
		margin-left: 0;
	}

	.career-listings-job-cta {
		width: 100%;
	}
}
