.bcj-listing,
.bcj-detail-shell {
	--bcj-text: #3c3736;
	--bcj-muted: #626d78;
	--bcj-border: #d8dee4;
	--bcj-surface: #f5f7f8;
	--bcj-accent: #d8241b;
	--bcj-accent-hover: #b11d16;
	box-sizing: border-box;
	color: var(--bcj-text);
}

.bcj-listing *,
.bcj-detail-shell * {
	box-sizing: border-box;
}

.bcj-filters {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
	padding: 24px;
	background: var(--bcj-surface);
	border: 1px solid var(--bcj-border);
	border-radius: 6px;
}

.bcj-field--search {
	grid-column: span 4;
}

.bcj-facet-fields {
	display: grid;
	grid-column: span 8;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bcj-filters--no-search .bcj-facet-fields {
	grid-column: 1 / -1;
}

.bcj-radius-fields {
	display: grid;
	grid-column: span 4;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.bcj-field {
	min-width: 0;
}

.bcj-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
}

.bcj-field input,
.bcj-field select {
	width: 100%;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 8px 11px;
	color: var(--bcj-text);
	background: #fff;
	border: 1px solid #aeb7c0;
	border-radius: 4px;
	font: inherit;
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: 0;
}

.bcj-field select {
	-webkit-appearance: menulist;
	appearance: auto;
}

.bcj-field input:focus,
.bcj-field select:focus {
	border-color: var(--bcj-accent);
	outline: 2px solid var(--bcj-accent);
	outline-offset: 1px;
}

.bcj-filter-actions {
	display: flex;
	grid-column: span 8;
	gap: 16px;
	align-items: center;
}

.bcj-filters--no-radius .bcj-filter-actions {
	grid-column: 1 / -1;
}

.bcj-listing .bcj-button,
.bcj-detail-shell .bcj-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	color: #fff !important;
	background: var(--bcj-accent);
	border: 1px solid var(--bcj-accent);
	border-radius: 4px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.bcj-listing .bcj-button:visited,
.bcj-listing .bcj-button:hover,
.bcj-listing .bcj-button:focus,
.bcj-detail-shell .bcj-button:visited,
.bcj-detail-shell .bcj-button:hover,
.bcj-detail-shell .bcj-button:focus {
	color: #fff !important;
	background: var(--bcj-accent-hover);
	border-color: var(--bcj-accent-hover);
	text-decoration: none;
}

.bcj-listing .bcj-button *,
.bcj-detail-shell .bcj-button * {
	color: inherit !important;
}

.bcj-button--full {
	width: 100%;
}

.bcj-reset {
	color: var(--bcj-accent);
	font-weight: 600;
}

.bcj-listing__summary {
	margin: 30px 0 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bcj-border);
}

.bcj-listing__summary h2 {
	margin: 0 0 4px;
	color: var(--bcj-text);
	font-size: 25px;
	line-height: 1.25;
	letter-spacing: 0;
}

.bcj-listing__summary p {
	margin: 0;
	color: var(--bcj-muted);
	font-size: 16px;
}

.bcj-listing__back {
	color: var(--bcj-accent);
	font-weight: 700;
	text-decoration: none;
}

.bcj-listing__back:hover,
.bcj-listing__back:focus {
	color: var(--bcj-accent-hover);
	text-decoration: underline;
}

.bcj-categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bcj-category {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(60, 55, 54, 0.22);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(60, 55, 54, 0.16), 0 2px 6px rgba(60, 55, 54, 0.08);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.bcj-category:hover,
.bcj-category:focus-within {
	box-shadow: 0 14px 34px rgba(60, 55, 54, 0.24), 0 4px 10px rgba(60, 55, 54, 0.1);
	transform: translateY(-3px);
}

.bcj-category__card {
	display: block;
	height: 100%;
	color: #fff !important;
	text-decoration: none !important;
}

.bcj-category__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: #3c3736;
}

.bcj-category__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.08) 100%);
	content: "";
}

.bcj-category__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.bcj-category:hover .bcj-category__media img,
.bcj-category:focus-within .bcj-category__media img {
	transform: scale(1.025);
}

.bcj-category__overlay {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 24px;
}

