/* SPG Resume Match. Override the tokens below from your theme to rebrand. */
.spgrm {
	--spgrm-ink: #14263d;
	--spgrm-steel: #05769f;
	--spgrm-steel-dark: #045c7c;
	--spgrm-mist: #eef2f6;
	--spgrm-line: #d4dce5;
	--spgrm-paper: #ffffff;
	--spgrm-strong: #1d7348;
	--spgrm-partial: #9a5b14;
	--spgrm-error: #b3261e;
	--spgrm-muted: #5a6778;

	max-width: 760px;
	margin: 2.5rem auto;
	color: var(--spgrm-ink);
	font: inherit;
	line-height: 1.5;
}
.spgrm *, .spgrm *::before, .spgrm *::after { box-sizing: border-box; }
.spgrm [hidden] { display: none !important; }

.spgrm__head { margin-bottom: 1.5rem; }
.spgrm .spgrm__title {
	margin: 0 0 .5rem;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--spgrm-ink);
}
.spgrm__intro { margin: 0; max-width: 62ch; color: var(--spgrm-muted); font-size: 1.05rem; }

/* Form */
.spgrm__form {
	background: var(--spgrm-paper);
	border: 1px solid var(--spgrm-line);
	border-radius: 10px;
	padding: 1.5rem;
}
.spgrm__drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .25rem;
	padding: 1.75rem 1rem;
	border: 2px dashed var(--spgrm-line);
	border-radius: 8px;
	background: var(--spgrm-mist);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.spgrm__drop:hover, .spgrm__drop.is-over { border-color: var(--spgrm-steel); background: #e4eff5; }
.spgrm__drop.has-file { border-style: solid; border-color: var(--spgrm-steel); }
.spgrm__file { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.spgrm__file:focus-visible + .spgrm__drop-main { outline: 3px solid var(--spgrm-steel); outline-offset: 4px; border-radius: 3px; }
.spgrm__drop-main { font-weight: 700; font-size: 1.05rem; color: var(--spgrm-steel); }
.spgrm__drop-sub { font-size: .9rem; color: var(--spgrm-muted); }
.spgrm__drop-file { font-weight: 600; font-size: .95rem; word-break: break-all; }
.spgrm__drop-file:empty { display: none; }

.spgrm__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.spgrm__field { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.spgrm__field input {
	width: 100%;
	padding: .65rem .75rem;
	border: 1px solid var(--spgrm-line);
	border-radius: 6px;
	font: inherit;
	font-weight: 400;
	color: var(--spgrm-ink);
	background: var(--spgrm-paper);
}
.spgrm__field input:focus-visible { outline: 3px solid var(--spgrm-steel); outline-offset: 1px; border-color: var(--spgrm-steel); }

.spgrm__autofill { margin: .6rem 0 0; font-size: .88rem; font-weight: 600; color: var(--spgrm-strong); }

.spgrm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spgrm__consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-size: .88rem; color: var(--spgrm-muted); }
.spgrm__consent input { margin-top: .25rem; flex: none; width: 1.05rem; height: 1.05rem; accent-color: var(--spgrm-steel); }
.spgrm__consent a { color: var(--spgrm-steel); }

.spgrm__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.25rem; }
.spgrm .spgrm__btn {
	appearance: none;
	border: 0;
	border-radius: 6px;
	padding: .8rem 1.4rem;
	background: var(--spgrm-steel);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s;
}
.spgrm .spgrm__btn:hover { background: var(--spgrm-steel-dark); }
.spgrm .spgrm__btn:focus-visible { outline: 3px solid var(--spgrm-steel); outline-offset: 3px; }
.spgrm .spgrm__btn[disabled] { opacity: .55; cursor: progress; }
.spgrm .spgrm__btn--quiet { background: transparent; color: var(--spgrm-steel); padding-left: 0; padding-right: 0; text-decoration: underline; }
.spgrm .spgrm__btn--quiet:hover { background: transparent; color: var(--spgrm-ink); }

.spgrm__status { margin: 0; font-size: .95rem; color: var(--spgrm-muted); }
.spgrm__status.is-error { color: var(--spgrm-error); font-weight: 600; }

.spgrm__progress { height: 3px; margin-top: 1rem; background: var(--spgrm-mist); border-radius: 2px; overflow: hidden; }
.spgrm__progress span { display: block; width: 35%; height: 100%; background: var(--spgrm-steel); animation: spgrm-slide 1.4s ease-in-out infinite; }
@keyframes spgrm-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }

