/* Keep the original theme; fix its overflow and add static-site components. */
:root { --blue: #3ea9f5; --pink: #f49ac1; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.wrapper { width: 100%; box-sizing: border-box; flex: 1; padding-bottom: 4em; }
.section h1 { width: 100vw; max-width: 25em; overflow-wrap: anywhere; }
.section:has(> a:only-child) h1 { height: 3em; }
.navigation { display: flow-root; }
.content { display: flow-root; overflow-wrap: anywhere; line-height: 1.55; }
.content p { margin: 0 0 1em; }
.content p:last-child { margin-bottom: 0; }
.content iframe { max-width: 100%; border: 0; }
.video-container iframe { border: 0; }
.content .video-container { margin-bottom: 1em; }
.content img.alignright { float: right; max-width: 45%; margin: 0 0 1em 1em; }
.content img.alignleft { float: left; max-width: 45%; margin: 0 1em 1em 0; }
.content img.aligncenter { display: block; margin: 1em auto; max-width: 100%; width: auto; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1em; }
.gallery p { display: contents; }
.gallery img { display: block; object-fit: contain; }
.faq { padding: 1em 0; border-bottom: 1px solid #ddd; }
.faq summary { cursor: pointer; font-weight: bold; color: #1673b3; }
.faq[open] summary { margin-bottom: .75em; }
.faq-permalink { font-size: .85em; }
.contact-form { display: grid; gap: .6em; }
.contact-form input, .contact-form textarea { box-sizing: border-box; width: 100%; padding: .75em; font: inherit; border: 1px solid #777; }
.contact-form button { justify-self: start; padding: .7em 2em; background: var(--blue); color: #fff; border: 0; font: inherit; cursor: pointer; }
.header ul ul { max-height: none; }
.header li:focus-within > ul { visibility: visible; }
.header a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #222; outline-offset: -3px; }
.skip-link { position: fixed; top: -5em; left: 1em; z-index: 2000; padding: 1em; background: white; color: #111; }
.skip-link:focus { top: 0; }
@media (max-width: 42em) {
  .header { height: auto; min-height: 4em; }
  #mobile { display: block; height: 4em; }
  #mobile .site-title { display: table-cell; height: 2.6em; vertical-align: middle; padding-left: .4em; font-size: 1.5em; }
  #box { box-sizing: content-box; border: 0; background: transparent; cursor: pointer; }
  #box span { display: block; width: 3em; height: .5em; border-radius: .1em; margin: .1em 0 .5em; background: #fff; }
  .header #menu.is-open { display: block; max-height: calc(100dvh - 4em); overflow-y: auto; }
  .header ul { top: auto; max-height: none; min-width: 0; white-space: normal; }
  .header li a { box-sizing: border-box; }
  .header #menu .sub-menu { position: static; display: block; visibility: visible; box-shadow: none; }
  .header #menu .sub-menu li { display: inline-block; width: 49%; }
  .header #menu .sub-menu a { font-size: 1em; }
  .section h1 { font-size: 1.7em; }
  .content img.alignright, .content img.alignleft { float: none; display: block; max-width: 100%; width: auto; margin: 1em auto; }
}
