/* ============================================================
   «Вакансії» (vacancies.php, single-bm_vacancy.php, template-parts/vacancies/*): owner Claude Design handoff 2026-10-20
   (design_handoff_vacancies, README §0–§6 high-fidelity; the prototype «Вакансії - прототип (офлайн).html») — the list,
   the vacancy landing, the empty state, the vacancy form's look (.bm-form--vac: the form component's markup, the design's
   field style) and the sticky «Подзвонити / Viber» bar.
   Values = the README / VacanciesPage.jsx (measured against the prototype at 1440 / 1280 / 1024 / 768 / 640 / 390 / 360);
   tokens of base.css: brand orange #F85A00 (hover #D94E00, never darker), navy #2A2E47, greys g50–g600, Viber --bm-vb
   #7360F2 (hover #5F4BDB, the design's). Deviations (reported): the container is .bm-wrap (pad 32 / 24 / 18 / 14 px, the
   site's; the design's clamp(16px, 3vw, 32px) differs by up to 7 px), the breadcrumb is the site's (.bm-crumbs, 12.5 px),
   the scroll to the form honours the site's scroll-padding (sticky header) instead of the design's 8 px, the text fields
   keep the site's field tokens (base.css --bm-field-border / --bm-field-ph, owner 2026-10-12 «во всех формах»), the
   experience choice is three exclusive check boxes (a CF7 radio is always required) drawn as the design's buttons.
   Breakpoints (README §6, media queries, never JS): <= 380 / <= 640 / 641-1000 / 1001-1240 / > 1240 (+ <= 599 / <= 430 /
   <= 340 of the font-swap fixes B, E, F); the call bar on phones and on coarse-pointer tablets (<= 1000). Prefix bm-vac- (grepped: no other user) + .bm-form--vac; nothing here
   styles another page. Motion 140-260 ms; prefers-reduced-motion: none. Touch targets >= 44 px.
   ============================================================ */

.bm-vac {
	--bm-vac-mut-d: #AEB2C6;   /* secondary text on navy (README --text-on-dark-mut) */
	--bm-vac-vb-hover: #5F4BDB; /* Viber hover (README) */
	--bm-vac-err: #D93025;     /* field error (README) */
	--bm-vac-ink2: #44485A;    /* the experience chip's text (README --bm-gray-700) */
	--bm-vac-line-d: rgba(255, 255, 255, .12);
	--bm-vac-stripe: repeating-linear-gradient(135deg, #F85A00 0 5px, rgba(248, 90, 0, .3) 5px 10px);
	color: var(--bm-text);
}

/* ---------- the texts before the web fonts are in (font-swap CLS; round 54 fixers 2 and 3, simplified in round 55) ----------
   On a landing view (no same-site referrer) inc/assets.php draws the page in base.css's metric-matched fallback faces
   (html.bm-fl) until Montserrat and Noto Sans are in, then swaps once. These pages use those faces like every other
   page: round 54's own faces ('BM Vac Fig' / 'BM Vac D' / 'BM Vac T', local Arial per character) and the spacing of
   single texts in the fallback state (per vacancy through data-vac) were fitted to the round-54 texts — they broke
   when a text changed and do nothing where there is no Arial (Android). What stays is layout that does not depend on
   the glyph widths where the swap had moved the page: (A) the list row's «Детальніше» under the pay on phones, (B) a
   vacancy's crumbs row on one line, (C) the hero's Viber / «Залишити заявку ↓» widths > 1000 px, (D) the list row's
   side column as wide as its pay, no width of its own; and the RU headings without dictionary hyphenation; round 55
   adds (E) the list / empty hero's eyebrow broken before the city on phones <= 430 px and (F) the RU H1 at 28 px up to
   430 px. What the swap still moves (a lead or a list row's title a line longer in one face at single widths) is
   measured in the owner's checklist (§4) and by tools/bm_vac_browser.py («swap CLS»). */

/* ---------- shared: icons, eyebrow, headings, buttons, links ---------- */
.bm-vac-ico {
	display: block;
	flex: none;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.bm-vac-ico--viber { fill: currentColor; stroke: none; }

.bm-vac .bm-eyebrow { margin: 0 0 14px; line-height: 1.65; }
/* the eyebrow-looking H2s (C19: «Кого шукаємо», the band titles) */
.bm-vac h2.bm-eyebrow { font-family: var(--bm-fb); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.bm-vac-band .bm-eyebrow, .bm-vac-contact .bm-eyebrow { color: #fff; }

.bm-vac-h1 {
	margin: 0 0 18px;
	font: 800 clamp(32px, 1rem + 3vw, 58px)/1 var(--bm-fd);
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: var(--bm-strong);
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}
/* RU (no RU design; fixer 2, round 54 — round 55: + the «Кого шукаємо» traits): no automatic hyphenation in the H1, the
   list rows' titles and the traits. Chrome's Russian dictionary (fetched on demand) split them at odd points («САНТЕХНИК
   МОД- / УЛЬНЫХ», «МАСТЕР-СТРОИТ- / ЕЛЬ») and differently in the fallback face and in Montserrat, so the font swap added
   a line to the H1 (RU «Сантехник» at 1001-1049 px, CLS 0.029). Whole words fit from 320 px; a long trait breaks only at
   the data's soft hyphen («ДИСЦИПЛИНИ-РОВАННЫЙ») (tools/bm_vac_browser.py words, drawn the same way); UA keeps the
   design's auto */
.bm-vac-h1:lang(ru), .bm-vac-row__title:lang(ru), .bm-vac-who__trait:lang(ru) { hyphens: manual; }
.bm-vac-hero--landing .bm-vac-h1 { margin-bottom: 20px; }
/* the list's H1 with the counter beside it (C20: the badge outside the H1, aria-hidden) */
.bm-vac-h1-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3em;
	margin: 0 0 18px;
	font: 800 clamp(32px, 1rem + 3vw, 58px)/1 var(--bm-fd);
	letter-spacing: -.02em;
}
.bm-vac-h1-row .bm-vac-h1 { margin: 0; font-size: inherit; }
.bm-vac-h1__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.25em;
	height: 1.25em;
	padding: 0 .25em;
	border-radius: var(--bm-r);
	background: var(--bm-orange-fill);
	font-size: .55em;
	letter-spacing: 0;
	color: #fff;
}
.bm-vac-lead { max-width: 560px; margin: 0; font-size: clamp(15px, .4vw + 13px, 17.5px); line-height: 1.6; text-wrap: pretty; }
.bm-vac-hero--landing .bm-vac-lead { max-width: 520px; }

.bm-vac-h2 {
	margin: 0 0 16px;
	font: 800 clamp(22px, .8rem + 1.6vw, 34px)/1.12 var(--bm-fd);
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--bm-strong);
	text-wrap: balance;
	overflow-wrap: break-word;
}

.bm-vac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--bm-r);
	font: 700 13.5px/1.65 var(--bm-fb);
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.bm-vac-btn .bm-vac-ico { width: 16px; height: 16px; }
.bm-vac-btn--call { background: var(--bm-orange-fill); }
.bm-vac-btn--call:hover { background: var(--bm-orange-fill-hover); color: #fff; }
.bm-vac-btn--viber { background: var(--bm-vb); }
.bm-vac-btn--viber:hover { background: var(--bm-vac-vb-hover); color: #fff; }
.bm-vac-btn--viber .bm-vac-ico { width: 17px; height: 17px; }

/* «Детальніше ->»: the card's one link, stretched over the card (README §9) */
.bm-vac-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--bm-orange-text);
	text-decoration: none;
}
.bm-vac-more::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bm-vac-more .bm-vac-ico { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 180ms ease; }
.bm-vac-more:focus-visible { outline: none; }
.bm-vac-row:hover .bm-vac-more, .bm-vac-other:hover .bm-vac-more { color: var(--bm-orange-deep); }
.bm-vac-row:hover .bm-vac-more .bm-vac-ico, .bm-vac-other:hover .bm-vac-more .bm-vac-ico { transform: translateX(4px); }
.bm-vac-row:has(.bm-vac-more:focus-visible), .bm-vac-other:has(.bm-vac-more:focus-visible) { outline: 2px solid var(--bm-orange); outline-offset: 2px; }

