/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

/* Header and Navigation */
.top-bar {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #ff6a3d;
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-right: 20px;
}

.nav-list li a {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 10px;
  transition: background-color 0.3s;
}

.nav-list li a:hover {
  background-color: #444;
  border-radius: 5px;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.article-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.article-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.article-card img {
  width: 100%;
  height: auto;
}

.article-content {
  padding: 15px;
}

.article-content h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.article-content p {
  font-size: 14px;
  color: #777;
}

.load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #ff6a3d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.load-more:hover {
  background-color: #ff5630;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}
