.aash_wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* MASONRY */
.aash_masonry {
  column-count: 3;
  column-gap: 10px; /* EXACT GAP */
}

/* ITEM */
.aash_item {
  break-inside: avoid;
  margin-bottom: 10px; /* MATCH GAP */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

/* IMAGE */
.aash_item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.aash_item:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.aash_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: 0.3s;
}

.aash_item:hover::after {
  opacity: 1;
}

/* CAPTION */
.aash_caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
}

.aash_item:hover .aash_caption {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */
.aash_lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.aash_lightbox.aash_active {
  opacity: 1;
  visibility: visible;
}

.aash_lightbox_img {
  max-width: 90%;
  max-height: 80%;
}

.aash_lightbox_caption {
  color: #fff;
  margin-top: 10px;
}

.aash_close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .aash_masonry {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .aash_masonry {
    column-count: 1;
  }
}