/* ============================================================
   Job Openings — modern careers board
   ============================================================ */

.jo-board {
	--jo-accent: #6d5efc;
	--jo-accent-2: #00d4c8;
	--jo-cols: 3;
	--jo-radius: 20px;
	--jo-bg: #f6f7fb;
	--jo-card: #ffffff;
	--jo-card-border: rgba(17, 17, 40, 0.08);
	--jo-text: #14152b;
	--jo-muted: #6b6f86;
	--jo-shadow: 0 18px 50px -22px rgba(20, 21, 43, 0.35);

	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	background: var(--jo-bg);
	color: var(--jo-text);
	border-radius: 28px;
	padding: clamp(28px, 5vw, 68px) clamp(16px, 4vw, 56px);
	font-family: inherit;
	isolation: isolate;
}

.jo-board.jo-theme-dark {
	--jo-bg: #0b0c1a;
	--jo-card: rgba(255, 255, 255, 0.045);
	--jo-card-border: rgba(255, 255, 255, 0.1);
	--jo-text: #f3f4fb;
	--jo-muted: #a7abc4;
	--jo-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

.jo-board *,
.jo-board *::before,
.jo-board *::after { box-sizing: border-box; }

.jo-inner { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; }

/* ── Layout width ───────────────────────────────────────── */
/* On block themes the `.alignfull` / `.alignwide` classes (added in PHP) make
   the theme break the board out of the constrained column and cancel global
   padding correctly, so no width/margin math is needed here. */
.jo-board.jo-width-full { border-radius: 0; }

/* Fallback for classic (non-block) themes that don't handle align classes:
   only applies where the theme has NOT already set a breakout margin. */
:not(.is-layout-constrained) > .jo-board.jo-width-wide {
	width: min(1500px, 96vw);
	max-width: none;
	margin-left: calc(50% - min(750px, 48vw));
	margin-right: calc(50% - min(750px, 48vw));
}
:not(.is-layout-constrained) > .jo-board.jo-width-full {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ── Header alignment ───────────────────────────────────── */
.jo-align-left .jo-header { text-align: left; margin-left: 0; }
.jo-align-left .jo-filters { justify-content: flex-start; }

/* ── Card style variants ────────────────────────────────── */
.jo-card-solid .jo-card {
	backdrop-filter: none; -webkit-backdrop-filter: none;
	background: var(--jo-card);
}
.jo-card-solid.jo-theme-dark .jo-card { background: #171933; }

.jo-card-outline .jo-card {
	backdrop-filter: none; -webkit-backdrop-filter: none;
	background: transparent;
	box-shadow: none;
	border-width: 1.5px;
}
.jo-card-outline .jo-card:hover { box-shadow: var(--jo-shadow); }

.jo-card-gradient .jo-card {
	background:
		linear-gradient(160deg,
			color-mix(in srgb, var(--jo-accent) 10%, var(--jo-card)),
			color-mix(in srgb, var(--jo-accent-2) 8%, var(--jo-card)));
}

/* ── Disable entrance animation ─────────────────────────── */
.jo-no-anim .jo-card { animation: none !important; }

/* ── Header ─────────────────────────────────────────────── */
.jo-header { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 46px); }

.jo-eyebrow {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	color: var(--jo-accent);
	background: color-mix(in srgb, var(--jo-accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--jo-accent) 26%, transparent);
	margin-bottom: 16px;
}

.jo-title {
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.08;
	font-weight: 800;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
	color: var(--jo-text);
}
/* Heading style: gradient (accent blend) */
.jo-board.jo-title-gradient .jo-title {
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
/* Heading style: solid accent colour */
.jo-board.jo-title-accent .jo-title { color: var(--jo-accent); }

/* Shine — a bright sweep travels across the heading */
/* Auto highlight follows the theme; a custom --jo-shine (set inline) overrides it. */
.jo-board.jo-title-shine { --jo-shine-auto: color-mix(in srgb, var(--jo-accent) 35%, #ffffff); }
.jo-board.jo-theme-dark.jo-title-shine { --jo-shine-auto: #ffffff; }
.jo-board.jo-title-shine .jo-title {
	background: linear-gradient(
		110deg,
		var(--jo-accent) 0%,
		var(--jo-accent-2) 35%,
		var(--jo-shine, var(--jo-shine-auto)) 50%,
		var(--jo-accent-2) 65%,
		var(--jo-accent) 100%);
	background-size: 250% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: jo-shine 3.5s linear infinite;
}
@keyframes jo-shine { to { background-position: -250% center; } }

.jo-subtitle { font-size: 1.02rem; line-height: 1.6; color: var(--jo-muted); margin: 0; }

/* ── Filters ────────────────────────────────────────────── */
.jo-filters {
	display: flex; flex-wrap: wrap; gap: 10px;
	justify-content: center;
	margin: 0 auto clamp(26px, 3.5vw, 40px);
}

.jo-filter {
	display: inline-flex; align-items: center; gap: 8px;
	font: inherit; font-size: 0.9rem; font-weight: 600;
	color: var(--jo-muted);
	background: var(--jo-card);
	border: 1px solid var(--jo-card-border);
	padding: 9px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.jo-filter:hover { transform: translateY(-2px); color: var(--jo-text); }
.jo-filter.is-active {
	color: #fff;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	border-color: transparent;
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--jo-accent) 70%, transparent);
}
.jo-filter-count {
	font-size: 0.75rem;
	padding: 1px 8px; border-radius: 999px;
	background: color-mix(in srgb, currentColor 18%, transparent);
}

/* ── Grid ───────────────────────────────────────────────── */
.jo-grid {
	display: grid;
	grid-template-columns: repeat(var(--jo-cols), minmax(0, 1fr));
	grid-auto-rows: 1fr; /* every row the same height → all cards equal height */
	gap: clamp(16px, 2vw, 26px);
}
.jo-grid .jo-card { height: 100%; }

/* ── Card ───────────────────────────────────────────────── */
.jo-card {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--jo-card);
	border: 1px solid var(--jo-card-border);
	border-radius: var(--jo-radius);
	padding: 26px 24px 22px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: var(--jo-shadow);
	overflow: hidden;
	transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
	animation: jo-rise .6s both;
}
@keyframes jo-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.jo-card:nth-child(2) { animation-delay: .06s; }
.jo-card:nth-child(3) { animation-delay: .12s; }
.jo-card:nth-child(4) { animation-delay: .18s; }
.jo-card:nth-child(5) { animation-delay: .24s; }
.jo-card:nth-child(6) { animation-delay: .3s; }

.jo-card:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--jo-accent) 45%, transparent);
}

.jo-card-glow {
	position: absolute; inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(130deg, var(--jo-accent), var(--jo-accent-2));
	opacity: 0; transition: opacity .35s;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	pointer-events: none;
}
.jo-card:hover .jo-card-glow { opacity: .9; }

.jo-card.is-featured {
	border-color: color-mix(in srgb, var(--jo-accent) 40%, transparent);
	box-shadow: var(--jo-shadow), 0 0 0 1px color-mix(in srgb, var(--jo-accent) 30%, transparent),
		0 20px 60px -24px color-mix(in srgb, var(--jo-accent) 60%, transparent);
}

.jo-card-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.jo-chip {
	font-size: 0.72rem; font-weight: 700; letter-spacing: .02em;
	padding: 4px 11px; border-radius: 999px;
	background: color-mix(in srgb, var(--jo-muted) 12%, transparent);
	color: var(--jo-muted);
}
.jo-chip-featured {
	color: #fff;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
}

.jo-card-title { font-size: 1.24rem; font-weight: 750; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.01em; color: var(--jo-text); }
.jo-card-excerpt {
	font-size: 0.92rem; line-height: 1.55; color: var(--jo-muted); margin: 0 0 16px;
	/* Max 2 lines (longer text truncates). No reserved height, so the gap to the
	   meta list is the same in every card; equal card height comes from the grid. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* !important defeats themes that force large top margins on <ul>/<li>. */
.jo-card .jo-meta-list { list-style: none; margin: 4px 0 20px !important; padding: 0 !important; display: grid; gap: 9px; }
.jo-card .jo-meta-list li { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; font-size: 0.88rem; color: var(--jo-muted); }
.jo-ic { display: inline-flex; flex: 0 0 auto; color: var(--jo-accent); }
.jo-ic svg { width: 17px; height: 17px; }

.jo-card-actions { margin-top: auto; display: flex; gap: 10px; align-items: stretch; }
/* Both buttons share the row equally so "Apply" isn't disproportionately wide.
   min-width:0 defeats the default min-content floor so widths are truly equal. */
.jo-card-actions .jo-btn { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; }

.jo-btn {
	display: inline-flex; align-items: center; gap: 8px;
	font: inherit; font-size: 0.9rem; font-weight: 650;
	padding: 10px 18px; border-radius: 12px;
	cursor: pointer; text-decoration: none;
	border: 1px solid transparent;
	transition: transform .2s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.jo-btn-ic { display: inline-flex; transition: transform .25s; }
.jo-btn-ic svg { width: 16px; height: 16px; }
.jo-btn-primary {
	color: #fff;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--jo-accent) 75%, transparent);
	justify-content: center;
}
.jo-btn-primary:hover { transform: translateY(-2px); }
.jo-btn-primary:hover .jo-btn-ic { transform: translateX(4px); }
.jo-btn-ghost {
	color: var(--jo-text);
	background: transparent;
	border-color: var(--jo-card-border);
}
.jo-btn-ghost:hover { border-color: var(--jo-accent); color: var(--jo-accent); }

/* ── Pagination ─────────────────────────────────────────── */
.jo-pagination { display: flex; justify-content: center; gap: 10px; margin-top: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.jo-pagination[hidden] { display: none; }
.jo-page {
	min-width: 46px; height: 46px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	font: inherit; font-size: 0.95rem; font-weight: 700;
	color: var(--jo-text);
	background: var(--jo-card);
	border: 1px solid var(--jo-card-border);
	border-radius: 12px;
	cursor: pointer;
	box-shadow: var(--jo-shadow);
	transition: transform .2s, color .25s, background .25s, border-color .25s;
}
.jo-page:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--jo-accent); color: var(--jo-accent); }
.jo-page.is-active {
	color: #fff;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	border-color: transparent;
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--jo-accent) 70%, transparent);
}
.jo-page:disabled { opacity: .4; cursor: default; box-shadow: none; }

