.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.post-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.post-item__thumb {
  flex-shrink: 0;
  width: 160px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
}

.post-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-item__content {
  flex: 1;
  min-width: 0;
}

.post-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.post-item__title a {
  text-decoration: none;
  color: #2f7d95;
}

.post-item__title a:hover {
  color: #27677a;
}

.post-item__tagline {
  margin: 0 0 0.75rem;
  color: #3d4144;
  font-size: 0.75rem !important;
  line-height: 1.5;
}

.categories-page {
  max-width: 800px;
}

.category-count {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
}

.categories-page h1 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Adaptivity */
@media (max-width: 640px) {
  .post-item {
    flex-direction: column;
  }
  .post-item__thumb {
    width: 100%;
    height: 180px;
    border-radius: 6px;
  }
}
