/*
 * WP Nav Label 0.1.2
 *
 * Every rule sits inside the mobile breakpoint (Astra's 921px). Nothing here
 * can match at desktop widths, which is what keeps the desktop header geometry
 * byte-for-byte identical to the state before this plugin was active.
 *
 * Layout contract on mobile:
 *  - the toggle keeps the theme's own padding and 20px icon, we only add the
 *    label as a second flex item, so the header height does not change;
 *  - the label never wraps and the touch target stays at least 44x44;
 *  - 0.1.2: the toggle's right padding is zeroed so the label's right edge sits
 *    on the button's right edge (= container right inset, 20px). Before this the
 *    theme's ~11.2px right padding pushed the label ~11.2px further left, which
 *    read as "too far from the edge" on 922 / 921 / 390.
 */

@media (max-width: 922px) {
	.site-header .ast-button-wrap .menu-toggle.main-header-menu-toggle {
		display: inline-flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 6px;
		box-sizing: border-box;
		min-width: 44px;
		min-height: 44px;
		white-space: nowrap;
		padding-right: 0;
	}

	.site-header .ast-button-wrap .menu-toggle.main-header-menu-toggle::after {
		content: "菜单";
		display: inline-block;
		font-family: inherit;
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
		letter-spacing: 0;
		color: inherit;
		white-space: nowrap;
	}

	.wnl-locale-en .site-header .ast-button-wrap .menu-toggle.main-header-menu-toggle::after {
		content: "Menu";
	}
}
