/* Grid layout voor de gallery */
.rw-gallery,
.rw-object-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.rw-gallery img,
.rw-object-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out;
}

.rw-gallery img:hover {
  transform: scale(1.02);
}

/* Kenmerken styling */
.woning-kenmerken ul {
  columns: 2;
  padding: 0;
  list-style: none;
}

.woning-kenmerken li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #eee;
}

/* Buttons */
.rw-document-button {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.75rem 1.25rem;
  background: #0066cc;
  color: #fff !important;
  border-radius: 4px;
  text-decoration: none;
}

.rw-document-button:hover {
  background: #004a99;
}

/* Lightbox */
.rw-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.rw-lightbox img {
  max-width: 90%;
  max-height: 90%;
}
.rw-lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
