body {
  margin: 0;
  font-family: 'Noto Serif Devanagari', serif;
  background-color: #f9f9f9;
  color: #222;
}

header {
  text-align: center;
  background-color: #1e1e1e;
  color: #ffd700;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2rem;
}

.blog-container {
  max-width: 1000px;
  margin: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
}

.blog-post img {
  width: 200px;
  height: auto;
  object-fit: cover;
}

.post-content {
  padding: 1rem;
  flex: 1;
}

.post-content h2 {
  margin-top: 0;
  color: #333;
}

.post-content h2 a {
  text-decoration: none;
  color: #222;
}

.post-content p {
  margin: 0.5rem 0 1rem;
  color: #555;
}

.read-more {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-post {
    flex-direction: column;
  }

  .blog-post img {
    width: 100%;
    height: auto;
  }
}

footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #1e1e1e;
  color: #ccc;
}
