/**
 * Base — reset-ish foundation + element defaults.
 * Scoped lightly so Blocksy parent styles remain the framework.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--v-font-body);
  font-size: var(--v-text-base);
  font-weight: var(--v-font-weight-regular);
  line-height: var(--v-leading-normal);
  color: var(--v-color-text);
  background-color: var(--v-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--v-duration-fast) var(--v-ease-standard);
}

a:hover {
  color: var(--v-color-primary);
}

:focus-visible {
  outline: none;
  box-shadow: var(--v-shadow-focus);
}

.v-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.v-skip-link {
  position: absolute;
  left: var(--v-space-4);
  top: -100%;
  z-index: var(--v-z-max);
  padding: var(--v-space-3) var(--v-space-4);
  background: var(--v-color-primary);
  color: var(--v-color-on-primary);
  text-decoration: none;
}

.v-skip-link:focus {
  top: var(--v-space-4);
}