/* ── Empty / no-result ──────────────────────────────────── */
.jo-empty, .jo-noresult {
	text-align: center; padding: 60px 20px; color: var(--jo-muted);
	display: flex; flex-direction: column; align-items: center; gap: 14px;
}
/* The display:flex above beats the browser's [hidden] rule, so restore it. */
.jo-empty[hidden], .jo-noresult[hidden] { display: none; }
.jo-empty-ic svg, .jo-noresult-ic svg { width: 46px; height: 46px; opacity: .6; color: var(--jo-accent); }
.jo-noresult p, .jo-empty p { margin: 0; font-size: 1rem; }

/* ── Modal ──────────────────────────────────────────────── */
/* Self-contained vars so the modal renders correctly after JS moves it to <body>. */
.jo-modal {
	--jo-accent: #6d5efc; --jo-accent-2: #00d4c8;
	--jo-card: #ffffff; --jo-text: #14152b; --jo-muted: #6b6f86; --jo-card-border: rgba(17, 17, 40, 0.08); --jo-radius: 20px;
	box-sizing: border-box;
	position: fixed; inset: 0; z-index: 2147483000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
	font-family: inherit;
}
.jo-modal.jo-theme-dark { --jo-card: #14162b; --jo-text: #f3f4fb; --jo-muted: #a7abc4; --jo-card-border: rgba(255, 255, 255, 0.12); }
.jo-modal *, .jo-modal *::before, .jo-modal *::after { box-sizing: border-box; }
.jo-modal[hidden] { display: none; }
.jo-modal-overlay { position: absolute; inset: 0; background: rgba(9, 10, 24, 0.55); backdrop-filter: blur(4px); animation: jo-fade .3s; }
@keyframes jo-fade { from { opacity: 0; } to { opacity: 1; } }
.jo-modal .jo-modal-panel {
	position: relative;
	box-sizing: border-box;
	width: min(680px, 100%); max-width: 680px; max-height: 88vh; overflow-y: auto;
	margin: 0;
	background: var(--jo-card);
	color: var(--jo-text);
	border: 1px solid var(--jo-card-border);
	border-radius: 22px;
	padding: 34px clamp(22px, 4vw, 40px);
	box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
	animation: jo-pop .35s cubic-bezier(.2,.8,.3,1);
}
/* Apply-form modal stays a comfortable reading width. */
.jo-apply-modal .jo-modal-panel { width: min(520px, 100%); max-width: 520px; }
.jo-theme-dark .jo-modal-panel { background: #14162b; }
@keyframes jo-pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.jo-modal-close {
	position: absolute; top: 16px; right: 16px;
	width: 38px; height: 38px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--jo-muted) 12%, transparent);
	border: none; cursor: pointer; color: var(--jo-text);
	transition: background .25s, transform .25s;
}
.jo-modal-close:hover { background: color-mix(in srgb, var(--jo-accent) 25%, transparent); transform: rotate(90deg); }
.jo-modal-close svg { width: 18px; height: 18px; }
.jo-modal-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.02em; padding-right: 30px; color: var(--jo-text); }
.jo-modal-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.jo-modal-meta li {
	font-size: 0.82rem; font-weight: 600;
	padding: 6px 13px; border-radius: 999px;
	background: color-mix(in srgb, var(--jo-accent) 10%, transparent);
	color: color-mix(in srgb, var(--jo-accent) 85%, var(--jo-text));
}
.jo-modal-body { font-size: 0.96rem; line-height: 1.7; color: var(--jo-text); }
.jo-modal-body p { margin: 0 0 1em; }
.jo-modal-body ul, .jo-modal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.jo-modal-body li { margin-bottom: .4em; }
.jo-modal-foot { margin-top: 26px; }
.jo-modal-foot .jo-btn-primary { display: inline-flex; flex: none; }

