/*
 * Hero Intro Reveal (hash e4a17c).
 * Static styles for the FINAL state only. The intro layer is built by script.js and styled
 * inline there. The pre-paint critical CSS (hide page, hide header) is printed from main.php.
 *
 * Every value that has a control falls back to the control default here, so the widget looks
 * right even before Elementor's generated CSS for the page exists.
 */

.hir-e4a17c {
	--hir-e4a17c-pos-x: 50%;
	--hir-e4a17c-pos-y: 50%;
	--hir-e4a17c-logo-start: 345px;
	--hir-e4a17c-logo-end: 200px;
	--hir-e4a17c-logo-offset: 50; /* unitless, share of the logo height above the top edge */

	width: 100%;
}

/* The in-flow box. Its position and size are the animation target. */
.hir-e4a17c__slot {
	position: relative;
	width: 100%;
	height: 100vh;
}

.hir-e4a17c__media {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
}

.hir-e4a17c__img {
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--hir-e4a17c-pos-x) var(--hir-e4a17c-pos-y);
}

/* Sibling of the media box so the rounded overflow clip never cuts it off. */
.hir-e4a17c__logo {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	display: block;
	width: var(--hir-e4a17c-logo-end);
	max-width: none;
	height: auto;
	margin: 0;
	pointer-events: none;
	/* -50% means half of the logo sits above the top edge. */
	transform: translate(-50%, calc(var(--hir-e4a17c-logo-offset) * -1%));
}
