.filter-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-buttons button {
  background: #e2e8f0;
  color: #1D4F91;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 400;
  cursor: pointer;
  transition: 0.3s;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background: #1D4F91;
  color: #fff;
}

.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .post-list {
    grid-template-columns: 1fr 1fr;
  }
}

.post-item {
  display: flex;
  gap: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  align-items: flex-start;
}

.post-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

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

.post-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.post-text h3 a {
  color: #111;
  text-decoration: none;
}

.post-text small {
  color: #555;
  font-size: 0.85rem;
  font-weight: 400;
}

.pager {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pager button {
  background: #e2e8f0;
  color: #1D4F91;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 400;
  cursor: pointer;
  transition: 0.3s;
}

.pager button:hover,
.pager button.active {
  background: #1D4F91;
  color: #fff;
}
