@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f6f7f9;
  color: #222;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
}

.header {
  background: #0f172a;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.header h1 {
  font-size: 2.2rem;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1rem 1.2rem 1.5rem;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card h2 a {
  text-decoration: none;
  color: #0f172a;
}

.card h2 a:hover {
  text-decoration: underline;
}

.meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.excerpt {
  font-size: 0.95rem;
  color: #334155;
}

.footer {
  margin-top: 4rem;
  background: #0f172a;
  color: white;
  text-align: left;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .header h1 {
    font-size: 1.7rem;
  }

  .card img {
    height: 150px;
  }
}

.article-links {
  margin-top: 4rem;
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.article-links h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.article-links ul {
  list-style: none;
  padding-left: 0;
}

.article-links li {
  border-bottom: 1px solid #e5e7eb;
}

.article-links li:last-child {
  border-bottom: none;
}

.article-links a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  color: #2563eb;
  font-size: 0.95rem;
}

.article-links a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