.bm-vac-num { font: 700 13px/1.65 var(--bm-fd); color: var(--bm-orange); }
.bm-vac-unit { font-size: .55em; }

/* ---------- first screen #vc-hero (README §2.1, §3.1; the empty state §1) ---------- */
.bm-vac-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 36px); }
.bm-vac-hero--landing { padding-bottom: clamp(40px, 5vw, 72px); }
.bm-vac-hero--empty { padding-bottom: clamp(40px, 5vw, 64px); }
/* the crumbs row: the crumbs and, on a vacancy's page with 2+ open, «← Усі вакансії N» at the row's end */
.bm-vac-hero__crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.bm-vac-hero__crumbs .bm-crumbs { min-width: 0; }
/* (B) a vacancy's page (fixer 3, round 54): the row's height no longer follows the glyph widths — the flex row wrapped
   «← Усі вакансії N» under the crumbs, and the last crumb onto a line of its own, at widths that differed between the
   fallback face and Noto Sans (the swap moved the whole hero 18-28 px: UA «Сантехнік» 410-411 px, CLS 0.25; RU 561 / 631
   px, 0.35-0.42). Now: one line, the current page's crumb shortened with «…» where the row is short; the back link at
   the row's end; up to 599 px the back link under the crumbs and the vacancy's crumb on a line of its own. Not on the
   list page showing its one open vacancy (n1, data-vac-state 1: its current crumb is «Вакансії», no back link) */
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs { display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-items: start; }
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs { max-width: 100%; }
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs ol { flex-wrap: nowrap; }
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs li { flex: none; }
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-vac-hero__intro { margin-top: clamp(20px, 3vw, 40px); }
/* (E) the list / empty hero's eyebrow in two parts (template-parts/vacancies/helpers.php bm_vac_t_eyebrow(): «Робота на
   виробництві ·» + «м. Славутич»), neither broken inside: a line breaks only between them; on phones <= 430 px the city
   on a line of its own (see <= 430). The one line fitted from 389-391 px depending on the face, so the font swap moved
   the hero at 390 px (0.019, round 55): a fixed wrap point instead of one at the glyph widths. As boxes of their own, a
   city changing lines in the swap would score its whole sideways move (0.2 at 390 px with the break gone):
   tools/bm_vac_browser.py's «eyebrow E» and «swap CLS» watch it. Above 430 px (one line) the city, a box of its own,
   also moves sideways in every swap by the copy's width difference between the faces: up to + 0.00008 at
   the desktop / tablet widths (round 55 fixer; part of the residues listed in the owner's checklist §4) */
.bm-vac-eb__copy, .bm-vac-eb__city { white-space: nowrap; }
.bm-vac-hero--empty .bm-vac-hero__intro { max-width: 720px; }

/* «<- Усі вакансії [N]» */
.bm-vac-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13.5px; font-weight: 700; line-height: 1.2; color: var(--bm-navy-700); text-decoration: none; }
.bm-vac-back:hover { color: var(--bm-link-hover); }
.bm-vac-back .bm-vac-ico { width: 16px; height: 16px; stroke-width: 2.2; }
.bm-vac-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--bm-orange-fill);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}
/* an editor's view of a vacancy visitors do not see here */
.bm-vac-preview { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--bm-orange); background: var(--bm-orange-soft); font-size: 14px; line-height: 1.5; color: var(--bm-strong); }

