/* Post listing */
.post-listing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Post article */
.post-article {
  padding: 4rem 0 6rem;
}

.post-header {
  max-width: 720px;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(74, 158, 255, 0.12);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.post-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.post-description {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 640px;
}

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

/* Prose — HTML gerado pelo kramdown */
.prose {
  max-width: 720px;
  color: var(--color-text-primary);
  line-height: 1.8;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--color-text-primary);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  color: var(--color-text-primary);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose a {
  color: var(--color-scan-blue);
  text-decoration: underline;
  text-decoration-color: rgba(74, 158, 255, 0.35);
}

.prose a:hover {
  color: var(--color-terminal);
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose code {
  font-family: var(--font-code);
  font-size: 0.85em;
  color: var(--color-terminal);
  background: rgba(0, 229, 200, 0.08);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.prose pre {
  background: var(--color-void);
  border: 0.5px solid rgba(74, 158, 255, 0.2);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-terminal);
}

.prose blockquote {
  border-left: 3px solid var(--color-terminal);
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.prose img {
  max-width: 100%;
  border-radius: 8px;
  border: 0.5px solid rgba(74, 158, 255, 0.15);
  margin: 1.5rem 0;
}

.prose hr {
  border: none;
  border-top: 0.5px solid rgba(74, 158, 255, 0.12);
  margin: 2.5rem 0;
}

/* Post footer */
.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(74, 158, 255, 0.12);
}

/* Empty state */
.post-empty {
  padding: 3rem 0;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .post-article {
    padding: 2rem 0 4rem;
  }
}
