.cr-job-page {
	background: #f6f7f8;
	color: #111827;
}

.cr-job-page h1,
.cr-job-page h2,
.cr-job-page h3,
.cr-job-page h4 {
	color: #111827;
}

.cr-job-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.cr-job-hero {
	background: #111827;
	color: #ffffff;
	padding: clamp(48px, 7vw, 88px) 0;
}

.cr-job-hero h1,
.cr-job-hero .cr-job-eyebrow,
.cr-job-hero .cr-job-hero-location {
	color: #ffffff;
}

.cr-job-hero h1 {
	max-width: 850px;
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	line-height: 1.05;
}

.cr-job-eyebrow {
	margin: 0 0 14px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cr-job-hero-location {
	margin: 18px 0 0;
	font-size: 1.15rem;
	line-height: 1.5;
	opacity: 0.9;
}

.cr-job-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	gap: 32px;
	align-items: start;
	padding: clamp(36px, 6vw, 72px) 0;
}

.cr-job-main {
	display: grid;
	gap: 24px;
}

.cr-job-card,
.cr-job-apply-card {
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
}

.cr-job-card {
	padding: clamp(24px, 4vw, 40px);
}

.cr-job-card h2,
.cr-job-apply-card h2 {
	margin-top: 0;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.2;
}

.cr-job-details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.cr-job-detail-item {
	padding: 16px;
	background: #f6f7f8;
	border-radius: 12px;
}

.cr-job-detail-label,
.cr-job-detail-value {
	display: block;
}

.cr-job-detail-label {
	margin-bottom: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4b5563;
}

.cr-job-detail-value {
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}

.cr-job-content,
.cr-job-section {
	font-size: 1.05rem;
	line-height: 1.7;
}

.cr-job-content > *:first-child,
.cr-job-section > *:first-child {
	margin-top: 0;
}

.cr-job-section {
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.cr-job-content ul,
.cr-job-section ul,
.cr-job-content ol,
.cr-job-section ol {
	padding-left: 1.4em;
}

.cr-job-sidebar {
	position: sticky;
	top: 24px;
}

.cr-job-apply-card {
	padding: clamp(22px, 3vw, 32px);
}

.cr-job-apply-card p {
	margin-top: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #4b5563;
}

.cr-job-apply-card .gform_wrapper {
	margin-top: 20px;
}

@media (max-width: 900px) {
	.cr-job-layout {
		grid-template-columns: 1fr;
	}

	.cr-job-sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.cr-job-container {
		width: min(100% - 24px, 1180px);
	}

	.cr-job-details-grid {
		grid-template-columns: 1fr;
	}
}

/* Job grid shortcode: [cr_job_grid] */
.crjst-job-grid.cr-post-grid {
	display: grid;
	grid-template-columns: repeat(var(--crjst-job-grid-columns, 3), minmax(0, 1fr));
	gap: 32px;
	margin: 40px 0;
}

.crjst-job-grid .crjst-job-card {
	position: relative;
	background: #ffffff;
	border: 1px solid #daeada;
	border-radius: 22px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.crjst-job-grid .crjst-job-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(44, 72, 52, 0.18);
	border-color: #00ab50;
}

.crjst-job-grid .crjst-job-card-link {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.crjst-job-grid .crjst-job-card-image,
.crjst-job-grid .post-grid-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #daeada;
}

.crjst-job-grid .crjst-job-card-image img,
.crjst-job-grid .post-grid-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.crjst-job-grid .crjst-job-card:hover .crjst-job-card-image img,
.crjst-job-grid .crjst-job-card:hover .post-grid-image img {
	transform: scale(1.05);
}

.crjst-job-grid .post-grid-image-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(44, 72, 52, 0.05) 0%, rgba(44, 72, 52, 0.45) 100%);
	pointer-events: none;
}

.crjst-job-grid .crjst-job-card-content {
	position: relative;
	z-index: 6;
	padding: 24px;
}

.crjst-job-grid .crjst-job-card h3 {
	margin: 0 0 18px;
	color: #2c4834;
	font-size: clamp(24px, 2vw, 32px);
	line-height: 1.15;
	font-weight: 700;
}

.crjst-job-grid .crjst-job-card-meta {
	margin: 0 0 12px;
	padding: 14px 16px;
	background: #daeada;
	border-radius: 14px;
	color: #2c4834;
	font-size: 16px;
	line-height: 1.4;
}

.crjst-job-grid .crjst-job-card-meta label {
	display: block;
	margin-bottom: 4px;
	color: #2c4834;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.crjst-job-grid .crjst-job-card-meta span {
	display: block;
}

.crjst-job-grid .crjst-job-card-salary {
	background: rgba(0, 171, 80, 0.1);
	border: 1px solid rgba(0, 171, 80, 0.25);
	font-size: 18px;
	font-weight: 700;
}

.crjst-job-grid .crjst-job-card-location,
.crjst-job-grid .crjst-job-card-hours {
	background: #f5faf5;
	border: 1px solid #daeada;
}

.crjst-job-grid .crjst-job-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	padding: 13px 22px;
	background: #00ab50;
	color: #ffffff;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: background 0.25s ease;
}

.crjst-job-grid h3{
	color: #2c4834 !important;
}

.crjst-job-grid .crjst-job-card-button::after {
	content: "→";
	margin-left: 8px;
	transition: transform 0.25s ease;
}

.crjst-job-grid .crjst-job-card:hover .crjst-job-card-button {
	background: #2c4834;
}

.crjst-job-grid .crjst-job-card:hover .crjst-job-card-button::after {
	transform: translateX(4px);
}

.crjst-no-jobs-message {
	padding: 20px;
	background: #daeada;
	border-radius: 14px;
	color: #2c4834;
	font-weight: 700;
}

@media (max-width: 900px) {
	.crjst-job-grid.cr-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.crjst-job-grid.cr-post-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 30px 0;
	}

	.crjst-job-grid .crjst-job-card-content {
		padding: 20px;
	}
}
