/* ---------------------------------------------------------------------------
   careers.rbglobal.com content pages (template-careers-area.php)
   ---------------------------------------------------------------------------
   Redesign 2026-11-04. Depends on rb26-core.css (tokens, buttons, section
   furniture). Every class here starts rb-ca- so nothing reaches other pages.

   One type scale and one spacing scale, below as --ca-* custom properties.
   Components use only these; a size that is not on the scale is a bug. The
   three breakpoints (1024px, 700px) change the tokens, not the components.

   Two rules from rb26-core.css that this file leans on:
   - Headings get an explicit colour, always (Nimva prints bare h1-h6 colours
     inline in <head>, and those beat inherited values).
   - Hover lifts use the `translate` property, not `transform`: the scroll
     reveal sets `transform: none` on .rb26-reveal.is-in at higher specificity,
     which would cancel a transform-based lift on the same element.
   --------------------------------------------------------------------------- */

.rb26-careers-area {
	/* Type: display / h2 / h3-large / h3 / h4, then lead / body-large / body / small. */
	--ca-fs-display: clamp(40px, 5.4vw, 72px);
	--ca-fs-h2: clamp(30px, 3.3vw, 44px);
	--ca-fs-h3l: clamp(22px, 2.1vw, 28px);
	--ca-fs-h3: 20px;
	--ca-fs-h4: 17px;
	--ca-fs-lead: clamp(18px, 1.45vw, 20px);
	--ca-fs-bodyl: 18px;
	--ca-fs-body: 16px;
	--ca-fs-small: 14px;
	--ca-fs-eyebrow: 13px;
	--ca-lh-tight: 1.1;
	--ca-lh-head: 1.25;
	--ca-lh-body: 1.65;

	/* Space: section padding, head-to-content, grid gutter, card padding, and
	   the small step between stacked text (eyebrow > title > copy). */
	--ca-section: 104px;
	--ca-head: 48px;
	--ca-gap: 24px;
	--ca-pad: 28px;
	--ca-stack: 16px;

	--ca-radius: 22px;
	--ca-radius-lg: 28px;
	--ca-navy: #041b4b;
	--ca-navy-2: #062a63;
	--ca-glow: rgba(33, 184, 242, 0.28);
	--ca-on-dark: rgba(255, 255, 255, 0.86);
	--ca-eyebrow-dark: #8fd3ff;

	color: var(--rb-body);
}
@media (max-width: 1024px) {
	.rb26-careers-area {
		--ca-section: 80px;
		--ca-head: 40px;
		--ca-gap: 20px;
	}
}
@media (max-width: 700px) {
	.rb26-careers-area {
		--ca-fs-display: clamp(36px, 10vw, 44px);
		--ca-fs-h2: clamp(27px, 7.4vw, 32px);
		--ca-fs-h3l: 22px;
		--ca-fs-h3: 19px;
		--ca-fs-lead: 17px;
		--ca-fs-bodyl: 17px;
		--ca-section: 64px;
		--ca-head: 32px;
		--ca-gap: 16px;
		--ca-pad: 24px;
		--ca-stack: 14px;
		--ca-radius: 18px;
		--ca-radius-lg: 22px;
	}
}

