.ig-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  overflow: hidden;
}

.ig-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

#igImage {
  min-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
}

.ig-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 15px;
  opacity: 0.85;
}

.ig-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  z-index: 100000;
}

.ig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.ig-prev { left: 20px; }
.ig-next {right: 20px;}
