/* for-agents: who-we-want sticky + what-we-provide titles */

@media (min-width: 1024px) {
	.who-we-want-stage {
		top: 120px;
		min-height: 0;
		height: calc(100vh - 140px);
		max-height: calc(100vh - 140px);
		align-items: flex-start;
		overflow: hidden;
	}

	.who-we-want-stage > .who-we-want-inner {
		max-height: 100%;
		overflow-x: hidden;
		/* Page scroll drives the scrub; nested scroll steals wheel over the image. */
		overflow-y: hidden;
		padding-block: 12px 28px;
		overscroll-behavior: none;
	}

	.who-we-want {
		align-items: start;
	}

	.who-we-want-pin {
		/* More scroll room so each item stays readable while pinned */
		height: calc(100vh + 280vh);
	}
}

/* Accordion: reliable expand (1fr can collapse to 0px in sticky contexts) */
.who-we-want__desc {
	display: block;
	max-height: 0;
	opacity: 0;
	margin-top: 0;
	overflow: hidden;
	transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
}

.who-we-want__desc > div {
	overflow: visible;
	min-height: 0;
}

	.who-we-want__item.is-active .who-we-want__desc {
	max-height: 400px;
	opacity: 1;
	margin-top: 16px;
	overflow: visible;
}

@media (max-width: 1023px) {
	.who-we-want__desc {
		max-height: none;
		opacity: 1;
		margin-top: 12px;
		overflow: visible;
	}
}

/* What we provide: keep icon + title on one row after RU localization */
.what-we-provide-card__head,
.why-phenom-card > .flex.items-center {
	min-width: 0;
	gap: 0.75rem;
}

.why-phenom-card .why-phenom-card__icon {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.why-phenom-card .why-phenom-card__icon {
		width: 64px;
		height: 64px;
	}
}

.why-phenom-card h3 {
	min-width: 0;
	flex: 1 1 auto;
	font-size: 1.05rem;
	line-height: 1.25;
	letter-spacing: -0.3px;
}

@media (min-width: 768px) {
	.why-phenom-card h3 {
		font-size: 1.2rem;
	}
}