.rb-ca-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Shared furniture, retuned to the scale -------------------------------- */
.rb26-careers-area .rb26-section,
.rb-ca-intro,
.rb-ca-quote-wrap,
.rb-ca-band,
.rb-ca-community {
	padding: var(--ca-section) 0;
}
.rb26-careers-area .rb26-eyebrow,
.rb-ca-band-kicker {
	display: inline-block;
	margin-bottom: var(--ca-stack);
	font-size: var(--ca-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}
.rb26 .rb26-careers-area .rb26-h2,
.rb26.rb26-careers-area .rb26-h2,
.rb26 .rb-ca-band h2 {
	font-size: var(--ca-fs-h2);
	font-weight: 800;
	line-height: var(--ca-lh-tight);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.rb26-careers-area .rb26-section-head {
	max-width: 760px;
	margin-bottom: var(--ca-head);
}
.rb26.rb26-careers-area .rb26-section-head p {
	margin-top: var(--ca-stack);
	font-size: var(--ca-fs-bodyl);
	line-height: var(--ca-lh-body);
}
.rb26.rb26-careers-area .rb26-section-head h2 + p {
	margin-top: calc(var(--ca-stack) + 4px);
}
.rb26.rb26-careers-area .rb26-section-head p + p {
	margin-top: var(--ca-stack);
}
.rb-ca-section-cta {
	margin-top: var(--ca-head);
}
/* Two white blocks in a row would stack two full paddings of white. */
.rb-ca-quote-wrap + .rb-ca-section:not(.rb26-section--tint),
.rb-ca-section:not(.rb26-section--tint) + .rb-ca-quote-wrap,
.rb-ca-section:not(.rb26-section--tint) + .rb-ca-community,
.rb-ca-community + .rb-ca-quote-wrap,
.rb-ca-quote-wrap + .rb-ca-community,
.rb-ca-intro + .rb-ca-quote-wrap {
	padding-top: 0;
}

/* Hero ------------------------------------------------------------------ */
.rb26-careers-area .rb-ca-hero {
	display: flex;
	align-items: center;
	min-height: clamp(580px, 74vh, 760px);
	padding: 72px 0 80px;
}
.rb-ca-hero > .rb26-shell {
	width: 100%;
}
/* Photo stays visible on the right: the scrim is heavy where the text sits and
   thins out across the picture, instead of one flat blue wash over all of it. */
.rb-ca-hero.rb26-pagehead--photo .rb26-pagehead-bg::after {
	opacity: 1;
	background:
		linear-gradient(90deg, rgba(4, 27, 75, 0.95) 0%, rgba(4, 27, 75, 0.86) 36%, rgba(6, 88, 150, 0.42) 70%, rgba(6, 88, 150, 0.12) 100%),
		linear-gradient(0deg, rgba(4, 27, 75, 0.6) 0%, rgba(4, 27, 75, 0) 42%);
}
.rb-ca-hero .rb26-pagehead-bg img {
	object-position: 68% 30%;
}
.rb-ca-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ca-stack);
	margin-bottom: calc(var(--ca-stack) + 8px);
}
.rb-ca-hero-eyebrow {
	font-size: var(--ca-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ca-eyebrow-dark);
}
.rb26 .rb-ca-lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: var(--rb-pill);
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: var(--ca-fs-small);
	font-weight: 600;
	color: #fff;
	transition: background-color 0.25s var(--rb-ease), border-color 0.25s var(--rb-ease);
}
.rb26 .rb-ca-lang:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.7);
}
.rb26 .rb-ca-hero h1 {
	max-width: 17ch;
	font-size: var(--ca-fs-display);
	line-height: 1.03;
	letter-spacing: -0.035em;
	text-wrap: balance;
	color: #fff;
}
.rb26 .rb-ca-hero-lead {
	max-width: 54ch;
	margin-top: calc(var(--ca-stack) + 6px);
	font-size: var(--ca-fs-lead);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

/* Search box (hero and search band) ------------------------------------- */
.rb26 .rb-ca-search {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 720px;
	height: 64px;
	margin: 0;
	padding: 6px 6px 6px 24px;
	border-radius: var(--rb-pill);
	background: #fff;
	box-shadow: 0 18px 48px rgba(2, 12, 36, 0.32);
	transition: box-shadow 0.25s var(--rb-ease);
}
.rb26 .rb-ca-search:focus-within {
	box-shadow: 0 0 0 4px rgba(33, 184, 242, 0.55), 0 18px 48px rgba(2, 12, 36, 0.32);
}
.rb26 .rb-ca-search--hero {
	margin-top: calc(var(--ca-stack) * 2);
}
.rb-ca-search-icon {
	flex: none;
	color: var(--rb-body);
}
/* The parent theme gives search inputs a border, 7px padding, an 11px font and
   a 10px bottom margin; all of it is undone here. */
.rb26 .rb-ca-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	font: 500 var(--ca-fs-h4) / 1.2 "InterLocal", "Inter", Arial, sans-serif;
	color: var(--rb-ink);
	-webkit-appearance: none;
	appearance: none;
}
.rb26 .rb-ca-search input[type="search"]::placeholder {
	color: #75849a;
	opacity: 1;
}
.rb26 .rb-ca-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: none;
	height: 100%;
	margin: 0;
	padding: 0 30px;
	border: 0;
	border-radius: var(--rb-pill);
	background: var(--rb-dark-blue);
	font: 700 var(--ca-fs-h4) / 1 "InterLocal", "Inter", Arial, sans-serif;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s var(--rb-ease);
}
.rb26 .rb-ca-search button:hover,
.rb26 .rb-ca-search button:focus-visible {
	background: var(--ca-navy);
}
.rb26 .rb-ca-search button:focus-visible {
	outline: 3px solid var(--rb-light-blue);
	outline-offset: 2px;
}
/* Arrow only on phones, where it replaces the word. */
.rb-ca-search-go {
	display: none;
	font-size: 22px;
}

.rb-ca-hero-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--ca-stack);
	margin-top: calc(var(--ca-stack) + 4px);
}
.rb-ca-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	max-width: 760px;
}
.rb-ca-chips-label {
	margin-right: 4px;
	font-size: var(--ca-fs-small);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}
.rb26 .rb-ca-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 15px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: var(--rb-pill);
	background: rgba(255, 255, 255, 0.08);
	font-size: var(--ca-fs-small);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	transition: background-color 0.2s var(--rb-ease), color 0.2s var(--rb-ease), border-color 0.2s var(--rb-ease);
}
.rb26 .rb-ca-chip:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ca-navy);
}

