.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  /* नीचे की shadow हटाई गई */
  box-shadow: none !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: auto;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
.logo span { color: #e63946; }

.nav-links ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: #e63946; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger .bar {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 5px;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  height: 100%;
  background: #fff;
  transition: left 0.3s ease-in-out;
  z-index: 2000;
  box-shadow: 2px 0 6px rgba(0,0,0,0.2);
}

/* 🔧 Fix unwanted shadow or border line below header */
body {
  background-color: #fff !important;
}

.main-header {
  background-color: #fff !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eaeaea; /* clean subtle line */
}

.offcanvas.show { left: 0; }

.offcanvas-header {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
}
.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.offcanvas-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.offcanvas-links li { border-bottom: 1px solid #eee; }
.offcanvas-links a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.offcanvas-links a:hover {
  background: #f4f4f4;
  color: #e63946;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

.post-container {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  overflow-wrap: break-word;
}
.post-container h1, .post-container h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.3;
}
.post-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 10px 0 20px 0;
}
.post-container p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin-bottom: 16px;
  word-break: break-word;
}
.last-updated {
  font-size: 0.9rem;
  color: #666;
  text-align: right;
  margin-top: -5px;
  margin-bottom: 10px;
}
/* ✅ Fix header shadow illusion on white backgrounds */
body, html {
  background-color: #fff !important;
}

.main-header {
  background-color: #fff !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eaeaea; /* optional: हल्की clean separator line */
}

