/* ========================================================================
   Kasi Economic Warriors (KEW)
   Public Website Front-End
   File: assets/css/reset.css

   Purpose:
   Lightweight browser normalisation only. This file removes inconsistent
   browser defaults without introducing page styling, brand colours or
   component behaviour. Visual styling belongs in the later CSS layers.
   ======================================================================== */

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

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

html:focus-within {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

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

img,
picture,
video {
  height: auto;
}

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

button,
input,
select,
textarea {
  margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button,
select {
  text-transform: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

:where(dialog) {
  margin: auto;
}

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

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