@layer base {
  :root {
    --breakpoint-sm: 600px;
    --breakpoint-md: 782px;
    --breakpoint-lg: 960px;
    --breakpoint-xl: 1280px;
  }

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

  html {
    scroll-behavior: smooth;
  }

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

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

  table {
    border-collapse: collapse;
  }

  img, video {
    block-size: auto;
    max-inline-size: 100%;
  }

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

  a {
    color: inherit;
  }
}

html:has(:modal[open]) {
  overflow: hidden;
}

.wp-site-blocks {
  overflow-x: clip;
}

ul, ol {
  padding-inline-start: 1.5em;
}

[type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="date"] {
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
  border: 1px solid var(--wp--preset--color--neutral-medium);
  background: var(--wp--preset--color--base);
  border-radius: 0;
}

textarea {
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
  border: 1px solid var(--wp--preset--color--neutral-medium);
  background: var(--wp--preset--color--base);
  field-sizing: content;
  border-radius: 0;
}

select {
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
  border: 1px solid var(--wp--preset--color--neutral-medium);
  background: var(--wp--preset--color--base);
  border-radius: 0;
}

[type="submit"] {
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--24);
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--16);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1.6;
}

[type="checkbox"] {
  aspect-ratio: 1;
  border: 1px solid var(--wp--preset--color--neutral-medium);
  background: var(--wp--preset--color--base);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 4px;
  width: 20px;
  margin: 0;
  display: block;
  position: relative;
}

[type="checkbox"]:after {
  content: "";
  background: none;
  position: absolute;
  inset: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

[type="checkbox"]:checked:after {
  background: var(--wp--preset--color--primary);
}

[type="radio"] {
  aspect-ratio: 1;
  border: 1px solid var(--wp--preset--color--neutral-medium);
  background: var(--wp--preset--color--base);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  width: 20px;
  margin: 0;
  display: block;
  position: relative;
}

[type="radio"]:after {
  content: "";
  aspect-ratio: 1;
  background: none;
  border-radius: 50%;
  width: 10px;
  margin: auto;
  position: absolute;
  inset: 0;
}

[type="radio"]:checked:after {
  background-color: var(--wp--preset--color--primary);
}

label:has([type="checkbox"], [type="radio"]) {
  align-items: center;
  gap: var(--wp--preset--spacing--8);
  display: flex;
}

.post-nav-links {
  align-items: center;
  gap: var(--wp--preset--spacing--8);
  flex-wrap: wrap;
  display: flex;
}

.post-nav-links .post-page-numbers {
  padding-inline: var(--wp--preset--spacing--8);
  display: block;
}

@layer animation {
  .a-fadein {
    opacity: 0;
    transition: opacity .6s;
  }

  .a-fadein.is-visible {
    opacity: 1;
  }

  .a-fadeup {
    opacity: 0;
    transition: opacity .6s, transform .6s;
    transform: translateY(2rem);
  }

  .a-fadeup.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .a-fadein, .a-fadeup {
      opacity: 1;
      transition: none;
      transform: none;
    }
  }
}

@media not all and (min-width: 600px) {
  .clay-mobile-padding-x-0 {
    padding-inline: 0 !important;
  }
}
