/* --- Blog --- */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #eee;
}

.post-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.post-list h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.post-list h2 a {
  color: #333;
  text-decoration: none;
}

.post-list h2 a:hover {
  color: #e91e63;
}

.post-meta {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.post-categories {
  margin-bottom: 0.75rem;
}

.category-tag {
  display: inline-block;
  background-color: #eee;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #555;
  text-transform: capitalize;
  margin-right: 5px;
}

/* Post Content */

.post-content {
  max-width: 700px;
  margin: 0 auto;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-content a {
  color: #e91e63;
  text-decoration: underline;
}

.post-content ul,
.post-content ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.post-content img {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
}

/* Post Preview */

.post-preview {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #eee;
}

.post-preview:last-child {
  border-bottom: none;
}

.post-preview h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Post Details */

.post-details {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post-details .post-meta {
  color: #777;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-weight: bold;
}

.post-details .post-meta::after {
  content: '•';
  margin-left: 0.75rem;
  color: #ccc;
}

.post-details p {
  margin: 0;
  color: #555;
}