/* Blog-specific styles */

.blog-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
}

.blog-entry {
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #eee;
}

.blog-entry:last-child {
  border-bottom: none;
}

.blog-entry h3 {
  margin-bottom: 0.5em;
}

.blog-entry h3 a {
  color: #333;
  text-decoration: none;
}

.blog-entry h3 a:hover {
  color: #007bff;
  text-decoration: underline;
}

.blog-entry .date {
  color: #666;
  font-size: 0.9em;
  margin: 0;
}

/* Blog post styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
  line-height: 1.6;
}

.blog-post h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.blog-post h2 {
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

.blog-post h3 {
  font-size: 1.25em;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.blog-post p {
  margin-bottom: 1em;
}

.blog-post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border: 1px solid #ddd;
  padding: 4px;
  background-color: #fff;
}

.blog-post pre {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.blog-post code {
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}

.blog-post pre code {
  background-color: transparent;
  padding: 0;
  border: none;
}

.blog-post blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin-left: 0;
  color: #666;
  font-style: italic;
}

.blog-post hr {
  border: none;
  border-top: 2px solid #eee;
  margin: 2em 0;
}

.blog-post ul, .blog-post ol {
  margin-bottom: 1em;
  padding-left: 2em;
}

.blog-post li {
  margin-bottom: 0.5em;
}

.blog-post a {
  color: #007bff;
  text-decoration: none;
}

.blog-post a:hover {
  text-decoration: underline;
}

.blog-author {
  color: #666;
  font-style: italic;
  margin-bottom: 2em;
}