/* ── Apply form (scoped high so themes can't override the inputs) ── */
.jo-apply-modal .jo-apply-for { font-weight: 400; font-size: 0.7em; opacity: .65; }
.jo-apply-modal .jo-apply-form { margin-top: 18px; }
.jo-apply-modal .jo-apply-form .jo-field { display: block; margin: 0 0 14px; max-width: 100%; }
.jo-apply-modal .jo-apply-form .jo-field > span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--jo-text); }
.jo-apply-modal .jo-apply-form .jo-field input,
.jo-apply-modal .jo-apply-form .jo-field textarea {
	box-sizing: border-box;
	width: 100%; max-width: 100%; margin: 0;
	padding: 11px 13px; font: inherit; line-height: 1.4;
	color: var(--jo-text);
	background: color-mix(in srgb, var(--jo-muted) 8%, transparent);
	border: 1px solid var(--jo-card-border);
	border-radius: 11px;
}
.jo-apply-modal .jo-apply-form .jo-field textarea { min-height: 90px; resize: vertical; }
.jo-apply-modal .jo-apply-form .jo-field input:focus,
.jo-apply-modal .jo-apply-form .jo-field textarea:focus {
	outline: none; border-color: var(--jo-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--jo-accent) 22%, transparent);
}
.jo-apply-modal .jo-apply-form .jo-field input[type="file"] { padding: 9px 12px; cursor: pointer; }
.jo-apply-modal .jo-apply-form .jo-apply-submit { width: 100%; justify-content: center; margin-top: 4px; }
.jo-apply-status { padding: 11px 13px; border-radius: 11px; font-size: 0.9rem; margin-bottom: 14px; }
.jo-apply-status.is-pending { background: color-mix(in srgb, var(--jo-muted) 14%, transparent); }
.jo-apply-status.is-ok { background: color-mix(in srgb, #16a34a 16%, transparent); color: #15803d; }
.jo-apply-status.is-error { background: color-mix(in srgb, #dc2626 14%, transparent); color: #dc2626; }
.jo-theme-dark .jo-apply-status.is-ok { color: #6ee7a8; }
.jo-theme-dark .jo-apply-status.is-error { color: #fca5a5; }

/* ============================================================
   Animated background patterns
   ============================================================ */
.jo-pattern { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

/* Aurora — drifting blobs */
.jo-pattern-aurora .jo-blob {
	position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
	border-radius: 50%; filter: blur(70px); opacity: .55;
	mix-blend-mode: screen;
}
.jo-theme-light .jo-pattern-aurora .jo-blob { mix-blend-mode: multiply; opacity: .4; }
.jo-blob-1 { top: -12%; left: -8%; background: var(--jo-accent); animation: jo-float1 18s ease-in-out infinite; }
.jo-blob-2 { bottom: -18%; right: -6%; background: var(--jo-accent-2); animation: jo-float2 22s ease-in-out infinite; }
.jo-blob-3 { top: 30%; left: 40%; background: color-mix(in srgb, var(--jo-accent) 50%, var(--jo-accent-2)); animation: jo-float3 26s ease-in-out infinite; }
@keyframes jo-float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%, 12%) scale(1.15); } }
@keyframes jo-float2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(-10%, -8%) scale(.9); } }
@keyframes jo-float3 { 0%,100% { transform: translate(-50%,0) scale(1); } 50% { transform: translate(-40%, -14%) scale(1.2); } }

/* Mesh — animated gradient */
.jo-pattern-mesh {
	background:
		radial-gradient(45% 45% at 15% 20%, color-mix(in srgb, var(--jo-accent) 45%, transparent), transparent 70%),
		radial-gradient(40% 40% at 85% 15%, color-mix(in srgb, var(--jo-accent-2) 45%, transparent), transparent 70%),
		radial-gradient(50% 50% at 75% 90%, color-mix(in srgb, var(--jo-accent) 35%, transparent), transparent 70%);
	filter: blur(30px);
	opacity: .5;
	animation: jo-mesh 7s ease-in-out infinite;
	background-size: 200% 200%;
}
.jo-theme-light .jo-pattern-mesh { opacity: .32; }
@keyframes jo-mesh { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }

/* Dots — floating dot grid */
.jo-pattern-dots {
	background-image: radial-gradient(color-mix(in srgb, var(--jo-accent) 55%, transparent) 1.5px, transparent 1.6px);
	background-size: 26px 26px;
	opacity: .5;
	animation: jo-dots 3.5s linear infinite;
}
.jo-theme-light .jo-pattern-dots { opacity: .28; }
@keyframes jo-dots { from { background-position: 0 0; } to { background-position: 26px 26px; } }

/* Grid — moving lines */
.jo-pattern-grid {
	background-image:
		linear-gradient(color-mix(in srgb, var(--jo-accent) 40%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--jo-accent) 40%, transparent) 1px, transparent 1px);
	background-size: 46px 46px;
	opacity: .28;
	mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
	animation: jo-grid 4.5s linear infinite;
}
.jo-theme-light .jo-pattern-grid { opacity: .18; }
@keyframes jo-grid { from { background-position: 0 0; } to { background-position: 46px 46px; } }

/* Waves */
.jo-pattern-waves .jo-wave {
	position: absolute; left: -50%; width: 200%; height: 60%;
	border-radius: 43%;
	opacity: .28;
}
.jo-theme-light .jo-pattern-waves .jo-wave { opacity: .16; }
.jo-wave-1 { bottom: -30%; background: var(--jo-accent); animation: jo-spin 26s linear infinite; }
.jo-wave-2 { bottom: -34%; background: var(--jo-accent-2); animation: jo-spin 34s linear infinite reverse; }
@keyframes jo-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Rays — rotating conic spotlight */
.jo-pattern-rays::before {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 160vmax; height: 160vmax; transform: translate(-50%, -50%);
	background: conic-gradient(from 0deg,
		transparent 0deg, color-mix(in srgb, var(--jo-accent) 40%, transparent) 12deg, transparent 24deg,
		transparent 36deg, color-mix(in srgb, var(--jo-accent-2) 40%, transparent) 48deg, transparent 60deg);
	opacity: .4; animation: jo-spin 40s linear infinite;
}
.jo-theme-light .jo-pattern-rays::before { opacity: .18; }

/* Glow — soft pulsing radial that drifts */
.jo-pattern-glow {
	background:
		radial-gradient(35% 35% at 30% 30%, color-mix(in srgb, var(--jo-accent) 60%, transparent), transparent 70%),
		radial-gradient(35% 35% at 70% 65%, color-mix(in srgb, var(--jo-accent-2) 60%, transparent), transparent 70%);
	filter: blur(40px); opacity: .5; animation: jo-glow 9s ease-in-out infinite;
}
.jo-theme-light .jo-pattern-glow { opacity: .3; }
@keyframes jo-glow { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.25); opacity: .8; } }

