:root {
	--pickbox-gap: clamp(10px, 1.4vw, 20px);
	--pickbox-radius: 14px;
	--pickbox-card-bg: #f3f6f8;
	--pickbox-content-bg: #ffffff;
	--pickbox-shadow: 0 14px 36px rgba(17, 31, 44, 0.12);
	--pickbox-border: 1px solid rgba(17, 31, 44, 0.08);
	--pickbox-heading: #102430;
	--pickbox-text: #4f5d67;
	--pickbox-accent: #0f7ca8;
}

.pickbox-int-team-container {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
	gap: var(--pickbox-gap);
	padding: 2px;
	box-sizing: border-box;
}

.pickbox-int-team-item {
	flex: 1;
	display: flex;
	flex-direction: row;
	border-radius: var(--pickbox-radius);
	overflow: hidden;
	cursor: pointer;
	transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	background: var(--pickbox-card-bg);
	border: var(--pickbox-border);
	box-shadow: 0 4px 16px rgba(17, 31, 44, 0.08);
	min-width: 0;
	isolation: isolate;
}

.pickbox-int-team-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 55%);
	pointer-events: none;
	z-index: 2;
}

.pickbox-int-team-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(17, 31, 44, 0.14);
}

.pickbox-int-team-item.pickbox-int-team-active {
	flex: 4;
	cursor: default;
	box-shadow: var(--pickbox-shadow);
	transform: none;
}

.pickbox-int-team-container.pickbox-int-team-all-expanded .pickbox-int-team-item {
	flex: 1;
	cursor: default;
}

.pickbox-int-team-image {
	flex: 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: grayscale(100%);
	transition: filter 0.6s ease, flex 0.6s ease, transform 0.6s ease;
	min-width: clamp(90px, 11vw, 170px);
	position: relative;
	z-index: 1;
}

.pickbox-int-team-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: transparent;
	pointer-events: none;
	transition: background-color 0.3s ease;
}

.pickbox-int-team-item.pickbox-int-team-active .pickbox-int-team-image {
	filter: grayscale(0%);
	transform: scale(1.02);
}

.pickbox-int-team-container.pickbox-int-team-all-expanded .pickbox-int-team-image {
	filter: grayscale(0%);
	transform: none;
}

.pickbox-int-team-content {
	width: 0;
	opacity: 0;
	overflow: hidden;
	background: var(--pickbox-content-bg);
	display: flex;
	align-items: center;
	transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease 0.15s;
	position: relative;
	z-index: 3;
	min-width: 0;
}

.pickbox-int-team-item.pickbox-int-team-active .pickbox-int-team-content {
	width: 60%;
	opacity: 1;
}

.pickbox-int-team-container.pickbox-int-team-all-expanded .pickbox-int-team-content {
	width: 60%;
	opacity: 1;
}

.pickbox-int-team-content-inner {
	padding: clamp(16px, 2.5vw, 34px);
	min-width: 220px;
	width: 100%;
	box-sizing: border-box;
}

.pickbox-int-team-name {
	margin: 0 0 6px 0;
	color: var(--pickbox-heading);
	font-size: clamp(1.125rem, 1.45vw, 1.7rem);
	line-height: 1.2;
	font-weight: 700;
	word-break: break-word;
}

.pickbox-int-team-role {
	font-weight: 600;
	margin-bottom: clamp(10px, 1.3vw, 16px);
	color: #5f6f79;
	text-transform: uppercase;
	font-size: clamp(0.67rem, 0.72vw, 0.76rem);
	letter-spacing: 1.2px;
	line-height: 1.4;
	word-break: break-word;
}

.pickbox-int-team-bio {
	margin-bottom: clamp(14px, 1.8vw, 24px);
	line-height: 1.65;
	font-size: clamp(0.9rem, 0.92vw, 1rem);
	color: var(--pickbox-text);
	word-break: break-word;
	text-wrap: pretty;
}

.pickbox-int-team-social-list {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.pickbox-int-team-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #1f3d4b;
	background: #edf3f6;
	border: 1px solid rgba(15, 124, 168, 0.24);
	font-size: 16px;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
	text-decoration: none;
	box-sizing: border-box;
}

.pickbox-int-team-social:hover,
.pickbox-int-team-social:focus-visible {
	color: #ffffff;
	background: var(--pickbox-accent);
	border-color: var(--pickbox-accent);
	transform: translateY(-2px);
	outline: none;
}

.pickbox-int-team-social svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

@media (max-width: 1100px) {
	.pickbox-int-team-container {
		gap: 12px;
	}

	.pickbox-int-team-item.pickbox-int-team-active {
		flex: 3;
	}

	.pickbox-int-team-item.pickbox-int-team-active .pickbox-int-team-content {
		width: 64%;
	}
}

@media (max-width: 900px) {
	.pickbox-int-team-container {
		flex-direction: column;
		overflow: visible;
		height: auto !important;
		min-height: 0 !important;
	}

	.pickbox-int-team-item {
		flex-direction: column-reverse;
		width: 100%;
		min-height: 0;
	}

	.pickbox-int-team-item,
	.pickbox-int-team-item.pickbox-int-team-active {
		flex: none;
	}

	.pickbox-int-team-image {
		min-height: 220px;
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.pickbox-int-team-content {
		width: 100%;
		max-height: 0;
		opacity: 0;
		transition: max-height 0.55s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
	}

	.pickbox-int-team-item.pickbox-int-team-active .pickbox-int-team-content {
		width: 100%;
		max-height: 1200px;
		opacity: 1;
	}

	.pickbox-int-team-container.pickbox-int-team-all-expanded .pickbox-int-team-content {
		width: 100%;
		max-height: 1600px;
		opacity: 1;
	}

	.pickbox-int-team-content-inner {
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.pickbox-int-team-container {
		gap: 10px;
		height: auto !important;
	}

	.pickbox-int-team-item {
		border-radius: 12px;
	}

	.pickbox-int-team-image {
		min-height: 190px;
		aspect-ratio: 4 / 3;
	}

	.pickbox-int-team-item.pickbox-int-team-active .pickbox-int-team-content {
		max-height: 1400px;
	}

	.pickbox-int-team-container.pickbox-int-team-all-expanded .pickbox-int-team-content {
		max-height: 1800px;
	}

	.pickbox-int-team-social {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 420px) {
	.pickbox-int-team-container {
		height: auto !important;
	}

	.pickbox-int-team-content-inner {
		padding: 15px;
	}

	.pickbox-int-team-role {
		letter-spacing: 1px;
	}

	.pickbox-int-team-image {
		min-height: 170px;
	}
}
