:is(#votes, #example) {
  scroll-margin-block-start: 1rem;
}

:is([aria-labelledby="votes"], [aria-labelledby="example"]) .adapt-table :is(th, td) {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}

@media (min-width: 601px) {
  :is([aria-labelledby="votes"], [aria-labelledby="example"]) .adapt-table table {
    table-layout: fixed;
  }

  :is([aria-labelledby="votes"], [aria-labelledby="example"]) .adapt-table th:first-child {
    width: 25%;
  }
}

@media (min-width: 641px) and (min-height: 601px) {
  :is(#votes, #example) {
    scroll-margin-block-start: 12rem;
  }
}

@media (max-height: 600px) {
  .site-header {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(:is(#votes, #example):target) {
    scroll-behavior: auto;
  }
}
