.bio-category-page .catalog-category-hero {
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--bio-color-border, #dce3e8);
  background: var(--bio-color-background, #f4f7f9);
}

.bio-category-page .catalog-category-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
  color: var(--bio-color-text-secondary, #354152);
  font-size: .86rem;
}

.bio-category-page .catalog-category-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bio-category-page .catalog-category-nav a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--bio-color-border, #dce3e8);
  border-radius: var(--bio-radius-small, 6px);
  color: var(--bio-color-ink, #0b1420);
  background: var(--bio-color-surface, #fff);
  font-size: .8rem;
  line-height: 1.35;
  text-decoration: none;
}

.bio-category-page .catalog-category-nav a[aria-current="page"] {
  border-color: var(--bio-color-action, #2563d9);
  color: #fff;
  background: var(--bio-color-action, #2563d9);
}

.bio-category-page .catalog-record-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bio-category-page .catalog-record {
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--bio-color-border, #dce3e8);
  color: inherit;
  background: var(--bio-color-surface, #fff);
  text-decoration: none;
}

.bio-category-page .catalog-record:hover {
  border-color: var(--bio-color-action, #2563d9);
}

.bio-category-page .catalog-record:focus-visible {
  outline: 3px solid var(--bio-color-focus-ring, #66c9d8);
  outline-offset: 3px;
}

.bio-category-page .catalog-record__code {
  display: block;
  margin: 0;
  font-family: var(--bio-font-mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 1.2rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bio-category-page .catalog-record__name {
  min-height: 2.8em;
  margin: 12px 0 18px;
  color: var(--bio-color-text-secondary, #354152);
  font-size: .86rem;
  line-height: 1.45;
}

.bio-category-page .catalog-record__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.bio-category-page .catalog-record__document {
  color: var(--bio-color-text-secondary, #354152);
  font-size: .76rem;
  line-height: 1.4;
}

.bio-category-page .catalog-record__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bio-color-action, #2563d9);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}

.bio-category-page .catalog-category-note {
  max-width: 76ch;
  margin: 32px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--bio-color-action, #2563d9);
  color: var(--bio-color-text-secondary, #354152);
  font-size: .88rem;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .bio-category-page .catalog-record-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bio-category-page .bio-breadcrumb a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .bio-category-page .catalog-record-list {
    grid-template-columns: 1fr;
  }

  .bio-category-page .catalog-record {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-category-page .catalog-record {
    transition: none;
  }
}
