
@import url(https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css);

.gallery {
  width:100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.glightbox-container {
  /*height:calc(100% - 50px);*/
}

.glightbox-clean .gslide-description {
  background:var(--dlight);
}

.glightbox-clean .gslide-title {
  color:var(--white);
  font-weight: 600;
  margin-bottom:10px;
  font-size: 18px;
}
.glightbox-clean .gslide-desc {
  color:var(--white);
  font-family: inherit;
  font-size: inherit;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: var(--dlight);
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.gallery-content {
  padding: 0.75rem 1rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.gallery-description {
  font-size: 0.875rem;
  color: var(--white);
}



  /* Adds padding around the content area */
  .gdesc-inner {
    padding: 16px 24px !important;
  }

  /* Optional: give more space between image and caption */
  .gslide-description {
    margin-top: 20px;
  }

  /* Optional: adjust max-width if needed */
  .glightbox-container .gslide {
    max-width: 90%;
    margin: 0 auto;
  }

  /* Optional: control text size */
  .gdesc-inner .gdesc-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .gdesc-inner .gdesc-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
  }

  .goverlay {
    background: rgba(0, 0, 0, .62);
  }