/* Text links: "Browse all", "Learn more", the band's own link ------------ */
.rb26 .rb-ca-browse,
.rb26 .rb-ca-band-link,
.rb26 .rb-ca-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--ca-fs-body);
	font-weight: 700;
	line-height: 1.3;
}
.rb26 .rb-ca-browse,
.rb26 .rb-ca-band-link {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.rb26 .rb-ca-browse:hover,
.rb26 .rb-ca-band-link:hover {
	text-decoration-color: var(--rb-light-blue);
}
.rb26 .rb-ca-more {
	margin-top: calc(var(--ca-stack) + 4px);
	color: var(--rb-dark-blue);
}
.rb26 .rb-ca-more:hover {
	color: var(--ca-navy);
}
.rb-ca-browse span,
.rb-ca-more span,
.rb-ca-band-link span {
	transition: translate 0.25s var(--rb-ease);
}
.rb-ca-browse:hover span,
.rb-ca-more:hover span,
.rb-ca-band-link:hover span,
.rb-ca-card--link:hover .rb-ca-more span {
	translate: 4px 0;
}

/* Statement intro ------------------------------------------------------- */
.rb-ca-intro {
	background: #fff;
}
.rb-ca-intro-inner {
	max-width: 960px;
	padding-left: calc(var(--ca-stack) * 2);
	border-left: 4px solid var(--rb-light-blue);
}
.rb26 .rb-ca-intro-inner p {
	font-size: var(--ca-fs-h3l);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.012em;
	color: var(--rb-ink);
}
.rb26 .rb-ca-intro--long .rb-ca-intro-inner p {
	font-size: var(--ca-fs-lead);
	font-weight: 500;
	line-height: var(--ca-lh-body);
}
.rb26 .rb-ca-intro-inner p + p {
	margin-top: var(--ca-stack);
}

/* "Explore" label above the compact cards -------------------------------- */
.rb-ca-head--small {
	margin-bottom: calc(var(--ca-stack) * 2);
}
.rb26 .rb-ca-head--small h2 {
	font-size: var(--ca-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--rb-medium-blue);
}

/* Text: heading left, copy right ---------------------------------------- */
.rb-ca-split,
.rb-ca--accordion > .rb26-shell {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.rb26 .rb-ca-split-body p {
	font-size: var(--ca-fs-bodyl);
	line-height: var(--ca-lh-body);
}
.rb26 .rb-ca-split-body p + p {
	margin-top: var(--ca-stack);
}
/* Copy column starts level with the heading, not the eyebrow above it
   (eyebrow line height + its margin). */
.rb-ca-split-body {
	padding-top: 6px;
}
.rb-ca-split:has(.rb26-eyebrow) .rb-ca-split-body {
	padding-top: calc(var(--ca-fs-eyebrow) * 1.3 + var(--ca-stack) + 6px);
}
.rb-ca-split-cta,
.rb-ca-split-media {
	margin-top: calc(var(--ca-stack) * 2);
}
.rb-ca-split-media img {
	display: block;
	width: 100%;
	border-radius: var(--ca-radius);
	object-fit: cover;
}
.rb-ca-numlist {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rb-ca;
}
.rb-ca-numlist li {
	position: relative;
	padding: 0 0 var(--ca-gap) 64px;
	font-size: var(--ca-fs-body);
	line-height: var(--ca-lh-body);
	counter-increment: rb-ca;
}
.rb-ca-numlist li + li {
	padding-top: var(--ca-gap);
	border-top: 1px solid var(--rb-hairline);
}
.rb-ca-numlist li:last-child {
	padding-bottom: 0;
}
.rb-ca-numlist li::before {
	content: counter(rb-ca, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rb-grad-1), var(--rb-grad-3));
	font-size: var(--ca-fs-small);
	font-weight: 800;
	color: #fff;
}
.rb-ca-numlist li + li::before {
	top: var(--ca-gap);
}

/* Grid helper: a 12-column grid whose spans depend on the item count, so
   five or seven items fill their rows (2+3, 4+3) instead of orphaning. ---- */
.rb-ca-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--ca-gap);
}
.rb-ca-grid > * { grid-column: span 4; }
.rb-ca-grid--n1 > * { grid-column: span 12; }
.rb-ca-grid--n2 > * { grid-column: span 6; }
.rb-ca-grid--n4 > *,
.rb-ca-grid--n8 > * { grid-column: span 3; }
.rb-ca-grid--n5 > :nth-child(-n + 2) { grid-column: span 6; }
.rb-ca-grid--n7 > :nth-child(-n + 4) { grid-column: span 3; }
/* Four photo cards with paragraph copy read better two by two. */
.rb-ca-cards.rb-ca-grid--n4:not(.rb-ca-cards--compact) > * { grid-column: span 6; }