/* Stripes — moving diagonal bands */
.jo-pattern-stripes {
	background: repeating-linear-gradient(45deg,
		color-mix(in srgb, var(--jo-accent) 22%, transparent) 0 14px,
		transparent 14px 42px);
	opacity: .5; animation: jo-stripes 6s linear infinite;
}
.jo-theme-light .jo-pattern-stripes { opacity: .22; }
@keyframes jo-stripes { from { background-position: 0 0; } to { background-position: 60px 60px; } }

/* Bubbles — soft orbs floating upward (tiled so background-position can travel) */
.jo-pattern-bubbles {
	background-image:
		radial-gradient(circle at 25% 75%, color-mix(in srgb, var(--jo-accent) 55%, transparent) 0 9px, transparent 11px),
		radial-gradient(circle at 65% 40%, color-mix(in srgb, var(--jo-accent-2) 55%, transparent) 0 6px, transparent 8px),
		radial-gradient(circle at 85% 60%, color-mix(in srgb, var(--jo-accent) 45%, transparent) 0 12px, transparent 14px);
	background-size: 220px 220px, 160px 160px, 300px 300px;
	background-repeat: repeat;
	opacity: .5; animation: jo-bubbles 16s linear infinite;
}
.jo-theme-light .jo-pattern-bubbles { opacity: .3; }
@keyframes jo-bubbles {
	from { background-position: 0 0, 0 0, 0 0; }
	to   { background-position: 0 -220px, 0 -160px, 0 -300px; }
}

