.kvagal-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kvagal-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.kvagal-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.kvagal-item.PRL img {
  float: left;
}
.kvagal-item.PRR img {
  float: right;
}
.kvagal-item.PAST{
   filter: grayscale(100%);
}

#kvagal-lightbox {
  display: none;
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  justify-content: center;
  align-items: center;
}
.kvagal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2147483647;
}
.kvagal-inner {
  position: fixed;
  z-index: 2147483647;
  max-width: calc(90vw - 25px);
  max-height: 90vh;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kvagal-image-wrap {
  position: relative;
  width: 100%;
}
.kvagal-lightbox-img {
  max-height: 90vh;
  max-width: 100%;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.kvagal-caption {
  text-align: center;
  color: white;
  margin-top: 15px;
}
.kvagal-caption h2 {
  font-size: 1.5em;
  margin: 0;
}
.kvagal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  text-decoration: none !important;
  padding-bottom: 4px;
  z-index: 3;
}
.kvagal-ticket {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #d00;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 3;
}
.kvagal-ticket:hover {
  background: #a00;
}
.kvagal-left, .kvagal-right {
  color: white;
  font-size: 48px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  z-index: 3;
}
.kvagal-left {
  left: -40px;
}
.kvagal-right {
  right: -40px;
}
