/*
Theme Name:   MB Jobs (Blocksy Child)
Theme URI:    https://mbjobs.online
Description:  Motyw potomny Blocksy dla MB Jobs – oferty pracy, formularze z CV, wygląd marki.
Author:       WASYS.PL
Author URI:   https://wasys.pl
Template:     blocksy
Version:      1.3.0
Requires PHP: 7.4
Text Domain:  blocksy-child
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--mb-violet: #9A05FC;
	--mb-violet-700: #7404C2;
	--mb-violet-900: #2A0A4A;
	--mb-cyan: #03FFFF;
	--mb-cyan-600: #08B9D6;
	--mb-blue: #5B73FD;
	--mb-gradient: linear-gradient(135deg, #9A05FC 0%, #6E5BFD 50%, #1FD3FF 100%);
	--mb-gradient-soft: linear-gradient(135deg, #F4E9FF 0%, #ECF0FF 50%, #E3FBFF 100%);
	--mb-ink: #1C1530;
	--mb-text: #4A4560;
	--mb-muted: #8A84A0;
	--mb-line: #ECE8F4;
	--mb-bg: #FFFFFF;
	--mb-bg-alt: #F8F6FC;
	--mb-tint: #F6F0FF;
	--mb-radius: 20px;
	--mb-radius-sm: 12px;
	--mb-shadow: 0 1px 2px rgba(28, 21, 48, .04), 0 12px 32px -12px rgba(60, 20, 120, .18);
	--mb-shadow-lg: 0 2px 6px rgba(28, 21, 48, .05), 0 30px 60px -20px rgba(80, 20, 160, .28);
	--mb-font-head: 'Exo 2', 'Inter', system-ui, sans-serif;
	--mb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mb-wrap: 1200px;

	/* Blocksy palette hooks */
	--theme-palette-color-1: #9A05FC;
	--theme-palette-color-2: #7404C2;
	--theme-palette-color-3: #4A4560;
	--theme-palette-color-4: #1C1530;
	--theme-palette-color-5: #ECE8F4;
	--theme-palette-color-6: #F8F6FC;
	--theme-palette-color-7: #FBFAFE;
	--theme-palette-color-8: #FFFFFF;
	--theme-link-initial-color: var(--mb-violet);
	--theme-link-hover-color: var(--mb-violet-700);
	--theme-button-background-initial-color: var(--mb-violet);
	--theme-button-background-hover-color: var(--mb-violet-700);
}

/* ==========================================================================
   Base typography
   ========================================================================== */
body {
	font-family: var(--mb-font);
	color: var(--mb-text);
	-webkit-font-smoothing: antialiased;
	--theme-font-family: var(--mb-font);
	--theme-text-color: var(--mb-text);
	--theme-headings-color: var(--mb-ink);
}

h1, h2, h3, h4, h5, h6,
.mbj-h1, .mbj-h2, .mbj-h3 {
	font-family: var(--mb-font-head);
	color: var(--mb-ink);
	letter-spacing: -.01em;
	--theme-font-family: var(--mb-font-head);
}

::selection { background: rgba(154, 5, 252, .18); }

.mbj-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.mbj-wrap {
	width: 100%;
	max-width: var(--mb-wrap);
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

.mbj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--mb-font-head);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mb-violet);
}
.mbj-eyebrow::before {
	content: '';
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background: var(--mb-gradient);
}

