::-webkit-scrollbar {
  width: 5px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}


/* Header */
.news-header {
  background: #1a1919;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.site-title {
  margin-bottom: 0.5rem;
  text-align: center;
}

.logo-link {
  text-decoration: none;
  color: #fff;
}

/* Navigation */
.news-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #000;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-btn {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #20232a;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.nav-btn:hover {
  background-color: #444;
}

/* News Container */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* News Cards */
.news-card {
  color: #ccc;
  background: #1a1919;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.news-card h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #fff;
}

.news-card p {
  font-size: 0.9rem;
  color: #ccc;
  position: relative;
  top: 1rem;
}

.date-line {
  font-size: 0.8rem;
  color: #888;
  margin-top: -0.3rem;
  margin-bottom: 0.5rem;
}

.news-card a {
  display: inline-block;
  margin-top: 0.9rem;
  text-decoration: none;
  color: #007BFF;
  text-shadow: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.news-card a:hover {
  color: #3399ff;
}

.loading-text {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2rem;
}

/* Footer */
.news-footer {
  text-align: center;
  padding: 1rem;
  background: #1a1919;
  color: white;
  margin-top: 2rem;
}

.footer-text {
  margin: 0;
  font-size: 18px;
  position: relative;
  top: -0.1rem;
}
