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

body.np {
  margin: 0;
  font-family: var(--np-font);
  font-weight: 400;
  color: var(--np-text);
  background: var(--np-white);
  -webkit-font-smoothing: antialiased;
}

body.np img { max-width: 100%; height: auto; display: block; }

.np-wrap {
  width: min(100% - var(--np-s3) * 2, var(--np-wrap));
  margin-inline: auto;
}

/* Hidden by clipping, not by being pushed off the edge. In RTL an
   inset-inline-start of -9999px lands the box 10,000px to the RIGHT of the
   viewport, which is real horizontal overflow on every page. */
.np-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.np-skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  inset-inline-start: var(--np-s2);
  top: var(--np-s2);
  z-index: 100;
  background: var(--np-white);
  color: var(--np-primary);
  padding: var(--np-s1) var(--np-s2);
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow);
}

:focus-visible {
  outline: 2px solid var(--np-primary);
  outline-offset: 3px;
}
