.thumbnail {
  position: relative;
}

.show-more-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
}

.image-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  overflow-y: auto;
}

.modal-content {
  margin: 5% auto;
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.modal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-image img {
  max-width: 100%;
  height: auto;
  display: block;
}


.modal-slider {
  position: relative;
  text-align: center;
}

.modal-slide {
  display: none;
}

.modal-slide img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}

.modal-prev, .modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  border: none;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  user-select: none;
  transform: translateY(-50%);
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}
