/* Header redesign — shared across totdir + lasdir.
 * Selectors are scoped to .elementor-location-header and target widget TYPE classes
 * (not element IDs, which differ per site) so the rules apply on both headers. */

/* ---- Search: make it the prominent centerpiece ---- */
.elementor-location-header .elementor-widget-wp-widget-gd_search {
	width: 100% !important;
}
.elementor-location-header .elementor-widget-wp-widget-gd_search .search_text,
.elementor-location-header .elementor-widget-wp-widget-gd_search .snear {
	height: 50px !important;
	font-size: 16px !important;
}
.elementor-location-header .elementor-widget-wp-widget-gd_search .geodir_submit_search {
	height: 50px !important;
	font-size: 16px !important;
	font-weight: 500;
	padding-left: 28px !important;
	padding-right: 28px !important;
}
.elementor-location-header .elementor-widget-wp-widget-gd_search .geodir-search-input-label {
	font-size: 16px;
}

/* ---- Social icons: pinned to the top-right, in a reserved strip above the search ----
 * The container that directly holds the social-icons widget gets top padding so the
 * absolutely-positioned icons sit clear of the tagline/search row at any width. */
.elementor-location-header .e-con:has( > .elementor-widget-social-icons ) {
	position: relative;
	padding-top: 44px !important;
}
.elementor-location-header .elementor-widget-social-icons {
	position: absolute;
	top: 6px;
	right: 0;
	margin: 0 !important;
	z-index: 10;
}

/* ---- Subscribe: collapsed until the toggle is clicked ---- */
.elementor-location-header .elementor-widget-form .elementor-form-fields-wrapper {
	display: none;
}
.elementor-location-header .elementor-widget-form.hh-sub-open .elementor-form-fields-wrapper {
	display: flex;
}
.elementor-location-header .hh-sub-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	background: transparent;
	color: #e0a82e;
	border: 1px solid #e0a82e;
	border-radius: 6px;
	padding: 8px 16px;
	font-size: 14px;
	line-height: 1;
	transition: background .15s ease, color .15s ease;
}
.elementor-location-header .hh-sub-toggle:hover {
	background: #e0a82e;
	color: #141414;
}
.elementor-location-header .elementor-widget-form.hh-sub-open .hh-sub-toggle {
	display: none;
}

/* ---- Nav row (injected below the header) ---- */
.hh-navbar {
	background: #1d1d1d;
	border-top: 1px solid rgba( 224, 168, 46, .35 );
}
.hh-navbar ul {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 36px;
}
.hh-navbar li {
	margin: 0;
}
.hh-navbar a {
	display: block;
	padding: 13px 6px;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	letter-spacing: .02em;
	transition: color .15s ease;
}
.hh-navbar a:hover {
	color: #e0a82e;
}

/* ---- "Near me" button in the nav ---- */
.hh-navbar .hh-near-me {
	color: #e0a82e;
}
.hh-navbar .hh-near-me i {
	margin-right: 5px;
}
.hh-navbar .hh-near-me.hh-locating {
	opacity: .6;
	pointer-events: none;
}
