/* Neutralize the legacy compact class so its geometry changes cannot feed back
 * into the old scroll-direction listener. The stable class below owns sizing. */
.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-header-inner {
	min-height: 92px !important;
}

.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-wordmark {
	height: 60px !important;
	transform: none !important;
}

.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-mark {
	transform: none !important;
}

.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-wordmark small {
	display: block !important;
}

.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-wordmark strong {
	font-size: 15px !important;
}

.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-header-cta {
	min-height: 44px !important;
}

.elementor-location-header.rs-header--stable-compact .rs-header-inner {
	min-height: 64px !important;
}

.elementor-location-header.rs-header--stable-compact .rs-wordmark {
	height: 45px !important;
	transform: translateZ(0) !important;
}

.elementor-location-header.rs-header--stable-compact .rs-mark {
	transform: scale(.82) !important;
}

.elementor-location-header.rs-header--stable-compact .rs-wordmark small {
	display: none !important;
}

.elementor-location-header.rs-header--stable-compact .rs-wordmark strong {
	font-size: 13px !important;
}

.elementor-location-header.rs-header--stable-compact .rs-header-cta {
	min-height: 38px !important;
}

@media (max-width: 900px) {
	.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-header-inner {
		min-height: 76px !important;
	}

	.elementor-location-header.rs-header--compact:not(.rs-header--stable-compact) .rs-wordmark {
		height: 50px !important;
	}

	.elementor-location-header.rs-header--stable-compact .rs-header-inner {
		min-height: 58px !important;
	}

	.elementor-location-header.rs-header--stable-compact .rs-wordmark {
		height: 42px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor-location-header,
	.rs-header-inner,
	.rs-wordmark,
	.rs-mark,
	.rs-wordmark strong,
	.rs-header-cta {
		transition: none !important;
	}
}
