
/* Photo galleries: consistent with the MacBook and Laptop service design */
#display-austausch .em-custom-gallery,
#mainboard-reparatur .em-custom-gallery {
  width: min(100% - 24px, 960px);
  max-width: 960px;
  margin: 16px auto 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
#display-austausch .em-custom-gallery .em-photo,
#mainboard-reparatur .em-custom-gallery .em-photo {
  border-radius: 14px; border: 1px solid #375237;
  background: #0e170e; overflow: hidden; min-width: 0;
}
#display-austausch .em-custom-gallery .em-zoom,
#mainboard-reparatur .em-custom-gallery .em-zoom {
  display: flex; align-items: center; justify-content: center;
  height: 214px; background: #121b12;
}
#display-austausch .em-custom-gallery img,
#mainboard-reparatur .em-custom-gallery img {
  width: 100%; height: 100%; object-fit: contain;
  object-position: center; transform: none;
}
#display-austausch .em-custom-gallery figcaption,
#mainboard-reparatur .em-custom-gallery figcaption {
  min-height: 48px; padding: 13px 14px; color: #eef4e9;
  font-size: 13px; line-height: 1.5;
}
@media(max-width:730px) {
  #display-austausch .em-custom-gallery,
  #mainboard-reparatur .em-custom-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}
@media(max-width:470px) {
  #display-austausch .em-custom-gallery,
  #mainboard-reparatur .em-custom-gallery { grid-template-columns:1fr; }
  #display-austausch .em-custom-gallery .em-zoom,
  #mainboard-reparatur .em-custom-gallery .em-zoom { height:260px; }
}
