.slg-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  position: relative;
}
.slg-gallery.slg-gallery-shimmer-root {
  display: flex;
}
.slg-gallery.slg-gallery-main-root {
  display: none;
}

.slg-post-item {
  flex: 0 0 calc(33.333% - 10px);
  box-sizing: border-box;
  flex: 1;
}

.slg-post-item.video-item iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.slg-gallery img {
  width: 100%;
  height: 100%;
  /* object-fit: cover;
  border-radius: 6px; */
  cursor: pointer;
  transition: 0.3s;
}

.slg-gallery img:hover {
  opacity: 0.85;
}

.slg-post-item a {
  text-decoration: none;
}

#slg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

#slg-lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#slg-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.slg-shimmer-box {
  width: 100%;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  background: #bcbcbc;
}

.slg-shimmer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      #efefef,
      transparent);
  animation: shimmer 1.5s infinite;
}

.slg-box-block {
  height: 180px;
}

.slg-box-tile {
  height: 50px;
}

@keyframes shimmer {
  100% {
    left: 150%;
  }
}

.slg-shimmer-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
}