.post-container {
  max-width: 850px;
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
}

/* Banner image: full visible, bordered, clean */
.post-banner {
  width: 100%;
  height: auto;
  border: 2px solid #d1d5db; /* light gray border */
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: block;
}

.post-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f3c88;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.post-meta {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.post-meta .post-author {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 500;
}

.post-meta .post-author:hover {
  text-decoration: underline;
}

.post-content {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tags a {
  text-decoration: none;
  color: #1f3c88;
  background-color: #eef3ff;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.post-tags a:hover {
  background-color: #dbe6ff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .post-container {
    padding: 1.25rem;
    margin: 1rem;
    border-radius: 12px;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-meta {
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .post-container {
    padding: 1rem;
    margin: 1rem;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-tags a {
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
  }
}
