#mainBody {
  text-align: left;
}

#blogListContent {
  width: 100%;
  max-width: 880px;
  margin: 24px auto 48px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px 40px;
}

#blogListContent h1 {
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid #eee;
  font-size: 2em;
  font-weight: 600;
  line-height: 1.2;
}

.blog-card {
  border-bottom: 1px solid #eee;
  padding: 24px 0;
}

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

.blog-card-image {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card h2 {
  margin: 0 0 8px;
  font-size: 1.5em;
  line-height: 1.3;
}

.blog-card h2 a {
  color: #1A2F44;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #0f1f30;
  text-decoration: underline;
}

.blog-card-meta {
  color: #888;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.blog-card-meta span {
  margin-right: 12px;
}

.blog-card-excerpt {
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-tags {
  margin-top: 8px;
}

.blog-tag {
  display: inline-block;
  background: #f0f0f0;
  color: #555;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8em;
  margin-right: 6px;
  margin-bottom: 4px;
}

.blog-read-more {
  color: #1A2F44;
  font-weight: 500;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

.blog-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
  font-size: 1.1em;
}

/* Individual post */
#blogPostContent {
  width: 100%;
  max-width: 880px;
  margin: 24px auto 48px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px 40px;
}

#blogPostContent h1 {
  margin: 0 0 12px;
  font-size: 2em;
  font-weight: 600;
  line-height: 1.2;
}

.blog-post-meta {
  color: #888;
  font-size: 0.9em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.blog-post-meta span {
  margin-right: 12px;
}

.blog-post-featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.blog-post-body {
  line-height: 1.7;
  font-size: 1.05em;
  color: #333;
}

.blog-post-body h2 {
  font-size: 1.5em;
  margin: 28px 0 12px;
}

.blog-post-body h3 {
  font-size: 1.3em;
  margin: 24px 0 10px;
}

.blog-post-body p {
  margin: 0 0 16px;
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 16px 20px;
}

.blog-post-body blockquote {
  border-left: 4px solid #1A2F44;
  padding: 12px 20px;
  margin: 16px 0;
  background: #f9f9f9;
  color: #555;
}

.blog-post-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.blog-back-link {
  display: inline-block;
  margin-top: 24px;
  color: #1A2F44;
  font-weight: 500;
  text-decoration: none;
}

.blog-back-link:hover {
  text-decoration: underline;
}

@media (max-width: 826px) {
  #blogListContent,
  #blogPostContent {
    margin: 16px;
    padding: 20px;
  }
}