/* Results */
.spgrm__results { margin-top: 2rem; outline: none; }
.spgrm__verdict { margin: 0 0 .35rem; font-size: 1.35rem; line-height: 1.25; font-weight: 700; }
.spgrm__note { margin: 0 0 1.25rem; max-width: 62ch; color: var(--spgrm-muted); }
.spgrm__note--low { padding: .9rem 1rem; border-left: 4px solid var(--spgrm-partial); background: #fbf5ec; color: var(--spgrm-ink); }

.spgrm__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--spgrm-line); }
.spgrm__item {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--spgrm-line);
}

/* The score: a large numeral over a 10-segment meter */
.spgrm__score { --tone: var(--spgrm-partial); }
.spgrm__item.is-strong .spgrm__score { --tone: var(--spgrm-strong); }
.spgrm__num { display: flex; align-items: baseline; gap: .1rem; color: var(--tone); font-variant-numeric: tabular-nums; }
.spgrm__num b { font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.spgrm__num small { font-size: .95rem; font-weight: 600; opacity: .8; }
.spgrm__meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; margin-top: .45rem; width: 5rem; }
.spgrm__meter i { height: 6px; border-radius: 1px; background: var(--spgrm-line); }
.spgrm__meter i.on { background: var(--tone); }

.spgrm__job-title { margin: 0; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
.spgrm__job-title a { color: var(--spgrm-ink); text-decoration: none; }
.spgrm__job-title a:hover { color: var(--spgrm-steel); text-decoration: underline; }
.spgrm__job-title a:focus-visible { outline: 3px solid var(--spgrm-steel); outline-offset: 2px; }
.spgrm__meta { margin: .2rem 0 0; font-size: .9rem; color: var(--spgrm-muted); }
.spgrm__fit { display: inline-block; margin-left: .5rem; font-size: .8rem; font-weight: 700; color: var(--spgrm-partial); }
.spgrm__item.is-strong .spgrm__fit { color: var(--spgrm-strong); }
.spgrm__reason { margin: .55rem 0 0; font-size: .95rem; max-width: 60ch; }

.spgrm__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin: .8rem 0 0; }
.spgrm .spgrm__apply-link {
	display: inline-block;
	padding: .5rem 1.3rem;
	border-radius: 6px;
	background: var(--spgrm-steel);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.spgrm .spgrm__apply-link:hover { background: var(--spgrm-steel-dark); color: #fff; }
.spgrm .spgrm__apply-link:visited { color: #fff; }
.spgrm .spgrm__view-link { color: var(--spgrm-steel); font-weight: 600; font-size: .95rem; }
.spgrm .spgrm__apply-link:focus-visible, .spgrm .spgrm__view-link:focus-visible { outline: 3px solid var(--spgrm-steel); outline-offset: 2px; }
.spgrm__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 1.25rem; }
.spgrm__apply-note { margin: 0; max-width: 52ch; font-size: .9rem; color: var(--spgrm-muted); }

@media (max-width: 600px) {
	.spgrm__form { padding: 1.1rem; }
	.spgrm__fields { grid-template-columns: 1fr; }
	.spgrm__item { grid-template-columns: 1fr; gap: .4rem; }
	.spgrm__score { display: flex; align-items: center; gap: .75rem; }
	.spgrm__meter { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.spgrm__progress span { animation: none; width: 100%; opacity: .5; }
	.spgrm__drop, .spgrm .spgrm__btn { transition: none; }
}

/* ---------- 4th box in the WP Job Manager search bar ---------- */
.search_jobs:has(> .spgrm-in-bar),
.spgrm-bar {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}
.search_jobs:has(> .spgrm-in-bar) > div:not(.spgrm-bar-field),
.spgrm-bar > div:not(.spgrm-bar-field) {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.spgrm-bar-field { display: flex; flex-direction: column; min-width: 0; }
.spgrm-in-bar { flex: 1.4 1 0; }
/* Themes often hide all search-bar labels and re-show only their own; keep ours visible. */
.job_filters .search_jobs .spgrm-bar-field > label,
.spgrm-bar-field > label { display: block !important; visibility: visible !important; }
.spgrm-bar-field .spgrm-new {
	position: absolute;
	top: 0;
	right: 0;
	padding: 3px 6px 2px;
	border-radius: 0 0 0 4px;
	background: #ffd166;
	color: #3a2a00;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .04em;
	pointer-events: none;
}
.spgrm-bar-field .spgrm-open {
	appearance: none;
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #05769f;
	overflow: hidden;
	position: relative;
	font: inherit;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, color .15s;
}
.spgrm-bar-field .spgrm-open:hover { background: #e8f3f8; color: #045c7c; }
.spgrm-bar-field .spgrm-open:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
.spgrm-bar-field .spgrm-open { gap: 8px; }
.spgrm-bar-field .spgrm-open svg { flex: none; width: 18px; height: 18px; }
.spgrm-bar-field .spgrm-open .spgrm-open__text { flex: 0 1 auto; min-width: 0; font-size: 15px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Narrow tablets: 2 x 2. Wider screens keep one row of four. */
@media (max-width: 860px) {
	.search_jobs:has(> .spgrm-in-bar) > div,
	.spgrm-bar > div { flex: 1 1 calc(50% - 5px) !important; }
}
@media (max-width: 767px) {
	.search_jobs:has(> .spgrm-in-bar) > div,
	.spgrm-bar > div { flex-basis: 100% !important; }
}

/* ---------- Pop-up ---------- */
.spgrm-modal[hidden] { display: none !important; }
.spgrm-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5vh 16px;
	background: rgba(10, 30, 45, .55);
	overflow-y: auto;
}
.spgrm-dialog {
	position: relative;
	width: 100%;
	max-width: 780px;
	background: #fff;
	border-radius: 14px;
	padding: 28px 28px 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.spgrm-dialog .spgrm { margin: 0; max-width: none; }
.spgrm-dialog .spgrm__form { border: 0; padding: 0; }
.spgrm-dialog .spgrm .spgrm__title { padding-right: 40px; font-size: 26px; }
.spgrm-dialog .spgrm__results { margin-top: 0; }
.spgrm-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5a6778;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.spgrm-close:hover { background: #eef2f6; color: #14263d; }
.spgrm-close:focus-visible { outline: 3px solid #05769f; outline-offset: 2px; }
html.spgrm-lock, html.spgrm-lock body { overflow: hidden; }

@media (max-width: 600px) {
	.spgrm-modal { padding: 12px 8px; }
	.spgrm-dialog { padding: 22px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.spgrm-bar-field .spgrm-open { transition: none; }
}

/* ---------- Job page: "See how your CV matches this role" ---------- */
.spgrm-jobmatch { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: #eef4f7; border-left: 4px solid #05769f; }
.spgrm-jobmatch .spgrm-jobmatch__btn {
	display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: .7rem 1.2rem;
	border: 0; border-radius: 6px; background: #05769f; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.spgrm-jobmatch .spgrm-jobmatch__btn:hover { background: #045c7c; }
.spgrm-jobmatch .spgrm-jobmatch__btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
.spgrm-jobmatch svg { width: 18px; height: 18px; flex: none; }
.spgrm-jobmatch__note { font-size: .92rem; color: #5a6778; }

/* ---------- Empty seat calculator ---------- */
.spgrm-calc { --c-blue: #05769f; --c-ink: #14263d; --c-muted: #5a6778; --c-line: #d4dce5; --c-mist: #eef4f7; max-width: 1000px; margin: 2rem auto; color: var(--c-ink); }
.spgrm-calc * { box-sizing: border-box; }
.spgrm-calc [hidden] { display: none !important; }
.spgrm-calc .spgrm-calc__title { margin: 0 0 .4rem; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.15; color: var(--c-ink); }
.spgrm-calc__intro { margin: 0 0 1.5rem; color: var(--c-muted); max-width: 62ch; }
.spgrm-calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.spgrm-calc__inputs { display: grid; gap: .9rem; }
.spgrm-calc label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .95rem; }
.spgrm-calc input { width: 100%; height: 44px; padding: 0 .75rem; border: 1px solid var(--c-line); border-radius: 6px; font: inherit; font-weight: 400; color: var(--c-ink); background: #fff; }
.spgrm-calc input:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 1px; }
.spgrm-calc__result { background: var(--c-blue); color: #fff; border-radius: 14px; padding: 1.75rem; position: sticky; top: 1rem; }
.spgrm-calc__label { margin: 0; font-weight: 600; opacity: .9; }
.spgrm-calc__big { margin: .2rem 0 .6rem; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.spgrm-calc__week { margin: 0 0 1.2rem; }
.spgrm-calc__rows { margin: 0 0 1.2rem; padding: 0; }
.spgrm-calc__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.25); }
.spgrm-calc__rows dt { margin: 0; }
.spgrm-calc__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.spgrm-calc__spg { margin: 0 0 1.2rem; padding: .75rem .9rem; background: rgba(255,255,255,.14); border-left: 4px solid #ffd166; }
.spgrm-calc .spgrm-calc__cta { display: inline-block; padding: .75rem 1.5rem; border-radius: 25px; background: #ff6306; color: #fff; font-weight: 700; text-decoration: none; }
.spgrm-calc .spgrm-calc__cta:hover { background: #e55500; color: #fff; }
.spgrm-calc__math { margin: 1.25rem 0; color: var(--c-muted); font-size: .92rem; }
.spgrm-calc__math summary { cursor: pointer; font-weight: 600; color: var(--c-blue); }
.spgrm-calc__lead { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: 10px; }
.spgrm-calc__lead h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.spgrm-calc__lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
.spgrm-calc .spgrm-calc__send { padding: .8rem 1.4rem; border: 0; border-radius: 6px; background: var(--c-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.spgrm-calc .spgrm-calc__send:hover { background: #045c7c; }
.spgrm-calc .spgrm-calc__send[disabled] { opacity: .6; }
.spgrm-calc__status { margin: .75rem 0 0; color: var(--c-muted); }
.spgrm-calc__status.is-error { color: #b3261e; font-weight: 600; }
@media (max-width: 760px) {
	.spgrm-calc__grid, .spgrm-calc__lead-grid { grid-template-columns: 1fr; }
	.spgrm-calc__result { position: static; }
}

/* ---------- Landing pages (styled like the careers page) ---------- */
.spgrm-landing { max-width: 1100px; margin: 0 auto; color: #1f2d3a; }
.spgrm-landing h2.spgrm-landing__title { margin: 0 0 .6rem; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.15; font-weight: 800; color: #1f2d3a; text-align: center; }
.spgrm-landing p.spgrm-landing__lede { margin: 0 auto 1.25rem; max-width: 72ch; font-size: 1.08rem; line-height: 1.6; color: #3a4a5a; text-align: center; }

.spgrm-landing .spgrm-landing__bar { margin: 1.5rem 0 2rem; }
.spgrm-landing .spgrm-landing__bar .search_jobs { display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; padding: 22px 24px 26px; background: #05769f; border-radius: 28px; }
.spgrm-landing .spgrm-landing__bar .search_jobs > div { flex: 1 1 0; min-width: 0; }
.spgrm-landing .spgrm-landing__bar .search_jobs > div.spgrm-in-bar { flex: 1.4 1 0; }
.spgrm-landing .spgrm-landing__bar .search_jobs > div.search_submit { flex: 0 0 auto !important; }
.spgrm-landing .spgrm-landing__bar label { display: block; margin: 0 0 7px; color: #fff; font-size: 16px; font-weight: 700; line-height: 1; }
.spgrm-landing .spgrm-landing__bar *, .spgrm-landing .spgrm-landing__bar *::before, .spgrm-landing .spgrm-landing__bar *::after { box-sizing: border-box; }
.spgrm-landing .spgrm-landing__bar input[type=text] { display: block; width: 100%; height: 50px; margin: 0; padding: 0 10px; border: 0; border-radius: 0; background: #fff; color: #1f2d3a; font: inherit; font-size: 16px; font-weight: 700; box-shadow: none; }
.spgrm-landing .spgrm-landing__bar input[type=text]::placeholder { color: #9a9a9a; }
.spgrm-landing .spgrm-landing__bar input[type=text]:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
.spgrm-landing .spgrm-landing__bar .search_submit button { height: 50px; margin: 0; padding: 0 26px; border: 0; border-radius: 25px; background: #ff6306; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.spgrm-landing .spgrm-landing__bar .search_submit button:hover { background: #e55500; }
.spgrm-landing .spgrm-landing__bar .search_submit button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.spgrm-landing ul.job_listings { margin-top: 0; }
.spgrm-landing__list { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid #d4dce5; }
.spgrm-landing__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .9rem 0; border-bottom: 1px solid #d4dce5; }
.spgrm-landing__list a { font-weight: 700; color: #1f2d3a; text-decoration: none; }
.spgrm-landing__list a:hover { color: #05769f; text-decoration: underline; }
.spgrm-landing__list span { color: #5a6778; font-size: .92rem; }

.spgrm-landing__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 1.5rem 0 2rem; }
.spgrm-landing__pages a, .spgrm-landing__pages span { display: inline-block; min-width: 40px; padding: 8px 12px; border: 1px solid #d4dce5; border-radius: 6px; text-align: center; text-decoration: none; color: #05769f; font-weight: 700; }
.spgrm-landing__pages span[aria-current] { background: #05769f; border-color: #05769f; color: #fff; }

.spgrm-landing__benefits { margin: 2.5rem 0; padding: 1.75rem 2rem; background: #eef4f7; border-radius: 14px; }
.spgrm-landing__benefits h3 { margin: 0 0 .8rem; font-size: 1.35rem; color: #1f2d3a; }
.spgrm-landing__benefits ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.spgrm-landing__benefits li { margin: .35rem 0; }
.spgrm-landing__benefits a { color: #05769f; font-weight: 700; }

.spgrm-landing__related { margin: 2rem 0; }
.spgrm-landing__related h3 { margin: 1.25rem 0 .6rem; font-size: 1.15rem; color: #1f2d3a; }
.spgrm-landing__related ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 1.5rem; }
.spgrm-landing__related li { margin: 0 0 .45rem; break-inside: avoid; }
.spgrm-landing__related a { color: #05769f; text-decoration: none; }
.spgrm-landing__related a:hover { text-decoration: underline; }
.spgrm-landing-links__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem 2rem; }
.spgrm-landing-links h4 { margin: .5rem 0; font-size: 1rem; }
.spgrm-landing-links ul { columns: 1; }

@media (max-width: 860px) {
	.spgrm-landing .spgrm-landing__bar .search_jobs > div { flex: 1 1 calc(50% - 5px) !important; }
}
@media (max-width: 767px) {
	.spgrm-landing .spgrm-landing__bar .search_jobs { border-radius: 20px; padding: 18px 16px 20px; }
	.spgrm-landing .spgrm-landing__bar .search_jobs > div { flex-basis: 100% !important; }
	.spgrm-landing .spgrm-landing__bar .search_jobs > div.search_submit { flex: 1 1 100% !important; }
	.spgrm-landing .spgrm-landing__bar .search_submit button { width: 100%; }
	.spgrm-landing .spgrm-landing__bar .search_submit label { display: none; }
	.spgrm-landing__benefits { padding: 1.25rem; }
}

/* Landing pages: override theme widths so the bar, heading, and job cards share one center line. */
.spgrm-landing form.spgrm-landing__bar { display: block; width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; float: none !important; }
.spgrm-landing .spgrm-landing__bar .search_jobs { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
.spgrm-landing h2.spgrm-landing__title { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.spgrm-landing p.spgrm-landing__lede { text-align: center !important; margin-left: auto !important; margin-right: auto !important; font-size: 17px !important; line-height: 1.6 !important; max-width: 760px; }

/* ---------- Hiring pages (styled like the clients page) ---------- */
.spgrm-hire { max-width: 1100px; margin: 0 auto; color: #1f2d3a; }
.spgrm-hire *, .spgrm-hire *::before, .spgrm-hire *::after { box-sizing: border-box; }
.spgrm-hire__hero { text-align: center; padding: 1rem 0 2rem; }
.spgrm-hire h2.spgrm-hire__title { margin: 0 0 .8rem; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.15; font-weight: 800; color: #1f2d3a; text-align: center; }
.spgrm-hire p.spgrm-hire__sub { margin: 0 auto 1.4rem; max-width: 820px; font-size: 18px !important; line-height: 1.6; color: #3a4a5a; text-align: center; }
.spgrm-hire__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.spgrm-hire .spgrm-hire__cta { display: inline-block; padding: 12px 28px; border-radius: 25px; background: #ff6306; border: 2px solid #ff6306; color: #fff; font-weight: 700; text-decoration: none; }
.spgrm-hire .spgrm-hire__cta:hover { background: #e55500; border-color: #e55500; color: #fff; }
.spgrm-hire .spgrm-hire__cta--ghost { background: transparent; color: #ff6306; }
.spgrm-hire .spgrm-hire__cta--ghost:hover { background: #ff6306; color: #fff; }
.spgrm-hire__section { margin: 2.5rem 0; }
.spgrm-hire h3.spgrm-hire__h { margin: 0 0 1rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: #1f2d3a; text-align: center; }
.spgrm-hire__section > p { max-width: 820px; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.65; }
.spgrm-hire__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.spgrm-hire__card { background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(20, 38, 61, .08); padding: 26px 24px; }
.spgrm-hire__card h4 { margin: .3rem 0 .6rem; font-size: 1.2rem; color: #05769f; }
.spgrm-hire__card p { margin: 0; line-height: 1.6; }
.spgrm-hire .spgrm-hire__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff6306; text-decoration: none; }
.spgrm-hire__checks { max-width: 820px; margin: 1rem auto; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.spgrm-hire__checks li { position: relative; padding-left: 26px; }
.spgrm-hire__checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid #05769f; border-bottom: 3px solid #05769f; transform: rotate(-45deg); }
.spgrm-hire__titles { color: #5a6778; }
.spgrm-hire__market { background: #eef4f7; border-radius: 14px; padding: 1.75rem 2rem; }
.spgrm-hire__steps { max-width: 860px; margin: 1rem auto 0; padding: 0; list-style: none; counter-reset: s; }
.spgrm-hire__steps li { position: relative; margin: 0 0 14px; padding: 16px 18px 16px 64px; background: #fff; border-left: 4px solid #05769f; border-radius: 8px; box-shadow: 0 3px 14px rgba(20, 38, 61, .06); line-height: 1.55; }
.spgrm-hire__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: #05769f; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.spgrm-hire__wk { float: right; margin-left: 12px; font-size: 12px; font-weight: 700; color: #ff6306; text-transform: uppercase; letter-spacing: .05em; }
.spgrm-hire__briefing { text-align: center; }
.spgrm-hire__logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.spgrm-hire__logos img { width: 100%; height: auto; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .85; }
.spgrm-hire__form { background: #05769f; color: #fff; border-radius: 20px; padding: 2rem; }
.spgrm-hire__form h3.spgrm-hire__h { color: #fff; }
.spgrm-hire__form > p { text-align: center; color: #e6f3f8; }
.spgrm-hire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.spgrm-hire__form label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; color: #fff; }
.spgrm-hire__form input[type=text], .spgrm-hire__form input[type=email], .spgrm-hire__form input[type=tel], .spgrm-hire__form textarea { width: 100%; padding: 12px; border: 0; border-radius: 0; font: inherit; font-weight: 400; color: #1f2d3a; background: #fff; }
.spgrm-hire__form textarea { resize: vertical; }
.spgrm-hire .spgrm-hire__send { margin-top: 14px; padding: 13px 30px; border: 0; border-radius: 25px; background: #ff6306; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.spgrm-hire .spgrm-hire__send:hover { background: #e55500; }
.spgrm-hire .spgrm-hire__send[disabled] { opacity: .6; }
.spgrm-hire__status { margin: .8rem 0 0; color: #e6f3f8; }
.spgrm-hire__status.is-error { color: #ffd7c2; font-weight: 700; }
@media (max-width: 860px) {
	.spgrm-hire__cards { grid-template-columns: 1fr; }
	.spgrm-hire__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.spgrm-hire__checks, .spgrm-hire__grid { grid-template-columns: 1fr; }
	.spgrm-hire__form { padding: 1.4rem; }
	.spgrm-hire__wk { float: none; display: block; margin: 0 0 4px; }
}

/* Hiring pages: engagement options, industries, form selects */
.spgrm-hire__cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spgrm-hire__card a { color: #05769f; font-weight: 700; }
.spgrm-hire__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.spgrm-hire .spgrm-hire__chip { display: inline-block; padding: 8px 18px; border: 2px solid #05769f; border-radius: 22px; color: #05769f; font-weight: 700; text-decoration: none; }
.spgrm-hire a.spgrm-hire__chip:hover { background: #05769f; color: #fff; }
.spgrm-hire .spgrm-hire__chip.is-current { background: #05769f; color: #fff; }
.spgrm-hire__form select { width: 100%; padding: 12px; border: 0; border-radius: 0; font: inherit; font-weight: 400; color: #1f2d3a; background: #fff; }
@media (max-width: 1000px) { .spgrm-hire__cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .spgrm-hire__cards--4 { grid-template-columns: 1fr; } }

/* Top-paying roles strip: [spg_top_jobs] */
.spgrm-top { margin: 2rem 0; }
.spgrm-top h3.spgrm-top__h { margin: 0 0 1rem; text-align: center; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: #1f2d3a; }
.spgrm-top__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.spgrm-top .spgrm-top__card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: #fff; border: 1px solid #d4dce5; border-top: 4px solid #05769f; border-radius: 10px; text-decoration: none; color: #1f2d3a; transition: box-shadow .15s, transform .15s; }
.spgrm-top .spgrm-top__card:hover { box-shadow: 0 8px 24px rgba(20, 38, 61, .12); transform: translateY(-2px); }
.spgrm-top__loc { font-size: 13px; color: #5a6778; }
.spgrm-top__title { font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.spgrm-top__pay { font-weight: 800; color: #1d7348; font-variant-numeric: tabular-nums; }
.spgrm-top__ind { font-size: 12px; font-weight: 700; color: #05769f; text-transform: uppercase; letter-spacing: .05em; }
.spgrm-top__go { margin-top: auto; padding-top: 6px; font-weight: 700; color: #ff6306; }
.spgrm-top__all { text-align: center; margin-top: 1rem; }
.spgrm-top__all a { display: inline-block; padding: 12px 28px; border-radius: 25px; background: #ff6306; color: #fff; font-weight: 700; text-decoration: none; }

.spgrm .spgrm__admin-debug, .spgrm-modal .spgrm__admin-debug { margin: .75rem 0; padding: .6rem .8rem; background: #fff4e5; border-left: 4px solid #ff6306; color: #5a3200; font-size: .9rem; word-break: break-word; }

/* Blocks added to existing pages */
.spgrm-auto-blocks { clear: both; max-width: 1100px; margin: 2.5rem auto; padding: 0 16px; }
.spgrm-hire-cta { padding: 2rem; background: #eef4f7; border-radius: 14px; text-align: center; }
.spgrm-hire-cta h3.spgrm-hire-cta__h { margin: 0 0 .6rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: #1f2d3a; }
.spgrm-hire-cta p { max-width: 760px; margin: 0 auto 1rem; }
.spgrm-hire-cta__links { list-style: none; margin: 0 auto 1.25rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 980px; }
.spgrm-hire-cta__links a { display: inline-block; padding: 7px 14px; border: 2px solid #05769f; border-radius: 20px; color: #05769f; font-weight: 700; text-decoration: none; font-size: .92rem; }
.spgrm-hire-cta__links a:hover { background: #05769f; color: #fff; }
.spgrm-hire-cta .spgrm-hire-cta__btn { display: inline-block; padding: 12px 28px; border-radius: 25px; background: #ff6306; color: #fff; font-weight: 700; text-decoration: none; }
.spgrm-hire-cta .spgrm-hire-cta__btn:hover { background: #e55500; }
