body.z-type #main .custom-led-photo-gallery {
  margin-block-start: 28px;
  scroll-margin-block-start: calc(var(--type-actual-header, 80px) + 20px);
}

body.z-type #main .custom-led-gallery-group + .custom-led-gallery-group {
  margin-block-start: 24px;
}

body.z-type #main .custom-led-gallery-group h4 {
  margin-block: 12px 10px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.4;
}

body.z-type #main .custom-led-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 2vw, 24px);
}

body.z-type #main .custom-led-photo-card {
  min-inline-size: 0;
  margin: 0;
}

body.z-type #main .custom-led-photo-card :is(a, picture, img) {
  display: block;
  inline-size: 100%;
}

body.z-type #main .custom-led-photo-card img {
  aspect-ratio: 16 / 9;
  block-size: auto;
  object-fit: contain;
  background: #f2f5f8;
  border-radius: 6px;
}

body.z-type #main .custom-led-photo-card figcaption {
  margin-block-start: 8px;
  font-size: var(--type-size-ui, 16px);
  line-height: 1.5;
}

body.z-type #main :is(.custom-led-outdoor-photo, .custom-led-outdoor-illustration) img {
  aspect-ratio: auto;
}

body.z-type #main .custom-led-outdoor-visuals {
  display: grid;
  min-inline-size: 0;
  gap: 20px;
}

@media (min-width: 1024px) {
  body.z-type #main .custom-led-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
