/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.logo span {
  color: #e63946;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}
nav a:hover {
  color: #e63946;
}

.search-bar {
  display: flex;
  gap: 8px;
}
.search-bar input {
  padding: 6px 10px;
  border-radius: 5px;
  border: none;
}
.search-bar button {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 5px;
}
.search-bar button:hover {
  background: #c71c2c;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px 40px;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card-content {
  padding: 15px;
}
.news-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #111;
}
.news-card-content p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}
.news-card-content a {
  text-decoration: none;
  color: #e63946;
  font-weight: bold;
}

/* Load More */
.load-more {
  display: block;
  margin: 20px auto 50px auto;
  padding: 10px 20px;
  font-size: 1rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.load-more:hover {
  background: #e63946;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}
