/**
 * JHR Sticky — styles (live page and editor preview).
 */

.jhr-sticky-placeholder {
	visibility: hidden !important;
	pointer-events: none !important;
}

.jhr-sticky-animated {
	transition: transform 0.35s cubic-bezier( 0.25, 0.46, 0.45, 0.94 ),
		background-color 0.3s ease,
		box-shadow 0.3s ease,
		padding 0.3s ease,
		opacity 0.3s ease;
}

/*
 * No will-change: transform here on purpose — it turns the stuck element into
 * a containing block, which breaks fixed-position children (dropdowns, a
 * nested sticky element, popups launched from a header).
 */

/* Sections/containers stuck to the screen should never keep their outer margins. */
.jhr-sticky-active.elementor-section,
.jhr-sticky-active.e-con,
.jhr-sticky-active.e-container {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

@media print {

	.jhr-sticky-active {
		position: static !important;
		transform: none !important;
	}

	.jhr-sticky-placeholder {
		display: none !important;
	}
}

@media ( prefers-reduced-motion: reduce ) {

	.jhr-sticky-animated {
		transition: none;
	}
}
