/**
 * Map Hello Elementor header/footer to Omega navbar/footer utility classes.
 */

.site-header.dynamic-header,
.site-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(128, 12, 141, 0.97) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(201, 152, 58, 0.15);
	box-shadow: none;
}

.site-header .header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 72px;
}

.site-header .site-branding .site-title a {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none;
}

.site-header .site-branding .site-description {
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #e5b96a !important;
	margin: 0.15rem 0 0;
}

.site-header .custom-logo-link img,
.site-header .site-logo img {
	max-height: 38px;
	width: auto;
	display: block;
	object-fit: contain;
}

.site-header .site-navigation ul.menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	margin-left: auto;
}

.site-header .site-navigation ul.menu a {
	padding: 0.5rem 0.85rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none;
	transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header .site-navigation ul.menu a:hover,
.site-header .site-navigation ul.menu .current-menu-item > a {
	color: #fff !important;
	background: rgba(201, 152, 58, 0.15);
}

.site-header .site-navigation ul.menu .current-menu-item > a {
	color: #e5b96a !important;
}

/* Fixed header offset: only when not using Elementor page layout (see hfe-layout.css). */
body.ohc-site:not(.elementor-page) .site-main,
body.ohc-site:not(.elementor-page) #content .site-main {
	padding-top: 72px;
}

body.ohc-site .entry-content {
	padding-top: 0;
}

/* Match elementor-layout-bridge when Elementor body class is present */
body.elementor-page.ohc-site:not(.elementor-editor-active) {
	overflow-x: visible;
}

body.elementor-page.ohc-site #page.hfeed.site {
	overflow-x: visible;
}

/*
 * Classic page content (no Elementor canvas): hero uses full width of main (avoid 100vw + overflow clip).
 */
body.ohc-site:not(.elementor-page) main#content .page-content > section.hero {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	left: auto;
	box-sizing: border-box;
}

body.ohc-site:not(.elementor-page) #page.hfeed.site {
	overflow-x: visible;
}

/*
 * Same Elementor .e-con rules as elementor-layout-bridge.css — duplicated here so layout holds even if
 * body_class omits elementor-page or bridge deps fail. Applies to any Elementor canvas in main.
 */
body.ohc-site:not(.elementor-editor-active) main#content .page-content .elementor[data-elementor-id] > .e-con {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	--width: 100% !important;
}

body.ohc-site:not(.elementor-editor-active) main#content .page-content .elementor[data-elementor-id] .e-con > .e-con-inner {
	max-width: none !important;
	width: 100% !important;
	--container-max-width: 100% !important;
	--content-width: min(100%, 100vw) !important;
}

body.ohc-site:not(.elementor-editor-active) main#content .e-con:has(section.hero),
body.ohc-site:not(.elementor-editor-active) main#content .elementor-widget-html:has(section.hero) {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	--width: 100% !important;
}

body.ohc-site:not(.elementor-editor-active) main#content .e-con:has(section.hero) > .e-con-inner {
	max-width: none !important;
	width: 100% !important;
	--container-max-width: 100% !important;
	--content-width: min(100%, 100vw) !important;
}

body.ohc-site:not(.elementor-editor-active) main#content .elementor-widget-html:has(section.hero) .elementor-widget-container {
	max-width: none !important;
	width: 100% !important;
}

/*
 * Safety net: Elementor-generated page CSS can assign element widths >100% (percent-based),
 * causing horizontal overflow and "non-responsive" sections. Cap any Elementor element
 * inside the main content canvas to the available width.
 */
body.ohc-site:not(.elementor-editor-active) main#content .page-content .elementor .elementor-element {
	max-width: 100% !important;
}

body.ohc-site:not(.elementor-page) main#content .page-content > .elementor {
	max-width: none !important;
	width: 100% !important;
}

.site-footer {
	background: #800c8d;
	color: #fff;
}
