/* WSC Jobs — front-end styles (direction-agnostic via logical properties) */

/* ===== Hub grid (/jobs/) ===== */
.wsc-jobs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.wsc-job-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-color: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	transition: box-shadow .2s ease;
}

.wsc-job-card:hover {
	box-shadow: 0 6px 20px rgba(16, 24, 40, .08);
}

.wsc-job-title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 700;
}

.wsc-job-title a {
	font-weight: 700;
}

.wsc-job-title a {
	text-decoration: none;
	color: inherit;
}

.wsc-job-meta {
	font-size: .9rem;
	opacity: .75;
	margin-block-end: 12px;
}

.wsc-job-excerpt {
	margin-block-end: 16px;
	line-height: 1.6;
}

.wsc-job-btn {
	margin-block-start: auto;
	display: inline-block;
	padding: 11px 15px;
	border: 1px #95000D solid;
	border-radius: 4px;
	background-color: #95000D;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: opacity .2s ease;
}

.wsc-job-btn:hover {
	opacity: .9;
	color: #fff;
}

.wsc-job-btn--lg {
	padding: 14px 32px;
	font-size: 1.05rem;
}

.wsc-jobs-empty {
	padding: 24px;
	border: 1px dashed #d0d5dd;
	border-radius: 12px;
	text-align: center;
	opacity: .85;
}

/* ===== Single job page ===== */
.wsc-single {
	max-width: 820px;
	margin: 40px auto;
	padding: 0 20px;
}

.wsc-single-back a {
	text-decoration: none;
	opacity: .8;
}

.wsc-single-title {
	margin: 8px 0 12px;
}

.wsc-single-meta {
	font-size: 1rem;
	opacity: .8;
	margin-block-end: 20px;
}

.wsc-single-thumb {
	margin-block-end: 24px;
}

.wsc-single-thumb img {
	border-radius: 14px;
	height: auto;
}

.wsc-single-content {
	line-height: 1.75;
	font-size: 1.05rem;
}

.wsc-single-apply {
	margin-block-start: 32px;
}

.wsc-single-expired {
	background: #fff4f4;
	border: 1px solid #f3c2c2;
	color: #9b1c1c;
	padding: 12px 16px;
	border-radius: 10px;
	margin-block-end: 20px;
	font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
	.wsc-jobs-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===== Single job field elements (shortcodes) ===== */
.wsc-job-type-badge {
	display: inline-block;
	background-color: var( --e-global-color-accent );
	padding: 12px 16px 12px 16px;
	border-radius: 4px 4px 4px 4px;
	font-family: "Hanken Grotesk", Sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.1em;
	letter-spacing: -0.03em;
	color: #FFF;
}

.wsc-job-email {
	font-weight: 600;
	word-break: break-word;
}

/* ===== Site font (Hanken Grotesk) across all plugin output ===== */
.wsc-jobs-grid,
.wsc-job-card,
.wsc-job-title,
.wsc-job-title a,
.wsc-job-meta,
.wsc-job-excerpt,
.wsc-job-btn,
.wsc-single,
.wsc-single-back,
.wsc-single-title,
.wsc-single-meta,
.wsc-single-content,
.wsc-single-expired,
.wsc-job-type-badge,
.wsc-job-email {
	font-family: "Hanken Grotesk", Sans-serif;
}