/* Sparkle — twinkling star field */
.jo-pattern-sparkle {
	background-image:
		radial-gradient(color-mix(in srgb, var(--jo-accent) 70%, transparent) 1px, transparent 2px),
		radial-gradient(color-mix(in srgb, var(--jo-accent-2) 70%, transparent) 1px, transparent 2px);
	background-size: 70px 70px, 110px 110px;
	background-position: 0 0, 35px 55px;
	opacity: .6; animation: jo-sparkle 3s ease-in-out infinite;
}
.jo-theme-light .jo-pattern-sparkle { opacity: .35; }
@keyframes jo-sparkle { 0%,100% { opacity: .25; } 50% { opacity: .7; } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) { .jo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
	.jo-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } /* stacked cards = natural height */
	.jo-grid .jo-card { height: auto; }
	.jo-card-actions { flex-direction: column; align-items: stretch; }
	.jo-btn-ghost { order: 2; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.jo-board *, .jo-board *::before, .jo-board *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ============================================================
   Floating job widget
   ============================================================ */
.jo-fw {
	--jo-accent: #6d5efc; --jo-accent-2: #00d4c8; --jo-radius: 18px;
	--jo-fw-bg: #ffffff; --jo-fw-text: #14152b; --jo-fw-muted: #6b6f86; --jo-fw-border: rgba(17,17,40,.08);
	box-sizing: border-box;
	position: fixed; z-index: 2147482000;
	width: 300px; max-width: calc(100vw - 32px);
	background: var(--jo-fw-bg); color: var(--jo-fw-text);
	border: 1px solid var(--jo-fw-border);
	border-radius: var(--jo-radius);
	box-shadow: 0 24px 60px -20px rgba(16,18,40,.4);
	overflow: hidden; font-family: inherit;
	animation: jo-fw-in .5s cubic-bezier(.2,.8,.3,1) both;
}
.jo-fw.jo-theme-dark { --jo-fw-bg:#14162b; --jo-fw-text:#f3f4fb; --jo-fw-muted:#a7abc4; --jo-fw-border:rgba(255,255,255,.12); }
.jo-fw[hidden] { display: none; }
.jo-fw *, .jo-fw *::before, .jo-fw *::after { box-sizing: border-box; }
.jo-fw-bottom-left  { left: 20px;  bottom: 20px; }
.jo-fw-bottom-right { right: 20px; bottom: 20px; }
.jo-fw-top-left     { left: 20px;  top: 20px; }
.jo-fw-top-right    { right: 20px; top: 20px; }
@keyframes jo-fw-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

.jo-fw-head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 11px 14px;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	color: #fff;
}
.jo-fw-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jo-fw-close { width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.2); color: #fff; transition: background .2s, transform .2s; }
.jo-fw-close:hover { background: rgba(255,255,255,.35); transform: rotate(90deg); }
.jo-fw-close svg { width: 15px; height: 15px; }

.jo-fw-slides { position: relative; }
.jo-fw-slide { display: none; padding: 16px 16px 6px; }
.jo-fw-slide.is-active { display: block; animation: jo-fw-slide .4s ease both; }
@keyframes jo-fw-slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.jo-fw-tag {
	display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
	padding: 3px 9px; border-radius: 999px; margin-bottom: 8px;
	color: var(--jo-accent); background: color-mix(in srgb, var(--jo-accent) 12%, transparent);
}
.jo-fw-title { font-size: 1rem; font-weight: 750; line-height: 1.3; margin: 0 0 6px; color: var(--jo-fw-text); }
.jo-fw-sub { font-size: .8rem; color: var(--jo-fw-muted); margin: 0 0 12px; line-height: 1.45; }
.jo-fw-apply {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .82rem; font-weight: 650; text-decoration: none; color: #fff;
	padding: 8px 15px; border-radius: 10px;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--jo-accent) 70%, transparent);
	transition: transform .2s;
}
.jo-fw-apply:hover { transform: translateY(-2px); }

