/* fuzzyclust docs: the visual identity of the book (book/cover/brand.tex)
   Raleway headings, IBM Plex Mono code, Pannon blue structure color and the
   Okabe-Ito triple of the logo. */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@600;700;800;900&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --pst-font-family-heading: "Raleway", var(--pst-font-family-base-system);
  --pst-font-family-monospace: "IBM Plex Mono", var(--pst-font-family-monospace-system);
  --fc-navy: #14304a;
  --fc-brand: #285780;
  --fc-verm: #d55e00;
  --fc-green: #009e73;
}
html[data-theme="light"] {
  --pst-color-primary: #285780;
  --pst-color-secondary: #d55e00;
  --pst-color-link: #285780;
  --pst-color-link-hover: #d55e00;
  --pst-color-inline-code: #1f2a36;
  --pst-color-inline-code-links: #285780;
}
html[data-theme="dark"] {
  --pst-color-primary: #9cc3e6;
  --pst-color-secondary: #f0a060;
  --pst-color-link: #9cc3e6;
  --pst-color-link-hover: #f0a060;
  --pst-color-inline-code: #dbe4ee;
  --pst-color-background: #10202f;
  --pst-color-on-background: #14304a;
  --pst-color-surface: #14304a;
}

h1, h2, h3, h4, .bd-header .navbar-brand { font-weight: 800; letter-spacing: -0.005em; }
h1 { font-weight: 900; }
.bd-header .navbar-brand .title { font-family: "Raleway", sans-serif; font-weight: 800; }

/* short vermilion rule under page titles, as in the book's chapter openers */
.bd-article h1::after {
  content: ""; display: block; width: 3.2rem; height: 3px;
  margin-top: 0.45rem; background: var(--fc-verm);
}

/* code blocks: light tint, colored left rule */
div.highlight pre { border-left: 3px solid var(--pst-color-primary); border-radius: 2px; }

/* gallery thumbnails and cards */
.sphx-glr-thumbcontainer { border-radius: 4px; }
.sd-card { border-left: 3px solid var(--pst-color-primary); border-radius: 3px; }
.sd-card .sd-card-title { font-family: "Raleway", sans-serif; font-weight: 700; }
div.sphx-glr-download { margin-top: 1em; }
table.autosummary td:first-child { white-space: nowrap; }
.bd-sidebar-primary { font-size: 0.92rem; }

/* banner on the landing page */
img.fc-banner { width: 100%; border-radius: 4px; margin: 0.4rem 0 1.4rem; }