.bcj-listing .bcj-category__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 8px;
	color: #fff !important;
	font-size: 24px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bcj-category__count {
	margin: 0;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.bcj-jobs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.bcj-job {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(60, 55, 54, 0.22);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(60, 55, 54, 0.16), 0 2px 6px rgba(60, 55, 54, 0.08);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.bcj-job:hover,
.bcj-job:focus-within {
	box-shadow: 0 14px 34px rgba(60, 55, 54, 0.24), 0 4px 10px rgba(60, 55, 54, 0.1);
	transform: translateY(-3px);
}

.bcj-job__card {
	display: block;
	height: 100%;
	color: var(--bcj-text) !important;
	text-decoration: none !important;
}

.bcj-job__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: #3c3736;
}

.bcj-job__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.08) 100%);
	content: "";
}

.bcj-job__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.bcj-job:hover .bcj-job__media img,
.bcj-job:focus-within .bcj-job__media img {
	transform: scale(1.025);
}

.bcj-job__overlay {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 24px 24px 16px;
}

.bcj-listing .bcj-job__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 20px;
	color: #fff !important;
	font-size: 24px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bcj-job__location,
.bcj-job__distance {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	color: #fff !important;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
}

.bcj-job__distance {
	margin-top: 5px;
	font-size: 14px;
	font-weight: 500;
}

.bcj-job__location .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.bcj-job__footer {
	display: flex;
	min-height: 68px;
	padding: 16px 20px;
	align-items: center;
	background: var(--bcj-surface);
}

.bcj-job__category {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 5px 10px;
	overflow: hidden;
	color: #fff !important;
	background: var(--bcj-accent);
	border: 1px solid var(--bcj-accent);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bcj-detail__category {
	margin: 0 0 8px;
	color: var(--bcj-accent);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.bcj-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	color: var(--bcj-muted);
	font-size: 14px;
}

.bcj-notice,
.bcj-empty {
	margin: 20px 0;
	padding: 14px 16px;
	border-left: 4px solid #b57a08;
	background: #fff8e6;
}

.bcj-notice--error {
	border-left-color: #b42318;
	background: #fff1f0;
}

.bcj-detail-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 48px auto 72px;
}

.bcj-detail__header {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--bcj-border);
}

.bcj-detail__back {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	margin-bottom: 24px;
	color: var(--bcj-accent);
	font-weight: 700;
	text-decoration: none;
}

.bcj-detail__back:hover,
.bcj-detail__back:focus {
	color: var(--bcj-accent-hover);
	text-decoration: underline;
}

.bcj-detail__header h1 {
	max-width: 920px;
	margin: 0 0 16px;
	font-size: clamp(32px, 3rem, 52px);
	line-height: 1.12;
	letter-spacing: 0;
}

.bcj-detail__apply {
	margin-top: 22px;
}

.bcj-detail__image {
	margin: 32px 0;
}

.bcj-detail__image img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: 6px;
}

.bcj-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
	gap: 48px;
	align-items: start;
	margin-top: 36px;
}

.bcj-detail__content {
	min-width: 0;
	line-height: 1.7;
}

.bcj-detail__content img,
.bcj-detail__content iframe {
	max-width: 100%;
}

.bcj-detail__facts {
	padding: 24px;
	background: var(--bcj-surface);
	border: 1px solid var(--bcj-border);
	border-radius: 6px;
}

.bcj-detail__facts h2 {
	margin: 0 0 18px;
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: 0;
}

.bcj-detail__facts dl {
	margin: 0 0 24px;
}

.bcj-detail__facts dt {
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
}

.bcj-detail__facts dd {
	margin: 2px 0 0;
}

.bcj-detail__contact {
	margin: 24px 0;
	padding-top: 24px;
	border-top: 1px solid var(--bcj-border);
}

.bcj-detail--unavailable {
	max-width: 760px;
}

@media (max-width: 980px) {
	.bcj-filters {
		grid-template-columns: 1fr;
	}

	.bcj-field--search,
	.bcj-facet-fields,
	.bcj-radius-fields,
	.bcj-filter-actions {
		grid-column: 1;
	}

	.bcj-categories,
	.bcj-jobs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bcj-detail__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 680px) {
	.bcj-categories,
	.bcj-jobs,
	.bcj-facet-fields {
		grid-template-columns: 1fr;
	}

	.bcj-filters {
		gap: 14px;
		padding: 18px;
	}

	.bcj-radius-fields {
		gap: 10px;
	}

	.bcj-listing .bcj-category__title,
	.bcj-listing .bcj-job__title {
		font-size: 21px;
	}

	.bcj-filter-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.bcj-detail-shell {
		width: min(100% - 28px, 1180px);
		margin-top: 32px;
	}

	.bcj-detail__header h1 {
		font-size: 32px;
	}
}
