/* The removed header image left an empty flex item distributing space on phones. */
.navbar > a.navbar-brand:first-child[href="#"] {
  display: none;
}

/* Bootstrap collapses this navbar below 992px; the restored toggle stopped at 767px. */
@media (min-width: 768px) and (max-width: 991.98px) {
  #navbarSupportedContent:target {
    display: block;
  }

  #navbarSupportedContent:target [data-restored-nav-close] {
    display: block !important;
    width: max-content;
    padding: 0.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
}

/* The standalone error page has no Bootstrap container and touched the screen edge. */
body > main {
  padding: 1rem 15px;
}
