.blog-item .blog-img {
  overflow: hidden;
  height: 250px;
}

.blog-img .blog-img img {
  object-fit: fill;
  height: 100%;
  width: 100%;
}

.gallery .image span {
  display: flex;
  width: 100%;
  height: 130px;
  overflow: hidden;
  cursor: pointer;
}

.gallery .image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.gallery .image:hover img {
  transform: scale(1.1);
}

.preview-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 100%;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.preview-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}

.preview-box .details {
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 10px;
  justify-content: space-between;
}

.preview-box .details .title {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}

.details .title p {
  margin: 0 5px;
}

.details .title p.current-img {
  font-weight: 500;
}

.details .icon {
  color: #007bff;
  font-size: 20px;
  cursor: pointer;
}

.preview-box .image-box {
  display: flex;
  width: 100%;
  position: relative;
  height: 500px;
}

.image-box .slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 30px;
  cursor: pointer;
  height: 50px;
  width: 60px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
}

.slide {
  color: #333;
}

.slide.prev {
  left: 0px;
}

.slide.next {
  right: 0px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 3px 3px;
}

.shadow {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.45);
}

.postItem {
  box-shadow: 0px 0px 15px 0px rgba(72, 73, 121, 0.15);
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.postCont {
  padding: 10px;
}

.commentBox {
  display: none;
}

/* .activeBox {
  display: block;
} */

.postImage {
  height: 500px;
}

.postImage img {
  object-fit: cover;
  height: 100%;
}

@media (max-width: 500px) {
  .preview-box {
    max-width: 350px;
  }
}

@media (max-width: 360px) {
  .preview-box {
    max-width: 300px;
  }
}

@media (max-width: 301px) {
  .preview-box {
    max-width: 250px;
  }
}