.jo-fw-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px 12px; }
.jo-fw-prev, .jo-fw-next {
	width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
	border: 1px solid var(--jo-fw-border); background: transparent; color: var(--jo-fw-text);
	font-size: 1.05rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
	transition: border-color .2s, color .2s, background .2s;
}
.jo-fw-prev:hover, .jo-fw-next:hover { border-color: var(--jo-accent); color: var(--jo-accent); }
.jo-fw-count { font-size: .74rem; font-weight: 600; color: var(--jo-fw-muted); }

@media (max-width: 480px) { .jo-fw { width: 260px; } }
@media (prefers-reduced-motion: reduce) { .jo-fw, .jo-fw-slide.is-active { animation: none !important; } }

/* Floating widget — minimized "reopen" launcher */
.jo-fw-reopen {
	--jo-accent: #6d5efc; --jo-accent-2: #00d4c8;
	box-sizing: border-box;
	position: fixed; z-index: 2147482000;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 16px; border: none; cursor: pointer;
	font: inherit; font-size: .82rem; font-weight: 700; color: #fff;
	background: linear-gradient(120deg, var(--jo-accent), var(--jo-accent-2));
	border-radius: 999px;
	box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--jo-accent) 75%, transparent);
	animation: jo-fw-in .4s cubic-bezier(.2,.8,.3,1) both;
	transition: transform .2s;
}
.jo-fw-reopen[hidden] { display: none; }
.jo-fw-reopen:hover { transform: translateY(-2px); }
.jo-fw-reopen svg { width: 17px; height: 17px; }
.jo-fw-reopen span { white-space: nowrap; }
.jo-fw-reopen.jo-fw-bottom-left  { left: 20px;  bottom: 20px; }
.jo-fw-reopen.jo-fw-bottom-right { right: 20px; bottom: 20px; }
.jo-fw-reopen.jo-fw-top-left     { left: 20px;  top: 20px; }
.jo-fw-reopen.jo-fw-top-right    { right: 20px; top: 20px; }

