
/* =====================================================
   Locus Market Cards Widget
   ===================================================== */
.lmc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	width: 100%;
}

/* Card shell — clips the zooming bg */
.lmc-card {
	position: relative;
	min-height: 320px;
	overflow: hidden;
}

/* Background image layer — this is what zooms & rotates.
   Oversized via inset so corners stay filled during rotation. */
.lmc-bg-wrap {
	position: absolute;
	inset: -10%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	will-change: transform;
	z-index: 0;
}

/* Dark overlay sits above bg, below content */
.lmc-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* Content layer */
.lmc-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	min-height: inherit;
	padding: 32px;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

/* Icon */
.lmc-icon {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.lmc-icon img {
	display: block;
	width: 75px !important;
	height: 75px !important;
	object-fit: contain;
	object-position: left;
}

.lmc-icon i {
	font-size: 64px;
	color: #fff;
	line-height: 1;
}

.lmc-icon svg {
	width: 64px;
	height: auto;
	fill: #fff;
}

/* Title */
.lmc-title {
	margin: 0 0 8px;
	padding: 0;
	color: #fff;
	line-height: 1.2;
}

/* Divider */
.lmc-title-divider {
	width: 40px;
	height: 2px;
	background-color: #fff;
	margin-bottom: 12px;
	flex-shrink: 0;
}

/* Subtitle */
.lmc-subtitle {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .85);
	line-height: 1.5;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
	.lmc-card {
		min-height: 260px;
	}
}

@media (max-width: 480px) {
	.lmc-card {
		min-height: 220px;
	}
}
