/* Keep catalogue entry, results and exact model links legible with or without JS. */
#catalog-filters,
#retail-results,
#fc-matches {
  scroll-margin-block-start: 5rem;
}
.catalog-filters-skip {
  display: inline-flex;
  min-block-size: 44px;
  align-items: center;
  justify-content: center;
}
.mixer-model__target {
  scroll-margin-block-start: 6rem;
}
.mixer-model:has(.mixer-model__target:target) {
  background-color: #23323c;
  border-inline-start: 3px solid var(--rkd-link, #e5ad91);
}
.mixer-model__target:target {
  color: var(--rkd-link, #e5ad91);
}

@media (max-width: 680px) {
  /* The model name remains visible while a wide specification is panned. */
  body[data-riteko-presentation] main .rkb.catalog-brochure .rkb-scroll :is(thead th:first-child, th[scope="row"]) {
    min-inline-size: 8rem;
  }
  body[data-riteko-presentation] main .rkb.catalog-brochure .rkb-scroll tbody th:has(.rkb-row-more[open]) {
    position: static;
    min-inline-size: min(66vw, 20rem);
  }
  /* Keep the four reference rows readable, not squeezed into three very narrow cells. */
  body[data-riteko-presentation] main .spares-compare .rkb-scroll table {
    min-inline-size: 29rem;
  }
  body[data-riteko-presentation] main .spares-compare .rkb-scroll :is(th,td) {
    overflow-wrap: normal;
    hyphens: none;
  }
  body[data-riteko-presentation] main .spares-compare .rkb-scroll td:last-child {
    min-inline-size: 12rem;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  body[data-riteko-presentation] main .rkb.catalog-brochure .rkb-scroll thead th:not(:first-child):not(.rkb-prose) {
    min-inline-size: 7rem;
    overflow-wrap: normal;
    hyphens: auto;
  }
}