/* Photo tiles (career areas) --------------------------------------------- */
.rb26 .rb-ca-tile {
	position: relative;
	display: block;
	min-height: 360px;
	overflow: hidden;
	border-radius: var(--ca-radius);
	background: var(--ca-navy);
	isolation: isolate;
}
.rb-ca-grid--n5 .rb-ca-tile:nth-child(-n + 2) {
	min-height: 420px;
}
.rb-ca-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.9s var(--rb-ease);
}
.rb-ca-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 27, 75, 0) 38%, rgba(4, 27, 75, 0.88) 100%);
	transition: background-color 0.4s var(--rb-ease);
}
.rb-ca-tile:hover img,
.rb-ca-tile:focus-visible img {
	transform: scale(1.06);
}
.rb-ca-tile:hover::after {
	background-color: rgba(4, 27, 75, 0.18);
}
.rb26 .rb-ca-tile:focus-visible {
	outline: 3px solid var(--rb-light-blue);
	outline-offset: 3px;
}
.rb-ca-tile-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--ca-stack);
	padding: var(--ca-pad);
}
.rb-ca-tile-title {
	font-size: var(--ca-fs-h3l);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #fff;
	text-wrap: balance;
}
.rb-ca-tile-go {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	font-weight: 700;
	color: var(--ca-navy);
	transition: translate 0.3s var(--rb-ease), background-color 0.3s var(--rb-ease);
}
.rb-ca-tile:hover .rb-ca-tile-go {
	translate: 4px 0;
	background: var(--rb-light-blue);
}

/* Alternating feature rows ---------------------------------------------- */
.rb-ca-rows {
	display: grid;
	gap: clamp(56px, 7vw, 96px);
}
.rb-ca-row {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.rb-ca-row--flip {
	grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
}
.rb-ca-row--flip .rb-ca-row-media {
	order: 2;
}
.rb-ca-row--noimg {
	grid-template-columns: minmax(0, 1fr);
}
.rb-ca-row-media {
	position: relative;
}
/* Offset brand-gradient plate behind each photo. */
.rb-ca-row-media::before {
	content: "";
	position: absolute;
	inset: 24px -18px -18px 24px;
	border-radius: var(--ca-radius-lg);
	background: linear-gradient(135deg, var(--rb-grad-1), var(--rb-grad-3));
	opacity: 0.14;
}
.rb-ca-row--flip .rb-ca-row-media::before {
	inset: 24px 24px -18px -18px;
}
.rb-ca-row-media img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	border-radius: var(--ca-radius-lg);
	object-fit: cover;
	box-shadow: var(--rb-shadow);
}
.rb26 .rb-ca-row-copy h3 {
	margin-bottom: var(--ca-stack);
	font-size: var(--ca-fs-h3l);
	font-weight: 800;
	line-height: var(--ca-lh-head);
	letter-spacing: -0.015em;
	color: var(--rb-ink);
	text-wrap: balance;
}
.rb26 .rb-ca-row-copy p {
	font-size: var(--ca-fs-bodyl);
	line-height: var(--ca-lh-body);
}
.rb-ca-row-copy .rb26-ticks {
	margin-top: 4px;
}
.rb-ca-row--noimg .rb-ca-row-copy {
	max-width: 900px;
}
/* A title-only row is a statement: same treatment as the intro statement. */
.rb26 .rb-ca-row--noimg .rb-ca-row-copy h3 {
	margin-bottom: 0;
	padding-left: calc(var(--ca-stack) * 2);
	border-left: 4px solid var(--rb-light-blue);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.012em;
}

/* Whole-card link targets ------------------------------------------------ */
.rb-ca-card--link {
	position: relative;
}
/* The visible link stays the accessible name; its ::after covers the card. */
.rb-ca-card--link .rb-ca-stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.rb-ca-card--link .rb-ca-stretch:focus-visible {
	outline: none;
}
.rb-ca-card--link:has(.rb-ca-stretch:focus-visible) {
	outline: 3px solid var(--rb-light-blue);
	outline-offset: 3px;
}

