/**
 * WordPress menu list semantics + layout bridge (keeps exported header flex behavior).
 */
ul.nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.nav-menu > li {
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 992px) {
	ul.nav-menu > li {
		display: contents;
	}
}

@media (max-width: 991px) {
	ul.nav-menu > li {
		display: block;
		width: 100%;
	}
}

.nav-dropdown-menu > .nav-dropdown-item {
	display: block;
}

/* Blog index: category tabs are real links, not JS panes */
.tabs-btn-wrap .tab-btn {
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

.projects-tab--no-tabs .tab-pane-wrap {
	margin-top: 0;
}

/**
 * Mobile nav: centered `.nav-menu-with-shape.g` is absolutely positioned and can span
 * past the viewport, sitting above the flex row and stealing taps from the burger.
 * Keep the trigger visible and clickable; let the menu panel keep pointer events.
 */
@media screen and (max-width: 991px) {
	.hamburger-trigger-wrap {
		display: flex;
		align-items: center;
		flex-shrink: 0;
		position: relative;
		z-index: 30;
	}

	.header-nav.w-nav .hamburger-trigger.w-nav-button {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.nav-menu-with-shape.g {
		pointer-events: none;
	}

	.nav-menu-with-shape.g .nav-offcanvas.w-nav-menu {
		pointer-events: auto;
	}

	/* If Lottie has not painted yet, keep a visible affordance */
	.hamburger-lottie-icon {
		min-width: 22px;
		min-height: 16px;
	}
}
