/* Centric Learning Jobs — front-end styles.
 * Tuned to the Centric Learning site (BeTheme / Montserrat).
 * Everything is scoped under .clj-jobs and driven by the variables below,
 * so you can retune the palette in one place.
 */

.clj-jobs {
	--clj-cols: 2;
	--clj-radius: 5px;               /* matches the theme's button radius */
	--clj-border: #e4e7ec;
	--clj-title: #09142f;            /* theme heading navy */
	--clj-text: #1a1d24;
	--clj-muted: #6a7382;
	--clj-accent: #1626ab;           /* theme primary button (indigo) */
	--clj-accent-hover: #101d85;
	--clj-link: #0095eb;             /* theme link azure — used on hover */
	--clj-badge-bg: #eef1f7;
	--clj-badge-fg: #384150;

	margin: 1.75em 0;
	font-family: inherit;            /* inherit Montserrat from the theme */
	color: var(--clj-text);
}

.clj-jobs *,
.clj-jobs *::before,
.clj-jobs *::after { box-sizing: border-box; }

.clj-grid {
	display: grid;
	grid-template-columns: repeat(var(--clj-cols), minmax(0, 1fr));
	gap: 22px;
}

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

.clj-card {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 22px 22px 20px;
	border: 1px solid var(--clj-border);
	border-radius: var(--clj-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(9, 20, 47, 0.05);
	transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.clj-card:hover {
	box-shadow: 0 10px 26px rgba(9, 20, 47, 0.10);
	border-color: #d4dae6;
	transform: translateY(-2px);
}

.clj-card__head { margin: 0; }

.clj-card__title {
	margin: 0 0 3px;
	font-family: inherit;
	font-size: 1.22rem;
	font-weight: 500;                /* theme headings are Montserrat 500 */
	line-height: 1.3;
	color: var(--clj-title);
}

.clj-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}
.clj-card__title a:hover { color: var(--clj-link); }

.clj-card__company {
	font-weight: 600;
	color: var(--clj-title);
	font-size: 0.95rem;
}

.clj-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--clj-muted);
	font-size: 0.85rem;
}

.clj-meta__item {
	display: inline-flex;
	align-items: center;
	line-height: 1.4;
}

.clj-meta__item::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-right: 6px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.85;
}

.clj-meta__loc::before {
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%236a7382' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}
.clj-meta__type::before {
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%236a7382' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
}
.clj-meta__posted::before {
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%236a7382' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}

.clj-sources {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.clj-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	background: var(--clj-badge-bg);
	color: var(--clj-badge-fg);
	border: 1px solid rgba(9, 20, 47, 0.06);
}
.clj-badge--linkedin { background: #eaf3fb; color: #0a66c2; border-color: rgba(10, 102, 194, 0.15); }
.clj-badge--indeed   { background: #eef0fb; color: #2557a7; border-color: rgba(37, 87, 167, 0.15); }
.clj-badge--google   { background: #f1f3f4; color: #3c4043; }

.clj-card__desc {
	margin: 2px 0 0;
	color: #454b57;
	font-size: 0.9rem;
	line-height: 1.55;
}

.clj-apply {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.clj-apply__btn {
	display: inline-block;
	padding: 9px 17px 10px;
	border-radius: var(--clj-radius);
	background: var(--clj-accent);
	color: #fafafa !important;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.clj-apply__btn:hover { background: var(--clj-accent-hover); color: #fafafa !important; }

.clj-apply__btn--alt {
	background: #fff;
	color: var(--clj-accent) !important;
	border-color: var(--clj-border);
}
.clj-apply__btn--alt:hover {
	background: #f5f7fb;
	border-color: #cdd4e2;
	color: var(--clj-accent) !important;
}

.clj-empty {
	padding: 26px;
	border: 1px dashed var(--clj-border);
	border-radius: var(--clj-radius);
	color: var(--clj-muted);
	text-align: center;
	font-size: 0.95rem;
}
