/* Layout container */

.post-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 1rem 5rem;
}

.blog-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* Individual post card */
.post-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: row;
  text-decoration: none;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

/* Thumbnail image */
.post-card img.thumbnail {
  width: 300px;
  object-fit: cover;
}

/* Content block */
.post-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--bs-body-color);
}

/* Title */
.post-content h2 {
  font-size: 1.3rem;
  margin: 0;
  border: none;
  padding-bottom: 0rem;
}

/* Meta info (date, time) */
.meta {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.meta i {
  margin-right: 0.05rem;
}

/* Description/Excerpt */
.post-content p {
  font-size: 0.95rem;
  line-height: 1.5;
}



.thumbnail{
  height: 100%;
}


/* Responsive */
@media (max-width: 900px) {
  .post-list{
    padding: 0rem;
  }
}


@media (max-width: 700px) {
  .post-card {
    flex-direction: column;
  }
  
  .post-card img.thumbnail{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .post-list{
    padding: 0.1rem;
  }
  
  .image_area{
  height: 220px;
}

  .post-content {
    padding: 1rem 1.5rem;
  }
}