.mbj-grad-text {
	background: var(--mb-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.mbj-btn,
.wp-block-button.is-style-mbj .wp-block-button__link,
.wp-block-button.is-style-mbj-light .wp-block-button__link,
.wp-block-button.is-style-mbj-outline .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .8em 1.5em;
	border: 0;
	border-radius: 999px;
	font-family: var(--mb-font-head);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease, color .2s ease;
	box-sizing: border-box;
}
.mbj-btn .mbj-icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.mbj-btn:hover .mbj-icon { transform: translateX(3px); }

.mbj-btn--primary,
.wp-block-button.is-style-mbj .wp-block-button__link {
	color: #fff;
	background: linear-gradient(110deg, #9A05FC 0%, #6E5BFD 45%, #1FD3FF 100%);
	background-size: 160% 100%;
	background-position: 0 0;
	box-shadow: 0 10px 24px -10px rgba(154, 5, 252, .65);
}
.mbj-btn--primary:hover,
.wp-block-button.is-style-mbj .wp-block-button__link:hover {
	color: #fff;
	background-position: 100% 0;
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -12px rgba(110, 91, 253, .7);
}

.mbj-btn--light,
.wp-block-button.is-style-mbj-light .wp-block-button__link {
	color: var(--mb-violet-700);
	background: #fff;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35);
}
.mbj-btn--light:hover,
.wp-block-button.is-style-mbj-light .wp-block-button__link:hover {
	color: var(--mb-violet);
	transform: translateY(-2px);
}

.mbj-btn--ghost,
.wp-block-button.is-style-mbj-outline .wp-block-button__link {
	color: var(--mb-violet-700);
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(154, 5, 252, .25);
}
.mbj-btn--ghost:hover,
.wp-block-button.is-style-mbj-outline .wp-block-button__link:hover {
	color: var(--mb-violet);
	box-shadow: inset 0 0 0 2px var(--mb-violet);
}
.is-dark .wp-block-button.is-style-mbj-outline .wp-block-button__link {
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}
.is-dark .wp-block-button.is-style-mbj-outline .wp-block-button__link:hover {
	box-shadow: inset 0 0 0 2px #fff;
}

.mbj-btn--lg { min-height: 56px; padding-inline: 2em; font-size: 1rem; }
.mbj-btn--block { width: 100%; }
.mbj-btn.is-loading { opacity: .7; pointer-events: none; }

.mbj-badge {
	display: inline-flex;
	align-items: center;
	padding: .35em .8em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--mb-violet-700);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}
.mbj-badge--hot { background: var(--mb-violet); color: #fff; }

/* ==========================================================================
   Header (Blocksy) touches
   ========================================================================== */
[data-header*="type-1"] .ct-header .menu > li > a,
.ct-header .ct-menu-link {
	font-family: var(--mb-font-head);
	font-weight: 600;
	letter-spacing: .02em;
}
.ct-header [data-id="button"] .ct-button,
.ct-header .ct-header-cta .ct-button {
	border-radius: 999px;
	font-family: var(--mb-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	background: linear-gradient(110deg, #9A05FC 0%, #6E5BFD 45%, #1FD3FF 100%);
	background-size: 160% 100%;
	border: 0;
	transition: background-position .4s ease, transform .2s ease;
}
.ct-header [data-id="button"] .ct-button:hover,
.ct-header .ct-header-cta .ct-button:hover {
	background-position: 100% 0;
	transform: translateY(-1px);
}

/* ==========================================================================
   Offer card (based on the client's reference)
   ========================================================================== */
.mbj-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
	gap: 28px;
}

.mbj-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--mb-radius);
	box-shadow: var(--mb-shadow);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.mbj-card:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow-lg); }

.mbj-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background: var(--mb-gradient-soft);
}
.mbj-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.mbj-card:hover .mbj-card__media img { transform: scale(1.04); }
.mbj-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--mb-violet);
	opacity: .5;
}
.mbj-card__placeholder .mbj-icon { width: 64px; height: 64px; }
.mbj-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mbj-card__body { padding: 26px 28px 24px; flex: 1; }
.mbj-card__title {
	margin: 0 0 18px;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.mbj-card__title a { color: var(--mb-ink); text-decoration: none; }
.mbj-card__title a:hover { color: var(--mb-violet); }

.mbj-card__main {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 18px 24px;
}
.mbj-card__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
}
.mbj-card__actions .mbj-btn--ghost { min-height: 40px; font-size: .78rem; padding: .6em 1.1em; }

/* Fact rows */
.mbj-facts { list-style: none; margin: 0; padding: 0; }
.mbj-fact {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--mb-line);
}
.mbj-fact:last-child { border-bottom: 0; }
.mbj-fact__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--mb-tint);
	color: var(--mb-violet);
	flex: none;
}
.mbj-fact__icon .mbj-icon { width: 22px; height: 22px; }
.mbj-fact__text { display: flex; flex-direction: column; line-height: 1.3; }
.mbj-fact__label {
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mb-muted);
}
.mbj-fact__value { color: var(--mb-ink); font-size: 1.02rem; font-weight: 700; }

