/* ═══════════════════════════════════════════
   Interactive Team Accordion — 2913
   ═══════════════════════════════════════════ */

/* Wrapper */
.ita-2913-wrap {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 550px;
	overflow: hidden;
	border-radius: 16px;
}

/* Individual strip */
.ita-2913-item {
	position: relative;
	flex: 1 1 0%;
	min-width: 0;
	cursor: pointer;
	overflow: hidden;
	filter: grayscale(100%);
	transition: flex-grow 600ms cubic-bezier(0.4, 0, 0.2, 1), filter 600ms ease;
}

.ita-2913-item.ita-2913-active {
	flex-grow: 5;
	filter: grayscale(0%);
}

/* Background image */
.ita-2913-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	z-index: 1;
	transition: transform 600ms ease;
}

.ita-2913-item:hover .ita-2913-bg {
	transform: scale(1.03);
}

/* Overlay gradient */
.ita-2913-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 60%);
	transition: background 600ms ease;
}

.ita-2913-item.ita-2913-active .ita-2913-overlay {
	background: linear-gradient(90deg, rgba(10, 36, 99, 0.75) 0%, transparent 100%);
}

/* Collapsed vertical label */
.ita-2913-collapsed-label {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) rotate(-90deg);
	transform-origin: center center;
	white-space: nowrap;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: opacity 300ms ease;
	pointer-events: none;
}

.ita-2913-item.ita-2913-active .ita-2913-collapsed-label {
	opacity: 0;
	visibility: hidden;
}

.ita-2913-collapsed-name {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.ita-2913-collapsed-title {
	font-size: 11px;
	font-weight: 400;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.5px;
}

/* Expanded content panel */
.ita-2913-content {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	padding: 40px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 600ms ease 0ms;
}

.ita-2913-item.ita-2913-active .ita-2913-content {
	opacity: 1;
	pointer-events: auto;
	transition: opacity 500ms ease 300ms;
}

.ita-2913-content-inner {
	max-width: 420px;
}

/* Name */
.ita-2913-name {
	font-size: 28px;
	font-weight: 800;
	color: #FFFFFF;
	margin: 0 0 4px;
	line-height: 1.2;
	letter-spacing: -0.3px;
}

/* Job title */
.ita-2913-job {
	font-size: 14px;
	font-weight: 600;
	color: #93C5FD;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 16px;
}

/* Social icons row */
.ita-2913-social {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.ita-2913-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.15);
	color: #fff;
	text-decoration: none;
	transition: background-color 250ms ease, transform 250ms ease;
	backdrop-filter: blur(4px);
}

.ita-2913-social a:hover {
	background-color: #0D47A1;
	transform: translateY(-2px);
}

.ita-2913-social a svg {
	width: 18px;
	height: 18px;
}

/* Bio */
.ita-2913-bio {
	font-size: 14px;
	line-height: 1.65;
	color: #E2E8F0;
	margin: 0;
}

/* ───── Mobile: stack vertically ───── */
@media (max-width: 767px) {
	.ita-2913-wrap {
		flex-direction: column;
		height: auto;
		min-height: 500px;
	}

	.ita-2913-item {
		min-height: 70px;
		filter: grayscale(100%);
	}

	.ita-2913-item.ita-2913-active {
		min-height: 380px;
		flex-grow: 5;
		filter: grayscale(0%);
	}

	.ita-2913-collapsed-label {
		transform: translateX(-50%) rotate(0deg);
		bottom: auto;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		flex-direction: column;
		text-align: center;
	}

	.ita-2913-content {
		padding: 24px;
		align-items: flex-end;
	}

	.ita-2913-name {
		font-size: 22px;
	}

	.ita-2913-bio {
		font-size: 13px;
	}
}

/* ───── Tablet ───── */
@media (min-width: 768px) and (max-width: 1024px) {
	.ita-2913-content {
		padding: 28px;
	}

	.ita-2913-name {
		font-size: 24px;
	}

	.ita-2913-content-inner {
		max-width: 320px;
	}
}
