.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-preview a {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-preview a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.article-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.article-preview h2 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.article-preview p {
  color: #555;
  line-height: 1.5;
}
.article-list {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.article-list li {
  margin-bottom: 0.75rem;
}
.article-list a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.article-list a:hover {
  background-color: #f8f9fa;
  text-decoration: underline;
}
