/*
 * Front-page layout corrections.
 *
 * These two rules lived in Customizer Additional CSS scoped to `body.page-id-16289` -- the
 * post id of one particular homepage draft. That is why a copy of the design rendered with
 * a collapsed hero: the content was identical, the page id was not. They are re-scoped to
 * the front-page body class, so they follow the homepage instead of following an id.
 *
 * The originals are still in the Customizer. They are inert now that 16289 is no longer the
 * front page, and removing them is a separate cleanup step to be done deliberately.
 */

/*
 * Keep the homepage header over the hero. TheGem can restore a 135px content
 * offset whenever Theme Options are saved, leaving the white menu over an
 * empty white strip.
 */
body.argus-home-page .block-content {
	padding-top: 0 !important;
}

/*
 * Homepage video hero: occupy one complete desktop viewport. The reduced,
 * viewport-aware vertical padding lets the content fit on common laptop
 * screens without changing the following (purple) hero section.
 */
@media (min-width: 1025px) {
	body.argus-home-page .elementor-element.elementor-element-dad1bc7 {
		min-height: 100vh !important;
		min-height: 100svh !important;
		padding-top: clamp(64px, 9vh, 105px) !important;
		padding-bottom: clamp(52px, 8vh, 95px) !important;
	}

	body.argus-home-page .elementor-element.elementor-element-dad1bc7 .elementor-background-video-container,
	body.argus-home-page .elementor-element.elementor-element-dad1bc7 video.elementor-background-video-hosted {
		height: 100% !important;
		width: 100% !important;
	}

	body.argus-home-page .elementor-element.elementor-element-dad1bc7 video.elementor-background-video-hosted {
		object-fit: cover !important;
		object-position: center center !important;
	}
}
