.technical-shell {
  max-width: 58rem;
}

.technical-page h1 {
  max-width: 22ch;
  margin-bottom: 1.2rem;
}

.technical-index {
  display: block;
}

.technical-index ul {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.technical-index li a {
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  color: var(--blue);
  background: #f1f7fa;
}

.technical-index li a:hover {
  background: #e6f1f6;
}

.technical-index-cards ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.technical-index-cards li {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
  line-height: 1.5;
}

.technical-index-cards li a {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1rem;
  text-decoration: underline;
}

.technical-index-cards li a:hover {
  background: none;
}

.technical-article {
  padding-block: clamp(1.6rem, 4.5vw, 3.7rem);
}

.technical-article > .technical-index {
  margin-bottom: 1.5rem;
}

.technical-section + .technical-section,
.technical-article > .technical-gallery + .technical-copy + .technical-section {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.technical-section h2 {
  margin-bottom: clamp(.85rem, 2.5vw, 1.5rem);
  color: #173e50;
  scroll-margin-top: 1rem;
}

.technical-copy, .technical-list-entry {
  line-height: 1.66;
}

.technical-copy > p, .technical-list-entry > p, .technical-test-group li p {
  margin: 0 0 .85rem;
}

.technical-copy > :last-child, .technical-list-entry > :last-child {
  margin-bottom: 0;
}

.technical-section h3 {
  margin: 1.4rem 0 .65rem;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.technical-section h3:first-child {
  margin-top: 0;
}

.technical-copy ol, .technical-copy ul {
  padding-left: 1.6rem;
  margin: .75rem 0 1rem;
}

.technical-note, .technical-download {
  padding: .75rem .95rem;
  border-left: 3px solid var(--blue);
  border-radius: .25rem;
  background: #f1f7fa;
}

.technical-gallery, .technical-wide-figure, .technical-list {
  margin-block: clamp(1rem, 2.7vw, 1.75rem);
}

.technical-gallery, .technical-test-photos, .technical-list {
  display: grid;
  gap: .85rem;
  align-items: start;
}

.technical-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-figure {
  min-width: 0;
  margin: 0;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #fff;
}

.technical-figure figcaption {
  padding: .55rem .35rem .2rem;
  font-size: .9rem;
  line-height: 1.45;
}

.technical-test-group + .technical-test-group {
  margin-top: 1.75rem;
}

.technical-test-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .48fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.technical-list-entry {
  padding: clamp(.9rem, 2vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: .55rem;
}

.technical-download a {
  font-weight: 700;
}

@media (max-width: 51rem) {
  .technical-index-cards ul, .technical-test-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .technical-test-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 35rem) {
  .technical-gallery, .technical-test-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}
