/* Booklet HTML output: viewed on phones at the exhibition, not as a
   desktop reference book -- hide the book's chapter-navigation sidebar
   and top header bar entirely. Quarto's multi-column page grid
   otherwise still reserves track space for that sidebar even once it's
   hidden (its "floating" strategy doesn't reclaim the space), which is
   what shows up as blank space where the sidebar used to be -- so we
   drop the grid entirely and let content flow as one centered column
   at every screen width. */
#quarto-header,
#quarto-sidebar,
#quarto-sidebar-glass,
#quarto-margin-sidebar {
  display: none !important;
}

#quarto-content.page-columns {
  display: block !important;
}

#quarto-content.page-columns > main.content {
  max-width: 48em;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

body {
  padding-top: 0 !important;
}

/* Figure captions default to the theme's 90% size, which comes out
   around 15px against this site's 17px body text -- fine at arm's
   length on a laptop, a bit small held closer on a phone. Bump them
   back up to full body-text size on narrow screens only; the selector
   is scoped under main.content (rather than a bare .figure-caption)
   purely so it reliably outranks the theme's own same-specificity
   rule regardless of stylesheet load order. */
@media (max-width: 520px) {
  #quarto-content.page-columns > main.content figcaption,
  #quarto-content.page-columns > main.content .figure-caption {
    font-size: 1rem;
    line-height: 1.45;
  }
}
