/* Branding only; the full wordmark remains on the home and settings pages. */
.index .ap-brand { text-align: center; margin: 0 auto 1.5rem; }
.index .ap-brand h1 { margin: 0; visibility: visible; background: none; height: auto; }
.index .ap-brand img { width: min(78vw, 30rem); height: auto; }
body.results_endpoint #search_header { padding-top: 1rem !important; }
body.results_endpoint #search_logo {
  display: flex !important;
  position: static !important;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 3rem;
  height: 44px;
  margin: 0;
  padding: 0;
}
body.results_endpoint #search_logo img { display: block; width: 44px; height: 44px; }
body.results_endpoint #search_view { min-width: 0; }
main.page_with_header img.logo { width: min(70vw, 24rem) !important; max-width: 100%; height: auto !important; }
@media (max-width: 50em) {
  body.results_endpoint #search_header {
    box-sizing: border-box;
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas: "logo search" "categories categories";
    padding: .75rem .5rem 0 !important;
  }
  body.results_endpoint #search_view { margin-inline-end: 2.5rem; }
  body.results_endpoint .search_box { width: 100%; }
}

.ap-token-help { text-align: center; max-width: 38rem; margin: 0 auto 1rem; }
