
.ejmh2-toggle,
.ejmh2-overlay,
.ejmh2-drawer {
	display: none;
}

@media (max-width: 900px) {
	body.ejmh2-menu-open {
		overflow: hidden;
	}

	.ejmh2-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		margin-left: 8px;
		border: 0;
		border-radius: 12px;
		background: #f3f7f5;
		color: #24313b;
		font-size: 26px;
		line-height: 1;
		cursor: pointer;
		box-shadow: none;
	}

	.ejmh2-toggle:hover,
	.ejmh2-toggle:focus {
		background: #e8f1ec;
		color: #078943;
		outline: none;
	}

	.ejmh2-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99998;
		background: rgba(18, 29, 24, .52);
		opacity: 0;
		visibility: hidden;
		transition: opacity .22s ease, visibility .22s ease;
	}

	.ejmh2-overlay.is-open {
		opacity: 1;
		visibility: visible;
	}

	.ejmh2-drawer {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 99999;
		width: min(86vw, 360px);
		height: 100dvh;
		background: #fff;
		box-shadow: -18px 0 50px rgba(15, 31, 23, .18);
		transform: translateX(105%);
		transition: transform .24s ease;
		overflow-y: auto;
	}

	.ejmh2-drawer.is-open {
		transform: translateX(0);
	}

	.ejmh2-drawer-head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 20px 20px 16px;
		background: #fff;
		border-bottom: 1px solid #e4e9e6;
	}

	.ejmh2-drawer-head strong {
		font-size: 20px;
		color: #24313b;
	}

	.ejmh2-close {
		width: 42px;
		height: 42px;
		border: 0;
		border-radius: 50%;
		background: #f3f7f5;
		color: #24313b;
		font-size: 30px;
		line-height: 1;
		cursor: pointer;
	}

	.ejmh2-nav {
		padding: 14px 20px 28px;
	}

	.ejmh2-menu,
	.ejmh2-menu ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.ejmh2-menu li {
		list-style: none;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #edf1ef;
	}

	.ejmh2-menu a {
		display: block;
		padding: 15px 4px;
		color: #24313b;
		text-decoration: none;
		font-size: 17px;
		font-weight: 700;
	}

	.ejmh2-menu a:hover,
	.ejmh2-menu a:focus {
		color: #078943;
	}

	.ejmh2-menu .sub-menu {
		padding-left: 16px;
	}

	.ejmh2-menu .sub-menu a {
		font-size: 15px;
		font-weight: 600;
		padding: 11px 4px;
	}

	.ejmh2-account-block {
		display: grid;
		gap: 12px;
		margin-top: 22px;
		padding-top: 20px;
		border-top: 1px solid #e4e9e6;
	}

	.ejmh2-account,
	.ejmh2-post {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 50px;
		border-radius: 999px;
		text-decoration: none;
		font-weight: 800;
	}

	.ejmh2-account {
		border: 2px solid #078943;
		color: #078943;
		background: #fff;
	}

	.ejmh2-post {
		border: 2px solid #078943;
		color: #fff;
		background: #078943;
	}

	/* Reduce the existing Post an Ad button slightly so the hamburger fits. */
	.ej-post-ad,
	.ej-post,
	.site-header .button,
	header .ej-post-ad {
		min-height: 42px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		font-size: 14px !important;
	}

	/* Hide any broken or duplicate theme mobile trigger. */
	.ej-menu-toggle {
		display: none !important;
	}
}

@media (max-width: 480px) {
	.ejmh2-toggle {
		width: 42px;
		height: 42px;
		font-size: 24px;
	}

	.ej-post-ad,
	.ej-post,
	header .ej-post-ad {
		padding-left: 13px !important;
		padding-right: 13px !important;
		font-size: 13px !important;
	}
}
