/* ============================================================
   CAREERS ARCHIVE — career.css
   ============================================================ */

/* ── Open Positions section ─────────────────────────────── */
.ca-positions-section {}

.ca-positions-header {
	text-align: center;
	margin-bottom: 52px;
}

.ca-positions-title {
	letter-spacing: -1px;
	margin-bottom: 0;
}

/* Two-column layout: sidebar + grid */
.ca-positions-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}


/* ── Sidebar ─────────────────────────────────────────────── */
.ca-sidebar {
	flex-shrink: 0;
	width: 210px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: sticky;
	top: 40px;
}

/* Search */
.ca-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	padding: 0 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ca-search-wrap:focus-within {
	border-color: #4361EE;
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.ca-search-icon {
	color: #9ca3af;
	flex-shrink: 0;
}

.ca-search-input {
	font-size: 13px;
	color: #111827;
	background: transparent;
	border: 0;
	outline: 0;
	padding: 9px 8px;
	width: 100%;
}

.ca-search-input::placeholder {
	color: #9ca3af;
}

/* Filter group */
.ca-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ca-filter-heading {
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 8px;
	padding-left: 2px;
}

.ca-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.ca-filter-item {
	font-weight: 400;
	font-size: 13.5px;
	line-height: 1.5;
	color: #000000;
	padding: 6px 10px;
	border-radius: 7px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.ca-filter-item:hover {
	background: #eef2ff;
	color: var(--clr-blue);
}

.ca-filter-item.active {
	background: #eef2ff;
	color: var(--clr-blue);
	font-weight: 600;
}


/* ── Job grid ────────────────────────────────────────────── */
.ca-jobs-grid {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-content: start;
}

/* Empty state */
.ca-no-results {
	grid-column: 1 / -1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 64px 0;
	color: #9ca3af;
	font-size: 14px;
}


/* ── Job card ────────────────────────────────────────────── */
.ca-job-card {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	padding: 22px 20px 20px;
	display: flex;
	flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ca-job-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

/* Department badge */
.ca-job-dept-badge {
	display: inline-block;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #4361EE;
	background: #eef2ff;
	border-radius: 5px;
	padding: 3px 8px;
	margin-bottom: 10px;
	align-self: flex-start;
}

.ca-badge--eng {
	color: #0369a1;
	background: #e0f2fe;
}

.ca-badge--mkt {
	color: #7c3aed;
	background: #ede9fe;
}

.ca-badge--cs {
	color: #047857;
	background: #d1fae5;
}

.ca-badge--prod {
	color: #b45309;
	background: #fef3c7;
}

.ca-badge--fin {
	color: #374151;
	background: #f3f4f6;
}

/* Title */
.ca-job-title {
	margin-bottom: 12px;
	flex: 1;
}

/* Tags row */
.ca-job-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.ca-job-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
	font-size: 11px;
	border-radius: 999px;
	padding: 3px 9px;
}

.ca-tag-loc {
	color: #374151;
	background: #f1f5f9;
	border: 1px solid rgba(15, 23, 42, 0.07);
}

.ca-tag-remote {
	color: #0369a1;
	background: #e0f2fe;
}

.ca-tag-fulltime {
	color: #047857;
	background: #d1fae5;
}

.ca-tag-hybrid {
	color: #7c3aed;
	background: #ede9fe;
}

.ca-tag-onsite {
	color: #b45309;
	background: #fef3c7;
}

/* Link */
.ca-job-link {
	font-weight: 600;
	font-size: 12.5px;
	color: var(--clr-blue);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ca-job-link:hover {
	color: #0E1632;
	gap: 8px;
}


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1199.98px) {
	.ca-jobs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ca-positions-title {
		font-size: 34px;
	}
}

@media (max-width: 991.98px) {
	.ca-positions-section {}

	.ca-positions-layout {
		flex-direction: column;
		gap: 32px;
	}

	.ca-sidebar {
		width: 100%;
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px;
	}

	.ca-search-wrap {
		min-width: 240px;
		flex: 1;
	}

	.ca-filter-group {
		flex: 1;
		min-width: 180px;
	}

	.ca-jobs-grid {
		grid-template-columns: repeat(2, 1fr);
		width: 100%;
	}
}

@media (max-width: 767.98px) {
	.ca-positions-section {}

	.ca-positions-title {
		font-size: 28px;
	}

	.ca-positions-header {
		margin-bottom: 36px;
	}

	.ca-jobs-grid {
		grid-template-columns: 1fr;
	}
}