/* Atlas Boards: Featured Jobs carousel (matches JetEngine listing 690) */

.atlas-jobs {
	--cols: 3;
	--arrow: 42px;
	--arrow-icon: 35px;
	--arrow-off: -40px;
	position: relative;
	width: 100%;
}

.atlas-jobs__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	outline: none;
}

.atlas-jobs__track::-webkit-scrollbar {
	display: none;
}

.atlas-jobs__item {
	flex: 0 0 calc(100% / var(--cols));
	max-width: calc(100% / var(--cols));
	box-sizing: border-box;
	padding: 31px 10px;
	scroll-snap-align: start;
	display: flex;
}

.atlas-jobs .atlas-job {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	min-width: 0;
	padding: 20px;
	background: #F7F4EF;
	border: 2px solid #604E45;
	color: #323232;
	font-family: Inter, sans-serif;
	text-align: center;
	transition: transform .3s;
}

.atlas-jobs .atlas-job:hover,
.atlas-jobs .atlas-job:focus-within {
	transform: translateY(-2px);
}

.atlas-jobs .atlas-job__pin {
	position: absolute;
	top: -20px;
	left: 50%;
	width: 30px;
	height: auto;
	margin-left: -15px;
	pointer-events: none;
}

.atlas-jobs .atlas-job__title {
	margin: 0;
	width: 100%;
	font-family: "Glacial Indifference", sans-serif;
	font-size: 1.6em;
	font-weight: 400;
	line-height: 1;
	text-transform: capitalize;
	color: #323232;
	overflow-wrap: anywhere;
}

.atlas-jobs .atlas-job__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9em;
	font-weight: 500;
	line-height: 1.5;
}

.atlas-jobs .atlas-job__meta li {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.atlas-jobs .atlas-job__meta i {
	width: 14px;
	color: #323232;
	font-size: 14px;
	text-align: center;
}

.atlas-jobs .atlas-job__meta span {
	padding-left: 5px;
	color: #244B3C;
}

.atlas-jobs .atlas-job__pay {
	display: flex;
	justify-content: center;
	align-items: baseline;
	width: 100%;
	padding-top: 10px;
	border-top: 1px solid #604E45;
	color: #244B3C;
	font-weight: 600;
	line-height: 1;
}

.atlas-jobs .atlas-job__amount {
	font-size: 1.3em;
}

.atlas-jobs .atlas-job__unit {
	margin-left: 3px;
	font-size: .9em;
}

.atlas-jobs .atlas-job__skills {
	width: 100%;
}

/* Skills (from the [limited_terms] card CSS) */
.atlas-jobs .atlas-job .skills-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.atlas-jobs .atlas-job .skills-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	opacity: .7;
	text-transform: uppercase;
	letter-spacing: .03em;
	margin: 5px 6px 0 0;
}

.atlas-jobs .atlas-job .terms-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3px;
}

.atlas-jobs .atlas-job .term-item {
	font-size: 12px;
	line-height: 1.2;
	color: #333;
}

.atlas-jobs .atlas-job .term-item::after {
	content: ",";
	margin-right: 4px;
}

.atlas-jobs .atlas-job .term-item:last-child::after {
	content: "";
}

.atlas-jobs .atlas-job .term-item.is-selected {
	font-weight: 700;
	background: rgba(36, 75, 60, .12);
	padding: 2px 6px;
	border-radius: 6px;
}

.atlas-jobs .atlas-job .more-count {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	margin-top: 6px;
}

.atlas-jobs .atlas-job .more-pill {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	background: #244B3C;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	opacity: .55;
	white-space: nowrap;
}

.atlas-jobs .atlas-job__training {
	margin: 0;
	color: #244B3C;
	font-size: .8em;
	font-weight: 500;
	line-height: 1.5;
}

.atlas-jobs .atlas-job__images {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	margin-top: auto;
}

.atlas-jobs .atlas-job__qr {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.atlas-jobs .atlas-job__logo {
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.atlas-jobs .atlas-job__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.atlas-jobs .atlas-job__link:focus-visible {
	outline: 3px solid #C18F40;
	outline-offset: 2px;
}

/* Arrows */
.atlas-jobs__arrow,
body button.atlas-jobs__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--arrow);
	height: var(--arrow);
	margin: calc(var(--arrow) / -2) 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #244B3C;
	color: #F7F4EF;
	cursor: pointer;
	transition: background-color .2s;
}

.atlas-jobs__arrow:hover,
.atlas-jobs__arrow:focus-visible,
body button.atlas-jobs__arrow:hover,
body button.atlas-jobs__arrow:focus-visible {
	background: #C18F40;
	color: #F7F4EF;
}

.atlas-jobs__arrow svg {
	width: var(--arrow-icon);
	height: var(--arrow-icon);
	fill: currentColor;
}

.atlas-jobs__arrow--prev {
	left: var(--arrow-off);
}

.atlas-jobs__arrow--next {
	right: var(--arrow-off);
}

.atlas-jobs__arrow--next svg {
	transform: scaleX(-1);
}

/* Tablet: 2 cards */
@media (max-width: 1024px) {
	.atlas-jobs {
		--cols: 2;
		--arrow-off: -26px;
	}
}

/* Phones: 1 card */
@media (max-width: 767px) {
	.atlas-jobs {
		--cols: 1;
		--arrow: 37px;
		--arrow-icon: 29px;
		--arrow-off: -5px;
	}

	.atlas-jobs .atlas-job__amount {
		font-size: 1.6em;
	}

	.atlas-jobs .atlas-job__unit {
		font-size: 1em;
	}
}

/* Small phones: keep the arrows off the card text */
@media (max-width: 400px) {
	.atlas-jobs__item {
		padding-left: 22px;
		padding-right: 22px;
	}

	.atlas-jobs .atlas-job {
		padding: 20px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.atlas-jobs__track {
		scroll-behavior: auto;
	}

	.atlas-jobs .atlas-job {
		transition: none;
	}
}
