/**
 * TT Image Trailer
 */

.elementor-widget-treethemes-image-trailer {
	width: 100% !important;
	max-width: 100%;
	align-self: stretch;
	flex: 1 1 100%;
}

.tt-image-trailer {
	position: relative;
	width: 100%;
	min-width: 100%;
	min-height: 100vh;
	/* Ensure a real hit area even when children are fixed/hidden */
	display: block;
}

.tt-image-trailer__hit {
	position: absolute;
	inset: 0;
	z-index: 1;
	/* Capture mouse without blocking the page when trail is decorative —
	   for a dedicated trailer section this is the interaction surface. */
	pointer-events: auto;
	cursor: default;
}

.tt-image-trailer__layer {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	overflow: visible;
}

.tt-image-trailer__gallery {
	display: none !important;
}

.tt-image-trailer__item {
	position: absolute;
	width: 200px;
	height: 300px;
	object-fit: cover;
	opacity: 0;
	pointer-events: none;
	border-radius: 3px;
	transform-origin: center center;
	will-change: transform, opacity;
}
