/**
 * Mobile header: phone between logo and menu (site-wide).
 */
#header [data-device="mobile"] [data-row="top"] {
	display: none !important;
}

#header [data-device="mobile"] [data-row="middle"] .ct-container {
	padding-left: 12px;
	padding-right: 12px;
}

#header [data-device="mobile"] .lp-mobile-header-row {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	width: 100%;
}

#header [data-device="mobile"] .lp-mobile-header-row > [data-column="start"],
#header [data-device="mobile"] .lp-mobile-header-row > [data-column="end"] {
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	align-self: center;
	display: flex;
	align-items: center;
	height: auto !important;
	min-height: 0 !important;
}

#header [data-device="mobile"] .lp-mobile-header-row > [data-column="end"] {
	margin-left: auto;
	flex-shrink: 0;
}

#header [data-device="mobile"] .lp-mobile-header-row > [data-column="start"] {
	flex-shrink: 0;
}

#header [data-device="mobile"] .lp-mobile-header-row > [data-column="start"] [data-items],
#header [data-device="mobile"] .lp-mobile-header-row > [data-column="end"] [data-items] {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	min-height: 0;
}

#header [data-device="mobile"] .lp-mobile-header-row > .ct-header-cta {
	flex: 0 1 auto;
	min-width: 0;
	display: block;
	margin: 0;
	padding: 0;
	align-self: center;
}

#header [data-device="mobile"] [data-row="middle"] {
	padding-top: 0;
	padding-bottom: 0;
}

#header [data-device="mobile"] [data-row="middle"] [data-column],
#header [data-device="mobile"] [data-row="middle"] [data-items] {
	min-height: 0 !important;
	height: auto !important;
}

#header [data-device="mobile"] .ct-header-cta .ct-button-ghost {
	font-size: 0.8125rem;
	padding: 0.25rem 0.35rem;
	white-space: nowrap;
	line-height: 1.2;
	max-width: 100%;
}

#header [data-device="mobile"] .site-branding {
	margin: 0;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
}

#header [data-device="mobile"] .site-branding .site-logo-container {
	display: flex;
	align-items: center;
	line-height: 0;
}

/* Blocksy has two logos — show only one at a time */
#header [data-device="mobile"] .site-branding .site-logo-container .sticky-logo {
	display: none !important;
}

#header [data-device="mobile"] [data-sticky*="yes"] .site-branding .site-logo-container .sticky-logo {
	display: block !important;
}

#header [data-device="mobile"] [data-sticky*="yes"] .site-branding .site-logo-container .default-logo {
	display: none !important;
}

#header [data-device="mobile"] .ct-header-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	min-height: 0;
	line-height: 1;
	flex-shrink: 0;
}

@media (max-width: 380px) {
	#header [data-device="mobile"] .lp-mobile-header-row {
		gap: 0.2rem;
	}

	#header [data-device="mobile"] .ct-header-cta .ct-button-ghost {
		font-size: 0.75rem;
		padding: 0.2rem 0.3rem;
	}
}
