/*
 * GRZ Gaming — small utilities.
 *
 * Only utilities the header and footer actually consume. This is not a utility
 * framework and must not grow into one.
 */

/*
 * Responsive label: clipped like screen-reader-text below the navigation
 * breakpoint, visible text above it (see responsive.css). It lets one control
 * carry exactly one accessible name at every width instead of pairing an
 * icon-only link with a second, redundant text link.
 */
.grz-label-md {
	white-space: nowrap;
}

/* Locks background scrolling while the off-canvas panel is open. */
body.grz-nav-is-open {
	overflow: hidden;
}

/*
 * Windows High Contrast / forced-colors: the brand wordmark paints its glyphs
 * with a clipped gradient, which forced-colors mode discards, leaving invisible
 * text. Restore a system colour there.
 */
@media (forced-colors: active) {
	.grz-brand__lead {
		background: none;
		color: CanvasText;
		-webkit-text-fill-color: CanvasText;
	}

	.grz-icon svg {
		stroke: CanvasText;
	}
}
