.jd-work-repair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 450px);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
}

.jd-work-repair figure {
  max-width: 450px;
}

.jd-work-repair img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.jd-work-subhead {
  margin: 48px 0 24px;
}

.retrofit-photo.jd-work-retrofit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.retrofit-photo.jd-work-retrofit img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

.jd-work-retrofit figcaption {
  padding: 0;
}

.jd-work-safety {
  margin-top: 32px;
}

.specialist-gallery.jd-work-safety img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 700px) {
  .jd-work-repair {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 350px) {
  .retrofit-photo.jd-work-retrofit {
    grid-template-columns: minmax(0, 1fr);
  }
}
