/* ===== NEWS PAGE HEADER ===== */
.page-header {
  padding: 4rem 2rem 1.5rem;
  text-align: center;
  margin-top: -3rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-header p {
  margin-top: 0.6rem;
  font-size: 1rem;
  opacity: 0.7;
}

/* ===== SEARCH BAR ===== */
.search-section {
  display: flex;
  justify-content: center;
  padding: 1.2rem 2rem 2.5rem;
}

#searchInput {
  width: 100%;
  max-width: 40rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 0.95rem;
}

/* ===== FEED LAYOUT (LIKE HOMEPAGE POSTS) ===== */
.blog-section {
  display: flex;
  justify-content: center;
  padding: 0 2rem 4rem;
}

.blog-container {
  width: 100%;
  max-width: 70rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===== WIDE POST CARD ===== */
.post-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.35s ease;
}

.post-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 20px 30px rgba(0,0,0,0.45);
}

/* IMAGE LEFT */
.post-card img {
  width: 16rem;
  height: 10rem;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
}

/* CONTENT RIGHT */
.post-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TITLE */
.post-content h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 0.5rem;
}

/* DESCRIPTION */
.post-content p {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* META */
.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.8rem;
}

/* LIVE BADGE */
.news-badge {
  background: #ff3b3b;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: fit-content;
}

/* EMPTY TEXT */
.no-posts {
  text-align: center;
  opacity: 0.7;
}

/* ===== MOBILE STACK ===== */
@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
  }

  .post-card img {
    width: 100%;
    height: 12rem;
  }
}

#nav-btn-n {
    font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.8rem;
  transition: background 0.3s ease;
  text-decoration: none;
  color: aliceblue;
}

#nav-btn-n:hover {
  /* background: #005dff; */
  color: #2a27ff;
  transition: 0.3s ease;
  cursor: pointer;
}
#nav-btn-l {
  padding: 0.5rem 1rem;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.1rem;
  font-family: "Manrope", sans-serif;
  border-radius: 0.8rem;
  transition: background 0.3s ease;
  text-decoration: none;
  color: aliceblue;
}

#nav-btn-l:hover {
  /* background: #005dff; */
  color: #2a27ff;
  transition: 0.3s ease;
  cursor: pointer;
}