.post-row {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
  justify-content: center;
}

.post-item {
  width: 25%;
  margin-right: 11px;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  height: 250px;
  border-radius: 10px;
  display: flex;
  position: relative;
  background-size: cover;
}
.bhwd-post-content {
  padding: 10px;
  position: absolute;
  bottom: 0;
  opacity: 0;
}
.bhwd-post-content h2 {
  font-size: 14px;
  color: #fff;
}
.bhwd_post_content_popup {
  position: fixed;
  z-index: 99991;
  display: block;
  width: 1200px;
  height: 80vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  overflow-y: auto;
  border-radius: 10px;
  padding: 20px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
.bhwd_height_100 {
  height: 100%;
  overflow: auto;
}
.bhwd-close-btn {
  position: fixed;
  bottom: 10.5vh;
  left: 50%;
  right: 50%;
  z-index: 99991;
  width: 100px;
  padding: 5px;
  border-radius: 20px;
  transform: translate(-50%, 0%);
}
.bhwd-post-content-overlay {
  position: fixed;
  background: #0000009c;
  height: 100vh;
  width: 100vw;
  top: 0;
  z-index: 9999;
}
.bhwd-preloading {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 25px;
  width: 25px;
  z-index: 99;
  background: linear-gradient(
    0deg,
    rgba(19, 158, 42, 1) 0%,
    rgb(255, 0, 0) 100%
  );
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 2s linear infinite;
}
.bhwd-preloading div {
  height: 15px;
  width: 15px;
  border-radius: 20px;
  background: #fff;
  display: block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.odd .post-item:first-child {
  width: 47%;
}

.even .post-item:last-child {
  width: 47%;
}

.postImgClass {
  width: 100%;
  height: auto;
  display: block;
}

.loadMoreBtnSecton {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loadMoreBtn {
  background: #eb4d4b;
  font-family: arial;
  font-size: 20px;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  padding: 7px 10px;
}

.loadMoreBtn:hover {
  background: #d63031;
}

.loadMoreBtn:focus {
  background: #e84118;
}

@media (max-width: 1200px) {
  .bhwd_post_content_popup {
    width: 90%;
    height: 90vh;
  }
}

@media (max-width: 900px) {
  .post-item {
    width: 46.5%;
    margin-right: 0;
    height: 200px;
  }
  .odd .post-item:first-child {
    width: 46.5%;
  }
  .post-row {
    margin: 10px 0;
    gap: 5%;
  }

  .even .post-item:first-child {
    width: 100%;
    margin-bottom: 10px;
  }

  .odd .post-item:last-child {
    width: 100%;
    margin-top: 10px;
  }
}
