<style>
  .related-models {
    margin-top: 2rem;
  }

  .related-models__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
  }

  .related-models__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .related-models__item {
    margin: 0;
    list-style: none;
  }

  .related-models__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 600;
    color: var(--body-fg);
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .related-models__link:hover,
  .related-models__link:focus {
    color: var(--link-fg);
    border-color: var(--link-fg);
    outline: none;
  }

  .related-models__relation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    padding: 0.12rem 0.45rem;
    border-radius: 9999px;
    background-color: var(--link-fg);
    color: var(--header-bg);
    font-size: 0.8rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }

  .related-models__label {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }
</style>