/* Bottom bar */
.mbj-card__bar {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--cols, 4), 1fr);
	background: var(--mb-tint);
	border-top: 1px solid var(--mb-line);
}
.mbj-card__bar li {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 16px 8px;
	text-align: center;
	font-family: var(--mb-font-head);
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mb-ink);
	border-left: 1px solid var(--mb-line);
}
.mbj-card__bar li:first-child { border-left: 0; }
.mbj-card__bar .mbj-icon { width: 28px; height: 28px; color: var(--mb-violet); }

@media (max-width: 560px) {
	.mbj-card__body { padding: 22px 20px 20px; }
	.mbj-card__main { grid-template-columns: 1fr; }
	.mbj-card__bar { grid-template-columns: repeat(2, 1fr); }
	.mbj-card__bar li:nth-child(3) { border-left: 0; }
	.mbj-card__bar li:nth-child(n+3) { border-top: 1px solid var(--mb-line); }
}

/* ==========================================================================
   Page heads, archive
   ========================================================================== */
.mbj-pagehead {
	position: relative;
	padding: 72px 0 64px;
	color: #fff;
	background: radial-gradient(1200px 400px at 90% -10%, rgba(3, 255, 255, .35), transparent 60%), linear-gradient(135deg, #3A0A78 0%, #7404C2 45%, #5B73FD 100%);
	overflow: hidden;
}
.mbj-pagehead::after {
	content: '';
	position: absolute;
	right: -120px;
	bottom: -220px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	border: 26px solid rgba(255, 255, 255, .08);
}
.mbj-pagehead h1 { color: #fff; margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.mbj-pagehead p { max-width: 640px; margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }
.mbj-pagehead .mbj-eyebrow { color: var(--mb-cyan); }
.mbj-pagehead .mbj-eyebrow::before { background: var(--mb-cyan); }

.mbj-archive__body { padding-block: 48px 80px; }

.mbj-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.mbj-filters a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: .6em 1.2em;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--mb-line);
	color: var(--mb-ink);
	font-weight: 600;
	text-decoration: none;
}
.mbj-filters a span { font-size: .78rem; color: var(--mb-muted); }
.mbj-filters a:hover { box-shadow: inset 0 0 0 1px var(--mb-violet); color: var(--mb-violet); }
.mbj-filters a.is-active { background: var(--mb-violet); color: #fff; box-shadow: none; }
.mbj-filters a.is-active span { color: rgba(255, 255, 255, .75); }

.mbj-empty {
	text-align: center;
	padding: 56px 24px;
	border-radius: var(--mb-radius);
	background: var(--mb-bg-alt);
}
.mbj-empty .mbj-icon { width: 48px; height: 48px; color: var(--mb-violet); }
.mbj-empty h2 { margin: 12px 0 8px; }
.mbj-empty p { max-width: 520px; margin: 0 auto 20px; }

.mbj-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 56px;
	padding: 36px 40px;
	border-radius: var(--mb-radius);
	background: var(--mb-gradient);
	color: #fff;
	box-shadow: var(--mb-shadow-lg);
}
.mbj-banner h2 { color: #fff; margin: 0 0 6px; font-size: 1.6rem; }
.mbj-banner p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 620px; }

/* ==========================================================================
   Single offer
   ========================================================================== */