.bm-vac-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	margin-top: clamp(20px, 3vw, 40px);
}
.bm-vac-hero__main { min-width: 0; }

.bm-vac-hero__pay { margin: 28px 0 30px; }
.bm-vac-hero__pay-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; line-height: 1.65; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-g600); }
.bm-vac-hero__pay-value { margin: 0; font: 800 clamp(28px, 1rem + 2vw, 46px)/1.08 var(--bm-fd); letter-spacing: -.01em; color: var(--bm-navy-700); text-wrap: balance; }
.bm-vac-hero__pay--sum .bm-vac-hero__pay-value { line-height: 1; white-space: nowrap; }
.bm-vac-hero__pay--own .bm-vac-hero__pay-value { white-space: normal; } /* the vacancy's own hero text (heroPay) */
.bm-vac-hero__pay-note { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--bm-g600); }

.bm-vac-hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bm-vac-hero__acts .bm-vac-btn--call { width: 214px; }
.bm-vac-hero__acts .bm-vac-btn--call .bm-vac-ico { width: 17px; height: 17px; }
.bm-vac-hero__acts .bm-vac-btn--viber .bm-vac-ico { width: 27px; height: 27px; }
.bm-vac-hero__acts .bm-vac-btn--viber span { font-size: 16.5px; }
/* «Залишити заявку ↓» (a[href="#vc-apply"][data-bm-forms]: forms.js scrolls) */
.bm-vac-apply {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bm-navy-700);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.bm-vac-apply:hover { color: var(--bm-link-hover); }
/* (C) > 1000 px (the row beside the photos): «Viber» and «Залишити заявку ↓» with a width of their own, a little over
   their text in both faces (base.css's fallback face and Noto Sans, UA and RU), so the row wraps at the same column
   width before and after the swap (it wrapped «Залишити заявку» under the buttons at 1131 px in one face only: CLS
   0.14-0.23; fixer 3, round 54) */
@media (min-width: 1001px) {
	.bm-vac-hero__acts .bm-vac-btn--viber { min-width: 141px; }
	.bm-vac-hero__acts .bm-vac-apply { min-width: 11.5em; }
}
.bm-vac-apply .bm-vac-ico { width: 15px; height: 15px; stroke-width: 2.2; }

/* the mosaic: the big photo over two rows, the small 1:1 photo, the navy «98%» tile */
.bm-vac-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bm-vac-mosaic__big { position: relative; grid-row: span 2; min-height: 0; overflow: hidden; border-radius: var(--bm-r); background: var(--bm-g100); }
/* a photo fills its box (the box's size = its aspect-ratio / grid area; the photo never sizes it) */
.bm-vac-mosaic__big img, .bm-vac-mosaic__small img, .bm-vac-row__img img, .bm-vac-step__img img, .bm-vac-other__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bm-vac-mosaic__small { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--bm-r); background: var(--bm-g100); }
.bm-vac-tile {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
	padding: clamp(16px, 2vw, 26px);
	border-radius: var(--bm-r);
	background: var(--bm-navy-700);
	color: #fff;
}
.bm-vac-tile > span { display: block; }
.bm-vac-tile__big { font: 800 clamp(44px, 1rem + 3vw, 72px)/.9 var(--bm-fd); letter-spacing: -.02em; color: var(--bm-orange); }
.bm-vac-tile__l1 { font-size: 15px; font-weight: 600; line-height: 1.35; }
.bm-vac-tile__l2 { font-size: 13px; line-height: 1.4; color: var(--bm-vac-mut-d); }

/* ---------- list rows (README §2.2) ---------- */
.bm-vac-rows { padding: 0 0 clamp(48px, 6vw, 88px); }
.bm-vac-rows__list { display: flex; flex-direction: column; gap: 12px; }
.bm-vac-row {
	position: relative;
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	padding: 14px 28px 14px 14px;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-md);
	background: #fff;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}
.bm-vac-row:hover { border-color: var(--bm-navy-700); box-shadow: var(--bm-shadow-md); }
.bm-vac-row__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--bm-r); background: var(--bm-g100); }
.bm-vac-row__body { min-width: 0; }
.bm-vac-row__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.bm-vac-exp {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 2px;
	background: var(--bm-g100);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--bm-vac-ink2);
}
.bm-vac-row__title {
	margin: 0;
	font: 800 clamp(19px, .7rem + 1vw, 26px)/1.15 var(--bm-fd);
	letter-spacing: -.015em; /* the design system's h1-h4 --ls-tight (the prototype's H3) */
	text-transform: uppercase;
	color: var(--bm-strong);
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}
.bm-vac-row__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--bm-g600); text-wrap: pretty; }
.bm-vac-row__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; min-width: 0; }
.bm-vac-row__pay { min-width: 0; text-align: right; }
.bm-vac-row__sum { margin: 0; font: 800 clamp(19px, .7rem + .9vw, 24px)/1.1 var(--bm-fd); color: var(--bm-strong); }
.bm-vac-row__pay--sum .bm-vac-row__sum { white-space: nowrap; }
.bm-vac-row__sum .bm-vac-unit { font-size: .7em; }
.bm-vac-row__hand { margin: 4px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--bm-g600); }
/* (D) > 1000 px the side column is as wide as its pay (no width of its own: fixer 2's min-width of 10.5 sums made the
   text column 12-14 px narrower and wrapped «МАЙСТЕР-БУДІВЕЛЬНИК МОДУЛЬНИХ БУДІВЕЛЬ» at 1139-1157 / 1392-1412 px;
   fixer 3) */

