/* Staging (Tony Gee Aug 18) visual system, scoped so Nimva/Woo `.job`/`.hero`
   selectors cannot leak. Listing markup lives under `.rb-stg`. */

.rb-stg {
	--navy-deep: #0b1f3a;
	--navy: #0f2d52;
	--blue-mid: #1a4e8a;
	--blue-accent: #3fa9f5;
	--blue-accent-dark: #1c86d6;
	--ink: #0d1b2a;
	--gray-600: #5b6675;
	--gray-100: #f4f6f9;
	--gray-200: #e8ecf1;
	--white: #fff;
	--radius: 14px;
	--fs-eyebrow: 12px;
	--fs-h1: 52px;
	--fs-h2: 34px;
	--fs-card-heading: 16px;
	--fs-lede: 17px;
	--fs-body: 14px;
	--fs-small: 13px;
	--fs-nav: 15px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	font-size: var(--fs-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.rb-stg *,
.rb-stg *::before,
.rb-stg *::after { box-sizing: border-box; }
.rb-stg a { color: inherit; text-decoration: none; }
.rb-stg img { max-width: 100%; display: block; }
.rb-stg button,
.rb-stg input,
.rb-stg select { font: inherit; color: inherit; }
.rb-stg .wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .rb-stg .wrap { padding: 0 18px; } }
.rb-stg .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.rb-stg .chev {
	width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor;
	transform: rotate(45deg); display: inline-block; flex: none;
}

.rb-stg-hero {
	background-image: linear-gradient(135deg, rgba(11, 31, 58, 0.88) 0%, rgba(26, 78, 138, 0.82) 100%), var(--rb-stg-hero, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	padding: 90px 0 100px;
}
@media (max-width: 900px) { .rb-stg-hero { padding: 64px 0 72px; } }
.rb-stg-hero .eyebrow {
	text-transform: uppercase; font-size: var(--fs-eyebrow); font-weight: 700;
	letter-spacing: 1.5px; color: #8fd3ff; margin: 0 0 14px;
}
.rb-stg-hero h1 {
	font-size: clamp(34px, 5.4vw, var(--fs-h1));
	line-height: 1.08; margin: 0 0 22px; font-weight: 800;
	letter-spacing: -1px; max-width: 85%; color: #fff !important;
}
.rb-stg-hero .lede {
	font-size: var(--fs-lede); max-width: 85%; color: #fff !important; margin: 0 0 34px;
}
.rb-stg-hero .lede a { color: #fff; }
.rb-stg-lang {
	display: inline-flex; align-items: center; padding: 5px 14px; margin: 0 0 18px;
	border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
	font-weight: 600; font-size: var(--fs-nav); color: #fff;
}
.rb-stg-lang:hover { border-color: #fff; }

.rb-stg-search {
	display: flex; align-items: center; gap: 12px; background: var(--white);
	border-radius: 999px; height: 64px; padding: 0 10px 0 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 860px;
}
.rb-stg-search svg { flex: none; color: var(--gray-600); }
.rb-stg-search input {
	flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
	color: var(--ink); font-size: 16px; height: 100%;
}
.rb-stg-search input::placeholder { color: #7a8694; }
.rb-stg .pill {
	display: inline-flex; align-items: center; gap: 8px; background: var(--white);
	color: var(--navy-deep); padding: 0 22px; height: 44px; border: 0;
	border-radius: 999px; font-weight: 700; font-size: var(--fs-nav);
	cursor: pointer; white-space: nowrap;
}
.rb-stg .pill.solid { background: var(--navy-deep); color: var(--white); }
.rb-stg .pill.solid:hover { background: var(--blue-mid); }
.rb-stg .pill:disabled { opacity: .6; cursor: default; }
@media (max-width: 640px) {
	.rb-stg-search { height: 56px; padding: 0 6px 0 16px; }
	.rb-stg-search .pill { padding: 0 16px; }
	.rb-stg-search .pill span.txt { display: none; }
}

.rb-stg-jobs { background: var(--gray-100); padding: 64px 0 80px; }
.rb-stg-jobs .section-label {
	font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 1.5px;
	color: var(--blue-accent-dark); text-transform: uppercase; margin-bottom: 10px;
}
.rb-stg-jobs .head-title {
	font-size: var(--fs-h2); letter-spacing: -.5px; margin: 0; font-weight: 800; color: var(--ink);
}
.rb-stg-jobs .grid {
	display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 32px;
	align-items: start; margin-top: 28px;
}
@media (max-width: 900px) { .rb-stg-jobs .grid { grid-template-columns: 1fr; gap: 20px; } }

.rb-stg-filters {
	background: var(--white); border: 1px solid var(--gray-200);
	border-radius: var(--radius); padding: 20px;
}
.rb-stg-filters h2 { margin: 0; font-size: var(--fs-card-heading); font-weight: 800; color: var(--ink); }
.rb-stg-filters .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rb-stg-filters .reset {
	border: 0; background: none; color: var(--gray-600); cursor: pointer;
	padding: 6px; border-radius: 50%; display: inline-flex;
}
.rb-stg-filters .reset:hover { background: var(--gray-100); color: var(--ink); }
.rb-stg-filters .field { display: block; margin-bottom: 18px; }
.rb-stg-filters .field:last-child { margin-bottom: 0; }
.rb-stg-filters .lbl {
	display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--gray-600); margin-bottom: 7px;
}
.rb-stg-filters select {
	width: 100%; height: 46px; border: 1px solid #d5dde6; border-radius: 10px;
	background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%235b6675' stroke-width='1.6'/></svg>") no-repeat right 14px center;
	padding: 0 34px 0 12px; -webkit-appearance: none; appearance: none;
	color: var(--ink); cursor: pointer; text-overflow: ellipsis;
}
.rb-stg-filters select:hover { border-color: var(--navy); }
.rb-stg-filters select:focus { outline: none; border: 2px solid var(--blue-accent-dark); padding-left: 11px; }
@media (max-width: 900px) {
	.rb-stg-filters .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
	.rb-stg-filters .field { margin: 0; }
}

.rb-stg-results .head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.rb-stg-results h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.rb-stg-results .meta { font-size: var(--fs-small); color: var(--gray-600); }
.rb-stg-results .meta b { color: var(--ink); font-weight: 600; }
.rb-stg .note {
	border: 1px solid #f0d9a8; background: #fff8e6; color: #6b4e00;
	border-radius: 10px; padding: 8px 12px; font-size: var(--fs-body); margin-bottom: 12px;
}
.rb-stg .note.info { border-color: #c8e5fa; background: #e6f3fd; color: var(--blue-mid); }
.rb-stg-card {
	border: 1px solid var(--gray-200); border-radius: var(--radius);
	background: var(--white); padding: 8px 24px 24px;
}
@media (max-width: 640px) { .rb-stg-card { padding: 2px 14px 18px; } }
.rb-stg-hit { padding: 22px 0 20px; border-bottom: 1px solid var(--gray-200); }
.rb-stg-hit:last-of-type { border-bottom: 0; }
.rb-stg-hit h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; font-weight: 700; }
.rb-stg-hit h3 a { color: var(--blue-accent-dark); }
.rb-stg-hit h3 a:hover { color: var(--blue-mid); text-decoration: underline; }
.rb-stg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-stg-tag {
	display: inline-flex; align-items: center; gap: 6px; background: var(--gray-100);
	border: 1px solid var(--gray-200); color: var(--navy); font-size: 12px;
	font-weight: 600; line-height: 1; padding: 6px 10px 6px 8px; border-radius: 999px;
	white-space: nowrap;
}
.rb-stg-tag svg { width: 12px; height: 12px; flex: none; color: var(--blue-accent-dark); }
.rb-stg-tag.remote { background: #e6f3fd; border-color: #c8e5fa; color: var(--blue-mid); }
.rb-stg-status { color: var(--gray-600); font-size: var(--fs-body); padding: 12px 0 0; }
.rb-stg-empty { padding: 56px 20px 48px; text-align: center; color: var(--gray-600); }
.rb-stg-empty b { display: block; color: var(--ink); font-size: 20px; font-weight: 700; margin-bottom: 6px; overflow-wrap: anywhere; }
.rb-stg-empty p { margin: 8px auto 20px; max-width: 520px; line-height: 1.55; }
.rb-stg-empty .pill { margin: 0 auto; }
.rb-stg-pager {
	display: flex; justify-content: center; align-items: center; gap: 6px;
	padding-top: 24px; flex-wrap: wrap;
}
.rb-stg-pager button {
	min-width: 34px; height: 34px; border: 1px solid var(--gray-200); border-radius: 10px;
	background: var(--white); color: var(--ink); cursor: pointer; font-size: var(--fs-body);
	padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
}
.rb-stg-pager button[aria-current="page"] { background: var(--gray-100); border-color: #d5dde6; font-weight: 700; }
.rb-stg-pager button:disabled { opacity: .4; cursor: default; }
.rb-stg-pager button:not(:disabled):hover { border-color: var(--navy); }
.rb-stg-pager .dots { color: var(--gray-600); padding: 0 4px; }

body.page-template-template-careers-php #page-title { display: none !important; }

/* Job detail — same photo hero, keep the fact-grid below. */
.rb26-job .rb-stg-hero h1 { max-width: 18em; }
.rb26-job .rb26-hero-lede { color: #fff; max-width: 40em; }
.rb26-job-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start;
}
@media (max-width: 900px) { .rb26-job-grid { grid-template-columns: 1fr; } }
.rb26-prose { font-size: 16px; line-height: 1.65; color: var(--rb-body, #41546a); white-space: pre-wrap; }
.rb26-prose p { margin: 0 0 1em; }
.rb26-job-body .rb26-h3 { margin-top: 28px; color: var(--rb-ink, #0b1a2b); }
.rb26-job-facts {
	background: #fff; border: 1px solid #dde5ee; border-radius: 18px; padding: 22px; margin: 0 0 16px;
}
.rb26-job-facts div { margin-bottom: 12px; }
.rb26-job-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #41546a; }
.rb26-job-facts dd { margin: 2px 0 0; font-weight: 600; color: #0b1a2b; }
.rb26-job-apply { width: 100%; justify-content: center; }
.rb26-job .rb26-btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); }
.rb26-job .rb26-btn--outline:hover { background: #fff; color: #041b4b; }
