/*
Theme Name: Ellevate-AI Corporate Matrix Theme
Theme URI: https://ellevate-ai.com
Author: Custom Cyber Minimalist Build
Description: An ultra-premium, high-end corporate data technology theme custom built for Ellevate-AI. Inspired by Palantir's aesthetic.
Version: 3.3.5
Text Domain: ellevate-ai
*/

/* -------------------------------------------------------------------------
   Hero background video — always visible on front-page.php
   ------------------------------------------------------------------------- */
#ellevate-hero-video-container,
#ellevate-hero-video-container video {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

#ellevate-hero-video-container {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100vh !important;
	z-index: 0 !important;
}

#ellevate-hero-video-container video {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100vh !important;
	max-width: none !important;
	object-fit: cover !important;
}

/* Mobile: full-width 16:9, no crop */
@media (max-width: 767px) {
	#ellevate-cinematic-front {
		overflow-x: hidden;
	}

	#ellevate-hero-section {
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 16 / 9;
		overflow-x: hidden !important;
	}

	#ellevate-hero-video-container {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
	}

	#ellevate-hero-video-container video {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		max-width: 100% !important;
		object-fit: contain !important;
	}
}

/* -------------------------------------------------------------------------
   Middle Elementor island — transparent shell wrappers only.
   No rules on .e-con / .elementor-element / Atomic children: native Post CSS owns layout.
   ------------------------------------------------------------------------- */

#ellevate-elementor-middle-section,
#ellevate-elementor-middle-section .ellevate-isolated-middle-page__inner,
#ellevate-elementor-middle-section .ellevate-middle-section-content {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	float: none;
	clear: both;
	box-sizing: border-box;
}

/* Technical briefing Elementor embed — full-bleed shell, never collapse containers */
#ellevate-technical-briefing-section,
#ellevate-technical-briefing-section .ellevate-technical-briefing-page__inner {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	min-height: 0;
	height: auto;
	overflow: visible;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	float: none;
	clear: both;
	box-sizing: border-box;
}

#ellevate-technical-briefing-section .elementor,
#ellevate-technical-briefing-section .e-con,
#ellevate-technical-briefing-section .elementor-section {
	max-width: none;
}

/* Embedded Elementor / WP videos — responsive on small screens */
@media (max-width: 767px) {
	#ellevate-elementor-middle-section,
	#ellevate-technical-briefing-section {
		overflow-x: hidden;
	}

	#ellevate-elementor-middle-section .elementor-video,
	#ellevate-elementor-middle-section .elementor-widget-video,
	#ellevate-elementor-middle-section .elementor-wrapper,
	#ellevate-technical-briefing-section .elementor-video,
	#ellevate-technical-briefing-section .elementor-widget-video,
	#ellevate-technical-briefing-section .elementor-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 16 / 9;
	}

	#ellevate-elementor-middle-section video,
	#ellevate-elementor-middle-section iframe,
	#ellevate-technical-briefing-section video,
	#ellevate-technical-briefing-section iframe {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 16 / 9;
		object-fit: contain !important;
	}
}
