/* Expandable Columns Widget Styles */
.amsha-expandable-columns {
	width: 100%;
	margin: 0 auto;
	--animation-duration: 600ms;
	--column-height: 531px;
	--column-gap: 10px;
	--active-width: 426px;
	--inactive-width: 198px;
}

.amsha-columns-container {
	display: flex;
	width: 100%;
	gap: var(--column-gap, 10px);
	height: var(--column-height, 531px);
	overflow: hidden;
}

.amsha-column {
	position: relative;
	height: 100%;
	cursor: pointer;
	overflow: hidden;
	transition: width var(--animation-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1), flex-grow var(--animation-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1);
	will-change: width;
}

.amsha-column.active {
	width: var(--active-width, 426px);
}

.amsha-column:not(.active) {
	width: var(--inactive-width, 198px);
}

.amsha-column-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform var(--animation-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-column:hover:not(.active) .amsha-column-background {
	transform: scale(1.05);
}

.amsha-column-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: opacity var(--animation-duration, 600ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-column.active .amsha-column-overlay {
	opacity: 0 !important;
}

.amsha-column:not(.active) .amsha-column-overlay {
	opacity: 0.8;
}

/* Active Column Content */
.amsha-column-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	color: #ffffff;
}

/* Content visibility handled by JavaScript */

.amsha-column-title {
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 15px 0;
	color: #ffffff;
	line-height: 1.2;
}

.amsha-column-subtitle {
	font-size: 16px;
	margin: 0 0 25px 0;
	color: #ffffff;
	line-height: 1.6;
	opacity: 0.95;
}

.amsha-column-button {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	align-self: flex-start;
}

.amsha-column-button:hover {
	transform: translateX(5px);
	opacity: 0.9;
}

/* Collapsed Column Content */
.amsha-column-title-collapsed {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 20px;
}

.amsha-title-line {
	display: block;
	position: absolute;
	top: 0;
	width: 1px;
	height: 25px;
	background-color: #ffffff;
	margin-bottom: 20px;
}

.amsha-column-title-vertical {
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ffffff;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	margin: 0;
	margin-top: 24px;
	line-height: 130%;
	white-space: nowrap;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Design */
@media (max-width: 1024px) {
	.amsha-columns-container {
		flex-direction: column;
		height: auto;
		gap: 15px;
	}

	.amsha-column {
		width: 100% !important;
		height: 300px;
		min-height: 300px;
	}

	.amsha-column-title-collapsed {
		flex-direction: row;
		justify-content: flex-start;
	}

	.amsha-title-line {
		width: 40px;
		height: 2px;
		margin-right: 15px;
		margin-bottom: 0;
	}

	.amsha-column-title-vertical {
		writing-mode: horizontal-tb;
		transform: none;
	}
}

@media (max-width: 768px) {
	.amsha-column-content {
		padding: 30px 20px;
	}

	.amsha-column-title {
		font-size: 24px;
	}

	.amsha-column-subtitle {
		font-size: 14px;
	}
}
