/* Main parts page: one column grid and consistent spacing across every family. */
.v26-parts .v26-parts-intro h1 { max-width: 24ch; }

/* Match the navigation menu's light red hover fill on every category card. */
.v26-parts .v26-parts-catalog .parts-index-card {
  transition: background-color .24s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.v26-parts .v26-parts-catalog .parts-index-card:focus-visible {
  background-color: #e2cbc5;
}
.v26-parts .v26-parts-catalog .parts-index-card:focus-visible p {
  color: #51575d;
}
@media (hover: hover) and (pointer: fine) {
  .v26-parts .v26-parts-catalog .parts-index-card:hover {
    background-color: #e2cbc5;
  }
  .v26-parts .v26-parts-catalog .parts-index-card:hover p {
    color: #51575d;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v26-parts .v26-parts-catalog .parts-index-card { transition: none; }
}

.v26-parts .pn-dir { table-layout: fixed; }
.v26-parts .pn-col-number { width: 18%; }
.v26-parts .pn-col-description { width: 48%; }
.v26-parts .pn-col-category { width: 25%; }
.v26-parts .pn-col-quote { width: 9%; }

.v26-parts .pn-dir th,
.v26-parts .pn-dir td {
  padding: 14px;
  vertical-align: top;
}
.v26-parts .pn-dir th { white-space: normal; }
.v26-parts .pn-dir th:last-child,
.v26-parts .pn-dir td:last-child { text-align: right; }
.v26-parts .pn-dir .pn-dir__rfq {
  font-size: 12px;
  font-weight: 700;
}
.v26-parts .pn-dir td:nth-child(2),
.v26-parts .pn-dir td:nth-child(3) { overflow-wrap: break-word; }
.v26-parts .pn-tag {
  max-width: 100%;
  white-space: normal;
  line-height: 1.45;
}
.v26-parts .pn-dir__note {
  display: block;
  margin-top: 5px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.5;
}
.v26-parts .pn-dir-group + .pn-dir-group { margin-top: 32px; }
.v26-parts .pn-dir-group h3 { margin: 0 0 12px; }
.v26-parts #pn-directory-groups { margin-top: 26px; }
.v26-parts .pn-dir tbody tr:last-child td { border-bottom: 0; }
.v26-parts .pn-dir tbody tr:hover { background: #faf5f5; }
.v26-parts .pn-dir [hidden] { display: none !important; }

/* Keep records readable when four columns no longer fit comfortably. */
@media (max-width: 900px) {
  .v26-parts .pn-dir colgroup { display: none; }
  .v26-parts .pn-dir thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .v26-parts .pn-dir,
  .v26-parts .pn-dir tbody,
  .v26-parts .pn-dir tr,
  .v26-parts .pn-dir td {
    display: block;
    width: 100%;
  }
  .v26-parts .pn-dir tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .v26-parts .pn-dir tbody tr:last-child { border-bottom: 0; }
  .v26-parts .pn-dir td { min-width: 0; padding: 0; border: 0; }
  .v26-parts .pn-dir td:first-child { grid-column: 1; font-size: 15px; }
  .v26-parts .pn-dir td:nth-child(2),
  .v26-parts .pn-dir td:nth-child(3) { grid-column: 1 / -1; }
  .v26-parts .pn-dir td:nth-child(2) {
    color: var(--ink-900);
    font-size: 14px;
    font-weight: 400;
  }
  .v26-parts .pn-dir td:nth-child(3) {
    margin-top: 2px;
    color: var(--ink-700);
    font-size: 13px;
    overflow-wrap: break-word;
  }
  .v26-parts .pn-dir td:nth-child(4) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
}
