/* JobStart – Blog, Teilen, Kurzbewerbung, Lebenslauf, Import. Scoped to .cj-* */

.cj-wrap--narrow { max-width: 820px; }
.cj-wrap--wide { max-width: 1240px; }
.cj-meta { font-size: 13px; color: var(--cj-muted); }
.cj-pill--blue { background: #dbeafe; color: #1d4ed8; align-self: flex-start; }

/* ---------- Blog overview ---------- */
.cj-bloghero { padding: 64px 0 40px; background: radial-gradient(800px 300px at 90% 0, rgba(124, 58, 237, .12), transparent 60%), radial-gradient(700px 300px at 0 0, rgba(37, 99, 235, .1), transparent 60%), var(--cj-tint); border-bottom: 1px solid var(--cj-line); }
.cj-page .cj-bloghero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-bottom: 10px; }
.cj-bloghero p { color: var(--cj-muted); font-size: 18px; max-width: 620px; }
.cj-blogbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.cj-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cj-chips a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--cj-line); font-weight: 600; font-size: 14px; text-decoration: none; color: var(--cj-ink) !important; }
.cj-chips a.is-active { background: var(--cj-navy); border-color: var(--cj-navy); color: #fff !important; }

.cj-feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-ink) !important; box-shadow: var(--cj-shadow); margin-bottom: 36px; transition: transform .2s; }
.cj-feature:hover { transform: translateY(-3px); }
.cj-feature__cover { min-height: 340px; display: block; }
.cj-feature__cover svg, .cj-feature__cover img, .cj-postcard__cover svg, .cj-postcard__cover img, .cj-postrow__cover svg, .cj-postrow__cover img, .cj-coverprev svg, .cj-coverprev img, .cj-article__cover svg, .cj-article__cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.cj-feature__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.cj-feature__body strong { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; }
.cj-feature__ex { color: var(--cj-muted); font-size: 17px; }

.cj-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cj-postcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-ink) !important; transition: box-shadow .2s, transform .2s; }
.cj-postcard:hover { box-shadow: var(--cj-shadow); transform: translateY(-3px); }
.cj-postcard__cover { aspect-ratio: 16 / 9; display: block; overflow: hidden; }
.cj-postcard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cj-postcard__body strong { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.cj-postcard__ex { color: var(--cj-muted); font-size: 15px; flex: 1; }
.cj-cta--blog { margin-top: 64px; }
.cj-jobs--3 { grid-template-columns: repeat(3, 1fr); }
.cj-jobs--3 .cj-pill { display: none; }

/* ---------- Article ---------- */
.cj-article__head { padding: 56px 0 32px; }
.cj-crumbs--dark, .cj-crumbs--dark a { color: var(--cj-muted) !important; }
.cj-page .cj-article__head h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; }
.cj-article__lead { font-size: 20px; color: var(--cj-muted); }
.cj-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.cj-byline .cj-avatar { width: 44px; height: 44px; overflow: hidden; background: none; }
.cj-byline span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.cj-byline small { color: var(--cj-muted); }
.cj-article__cover { aspect-ratio: 21 / 8; border-radius: 24px; overflow: hidden; box-shadow: var(--cj-shadow); }
.cj-article__grid { display: grid; grid-template-columns: 64px minmax(0, 720px) 300px; justify-content: center; gap: 48px; padding-top: 48px; padding-bottom: 32px; }
.cj-article__share { position: relative; }
.cj-article__share .cj-share { position: sticky; top: 100px; flex-direction: column; align-items: center; }
.cj-article__share .cj-share__btns { flex-direction: column; }
.cj-article__share .cj-share__label { font-size: 12px; }
.cj-article__body { font-size: 18px; line-height: 1.75; }
.cj-article__body h2 { font-size: 28px; margin-top: 1.8em; }
.cj-article__body h3 { font-size: 22px; margin-top: 1.5em; }
.cj-article__body img { max-width: 100%; height: auto; border-radius: 14px; }
.cj-article__body img[width="300"] { float: right; max-width: 42%; margin: 6px 0 16px 24px; }
.cj-article__body a { color: var(--cj-blue); }
.cj-article__body blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--cj-blue); background: var(--cj-tint); border-radius: 0 14px 14px 0; }
.cj-article__side { position: relative; }
.cj-sidejobs { position: sticky; top: 100px; padding: 22px; border-radius: 18px; border: 1px solid var(--cj-line); display: grid; gap: 4px; }
.cj-page .cj-sidejobs h2 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.cj-sidejobs > a:not(.cj-btn) { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-ink) !important; font-size: 14px; }
.cj-sidejobs > a:not(.cj-btn):hover b { color: var(--cj-blue); }
.cj-sidejobs small { display: flex; align-items: center; gap: 4px; color: var(--cj-muted); }
.cj-sidejobs small .cj-ico { width: 13px; height: 13px; }
.cj-sidejobs .cj-btn { margin-top: 10px; }
.cj-article__foot { padding-bottom: 72px; }
.cj-article__foot .cj-share { justify-content: center; padding: 24px; border-radius: 18px; background: var(--cj-tint); }

