.tech-section {
  background: #f1f7fb;
  color: #10263d;
}

.tech-reading {
  max-width: 870px;
  min-width: 0;
}

.tech-reading :is(h2, h3) {
  margin: 0 0 1rem;
  color: #10263d;
}

.tech-reading h2 {
  font-size: clamp(1.85rem, 4vw, 3.15rem);
}

.tech-reading h3 {
  margin-top: 2.2rem;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.tech-reading section + section {
  margin-top: clamp(2.6rem, 6vw, 4.6rem);
  padding-top: clamp(2.1rem, 5vw, 3.4rem);
  border-top: 1px solid #c4dce8;
}

.tech-reading p,
.tech-inline p,
.tech-steps li {
  line-height: 1.7;
}

.tech-kicker {
  margin: 0 0 0.8rem;
  color: #07566a;
  font-size: 0.92rem;
  font-weight: 800;
}

.tech-inline {
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 2px solid #c4dce8;
}

.prose .tech-inline h2 {
  margin-top: 0;
}

.tech-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem;
  margin: 1.45rem 0;
}

.tech-figure {
  width: 100%;
  min-width: 0;
  margin: 1.45rem 0;
  background: #fff;
  border: 1px solid #c4dce8;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgb(15 46 73 / 8%);
}

.tech-figure-grid .tech-figure {
  margin: 0;
}

.tech-image {
  display: block;
  border-radius: 15px 15px 0 0;
  cursor: zoom-in;
}

.tech-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.tech-image-action {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  background: #e7f4f9;
  color: #07566a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.media-lightbox {
  overflow: auto;
}

.media-lightbox .lightbox-bar button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.tech-figure figcaption {
  padding: 0.85rem 1rem 1rem;
  color: #334e65;
  font-size: 0.94rem;
  line-height: 1.55;
}

.tech-figure figcaption strong,
.tech-figure figcaption span {
  display: block;
}

.tech-figure figcaption strong {
  color: #10263d;
}

.tech-image:focus-visible,
.tech-links a:focus-visible,
.tech-references a:focus-visible {
  outline: 3px solid #006b8b;
  outline-offset: 3px;
}

.tech-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  margin: 1.25rem 0 0;
}

.tech-links a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid #9fc9dc;
  border-radius: 9px;
  color: #07566a;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.tech-links a:hover {
  background: #e1f5fa;
  text-decoration: underline;
}

.tech-index {
  margin: 0 0 2.25rem;
}

.tech-references a {
  color: #07566a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tech-steps {
  margin: 1.2rem 0;
  padding-left: 1.35rem;
}

.tech-steps li + li {
  margin-top: 0.75rem;
}

.tech-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: auto;
  align-items: center;
}

.tech-service-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 640px) {
  .tech-figure-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-links a {
    flex-basis: 100%;
  }
}
