/* Flying Circus manual overrides for the zensical/Material theme.
 *
 * The previous version of this file was a Furo/Sphinx relic: it referenced
 * Furo CSS variables (--color-headings, --color-brand-content,
 * --color-highlight-on-target) and Furo layout classes (.toctree-l1,
 * .sidebar-logo, .sidebar-container) that do not exist in the Material
 * theme, and imported a font stylesheet from flyingcircus.io that returns
 * 404. All of it was dead CSS. What survives:
 *
 *   - the square list markers (Material defaults to disc),
 *   - the Fira Sans / Roboto Mono typefaces, now SELF-HOSTED: zensical.toml
 *     sets font = false, which suppresses the Google Fonts <link> and the
 *     theme's --md-text-font/--md-code-font <style> (base.html); the
 *     @font-face declarations below and the :root variables restore the
 *     same typefaces from the vendored woff2 files in _static/fonts/.
 */

@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-wght-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fira Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fira-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-wght-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Mono";
  font-style: italic;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/roboto-mono-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --md-text-font: "Fira Sans";
  --md-code-font: "Roboto Mono";
}

ul,
ul ul {
  list-style-type: square;
}

/* Image zoom previews: zoomable content images render as compact inline
 * previews (24em); clicking opens the full-size image in the lightbox,
 * which stays sharp because it never upscales beyond natural size. The
 * decorative {.logo} thumbnails and off-glb images sit in no glightbox
 * anchor and keep their size. Cursor hints at the zoom affordance.
 */
.md-typeset a.glightbox {
  cursor: zoom-in;
}

.md-typeset a.glightbox > img {
  max-width: 24em;
}
