.page-title {
  margin-top: 30px;
  font-size: 42px;
}

.subtitle {
  color: #cbd5f5;
  margin-bottom: 30px;
  font-size: 18px;
}

.posts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.post-card {
  background: #1e293b;
  padding: 22px;
  border-radius: 14px;
  width: 280px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.post-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.post-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.post-card a {
  display: inline-block;
  margin-top: 10px;
  color: #22c55e;
  text-decoration: none;
  font-weight: bold;
}

.post-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 34px;
  }

  .posts {
    padding: 16px;
  }

  .post-card {
    width: 100%;
    max-width: 340px;
  }
}