/* ---------- the band of terms (README §3.2) ---------- */
.bm-vac-band { background: var(--bm-navy-700); color: #fff; }
.bm-vac-band__head { padding-top: clamp(26px, 3vw, 38px); }
.bm-vac-band[data-n="1"] { --bm-vac-cols: 1; }
.bm-vac-band[data-n="2"] { --bm-vac-cols: 2; }
.bm-vac-band[data-n="3"] { --bm-vac-cols: 3; }
.bm-vac-band[data-n="4"] { --bm-vac-cols: 4; }
.bm-vac-band[data-n="5"] { --bm-vac-cols: 5; }
.bm-vac-band[data-n="6"] { --bm-vac-cols: 6; }
.bm-vac-band__list { display: grid; grid-template-columns: repeat(var(--bm-vac-cols, 4), minmax(0, 1fr)); }
.bm-vac-band__item { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: clamp(22px, 2.6vw, 34px) clamp(10px, 1.4vw, 22px); }
.bm-vac-band__item:not(:first-child) { border-left: 1px solid var(--bm-vac-line-d); }
.bm-vac-band__item > .bm-vac-ico { width: 26px; height: 26px; color: var(--bm-orange); }
.bm-vac-band__copy { min-width: 0; }
.bm-vac-band__h { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.bm-vac-band__text { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--bm-vac-mut-d); }

/* ---------- section heads (steps, where): the title left, a short text right ---------- */
.bm-vac-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(22px, 3vw, 36px); }
.bm-vac-head__main { min-width: 0; max-width: 640px; }
.bm-vac-head .bm-vac-h2 { margin: 0; }

/* ---------- «Що робитимете» (README §3.3) ---------- */
.bm-vac-steps { padding: clamp(48px, 6vw, 96px) 0; }
.bm-vac-steps__lead { max-width: 427px; margin: 0; font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--bm-navy-700); text-wrap: pretty; }
.bm-vac-steps__list[data-n="1"] { --bm-vac-cols: 1; }
.bm-vac-steps__list[data-n="2"] { --bm-vac-cols: 2; }
.bm-vac-steps__list[data-n="3"] { --bm-vac-cols: 3; }
.bm-vac-steps__list { display: grid; grid-template-columns: repeat(var(--bm-vac-cols, 4), minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.bm-vac-step { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--bm-border); border-radius: var(--bm-r); background: #fff; }
.bm-vac-step__img { position: relative; aspect-ratio: 4 / 3; background: var(--bm-g100); }
.bm-vac-step__num { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--bm-orange-fill); font: 800 15px/1 var(--bm-fd); color: #fff; }
.bm-vac-step__body { min-width: 0; padding: 18px 18px 22px; }
.bm-vac-step__title { margin: 0 0 8px; font: 800 17px/1.2 var(--bm-fd); letter-spacing: -.015em; text-transform: uppercase; color: var(--bm-strong); overflow-wrap: break-word; hyphens: auto; }
.bm-vac-step__text { margin: 0; font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }

/* ---------- «Оплата» (README §3.4) ---------- */
.bm-vac-pay { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--bm-border); border-bottom: 1px solid var(--bm-border); background: var(--bm-g50); }
.bm-vac-pay__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bm-vac-pay__text { min-width: 0; }
.bm-vac-pay__lead { margin: 0 0 12px; font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.bm-vac-pay__note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--bm-g600); text-wrap: pretty; }
.bm-vac-pay__card { min-width: 0; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--bm-border); border-radius: var(--bm-r-md); background: #fff; box-shadow: var(--bm-shadow-sm); }
/* the scale: the track = lo - 1/4 .. hi + 1/4 of the range (lo at 16.667 %, hi at 83.333 %) */
.bm-vac-scale__sum { margin: 0 0 20px; font: 800 clamp(22px, .9rem + 1.4vw, 34px)/1 var(--bm-fd); white-space: nowrap; color: var(--bm-strong); }
.bm-vac-scale__sum .bm-vac-unit { font-size: .58em; font-weight: 700; color: var(--bm-g600); }
.bm-vac-scale__track { position: relative; height: 14px; border-radius: 2px; background: var(--bm-g100); }
.bm-vac-scale__avg, .bm-vac-scale__max { position: absolute; top: 0; bottom: 0; }
.bm-vac-scale__avg { left: var(--lo, 16.667%); width: calc(var(--mid, 50%) - var(--lo, 16.667%)); background: var(--bm-orange); }
.bm-vac-scale__max { left: var(--mid, 50%); width: calc(var(--hi, 83.333%) - var(--mid, 50%)); background: var(--bm-vac-stripe); }
.bm-vac-scale__ticks { position: relative; height: 30px; margin: 0; }
.bm-vac-scale__ticks span { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translateX(-50%); font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--bm-g600); }
.bm-vac-scale__ticks span::before { content: ""; width: 1px; height: 7px; background: var(--bm-g400); }
.bm-vac-scale__legend { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; }
.bm-vac-scale__key { display: flex; align-items: center; gap: 10px; }
.bm-vac-scale__key::before { content: ""; flex: none; width: 22px; height: 10px; border-radius: 1px; background: var(--bm-orange); }
.bm-vac-scale__key--max::before { background: var(--bm-vac-stripe); }
/* without sums: the numbered rows */
.bm-vac-card__title { margin: 0 0 4px; font-size: 12px; font-weight: 700; line-height: 1.65; letter-spacing: .12em; text-transform: uppercase; color: var(--bm-g600); }
/* a row = the number + the title on the first line, the note always under them from the row's left edge — the
   prototype's VcPayFacts as it draws on phones (320-414 px). Its flex row put the note beside the title wherever
   «title 160 px + note» fitted, so the title wrapped beside it («ГОТОВИЙ / КАРКАС» at 390-414, «ПОСТОЯННО / ИЛИ ПО /
   ПРОЕКТУ» at 1024) and one card mixed both layouts; stacked, the title has the whole row and stays on one line wherever
   it fits there (fixer 2, round 54) */
