/* Carousel Structure */
.mc-2d157d84-wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.mc-2d157d84-track {
	display: flex;
	transition: transform 0.4s ease-in-out;
}

.mc-2d157d84-slide {
	flex: 0 0 100%;
	min-width: 100%;
	padding: 0;
	box-sizing: border-box;
}

/* Grids */
.mc-2d157d84-grid-2x2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: var(--mc-gap, 15px);
	height: var(--mc-height, 500px);
}

.mc-2d157d84-grid-1x1 {
	display: flex;
	height: var(--mc-height, 500px);
}

/* Items & Images */
.mc-2d157d84-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	border-radius: var(--mc-radius, 8px);
	height: 100%;
	width: 100%;
}

.mc-2d157d84-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.mc-2d157d84-item:hover img {
	transform: scale(1.05);
}

/* Captions */
.mc-2d157d84-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 15px;
	text-align: center;
	font-size: 15px;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.mc-2d157d84-item:hover .mc-2d157d84-caption {
	opacity: 1;
	transform: translateY(0);
}

/* Navigation Buttons */
.mc-2d157d84-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: background 0.2s, transform 0.2s;
}

.mc-2d157d84-nav:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.05);
}

.mc-2d157d84-nav.prev {
	left: 15px;
}

.mc-2d157d84-nav.next {
	right: 15px;
}

.mc-2d157d84-nav svg {
	width: 24px;
	height: 24px;
	fill: #111;
}

/* Lightbox */
.mc-2d157d84-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.mc-2d157d84-lightbox.active {
	opacity: 1;
	pointer-events: all;
}

.mc-2d157d84-lightbox-close {
	position: absolute;
	top: 25px;
	right: 30px;
	background: none;
	border: none;
	color: #fff;
	font-size: 50px;
	cursor: pointer;
	z-index: 1000000;
	line-height: 1;
	padding: 0;
	transition: color 0.2s;
}

.mc-2d157d84-lightbox-close:hover {
	color: #ddd;
}

.mc-2d157d84-lightbox-img {
	max-width: 90%;
	max-height: 80vh;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	border-radius: 4px;
}

.mc-2d157d84-lightbox-caption {
	color: #fff;
	margin-top: 20px;
	font-size: 18px;
	text-align: center;
	max-width: 80%;
}
