@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
.container, .article-index {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem; }

.container, .article-index {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem; }

html {
  font-size: 16px; }

body {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333; }

/* Headings */
h1 {
  font-size: 2.5rem;
  font-weight: 700; }

h2 {
  font-size: 2rem;
  font-weight: 700; }

h3 {
  font-size: 1.5rem;
  font-weight: 600; }

h4 {
  font-size: 1.25rem;
  font-weight: 600; }

h5 {
  font-size: 1.125rem; }

h6 {
  font-size: 1rem; }

/* Paragraphs */
p {
  font-size: 1rem;
  line-height: 1.6; }

/* Helpers */
.text-small {
  font-size: 0.875rem; }

.text-large {
  font-size: 1.125rem; }

html, body {
  height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

main {
  flex: 1; }

.article-index {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0; }

/* Titel en intro */
.article-index h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333; }

.article-index .intro {
  line-height: 1.6;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem; }

/* Lijst van artikelen */
.article-list {
  display: grid;
  /* Altijd 3 kolommen op grote schermen */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* gelijke ruimte tussen alle items */
  width: 100%; }

/* Individueel artikel-item */
.article-list-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s; }

.article-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }

/* Thumbnail-afbeelding */
.article-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block; }

/* Info-blokje */
.article-info {
  padding: 1rem; }

.article-info h2 {
  margin: 0 0 0.5rem;
  color: #222; }

.article-info time {
  color: #888; }

/* Link-styling */
.article-list-item a {
  text-decoration: none;
  color: inherit;
  display: block; }

@media (max-width: 768px) {
  .article-list {
    grid-template-columns: 1fr; }
  .article-thumb {
    height: 140px; } }
