/**
 * Z-Index Fix for Navigation
 * CRITICAL: Ensures menu always displays above content
 * 
 * @package Blog Content
 */

/* Force header and navigation to be on top - CRITICAL FIX */
.site-header {
	position: relative;
	z-index: 100000 !important;
}

.theme-main-header {
	position: relative;
	z-index: 100001 !important;
}

.theme-main-header-wrapper {
	position: relative;
	z-index: 100001 !important;
}

.primary-nav {
	position: relative;
	z-index: 100002 !important;
}

.main-navigation {
	position: relative;
	z-index: 100003 !important;
}

/* Dropdown menu - HIGHEST priority */
.main-navigation ul ul,
.main-navigation .sub-menu {
	z-index: 999999 !important;
	position: absolute !important;
}

/* Ensure content is BELOW navigation */
.primary-site-content {
	position: relative;
	z-index: 1 !important;
}

.site-content {
	position: relative;
	z-index: 1 !important;
}

.site-main {
	position: relative;
	z-index: 1 !important;
}

.theme-wrapper {
	position: relative;
	z-index: 1 !important;
}

/* Force all content sections to be below navigation */
article,
.entry-content,
.post,
.page {
	position: relative;
	z-index: auto !important;
}

/* Banner and sections - below navigation */
.banner-section,
.flash-posts-section,
.categories-section,
.advertisement-section {
	position: relative;
	z-index: 1 !important;
}

/* Sticky header fix */
.site-header.sticky {
	position: fixed !important;
	z-index: 999998 !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
	z-index: 100000 !important;
}

/* Override any conflicting z-index from other sources */
body .main-navigation ul ul {
	z-index: 999999 !important;
}

body .main-navigation .sub-menu {
	z-index: 999999 !important;
}

