/* -------------------------------------------------
1.0 Reset
------------------------------------------------- */
html {
  scroll-behavior: smooth;
  overflow-wrap: break-word;
}

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

/* Add default focus style */
*:focus-visible {
  outline: 1px solid var(--primary-200);
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Make media easier to work with */
img,
picture,
video,
canvas,
svg {
  display: block;
}

img {
  width: 100%;
  height: 100%;
  object-position: var(--focus);
  object-fit: cover;
  /* opacity: 0; */
  overflow: hidden;
  transition: opacity 0.95s;
}

img.loaded {
  opacity: 1;
}

/* Inherit fonts for inputs and buttons */
input,
textarea,
select {
  font: inherit;
  width: 100%;
  padding: 0.5rem;
  border: none;
  background: unset;
  color: currentColor;
}

input[type="checkbox"] {
  width: fit-content;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid var(--gray-100);
  border-radius: 0;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--primary-400);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]::focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

button {
  font: inherit;
  padding: 0;
  cursor: pointer;
  border: none;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.screen-reader-text {
  visibility: hidden;
  position: fixed;
}

li:not(.wp-block-navigation-item) {
  /* list-style-position: inside; */
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}
li:not(.wp-block-navigation-item):last-child {
  margin-bottom: 0;
}
/* -------------------------------------------------
End Reset
------------------------------------------------- */
