/* ==========================================================
 * 🌍 vaawaa — Clean White UI with Top Menu & Soft Black Links
 * ========================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.logo { height: 38px; flex-shrink: 0; }

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 0;
  max-width: 85%;
}

.menu a.nav-item {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 4px 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.menu a:hover,
.menu a.active {
  color: #000;
  border-bottom: 2px solid #111;
  font-weight: 600;
}

/* ===== MAIN ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 25px;
  padding: 40px 0;
}
.news-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.news-content { padding: 18px 20px; }
.news-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}
.news-content h2:hover { text-decoration: underline; }
.abstract {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.date { display: block; font-size: 0.8rem; color: #999; }

.empty {
  text-align: center;
  color: #999;
  margin-top: 50px;
  font-size: 1.1rem;
  padding: 60px 0;
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}
.footer-container { max-width: 700px; margin: 0 auto; }
.footer-brand { color: #444; font-size: 15px; margin-bottom: 10px; }
.footer-thanks { color: #333; font-size: 0.95rem; margin-bottom: 10px; }
.footer-email { color: #555; font-size: 0.9rem; }
.footer-donate a {
  color: #e63946; text-decoration: none; font-weight: 500;
}
.footer-donate a:hover { text-decoration: underline; }

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  header { border-bottom: none; }
  .topbar { flex-direction: column; align-items: flex-start; padding: 15px 20px; }
  .logo { margin-bottom: 10px; }
  .menu { width: 100%; justify-content: flex-start; max-width: none; gap: 8px 10px; }

  footer { text-align: left; padding: 30px 20px; }
  .footer-container { max-width: 100%; }
  .footer-brand, .footer-thanks, .footer-email, .footer-donate {
    text-align: left;
  }
  .footer-email { margin-top: 10px; line-height: 1.6; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; padding: 20px 0; }
  .news-card img { height: 180px; }
  .news-content h2 { font-size: 1rem; }
  .abstract { font-size: 0.9rem; }
}
