.lm-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	--lm-gap: 20px;
	--lm-speed-1: 20s;
	--lm-speed-2: 25s;
	--lm-speed-3: 22s;
	overflow: hidden;
	background: #fdfdfd;
}

.lm-left {
	width: 45%;
	display: flex;
	align-items: center;
	padding: 40px 60px;
	box-sizing: border-box;
}

.lm-content {
	max-width: 500px;
}

.lm-subheading {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #777;
	margin-bottom: 15px;
}

.lm-heading {
	font-size: 42px;
	font-weight: 300;
	color: #111;
	margin-bottom: 25px;
	line-height: 1.2;
}

.lm-desc {
	font-size: 16px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 35px;
}

.lm-btn {
	display: inline-block;
	padding: 15px 35px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: background 0.3s ease;
}

.lm-btn:hover {
	background: #333;
}

.lm-right {
	width: 55%;
	display: flex;
	gap: var(--lm-gap);
	height: 600px; /* Fixed height for marquee container */
	overflow: hidden;
	padding: 20px 0;
	box-sizing: border-box;
	position: relative;
}

/* Fading edges for luxury feel */
.lm-right::before, .lm-right::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 50px;
	z-index: 2;
	pointer-events: none;
}
.lm-right::before {
	top: 0;
	background: linear-gradient(to bottom, #fdfdfd, transparent);
}
.lm-right::after {
	bottom: 0;
	background: linear-gradient(to top, #fdfdfd, transparent);
}

.lm-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.lm-track {
	display: flex;
	flex-direction: column;
	gap: var(--lm-gap);
	will-change: transform;
}

.lm-card {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
}

.lm-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

/* Animations */
.lm-scroll-up {
	animation: marqueeUp var(--lm-speed-1) linear infinite;
}
.col2 .lm-scroll-down {
	animation: marqueeDown var(--lm-speed-2) linear infinite;
}
.col3 .lm-scroll-up {
	animation: marqueeUp var(--lm-speed-3) linear infinite;
}

@keyframes marqueeUp {
	0% { transform: translateY(0); }
	100% { transform: translateY(calc(-50% - (var(--lm-gap) / 2))); }
}

@keyframes marqueeDown {
	0% { transform: translateY(calc(-50% - (var(--lm-gap) / 2))); }
	100% { transform: translateY(0); }
}

.lm-pause-hover:hover .lm-track {
	animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
	.lm-left {
		width: 100%;
		padding: 40px 20px;
		text-align: center;
		justify-content: center;
	}
	.lm-right {
		width: 100%;
		height: 500px;
	}
	.lm-col.col3 {
		display: none; /* Show 2 cols on tablet */
	}
}

@media (max-width: 767px) {
	.lm-col.col2 {
		display: none; /* Show 1 col on mobile */
	}
}