.mbj-offer__hero {
	position: relative;
	padding: 56px 0 72px;
	color: #fff;
	background: linear-gradient(120deg, rgba(42, 10, 74, .92) 0%, rgba(116, 4, 194, .82) 50%, rgba(31, 211, 255, .55) 100%), var(--hero, none) center / cover no-repeat, #3A0A78;
}
.mbj-offer__hero .mbj-badge { margin-left: 12px; }
.mbj-back { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; }
.mbj-back:hover { color: #fff; }
.mbj-offer__title {
	color: #fff;
	margin: 18px 0 14px;
	max-width: 820px;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.12;
}
.mbj-offer__lead { max-width: 720px; margin: 0 0 26px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }

.mbj-offer__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 40px;
	padding-block: 48px 64px;
}
.mbj-offer__aside { margin-top: -110px; }
.mbj-sticky {
	position: sticky;
	top: 110px;
	padding: 24px;
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow-lg);
}
.mbj-facts--box { margin-bottom: 20px; }
.mbj-askbox {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--mb-line);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mbj-askbox p { margin: 0 0 4px; font-weight: 700; color: var(--mb-ink); }
.mbj-askbox a { display: inline-flex; align-items: center; gap: 10px; color: var(--mb-text); text-decoration: none; font-weight: 600; }
.mbj-askbox a .mbj-icon { color: var(--mb-violet); }
.mbj-askbox a:hover { color: var(--mb-violet); }

.mbj-perks {
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}
.mbj-perks li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border-radius: var(--mb-radius-sm);
	background: var(--mb-tint);
	font-family: var(--mb-font-head);
	font-weight: 700;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--mb-ink);
}
.mbj-perks .mbj-icon { width: 30px; height: 30px; color: var(--mb-violet); }

.mbj-offer__section { margin-bottom: 36px; }
.mbj-offer__section h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	font-size: 1.35rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.mbj-offer__sicon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--mb-gradient);
	color: #fff;
	flex: none;
}
.mbj-offer__sicon .mbj-icon { width: 22px; height: 22px; }

.mbj-prose { font-size: 1.02rem; line-height: 1.75; }
.mbj-prose ul { list-style: none; padding: 0; margin: 0 0 1em; }
.mbj-prose ul li { position: relative; padding-left: 30px; margin-bottom: .45em; }
.mbj-prose ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: .45em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--mb-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A05FC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.mbj-offer__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 12px;
	padding: 32px 36px;
	border-radius: var(--mb-radius);
	background: var(--mb-gradient);
	color: #fff;
}
.mbj-offer__cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.mbj-offer__cta p { margin: 0; color: rgba(255, 255, 255, .9); }

.mbj-offer__more { padding-bottom: 80px; }
.mbj-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 24px; }

@media (max-width: 960px) {
	.mbj-offer__layout { grid-template-columns: 1fr; }
	.mbj-offer__aside { margin-top: 0; order: -1; }
	.mbj-sticky { position: static; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.mbj-formwrap {
	padding: clamp(22px, 4vw, 40px);
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow-lg);
	scroll-margin-top: 120px;
}
.mbj-form { display: flex; flex-direction: column; gap: 18px; }
.mbj-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .mbj-form__grid { grid-template-columns: 1fr; } }

.mbj-field { display: flex; flex-direction: column; gap: 7px; margin: 0; border: 0; padding: 0; min-width: 0; }
.mbj-field__label { font-weight: 600; font-size: .92rem; color: var(--mb-ink); padding: 0; }
.mbj-field__label i, .mbj-consent i, .mbj-form__note i { color: var(--mb-violet); font-style: normal; }
.mbj-field__label small { font-weight: 400; color: var(--mb-muted); }

.mbj-form input[type=text],
.mbj-form input[type=email],
.mbj-form input[type=tel],
.mbj-form input[type=date],
.mbj-form select,
.mbj-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1.5px solid var(--mb-line);
	border-radius: var(--mb-radius-sm);
	background: var(--mb-bg-alt);
	color: var(--mb-ink);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mbj-form textarea { min-height: 120px; resize: vertical; }