.bm-vac-card__rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--bm-border); }
.bm-vac-card__num { min-width: 22px; font: 700 13px/1.65 var(--bm-fd); color: var(--bm-orange); }
.bm-vac-card__text { font: 800 clamp(17px, .7rem + .8vw, 22px)/1.15 var(--bm-fd); text-transform: uppercase; color: var(--bm-strong); overflow-wrap: break-word; }
.bm-vac-card__note { grid-column: 1 / -1; font-size: 13.5px; font-weight: 600; line-height: 1.65; color: var(--bm-g600); }
.bm-vac-card__foot { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 13.5px; line-height: 1.65; }
.bm-vac-card__foot .bm-vac-ico { width: 18px; height: 18px; stroke-width: 2.4; color: var(--bm-orange); }

/* ---------- «Кого шукаємо» (README §3.5) ---------- */
.bm-vac-who { padding: clamp(48px, 6vw, 96px) 0; }
.bm-vac-who__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.bm-vac-who__traits { min-width: 0; }
.bm-vac-who__list { margin-top: 6px; border-top: 1px solid var(--bm-border); }
.bm-vac-who__list li { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 24px); padding: clamp(12px, 1.4vw, 18px) 0; border-bottom: 1px solid var(--bm-border); }
.bm-vac-who__num { flex: none; min-width: 24px; font: 700 14px/1.65 var(--bm-fd); color: var(--bm-orange); }
.bm-vac-who__trait {
	min-width: 0;
	font: 800 clamp(26px, .9rem + 2.2vw, 44px)/1.05 var(--bm-fd);
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--bm-strong);
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: auto;
}
.bm-vac-who__list li:last-child .bm-vac-who__trait { color: var(--bm-orange); }
.bm-vac-who__text { min-width: 0; padding-top: 40px; }
.bm-vac-who__want { margin: 0 0 24px; font-size: clamp(15.5px, .4vw + 13px, 18px); line-height: 1.65; color: var(--bm-strong); text-wrap: pretty; }
.bm-vac-who__req { display: flex; flex-direction: column; gap: 8px; }
.bm-vac-who__req li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--bm-border); border-radius: var(--bm-r); background: var(--bm-g50); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bm-strong); }
.bm-vac-who__req .bm-vac-ico { width: 20px; height: 20px; color: var(--bm-orange); }
.bm-vac-who__req li + li .bm-vac-ico { stroke-width: 2.4; }
.bm-vac-who__extra { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--bm-r); background: var(--bm-orange-soft); font-size: 15px; line-height: 1.55; color: var(--bm-strong); text-wrap: pretty; }

/* ---------- «Виробництво» (README §3.6) ---------- */
.bm-vac-where { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--bm-border); background: var(--bm-g50); }
.bm-vac-head--where { gap: 12px 24px; margin-bottom: 26px; }
.bm-vac-where__text { max-width: 440px; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--bm-g600); text-wrap: pretty; }
.bm-vac-where__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(12px, 1.6vw, 20px); }
.bm-vac-where__fig { min-width: 0; margin: 0; }
.bm-vac-where__fig img { width: 100%; aspect-ratio: 1; border-radius: var(--bm-r); background: var(--bm-g100); object-fit: cover; }
.bm-vac-where__fig--2 img { aspect-ratio: 1.6; }
.bm-vac-where__fig figcaption { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.65; color: var(--bm-strong); }

/* ---------- «Інші вакансії» (README §3.7) ---------- */
.bm-vac-others { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--bm-border); }
.bm-vac-others__head { margin-bottom: clamp(22px, 3vw, 32px); }
.bm-vac-others__head .bm-vac-h2 { margin: 0; }
.bm-vac-others__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.bm-vac-other {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r);
	background: #fff;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}
.bm-vac-other:hover { border-color: var(--bm-navy-700); box-shadow: var(--bm-shadow-md); }
.bm-vac-other__img { position: relative; aspect-ratio: 16 / 10; background: var(--bm-g100); }
.bm-vac-other__body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 18px 14px; }
.bm-vac-other__title { margin: 0; font: 800 17px/1.2 var(--bm-fd); letter-spacing: -.015em; text-transform: uppercase; color: var(--bm-strong); text-wrap: balance; overflow-wrap: break-word; }
.bm-vac-other__pay { margin: 0; font: 800 18px/1.2 var(--bm-fd); color: var(--bm-strong); }
.bm-vac-other__pay--sum { white-space: nowrap; }
.bm-vac-other__pay .bm-vac-unit { font-size: .72em; }
.bm-vac-other__text { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; color: var(--bm-g600); text-wrap: pretty; }
.bm-vac-other .bm-vac-more { align-self: flex-start; }