/* Cards: photo cards and numbered feature cards share one shell ---------- */
.rb-ca-card,
.rb-ca-feature {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--rb-hairline);
	border-radius: var(--ca-radius);
	background: #fff;
	transition: translate 0.4s var(--rb-ease), box-shadow 0.4s var(--rb-ease), border-color 0.4s var(--rb-ease);
}
.rb-ca-card {
	overflow: hidden;
}
.rb-ca-card--link:hover {
	translate: 0 -5px;
	border-color: transparent;
	box-shadow: var(--rb-shadow-lift);
}
.rb-ca-card-media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--rb-tint);
}
.rb-ca-grid--n2 .rb-ca-card-media,
.rb-ca-grid--n4 .rb-ca-card-media,
.rb-ca-grid--n5 .rb-ca-card:nth-child(-n + 2) .rb-ca-card-media {
	aspect-ratio: 16 / 9;
}
.rb-ca-card-media img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.9s var(--rb-ease);
}
.rb-ca-card--link:hover .rb-ca-card-media img {
	transform: scale(1.05);
}
.rb-ca-card-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--ca-pad);
}
.rb-ca-feature {
	padding: var(--ca-pad);
}
.rb26 .rb-ca-card-copy h3,
.rb26 .rb-ca-feature h3 {
	margin-bottom: 10px;
	font-size: var(--ca-fs-h3);
	font-weight: 700;
	line-height: var(--ca-lh-head);
	letter-spacing: -0.01em;
	color: var(--rb-ink);
}
.rb26 .rb-ca-card-copy p,
.rb26 .rb-ca-feature p {
	font-size: var(--ca-fs-body);
	line-height: var(--ca-lh-body);
}
.rb26 .rb-ca-card-copy .rb-ca-more,
.rb26 .rb-ca-feature .rb-ca-more {
	margin-top: auto;
	padding-top: calc(var(--ca-stack) + 4px);
}
.rb-ca-card-copy .rb26-ticks,
.rb-ca-feature .rb26-ticks {
	margin-top: 4px;
}
.rb-ca-feature:hover {
	translate: 0 -4px;
	border-color: rgba(23, 124, 178, 0.35);
	box-shadow: var(--rb-shadow);
}
.rb-ca-feature-num {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: calc(var(--ca-stack) + 4px);
	font-size: var(--ca-fs-small);
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--rb-medium-blue);
}
.rb-ca-feature-num::after {
	content: "";
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rb-light-blue), rgba(33, 184, 242, 0));
}

/* Compact "Explore" cards: thumbnail + two lines, four across. ----------- */
.rb-ca-cards--compact {
	gap: var(--ca-stack);
}
.rb-ca-cards--compact .rb-ca-card {
	flex-direction: row;
	align-items: center;
	gap: var(--ca-stack);
	padding: 12px;
	border-radius: 18px;
}
.rb-ca-cards--compact .rb-ca-card-media {
	flex: none;
	width: 84px;
	height: 84px;
	aspect-ratio: auto;
	border-radius: 12px;
}
.rb-ca-cards--compact .rb-ca-card-copy {
	padding: 0 8px 0 0;
}
.rb26 .rb-ca-cards--compact .rb-ca-card-copy h3 {
	margin-bottom: 4px;
	font-size: var(--ca-fs-h4);
}
.rb26 .rb-ca-cards--compact .rb-ca-card-copy p {
	font-size: var(--ca-fs-small);
	line-height: 1.45;
}

/* Stat cards (bento) ---------------------------------------------------- */
.rb-ca-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--ca-gap);
}
/* Seven facts: the first spans two columns, giving two full rows of four. */
.rb-ca-stats > :first-child:nth-last-child(4n + 3) {
	grid-column: span 2;
}
.rb-ca-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	overflow: hidden;
	padding: var(--ca-pad);
	border: 1px solid var(--rb-hairline);
	border-radius: var(--ca-radius);
	background: #fff;
	isolation: isolate;
}
.rb-ca-stat:first-child:not(.rb-ca-stat--photo) {
	border-color: transparent;
	background:
		radial-gradient(420px circle at 100% 0%, var(--ca-glow), transparent 60%),
		linear-gradient(135deg, var(--rb-grad-2), var(--ca-navy));
}
.rb-ca-stat-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.rb-ca-stat--photo {
	border-color: transparent;
}
.rb-ca-stat--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(4, 27, 75, 0.25) 0%, rgba(4, 27, 75, 0.9) 78%);
}
.rb-ca-stat-fig {
	display: block;
	margin-bottom: 12px;
	font-size: clamp(44px, 4.2vw, 60px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--rb-dark-blue);
	background: linear-gradient(135deg, var(--rb-grad-1), var(--ca-navy));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.rb26 .rb-ca-stat h3 {
	font-size: var(--ca-fs-h4);
	font-weight: 700;
	line-height: 1.35;
	color: var(--rb-ink);
}
.rb26 .rb-ca-stat p {
	margin-top: 8px;
	font-size: var(--ca-fs-small);
	line-height: 1.55;
}
.rb-ca-stat:first-child:not(.rb-ca-stat--photo) .rb-ca-stat-fig,
.rb-ca-stat--photo .rb-ca-stat-fig {
	background: none;
	-webkit-text-fill-color: #fff;
	color: #fff;
}
.rb26 .rb-ca-stat:first-child:not(.rb-ca-stat--photo) h3,
.rb26 .rb-ca-stat--photo h3 {
	color: #fff;
}
.rb26 .rb-ca-stat:first-child:not(.rb-ca-stat--photo) p,
.rb26 .rb-ca-stat--photo p {
	color: var(--ca-on-dark);
}

/* Quote: photo + navy panel ---------------------------------------------- */
.rb-ca-quote-wrap {
	background: #fff;
}
.rb-ca-quote {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 440px;
	overflow: hidden;
	border-radius: var(--ca-radius-lg);
	background:
		radial-gradient(560px circle at 100% 0%, var(--ca-glow), transparent 60%),
		linear-gradient(135deg, var(--ca-navy) 0%, var(--ca-navy-2) 60%, var(--rb-grad-2) 100%);
	box-shadow: var(--rb-shadow-lift);
}
.rb-ca-quote--flip .rb-ca-quote-media {
	order: 2;
}
.rb-ca-quote--noimg {
	grid-template-columns: minmax(0, 1fr);
	min-height: 0;
}
.rb-ca-quote-media {
	position: relative;
	min-height: 320px;
}
.rb-ca-quote-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: var(--rb-ca-focus, center 30%);
}
.rb26 .rb-ca-quote-body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: clamp(32px, 5vw, 64px);
}
.rb-ca-quote-body::before {
	content: "\201C";
	display: block;
	height: 48px;
	margin-bottom: 8px;
	font-size: 104px;
	font-weight: 800;
	line-height: 1;
	color: var(--rb-light-blue);
}
/* Nimva styles every blockquote: left border, italic, indent. */
.rb26 .rb-ca-quote-body blockquote,
.rb26 .rb-ca-voice blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: normal;
	quotes: none;
}
.rb26 .rb-ca-quote-body blockquote p {
	margin: 0 !important;
	font-size: var(--ca-fs-h3l);
	font-weight: 600;
	line-height: 1.42;
	letter-spacing: -0.012em;
	color: #fff;
	text-wrap: pretty;
}
.rb26 .rb-ca-quote--long .rb-ca-quote-body blockquote p {
	font-size: var(--ca-fs-lead);
	line-height: 1.55;
}
.rb-ca-quote-body figcaption {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: calc(var(--ca-stack) * 2);
	padding-left: 56px;
}
.rb-ca-quote-body figcaption::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 40px;
	height: 2px;
	background: var(--rb-light-blue);
}
.rb26 .rb-ca-quote-body figcaption strong {
	font-size: var(--ca-fs-h4);
	font-weight: 700;
	color: #fff;
}
.rb26 .rb-ca-quote-body figcaption span {
	font-size: var(--ca-fs-small);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.74);
}
.rb-ca-quote-cta {
	margin-top: calc(var(--ca-stack) * 2);
}

