/* Custom Job Board — all selectors are scoped with the cjb- prefix. */
.cjb-job-board,
.cjb-single-job-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	color: #182230;
}

.cjb-job-board *,
.cjb-job-board *::before,
.cjb-job-board *::after,
.cjb-single-job-wrap *,
.cjb-single-job-wrap *::before,
.cjb-single-job-wrap *::after {
	box-sizing: border-box;
}

.cjb-job-board {
	padding: clamp(18px, 3vw, 36px);
	background: #f7f8fa;
	border-radius: 6px;
}

.cjb-job-count {
	margin: 0 0 16px;
	color: #4b5565;
	font-size: 14px;
	font-weight: 600;
}

.cjb-job-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.cjb-job-card {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	min-height: 132px;
	padding: 22px 24px;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e3e7ec;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.025);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cjb-job-card:hover,
.cjb-job-card:focus-visible {
	color: inherit;
	text-decoration: none;
	border-color: #bdc7d4;
	box-shadow: 0 5px 16px rgba(16, 24, 40, 0.07);
	transform: translateY(-1px);
}

.cjb-job-card:focus-visible,
.cjb-back-link:focus-visible,
.cjb-apply-button:focus-visible {
	outline: 3px solid rgba(35, 86, 160, 0.28);
	outline-offset: 3px;
}

.cjb-job-logo,
.cjb-single-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f1f4f7;
	border: 1px solid #e2e7ec;
	border-radius: 7px;
}

.cjb-job-logo {
	width: 56px;
	height: 56px;
}

.cjb-job-logo-image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	background: #fff;
}

.cjb-job-logo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #3d526d;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.cjb-job-content,
.cjb-job-heading {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cjb-job-heading {
	gap: 2px;
}

.cjb-job-title {
	color: #111c2d;
	font-size: 18px;
	font-weight: 650;
	line-height: 1.35;
}

.cjb-job-company,
.cjb-single-company {
	color: #687386;
	font-size: 14px;
	line-height: 1.5;
}

.cjb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 11px;
	color: #5a6575;
	font-size: 13px;
}

.cjb-meta-item {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.cjb-meta-item svg {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.cjb-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 13px;
}

.cjb-tag {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 3px 9px;
	color: #465468;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	background: #fff;
	border: 1px solid #d8dee7;
	border-radius: 999px;
}

.cjb-view-job {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	justify-content: flex-end;
	min-width: 92px;
	color: #284c7a;
	font-size: 13px;
	font-weight: 650;
	white-space: nowrap;
}

.cjb-view-job span {
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	transition: transform 160ms ease;
}

.cjb-job-card:hover .cjb-view-job span,
.cjb-job-card:focus-visible .cjb-view-job span {
	transform: translateX(2px);
}

.cjb-no-jobs {
	margin: 0;
	padding: 28px;
	color: #5a6575;
	text-align: center;
	background: #fff;
	border: 1px solid #e3e7ec;
	border-radius: 6px;
}

.cjb-single-job-wrap {
	padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 44px);
}

.cjb-single-job {
	max-width: 900px;
	margin-inline: auto;
	padding: clamp(24px, 5vw, 54px);
	background: #fff;
	border: 1px solid #e3e7ec;
	border-radius: 8px;
	box-shadow: 0 7px 28px rgba(16, 24, 40, 0.06);
}

.cjb-back-link {
	display: inline-flex;
	margin-bottom: 30px;
	color: #50647f;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.cjb-back-link:hover {
	color: #1d3f6d;
	text-decoration: underline;
}

.cjb-single-header {
	display: flex;
	gap: 22px;
	align-items: center;
	padding-bottom: 28px;
	border-bottom: 1px solid #e8ebef;
}

.cjb-single-logo {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
}

.cjb-single-title {
	margin: 0;
	color: #111c2d;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
}

.cjb-single-company {
	margin: 7px 0 0;
	font-size: 17px;
}

.cjb-single-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
	margin-top: 24px;
	padding: 8px 20px;
	background: #f7f8fa;
	border-radius: 6px;
}

.cjb-detail {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	color: #313e50;
	font-size: 14px;
	border-bottom: 1px solid #e3e7ec;
}

.cjb-detail:nth-last-child(-n + 2) {
	border-bottom: 0;
}

.cjb-detail-label {
	color: #6a7483;
	font-weight: 600;
}

.cjb-detail a {
	overflow-wrap: anywhere;
}

.cjb-single-tags {
	margin-top: 20px;
}

.cjb-job-description {
	margin-top: 34px;
	color: inherit;
}

.cjb-job-description > :first-child {
	margin-top: 0;
}

.cjb-job-description > :last-child {
	margin-bottom: 0;
}

.cjb-apply-wrap {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid #e8ebef;
}

.cjb-apply-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background: #193f6b;
	border: 1px solid #193f6b;
	border-radius: 5px;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.cjb-apply-button:hover {
	color: #fff;
	text-decoration: none;
	background: #102f54;
	border-color: #102f54;
}

@media (max-width: 700px) {
	.cjb-job-board {
		padding: 14px;
	}

	.cjb-job-card {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 14px;
		min-height: 0;
		padding: 18px;
	}

	.cjb-job-logo {
		width: 48px;
		height: 48px;
	}

	.cjb-job-title {
		font-size: 17px;
	}

	.cjb-meta {
		gap: 7px 14px;
	}

	.cjb-view-job {
		grid-column: 2;
		justify-content: flex-start;
		min-height: 34px;
		margin-top: -4px;
	}

	.cjb-single-details {
		grid-template-columns: 1fr;
	}

	.cjb-detail,
	.cjb-detail:nth-last-child(-n + 2) {
		border-bottom: 1px solid #e3e7ec;
	}

	.cjb-detail:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 440px) {
	.cjb-job-card {
		grid-template-columns: 1fr;
	}

	.cjb-job-logo {
		grid-row: auto;
	}

	.cjb-view-job {
		grid-column: 1;
	}

	.cjb-single-header {
		align-items: flex-start;
	}

	.cjb-single-logo {
		flex-basis: 58px;
		width: 58px;
		height: 58px;
	}

	.cjb-detail {
		flex-direction: column;
		gap: 3px;
	}

	.cjb-apply-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cjb-job-card,
	.cjb-view-job span,
	.cjb-apply-button {
		transition: none;
	}
}

