body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

/* HEADER (GREEN TOP) */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to right, #1a7f3c, #2ecc71);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 30px;
  font-weight: bold;
}

/* WHITE NAV BAR */
nav {
  background: white;
  position: sticky;
  top: 50px; /* header height के बराबर */
  z-index: 999;
  border-bottom: 1px solid #ddd;
}

nav {
  display: flex;
  gap: 20px;
  overflow-x: auto;   /* scroll enable */
  white-space: nowrap;
  padding: 10px;
}

/* 🔥 scrollbar hide (Chrome, Edge, Safari) */
nav::-webkit-scrollbar {
  display: none;
}

/* 🔥 scrollbar hide (Firefox) */
nav {
  scrollbar-width: none;
}

/* 🔥 smooth mobile scroll */
nav {
  -webkit-overflow-scrolling: touch;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 17px;
  flex: 0 0 auto ;
}

/* BANNER */
.banner {
  position: relative;
}

.banner img {
  width: 100%;
  height: auto;   /* 👈 FIX */
  object-fit: contain; /* 👈 FIX */
}

.banner-text {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 123, 167, 0.9);
  color: white;
  padding: 10px;
  font-size: 18px;
  text-align: center;
}

/* NEWS LIST */
.news {
  padding: px;
}

/* CARD STYLE */
.card {
  display: flex;
  gap: 12px;
  background: white;
  margin-bottom: 2px;
  padding: 8px;
  border-radius: 1px;
}

.card img {
  width: 180px;
  height: auto;   /* 👈 FIX */
  object-fit: contain; /* 👈 FIX */
  
}

.card h3 {
  margin: 0;
  font-size: 14px;
}

.card p {
  margin: 5px 0;
  color: rgb(45, 45, 45);
  font-size: 14px;
  font-weight: 550;
}

/* DESKTOP VIEW */
@media (min-width: 768px) {
  .news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .card {
    flex-direction: column;
  }

  .card img {
    width: 100%;
    height: 150px;
  }
}

/* MOBILE FIX */
@media (max-width: 768px) {
  nav {
    overflow-x: auto;
  }
}



.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  background: #111;
  color: white;
  font-size: 12px;
}

.top-bar .center {
  font-weight: bold;
  font-size: 16px;
}

.top-bar button {
  background: green;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}




.post {
  max-width: 800px;
  margin: auto;
  padding: 15px;
  background: #fff;
}

.headline {
  font-size: 26px;
  font-weight: bold;
  border-left: 5px solid red;
  padding-left: 10px;
  margin-bottom: 10px;
}

.main-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.meta {
  font-size: 14px;
  color: gray;
  margin: 10px 0;
}

.sub-heading {
  font-size: 20px;
  font-weight: bold;
  border-left: 4px solid blue;
  padding-left: 8px;
  margin-top: 15px;
}

.post p {
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
}

.post-img {
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
}

.disclaimer {
  background: #f8f8f8;
  padding: 10px;
  margin-top: 20px;
  font-size: 13px;
  border-left: 4px solid orange;
}