/* ---------- Share ---------- */
.cj-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.cj-share__label { font-weight: 700; font-size: 15px; }
.cj-share__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cj-share__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--cj-line); background: #fff; color: var(--c) !important; cursor: pointer; transition: transform .15s, background .15s, color .15s; padding: 0; }
.cj-share__btn:hover { background: var(--c); color: #fff !important; transform: translateY(-2px); border-color: var(--c); }
.cj-share__btn .cj-ico { width: 18px; height: 18px; }
.cj-share__done { font-size: 14px; font-weight: 600; color: #15803d; }

/* ---------- Job page: apply ---------- */
.cj-banner__apply { margin-top: 22px; }
.cj-jobdetail > div:first-child { min-width: 0; }
.cj-apply { scroll-margin-top: 24px; }
.cj-apply > p { margin-bottom: 16px !important; }
.cj-applyform { gap: 14px; }
.cj-file { position: relative; }
.cj-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 2; }
.cj-file__drop { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px; border: 2px dashed #c7d2fe; border-radius: 14px; background: #f8faff; color: var(--cj-blue); text-align: center; transition: background .15s, border-color .15s; }
.cj-file__drop .cj-ico { transform: rotate(180deg); width: 22px; height: 22px; }
.cj-file__drop b { font-size: 15px; }
.cj-file__drop small { color: var(--cj-muted); font-weight: 400; }
.cj-file:hover .cj-file__drop, .cj-file:focus-within .cj-file__drop { background: #eef2ff; border-color: var(--cj-blue); }
.cj-file.has-file .cj-file__drop { border-style: solid; border-color: #86efac; background: #f0fdf4; color: #15803d; }
.cj-file__name { font-size: 13px; color: #15803d; font-weight: 600; word-break: break-all; }
.cj-file--sm .cj-file__drop { padding: 12px; }
.cj-consent { align-items: flex-start !important; font-size: 13px !important; color: var(--cj-muted) !important; line-height: 1.5; }
.cj-consent input { margin-top: 3px; }
.cj-consent a { color: var(--cj-blue); }
.cj-apply__done { text-align: center; }
.cj-apply__check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #15803d; margin-bottom: 10px; }
.cj-apply__check .cj-ico { width: 32px; height: 32px; }

/* ---------- Dashboard: CV, posts, import ---------- */
.cj-cvtag { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 5px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.cj-appdetail__right { display: grid; gap: 20px; min-width: 0; }
.cj-cv__frame { width: 100%; height: 620px; border: 1px solid var(--cj-line); border-radius: 12px; background: var(--cj-tint); }
.cj-cv__img { display: block; max-width: 100%; max-height: 720px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--cj-line); }
.cj-cv__file { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; background: var(--cj-tint); }
.cj-cv__file > .cj-ico { width: 32px; height: 32px; color: var(--cj-blue); }
.cj-cv__file span { display: flex; flex-direction: column; }
.cj-cv__file small { color: var(--cj-muted); }

.cj-postlist { display: grid; gap: 14px; }
.cj-postrow { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px; padding-right: 20px; background: #fff; border: 1px solid var(--cj-line); border-radius: 16px; }
.cj-postrow__cover { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.cj-postrow__body p { margin: 4px 0 8px !important; color: var(--cj-muted); font-size: 14px; }
.cj-postrow__body small { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--cj-muted); font-size: 13px; }
.cj-coverprev { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.cj-input--lg { font-size: 20px !important; font-weight: 700 !important; }
.cj-editor { display: grid; gap: 6px; }
.cj-editor__label { font-size: 14px; font-weight: 600; }
.cj-editor .wp-editor-container { border: 1px solid #d6dce8; border-radius: 11px; overflow: hidden; }
.cj-editor .wp-editor-tabs { float: right; }
.cj-editor textarea.wp-editor-area { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.cj-editor .mce-toolbar-grp { background: #fafbfe !important; }

.cj-import { background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-color: #c7d2fe; }
.cj-import__head { display: flex; gap: 14px; align-items: flex-start; }
.cj-import__head .cj-card__title { margin-bottom: 2px !important; }
.cj-import__row { display: flex; gap: 10px; align-items: flex-start; }
.cj-import__row textarea { flex: 1; min-height: 50px !important; resize: vertical; }
.cj-import__row .cj-btn { min-height: 50px; }
.cj-import__msg { margin: 0 !important; font-size: 14px; font-weight: 600; }
.cj-import__msg:empty { display: none; }
.cj-import__msg.is-ok { color: #047857; }
.cj-import__msg.is-err { color: #b91c1c; }
.cj-form .cj-filled { border-color: #22c55e !important; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18) !important; background: #f0fdf4 !important; }
.cj-howapply ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cj-howapply li { display: flex; gap: 8px; align-items: center; }
.cj-howapply .cj-ico { color: #15803d; width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cj-article__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 24px; }
	.cj-article__share { order: 2; }
	.cj-article__share .cj-share { position: static; flex-direction: row; }
	.cj-article__share .cj-share__btns { flex-direction: row; }
	.cj-article__side { order: 3; }
	.cj-sidejobs { position: static; }
	.cj-posts, .cj-jobs--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.cj-feature { grid-template-columns: 1fr; }
	.cj-feature__cover { min-height: 0; aspect-ratio: 16 / 9; }
	.cj-feature__body { padding: 26px; }
	.cj-posts, .cj-jobs--3 { grid-template-columns: 1fr; }
	.cj-article__cover { aspect-ratio: 16 / 9; border-radius: 16px; }
	.cj-article__body { font-size: 17px; }
	.cj-article__body img[width="300"] { float: none; max-width: 100%; margin: 0 0 16px; }
	.cj-postrow { grid-template-columns: 96px minmax(0, 1fr); }
	.cj-postrow .cj-actions { grid-column: 1 / -1; }
	.cj-import__row { flex-direction: column; align-items: stretch; }
	.cj-cv__frame { height: 460px; }
}

/* ---------- Page hero (pricing, legal) ---------- */
.cj-pagehero { padding: 72px 0 56px; color: #fff; text-align: center; background: radial-gradient(900px 400px at 85% -20%, rgba(124, 58, 237, .5), transparent 60%), radial-gradient(800px 400px at 0 0, rgba(37, 99, 235, .45), transparent 60%), linear-gradient(180deg, #0b1b3a, #13244a); }
.cj-page .cj-pagehero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin: 6px 0 14px; }
.cj-pagehero h1 span { background: linear-gradient(90deg, #93c5fd, #c4b5fd 50%, var(--cj-lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cj-pagehero p { max-width: 680px; margin: 0 auto !important; font-size: 18px; color: rgba(255, 255, 255, .78); }
.cj-pagehero .cj-kicker { color: var(--cj-lime); }
.cj-pagehero--light { color: var(--cj-ink); text-align: left; background: radial-gradient(700px 300px at 100% 0, rgba(124, 58, 237, .1), transparent 60%), var(--cj-tint); border-bottom: 1px solid var(--cj-line); padding: 48px 0 40px; }
.cj-pagehero--light p { margin: 0 0 10px !important; color: var(--cj-muted); }
.cj-prices__note { max-width: 760px; margin: 28px auto 0 !important; text-align: center; color: var(--cj-muted); }
.cj-prices__more { text-align: center; margin: 26px 0 0 !important; }

.cj-included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cj-included__item { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; border: 1px solid var(--cj-line); }
.cj-included__item strong { font-size: 17px; display: block; margin-bottom: 4px; }
.cj-included__item p { margin: 0 !important; color: var(--cj-muted); font-size: 14px; }

/* ---------- Legal pages: TOC + accordion ---------- */
.cj-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1100px; }
.cj-legal__toc { position: sticky; top: 24px; display: grid; gap: 18px; }
.cj-toc { padding: 20px; border-radius: 16px; background: var(--cj-tint); border: 1px solid var(--cj-line); }
.cj-toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--cj-muted); margin-bottom: 10px; }
.cj-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.cj-toc a { text-decoration: none; color: var(--cj-ink) !important; }
.cj-toc a:hover { color: var(--cj-blue) !important; }
.cj-legal__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--cj-muted); font-size: 14px; }
.cj-acc { display: grid; gap: 12px; }
.cj-acc details { border: 1px solid var(--cj-line); border-radius: 16px; background: #fff; scroll-margin-top: 24px; transition: box-shadow .2s, border-color .2s; }
.cj-acc details[open] { border-color: #c7d2fe; box-shadow: var(--cj-shadow); }
.cj-acc summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.cj-acc summary::-webkit-details-marker { display: none; }
.cj-acc summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--cj-blue); border-bottom: 2px solid var(--cj-blue); transform: rotate(45deg); transition: transform .2s; flex: none; }
.cj-acc details[open] summary::after { transform: rotate(-135deg); }
.cj-acc__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cj-tint); color: var(--cj-blue); font-size: 13px; font-weight: 800; }
.cj-acc details[open] .cj-acc__n { background: linear-gradient(135deg, var(--cj-blue), var(--cj-violet)); color: #fff; }
.cj-acc__body { padding: 0 22px 20px 74px; font-size: 16px; }
.cj-acc__body p, .cj-acc__body ul { margin: 0 0 12px !important; }
.cj-acc__body code { font-size: 13px; background: var(--cj-tint); padding: 1px 6px; border-radius: 6px; }
.cj-blank { display: inline-block; padding: 1px 10px; border-radius: 6px; border: 1px dashed #c3cad8; color: #8a93a6; font-size: 13px; font-style: italic; }
.cj-alert--warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; font-weight: 500; }
.cj-alert--warn a { color: #92400e; font-weight: 700; }
.cj-form__row--wrap { grid-template-columns: 1fr 1fr; }
.cj-span2 { grid-column: 1 / -1; }

@media (max-width: 1100px) {
	.cj-included { grid-template-columns: 1fr 1fr; }
	.cj-legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.cj-legal__toc { position: static; }
}
@media (max-width: 640px) {
	.cj-included { grid-template-columns: 1fr; }
	.cj-acc summary { padding: 16px; gap: 12px; font-size: 16px; }
	.cj-acc__body { padding: 0 16px 16px; }
	.cj-form__row--wrap { grid-template-columns: 1fr; }
}
