/* Technical tables and section rhythm on the Goulds 3180 pages. */
.p3180 #materials .p3180-heading {
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.p3180 #materials .p3180-oem-data {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}
.p3180 .p3180-oem-panel {
  min-width: 0;
  padding: clamp(14px, 2.1vw, 24px);
  border: 1px solid #d6e3eb;
  border-radius: 12px;
  background: #f5f8fa;
}
.p3180 .p3180-oem-panel h3,
.p3180 .p3180-supply-panel h3,
.p3180 .p3180-design-note h3 {
  margin: 0 0 12px;
}
.p3180 .p3180-oem-panel .p3180-note {
  margin: 12px 0 0;
  color: #40596b;
}
.p3180 .p3180-oem-panel .p3180-note + .p3180-table-scroll { margin-top: 12px; }

.p3180 .p3180-table-scroll {
  max-height: min(470px, 64vh);
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: auto;
  border: 1px solid #cbdbe5;
  border-radius: 8px;
}
.p3180 .p3180-table-scroll:focus-visible {
  outline: 3px solid #0875b5;
  outline-offset: 3px;
}
.p3180 .p3180-table-scroll > table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.p3180 .p3180-table-scroll > .p3180-table { min-width: 960px; }
.p3180 .p3180-table-scroll > .p3180-material-table { table-layout: fixed; }
.p3180 .p3180-moc-table { min-width: 890px; }
.p3180 .p3180-construction-table { min-width: 805px; }
.p3180 .p3180-table-scroll > table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  background: #133b55;
  color: #fff;
  vertical-align: middle;
  line-height: 1.35;
  box-shadow: inset 0 -1px #285872;
}
.p3180 .p3180-table-scroll > table tbody :is(td, th) {
  width: auto;
  padding: 9px 12px;
  border-bottom: 1px solid #dae5ed;
  line-height: 1.45;
}
.p3180 .p3180-table-scroll > table tbody tr:nth-child(odd) { background: #fff; }
.p3180 .p3180-table-scroll > table tbody tr:nth-child(even) { background: #f3f7fa; }
.p3180 .p3180-table-scroll > table tbody tr:hover { background: #e9f3fa; }
.p3180 .p3180-table-scroll > table tbody tr:last-child :is(td, th) { border-bottom: 0; }
.p3180 .p3180-moc-table col:first-child { width: 7%; }
.p3180 .p3180-moc-table col:nth-child(2) { width: 25%; }
.p3180 .p3180-moc-table col:nth-child(3) { width: 13%; }
.p3180 .p3180-moc-table col:nth-child(4) { width: 19%; }
.p3180 .p3180-moc-table col:nth-child(5) { width: 14%; }
.p3180 .p3180-moc-table col:nth-child(n+6) { width: 11%; }
.p3180 .p3180-construction-table col:first-child { width: 19%; }
.p3180 .p3180-construction-table col:nth-child(2) { width: 25%; }
.p3180 .p3180-construction-table :is(th, td):nth-child(n+3) { text-align: center; }
.p3180 .p3180-construction-table tbody tr:has(th:not(:empty)) :is(td, th) {
  border-top: 1px solid #bed1df;
}

.p3180 .p3180-supply-panel,
.p3180 .p3180-application,
.p3180 .p3180-design-note,
.p3180 #materials .p3180-duty {
  margin-top: clamp(20px, 3.1vw, 34px);
}
.p3180 .p3180-supply-panel {
  padding: 18px clamp(16px, 2.5vw, 28px);
  border-left: 4px solid #17678d;
  border-radius: 0 8px 8px 0;
  background: #edf5fa;
}
.p3180 .p3180-supply-panel p:last-child,
.p3180 .p3180-design-note p:last-child { margin-bottom: 0; }
.p3180 .p3180-design-note p { max-width: 85ch; }
.p3180 .p3180-application-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 12px 0 0;
  padding-inline-start: 20px;
}
.p3180 .p3180-application-list li::marker { color: #17678d; }
.p3180 #materials .p3180-duty {
  border: 1px solid #d6e3eb;
  border-radius: 12px;
}
.p3180 #materials .p3180-duty dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
@media (max-width: 900px) {
  .p3180 .p3180-application-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .p3180 .p3180-application-list,
  .p3180 #materials .p3180-duty dl { grid-template-columns: minmax(0, 1fr); }
}

/* Give the expanded size reference the full content width. */
.p3180 .p3180-finder-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
}
.p3180 .p3180-finder-grid > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
}
.p3180 .p3180-finder-grid .p3180-part-entry {
  padding: clamp(15px, 2vw, 22px);
  border: 1px solid #d6e3eb;
  border-radius: 8px;
  background: #fff;
}
.p3180 .p3180-finder-grid .p3180-part-entry h3 { margin-top: 0; }
.p3180 .p3180-size-list > input { max-width: 440px; }
@media (max-width: 760px) {
  .p3180 .p3180-finder-grid > div:first-child { grid-template-columns: minmax(0, 1fr); }
}
