/**
 * Minimal reset.
 *
 * Only what a custom theme actually needs: predictable box sizing, media that cannot
 * overflow, form controls that inherit type, and no motion for visitors who ask for none.
 * WordPress core styles are not reset wholesale - fighting them creates more work than it
 * saves.
 */

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

body {
	margin: 0;
}

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

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

/* Headings and paragraphs carry spacing from the layout, not from defaults. */
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	margin: 0;
}

/* The brand system uses borders and background changes instead of shadows. */
* {
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important; /* Compatibility: some plugins animate inline. */
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
