/* blog.css - Concise & Integrated with base.css, layout.css, post_detail.css */

.blog-content,
.blog-post-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-post {
  margin-bottom: 2rem;
}

.blog-post h2 a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.75rem;
  transition: color 0.3s;
}

.blog-post h2 a:hover {
  color: #3b82f6;
}

.blog-post img,
.blog-post-detail .featured-image {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.blog-post p,
.blog-post-detail .blog-body p,
.blog-post-detail .blog-body ul,
.blog-post-detail .blog-body ol {
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #374151;
}

.blog-post-detail .blog-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.blog-post-detail .blog-body li {
  margin-bottom: 0.75rem;
}

.blog-post-detail .post-date {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 2rem;
  text-align: right;
}

.recent-posts {
  margin-top: 3rem;
}

.recent-posts li {
  margin-bottom: 0.5rem;
}

.recent-posts a,
.back-link .reset-button {
  color: #3b82f6;
  transition: color 0.3s, background-color 0.3s;
}

.recent-posts a:hover,
.back-link .reset-button:hover {
  color: #2563eb;
}

.newsletter-signup {
  margin: 4rem auto;
  max-width: 600px;
  text-align: center;
}

.newsletter-signup input[type="email"],
.newsletter-signup button {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.newsletter-signup button,
.back-link .reset-button {
  background-color: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
}

.newsletter-signup button:hover,
.back-link .reset-button:hover {
  background-color: #2563eb;
}

.back-link {
  text-align: center;
  margin-top: 3rem;
}