/* Adapt Quarto's document wrappers to the existing Hermit layout.
   hermit.css is the unchanged compiled stylesheet from the Hugo homepage;
   its original license is retained in HERMIT-LICENSE.txt. */
body { margin: 0; }
main#quarto-document-content { width: 93%; max-width: 720px; margin: 60px auto 0; }
header#title-block-header { margin-bottom: 2rem; }
h1.title { line-height: 1.3; }
main p a, main li a { box-shadow: inset 0 -4px 0 hsl(172,99%,26%); }
main img { max-width: 100%; height: auto; }
main iframe { max-width: 100%; border: 0; }
main table { table-layout: fixed; }
main table td { border: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
body.home #site-header, body.home #title-block-header { display: none; }
body.home main#quarto-document-content { max-width: none; width: 100%; margin: 0; }
body.home #spotlight { min-height: calc(100svh - 90px); }
body.home #site-footer { margin: 0 1rem 1rem; font-size: .9rem; opacity: .6; }
body.home #site-footer p:last-child { display: none; }
.posts-list a { box-shadow: none; }
@media (max-width: 760px) {
  .hdr-wrapper { flex-wrap: wrap; justify-content: center; gap: .4rem; font-size: 1rem; }
  .hdr-left { text-align: center; }
  .hdr-wrapper .site-branding { display: block; margin: 0; }
  .hdr-wrapper .site-nav { display: flex; justify-content: center; gap: 1rem; }
  .hdr-wrapper .site-nav a { margin: 0; }
  #site-header .hdr-social { display: none; }
  main#quarto-document-content { margin-top: 2rem; }
  #site-footer { margin-bottom: 130px; }
  main table, main tbody, main tr, main td { display: block; width: 100%; box-sizing: border-box; }
  #home-title { font-size: 2rem; }
  #home-subtitle { max-width: 30rem; padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
