/* Shared site chrome — loaded after Bulma on every page */

/* Jost (SIL OFL), self-hosted variable fonts (wght axis 100-900), latin
   subset only — the site uses no characters outside it. The unicode-range
   keeps the italic file from downloading on pages without <em>. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/_assets/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/_assets/fonts/jost-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bulma-family-primary: 'Jost', system-ui, sans-serif;
  --bulma-family-secondary: 'Jost', system-ui, sans-serif;
}

html, body {
  font-family: 'Jost', system-ui, sans-serif;
  letter-spacing: 0.01em;
}

.navbar-brand .navbar-item {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar {
  border-bottom: 1px solid var(--bulma-border);
}

.navbar-item:hover {
  background: transparent !important;
  color: var(--bulma-text-strong) !important;
}

/* Keep stacked captioned figures apart: a caption (own image: mt-2, 8px)
   must not sit flush against the unrelated image below it */
.content figure.image:not(:first-child) {
  margin-top: 1.5rem;
}
