/**
 * Leadership / Our Team — Figma node 1301:10368.
 */

body.hypro-leadership-page {
	background: #f7f7f8;
}

body.hypro-leadership-page #page.site {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

body.hypro-leadership-page .site-main {
	padding: 0;
	width: 100%;
}

body.hypro-leadership-page .hypro-team {
	overflow-x: hidden;
}

/* Hero header: body.hypro-unified-nav — inner-nav-unified.css */

.hypro-team {
	--team-pad: clamp(1.25rem, 5.56vw, 5rem);
	--team-max: 90rem;
	--team-navy: #1a1e28;
	--team-navy-mid: #262a35;
	--team-cyan: #2ec4e6;
	--team-grey: #bdc2cc;
	--team-muted: #dbdde1;
}

/* ─── Banner ─────────────────────────────────────────────────────────────── */
.hypro-team-banner {
	position: relative;
	height: var(--hypro-page-hero-height);
	min-height: unset;
	overflow: hidden;
	background: #bdc2cc;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

/* Offset fixed glass nav so hero content sits visually centered */
body.hypro-unified-nav.hypro-leadership-page .hypro-team-banner {
	padding-top: calc(var(--hypro-admin-bar, 0px) + 4.5rem);
}

.hypro-team-banner__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hypro-team-banner__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

.hypro-team-banner__gradient {
	z-index: 1;
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 110% 130% at 50% 110%,
		rgba(46, 196, 230, 1) 0%,
		rgba(44, 158, 186, 1) 12%,
		rgba(42, 119, 142, 1) 25%,
		rgba(40, 81, 97, 1) 37%,
		rgba(38, 42, 53, 1) 50%,
		rgba(26, 30, 40, 1) 100%
	);
}

.hypro-team-banner__rings {
	position: absolute;
	z-index: 2;
	inset: -10% -5% auto -5%;
	height: 120%;
	background:
		radial-gradient(ellipse 55% 45% at 50% 95%, transparent 55%, rgba(26, 30, 40, 0.15) 100%),
		radial-gradient(ellipse 70% 50% at 50% 100%, transparent 50%, rgba(46, 196, 230, 0.06) 100%);
	opacity: 0.9;
}

.hypro-team-banner__tint {
	position: absolute;
	z-index: 3;
	inset: 0;
	mix-blend-mode: color;
	opacity: 0.8;
	background: radial-gradient(
		ellipse 90% 65% at 50% 55%,
		rgba(115, 215, 237, 0.85) 0%,
		rgba(71, 123, 139, 0.9) 35%,
		rgba(37, 53, 65, 0.95) 70%,
		rgba(26, 30, 40, 1) 100%
	);
}

/* When hero photo is present — pull back gradient + tint so the image shows through */
.hypro-team-banner--has-photo .hypro-team-banner__gradient {
	opacity: 0.6;
}

.hypro-team-banner--has-photo .hypro-team-banner__tint {
	opacity: 0.45;
}

.hypro-team-breadcrumb {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0 var(--team-pad);
	margin-bottom: clamp(2rem, 5vw, 3rem);
	font-family: Inter, sans-serif;
	font-size: 0.75rem;
	line-height: 1.4;
	font-weight: 400;
	text-transform: capitalize;
}

.hypro-team-breadcrumb__link {
	color: #bdc2cc;
	text-decoration: none;
	transition: color 0.2s;
}

.hypro-team-breadcrumb__link:hover {
	color: #f7f7f8;
}

.hypro-team-breadcrumb__sep {
	color: #bdc2cc;
}

.hypro-team-breadcrumb__current {
	color: #f7f7f8;
}

.hypro-team-banner__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	padding: 0 var(--team-pad);
	max-width: 60rem;
	margin: 0 auto;
	width: 100%;
	flex: 1;
	justify-content: center;
}

.hypro-team-banner__headline {
	margin: 0;
	font-family: Saira, Inter, sans-serif;
	font-weight: 500;
	font-size: clamp(2.25rem, 4.44vw, 4rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
	background: radial-gradient(
		ellipse 200% 80% at 20% 40%,
		rgba(46, 196, 230, 1) 22%,
		rgba(85, 168, 199, 1) 54%,
		rgba(123, 140, 167, 1) 86%,
		rgba(49, 54, 68, 0) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hypro-team-banner__sub {
	margin: 0;
	max-width: 41rem;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	color: #dbdde1;
}

/* ─── Main ──────────────────────────────────────────────────────────────── */
.hypro-team-main {
	background: var(--team-navy);
	padding: clamp(4rem, 8vw, 6.25rem) var(--team-pad);
}

.hypro-team-main__inner {
	max-width: calc(var(--team-max) - 10rem);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}

.hypro-team-panel__empty {
	margin: 0;
	padding: 3rem 1rem;
	text-align: center;
	font-family: Inter, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #bdc2cc;
	max-width: 32rem;
	margin-left: auto;
	margin-right: auto;
}

/* Static 4-column grid — all members, wrapping to new rows (no carousel). */
.hypro-team-main .leaders__grid.hypro-team-grid {
	width: 100%;
	max-width: 80.0625rem;
	margin: 0 auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1024px) {
	.hypro-team-main .leaders__grid.hypro-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.hypro-team-main .leaders__grid.hypro-team-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
