/*
 * EVA Hide Header Menu/Search Safe
 *
 * Scope:
 * - Hide only header trigger buttons for the mobile menu and search modal.
 * - Keep PC global navigation (#g_nav).
 * - Keep remodal HTML/CSS/JS for the next investigation phase.
 * - Keep search form internals inside the search modal.
 */

/* Header search trigger: removes magnifier/search text/click area on PC and mobile. */
.header #inner-header > a.nav_btn.search_btn[data-remodal-target="searchbox"],
.header #inner-header > a.nav_btn[data-remodal-target="searchbox"] {
	display: none !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
}

/* Header mobile menu trigger: removes hamburger/menu text/click area. */
.header #inner-header > a.nav_btn[data-remodal-target="spnavi"] {
	display: none !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
}

/* Remove the desktop nav spacing that existed only to make room for search. */
.header #inner-header > a.nav_btn.search_btn[data-remodal-target="searchbox"] + #g_nav,
.header #inner-header > a.nav_btn[data-remodal-target="searchbox"] + #g_nav {
	margin-right: 0 !important;
	padding-right: 0 !important;
}

/* After both side triggers are gone, keep the mobile logo naturally centered. */
@media only screen and (max-width: 767px) {
	.header #inner-header {
		position: relative;
	}

	.header #logo {
		float: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}

	.header #logo .h1,
	.header #logo h1,
	.header #logo a,
	.header #logo img {
		margin-left: auto !important;
		margin-right: auto !important;
		text-align: center !important;
	}
}

