/* MDW Scroll Showcase */

.mdw-ssc {
	position: relative;
	width: 100%;
	height: 100vh;
	background-color: #000;
	color: #fff;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
}

.mdw-ssc__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	height: 100%;
	padding: 0 clamp(1.5rem, 5vw, 6rem);
}

@media ( min-width: 768px ) {
	.mdw-ssc__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Text column */

.mdw-ssc__text-col {
	position: relative;
	height: 24rem;
	display: flex;
	align-items: center;
}

.mdw-ssc__text-section {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mdw-ssc__tag {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1rem;
	color: #ef4444;
}

.mdw-ssc__heading {
	font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
	font-weight: 700;
	line-height: 1.3;
	max-width: 36rem;
	color: #fff;
	margin: 0;
}

.mdw-ssc__cta {
	display: inline-block;
	margin-top: 1.75rem;
	padding: 14px 28px;
	background-color: #fff;
	color: #000;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.mdw-ssc__cta:hover {
	background-color: #ef4444;
	color: #fff;
}

/* Image column */

.mdw-ssc__image-col {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.mdw-ssc__wheel {
	position: absolute;
	right: 5%;
	width: 31.25rem;
	height: 37.5rem;
	max-width: 90vw;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mdw-ssc__cluster {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: 150% 120%;
}

.mdw-ssc__img-back,
.mdw-ssc__img-front {
	position: absolute;
	overflow: hidden;
	border-radius: 2px;
}

.mdw-ssc__img-back {
	top: 1rem;
	left: 1rem;
	width: 16rem;
	height: 20rem;
	background-color: #1f2937;
	box-shadow: 0 25px 50px -12px rgba( 0, 0, 0, 0.7 );
	transform: rotate( -6deg );
	filter: grayscale( 100% ) contrast( 1.25 );
	border: 1px solid rgba( 255, 255, 255, 0.1 );
}

.mdw-ssc__img-back img {
	opacity: 0.75;
}

.mdw-ssc__img-front {
	bottom: 1rem;
	right: 1rem;
	width: 18rem;
	height: 24rem;
	background-color: #111827;
	box-shadow: 0 30px 60px -15px rgba( 0, 0, 0, 0.9 );
	transform: rotate( 3deg );
	border: 1px solid rgba( 255, 255, 255, 0.15 );
}

.mdw-ssc__img-back img,
.mdw-ssc__img-front img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Elementor editor: avoid pin/scrub issues while editing */
.elementor-editor-active .mdw-ssc {
	height: auto;
	min-height: 100vh;
}
