.cfjo-board,
.cfjo-apply {
	color: #151821;
	font-family: inherit;
	margin: 32px 0;
}

.cfjo-board *,
.cfjo-apply * {
	box-sizing: border-box;
}

.cfjo-board__header {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 22px;
}

.cfjo-board__header h2,
.cfjo-apply h2 {
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.1;
	margin: 0;
}

.cfjo-view-toggle {
	background: #f3f5f8;
	border: 1px solid #d9dee8;
	border-radius: 8px;
	display: inline-flex;
	padding: 3px;
}

.cfjo-view-toggle button {
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: #4b5563;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	line-height: 1;
	padding: 9px 12px;
}

.cfjo-view-toggle button.is-active {
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
	color: #111827;
}

.cfjo-filters {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(150px, 1fr));
	margin-bottom: 26px;
}

.cfjo-filters label,
.cfjo-application-form label {
	display: grid;
	gap: 7px;
	margin: 0;
}

.cfjo-filters span,
.cfjo-application-form span {
	color: #4b5563;
	font-size: 13px;
	font-weight: 650;
}

.cfjo-application-form span {
	color: #374151 !important;
	display: block;
	font-weight: 700;
}

.cfjo-filters input,
.cfjo-filters select,
.cfjo-application-form input,
.cfjo-application-form textarea {
	background: #fff;
	border: 1px solid #d7dce5;
	border-radius: 6px;
	color: #111827;
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.cfjo-filters input:focus,
.cfjo-filters select:focus,
.cfjo-application-form input:focus,
.cfjo-application-form textarea:focus {
	border-color: var(--cfjo-accent, #2563eb);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cfjo-accent, #2563eb) 16%, transparent);
	outline: 0;
}

.cfjo-results.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.cfjo-listings {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr);
}

.cfjo-card {
	background: #fff;
	border: 1px solid #dfe3eb;
	border-radius: 8px;
	box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: space-between;
	min-height: 168px;
	padding: 22px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cfjo-card__link {
	color: inherit;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 18px;
	justify-content: space-between;
	text-decoration: none;
}

.cfjo-card:hover {
	border-color: color-mix(in srgb, var(--cfjo-accent, #2563eb) 42%, #dfe3eb);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.cfjo-card h3 {
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 10px;
}

.cfjo-card h3,
.cfjo-card h3 a {
	color: #111827;
	text-decoration: none;
}

.cfjo-card p {
	color: #4b5563;
	font-size: 15px;
	line-height: 1.55;
	margin: 12px 0 0;
}

.cfjo-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cfjo-card__meta span {
	background: #f4f6f9;
	border: 1px solid #e3e7ee;
	border-radius: 999px;
	color: #4b5563;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	padding: 7px 9px;
}

.cfjo-card__action {
	align-items: center;
	color: var(--cfjo-accent, #2563eb);
	display: inline-flex;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
}

.cfjo-card__action::after {
	content: "→";
	margin-left: 6px;
}

.cfjo-board[data-layout="list"] .cfjo-listings,
.cfjo-board[data-layout="stack"] .cfjo-listings {
	grid-template-columns: 1fr;
}

.cfjo-board[data-layout="list"] .cfjo-card {
	align-items: center;
	flex-direction: row;
	min-height: 116px;
}

.cfjo-board[data-layout="stack"] .cfjo-card {
	border-left: 4px solid var(--cfjo-accent, #2563eb);
	min-height: 132px;
}

.cfjo-empty,
.cfjo-notice {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 18px 0;
	padding: 18px 20px;
}

.cfjo-notice--success {
	background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
	border-color: #86efac;
	box-shadow: 0 12px 26px rgba(21, 128, 61, 0.18);
	color: #064e3b;
}

.cfjo-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.cfjo-application-form {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.cfjo-application-form label:has(textarea),
.cfjo-application-form .cfjo-privacy,
.cfjo-application-form .cfjo-submit {
	grid-column: 1 / -1;
}

.cfjo-privacy {
	color: #4b5563;
	font-size: 14px;
	margin: 0;
}

.cfjo-submit {
	background: var(--cfjo-accent, #2563eb);
	border: 1px solid var(--cfjo-accent, #2563eb);
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 750;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	text-decoration: none;
	width: fit-content;
}

.cfjo-submit:hover {
	filter: brightness(0.95);
}

.cfjo-single {
	box-sizing: border-box;
	color: #151821;
	font-family: inherit;
	margin: 0 auto;
	max-width: 1100px;
	padding: 120px 24px 80px;
	width: 100%;
}

.cfjo-single *,
.cfjo-single *::before,
.cfjo-single *::after {
	box-sizing: border-box;
}

.cfjo-single__job {
	margin: 0;
	width: 100%;
}

.cfjo-single__header {
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 32px;
	padding-bottom: 24px;
}

.cfjo-single__header h1 {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.12;
	margin: 0 0 18px;
}

.cfjo-single__content {
	font-size: 16px;
	line-height: 1.75;
}

.cfjo-single__content > :first-child {
	margin-top: 0;
}

@media (max-width: 920px) {
	.cfjo-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.cfjo-board__header,
	.cfjo-board[data-layout="list"] .cfjo-card {
		align-items: stretch;
		flex-direction: column;
	}

	.cfjo-view-toggle {
		width: 100%;
	}

	.cfjo-view-toggle button {
		flex: 1;
	}

	.cfjo-filters,
	.cfjo-listings,
	.cfjo-application-form {
		grid-template-columns: 1fr;
	}

	.cfjo-single {
		padding: 120px 18px 56px;
	}

	.cfjo-single__header h1 {
		font-size: clamp(30px, 10vw, 42px);
	}

	.cfjo-card {
		min-height: 0;
		padding: 18px;
	}

	.cfjo-application-form label,
	.cfjo-application-form .cfjo-privacy,
	.cfjo-application-form .cfjo-submit {
		grid-column: 1;
	}
}
