.article-post img {
  max-width: 32%;
  max-height: 165px;
  margin-bottom: 5px;
  display: inline-block;
}

@media (max-width:767px) {
    .article-post img {
  max-width: 32%;
}
}

/* Lightbox Styles */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  cursor: pointer;
  animation: fadeIn 0.3s ease-in-out;
}

.lightbox-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease-in-out;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.clickable-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Navigation buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 3rem;
  padding: 20px 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10000;
  border-radius: 4px;
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 3rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10000;
  border-radius: 4px;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 15px 20px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    padding: 5px 15px;
  }
}
