/**
 * PharmZu — base styles
 *
 * Design tokens live in theme.json.
 * This file covers foundations theme.json cannot express.
 *
 * Architecture:
 *   assets/css/base.css        Foundations (this file)
 *   assets/css/components.css  Global components (Phase 1+)
 *   assets/css/utilities.css   Helpers (as needed)
 *   assets/css/editor.css      Site Editor / block editor canvas
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

.wp-block-site-logo img,
.custom-logo {
	width: auto;
	height: auto;
	max-width: none;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

:focus:not(:focus-visible) {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
