/* Team banner (Meet the Team page) */
/* Meet the Team: photo banner under the title
   ========================================================================== */
.nexa-team-banner {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	min-height: clamp(26rem, 38vw, 32.5rem);
	margin: 0 0 clamp(48px, 6vw, 80px) !important;
	border-radius: 0; background: var(--c-dark); color: #fff;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.nexa-team-banner > .nexa-team-banner__photo { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.nexa-team-banner > .nexa-team-banner__photo img {
	width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%;
	border-radius: 0; transform: scale(1.04); transition: transform 1.6s var(--ease);
}
.nexa-team-banner:hover > .nexa-team-banner__photo img { transform: scale(1.08); }
.nexa-team-banner::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(12, 12, 12, .9) 0%, rgba(12, 12, 12, .72) 38%, rgba(12, 12, 12, .15) 72%, rgba(12, 12, 12, 0) 100%),
		linear-gradient(0deg, rgba(12, 12, 12, .35), rgba(12, 12, 12, 0) 45%);
}
.nexa-team-banner__card { max-width: 41rem; padding: clamp(32px, 5vw, 64px); }
.nexa-team-banner__card > * { margin: 0; }
.nexa-team-banner p.nexa-team-banner__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font-size: 0.75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
}
.nexa-team-banner p.nexa-team-banner__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.nexa-team-banner h2.nexa-team-banner__title {
	margin: 0 0 16px; padding: 0; border: 0; display: block;
	font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em; color: #fff;
}
.nexa-team-banner h2.nexa-team-banner__title em { font-style: italic; color: rgba(255, 255, 255, .8); }
.nexa-team-banner p.nexa-team-banner__text {
	max-width: 30rem; margin-bottom: 28px; padding: 0; border: 0;
	font-size: 1.0625rem; line-height: 1.65; color: rgba(255, 255, 255, .82);
}

/* Overlapping team faces */
.nexa-team-banner__faces { display: flex; flex-wrap: wrap; margin-bottom: 26px !important; padding-left: 12px; }
.nexa-team-banner__faces > figure.wp-block-image { margin: 0 0 0 -12px !important; flex: none; position: relative; transition: transform .35s var(--ease); }
.nexa-team-banner__faces > figure.wp-block-image img {
	display: block; width: 48px; height: 48px; object-fit: cover; object-position: center 20%;
	border-radius: 50%; border: 3px solid var(--c-dark); background: #2a2a2a;
}
.nexa-team-banner__faces > figure.wp-block-image:hover { transform: translateY(-4px); z-index: 2; }

/* Team counts */
.nexa-team-banner__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px !important; }
.nexa-team-banner__stat {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
	border: 1px solid rgba(255, 255, 255, .18); border-radius: 0;
	background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nexa-team-banner__stat .lp-icon {
	display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0;
	border-radius: 50%; background: #fff; color: var(--c-ink);
}
.nexa-team-banner__stat .lp-icon svg { width: 16px; height: 16px; }
.nexa-team-banner__stat p { margin: 0; font-size: 0.875rem; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.nexa-team-banner__stat p strong { color: #fff; font-weight: 600; }

/* Button: light on the dark photo */
html body .nexa-team-banner .alcair-btn.alcair-btn--primary { background: #fff; color: var(--c-ink); border-color: #fff; }
html body .nexa-team-banner .alcair-btn.alcair-btn--primary:hover { background: var(--c-soft); color: var(--c-ink); }

@media (max-width: 781px) {
	.nexa-team-banner { align-items: flex-end; min-height: 0; border-radius: 0; }
	.nexa-team-banner > .nexa-team-banner__photo img { object-position: 70% 30%; }
	.nexa-team-banner::before { background: linear-gradient(0deg, rgba(12, 12, 12, .96) 0%, rgba(12, 12, 12, .86) 62%, rgba(12, 12, 12, .25) 84%, rgba(12, 12, 12, .05) 100%); }
	.nexa-team-banner__card { padding: 190px 22px 28px; }
	.nexa-team-banner__faces > figure.wp-block-image img { width: 40px; height: 40px; }
	html body .nexa-team-banner .alcair-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.nexa-team-banner > .nexa-team-banner__photo img, .nexa-team-banner__faces > figure.wp-block-image { transition: none; transform: none; }
}
