.NFPM_post_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start; /* Align items at the top */
  width: 100%;
  margin: auto;
  gap: 20px; /* Add gap between the items */
}

.NFPM_top_text {
width: 100%;
  height: auto;
  border-bottom: 1px solid black;
  margin-bottom: 20px;
}

.NFPM_post_list_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(50% - 20px); /* Make each post take up 50% of the container, minus gap */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
  margin-bottom: 50px; /* Space between rows */
}

.NFPM_post_image {
  width: 100%; /* Set the width of the image container to fill the post container */
  height: 300px; /* Fixed height to maintain uniformity */
  overflow: hidden; /* Hide any overflowing parts of the image */
}

img.NFPM_image_size {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure images fit the container while maintaining aspect ratio */
}

@media screen and (max-width: 768px) {
  .NFPM_post_list_container {
    width: calc(50% - 20px); /* Stack the posts in a single column on smaller screens */
  }
}

@media screen and (max-width: 430px) {
    .NFPM_post_list_container {
    width: calc(100% - 0px); /* Stack the posts in a single column on smaller screens */
  }
}
  
  .NFPM_post_image {
    height: 200px; /* Reduce the height of the image on smaller screens */
  }
}