.ita-226-container {
	display: flex;
	flex-direction: row;
	width: 100%;
	/* Default height if not overridden by Elementor inline CSS */
	height: 400px;
	overflow: hidden;
	gap: 5px;
}

.ita-226-item {
	display: flex;
	flex-direction: row;
	flex: 1;
	cursor: pointer;
	transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), flex-basis 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), min-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	overflow: hidden;
	position: relative;
	background: #1a1a1a;
}

.ita-226-item.ita-226-img-left {
	flex-direction: row-reverse;
}

.ita-226-item.ita-226-active {
	flex: 5;
	flex-basis: auto !important; /* Allow active item to grow to take remaining space */
	min-height: auto !important;
	cursor: default;
}

.ita-226-content {
	flex: 1;
	min-width: 250px;
	padding: 30px;
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	transition-delay: 0s;
	display: none;
	background: #f4f4f4;
	color: #333;
	z-index: 2;
	/* Add flexbox to content container so inner elements can be aligned */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.ita-226-item:not(.ita-226-active) .ita-226-content {
	display: none;
}

.ita-226-item.ita-226-img-left .ita-226-content {
	transform: translateX(20px); 
}

.ita-226-active .ita-226-content {
	display: flex;
	opacity: 1;
	transform: translateX(0) !important;
	transition-delay: 0.2s;
}

.ita-226-title {
	margin: 0 0 5px 0;
	width: 100%;
}

.ita-226-job {
	margin: 0 0 15px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.7;
	width: 100%;
}

.ita-226-bio {
	margin-bottom: 20px;
	width: 100%;
}

.ita-226-social-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ita-226-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 36px;
	min-height: 36px;
	padding: 10px;
	background: #333;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s;
}

.ita-226-social i {
	font-size: 16px;
	line-height: 1;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ita-226-social svg {
	width: 16px;
	height: 16px;
	fill: #fff;
	display: block;
}

.ita-226-image-wrapper {
	flex: 1;
	height: 100%;
	min-width: 100px;
	position: relative;
	overflow: hidden;
}

.ita-226-image-bg {
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: grayscale(100%);
	transition: filter 0.5s ease;
}

.ita-226-active .ita-226-image-bg {
	filter: grayscale(0%);
}

@media (max-width: 767px) {
	.ita-226-container {
		flex-direction: column;
		height: auto; 
		min-height: 800px;
	}
	
	.ita-226-item {
		flex-direction: column;
	}
	
	.ita-226-item:not(.ita-226-active) {
		flex-grow: 0;
		flex-basis: auto !important;
		/* Apply column closed height mapping the custom variable set from Elementor */
		min-height: var(--ita-226-closed-height, 100px);
	}
	
	.ita-226-item.ita-226-img-left {
		flex-direction: column; /* Ignore left/right on mobile */
	}
	
	.ita-226-content,
	.ita-226-item.ita-226-img-left .ita-226-content {
		transform: translateY(-20px);
	}
	
	.ita-226-active .ita-226-content {
		transform: translateY(0) !important;
	}
}