.mbj-form input:focus,
.mbj-form select:focus,
.mbj-form textarea:focus {
	outline: 0;
	border-color: var(--mb-violet);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(154, 5, 252, .12);
}
.mbj-field.has-error input,
.mbj-field.has-error select,
.mbj-field.has-error textarea { border-color: #E5395B; background: #FFF6F8; }
.mbj-field__err { color: #D32F55; font-size: .85rem; font-weight: 600; }

.mbj-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.mbj-chip { position: relative; cursor: pointer; margin: 0; }
.mbj-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mbj-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .55em 1.1em;
	border-radius: 999px;
	border: 1.5px solid var(--mb-line);
	background: var(--mb-bg-alt);
	font-weight: 600;
	color: var(--mb-ink);
	transition: all .18s ease;
}
.mbj-chip:hover span { border-color: rgba(154, 5, 252, .45); }
.mbj-chip input:checked + span {
	border-color: var(--mb-violet);
	background: var(--mb-violet);
	color: #fff;
	box-shadow: 0 8px 18px -10px rgba(154, 5, 252, .8);
}
.mbj-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(154, 5, 252, .2); }
.has-error .mbj-chip span { border-color: #F2A6B6; }

.mbj-file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 2px dashed rgba(154, 5, 252, .3);
	border-radius: var(--mb-radius-sm);
	background: var(--mb-tint);
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}
.mbj-file:hover, .mbj-file.has-file { border-color: var(--mb-violet); background: #F1E6FF; }
.mbj-file > .mbj-icon { width: 34px; height: 34px; color: var(--mb-violet); }
.mbj-file__text { display: flex; flex-direction: column; }
.mbj-file__text strong { color: var(--mb-ink); word-break: break-all; }
.mbj-file__text span { font-size: .85rem; color: var(--mb-muted); }
.mbj-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.mbj-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: .85rem;
	line-height: 1.55;
	color: var(--mb-text);
	cursor: pointer;
}
.mbj-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--mb-violet); }
.mbj-consent.has-error span { color: #D32F55; }
.mbj-form__note { margin: 0; font-size: .82rem; color: var(--mb-muted); }
.mbj-form button[type=submit] { align-self: flex-start; }
@media (max-width: 640px) { .mbj-form button[type=submit] { align-self: stretch; } }

.mbj-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.mbj-alert {
	margin-bottom: 18px;
	padding: 14px 18px;
	border-radius: var(--mb-radius-sm);
	background: #FFF1F4;
	color: #B3264A;
	font-weight: 600;
}
.mbj-success {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 24px;
	border-radius: var(--mb-radius-sm);
	background: linear-gradient(135deg, #F3EAFF, #E6FCFF);
}
.mbj-success > .mbj-icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 50%;
	background: var(--mb-gradient);
	color: #fff;
	box-sizing: border-box;
}
.mbj-success strong { display: block; font-size: 1.15rem; color: var(--mb-ink); margin-bottom: 4px; }
.mbj-success p { margin: 0; }

/* ==========================================================================
   Page sections (used inside block content of "MB Jobs – sekcje" pages)
   ========================================================================== */
.mbj-page > * { margin-block: 0; }
.mbj-page .wp-block-group.mbj-section {
	padding: clamp(56px, 8vw, 104px) 20px;
	margin: 0;
}
.mbj-page .mbj-section > .wp-block-group__inner-container,
.mbj-page .mbj-section > .mbj-inner,
.mbj-page .mbj-inner {
	max-width: var(--mb-wrap);
	margin-inline: auto;
}
.mbj-section--alt { background: var(--mb-bg-alt); }
.mbj-section--tint { background: var(--mb-gradient-soft); }
.mbj-section .mbj-section-head { max-width: 720px; margin-bottom: 44px; }
.mbj-section .mbj-section-head.is-center { margin-inline: auto; text-align: center; }
.mbj-section .mbj-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 12px 0 14px; }
.mbj-section .mbj-section-head p { font-size: 1.08rem; margin: 0; }

