/* H5Project shared header adjustments — guest + logged-in */

/* Keep desktop header full-width with controlled side padding. */
@media (min-width: 922px) {
	#masthead .site-primary-header-wrap .ast-builder-grid-row {
		width: 100%;
		max-width: none;
		margin-inline: 0;
		padding-inline: clamp(28px, 5vw, 84px);
		column-gap: 32px;
	}
}

/* Compact Astra's mobile header without clipping its controls. */
@media (max-width: 921.9px) {
	#masthead .site-primary-header-wrap .ast-builder-grid-row {
		column-gap: 16px;
	}

	#masthead .ast-primary-header-bar,
	#masthead .site-primary-header-wrap {
		min-height: 76px !important;
	}

	#masthead .ast-site-identity {
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}

	#masthead .site-logo-img img,
	#masthead .custom-logo {
		max-height: 64px !important;
		width: auto !important;
	}
}