/* ============================================================
   Theme-proofing — some themes force button background / size
   with !important (brand buttons). Keep our small control buttons
   looking right regardless.
   ============================================================ */
.jo-modal .jo-modal-close,
.jo-fw .jo-fw-close,
.jo-fw .jo-fw-prev,
.jo-fw .jo-fw-next {
	padding: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
	line-height: 1 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.jo-modal .jo-modal-close {
	width: 38px !important; height: 38px !important;
	border: none !important; border-radius: 50% !important;
	background: color-mix(in srgb, var(--jo-muted) 16%, transparent) !important;
	color: var(--jo-text) !important;
}
.jo-modal .jo-modal-close:hover { background: color-mix(in srgb, var(--jo-accent) 28%, transparent) !important; }
.jo-modal .jo-modal-close svg { width: 18px !important; height: 18px !important; }

.jo-fw .jo-fw-close {
	width: 26px !important; height: 26px !important;
	border: none !important; border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.24) !important;
	color: #ffffff !important;
}
.jo-fw .jo-fw-close:hover { background: rgba(255, 255, 255, 0.4) !important; }
.jo-fw .jo-fw-close svg { width: 15px !important; height: 15px !important; }

.jo-fw .jo-fw-prev, .jo-fw .jo-fw-next {
	width: 30px !important; height: 30px !important; border-radius: 8px !important;
	background: transparent !important; color: var(--jo-fw-text) !important;
	border: 1px solid var(--jo-fw-border) !important;
}
.jo-fw .jo-fw-prev:hover, .jo-fw .jo-fw-next:hover { border-color: var(--jo-accent) !important; color: var(--jo-accent) !important; }