/* Hero */
.mbj-page .wp-block-group.mbj-hero {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: clamp(56px, 8vw, 110px) 20px clamp(70px, 9vw, 120px);
	color: #fff;
	background:
		radial-gradient(900px 520px at 100% 0%, rgba(3, 255, 255, .38), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(154, 5, 252, .55), transparent 60%),
		linear-gradient(135deg, #2A0A4A 0%, #5A06A8 55%, #4E63F0 100%);
}
.mbj-hero::before,
.mbj-hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.mbj-hero::before { width: 680px; height: 680px; right: -200px; top: -260px; border: 28px solid rgba(255, 255, 255, .06); }
.mbj-hero::after { width: 380px; height: 380px; left: -140px; bottom: -200px; border: 20px solid rgba(3, 255, 255, .12); }
.mbj-hero > .wp-block-group__inner-container,
.mbj-hero > .wp-block-columns,
.mbj-hero .mbj-inner { position: relative; z-index: 1; }
.mbj-hero h1 {
	color: #fff;
	font-size: clamp(2.3rem, 5vw, 3.9rem);
	font-weight: 800;
	line-height: 1.05;
	margin: 16px 0 20px;
}
.mbj-hero h1 strong, .mbj-hero h1 mark {
	background: linear-gradient(90deg, #03FFFF, #9BE8FF);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.mbj-hero p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 560px; }
.mbj-hero .mbj-eyebrow { color: var(--mb-cyan); }
.mbj-hero .mbj-eyebrow::before { background: var(--mb-cyan); }
.mbj-hero .wp-block-buttons { gap: 14px; margin-top: 30px; }
.mbj-hero-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mbj-hero-checks li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; }
.mbj-hero-checks .mbj-icon { color: var(--mb-cyan); }

.mbj-hero-visual { position: relative; }
.mbj-hero-visual figure,
.mbj-hero-visual .wp-block-image { margin: 0; }
.mbj-hero-visual img {
	width: 100%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.mbj-floating {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 16px;
	background: #fff;
	color: var(--mb-ink);
	box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45);
	font-size: .85rem;
	line-height: 1.25;
	animation: mbj-float 6s ease-in-out infinite;
}
.mbj-floating strong { display: block; font-family: var(--mb-font-head); font-size: 1.05rem; }
.mbj-floating .mbj-icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	border-radius: 12px;
	background: var(--mb-gradient);
	color: #fff;
	box-sizing: border-box;
}
.mbj-floating--a { left: -28px; bottom: 54px; }
.mbj-floating--b { right: -18px; top: 36px; animation-delay: -3s; }
@keyframes mbj-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 781px) {
	.mbj-floating--a { left: 10px; bottom: 16px; }
	.mbj-floating--b { right: 10px; top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mbj-floating { animation: none; } }

/* Stats strip */
.mbj-page .wp-block-group.mbj-stats {
	position: relative;
	z-index: 2;
	max-width: var(--mb-wrap);
	margin: -54px auto 0;
	padding: 28px;
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow-lg);
	box-sizing: border-box;
	width: calc(100% - 40px);
}
.mbj-stats .wp-block-columns { margin: 0; gap: 0; }
.mbj-stats .wp-block-column { text-align: center; padding: 8px 12px; border-left: 1px solid var(--mb-line); }
.mbj-stats .wp-block-column:first-child { border-left: 0; }
.mbj-stat-num {
	margin: 0;
	font-family: var(--mb-font-head);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.1;
	background: var(--mb-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.mbj-stat-label { margin: 4px 0 0; font-size: .9rem; color: var(--mb-muted); font-weight: 600; }
@media (max-width: 781px) {
	.mbj-stats .wp-block-column { border-left: 0; border-top: 1px solid var(--mb-line); padding-block: 16px; }
	.mbj-stats .wp-block-column:first-child { border-top: 0; }
}

/* Feature / sector cards */
.mbj-cards.wp-block-columns { gap: 24px; }
.mbj-cards > .wp-block-column,
.mbj-feature {
	padding: 30px 28px;
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.mbj-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow-lg); }
.mbj-cards h3 { font-size: 1.25rem; font-weight: 800; margin: 18px 0 10px; }
.mbj-cards p { margin: 0; }
.mbj-ico {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--mb-gradient);
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(154, 5, 252, .7);
}
.mbj-ico .mbj-icon { width: 28px; height: 28px; }
.mbj-ico--soft { background: var(--mb-tint); color: var(--mb-violet); box-shadow: none; }

