/* Scoped to the restored directories; the legacy archive keeps its layout. */
body.category-page {
  margin: 0;
  background: #fff;
  color: #172638;
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.category-page * { box-sizing: border-box; }
.category-page a { color: #164d88; text-underline-offset: 3px; }
.category-page a:hover { color: #9c2434; }
.category-page a:focus-visible { outline: 3px solid #ab3043; outline-offset: 4px; }
.category-page .site-header, .category-page main, .category-page .site-footer {
  max-width: 1024px;
  margin: auto;
  padding: 24px;
}
.category-page .site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 3px solid #a3293e;
}
.category-page .site-name { font-size: 22px; font-weight: 750; text-decoration: none; color: #172638; }
.category-page .site-header nav { display: flex; flex-wrap: wrap; gap: 24px; }
.category-page .breadcrumbs { font-size: 14px; margin: 4px 0 32px; color: #526071; }
.category-page .eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 750; color: #922439; }
.category-page h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 20px; max-width: 850px; }
.category-page h2 { font-size: 21px; margin: 0 0 16px; }
.category-page h3 { font-size: 17px; margin: 0 0 12px; scroll-margin-top: 20px; }
.category-page .introduction { max-width: 780px; font-size: 18px; }
.category-page .coverage { margin: 24px 0 8px; }
.category-page .coverage-note { color: #526071; max-width: 800px; font-size: 14px; }
.category-page .model-shortcuts { padding: 24px; background: #f2f5f8; margin: 32px 0; border-radius: 0; }
.category-page .model-shortcuts ul, .category-page .related-categories ul {
  display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0;
}
.category-page .model-shortcuts li { max-width: 100%; overflow-wrap: anywhere; }
.category-page .model-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.category-page .model-group { padding: 20px; border: 1px solid #d6dfe8; border-radius: 0; }
.category-page .year-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.category-page .year-links a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d6dfe8; border-radius: 0; text-decoration: none; font-weight: 600; }
.category-page .year-links a:hover { background: #f2f5f8; border-color: #164d88; }
.category-page .partial-data { font-size: 11px; color: #795100; background: #fff2cd; padding: 2px 5px; border-radius: 0; }
.category-page .related-categories { margin-top: 40px; padding-top: 28px; border-top: 1px solid #d6dfe8; }
.category-page .site-footer { color: #526071; font-size: 14px; padding-top: 36px; padding-bottom: 36px; }
.category-page .skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 12px; }
.category-page .skip-link:focus { top: 12px; }
@media (max-width: 640px) {
  .category-page .model-groups { grid-template-columns: 1fr; }
  .category-page .site-header, .category-page main, .category-page .site-footer { padding: 20px 16px; }
  .category-page .model-shortcuts { padding: 20px; }
  .category-page .model-group { padding: 16px; }
}
