.wpb_gallery .wpb_image_grid .isotope-item {
  position: relative !important;
  display: inline-block !important;
  width: 150px;
  margin: 0 8px 8px 0;
  vertical-align: top;
  opacity: 1 !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
.wpb_gallery .wpb_image_grid .wpb_image_grid_ul {
  display: block !important;
  height: auto !important;
}
.wpb_gallery .wpb_image_grid .isotope-item a.angeloni-gallery-link,
.wpb_gallery .wpb_image_grid .isotope-item a {
  display: block;
  cursor: zoom-in;
  pointer-events: auto !important;
}
.wpb_gallery .wpb_image_grid .isotope-item img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

body.angeloni-lb-open {
  overflow: hidden;
}
.angeloni-lb {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.angeloni-lb img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.angeloni-lb__close,
.angeloni-lb__nav {
  position: absolute;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.angeloni-lb__close {
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}
.angeloni-lb__close::before {
  content: "\00d7";
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}
.angeloni-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  font-size: 28px;
  line-height: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.angeloni-lb__prev {
  left: 16px;
}
.angeloni-lb__next {
  right: 16px;
}
.angeloni-lb__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}
