/*
 * Small global additions that theme.json cannot express.
 * Loaded on the front end and in the editor. Keep it tiny: tokens live in theme.json.
 */

/* Keyboard focus that is visible on any background. */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Images never overflow their container. */
img {
	max-width: 100%;
	height: auto;
}

/* Visually hidden helper for accessible labels. */
.alapdesign-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
