/* ── Job board: /engineering-jobs/ and each job page ─────────────────────────
   The Nexus IT Group board's layout and behaviour, in this site's own tokens: the
   navy, text, muted, border and wash colours used by the salary guide and tools,
   Inter from the theme, and 16px as the smallest text. */
.re-board-wrapper, .re-job-wrapper, .re-loc-jobs {
	--re-brand: #123876; --re-brand-dark: #0b2756; --re-brand-wash: #edf3fb;
	--re-accent: #136078; --re-focus: #0b7288;
	--re-ink: #243349; --re-muted: #52657c; --re-faint: #5f7088;
	--re-line: #dce5f0; --re-wash: #f5f8fc; --re-paper: #fff; --re-radius: 8px;
	background: var(--re-wash); padding: 0 0 72px; color: var(--re-ink);
	font-size: 18px; line-height: 1.55;
}
.re-board-wrapper *, .re-job-wrapper * { box-sizing: border-box; }
.re-board-wrapper [hidden], .re-job-wrapper [hidden] { display: none !important; }
.re-board-wrapper :is(input, button, a):focus-visible,
.re-job-wrapper :is(input, button, a, select, textarea):focus-visible { outline: 3px solid var(--re-focus); outline-offset: 3px; }

.re-board-head { padding: 48px 0 4px; }
.re-eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--re-accent); margin: 0 0 10px; }
.re-board-head h1 { color: var(--re-brand); font-size: clamp(34px, 4.3vw, 54px); line-height: 1.1; font-weight: 700; margin: 0 0 14px; }
.re-lede { color: var(--re-muted); margin: 0; max-width: 62ch; }

.re-panel { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: 12px;
	box-shadow: 0 1px 2px rgba(18, 56, 118, .05), 0 8px 24px rgba(18, 56, 118, .06); padding: 22px; margin: 26px 0 0; }
.re-searchrow { margin-bottom: 18px; }
.re-searchbox { position: relative; }
.re-searchbox svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--re-faint); pointer-events: none; }
.re-board-wrapper input[type=search] { width: 100%; min-height: 54px; font: inherit; font-size: 18px; color: var(--re-ink); background: var(--re-wash);
	border: 1px solid #73849b; border-radius: var(--re-radius); padding: 12px 14px 12px 46px; -webkit-appearance: none; appearance: none; margin: 0; }
.re-board-wrapper input[type=search]::placeholder { color: var(--re-faint); opacity: 1; }
.re-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.re-noscript { margin: 16px 0 0; }

.re-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 30px 0 16px; flex-wrap: wrap; }
.re-count { font-weight: 600; margin: 0; }
.re-count strong { color: var(--re-brand); }
.re-sortnote { color: var(--re-faint); font-size: 16px; margin: 0; }

.re-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.re-card { display: flex; flex-direction: column; min-width: 0; background: var(--re-paper); border: 1px solid var(--re-line);
	border-radius: 12px; padding: 22px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.re-card:hover { border-color: var(--re-brand); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18, 56, 118, .09); }
