/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f7f8fa;
  color: #222;
  line-height: 1.6;
}

/* HEADER */
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 30px 20px;
  text-align: center;
}

header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

header p {
  color: #555;
  font-size: 15px;
}

/* NAVIGATION */
nav {
  background: #111827;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #e5e7eb;
  padding: 14px 18px;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  background: #1f2933;
  color: #ffffff;
}

/* MAIN CONTAINER */
.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}

.container h2 {
  font-size: 26px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
}

/* CARD */
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.category {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card h2 a {
  color: #111827;
  text-decoration: none;
}

.card h2 a:hover {
  text-decoration: underline;
}

.card p {
  font-size: 15px;
  color: #374151;
}

/* FOOTER */
footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  header h1 {
    font-size: 28px;
  }

  .card h2 {
    font-size: 18px;
  }
}
