/* Site-wide mainpage header (outside .hcjm-mainpage) */

body.hcjm-site-header-active .site-content,
body.hcjm-site-header-active #content,
body.hcjm-site-header-active .ast-separate-container .ast-article-single,
body.hcjm-site-header-active .ast-separate-container .ast-article-post {
	padding-top: 0;
}

.hcjm-site-header {
	width: 100%;
	max-width: 100%;
	position: relative;
	z-index: var(--hcjm-z-header, 1000);
	background: #fff;
}

.hcjm-site-header:has(.is-header-dark) {
	background: #0f1024;
}

.hcjm-site-header .hcjm-header-mobile,
.hcjm-site-header .hcjm-header-desktop {
	width: 100%;
	max-width: 100%;
}

@media (min-width: 1024px) {
	body.hcjm-site-header-active .hcjm-site-header .hcjm-header-desktop.is-sticky {
		position: sticky;
		top: 0;
	}
}

@media (max-width: 1023px) {
	.hcjm-site-header .hcjm-header-mobile {
		border-bottom: 1px solid rgba(15, 16, 36, 0.08);
	}
	body.hcjm-floating-menu-trigger .hcjm-site-header {
		border-bottom: none;
		background: transparent;
	}
}
