body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #222;
  background: #f9f9f9;
}

header nav {
  background: #003366;
  color: white;
  padding: 1em;
  display: flex;
  justify-content: space-around;
}

header nav a {
  color: white;
  text-decoration: none;
}

img {
  max-width: 60%;
  height: auto;
}

.blog-post {
  max-width: 800px;
  margin: auto;
  padding: 2em;
  background: white;
}

.meta {
  font-size: 0.9em;
  color: #666;
}

.toc {
  background: #eef5ff;
  padding: 1em;
  border-left: 4px solid #0074D9;
  margin-bottom: 2em;
}

.toc h2 {
  margin-top: 0;
}

.share-buttons {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
}

footer {
  text-align: center;
  padding: 1em;
  background: #003366;
  color: white;
  margin-top: 3em;
}

.blog-index {
  max-width: 900px;
  margin: auto;
  padding: 2em;
  background: white;
}

.post-preview {
  display: flex;
  gap: 1em;
  margin-bottom: 2em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
}

.post-preview img {
  width: 180px;
  height: auto;
  border-radius: 5px;
}

.post-preview h2 {
  margin: 0 0 0.5em 0;
}

.post-preview p.meta {
  font-size: 0.85em;
  color: #777;
}