/* Testimonials ---------------------------------------------------------- */
.rb26 .rb-ca-voice {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: var(--ca-pad);
	border: 1px solid var(--rb-hairline);
	border-radius: var(--ca-radius);
	background: #fff;
}
.rb-ca-voice::before {
	content: "\201C";
	display: block;
	height: 32px;
	font-size: 60px;
	font-weight: 800;
	line-height: 1;
	color: var(--rb-light-blue);
}
.rb26 .rb-ca-voice blockquote {
	margin-bottom: calc(var(--ca-stack) + 4px);
}
.rb26 .rb-ca-voice blockquote p {
	margin: 0 !important;
	font-size: var(--ca-fs-body);
	line-height: var(--ca-lh-body);
	color: var(--rb-ink);
}
.rb-ca-voice figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: calc(var(--ca-stack) + 4px);
	border-top: 1px solid var(--rb-hairline);
}
.rb-ca-voice-avatar img {
	display: block;
	width: 48px;
	height: 48px !important;
	border-radius: 50%;
	object-fit: cover;
}
.rb-ca-voice-who {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.rb26 .rb-ca-voice-who strong {
	font-size: var(--ca-fs-body);
	font-weight: 700;
	color: var(--rb-ink);
}
.rb26 .rb-ca-voice-who span {
	font-size: var(--ca-fs-small);
	line-height: 1.4;
	color: var(--rb-body);
}

/* Accordion: heading left, panels right --------------------------------- */
.rb-ca--accordion > .rb26-shell > :only-child,
.rb-ca--accordion .rb-ca-section-cta {
	grid-column: 1 / -1;
}
.rb-ca--accordion .rb26-section-head {
	position: sticky;
	top: 32px;
	margin-bottom: 0;
}
.rb-ca-accordion {
	display: grid;
	gap: 12px;
}
.rb-ca-acc {
	border: 1px solid var(--rb-hairline);
	border-radius: 18px;
	background: #fff;
	transition: border-color 0.3s var(--rb-ease), box-shadow 0.3s var(--rb-ease);
}
.rb-ca-acc[open] {
	border-color: rgba(23, 124, 178, 0.35);
	box-shadow: var(--rb-shadow);
}
.rb-ca-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px var(--ca-pad);
	cursor: pointer;
	list-style: none;
}
.rb-ca-acc summary::-webkit-details-marker {
	display: none;
}
.rb-ca-acc summary:focus-visible {
	outline: 3px solid var(--rb-light-blue);
	outline-offset: 2px;
	border-radius: 18px;
}
.rb26 .rb-ca-acc summary h3 {
	margin: 0;
	font-size: var(--ca-fs-h4);
	font-weight: 700;
	line-height: 1.35;
	color: var(--rb-ink);
}
.rb-ca-acc-icon {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--rb-tint);
	transition: background-color 0.3s var(--rb-ease);
}
.rb-ca-acc-icon::before,
.rb-ca-acc-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--rb-dark-blue);
	transition: transform 0.3s var(--rb-ease), background-color 0.3s var(--rb-ease);
}
.rb-ca-acc-icon::after {
	transform: rotate(90deg);
}
.rb-ca-acc[open] .rb-ca-acc-icon {
	background: var(--rb-dark-blue);
}
.rb-ca-acc[open] .rb-ca-acc-icon::before,
.rb-ca-acc[open] .rb-ca-acc-icon::after {
	background: #fff;
}
.rb-ca-acc[open] .rb-ca-acc-icon::after {
	transform: rotate(0deg);
}
.rb-ca-acc-body {
	padding: 0 var(--ca-pad) var(--ca-pad);
}
.rb26 .rb-ca-acc-body p {
	font-size: var(--ca-fs-body);
	line-height: var(--ca-lh-body);
}
.rb26 .rb-ca-acc-body .rb26-ticks li {
	font-size: var(--ca-fs-body);
	line-height: 1.55;
}
.rb-ca-acc-list {
	display: block;
	columns: 2 220px;
	column-gap: 32px;
}
.rb-ca-acc-list li {
	margin-bottom: 10px;
	break-inside: avoid;
}
.rb26 .rb-ca-acc-body .rb-ca-acc-list li.rb-ca-sub {
	margin-left: 30px;
	padding-left: 18px;
	font-size: var(--ca-fs-small);
	color: var(--rb-body);
}
.rb-ca-acc-list li.rb-ca-sub::before {
	top: 9px;
	width: 6px;
	height: 6px;
	border: 0;
	border-radius: 50%;
	background: var(--rb-light-blue);
	transform: none;
}

