/* Quarto's book `cover-image:` setting auto-injects a native cover image right
   after the Preface heading (class quarto-cover-image). The cover needs to sit
   above the Preface heading instead, so index.md places its own image before
   the heading (class book-cover-banner) and the native one is hidden here to
   avoid a duplicate. cover-image: stays set in _quarto.yml for the OG/Twitter
   meta tags, which read the file path directly and do not render this class. */
.quarto-cover-image {
  display: none !important;
}

.book-cover-banner {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 0 1.5rem 0;
}

/* Byline injected below the GitHub icon in the docked sidebar header, via
   assets/sidebar-byline.html (include-after-body). Quarto's sidebar template
   has no built-in slot for this, so the text is added in JS after the sidebar
   renders and styled here to match the sidebar's own muted, small text. */
.sidebar-byline {
  margin-top: 0.35rem;
  font-size: 0.925rem;
  color: #545555;
}

#quarto-sidebar .sidebar-byline a,
#quarto-sidebar .sidebar-byline a:visited {
  color: inherit;
  text-decoration: none;
}

#quarto-sidebar .sidebar-byline a:hover {
  text-decoration: underline;
}
