/* === Careers section spacing (per mockup) ===
   Overrides the shared .section-spacing-130 utility for this page
   only. The compound selectors out-rank the utility, and this file
   loads after style_careers.css, so these win at every breakpoint. */
.about-us.section-spacing-130 {
	padding-top: 80px;
	padding-bottom: 50px;
}

.project-showcase-2.section-spacing-130 {
	padding-top: 40px;
	padding-bottom: 100px;
}

@media only screen and (max-width: 1399px) {
	.about-us.section-spacing-130 {
		padding-top: 60px;
		padding-bottom: 32px;
	}

	.project-showcase-2.section-spacing-130 {
		padding-top: 32px;
		padding-bottom: 80px;
	}
}

@media only screen and (max-width: 991px) {
	.about-us.section-spacing-130 {
		padding-top: 54px;
		padding-bottom: 34px;
	}

	.project-showcase-2.section-spacing-130 {
		padding-top: 24px;
		padding-bottom: 60px;
	}
}

/* === Careers vacancy filter & sort === */
.careers-filter {
	position: relative;
	margin-bottom: 40px;
	font-family: var(--font_regular);
}

.careers-filter__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.careers-filter__toggle {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--rr-heading-primary, #000000);
	cursor: pointer;
	transition: color 0.2s ease;
}

.careers-filter__toggle:hover {
	color: rgba(17, 17, 17, 0.55);
}

.careers-filter__toggle:focus-visible,
.careers-filter__sort-trigger:focus-visible,
.careers-filter__action:focus-visible,
.careers-filter__option input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--rr-heading-primary, #000000);
	outline-offset: 3px;
}

.careers-filter__toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(17, 17, 17, 0.25);
	border-radius: 50%;
	font-size: 13px;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.careers-filter__toggle:hover .careers-filter__toggle-icon,
.careers-filter.is-open .careers-filter__toggle-icon {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.careers-filter__toggle-text {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
}

.careers-filter__sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.careers-filter__sort-label {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--rr-heading-primary, #000000);
}

.careers-filter__sort-trigger {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--rr-heading-primary, #000000);
	cursor: pointer;
}

.careers-filter__sort-value {
	font-size: 16px;
	font-family: var(--font_light);
	line-height: 1.2;
}

.careers-filter__sort-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(17, 17, 17, 0.25);
	border-radius: 50%;
	font-size: 11px;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.3s ease;
}

.careers-filter__sort-trigger:hover .careers-filter__sort-icon,
.careers-filter.is-sort-open .careers-filter__sort-icon {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.careers-filter.is-sort-open .careers-filter__sort-icon {
	transform: rotate(180deg);
}

.careers-filter__sort-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 150px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #ffffff;
	border: 1px solid rgba(17, 17, 17, 0.12);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
	z-index: 60;
}

.careers-filter__sort-menu[hidden] {
	display: none;
}

.careers-filter__sort-menu li {
	padding: 9px 18px;
	font-size: 15px;
	font-family: var(--font_light);
	color: var(--secondary, #555555);
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.careers-filter__sort-menu li:hover {
	color: var(--rr-heading-primary, #000000);
	background: rgba(17, 17, 17, 0.05);
}

.careers-filter__sort-menu li[aria-selected="true"] {
	color: var(--rr-heading-primary, #000000);
	font-family: var(--font_regular);
}

.careers-filter__panel {
	margin-top: 26px;
	padding: 26px 30px 34px;
	border: 1px solid rgba(17, 17, 17, 0.12);
	background: #ffffff;
}

.careers-filter__panel[hidden] {
	display: none;
}

.careers-filter__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.careers-filter__action {
	appearance: none;
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	padding: 8px 18px;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.careers-filter__action:hover {
	background: #ffffff;
	color: #000000;
}

.careers-filter__divider {
	height: 1px;
	background: rgba(17, 17, 17, 0.12);
	margin-bottom: 24px;
}

.careers-filter__options {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px 26px;
}

.careers-filter__option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 400;
	font-family: var(--font_light);
	color: var(--secondary, #555555);
	cursor: pointer;
	transition: color 0.2s ease;
}

.careers-filter__option:hover {
	color: var(--rr-heading-primary, #000000);
	
}

.careers-filter__option:has(input[type="checkbox"]:checked) {
	color: var(--rr-heading-primary, #000000);
}

.careers-filter__option input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1.5px solid #000000;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.careers-filter__option input[type="checkbox"]:checked {
	background: #000000;
	border-color: #000000;
}

.careers-filter__list.has-results {
	border-bottom: 1px solid #DADADA;
}

.careers-filter__list .project-showcase-2__wrapper:last-child .project-showcase-2__list {
	border-bottom: 0;
}

.careers-filter__list .project-showcase-2__wrapper[hidden] {
	display: none !important;
}

.careers-filter__empty {
	padding-top: 10px;
	color: rgba(17, 17, 17, 0.65);
	font-size: 18px;
	font-family: var(--font_light);
}

.careers-filter__empty[hidden] {
	display: none;
}

@media (max-width: 1199px) {
	.careers-filter__options {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.careers-filter__options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px 20px;
	}
}

@media (max-width: 767px) {
	.careers-filter {
		margin-bottom: 30px;
	}

	.careers-filter__panel {
		padding: 20px 18px 26px;
	}

	.careers-filter__options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.careers-filter__options {
		grid-template-columns: 1fr;
	}
}

/* Responsive: scrollable options list inside the filter panel */
@media (max-width: 991px) {
	.careers-filter__options {
		max-height: 320px;
		overflow-y: auto;
		padding-right: 8px;
		-webkit-overflow-scrolling: touch;
	}

	.careers-filter__options::-webkit-scrollbar {
		width: 5px;
	}

	.careers-filter__options::-webkit-scrollbar-track {
		background: #fff;
	}

	.careers-filter__options::-webkit-scrollbar-thumb {
		background: #e61e28;
		border-radius: 10px;
	}

	.careers-filter__options::-webkit-scrollbar-thumb:hover {
		background: #000;
	}
}

@media (max-width: 575px) {
	.careers-filter__options {
		max-height: 300px;
	}
}