/* Blog-specific styles — layered on top of dist/css/styles.css, does not modify it */

#blog-header {
  min-height: auto;
  padding: 1.5rem 0 0.5rem;
}

.blog-main {
  min-height: 60vh;
  padding-top: 2rem;
  padding-bottom: 4rem;
  color: #8695a7;
}

.blog-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.blog-hero p {
  color: #8695a7;
  margin-top: 0.5rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.post-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid #2e3031;
  border-radius: 6px;
  background: #131a22;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-color: #ffb454;
  transform: translateY(-2px);
}

.post-card h2 {
  color: #e7ecf2;
  margin-bottom: 0.4rem;
}

.post-date {
  color: #ffb454;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.post-excerpt {
  color: #8695a7;
}

.blog-post {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post .back-link {
  display: inline-block;
  color: #ffb454;
  margin-bottom: 1.5rem;
}

.blog-post h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.post-content {
  margin-top: 2rem;
  line-height: 1.8;
}

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

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

.post-content h2,
.post-content h3 {
  margin: 2rem 0 1rem;
  color: #e7ecf2;
}

.post-content pre {
  background: #131a22;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-family: "IBM Plex Mono", monospace;
}

.post-content code {
  background: #131a22;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: "IBM Plex Mono", monospace;
}

.post-content blockquote {
  border-left: 3px solid #ffb454;
  padding-left: 1rem;
  color: #8695a7;
  margin: 1.5rem 0;
}
