:root {
  font-family: var(--wp--preset--font-family--dgm);
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
}

*, :before, :after {
  box-sizing: border-box;
  interpolate-size: allow-keywords;

  &:focus-visible {
    outline: 3px solid var(--clr-brand);
    outline-offset: 3px;
  }
}

:target {
  scroll-margin-block-start: calc(var(--size-header, 0px) + 1em);
}

@media print {
  * {
    break-inside: avoid;
  }
}

body {
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  overflow-x: clip;
}

.dgm_requires-js {
  display: none;
}

img {
  max-width: 40vw;
  height: auto;
}

button {
  all: unset;
  text-align: center;
}

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

.dgm_use-vars {
  --bg-clr: var(--bg-clr-set);
  --bg-img: var(--bg-img-set);
  --text-clr: var(--text-clr-set);
  background-color: var(--bg-clr);
  background-image: var(--bg-img);
  color: var(--text-clr);
}

.dgm_DOM-removed, .dgm_DOM-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: -1px !important;
  display: none !important;
  position: absolute !important;
  top: -100% !important;
  left: -100% !important;
}

.dgm_invisible {
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
}

.grecaptcha-badge {
  visibility: hidden;
}