/* Gallery (bento) ------------------------------------------------------- */
.rb-ca-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 220px;
	gap: var(--ca-stack);
}
.rb-ca-gallery--n5 > :first-child,
.rb-ca-gallery--n3 > :first-child {
	grid-column: span 2;
	grid-row: span 2;
}
.rb-ca-gallery-item {
	overflow: hidden;
	border-radius: 18px;
}
.rb-ca-gallery-item img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.9s var(--rb-ease);
}
.rb-ca-gallery-item:hover img {
	transform: scale(1.04);
}

/* Search band ----------------------------------------------------------- */
.rb-ca-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(640px circle at 88% 10%, var(--ca-glow), transparent 62%),
		radial-gradient(520px circle at 4% 120%, rgba(32, 147, 191, 0.4), transparent 60%),
		linear-gradient(135deg, var(--ca-navy) 0%, var(--ca-navy-2) 55%, var(--rb-grad-2) 100%);
	color: #fff;
}
.rb-ca-band-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.rb-ca-band-kicker {
	color: var(--ca-eyebrow-dark);
}
.rb26 .rb-ca-band h2 {
	color: #fff;
}
.rb26 .rb-ca-band-copy p {
	margin-top: calc(var(--ca-stack) + 4px);
	font-size: var(--ca-fs-bodyl);
	line-height: var(--ca-lh-body);
	color: var(--ca-on-dark);
}
.rb-ca-band-action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(var(--ca-stack) + 4px);
}
.rb26 .rb-ca-band-link {
	margin-left: 24px;
}

/* Community call-out ---------------------------------------------------- */
.rb-ca-community {
	background: #fff;
}
.rb-ca-community-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: calc(var(--ca-stack) * 2);
	align-items: center;
	padding: 44px 48px;
	border: 1px solid #d7e8f5;
	border-radius: var(--ca-radius-lg);
	background:
		radial-gradient(420px circle at 100% 0%, rgba(33, 184, 242, 0.16), transparent 60%),
		linear-gradient(120deg, #eaf5fc 0%, var(--rb-tint) 70%);
}
.rb-ca-community-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--rb-grad-1), var(--ca-navy));
	color: #fff;
	box-shadow: 0 10px 24px rgba(4, 27, 75, 0.22);
}
.rb26 .rb-ca-community h2 {
	font-size: var(--ca-fs-h3l);
	font-weight: 800;
	line-height: var(--ca-lh-head);
	letter-spacing: -0.015em;
	color: var(--rb-ink);
	text-wrap: balance;
}
.rb26 .rb-ca-community-copy p {
	margin-top: 8px;
	font-size: var(--ca-fs-body);
}
.rb-ca-community-inner .rb26-btn {
	white-space: nowrap;
}

