/* Shared navigation: desktop uses the theme header; mobile uses the menu opened by site-nav.js. */
.site-mobile-nav {
	display: none;
}

.site-mobile-header {
	display: none;
}

@media (max-width: 1024px) {
	.whb-header {
		display: none !important;
	}

	.site-mobile-header {
		display: flex;
		position: relative;
		z-index: 1000;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 60px;
		padding: 0 20px;
		background: #fff;
		box-shadow: 0 1px 8px rgba(0, 0, 0, .12);
	}

	.mobile-site-title {
		font-size: 16px;
		font-weight: 700;
		line-height: 1;
		color: #000;
		white-space: nowrap;
	}

	.site-mobile-trigger {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 8px 0;
		border: 0;
		background: transparent;
		font-size: 16px;
		line-height: 1;
		color: #333;
		cursor: pointer;
	}

	.site-mobile-icon {
		font-size: 28px;
		line-height: .7;
	}

	.wd-header-main-nav {
		display: none !important;
	}

	.site-mobile-nav {
		position: fixed;
		top: 60px;
		left: 0;
		right: 0;
		z-index: 99999;
		max-height: calc(100vh - 60px);
		overflow-y: auto;
		background: #fff;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	}

	.site-mobile-nav.is-open {
		display: block;
	}

	.site-mobile-nav ul.wd-nav-main {
		display: block !important;
		margin: 0;
		padding: 12px 20px 18px;
	}

	.site-mobile-nav ul.wd-nav-main > li {
		display: block !important;
		width: 100%;
		margin: 0;
	}

	.site-mobile-nav ul.wd-nav-main > li > a {
		display: block;
		padding: 14px 8px;
		font-size: 18px;
		line-height: 1.3;
		color: #000;
		white-space: normal;
	}
}