.mbj-sector { padding: 0 !important; overflow: hidden; }
.mbj-sector .wp-block-image { margin: 0; }
.mbj-sector .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mbj-sector-body { padding: 26px 28px 30px; }
.mbj-sector-body h3 { margin-top: 0; }
.mbj-taglist { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mbj-taglist li { padding: .35em .85em; border-radius: 999px; background: var(--mb-tint); color: var(--mb-violet-700); font-size: .82rem; font-weight: 600; }

/* Steps */
.mbj-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.mbj-steps li {
	position: relative;
	padding: 28px 20px 22px;
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow);
	counter-increment: step;
}
.mbj-steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--mb-font-head);
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 14px;
	background: var(--mb-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.mbj-steps li:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 44px;
	right: -14px;
	width: 10px;
	height: 10px;
	border-top: 2.5px solid var(--mb-violet);
	border-right: 2.5px solid var(--mb-violet);
	transform: rotate(45deg);
	opacity: .5;
}
.mbj-steps strong { display: block; color: var(--mb-ink); font-family: var(--mb-font-head); font-size: 1.05rem; margin-bottom: 6px; }
.mbj-steps span { font-size: .92rem; line-height: 1.55; }
@media (max-width: 1024px) { .mbj-steps { grid-template-columns: repeat(2, 1fr); } .mbj-steps li::after { display: none; } }
@media (max-width: 560px) { .mbj-steps { grid-template-columns: 1fr; } }

/* Split (image + text) */
.mbj-split.wp-block-columns { gap: clamp(32px, 6vw, 80px); align-items: center; }
.mbj-photo { position: relative; margin: 0; }
.mbj-photo img { width: 100%; border-radius: 28px; box-shadow: var(--mb-shadow-lg); display: block; }
.mbj-photo::before {
	content: '';
	position: absolute;
	inset: 18px -18px -18px 18px;
	border-radius: 28px;
	background: var(--mb-gradient);
	z-index: -1;
	opacity: .9;
}
.mbj-photo--portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.mbj-split h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 12px 0 18px; }
.mbj-split p { font-size: 1.04rem; line-height: 1.75; }
.mbj-signature { font-family: var(--mb-font-head); font-weight: 700; color: var(--mb-ink); }
.mbj-quote {
	margin: 24px 0;
	padding: 20px 24px;
	border-left: 4px solid transparent;
	border-image: var(--mb-gradient) 1;
	background: var(--mb-tint);
	font-family: var(--mb-font-head);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--mb-ink);
}
.mbj-quote p { margin: 0; font-size: inherit !important; line-height: 1.5 !important; }

.mbj-checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.mbj-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.mbj-checklist .mbj-icon {
	width: 24px;
	height: 24px;
	padding: 4px;
	border-radius: 50%;
	background: var(--mb-tint);
	color: var(--mb-violet);
	box-sizing: border-box;
	margin-top: 1px;
}