/* Tablet ---------------------------------------------------------------- */
@media (max-width: 1024px) {
	.rb-ca-grid > *,
	.rb-ca-grid--n4 > *,
	.rb-ca-grid--n8 > *,
	.rb-ca-grid--n5 > :nth-child(-n + 2),
	.rb-ca-grid--n7 > :nth-child(-n + 4) {
		grid-column: span 6;
	}
	.rb-ca-grid--n1 > * {
		grid-column: span 12;
	}
	/* An odd item out at the end goes full width rather than sitting alone. */
	.rb-ca-tiles > :last-child:nth-child(odd),
	.rb-ca-features > :last-child:nth-child(odd),
	.rb-ca-voices > :last-child:nth-child(odd) {
		grid-column: span 12;
	}
	.rb-ca-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.rb-ca-split,
	.rb-ca--accordion > .rb26-shell,
	.rb-ca-band-inner {
		grid-template-columns: minmax(0, 1fr);
	}
	.rb-ca-split {
		gap: var(--ca-stack);
	}
	.rb-ca-split-body,
	.rb-ca-split:has(.rb26-eyebrow) .rb-ca-split-body {
		padding-top: 0;
	}
	.rb-ca--accordion .rb26-section-head {
		position: static;
	}
	.rb-ca-community-inner {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.rb-ca-community-inner .rb26-btn {
		grid-column: 2;
		justify-self: start;
	}
	.rb-ca-quote {
		grid-template-columns: minmax(0, 1fr);
	}
	.rb-ca-quote--flip .rb-ca-quote-media {
		order: 0;
	}
	.rb-ca-quote-media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
}

/* Phone ----------------------------------------------------------------- */
@media (max-width: 700px) {
	.rb26-careers-area .rb-ca-hero {
		min-height: 0;
		padding: 40px 0 48px;
	}
	.rb-ca-hero.rb26-pagehead--photo .rb26-pagehead-bg::after {
		background: linear-gradient(180deg, rgba(4, 27, 75, 0.7) 0%, rgba(4, 27, 75, 0.88) 55%, rgba(4, 27, 75, 0.96) 100%);
	}
	.rb26 .rb-ca-lang {
		padding: 6px 12px;
		font-size: 13px;
	}
	.rb26 .rb-ca-search {
		height: 58px;
		padding: 5px 5px 5px 18px;
	}
	.rb26 .rb-ca-search input[type="search"] {
		font-size: 16px; /* 16px keeps iOS from zooming on focus. */
	}
	.rb26 .rb-ca-search button {
		width: 48px;
		padding: 0;
	}
	.rb-ca-search .txt {
		display: none;
	}
	.rb-ca-search-go {
		display: inline;
	}
	/* Chips scroll sideways rather than taking four lines of the first screen. */
	.rb-ca-chips {
		flex-wrap: nowrap;
		max-width: none;
		width: calc(100% + 18px);
		margin-right: -18px;
		padding-right: 18px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.rb-ca-chips::-webkit-scrollbar {
		display: none;
	}
	.rb-ca-chips-label {
		flex: none;
	}
	.rb-ca-intro-inner,
	.rb26 .rb-ca-row--noimg .rb-ca-row-copy h3 {
		padding-left: 20px;
	}
	.rb-ca-grid > *,
	.rb-ca-grid--n2 > *,
	.rb-ca-grid--n4 > *,
	.rb-ca-grid--n8 > *,
	.rb-ca-grid--n5 > :nth-child(-n + 2),
	.rb-ca-grid--n7 > :nth-child(-n + 4),
	.rb-ca-cards.rb-ca-grid--n4:not(.rb-ca-cards--compact) > * {
		grid-column: span 12;
	}
	.rb-ca-card-media {
		aspect-ratio: 16 / 9;
	}
	.rb26 .rb-ca-tile,
	.rb-ca-grid--n5 .rb-ca-tile:nth-child(-n + 2) {
		min-height: 240px;
	}
	.rb-ca-stats {
		grid-template-columns: minmax(0, 1fr);
	}
	.rb-ca-stats > :first-child:nth-last-child(4n + 3) {
		grid-column: auto;
	}
	.rb-ca-stat {
		min-height: 200px;
	}
	.rb-ca-row,
	.rb-ca-row--flip {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.rb-ca-row--flip .rb-ca-row-media {
		order: 0;
	}
	.rb-ca-row-media::before,
	.rb-ca-row--flip .rb-ca-row-media::before {
		inset: 14px -8px -8px 14px;
	}
	.rb-ca-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 150px;
		gap: 10px;
	}
	.rb-ca-community-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 28px 24px;
	}
	.rb-ca-community-inner .rb26-btn {
		grid-column: auto;
		white-space: normal;
	}
	/* Core makes buttons full width on phones; a wrapped label should centre. */
	.rb26-careers-area .rb26-btn {
		text-align: center;
	}
	.rb26 .rb-ca-band-link {
		margin-left: 8px;
	}
	.rb-ca-numlist li {
		padding-left: 56px;
	}
}