.re-dept { font-size: 16px; font-weight: 600; color: var(--re-accent); margin: 0 0 6px; }
.re-card .re-card-title { font-size: 21px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; color: var(--re-brand); }
.re-card .re-card-title a { color: inherit; text-decoration: none; }
.re-card .re-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.re-where { display: flex; gap: 8px; align-items: flex-start; color: var(--re-muted); margin: 0 0 12px; }
.re-where svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--re-faint); }
.re-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.re-chip { font-size: 16px; font-weight: 600; line-height: 1.3; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.re-chip-hybrid { color: #7a4f00; background: #fbf1df; }
.re-chip-on-site { color: #3d4a5c; background: #edf0f4; }
.re-chip-remote { color: #0b5f4e; background: #e6f4f0; }
.re-chip-full-time { color: var(--re-brand); background: var(--re-brand-wash); }
.re-chip-contract { color: #6a3489; background: #f4ecfa; }
.re-chip-internship { color: #8a3b12; background: #fbece4; }
.re-pay { font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 8px; }
.re-employer { color: var(--re-muted); font-size: 16px; margin: 0 0 20px; }
.re-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.re-apply { display: inline-block; background: var(--re-brand); color: #fff !important; font-weight: 600; font-size: 17px; line-height: 1.3;
	text-decoration: none !important; padding: 12px 22px; border-radius: var(--re-radius); border: 0; cursor: pointer; }
.re-apply:hover { background: var(--re-brand-dark); }
.re-posted { color: var(--re-faint); font-size: 16px; font-variant-numeric: tabular-nums; }

.re-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border: 1px dashed #b9c7d8; border-radius: 12px; background: var(--re-paper); }
.re-empty h2 { color: var(--re-brand); font-size: 24px; margin: 0 0 8px; }
.re-empty p { color: var(--re-muted); margin: 0 auto 18px; max-width: 56ch; }
.re-empty a { color: var(--re-brand); font-weight: 700; }

/* Server pagination, for no-JavaScript visits and crawlers. The script swaps it for "Show more". */
.re-pages { margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.re-pages .page-numbers { display: inline-block; min-width: 46px; padding: 10px 14px; text-align: center; border: 1px solid var(--re-line);
	border-radius: var(--re-radius); background: var(--re-paper); color: var(--re-brand); text-decoration: none; font-weight: 600; }
.re-pages .page-numbers.current { background: var(--re-brand); border-color: var(--re-brand); color: #fff; }
.re-pages a.page-numbers:hover { border-color: var(--re-brand); }
.re-pages .dots { border-color: transparent; background: none; }
.re-js .re-pages { display: none; }
.re-more-wrap { text-align: center; margin: 34px 0 0; }
.re-more { font: inherit; font-weight: 600; color: var(--re-brand); background: var(--re-paper); border: 1px solid var(--re-brand);
	border-radius: var(--re-radius); padding: 12px 28px; cursor: pointer; }
.re-more:hover { background: var(--re-brand-wash); }

/* Banner for /engineering-jobs/?city=..., the link in from a city page. */
.re-active { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--re-brand-wash);
	border: 1px solid #c4d4ea; border-radius: var(--re-radius); padding: 14px 18px; margin: 26px 0 0; }
.re-active a { color: var(--re-brand); font-weight: 700; white-space: nowrap; }

/* ── Jobs section on city and city x specialty pages ──────────────────────── */
.re-loc-jobs { background: var(--re-wash); padding: 64px 0; color: var(--re-ink); font-size: 18px; line-height: 1.55; }
.re-loc-jobs * { box-sizing: border-box; }
.re-loc-jobs .primary-headline { margin-bottom: 12px; }
.re-loc-jobs-intro { color: var(--re-muted); margin: 0 0 28px; max-width: 62ch; }
.re-loc-jobs .re-grid { margin-bottom: 32px; }
.re-loc-jobs-more { text-align: center; margin: 0; }
.re-loc-jobs :is(a, button):focus-visible { outline: 3px solid var(--re-focus); outline-offset: 3px; }

/* ── Multi-select filters ─────────────────────────────────────────────────── */
.re-multi { position: relative; min-width: 0; }
.re-multi > label { display: block; font-size: 16px; font-weight: 700; color: var(--re-brand); margin: 0 0 8px;
	text-transform: none; letter-spacing: normal; }
.re-multi-btn { width: 100%; min-height: 54px; font: inherit; font-size: 18px; text-align: left; color: var(--re-ink); background: var(--re-paper);
	border: 1px solid #73849b; border-radius: var(--re-radius); padding: 12px 38px 12px 13px; cursor: pointer;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2352657c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; }
.re-multi.re-on .re-multi-btn { border-color: var(--re-brand); background-color: var(--re-brand-wash); font-weight: 600; }
.re-multi-panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 100%; width: 340px; max-width: 90vw;
	max-height: 360px; overflow-y: auto; background: var(--re-paper); border: 1px solid var(--re-line);
	border-radius: var(--re-radius); box-shadow: 0 10px 30px rgba(18, 56, 118, .16); padding: 8px; }
.re-multi-bulk { display: flex; gap: 6px; padding: 4px 4px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--re-line); }
.re-multi-bulk button, .re-check-acts button { font: inherit; font-size: 16px; color: var(--re-accent); background: none; border: 0;
	padding: 6px 8px; border-radius: 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.re-multi-bulk button:hover, .re-check-acts button:hover { background: var(--re-wash); color: var(--re-brand); }
.re-check-row { display: flex; align-items: center; gap: 4px; }
.re-check-row:hover { background: var(--re-wash); border-radius: 6px; }
.re-multi-panel .re-check { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 8px; margin: 0; cursor: pointer;
	text-transform: none; letter-spacing: normal; font-size: 17px; font-weight: 400; line-height: 1.35; color: var(--re-ink); }
.re-multi-panel .re-check input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; flex: none; accent-color: var(--re-brand); margin: 0; position: static; }
.re-multi-panel .re-check span { min-width: 0; font-size: 17px; }
.re-multi-panel .re-check .re-check-n { margin-left: auto; color: var(--re-faint); font-size: 16px; font-variant-numeric: tabular-nums; }
.re-check-acts { display: flex; flex: none; }

.re-clear { display: inline-flex; align-items: center; min-height: 54px; font-weight: 600; color: var(--re-muted); background: none;
	border: 1px solid #73849b; border-radius: var(--re-radius); padding: 0 18px; text-decoration: none; white-space: nowrap; cursor: pointer; font-size: 17px; }
.re-clear:hover { border-color: var(--re-brand); color: var(--re-brand); }

/* ── One job ──────────────────────────────────────────────────────────────── */
.re-job-wrapper { padding-top: 36px; }
.re-crumb { margin: 0 0 22px; }
.re-crumb a { color: var(--re-muted); font-weight: 600; text-decoration: none; font-size: 17px; }
.re-crumb a:hover { color: var(--re-brand); text-decoration: underline; }
.re-job-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 34px; align-items: start; }
.re-job-main { grid-column: 2; grid-row: 1; background: var(--re-paper); border: 1px solid var(--re-line); border-radius: 12px; padding: 36px; min-width: 0; }
.re-job-side { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.re-job-head { border-bottom: 1px solid var(--re-line); padding-bottom: 22px; margin-bottom: 26px; }
.re-job-head h1 { color: var(--re-brand); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; font-weight: 700; margin: 0 0 14px; }
.re-job-head .re-chips { margin-bottom: 0; }
.re-job-head .re-pay { margin: 14px 0 0; font-size: 20px; }
.re-job-body { color: #2f3d52; }
.re-job-body h2, .re-job-body h3, .re-job-body h4 { color: var(--re-brand); font-weight: 700; line-height: 1.3; margin: 30px 0 12px; font-size: 22px; }
.re-job-body ul { padding-left: 24px; margin: 0 0 20px; }
.re-job-body li { margin-bottom: 8px; font-size: 18px; }
.re-job-body p { margin: 0 0 18px; font-size: 18px; }
.re-job-card { background: var(--re-paper); border: 1px solid var(--re-line); border-radius: 12px; padding: 26px; }
.re-fact { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--re-line); }
.re-fact-k { font-size: 16px; font-weight: 600; color: var(--re-faint); }
.re-fact-v { font-weight: 600; color: var(--re-ink); }
.re-apply-big { display: block; text-align: center; padding: 15px 20px; font-size: 18px; margin-top: 6px; }
.re-filled-flag { margin: 0 0 10px; color: #8e2a2a; font-weight: 700; text-align: center; }
.re-job-aside-note { background: var(--re-brand-wash); border-radius: 12px; padding: 24px; }
.re-job-aside-note h2 { color: var(--re-brand); font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.re-job-aside-note p { color: var(--re-muted); font-size: 17px; margin: 0 0 12px; }
.re-job-aside-note a { color: var(--re-brand); font-weight: 700; }

.re-pa-related { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--re-line); }
.re-pa-related h2 { font-size: 16px; font-weight: 700; color: var(--re-faint); margin: 0 0 12px; }
.re-pa-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.re-pa-card { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; background: var(--re-brand-wash);
	border: 1px solid transparent; border-radius: var(--re-radius); padding: 11px 16px; transition: border-color .15s ease; }
.re-pa-card:hover { border-color: var(--re-brand); }
.re-pa-name { font-weight: 600; font-size: 17px; color: var(--re-brand); }
.re-pa-arrow { color: var(--re-brand); }

/* The application form, under the job description. */
.re-applyform { grid-column: 2; grid-row: 2; background: var(--re-paper); border: 1px solid var(--re-line); border-radius: 12px;
	padding: 36px; scroll-margin-top: 110px; min-width: 0; }
.re-applyform h2 { color: var(--re-brand); font-size: 28px; font-weight: 700; margin: 0 0 10px; }
.re-applyintro { color: var(--re-muted); margin: 0 0 22px; max-width: 62ch; }
.re-applyform .gform_wrapper { margin: 0; }
/* Gravity Forms' own CSS hides its honeypot; this keeps it hidden if that CSS ever arrives late. */
.re-applyform .gform_validation_container { display: none !important; }
.re-applyform .gform_wrapper .gfield_label, .re-applyform .gform_wrapper legend.gfield_label { font-size: 17px !important; font-weight: 700 !important; color: var(--re-brand) !important; text-transform: none; letter-spacing: normal; }
.re-applyform .gform_wrapper input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=file]),
.re-applyform .gform_wrapper textarea { font-size: 18px !important; min-height: 50px; border: 1px solid #73849b !important; border-radius: var(--re-radius) !important; max-width: 100%; }
.re-applyform .gform_wrapper .gfield_description, .re-applyform .gform_wrapper .gform_fileupload_rules { font-size: 16px !important; }
.re-applyform .gform_wrapper .gform_footer input[type=submit], .re-applyform .gform_wrapper .gform_footer button {
	background: var(--re-brand) !important; color: #fff !important; font-size: 18px !important; font-weight: 600 !important;
	border-radius: var(--re-radius) !important; padding: 14px 30px !important; border: 0 !important; cursor: pointer; }
.re-applyform .gform_wrapper .gform_footer input[type=submit]:hover { background: var(--re-brand-dark) !important; }
.re-applyform .gform_confirmation_message { font-size: 18px; color: #0b5f4e; background: #e6f4f0; border: 1px solid #bfe3d9; border-radius: var(--re-radius); padding: 16px 18px; }
.re-msg-bad { background: #fbecec; color: #8e2a2a; border: 1px solid #f0cdcd; border-radius: var(--re-radius); padding: 14px 16px; }
.re-filled-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 20px 0 0; }
.re-filled-actions .re-apply-big { display: inline-block; margin: 0; }
.re-filled-alt { color: var(--re-brand); font-weight: 700; }

@media (max-width: 1100px) {
	.re-job-layout { grid-template-columns: minmax(0, 1fr); }
	.re-job-main, .re-applyform, .re-job-side { grid-column: 1; grid-row: auto; }
	/* Nexus leads with the facts card on a narrow screen, which here filled the whole first
	   screen before the job title. The title, pay and description come first instead; the
	   facts, the apply button and the form follow. */
	.re-job-side { position: static; }
	.re-job-main { order: -1; }
	.re-applyform { order: 1; }
}
@media (max-width: 991px) {
	.re-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.re-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.re-filters .re-clear { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 640px) {
	.re-grid, .re-filters { grid-template-columns: minmax(0, 1fr); }
	.re-panel { padding: 16px; }
	.re-board-head { padding-top: 32px; }
	.re-job-main, .re-applyform, .re-job-card { padding: 22px; }
	.re-multi-panel { width: 100%; max-width: none; }
	.re-pa-card { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .re-card, .re-pa-card { transition: none; } .re-card:hover { transform: none; } }
