/* =============================================
   VALUES & CAREERS PAGE — page 63
   ============================================= */

/* ── Page hero ── */
.bsa-careers-hero {
	background: linear-gradient(135deg, #0F1F38 0%, #1A2E44 60%, #243E58 100%);
	padding: 7rem 0 5.5rem;
	position: relative;
	overflow: hidden;
}

/* Subtle dot-grid texture */
.bsa-careers-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(168,196,222,0.08) 1px, transparent 1px);
	background-size: 36px 36px;
	pointer-events: none;
}

/* Bottom accent line */
.bsa-careers-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #2C5F8A 0%, #4A7FA5 35%, #6B9AC4 65%, #A8C4DE 100%);
}

/* Hero content constraint */
.bsa-careers-hero > .wp-block-group.alignwide {
	max-width: 1280px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 2rem);
	padding-right: clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
	position: relative; /* sit above ::before */
}

/* ── Values section — equal-height columns ── */
.bsa-section--light .wp-block-columns {
	align-items: stretch !important;
}

.bsa-section--light .wp-block-column {
	display: flex !important;
	flex-direction: column !important;
}

.bsa-section--light .wp-block-column > .wp-block-group {
	flex: 1 !important;
}

/* ── Value cards ── */
.bsa-value-card {
	background: #FFFFFF !important;
	border-top: none;
	padding: 2rem 1.75rem 2.25rem;
	box-shadow: 0 2px 12px rgba(15,31,56,0.07);
	height: 100%;
	box-sizing: border-box;
	position: relative;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.bsa-value-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(15,31,56,0.13) !important;
}

/* Headings and body — 32/18/15 system */
.bsa-value-card h3.wp-block-heading {
	font-size: var(--bsa-type-body) !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	margin-bottom: 0.85rem;
}

.bsa-value-card p {
	font-size: var(--bsa-type-small) !important;
	line-height: 1.75 !important;
	color: #3A5068 !important;
}

/* ── Value card palette — checkerboard (all 4 shades) ──
   Row 1: dark (#0F1F38) | light (#4A7FA5)   ← dark / light
   Row 2: light (#2C5F8A) | dark (#1A2E44)   ← light / dark  (reversed)
   #4A7FA5 gets dark text (white is 4.1:1 there — fails WCAG AA at 15px)
   ─────────────────────────────────────────────────────── */

/* Objectivity — darkest navy */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(1) .bsa-value-card { background: #0F1F38 !important; }
/* Rigour — steel blue (lightest used) */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(2) .bsa-value-card { background: #4A7FA5 !important; }
/* Clarity — brand blue */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) .bsa-value-card { background: #2C5F8A !important; }
/* Discretion — dark navy */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) .bsa-value-card { background: #1A2E44 !important; }

/* White text on the three dark/medium cards */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(1) .bsa-value-card h3.wp-block-heading,
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) .bsa-value-card h3.wp-block-heading,
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) .bsa-value-card h3.wp-block-heading { color: #FFFFFF !important; }

.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(1) .bsa-value-card p,
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) .bsa-value-card p,
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) .bsa-value-card p { color: rgba(255,255,255,0.82) !important; }

