/*
 * Reset moderno do tema.
 *
 * Responsabilidade: normalizar comportamentos basicos do navegador sem
 * implementar estilos de componentes.
 */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	margin: 0;
	text-rendering: optimizelegibility;
}

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

iframe {
	max-width: 100%;
}

table {
	width: 100%;
	border-collapse: collapse;
}

:where(ul, ol):not([class]) {
	padding-inline-start: 1.25em;
}

:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) {
	margin-block-start: 0;
}

:where(a) {
	color: inherit;
}

:where(:focus-visible) {
	outline: 3px solid var(--rnen-color-focus);
	outline-offset: 3px;
}

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

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