.stark-careers {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	width: 100%;
	max-width: 100% !important;
}

.stark-careers__filters {
	background: #dbebf7;
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.stark-careers__search {
	position: relative;
	margin-bottom: 15px;
}

.stark-careers__input {
	width: 100%;
	padding: 12px 45px 12px 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/*
 * The active theme applies `margin-bottom: 16px` to every text input
 * site-wide (input[type="text"], select, etc. in base.css). That's higher
 * specificity than a single class, so it still wins over `.stark-careers__input`
 * and pulls inputs upward inside `align-items: center` rows. Override with an
 * ID-scoped selector so it can't get re-broken by cascade/load order.
 */
#stark-careers-list .stark-careers__input {
	margin-bottom: 0;
}

.stark-careers__input:focus {
	border-color: #4a7fb5;
	box-shadow: 0 0 0 2px rgba(74, 127, 181, 0.15);
	outline: none;
}

.stark-careers__input--small {
	flex: 0 0 160px;
	width: 160px;
	min-width: 140px;
	height: 42px;
	padding-top: 0;
	padding-bottom: 0;
}

.stark-careers__search-btn {
	position: absolute;
	right: 0;
	top: 22px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px 10px;
	line-height: 0;
	color: #000;
}

.stark-careers__filter-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.stark-careers__select {
	flex: 1 1 160px;
	min-width: 140px;
	box-sizing: border-box;
}

select.stark-careers__select {
	padding: 12px 30px 12px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	background: #fff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.stark-careers__select:focus {
	border-color: #4a7fb5;
	box-shadow: 0 0 0 2px rgba(74, 127, 181, 0.15);
	outline: none;
}

.stark-careers__select--small {
	flex: 0 0 100px;
	min-width: 90px;
}

/*
 * The active theme wraps every <select> with the "nice-select" jQuery plugin
 * and ships a global `.nice-select { display: none; }` rule (meant for an
 * unrelated saved-search widget) that hides ALL nice-select dropdowns
 * site-wide, including ours. Restore visibility here with enough specificity
 * to win regardless of stylesheet load order, and neutralize the theme's
 * full-width/margin defaults so it sizes like the rest of the filter row.
 */
#stark-careers-list .nice-select.stark-careers__select {
	display: block;
	width: auto;
	margin-bottom: 0;
}

.stark-careers__button {
	flex: 0 0 auto;
	background: #4a7fb5;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.stark-careers__button:hover {
	background: #3b6a99;
}

.stark-careers__link {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	height: 42px;
	margin-left: auto;
	background: none;
	border: none;
	color: #4a7fb5;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 0 10px;
}

.stark-careers__results {
	margin-top: 20px;
}

.stark-careers__loading {
	display: none;
	text-align: center;
	padding: 40px 0;
	color: #666;
}

.stark-careers__loading.is-visible {
	display: block;
}

.stark-careers__group {
	margin-bottom: 40px;
	animation: stark-careers-fade-in 0.25s ease;
}

@keyframes stark-careers-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.stark-careers__group-title {
	font-size: 22px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
}

.stark-careers__card {
	border-bottom: 1px solid #eee;
	padding: 20px 0;
}

.stark-careers__card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.stark-careers__card-link:hover .stark-careers__card-title {
	color: #4a7fb5;
}

.stark-careers__card-title {
	font-size: 20px;
	font-weight: 600;
	color: #222;
	margin: 0 0 8px;
}

.stark-careers__card-meta {
	font-size: 15px;
	color: #666;
	margin: 0 0 5px;
}

.stark-careers__card-date {
	font-size: 14px;
	color: #999;
	margin: 0;
}

.stark-careers__loading,
.stark-careers__empty {
	text-align: center;
	padding: 40px 0;
	color: #666;
}

.stark-careers__skeletons {
	display: none;
}

.stark-careers__skeleton--card {
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.stark-careers__skeleton--line {
	position: relative;
	overflow: hidden;
	background: #e4e9ee;
	border-radius: 4px;
	margin-bottom: 10px;
}

.stark-careers__skeleton--line::after {
	content: '';
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.7),
		transparent
	);
	animation: stark-careers-shimmer 1.8s ease-in-out infinite;
}

.stark-careers__skeleton--title {
	height: 20px;
	width: 60%;
}

.stark-careers__skeleton--meta {
	height: 15px;
	width: 35%;
}

.stark-careers__skeleton--date {
	height: 14px;
	width: 20%;
	margin-bottom: 0;
}

@keyframes stark-careers-shimmer {
	100% {
		transform: translateX(100%);
	}
}

.stark-careers__empty--initial {
	font-size: 16px;
}

.stark-careers__empty--filtered {
	font-size: 16px;
	font-weight: 500;
}

.stark-careers__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
}

.stark-careers__page {
	padding: 8px 14px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	border-radius: 4px;
}

.stark-careers__page.active,
.stark-careers__page:hover {
	background: #4a7fb5;
	color: #fff;
	border-color: #4a7fb5;
}

@media (max-width: 1024px) {
	.stark-careers__select {
		flex: 1 1 calc(50% - 10px);
	}
}

@media (max-width: 768px) {
	.stark-careers__filter-row {
		flex-direction: column;
		align-items: stretch;
	}

	.stark-careers__select,
	.stark-careers__input,
	.stark-careers__button,
	.stark-careers__link {
		width: 100%;
		flex: 1 1 auto;
	}

	.stark-careers__link {
		height: auto;
		margin-left: 0;
		justify-content: center;
		padding: 12px 0;
	}
}
