/*
 * Site header: built in Appearance > Customize > Header Builder.
 * Colors, fonts, menu spacing, dropdown border and the CTA button are all
 * Customizer settings. This file only holds what Astra has no setting for.
 */

/* Safety net: nothing on the site may cause sideways scrolling on phones.
   clip (unlike hidden) keeps position:sticky working. */
html,
body {
	overflow-x: clip;
}

/* Header row: same 1180px content width as the page sections. */
.ast-primary-header-bar .site-primary-header-wrap.ast-container,
.ast-mobile-header-wrap .site-primary-header-wrap.ast-container {
	max-width: 1180px;
	padding-left: 20px;
	padding-right: 20px;
}

/* Dropdown: soft shadow card, rounded hover rows. */
.ast-builder-menu-1 .main-header-menu .sub-menu {
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(15, 41, 66, 0.12);
	padding: 8px;
}
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link {
	color: #0f2942;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	white-space: normal;
	padding: 12px 16px;
	border-radius: 8px;
}
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:hover,
.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:focus {
	color: #0f2942;
	background: #f4f6f8;
}

/* CTA never wraps to two lines. */
.ast-header-button-1 .ast-custom-button {
	white-space: nowrap;
	line-height: 1.2;
}

/* Mobile open menu: sub items indented on a light row. */
@media (max-width: 921px) {
	.ast-mobile-header-content .main-header-menu .sub-menu .menu-link,
	.ast-mobile-header-wrap .main-header-menu .sub-menu .menu-link {
		padding-left: 36px;
		background: #fafafa;
	}
}

@media (max-width: 420px) {
	.custom-logo-link img.custom-logo {
		max-width: 136px;
	}
	.ast-header-button-1 .ast-custom-button {
		font-size: 13px;
		padding: 9px 12px;
	}
}
