.model-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .75rem;
  margin-block: .75rem 1rem;
}

.model-range a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .375rem .75rem;
  color: #005397;
  background: #fff;
  border: 1px solid #b5c7d0;
  border-radius: .25rem;
  font-size: .875rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.model-range a:hover,
.model-range a:focus-visible {
  border-color: currentColor;
  text-decoration: underline;
}

.model-range a[data-direction="previous"] {
  grid-column: 1;
  justify-self: start;
}

.model-range a[data-direction="next"] {
  grid-column: 2;
  justify-self: end;
  flex-direction: row-reverse;
}

.model-range-arrow { font-size: 1.125rem; }
.model-range[hidden], .model-range a[hidden] { display: none; }
