/* JobStart – frontend styles. All rules are scoped to .cj-* so theme pages stay untouched. */

:root {
	--cj-navy: #0b1b3a;
	--cj-navy-2: #13244a;
	--cj-blue: #2563eb;
	--cj-violet: #7c3aed;
	--cj-lime: #a3e635;
	--cj-ink: #0f172a;
	--cj-muted: #5b6478;
	--cj-line: #e3e8f2;
	--cj-bg: #ffffff;
	--cj-tint: #f4f7fd;
	--cj-radius: 18px;
	--cj-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
	--cj-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Logo (also used inside the theme header) ---------- */
.cj-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.cj-logo svg { flex: none; display: block; }
.cj-logo__txt { display: inline-flex; flex-direction: column; gap: 4px; }
.cj-logo__word { font: 800 23px/1 var(--cj-font); letter-spacing: -.03em; }
.cj-logo__sub { font: 700 10px/1 var(--cj-font); letter-spacing: .14em; text-transform: uppercase; }
.cj-byline { font-size: 13px; opacity: .85; }
.cj-byline a { font-weight: 700; text-decoration: none; }
.cj-footer__brand .cj-byline { display: block; margin-top: 10px; }
.cj-logo-link { text-decoration: none !important; display: inline-flex; }

/* ---------- Base ---------- */
body.cj-page { margin: 0; background: var(--cj-bg); color: var(--cj-ink); font: 400 16px/1.6 var(--cj-font); -webkit-font-smoothing: antialiased; }
.cj-page *, .cj-page *::before, .cj-page *::after { box-sizing: border-box; }
.cj-page h1, .cj-page h2, .cj-page h3 { font-family: var(--cj-font); color: inherit; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; }
.cj-page p { margin: 0 0 1em; }
.cj-page a { color: inherit; }
.cj-page img, .cj-page svg { max-width: 100%; }
.cj-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cj-ico { width: 18px; height: 18px; flex: none; }
.cj-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.cj-skip:focus { left: 8px; }
.cj-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.cj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; border: 0; font: 700 15px/1 var(--cj-font); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.cj-btn:hover { transform: translateY(-1px); }
.cj-btn--primary { background: linear-gradient(135deg, var(--cj-blue), var(--cj-violet)); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.cj-btn--light { background: #fff; color: var(--cj-navy) !important; }
.cj-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .25); }
.cj-btn--ghost-dark { background: transparent; color: var(--cj-navy) !important; border: 1px solid var(--cj-line); }
.cj-btn--sm { padding: 10px 16px; font-size: 14px; }
.cj-btn--block { width: 100%; margin-top: 10px; }

/* ---------- Header ---------- */
.cj-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--cj-line); }
.cj-header--overlay { position: absolute; inset: 0 0 auto 0; background: transparent; border-color: rgba(255, 255, 255, .1); }
.cj-header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.cj-nav { display: flex; align-items: center; gap: 28px; }
.cj-nav a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--cj-ink); opacity: .85; }
.cj-nav a:hover { opacity: 1; }
.cj-header--overlay .cj-nav a { color: #fff; }
.cj-header:not(.cj-header--overlay) .cj-btn--ghost { background: var(--cj-tint); color: var(--cj-navy) !important; border-color: var(--cj-line); }
.cj-nav-toggle, .cj-burger { display: none; }

/* ---------- Hero ---------- */
.cj-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 220px;
	background: radial-gradient(1200px 500px at 85% -10%, rgba(124, 58, 237, .55), transparent 60%),
	            radial-gradient(900px 500px at 0% 20%, rgba(37, 99, 235, .55), transparent 60%),
	            linear-gradient(180deg, #0b1b3a 0%, #13244a 100%); }
.cj-hero__sky { position: absolute; inset: auto 0 0 0; height: 300px; pointer-events: none; }
.cj-hero__sky svg { width: 100%; height: 100%; display: block; }
.cj-hero__in { position: relative; text-align: center; }
.cj-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; }
.cj-eyebrow .cj-ico { color: var(--cj-lime); }
.cj-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin: 22px 0 18px; }
.cj-hero h1 span { background: linear-gradient(90deg, #93c5fd, #c4b5fd 50%, var(--cj-lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cj-hero__lead { max-width: 640px; margin: 0 auto 34px !important; font-size: 19px; color: rgba(255, 255, 255, .78); }

/* ---------- Search ---------- */
.cj-search { display: flex; gap: 8px; max-width: 820px; margin: 0 auto; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.cj-search__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--cj-muted); border-radius: 12px; min-width: 0; }
.cj-search__field + .cj-search__field { border-left: 1px solid var(--cj-line); border-radius: 0; }
.cj-search input, .cj-search select { width: 100%; border: 0; outline: 0; background: transparent; font: 500 16px var(--cj-font); color: var(--cj-ink); padding: 14px 0; min-width: 0; appearance: none; }
.cj-search .cj-btn { padding: 0 28px; min-height: 52px; }
.cj-search--bar { max-width: none; margin: 0 0 28px; box-shadow: var(--cj-shadow); border: 1px solid var(--cj-line); }
.cj-quick { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); align-items: center; }
.cj-quick a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.cj-quick a:hover { background: rgba(255, 255, 255, .2); }
.cj-stats { display: flex; justify-content: center; gap: 56px; margin: 46px 0 0; }
.cj-stats div { display: flex; flex-direction: column-reverse; }
.cj-stats dt { font-size: 14px; color: rgba(255, 255, 255, .65); }
.cj-stats dd { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Sections ---------- */
.cj-section { padding: 96px 0; }
.cj-section--tight { padding: 48px 0 96px; }
.cj-section--tint { background: var(--cj-tint); }
.cj-section--dark { background: var(--cj-navy); color: #fff; }
.cj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.cj-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cj-head p { color: var(--cj-muted); max-width: 620px; margin: 0; }
.cj-head--center { justify-content: center; text-align: center; }
.cj-head--center p { margin: 0 auto; }
.cj-section--dark .cj-head p { color: rgba(255, 255, 255, .7); }
.cj-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cj-blue); margin-bottom: 10px; }
.cj-section--dark .cj-kicker { color: var(--cj-lime); }
.cj-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cj-blue) !important; text-decoration: none; white-space: nowrap; }