/* Trust / KRAZ */
.mbj-trust-card {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
	padding: clamp(28px, 5vw, 56px);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--mb-shadow-lg);
}
@media (max-width: 860px) { .mbj-trust-card { grid-template-columns: 1fr; } }
.mbj-kraz {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 22px;
	padding: 12px 20px 12px 12px;
	border-radius: 999px;
	background: var(--mb-tint);
}
.mbj-kraz .mbj-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mb-gradient); color: #fff; box-sizing: border-box; }
.mbj-kraz strong { display: block; font-family: var(--mb-font-head); font-size: 1.3rem; color: var(--mb-ink); line-height: 1.1; }
.mbj-kraz small { color: var(--mb-muted); }
.mbj-cert { display: block; position: relative; transform: rotate(2deg); transition: transform .3s ease; }
.mbj-cert:hover { transform: rotate(0) scale(1.02); }
.mbj-cert img { width: 100%; border-radius: 12px; box-shadow: 0 30px 60px -24px rgba(40, 10, 80, .45); border: 1px solid var(--mb-line); display: block; }
.mbj-cert span {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	padding: .5em 1em;
	border-radius: 999px;
	background: rgba(28, 21, 48, .82);
	color: #fff;
	font-size: .8rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Team */
.mbj-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 28px; }
.mbj-person {
	padding: 28px;
	border-radius: var(--mb-radius);
	background: #fff;
	box-shadow: var(--mb-shadow);
	text-align: center;
}
.mbj-person__photo {
	width: 168px;
	height: 168px;
	margin: 0 auto 18px;
	padding: 5px;
	border-radius: 50%;
	background: var(--mb-gradient);
}
.mbj-person__photo img,
.mbj-person__photo span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid #fff; box-sizing: border-box; display: block; }
.mbj-person__photo span { display: grid; place-items: center; background: var(--mb-tint); color: var(--mb-violet); font-family: var(--mb-font-head); font-size: 3rem; font-weight: 800; }
.mbj-person h3 { margin: 0; font-size: 1.35rem; font-weight: 800; }
.mbj-person .mbj-role { margin: 4px 0 12px; color: var(--mb-violet); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.mbj-person p { margin: 0; font-size: .96rem; }

/* FAQ (core Details block) */
.mbj-faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.mbj-faq details,
.mbj-faq .wp-block-details {
	border-radius: var(--mb-radius-sm);
	background: #fff;
	box-shadow: var(--mb-shadow);
	overflow: hidden;
	margin: 0;
}
.mbj-faq summary {
	position: relative;
	padding: 20px 60px 20px 24px;
	list-style: none;
	cursor: pointer;
	font-family: var(--mb-font-head);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--mb-ink);
}
.mbj-faq summary::-webkit-details-marker { display: none; }
.mbj-faq summary::after {
	content: '';
	position: absolute;
	right: 22px;
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background: var(--mb-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A05FC' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .25s ease;
}
.mbj-faq details[open] summary::after { transform: rotate(45deg); background-color: #EAD9FF; }
.mbj-faq details[open] summary { color: var(--mb-violet-700); }
.mbj-faq details > *:not(summary) { margin: 0; padding: 0 24px; }
.mbj-faq details > *:not(summary):last-child { padding-bottom: 22px; }
.mbj-faq details ul, .mbj-faq details ol { padding-left: 44px; }
.mbj-faq details p { line-height: 1.7; }

/* Contact CTA */
.mbj-cta {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	align-items: center;
	gap: 32px;
	padding: clamp(32px, 5vw, 56px);
	border-radius: 28px;
	color: #fff;
	background: radial-gradient(600px 300px at 100% 0%, rgba(3, 255, 255, .35), transparent 60%), linear-gradient(135deg, #3A0A78 0%, #7404C2 55%, #5B73FD 100%);
}
.mbj-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: 10px 0 12px; }
.mbj-cta p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.mbj-cta .mbj-eyebrow { color: var(--mb-cyan); }
.mbj-cta .mbj-eyebrow::before { background: var(--mb-cyan); }
.mbj-cta .wp-block-buttons { gap: 12px; margin-top: 22px; }
.mbj-cta-person { text-align: center; }
.mbj-cta-person img { width: min(260px, 100%); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .25); }
.mbj-cta-person strong { display: block; margin-top: 12px; font-family: var(--mb-font-head); font-size: 1.15rem; }
.mbj-cta-person small { color: rgba(255, 255, 255, .75); }
@media (max-width: 781px) { .mbj-cta { grid-template-columns: 1fr; } .mbj-cta-person { order: -1; } }

/* Contact page */
.mbj-contactlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mbj-contactlist li {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px 18px;
	border-radius: var(--mb-radius-sm);
	background: #fff;
	box-shadow: var(--mb-shadow);
	color: var(--mb-ink);
	font-weight: 600;
	line-height: 1.4;
}
.mbj-contactlist small { display: block; font-weight: 500; font-size: .78rem; color: var(--mb-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.mbj-contactlist a { color: var(--mb-ink); text-decoration: none; font-size: 1.1rem; }
.mbj-contactlist a:hover { color: var(--mb-violet); }
.mbj-contactlist__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--mb-gradient);
	color: #fff;
	flex: none;
}
.mbj-social { display: flex; gap: 10px; margin-top: 18px; }
.mbj-social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--mb-tint);
	color: var(--mb-violet);
	transition: all .2s ease;
}
.mbj-social a:hover { background: var(--mb-violet); color: #fff; }
.mbj-map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--mb-radius); box-shadow: var(--mb-shadow); display: block; }

/* Reveal animation */
.mbj-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.mbj-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mbj-reveal { opacity: 1; transform: none; transition: none; } }
.block-editor-page .mbj-reveal, .editor-styles-wrapper .mbj-reveal { opacity: 1; transform: none; }

/* Footer touches */
.ct-footer { --theme-link-hover-color: var(--mb-cyan); }