/* ---------- contact + application #vc-apply (README §3.8) ---------- */
.bm-vac-contact { padding: clamp(48px, 6vw, 96px) 0; background: var(--bm-navy-700); color: #fff; }
.bm-vac-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.bm-vac-contact__info { min-width: 0; }
.bm-vac-contact .bm-vac-h2 { font-size: clamp(26px, 1rem + 2.2vw, 44px); color: #fff; }
.bm-vac-contact__text { max-width: 460px; margin: 0 0 26px; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .82); text-wrap: pretty; }
.bm-vac-contact__phone { display: inline-block; font: 600 clamp(30px, 1rem + 2.4vw, 50px)/1 var(--bm-fd); letter-spacing: -.01em; white-space: nowrap; color: #fff; text-decoration: none; }
.bm-vac-contact__phone:hover { color: var(--bm-orange); }
.bm-vac-contact__person { margin: 10px 0 24px; font-size: 14px; line-height: 1.65; color: var(--bm-vac-mut-d); }
.bm-vac-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.bm-vac-pair:not(:has(.bm-vac-btn + .bm-vac-btn)) { grid-template-columns: minmax(0, 1fr); }
.bm-vac-pair .bm-vac-btn { width: 100%; padding: 0 14px; }
.bm-vac-contact__addr { display: flex; align-items: flex-start; gap: 10px; margin: 26px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.bm-vac-contact__addr .bm-vac-ico { width: 18px; height: 18px; color: var(--bm-orange); }
.bm-vac-contact__card { min-width: 0; padding: clamp(20px, 3vw, 36px); border-radius: 10px; background: #fff; color: var(--bm-text); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); }

/* ---------- the vacancy form (README §4): the form component (.bm-form, .bm-sheet-form) in the design's field style ---------- */
.bm-form--vac .bm-form__title { margin: 0; font: 800 20px/1.65 var(--bm-fd); letter-spacing: 0; text-transform: uppercase; color: var(--bm-strong); }
.bm-form--vac .bm-form__text { margin: 4px 0 0; font-size: 14px; line-height: 1.65; color: var(--bm-g600); }
.bm-form--vac .bm-form__main, .bm-form--vac .bm-form__ok { margin-top: 20px; }
.bm-form--vac .bm-sheet-form { gap: 18px; }
.bm-form--vac .bm-sheet-form label { gap: 7px; }
.bm-form--vac .bm-sheet-form label, .bm-form--vac .bm-form__label, .bm-form--vac .bm-form__exp legend {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.65;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bm-g600);
}
.bm-form--vac .bm-sheet-form input[type="text"], .bm-form--vac .bm-sheet-form input[type="tel"] { height: 50px; min-height: 50px; padding: 0 14px; font-size: 16px; }
.bm-form--vac .bm-sheet-form textarea { display: block; height: 96px; min-height: 96px; padding: 12px 14px; font-size: 16px; line-height: 1.55; }
.bm-form--vac .bm-sheet-form select {
	height: 50px;
	padding: 0 44px 0 14px;
	border-radius: var(--bm-r);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2E47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
	font-size: 16px;
	text-overflow: ellipsis;
	appearance: none;
	-webkit-appearance: none;
}
.bm-form--vac .bm-sheet-form select:has(option[value=""]:checked) { color: var(--bm-g600); }
.bm-form--vac .bm-sheet-form select option { color: var(--bm-strong); }
/* name + phone: two columns while each has 200 px (the design's auto-fit) */
.bm-form--vac .bm-form__row { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
/* «Досвід у будівництві»: three exclusive check boxes drawn as the design's switch buttons (one choice or none) */
.bm-form--vac .bm-form__exp { min-width: 0; margin: 0; padding: 0; border: 0; }
.bm-form--vac .bm-form__exp legend { display: block; margin: 0 0 7px; padding: 0; }
.bm-form--vac .bm-form__exp .wpcf7-checkbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bm-form--vac .bm-form__exp .wpcf7-list-item { display: block; min-width: 0; margin: 0; }
.bm-form--vac .bm-form__exp .wpcf7-list-item label {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	height: 100%;
	padding: 4px 6px;
	border: 1px solid var(--bm-field-border);
	border-radius: var(--bm-r);
	background: #fff;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
	color: var(--bm-strong);
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.bm-form--vac .bm-form__exp .wpcf7-list-item input[type="checkbox"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bm-form--vac .bm-form__exp .wpcf7-list-item label:has(input:checked) { border-color: var(--bm-orange); background: var(--bm-orange-soft); color: var(--bm-orange-deep); }
.bm-form--vac .bm-form__exp .wpcf7-list-item label:has(input:focus-visible) { outline: 2px solid var(--bm-orange); outline-offset: 2px; }
/* «Потрібне житло біля виробництва»: a 20 px check box */
.bm-form--vac [data-name="vac-home"] .wpcf7-list-item { display: block; margin: 0; }
.bm-form--vac [data-name="vac-home"] .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bm-strong);
	cursor: pointer;
}
.bm-form--vac [data-name="vac-home"] input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--bm-orange); cursor: pointer; }
/* the send button «Відгукнутися ->»: full width, the arrow right after the centred text */
.bm-form--vac .bm-sheet-form .wpcf7-submit,
.bm-form--vac .bm-sheet-form .wpcf7-submit:hover {
	width: 100%;
	min-height: 54px;
	padding: 0 27px 0 0;
	font-size: 14px;
	letter-spacing: .04em;
	background-position: calc(50% + 64px) center; /* the label (UA 116 px, RU 122 px at 14 px) centred with the arrow 10 px after it */
	background-size: 17px;
}
.bm-form--vac .bm-form__privacy { font-size: 12.5px; line-height: 1.5; color: var(--bm-g600); }
/* an invalid field: the design's red border (the select draws its border as an inset ring) */
.bm-form--vac .bm-sheet-form.bm-cf7 input[aria-invalid="true"], .bm-form--vac .bm-sheet-form.bm-cf7 textarea[aria-invalid="true"] { border-color: var(--bm-vac-err); }
.bm-form--vac .bm-sheet-form select[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--bm-vac-err); }
/* the design's messages: 12.5 px, red */
.bm-form--vac .bm-form__err, .bm-form--vac .bm-form__cf7 .wpcf7-not-valid-tip { margin-top: 0; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--bm-vac-err); }
/* the success view: the orange circle with the check, «Дякуємо, {ім'я}!», the text, «Надіслати ще один відгук» as a link */
.bm-form--vac .bm-form__ok .bm-form-ok { gap: 14px; padding: 12px 0; }
.bm-form--vac .bm-form-ok__mark { width: 54px; height: 54px; background: var(--bm-orange); color: #fff; }
.bm-form--vac .bm-form-ok__mark .bm-ico { width: 26px; height: 26px; stroke-width: 2.6; }
.bm-form--vac .bm-form-ok__title { font: 800 22px/1.2 var(--bm-fd); overflow-wrap: break-word; }
.bm-form--vac .bm-form-ok__text { max-width: none; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.bm-form--vac .bm-form-ok__btn,
.bm-form--vac .bm-form-ok__btn:hover {
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: 700 14px/1.2 var(--bm-fb);
	letter-spacing: 0;
	color: var(--bm-navy-700);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.bm-form--vac .bm-form-ok__btn:hover { color: var(--bm-link-hover); }

/* ---------- the sticky call bar (README §5): phones and coarse-pointer tablets only ---------- */
.bm-vac-callbar { display: none; }
@media (max-width: 640px), (max-width: 1000px) and (pointer: coarse) {
	.bm-vac-callbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 120; /* under the mobile menu (.bm-mnav 200) */
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: 8px;
		padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
		background: rgba(27, 30, 46, .96);
		box-shadow: 0 -10px 28px rgba(27, 30, 46, .28);
		visibility: hidden;
		transform: translateY(110%);
		transition: transform 260ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 260ms;
	}
	.bm-vac-callbar.is-shown { visibility: visible; transform: none; transition: transform 260ms cubic-bezier(.22, 1, .36, 1), visibility 0s; }
	.bm-vac-callbar--one { grid-template-columns: minmax(0, 1fr); }
	.bm-vac-callbar .bm-vac-btn { gap: 8px; min-height: 48px; padding: 0 10px; }
	.bm-vac-callbar .bm-vac-btn .bm-vac-ico { width: 17px; height: 17px; }
	.bm-vac-callbar .bm-vac-btn--viber .bm-vac-ico { width: 18px; height: 18px; }
	/* a window / the mobile menu locks the page: no bar over it */
	body.bm-lock .bm-vac-callbar { visibility: hidden; transform: translateY(110%); }
	/* the reCAPTCHA v3 badge (Google's inline style: fixed, bottom 14 px, its 70 px corner at the right edge; it appears
	   once CF7 loads near the form) would sit under the shown bar (70 x 54 px of it, measured at 360 / 390 / 768-touch):
	   it moves up above the bar while the bar shows, so it stays visible (Google's terms) and covers no button. Only an
	   !important beats an inline style. */
	body:has(.bm-vac-callbar.is-shown) .grecaptcha-badge { bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important; }
	/* the contact phone: a 44 px tall target without moving the text */
	.bm-vac-contact__phone { padding-block: 7px; margin-block: -7px; }
}

/* ---------- 1001-1240 (laptop) ---------- */
@media (min-width: 1001px) and (max-width: 1240px) {
	.bm-vac-band[data-n="5"], .bm-vac-band[data-n="6"] { --bm-vac-cols: 3; }
	.bm-vac-band:is([data-n="5"], [data-n="6"]) .bm-vac-band__item:nth-child(3n+1) { border-left: 0; }
	.bm-vac-band:is([data-n="5"], [data-n="6"]) .bm-vac-band__item:nth-child(n+4) { border-top: 1px solid var(--bm-vac-line-d); }
	.bm-vac-row { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 22px; padding: 14px 22px 14px 14px; }
}

/* ---------- <= 1000 (tablet and phone): one column for the hero, pay, who, contact ---------- */
@media (max-width: 1000px) {
	.bm-vac-hero__grid, .bm-vac-pay__grid, .bm-vac-who__grid, .bm-vac-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.bm-vac-who__text { padding-top: 0; }
	.bm-vac-band__list, .bm-vac-steps__list[data-n] { --bm-vac-cols: 2; }
	.bm-vac-others__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 641-1000 (tablet) ---------- */
@media (min-width: 641px) and (max-width: 1000px) {
	.bm-vac-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bm-vac-mosaic__big { grid-row: auto; aspect-ratio: 4 / 5; }
	.bm-vac-mosaic__small, .bm-vac-tile { aspect-ratio: 4 / 5; }
	.bm-vac-band__item:nth-child(odd) { border-left: 0; }
	.bm-vac-band__item:nth-child(n+3) { border-top: 1px solid var(--bm-vac-line-d); }
	.bm-vac-row { grid-template-columns: 150px minmax(0, 1fr); gap: 14px 20px; padding: 14px; }
	.bm-vac-row__img { grid-row: span 2; }
	.bm-vac-row__side { grid-column: 2; align-items: flex-start; }
	.bm-vac-row__pay { text-align: left; }
}

/* housing text no wider than 169 px from 641 px (README §3.2) */
@media (min-width: 641px) {
	.bm-vac-band__item--home .bm-vac-band__text { max-width: 169px; }
}

/* ---------- <= 599: a vacancy's crumbs row stacked (B, see .bm-vac-hero__crumbs) ---------- */
@media (max-width: 599px) {
	.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs { grid-template-columns: minmax(0, 1fr); }
	.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs ol { flex-wrap: wrap; }
	.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs li:last-child { flex: 1 0 100%; }
}

/* ---------- <= 640 (phone) ---------- */
@media (max-width: 640px) {
	.bm-vac-hero__acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bm-vac-hero__acts .bm-vac-btn--call { width: auto; }
	.bm-vac-hero__acts .bm-vac-btn { padding: 0 12px; }
	.bm-vac-hero__acts:not(:has(.bm-vac-btn--viber)) .bm-vac-btn--call, .bm-vac-hero__acts:not(:has(.bm-vac-btn--call)) .bm-vac-btn--viber { grid-column: 1 / -1; }
	.bm-vac-hero__acts .bm-vac-btn--viber .bm-vac-ico { width: 24px; height: 24px; }
	.bm-vac-hero__acts .bm-vac-btn--viber span { font-size: 15px; }
	.bm-vac-apply { grid-column: 1 / -1; justify-content: center; }

	.bm-vac-mosaic { gap: 8px; }
	.bm-vac-mosaic__big { min-height: 300px; }
	.bm-vac-tile { aspect-ratio: auto; min-height: 150px; padding: 14px; }
	.bm-vac-tile__big { font-size: 40px; }
	.bm-vac-tile__l1 { font-size: 13.5px; }
	.bm-vac-tile__l2 { font-size: 12px; }

	.bm-vac-rows__list { gap: 10px; }
	.bm-vac-row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
	.bm-vac-row__img { aspect-ratio: 16 / 9; }
	/* (A) «Детальніше» always under the pay (fixer 3, round 54): beside it where both fitted, it flipped between beside
	   and under at widths that differed between the fallback face and Montserrat (UA 374-375 px, RU 368-369 px: CLS
	   0.04 / 0.14) */
	.bm-vac-row__side { flex-direction: column; align-items: flex-start; gap: 4px; }
	.bm-vac-row__pay { text-align: left; }

	.bm-vac-band__list { --bm-vac-cols: 1; }
	.bm-vac-band__item { padding: 16px 0; }
	.bm-vac-band__item:not(:first-child) { border-left: 0; border-top: 1px solid var(--bm-vac-line-d); }

	.bm-vac-steps__lead { font-size: 16px; }
	.bm-vac-steps__list { display: flex; flex-direction: column; gap: 10px; }
	.bm-vac-step { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
	.bm-vac-step__img { aspect-ratio: auto; min-height: 120px; }
	.bm-vac-step__num { padding: 6px 9px; font-size: 13px; }
	.bm-vac-step__body { align-self: center; padding: 12px 14px; }
	.bm-vac-step__title { margin-bottom: 6px; font-size: 15px; }
	.bm-vac-step__text { font-size: 13.5px; line-height: 1.45; }

	.bm-vac-who__trait { font-size: 24px; }

	.bm-vac-where__grid { grid-template-columns: minmax(0, 1fr); }
	.bm-vac-where__fig img, .bm-vac-where__fig--2 img { aspect-ratio: 4 / 3; }

	.bm-vac-others__list { display: flex; flex-direction: column; gap: 10px; }
	.bm-vac-other { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; }
	.bm-vac-other__img { aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
	.bm-vac-other__body { gap: 4px; align-items: flex-start; padding: 0; }
	.bm-vac-other__title { font-size: 15px; text-wrap: wrap; hyphens: auto; }
	.bm-vac-other__pay { font-size: 15px; line-height: 1.25; }
	.bm-vac-other__pay .bm-vac-unit { font-size: .8em; }
	.bm-vac-other__text { display: none; }
	.bm-vac-other .bm-vac-more { min-height: 32px; }

	.bm-vac-pair { max-width: none; }
}

/* ---------- <= 430 (round 55: font-swap CLS at the common phone widths 390 / 393) ---------- */
@media (max-width: 430px) {
	/* (E) the list / empty eyebrow: the city on a line of its own (its one line fits from 431 px in both faces) */
	.bm-vac-eb__city { display: block; }
	/* (F) RU (no RU design): the H1 in the <= 380 size up to 430 px — at 32 px «МАСТЕР-СТРОИТЕЛЬ» was within a px of the
	   column at 389-396 / 401-404 / 424-427 px and took a line more in the fallback face (0.02 at 390 / 393) */
	.bm-vac-h1:lang(ru), .bm-vac-h1-row:lang(ru) { font-size: 28px; }
}

/* <= 340 (B): a vacancy's crumbs' chevrons 6 px apart (9 px): «ГОЛОВНА › ПРО КОМПАНІЮ › ВАКАНСІЇ ›» stays one line
   from 320 px */
@media (max-width: 340px) {
	.bm-vac--landing:not([data-vac-state="1"]) .bm-vac-hero__crumbs .bm-crumbs li:not(:last-child)::after { margin: 0 6px; }
}

/* ---------- <= 380 ---------- */
@media (max-width: 380px) {
	.bm-vac-h1, .bm-vac-h1-row { font-size: 28px; }
	.bm-vac-h1-row .bm-vac-h1 { font-size: inherit; }
	.bm-vac-hero__pay-value { font-size: 24px; }
	.bm-vac-hero__acts, .bm-vac-pair { grid-template-columns: minmax(0, 1fr); }
	.bm-vac-mosaic__big { min-height: 240px; }
	.bm-vac-tile { min-height: 130px; padding: 12px; }
	.bm-vac-tile__big { font-size: 34px; }
	.bm-vac-step { grid-template-columns: 96px minmax(0, 1fr); }
	.bm-vac-step__img { min-height: 96px; }
	.bm-vac-step__body { padding: 10px 12px; }
	.bm-vac-step__title { font-size: 14px; }
	.bm-vac-who__trait { font-size: 21px; }
	/* RU only (no RU design): «ПРОИЗВОДИТЕЛЬНОСТЬ» (233 px at 17 px) fits the 218 px of a 320 px phone — 17 px from 358 px */
	.bm-vac-card__text:lang(ru) { font-size: min(17px, 4.75vw); }
	.bm-vac-other { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 8px; }
	.bm-vac-other__title, .bm-vac-other__pay { font-size: 14px; }
	.bm-vac-contact__phone { font-size: 26px; }
	.bm-vac-contact__card { padding: 16px; }
	.bm-form--vac .bm-form__title { font-size: 18px; }
	.bm-form--vac .bm-form__exp .wpcf7-checkbox { grid-template-columns: minmax(0, 1fr); }
	.bm-form--vac .bm-form__exp .wpcf7-list-item label { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.bm-vac-btn, .bm-vac-row, .bm-vac-other, .bm-vac-more .bm-vac-ico, .bm-vac-callbar, .bm-vac-callbar.is-shown, .bm-form--vac .bm-form__exp .wpcf7-list-item label { transition: none; }
	.bm-vac-row:hover .bm-vac-more .bm-vac-ico, .bm-vac-other:hover .bm-vac-more .bm-vac-ico { transform: none; }
}
