.ds-section,
.ds-index {
  margin-block: 56px;
  scroll-margin-block-start: 120px;
}

.ds-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-block-end: 26px;
}

.ds-heading h2,
.ds-index > header h2 {
  color: var(--ink, #203744);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -.7px;
}

.ds-heading > a {
  color: #a74624;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ds-copy p,
.ds-notes p,
.ds-applications p {
  max-inline-size: 88ch;
  margin-block: 14px;
  color: #435865;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.ds-table-wrap {
  max-inline-size: 100%;
  margin-block: 27px;
  overflow-x: auto;
  border: 1px solid #cad6dc;
  background: #fff;
  scrollbar-color: #9eb1bd #eef3f5;
}

.ds-table {
  inline-size: 100%;
  border-collapse: collapse;
  color: #243e4e;
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
}

.ds-table th,
.ds-table td {
  padding-block: 18px;
  padding-inline: 23px;
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.ds-table thead th {
  background: var(--navy, #102c3e);
  color: #fff;
  font-weight: 700;
}

.ds-table th:first-child {
  inline-size: 32%;
}

.ds-table tbody th {
  font-weight: 650;
}

.ds-table tbody tr + tr > * {
  border-block-start: 1px solid #d9e2e7;
}

.ds-table tbody tr:nth-child(even) {
  background: #f3f6f7;
}

.ds-applications {
  margin-block-start: 28px;
}

.ds-applications h3 {
  color: var(--ink, #203744);
  font-size: 21px;
  line-height: 1.5;
}

.ds-types-table{min-inline-size:680px}
.ds-types-table th:first-child,.ds-types-table th:nth-child(2){inline-size:25%}
.ds-content-section ul{list-style:disc;margin-block:14px;padding-inline-start:24px}
.ds-content-section li{font-size:16px;line-height:1.85;color:#435865;margin-block:7px;overflow-wrap:anywhere}

.ds-notes {
  margin-block: 25px;
  padding-block: 6px;
  padding-inline-start: 21px;
  border-inline-start: 3px solid var(--orange, #ca633c);
}

.ds-notes p {
  font-size: 15px;
}

.ds-related-grid,
.ds-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ds-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-inline-size: 0;
  padding-block: 27px;
  padding-inline: 26px;
  border: 1px solid #d2dde3;
  border-inline-start: 3px solid #d2dde3;
  background: #fff;
  text-align: start;
  color: var(--ink, #203744);
  transition: border-color .18s ease, background-color .18s ease;
}

.ds-card:hover {
  border-color: #aebfc9;
  border-inline-start-color: var(--orange, #ca633c);
  background: #f6f8f9;
}

.ds-card .ds-kind {
  margin-block-end: 15px;
  color: #a74624;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ds-card h3 {
  margin: 0;
  color: #203744;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -.3px;
  overflow-wrap: anywhere;
}

.ds-card p {
  margin-block: 15px 22px;
  color: #4b616e;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ds-card .ds-standards {
  display: block;
  align-self: stretch;
  margin-block-start: auto;
  padding-block-start: 15px;
  border-block-start: 1px solid #dce4e8;
  color: #526b7a;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}

.ds-index > header {
  margin-block-end: 30px;
}

.ds-index > header > p {
  max-inline-size: 80ch;
  margin-block-start: 18px;
  color: #435865;
  font-size: 16px;
  line-height: 1.85;
}

.ds-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-block: 25px;
}

.ds-toolbar input[type="search"] {
  flex: 1 1 300px;
  min-inline-size: 0;
  inline-size: 100%;
  max-inline-size: 440px;
  min-block-size: 48px;
  padding-block: 12px;
  padding-inline: 15px;
  border: 1px solid #b9c9d2;
  border-radius: 0;
  background: #fff;
  color: #203744;
  font: inherit;
  font-size: 16px;
}

.ds-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ds-filters [data-sheet-filter] {
  min-block-size: 44px;
  padding-block: 10px;
  padding-inline: 15px;
  border: 1px solid #c8d5dd;
  background: #fff;
  color: #385363;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
  cursor: pointer;
}

.ds-filters [data-sheet-filter]:hover {
  background: #edf3f6;
  border-color: #9db2bf;
}

.ds-filters [data-sheet-filter][aria-pressed="true"] {
  border-color: var(--navy, #102c3e);
  background: var(--navy, #102c3e);
  color: #fff;
}

.ds-card:focus-visible,
.ds-heading a:focus-visible,
.ds-toolbar input:focus-visible,
.ds-filters button:focus-visible,
.ds-table-wrap:focus-visible {
  outline: 3px solid #cb633c;
  outline-offset: 4px;
}

#datasheet-count,
#datasheet-empty {
  font-size: 16px;
  line-height: 1.8;
}

#datasheet-empty {
  margin-block: 26px;
  padding-block: 25px;
  padding-inline: 24px;
  background: #eef3f5;
  color: #3d5869;
}

.ds-card[hidden],
#datasheet-empty[hidden] {
  display: none !important;
}

html[dir="rtl"] .ds-heading h2,
html[dir="rtl"] .ds-card h3,
html[dir="rtl"] .ds-card .ds-kind {
  letter-spacing: 0;
}

html[dir="rtl"] .ds-heading h2 {
  line-height: 1.65;
}

@media (min-width: 1101px) {
  .product-grid.expanded-range {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .ds-related-grid,
  .ds-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ds-section,
  .ds-index {
    margin-block: 38px;
    scroll-margin-block-start: 95px;
  }

  .ds-heading {
    gap: 14px;
    margin-block-end: 22px;
  }

  .ds-heading h2 {
    font-size: 28px;
  }

  .ds-related-grid,
  .ds-index-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .ds-card {
    padding-block: 23px;
    padding-inline: 21px;
  }

  .ds-table th,
  .ds-table td {
    padding-block: 15px;
    padding-inline: 12px;
    font-size: 15px;
  }

  .ds-table th:first-child {
    inline-size: 36%;
  }

  .ds-toolbar {
    align-items: stretch;
    gap: 14px;
  }

  .ds-toolbar input[type="search"] {
    max-inline-size: none;
    flex-basis: 100%;
  }

  .ds-filters [data-sheet-filter] {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-card {
    transition: none;
  }
}

.ds-search{display:flex;flex-direction:column;gap:9px;flex:1 1 340px;max-inline-size:560px}
.ds-search>span{font-size:14px;font-weight:650;line-height:1.6}
.ds-search input[type=search]{max-inline-size:none;flex:none;block-size:48px}
.ds-filters{margin-block-end:28px}
.ds-index{margin-block-start:0}
.ds-callout{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-block:36px;padding:28px 30px;background:var(--paper);border:1px solid var(--line);border-inline-start:3px solid var(--orange)}
.ds-callout .micro{font-size:11px;color:#a74624}
.ds-callout h3{font-size:27px;line-height:1.4;margin-block:9px}
.ds-callout p{font-size:15px;line-height:1.8;max-inline-size:80ch;color:#435865}
.ds-callout>svg{color:var(--orange);flex:none}
.ds-callout:hover{background:#edf2f4}
.structural-section .ds-detail{margin-block-end:64px}
@media(max-width:560px){.ds-callout{padding:23px 20px;gap:16px}.ds-callout h3{font-size:23px}.ds-callout p{font-size:14px}}

/* Supplied square product photographs keep their full composition in detail pages. */
.detail-image:has(>img[src$="-photo.jpg"]){height:auto;aspect-ratio:1 / 1;background:#e5e6e4}
.detail-image>img[src$="-photo.jpg"]{width:100%;height:100%;object-fit:contain;background:#e5e6e4}
.product-picture>img[src$="beams-photo.jpg"]{object-position:center 62%}
.product-picture>img[src$="open-profiles-photo.jpg"]{object-position:center 59%}
.product-picture>img[src$="merchant-bars-photo.jpg"]{object-position:center 56%}
