/* Bonumark Publishing public base layer. Theme styles provide the visual design. */
:root {
  --bonumark-public-bg: #ffffff;
  --bonumark-public-text: #171717;
  --bonumark-public-muted: #646464;
  --bonumark-public-line: #d7d7cf;
  --bonumark-public-accent: #0d67c6;
  --bonumark-public-font: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 0; overflow-x: hidden; }

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bonumark-public-bg);
  color: var(--bonumark-public-text);
  font-family: var(--bonumark-public-font);
  line-height: 1.65;
}

a {
  color: var(--bonumark-public-accent);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible { color: var(--bonumark-public-text); }

img,
video,
iframe,
svg { max-width: 100%; }

img,
video { height: auto; }

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

pre,
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

pre { overflow-x: auto; }

table { border-collapse: collapse; }

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.screen-reader-text:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  overflow: visible;
  background: #ffffff;
  color: var(--bonumark-public-text);
  border: 1px solid var(--bonumark-public-line);
}

.markdown-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
