/* Flotra Jobs – front-end styles */
.rj-jobs {
	--rj-primary: #0f172a;
	--rj-accent: #2563eb;
	--rj-bg: #ffffff;
	--rj-muted: #64748b;
	--rj-border: #e2e8f0;
	font-family: inherit;
	color: var(--rj-primary);
}

.rj-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--rj-accent); margin: 0 0 6px; }
.rj-title { font-size: clamp(22px, 3vw, 28px); margin: 0; line-height: 1.2; }

/* header panel: title, count, search + selects */
.rj-panel {
	background: var(--rj-bg); border: 1px solid var(--rj-border); border-radius: 16px; padding: 22px 24px;
	margin-bottom: 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}
.rj-panel:empty { display: none; }
.rj-panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rj-panel-head:last-child { margin-bottom: 0; }
.rj-count { color: var(--rj-muted); font-size: 15px; margin: 0; }
.rj-count-num { color: var(--rj-primary); font-size: 17px; }
.rj-toolbar {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
	border: 1px solid var(--rj-border); border-radius: 12px; padding: 16px; background: #fbfcfd;
}
.rj-search {
	flex: 1 1 260px; max-width: 420px; padding: 11px 14px;
	border: 1px solid #cbd5e1; border-radius: 8px; font-size: 15px; background: var(--rj-bg); font: inherit;
}
.rj-area-filter, .rj-type-filter {
	border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 14px; background: #fff; font-size: 15px; font: inherit; color: var(--rj-primary);
}
.rj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rj-chip {
	border: 1px solid var(--rj-border); background: #f8fafc; color: var(--rj-primary);
	border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer;
}
.rj-chip.is-active { background: var(--rj-accent); border-color: var(--rj-accent); color: #fff; }

.rj-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.rj-has-map .rj-layout { grid-template-columns: minmax(280px, 32%) 1fr; }
@media (max-width: 860px) { .rj-has-map .rj-layout { grid-template-columns: 1fr; } }

.rj-side { position: sticky; top: 24px; display: grid; gap: 18px; align-self: start; }
@media (max-width: 860px) { .rj-side { position: static; } }
.rj-map {
	position: relative; height: var(--rj-map-h, 420px); border-radius: 16px; overflow: hidden;
	border: 1px solid var(--rj-border);
	background: linear-gradient(140deg, #e0e7ff, #f1f5f9);
}
.rj-map-inner { position: relative; width: 100%; height: 100%; }
.rj-marker {
	position: absolute; transform: translate(-50%, -100%);
	background: var(--rj-accent); color: #fff; border-radius: 999px 999px 999px 4px;
	padding: 5px 10px; font-size: 12px; white-space: nowrap; box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
}
.rj-cta {
	background: #1e293b; color: #fff; border-radius: 16px; padding: 24px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}
.rj-cta .rj-eyebrow { color: #93c5fd; margin-bottom: 8px; }
.rj-cta-title { margin: 0 0 10px; font-size: 20px; line-height: 1.3; color: #fff; }
.rj-cta-text { font-size: 14px; line-height: 1.6; color: #cbd5e1; margin-bottom: 16px; }
.rj-cta-text p { margin: 0 0 8px; }
.rj-btn-block { display: block; text-align: center; width: 100%; box-sizing: border-box; }

.rj-list { display: grid; gap: 14px; }
.rj-card[hidden], .rj-no-results[hidden], [hidden] { display: none !important; }
.rj-card {
	position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start;
	border: 1px solid var(--rj-border); border-radius: 14px; background: var(--rj-bg);
	padding: 18px 150px 18px 18px; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.rj-card:hover { box-shadow: 0 16px 34px rgba(15, 23, 42, .09); transform: translateY(-2px); border-color: var(--rj-accent); }
.rj-card:not(:has(.rj-card-media)) { grid-template-columns: 1fr; }
@media (max-width: 640px) { .rj-card { grid-template-columns: 1fr; padding: 18px; } .rj-share { position: static; margin-top: 12px; } }
.rj-card-media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; }
.rj-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rj-card-body { min-width: 0; }
.rj-card-title { margin: 0 0 10px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.rj-card-title a { color: inherit; text-decoration: none; }
.rj-card-title a::after { content: ""; position: absolute; inset: 0; }
.rj-card-text { margin: 10px 0 0; color: #475569; font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rj-card-foot { display: none; }
.rj-card-arrow {
	position: absolute; right: 18px; bottom: 14px; width: 36px; height: 36px; border-radius: 999px;
	display: grid; place-items: center; color: var(--rj-accent); transition: background .2s, color .2s, transform .2s;
}
.rj-share {
	position: absolute; right: 18px; top: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	border: 1px solid #cbd5e1; background: #fff; color: var(--rj-primary); border-radius: 999px;
	padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1;
}
.rj-share:hover { border-color: var(--rj-accent); color: var(--rj-accent); }
.rj-card:hover .rj-card-arrow { transform: translateX(4px); }
@media (max-width: 560px) { .rj-card-arrow { display: none; } }

.rj-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.rj-badge {
	display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 11px; border-radius: 999px;
	background: #f1f5f9; color: #334155; border: 0; line-height: 1.4;
}
.rj-badge svg { color: #64748b; }
.rj-badge-accent { background: var(--rj-accent); color: #fff; border-color: var(--rj-accent); }

.rj-btn {
	display: inline-block; background: var(--rj-accent); color: #fff; border: 0;
	border-radius: 999px; padding: 12px 22px; font-size: 15px; cursor: pointer; text-decoration: none;
}
.rj-btn:hover { filter: brightness(1.06); color: #fff; }
.rj-btn-sm { padding: 8px 16px; font-size: 14px; }
.rj-empty { color: var(--rj-muted); }

/* single job + form */
.rj-single { max-width: 820px; margin: 0 auto; }
.rj-form {
	margin-top: 28px; padding: 22px; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff;
	display: grid; gap: 14px;
}
.rj-form-title { margin: 0; font-size: 20px; }
.rj-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.rj-field { display: grid; gap: 6px; font-size: 14px; }
.rj-field input, .rj-field textarea {
	width: 100%; padding: 11px 12px; border: 1px solid #e2e8f0; border-radius: 10px; font: inherit; background: #fff;
}
.rj-field small { color: #64748b; }
.rj-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #475569; }
.rj-form-msg { margin: 0; font-size: 14px; }
.rj-form-msg.is-error { color: #b91c1c; }
.rj-form-msg.is-success { color: #15803d; }
.rj-form.is-sending { opacity: .65; pointer-events: none; }

/* Job detail blocks */
.rj-block { margin: 0 0 28px; }
.rj-block-title { margin: 0 0 12px; }
.rj-job-figure { margin: 0 0 18px; position: relative; }
.rj-job-figure img { width: 100%; height: auto; border-radius: 12px; display: block; }
.rj-job-figure figcaption { font-size: 13px; color: #6b7280; margin-top: 6px; }
.rj-ai-note { position: absolute; right: 10px; bottom: 10px; background: rgba(15,23,42,.72); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.rj-icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rj-icon-list.rj-cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rj-icon-list li { display: flex; gap: 10px; align-items: flex-start; }
.rj-icon-list .rj-icon { flex: 0 0 auto; font-size: 18px; line-height: 1.3; }

/* ── header / hero ─────────────────────────────────────── */
.rj-hero {
	position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 24px;
	background-size: cover; background-position: center; background-color: #0f172a;
	color: #fff; padding: clamp(32px, 6vw, 72px) 24px; text-align: center;
}
.rj-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.35), rgba(15,23,42,.7)); }
.rj-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.rj-hero .rj-eyebrow { color: #c7d2fe; }
.rj-hero .rj-title { color: #fff; }
.rj-hero-text { margin-top: 10px; font-size: 17px; opacity: .92; }
.rj-hero-full {
	border-radius: 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw;
}

/* ── layout variants ───────────────────────────────────── */
.rj-richtext { margin: 0 0 22px; }
.rj-count { color: var(--rj-muted); font-size: 14px; margin: 0 0 12px; }
.rj-map-right .rj-layout { grid-template-columns: 1fr minmax(280px, 32%); }
.rj-map-right .rj-side { order: 2; }
.rj-map-top .rj-layout,
.rj-map-bottom .rj-layout { grid-template-columns: 1fr; }
.rj-map-bottom .rj-side { order: 2; }
.rj-map-top .rj-side, .rj-map-bottom .rj-side { position: static; grid-template-columns: 1fr; }
.rj-map-top .rj-side:has(.rj-cta), .rj-map-bottom .rj-side:has(.rj-cta) { grid-template-columns: 1fr minmax(260px, 340px); }
@media (max-width: 860px) { .rj-map-top .rj-side, .rj-map-bottom .rj-side { grid-template-columns: 1fr !important; } }
.rj-map .leaflet-container { height: 100%; width: 100%; }
.rj-map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }

.rj-cols-2 .rj-list, .rj-cols-3 .rj-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rj-cols-3 .rj-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rj-has-map.rj-map-left .rj-list, .rj-has-map.rj-map-right .rj-list { grid-template-columns: 1fr; }
@media (max-width: 860px) { .rj-cols-2 .rj-list, .rj-cols-3 .rj-list { grid-template-columns: 1fr; } }

/* grid layout: image on top, button visible */
.rj-layout-grid .rj-card { grid-template-columns: 1fr; padding: 14px; }
.rj-layout-grid .rj-card-media { aspect-ratio: 16 / 10; }
.rj-layout-grid .rj-card-foot { display: block; margin-top: 14px; }
.rj-layout-grid .rj-card-arrow { display: none; }
.rj-layout-grid .rj-card-title a::after { content: none; }
/* compact: no image, tight rows */
.rj-layout-compact .rj-card-media { display: none; }
.rj-layout-compact .rj-card { grid-template-columns: 1fr; padding: 14px 150px 14px 18px; }
.rj-layout-compact .rj-card-text { display: none; }
.rj-cards-bordered .rj-card { box-shadow: none; border-width: 2px; }
.rj-cards-elevated .rj-card { border-color: transparent; box-shadow: 0 12px 30px rgba(15, 23, 42, .10); }

.rj-type-filter {
	border: 1px solid var(--rj-border); border-radius: 999px; padding: 10px 14px; background: #fff; font-size: 14px;
}

/* ── widgets ───────────────────────────────────────────── */
.rj-widget-jobs, .rj-widget-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rj-widget-job { display: flex; gap: 10px; align-items: center; }
.rj-widget-thumb img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; display: block; }
.rj-widget-text { display: grid; }
.rj-widget-text small { color: #64748b; }
.rj-widget-areas li { display: flex; justify-content: space-between; border-bottom: 1px solid #e2e8f0; padding-bottom: 6px; }
.rj-widget-search { display: flex; gap: 8px; }
.rj-widget-search input { flex: 1; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; }
.rj-widget-cta { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; display: grid; gap: 8px; }

/* ── job detail page ───────────────────────────────────── */
.rj-detail { --rj-ink: #0f172a; --rj-muted: #64748b; --rj-line: #e2e8f0; color: var(--rj-ink); max-width: 1180px; margin: 0 auto; padding: 0 0 48px; font-size: 16px; line-height: 1.6; }
.rj-detail *, .rj-detail *::before, .rj-detail *::after { box-sizing: border-box; }
.rj-detail-hero {
	position: relative; min-height: 380px; border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end;
	background: linear-gradient(135deg, var(--rj-accent), #0f172a); background-size: cover; background-position: center; margin-bottom: 20px;
}
.rj-detail-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.55) 45%, rgba(15,23,42,.92) 100%); }
.rj-detail-hero-inner { position: relative; padding: 40px; color: #fff; max-width: 760px; }
.rj-detail-hero .rj-back { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 14px; }
.rj-detail-hero .rj-back:hover { color: #fff; }
.rj-detail-hero .rj-badge-accent { margin-bottom: 12px; display: inline-block; }
.rj-detail-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.rj-detail-sub { margin: 0 0 20px; color: rgba(255,255,255,.8); font-size: 16px; }
.rj-btn-lg { padding: 14px 28px; font-size: 16px; }
.rj-back-plain { display: inline-block; margin: 0 0 16px; color: var(--rj-muted); text-decoration: none; font-size: 14px; }
.rj-back-plain:hover { color: var(--rj-accent); }

.rj-metabar {
	display: flex; flex-wrap: wrap; gap: 0; background: #fff; border: 1px solid var(--rj-line); border-radius: 16px; margin-bottom: 24px;
	box-shadow: 0 6px 24px -14px rgba(15,23,42,.25); overflow: hidden;
}
.rj-metabar-item { flex: 1 1 150px; padding: 14px 20px; border-right: 1px solid var(--rj-line); display: grid; gap: 2px; }
.rj-metabar-item:last-child { border-right: 0; }
.rj-metabar-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--rj-muted); font-weight: 600; }
.rj-metabar-item strong { font-size: 15px; color: var(--rj-ink); }

.rj-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.rj-detail .rj-panel { background: #fff; border: 1px solid var(--rj-line); border-radius: 18px; padding: 28px; box-shadow: 0 6px 24px -16px rgba(15,23,42,.2); }
.rj-detail-main { display: grid; gap: 24px; min-width: 0; }
.rj-detail-content .rj-content > p:first-child { font-size: 18px; color: #334155; }
.rj-detail-content .rj-block-title { font-size: 22px; margin: 28px 0 14px; padding-left: 14px; border-left: 4px solid var(--rj-accent); }
.rj-detail-content .rj-block:first-child .rj-block-title { margin-top: 0; }
.rj-detail-content .rj-icon-list li { padding: 12px 14px; background: #f8fafc; border-radius: 12px; }
.rj-detail-content .rj-job-figure img { border-radius: 14px; }
.rj-detail .rj-panel-title { margin: 0 0 6px; font-size: 24px; }
.rj-detail-apply .rj-form { margin-top: 12px; padding: 0; border: 0; box-shadow: none; }

.rj-side-sticky { position: sticky; top: 24px; display: grid; gap: 18px; }
.rj-detail .rj-side-apply { background: var(--rj-ink); color: #fff; border-color: transparent; }
.rj-detail .rj-side-apply h3, .rj-detail .rj-side-apply p { color: #fff; }
.rj-detail .rj-side-apply p { opacity: .8; margin: 0 0 16px; font-size: 14px; }
.rj-detail aside h3 { margin: 0 0 12px; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--rj-muted); font-weight: 700; }
.rj-side-apply h3 { color: #fff !important; text-transform: none !important; font-size: 20px !important; letter-spacing: 0 !important; }
.rj-btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.6); color: #fff; margin-top: 10px; }
.rj-btn-outline:hover { background: rgba(255,255,255,.1); filter: none; }
.rj-contact-row { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.rj-contact-photo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--rj-accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 24px; }
.rj-contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rj-contact-text { font-size: 14px; color: #475569; }
.rj-contact-text p { margin: 0 0 8px; }
.rj-contact-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.rj-contact-links a { color: var(--rj-ink); text-decoration: none; }
.rj-contact-links a:hover { color: var(--rj-accent); }
.rj-muted { color: var(--rj-muted); font-size: 14px; }
.rj-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.rj-facts li { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed var(--rj-line); }
.rj-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.rj-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rj-share-btn {
	font: inherit; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rj-line); background: #f8fafc; color: var(--rj-ink);
	text-decoration: none; cursor: pointer; transition: all .15s;
}
.rj-share-btn:hover { border-color: var(--rj-accent); color: var(--rj-accent); background: #fff; }

@media (max-width: 960px) {
	.rj-detail-grid { grid-template-columns: 1fr; }
	.rj-side-sticky { position: static; }
	.rj-detail-hero { min-height: 280px; }
	.rj-detail-hero-inner { padding: 24px; }
	.rj-detail .rj-panel { padding: 20px; }
	.rj-metabar-item { flex-basis: 45%; border-bottom: 1px solid var(--rj-line); }
}

/* widen common theme containers on job pages */
body.rj-single-job .entry-title:empty, body.rj-single-job .nv-title-meta-wrap:has(.entry-title:empty), body.rj-single-job .entry-header:has(.entry-title:empty) { display: none; }
body.rj-single-job .container, body.rj-single-job .wp-block-post-content, body.rj-single-job .entry-content, body.rj-single-job .site-main > .container,
body.rj-single-job .alignwide, body.rj-single-job .is-layout-constrained > .rj-detail { max-width: 1240px !important; }
body.rj-single-job .nv-single-post-wrap, body.rj-single-job .single-post-container .nv-content-wrap { max-width: none; }

/* Popup iframe: show only the job content, never the WordPress or theme navigation. */
html:has(body.rj-embedded-job) { margin-top: 0 !important; }
body.rj-embedded-job { margin-top: 0 !important; padding-top: 0 !important; }
body.rj-embedded-job #wpadminbar,
body.rj-embedded-job header.site-header,
body.rj-embedded-job .site-header,
body.rj-embedded-job #masthead,
body.rj-embedded-job .header-main,
body.rj-embedded-job .main-header,
body.rj-embedded-job .elementor-location-header,
body.rj-embedded-job nav[aria-label="Primary"],
body.rj-embedded-job nav[aria-label="Hauptmenü"] { display: none !important; }
body.rj-embedded-job .site-content,
body.rj-embedded-job #content,
body.rj-embedded-job main { margin-top: 0 !important; padding-top: 0 !important; }


/* ── Bewerbungs-Popup + volle Breite (mein-backoffice.de) ── */
.rj-modal[hidden] { display: none !important; }
.rj-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rj-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); backdrop-filter: blur(2px); }
.rj-modal-dialog { position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); }
.rj-modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .08); font-size: 22px; line-height: 1; cursor: pointer; }
.rj-modal-close:hover { background: rgba(15, 23, 42, .16); }
body.rj-modal-open { overflow: hidden; }
@media (max-width: 640px) {
	.rj-modal { padding: 0; }
	.rj-modal-dialog { max-width: none; height: 100%; max-height: none; border-radius: 0; }
}

body.rj-full-width .entry-content,
body.rj-full-width .site-main,
body.rj-full-width .content-area,
body.rj-full-width .wp-block-post-content,
body.rj-full-width .container,
body.rj-full-width .nv-single-post-wrap { max-width: 100% !important; width: 100% !important; padding-left: 0; padding-right: 0; }
body.rj-full-width .rj-detail { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* ── Board: Karte links + Listenkarten (mein-backoffice.de 1.2.9) ── */
.rj-layout-list .rj-list { gap: 12px; }
.rj-layout-list .rj-card { grid-template-columns: 116px 1fr; padding: 14px 150px 14px 14px; border-radius: 12px; }
.rj-layout-list .rj-card-media { width: 116px; aspect-ratio: 1 / 1; border-radius: 8px; }
.rj-layout-list .rj-card-title { font-size: 18px; margin-bottom: 8px; }
.rj-layout-list .rj-card-text { -webkit-line-clamp: 2; }
.rj-layout-list .rj-card-foot { display: none; }
.rj-has-map.rj-map-left .rj-side,
.rj-has-map.rj-map-right .rj-side { top: 20px; }
.rj-has-map.rj-map-left .rj-map,
.rj-has-map.rj-map-right .rj-map { height: clamp(360px, 52vh, 560px); border-radius: 12px; }
.rj-has-map.rj-map-left .rj-layout { grid-template-columns: minmax(300px, 30%) 1fr; gap: 20px; }
.rj-has-map.rj-map-right .rj-layout { grid-template-columns: 1fr minmax(300px, 30%); gap: 20px; }
@media (max-width: 900px) {
	.rj-has-map.rj-map-left .rj-layout,
	.rj-has-map.rj-map-right .rj-layout { grid-template-columns: 1fr; }
	.rj-has-map.rj-map-left .rj-map,
	.rj-has-map.rj-map-right .rj-map { height: 300px; }
	.rj-layout-list .rj-card { grid-template-columns: 92px 1fr; padding: 14px 14px 46px 14px; }
	.rj-layout-list .rj-card-media { width: 92px; }
	.rj-layout-list .rj-share { position: absolute; left: 14px; right: auto; top: auto; bottom: 10px; }
}

/* Job popup layer – Flotra Jobs von mein-backoffice.de */
body.rj-lock { overflow: hidden; }
.rj-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.rj-modal-backdrop { position: absolute; inset: 0; background: rgba(9, 15, 28, .68); }
.rj-modal-dialog { position: relative; width: min(1180px, 94vw); height: min(92vh, 1000px); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(2, 6, 23, .8); display: flex; flex-direction: column; }
.rj-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #e6eaf2; font-size: 15px; }
.rj-modal-actions { display: flex; align-items: center; gap: 12px; }
.rj-modal-open { font-size: 13px; color: var(--rj-accent, #2563eb); text-decoration: none; }
.rj-modal-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #475569; }
.rj-modal iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 780px) { .rj-modal-dialog { width: 100vw; height: 100vh; border-radius: 0; } }

/* ---------------------------------------------------------------
 * Dark mode – rj-scheme-dark always, rj-scheme-auto follows system
 * --------------------------------------------------------------- */
.rj-jobs.rj-scheme-dark,
.rj-jobs.rj-scheme-auto.rj-is-dark {
	color-scheme: dark;
	--rj-primary: #e2e8f0;
	--rj-ink: #e2e8f0;
	--rj-bg: #101827;
	--rj-muted: #94a3b8;
	--rj-border: #26334d;
	--rj-line: #26334d;
	color: var(--rj-primary);
}

.rj-jobs.rj-scheme-dark .rj-panel,
.rj-jobs.rj-scheme-dark .rj-card,
.rj-jobs.rj-scheme-dark .rj-detail .rj-panel,
.rj-jobs.rj-scheme-dark .rj-modal-dialog,
.rj-jobs.rj-scheme-dark .rj-form,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-panel,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-card,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-detail .rj-panel,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-modal-dialog,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-form {
	background: #16213a;
	border-color: var(--rj-border);
	color: var(--rj-primary);
	box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .9);
}

.rj-jobs.rj-scheme-dark .rj-toolbar,
.rj-jobs.rj-scheme-dark .rj-chip,
.rj-jobs.rj-scheme-dark .rj-widget-cta,
.rj-jobs.rj-scheme-dark .rj-share-btn,
.rj-jobs.rj-scheme-dark .rj-detail-content .rj-icon-list li,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-toolbar,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-chip,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-widget-cta,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-share-btn,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-detail-content .rj-icon-list li {
	background: #1b2740;
	border-color: var(--rj-border);
	color: var(--rj-primary);
}

.rj-jobs.rj-scheme-dark .rj-search,
.rj-jobs.rj-scheme-dark .rj-area-filter,
.rj-jobs.rj-scheme-dark .rj-type-filter,
.rj-jobs.rj-scheme-dark .rj-form input,
.rj-jobs.rj-scheme-dark .rj-form select,
.rj-jobs.rj-scheme-dark .rj-form textarea,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-search,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-area-filter,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-type-filter,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-form input,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-form select,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-form textarea {
	background: #0f1729;
	border-color: var(--rj-border);
	color: var(--rj-primary);
}

.rj-jobs.rj-scheme-dark .rj-badge,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-badge { background: #24324e; color: #dbe4f3; }
.rj-jobs.rj-scheme-dark .rj-count,
.rj-jobs.rj-scheme-dark .rj-meta,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-count,
.rj-jobs.rj-scheme-auto.rj-is-dark .rj-meta { color: var(--rj-muted); }