/* Rigour (#4A7FA5) — white text throughout */
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(2) .bsa-value-card h3.wp-block-heading { color: #FFFFFF !important; }
.bsa-section--light .wp-block-group.alignwide > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(2) .bsa-value-card p { color: rgba(255,255,255,0.82) !important; }

/* ── Scroll reveal animation ── */

@media (max-width: 768px) {
	.bsa-careers-hero {
		padding: 3.5rem 0 3rem;
	}
}

/* =============================================================
   CAREERS + TALENT COMMUNITY (bsa-cr-* / bsa-tc-*)
   Native core blocks (Cover, Group, Columns, Heading, Paragraph, Buttons,
   List, Image, Shortcode) styled by class. Type follows the Company page:
   32px section headings, 18px body, 15px uppercase eyebrows.
   ============================================================= */

/* Block spacing is set here, not by WordPress's default block gap. */
.bsa-cr-hero .is-layout-flow > *,
.bsa-cr-section .is-layout-flow > *,
.bsa-cr-section .wp-block-columns { margin-block: 0; }

.bsa-cr-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.bsa-cr-section { padding: clamp(64px, 8vw, 104px) 0; }

.bsa-cr-section p,
.bsa-cr-hero p { font-size: var(--bsa-type-body); line-height: 1.7; }

.bsa-cr-hero .bsa-cr-eyebrow,
.bsa-cr-section .bsa-cr-eyebrow {
	margin-bottom: 0.85rem;
	color: #2C5F8A;
	font-size: var(--bsa-type-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-transform: uppercase;
}
.bsa-cr-hero .bsa-cr-eyebrow--light,
.bsa-cr-section .bsa-cr-eyebrow--light { color: #A8C4DE; }

/* A label above a heading (the hero's CAREERS, The "work", Your details): the
   same size as Services' HOW WE WORK. Column labels (Why join…) stay small. */
.bsa-cr-hero .bsa-cr-eyebrow:has(+ .bsa-cr-hero__title),
.bsa-cr-section .bsa-cr-eyebrow:has(+ .bsa-cr-h2) {
	margin-bottom: 1.1rem;
	font-size: var(--bsa-type-heading);
	letter-spacing: 0.06em;
	line-height: 1.2;
}

.bsa-cr-section .bsa-cr-h2 {
	margin-bottom: 1.1rem;
	color: #0F1F38;
	font-size: var(--bsa-type-heading);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
/* A heading right under one of those 32px labels reads as its line: Sub-heading */
.bsa-cr-hero .bsa-cr-eyebrow + .bsa-cr-hero__title,
.bsa-cr-section .bsa-cr-eyebrow + .bsa-cr-h2 { font-size: var(--bsa-type-sub); }

/* Buttons (core/buttons) */
.bsa-cr-hero .bsa-cr-actions,
.bsa-cr-section .bsa-cr-actions { gap: 1rem 1.75rem; align-items: center; margin-top: 2rem; }

.wp-block-buttons .wp-block-button.bsa-cr-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 1.6rem;
	border-radius: var(--bsa-radius, 10px);
	background: #0F1F38;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.wp-block-buttons .wp-block-button.bsa-cr-btn .wp-block-button__link:hover { background: #2C5F8A; color: #FFFFFF; }
.wp-block-buttons .wp-block-button.bsa-cr-btn--light .wp-block-button__link { background: #FFFFFF; color: #0F1F38; }
.wp-block-buttons .wp-block-button.bsa-cr-btn--light .wp-block-button__link:hover { background: #E8EDF2; color: #0F1F38; }

/* A button that looks like an underlined text link */
.wp-block-buttons .wp-block-button.bsa-cr-btn-link .wp-block-button__link {
	padding: 0;
	border-radius: 0;
	background: none;
	color: #2C5F8A;
	font-size: var(--bsa-type-body);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
.wp-block-buttons .wp-block-button.bsa-cr-btn-link--light .wp-block-button__link { color: #FFFFFF; text-decoration-color: rgba(255, 255, 255, 0.5); }
.wp-block-buttons .wp-block-button.bsa-cr-btn-link--light .wp-block-button__link:hover { color: #A8C4DE; background: none; }

.bsa-cr-section .bsa-cr-more { margin-top: 1.5rem; }

/* ── Hero: core/cover with the skyline photo ── */
.wp-block-cover.bsa-cr-hero {
	min-height: clamp(440px, 64vh, 620px);
	padding: 0;
	align-items: flex-end;
	overflow: hidden;
	color: #FFFFFF;
}
.wp-block-cover.bsa-cr-hero--compact { min-height: clamp(300px, 40vh, 400px); }

.bsa-cr-hero > .wp-block-cover__image-background { object-position: center 62%; }
.bsa-cr-hero--compact > .wp-block-cover__image-background { object-position: center 82%; }

/* Overlay colour, opacity and gradient come from the Cover block's own settings
   in the editor; nothing here overrides them. The photo position above is only a
   default: a focal point set in the editor wins. */

.bsa-cr-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: 3px;
	background: linear-gradient(90deg, #2C5F8A 0%, #4A7FA5 35%, #6B9AC4 65%, #A8C4DE 100%);
}

.bsa-cr-hero > .wp-block-cover__inner-container { width: 100%; max-width: none; }

.bsa-cr-hero__content {
	padding-top: clamp(64px, 8vw, 112px);
	padding-bottom: clamp(56px, 7vw, 88px);
}
.bsa-cr-hero__content > * { max-width: 640px; }

.bsa-cr-hero .bsa-cr-hero__title {
	margin-bottom: 1.1rem;
	color: #FFFFFF;
	font-size: var(--bsa-type-title);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.bsa-cr-hero .bsa-cr-hero__lead { color: rgba(255, 255, 255, 0.86); }
.bsa-cr-hero .bsa-cr-hero__title,
.bsa-cr-hero .bsa-cr-hero__lead { text-shadow: 0 1px 14px rgba(8, 18, 34, 0.45); }

.bsa-cr-hero .bsa-cr-back { margin-bottom: 1.25rem; font-size: var(--bsa-type-small); }
.bsa-cr-back a {
	color: #A8C4DE !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}
.bsa-cr-back a:hover { color: #FFFFFF !important; }

/* ── The work: text + photo (core/columns) ── */
.bsa-cr-story { background: #FFFFFF; }
.bsa-cr-section .bsa-cr-story__grid { gap: clamp(2.5rem, 6vw, 5.5rem); }
.bsa-cr-story__text p:not(.bsa-cr-eyebrow):not(.bsa-cr-more) { margin-bottom: 1.15rem; color: #1A2E44; }

.wp-block-image.bsa-cr-story__media { position: relative; z-index: 0; margin: 0 22px 22px 0; }
.wp-block-image.bsa-cr-story__media::before {
	content: '';
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1px solid #A8C4DE;
	z-index: -1;
}
.wp-block-image.bsa-cr-story__media img {
	display: block;
	width: 100%;
	object-position: 58% center;
	box-shadow: 0 18px 50px rgba(15, 31, 56, 0.18);
}

/* ── Talent Community page ── */
.bsa-cr-join { background: #FFFFFF; padding-bottom: clamp(40px, 5vw, 64px); }
.bsa-cr-section .bsa-cr-join__grid { gap: clamp(2rem, 4vw, 3.5rem); }
.bsa-cr-join__col { padding-top: 1.5rem; border-top: 1px solid #DDE4EC; }

.bsa-cr-section ul.bsa-cr-list,
.bsa-cr-section ul.bsa-cr-teams,
.bsa-cr-section ol.bsa-cr-steps { margin: 0; padding: 0; list-style: none; }

.bsa-cr-list li,
.bsa-cr-steps li { margin: 0 0 1rem; color: #3A5068; font-size: var(--bsa-type-body); line-height: 1.65; }
.bsa-cr-list strong { color: #0F1F38; font-weight: 700; }

.bsa-cr-teams li {
	position: relative;
	min-height: 40px;
	margin: 0 0 1.15rem;
	padding-left: 3.4rem;
	color: #3A5068;
	font-size: var(--bsa-type-body);
	line-height: 1.6;
}
.bsa-cr-teams strong { display: block; color: #0F1F38; font-size: var(--bsa-type-body); font-weight: 700; }
.bsa-cr-team::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E8EDF2;
}
.bsa-cr-team::before {
	content: '';
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 1;
	width: 20px;
	height: 20px;
	background: #2C5F8A;
	-webkit-mask: no-repeat center / contain;
	mask: no-repeat center / contain;
}

/* A note set apart from a list (e.g. under "Who we hire") */
.bsa-cr-section .bsa-cr-note {
	margin-top: 0.75rem;
	padding: 14px 18px;
	background: #F4F5F7;
	border-left: 3px solid #4A7FA5;
	color: #1A2E44;
	font-size: var(--bsa-type-small);
	line-height: 1.65;
}

.bsa-cr-steps { counter-reset: bsa-step; }
.bsa-cr-steps li { position: relative; padding-left: 2.6rem; counter-increment: bsa-step; }
.bsa-cr-steps li::before {
	content: counter(bsa-step);
	position: absolute;
	left: 0;
	top: -1px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #0F1F38;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.bsa-cr-formwrap { background: #F4F5F7; }
.bsa-cr-formhead { max-width: calc(860px + 2 * clamp(1.25rem, 4vw, 3rem)); margin-bottom: 1.75rem !important; }
.bsa-cr-section .bsa-cr-formhead__text { color: #3A5068; font-size: var(--bsa-type-body); }
.bsa-cr-formhead a { color: #2C5F8A; font-weight: 700; }

.bsa-cr-team--tech::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E"); }
.bsa-cr-team--research::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }

/* Form card — centred under its heading */
.bsa-tc {
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	background: #FFFFFF;
	border-top: 3px solid #2C5F8A;
	box-shadow: 0 2px 16px rgba(15, 31, 56, 0.08);
}
.bsa-cr-formwrap .bsa-tc { width: calc(100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin: 0 auto; }

.bsa-tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.bsa-tc-field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.bsa-tc-field--wide { grid-column: 1 / -1; }

.bsa-tc-field label { color: #0F1F38; font-size: var(--bsa-type-small); font-weight: 700; line-height: 1.4; }
.bsa-tc-req { color: #B4232A; }
.bsa-tc-opt { color: #6B7C8D; font-weight: 400; }

.bsa-tc-field input[type="text"],
.bsa-tc-field input[type="email"],
.bsa-tc-field input[type="tel"],
.bsa-tc-field input[type="url"],
.bsa-tc-field select,
.bsa-tc-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 0.9rem;
	border: 1px solid #C8D4DE;
	border-radius: var(--bsa-radius, 10px);
	background: #FFFFFF;
	color: #0F1F38;
	font-family: inherit;
	font-size: var(--bsa-type-body);
	line-height: 1.5;
}
.bsa-tc-field textarea { min-height: 150px; resize: vertical; }
.bsa-tc-field input:focus,
.bsa-tc-field select:focus,
.bsa-tc-field textarea:focus { outline: none; border-color: #2C5F8A; box-shadow: 0 0 0 3px rgba(44, 95, 138, 0.18); }

.bsa-tc-field input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	padding: 0.9rem;
	border: 1px dashed #A8C4DE;
	background: #F8FAFC;
	color: #3A5068;
	font-family: inherit;
	font-size: var(--bsa-type-small);
}
.bsa-tc-field input[type="file"]::file-selector-button {
	margin-right: 1rem;
	padding: 0.55rem 1rem;
	border: 0;
	border-radius: var(--bsa-radius, 10px);
	background: #0F1F38;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.bsa-tc .bsa-tc-hint { margin: 0; color: #6B7C8D; font-size: var(--bsa-type-small); }

.bsa-tc-consent {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin: 1.75rem 0 1.5rem;
	color: #3A5068;
	font-size: var(--bsa-type-small);
	line-height: 1.6;
}
.bsa-tc-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 0.2rem; accent-color: #2C5F8A; }
.bsa-tc-consent a { color: #2C5F8A; font-weight: 700; }

.bsa-tc-submit {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 1.8rem;
	border: 0;
	border-radius: var(--bsa-radius, 10px);
	background: #0F1F38;
	color: #FFFFFF;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.2s ease;
}
.bsa-tc-submit:hover { background: #2C5F8A; }

.bsa-tc-pot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bsa-tc .bsa-tc-alert {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid #B4232A;
	background: #FBEFEF;
	color: #7A1C21;
	font-size: var(--bsa-type-small);
}

.bsa-tc-done { padding: 1rem 0; text-align: center; }
.bsa-tc-done svg { width: 52px; height: 52px; color: #2C5F8A; }
.bsa-tc-done h3 { margin: 0.75rem 0 0.6rem; color: #0F1F38; font-size: var(--bsa-type-sub); }
.bsa-tc .bsa-tc-done p { max-width: 520px; margin: 0 auto 1.25rem; color: #3A5068; font-size: var(--bsa-type-body); }
.bsa-tc-link { color: #2C5F8A; font-weight: 700; }

/* ── Responsive ── */
/* core/columns stack below 782px */
@media (max-width: 781px) {
	.wp-block-image.bsa-cr-story__media { max-width: 640px; }
	.wp-block-image.bsa-cr-story__media img { aspect-ratio: 16 / 10 !important; }
	.bsa-cr-section .bsa-cr-join__grid { gap: 2rem; }
}

@media (max-width: 640px) {
	.bsa-cr-section .bsa-cr-h2 { font-size: var(--bsa-type-heading); }
	.bsa-cr-section p,
	.bsa-cr-hero p { font-size: var(--bsa-type-body); }
	.bsa-cr-hero .bsa-cr-eyebrow,
	.bsa-cr-section .bsa-cr-eyebrow,
	.bsa-cr-hero .bsa-cr-back { font-size: var(--bsa-type-eyebrow); }
	.wp-block-cover.bsa-cr-hero { min-height: 520px; }
	.wp-block-cover.bsa-cr-hero--compact { min-height: 360px; }
	.wp-block-image.bsa-cr-story__media { margin: 0 10px 14px 0; }
	.wp-block-image.bsa-cr-story__media::before { inset: 14px -10px -14px 10px; }
	.bsa-cr-actions .wp-block-button.bsa-cr-btn { width: 100%; }
	.wp-block-buttons .wp-block-button.bsa-cr-btn .wp-block-button__link { width: 100%; justify-content: center; }
	.bsa-tc-grid { grid-template-columns: minmax(0, 1fr); }
	.bsa-tc-submit { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-buttons .wp-block-button.bsa-cr-btn .wp-block-button__link { transition: none; }
}

/* ── Hero behind the header ──
   The photo banner reaches up behind the header, so the photo shows while
   the header slides in; the banner keeps its height below the header and
   its text stays where it was. --bsa-header-h comes from header.js. */
.wp-block-post-content > .wp-block-cover.bsa-cr-hero:first-child {
	margin-top: calc(-1 * var(--bsa-header-h, 102px)) !important;
	padding-top: var(--bsa-header-h, 102px);
	min-height: calc(clamp(440px, 64vh, 620px) + var(--bsa-header-h, 102px));
}
.wp-block-post-content > .wp-block-cover.bsa-cr-hero--compact:first-child {
	min-height: calc(clamp(300px, 40vh, 400px) + var(--bsa-header-h, 102px));
}

@media (max-width: 640px) {
	.wp-block-post-content > .wp-block-cover.bsa-cr-hero:first-child { min-height: calc(520px + var(--bsa-header-h, 102px)); }
	.wp-block-post-content > .wp-block-cover.bsa-cr-hero--compact:first-child { min-height: calc(360px + var(--bsa-header-h, 102px)); }
}

/* ── QUICK VIEW ──
   Our Vision / Our Philosophy / Our Values links open a short form of that
   Company section here (assets/js/website/careers-quickview.js): a side panel on
   laptops, a bottom sheet on phones, and a peek card on hover. */
html.bsa-qv-open { overflow: hidden; }

.bsa-qv {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
}

.bsa-qv.is-open { visibility: visible; pointer-events: auto; }

.bsa-qv__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 18, 43, 0.55);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.bsa-qv.is-open .bsa-qv__backdrop { opacity: 1; }

.bsa-qv__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(460px, 100%);
	box-sizing: border-box;
	padding: 56px 40px 40px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #FFFFFF;
	color: #1A2E44;
	box-shadow: -18px 0 48px rgba(3, 18, 43, 0.25);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	outline: none;
}

.bsa-qv.is-open .bsa-qv__panel { transform: none; }

.bsa-qv__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: var(--bsa-radius, 10px);
	background: transparent;
	color: #1A2E44;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.bsa-qv__close:hover,
.bsa-qv__close:focus-visible { background: #F4F5F7; }

.bsa-qv__eyebrow {
	margin: 0 0 12px;
	color: #4A7FA5;
	font-size: var(--bsa-type-eyebrow);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bsa-qv__lead {
	margin: 0 0 20px;
	color: #0F1F38;
	font-size: var(--bsa-type-sub);
	font-weight: 400;
	line-height: 1.3;
}

.bsa-qv__body {
	margin: 0 0 24px;
	font-size: var(--bsa-type-body);
	line-height: 1.7;
}

.bsa-qv__items {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	border-top: 1px solid #E8EDF2;
}

.bsa-qv__items li {
	padding: 14px 0;
	border-bottom: 1px solid #E8EDF2;
	font-size: var(--bsa-type-body);
	line-height: 1.6;
}

.bsa-qv__items strong {
	display: block;
	color: #0F1F38;
	font-weight: 700;
}

.bsa-qv__items span { display: block; margin-top: 4px; color: #1A2E44; }

/* Our Vision: numbered statements (01–05), in regular weight */
.bsa-qv__items--numbered { counter-reset: bsa-qv; }

.bsa-qv__items--numbered li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: baseline;
	counter-increment: bsa-qv;
}

.bsa-qv__items--numbered li::before {
	content: counter(bsa-qv, decimal-leading-zero);
	color: #4A7FA5;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.bsa-qv__items--numbered strong {
	color: #1A2E44;
	font-weight: 400;
}

.bsa-qv__more {
	display: inline-block;
	color: #2C5F8A;
	font-size: var(--bsa-type-body);
	font-weight: 700;
	text-decoration: none;
}

.bsa-qv__more:hover,
.bsa-qv__more:focus-visible { color: #0F1F38; text-decoration: underline; }

/* Phones and small tablets: a bottom sheet */
@media (max-width: 767.98px) {
	.bsa-qv__panel {
		top: auto;
		left: 0;
		width: 100%;
		max-height: 85vh;
		padding: 48px 24px 32px;
		border-radius: var(--bsa-radius, 10px) var(--bsa-radius, 10px) 0 0;
		box-shadow: 0 -18px 48px rgba(3, 18, 43, 0.25);
		transform: translateY(100%);
	}
	.bsa-qv__lead { font-size: var(--bsa-type-sub); }
}

/* Peek card on hover (laptops) */
.bsa-qv-peek {
	position: fixed;
	z-index: 99999;
	box-sizing: border-box;
	padding: 16px 18px;
	border-radius: var(--bsa-radius, 10px);
	background: #FFFFFF;
	color: #1A2E44;
	box-shadow: 0 14px 36px rgba(3, 18, 43, 0.22);
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bsa-qv-peek.is-visible { opacity: 1; transform: none; }

.bsa-qv-peek p { margin: 0; }

.bsa-qv-peek__eyebrow {
	margin-bottom: 6px !important;
	color: #4A7FA5;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bsa-qv-peek__lead { color: #0F1F38; font-size: 16px; line-height: 1.45; }

.bsa-qv-peek__names { margin-top: 8px !important; font-size: 14px; color: #1A2E44; }

.bsa-qv-peek__hint { margin-top: 10px !important; font-size: 13px; color: #6B7C8D; }

@media (prefers-reduced-motion: reduce) {
	.bsa-qv__panel,
	.bsa-qv__backdrop,
	.bsa-qv-peek { transition: none; }
}
