/* HRPS Menu — small tweaks layered on top of the reused Groovy CSS. */

/* SVG icon mode: match the size/colour of the original icon-font glyphs. */
.gm-menu-item__icon.hrps-svg-icon { display:inline-flex; align-items:center; }
.gm-menu-item__icon.hrps-svg-icon svg { width:1em; height:1em; fill:currentColor; }

/* -------------------------------------------------------------------------
 * Mobile drawer (slider style): when a submenu is open, show ONLY that
 * submenu. The original slider leaves the sibling items in flow, so the
 * parent list bleeds through the sliding panel (visible as overlapping text).
 * Hiding the non-open siblings gives the intended clean "drill-in" look.
 * ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.gm-navigation-drawer .gm-dropdown-menu-wrapper { background: #fff; }

	.gm-navigation-drawer .gm-navbar-nav:has(> .gm-menu-item.gm-open) > .gm-menu-item:not(.gm-open),
	.gm-navigation-drawer .gm-dropdown-menu:has(> .gm-menu-item.gm-open) > .gm-menu-item:not(.gm-open) {
		display: none;
	}
}