/* ---------- City cards ---------- */
.cj-cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cj-city { position: relative; display: block; border-radius: var(--cj-radius); overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: #fff !important; box-shadow: var(--cj-shadow); isolation: isolate; }
.cj-city--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cj-city__art { position: absolute; inset: 0; z-index: -1; transition: transform .5s; }
.cj-city__art svg { width: 100%; height: 100%; display: block; }
.cj-city::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, transparent, rgba(5, 10, 30, .78)); z-index: -1; }
.cj-city:hover .cj-city__art { transform: scale(1.05); }
.cj-city__txt { position: absolute; left: 20px; bottom: 18px; right: 64px; display: flex; flex-direction: column; }
.cj-city__txt strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cj-city--big .cj-city__txt strong { font-size: 36px; }
.cj-city__txt span { font-size: 14px; opacity: .85; }
.cj-city__go { position: absolute; right: 18px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); transition: background .2s; }
.cj-city:hover .cj-city__go { background: #fff; color: var(--cj-navy); }

/* ---------- Job cards ---------- */
.cj-jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cj-job { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-radius); text-decoration: none; color: var(--cj-ink) !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cj-job:hover { border-color: #c7d2fe; box-shadow: var(--cj-shadow); transform: translateY(-2px); }
.cj-job__icon, .cj-cat__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.cj-job__icon .cj-ico, .cj-cat__icon .cj-ico { width: 24px; height: 24px; }
.cj-job__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cj-job__title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.cj-job__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--cj-muted); }
.cj-job__meta span { display: inline-flex; align-items: center; gap: 5px; }
.cj-job__meta .cj-ico { width: 15px; height: 15px; }
.cj-pill { flex: none; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #ecfccb; color: #3f6212; }
.cj-tone-0 { background: #dbeafe; color: #1d4ed8; }
.cj-tone-1 { background: #ede9fe; color: #6d28d9; }
.cj-tone-2 { background: #dcfce7; color: #15803d; }
.cj-tone-3 { background: #fee2e2; color: #b91c1c; }
.cj-tone-4 { background: #fef3c7; color: #b45309; }

/* ---------- Categories & fields ---------- */
.cj-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.cj-cat { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--cj-radius); border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-ink) !important; transition: box-shadow .2s, transform .2s; }
.cj-cat:hover { box-shadow: var(--cj-shadow); transform: translateY(-2px); }
.cj-cat .cj-cat__icon { margin-bottom: 12px; }
.cj-cat strong { font-size: 18px; }
.cj-cat span:last-child { color: var(--cj-muted); font-size: 14px; }
.cj-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cj-field { padding: 28px; border-radius: var(--cj-radius); background: var(--cj-tint); }
.cj-field h3 { font-size: 22px; margin-top: 18px; }
.cj-field p { color: var(--cj-muted); }
.cj-field ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cj-field li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cj-field li .cj-ico { color: var(--cj-blue); }

/* ---------- Steps ---------- */
.cj-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.cj-steps li { padding: 32px; border-radius: var(--cj-radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.cj-steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--cj-blue), var(--cj-violet)); font-weight: 800; margin-bottom: 18px; }
.cj-steps h3 { font-size: 21px; }
.cj-steps p { color: rgba(255, 255, 255, .7); margin: 0; }

/* ---------- Testimonials ---------- */
.cj-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.cj-split h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cj-split > div:first-child p { color: var(--cj-muted); margin-bottom: 28px; }
.cj-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cj-quote { margin: 0; padding: 28px; border-radius: var(--cj-radius); border: 1px solid var(--cj-line); background: #fff; box-shadow: var(--cj-shadow); display: flex; flex-direction: column; }
.cj-quote:nth-child(2) { transform: translateY(32px); }
.cj-stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 14px; }
.cj-stars .cj-ico { fill: currentColor; width: 16px; height: 16px; }
.cj-quote blockquote { margin: 0 0 22px; font-size: 16px; line-height: 1.65; flex: 1; }
.cj-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--cj-muted); }
.cj-quote figcaption strong { display: block; color: var(--cj-ink); font-size: 15px; }
.cj-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }

/* ---------- FAQ ---------- */
.cj-faq-wrap { max-width: 860px; }
.cj-faq { display: grid; gap: 12px; }
.cj-faq details { background: #fff; border: 1px solid var(--cj-line); border-radius: 14px; padding: 0 22px; }
.cj-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.cj-faq summary::-webkit-details-marker { display: none; }
.cj-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--cj-blue); transition: transform .2s; }
.cj-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cj-faq details p { color: var(--cj-muted); padding-bottom: 20px; margin: 0; }
.cj-faq a { color: var(--cj-blue); }

/* ---------- CTA ---------- */
.cj-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px; border-radius: 28px; color: #fff;
	background: radial-gradient(600px 300px at 100% 0, rgba(163, 230, 53, .25), transparent 60%), linear-gradient(135deg, var(--cj-blue), var(--cj-violet)); }
.cj-cta h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.cj-cta p { margin: 0; opacity: .85; font-size: 18px; }

/* ---------- Footer ---------- */
.cj-footer { background: var(--cj-navy); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: 15px; }
.cj-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.cj-footer__brand p { margin-top: 18px; max-width: 320px; }
.cj-footer h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.cj-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cj-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.cj-footer a:hover { color: #fff; }
.cj-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.cj-footer__bottom a { color: #fff; }

/* ---------- Listing / single ---------- */
.cj-banner { position: relative; overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end; }
.cj-banner__art { position: absolute; inset: 0; }
.cj-banner__art svg { width: 100%; height: 100%; display: block; }
.cj-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 35, .82), rgba(5, 12, 35, .25)); }
.cj-banner__in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 44px; }
.cj-banner h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; max-width: 820px; }
.cj-banner p { margin: 0; font-size: 18px; opacity: .85; }
.cj-crumbs { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.cj-crumbs a { color: #fff; }
.cj-jobs--list { grid-template-columns: 1fr; }
.cj-pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.cj-pager .page-numbers { padding: 10px 15px; border-radius: 10px; border: 1px solid var(--cj-line); text-decoration: none; font-weight: 600; }
.cj-pager .current { background: var(--cj-navy); color: #fff; border-color: var(--cj-navy); }
.cj-empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--cj-line); border-radius: var(--cj-radius); }
.cj-empty p { color: var(--cj-muted); }
.cj-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cj-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-weight: 600; font-size: 15px; }
.cj-jobdetail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.cj-prose { font-size: 17px; }
.cj-prose h2, .cj-apply h2, .cj-empty h2 { font-weight: 800; }
.cj-prose h2 { font-size: 24px; margin-top: 1.6em; }
.cj-prose h2:first-child { margin-top: 0; }
.cj-prose ul { padding-left: 1.2em; }
.cj-prose li { margin: 6px 0; }
.cj-term-desc { margin-top: 56px; color: var(--cj-muted); }
.cj-apply { position: sticky; top: 24px; padding: 28px; border-radius: var(--cj-radius); border: 1px solid var(--cj-line); box-shadow: var(--cj-shadow); }
.cj-apply h2 { font-size: 22px; }
.cj-apply p { color: var(--cj-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cj-cities { grid-template-columns: repeat(3, 1fr); }
	.cj-city--big { grid-column: span 3; grid-row: auto; aspect-ratio: 21 / 9; }
	.cj-cats { grid-template-columns: repeat(2, 1fr); }
	.cj-split { grid-template-columns: 1fr; }
	.cj-footer__grid { grid-template-columns: 1fr 1fr; }
	.cj-jobdetail { grid-template-columns: 1fr; }
	.cj-apply { position: static; }
}
@media (max-width: 860px) {
	.cj-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
	.cj-burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--cj-ink); }
	.cj-header--overlay .cj-burger span { background: #fff; }
	.cj-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .35); }
	.cj-nav a, .cj-header--overlay .cj-nav a { color: var(--cj-ink); padding: 12px; }
	.cj-nav .cj-btn--ghost { background: var(--cj-tint); color: var(--cj-navy) !important; border-color: var(--cj-line); }
	.cj-nav-toggle:checked ~ .cj-nav { display: flex; }
	.cj-jobs, .cj-fields, .cj-steps, .cj-quotes { grid-template-columns: 1fr; }
	.cj-quote:nth-child(2) { transform: none; }
	.cj-head { flex-direction: column; align-items: flex-start; }
	.cj-head--center { align-items: center; }
	.cj-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 640px) {
	.cj-wrap { padding: 0 16px; }
	.cj-hero { padding: 120px 0 170px; }
	.cj-hero__lead { font-size: 17px; }
	.cj-search { flex-direction: column; }
	.cj-search__field + .cj-search__field { border-left: 0; border-top: 1px solid var(--cj-line); }
	.cj-stats { gap: 28px; }
	.cj-stats dd { font-size: 26px; }
	.cj-section { padding: 64px 0; }
	.cj-cities { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cj-city--big { grid-column: span 2; aspect-ratio: 16 / 10; }
	.cj-city__txt { left: 14px; bottom: 12px; right: 48px; }
	.cj-city__txt strong { font-size: 17px; }
	.cj-city--big .cj-city__txt strong { font-size: 26px; }
	.cj-city__go { width: 30px; height: 30px; right: 12px; bottom: 14px; }
	.cj-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cj-cat { padding: 16px; }
	.cj-job { flex-wrap: wrap; align-items: flex-start; }
	.cj-job__body { flex-basis: calc(100% - 68px); }
	.cj-job .cj-pill { margin-left: 68px; }
	.cj-footer__grid { grid-template-columns: 1fr; }
}
