/* Algemene opmaak */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.5;
  font-size: 1.1rem;
  margin: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background-color: #2c3e50;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 10px;
}


/* Header */
header {
  background: #2c3e50;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

header img {
  height: 2.5rem;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

/* Navigatie */
header nav {
  display: flex;
  gap: 15px;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

header nav a:hover {
  color: #fff176;
  border-bottom: 2px solid #fff176;
}

header nav a:focus {
  outline: 2px dashed #ffd700;
  outline-offset: 4px;
}

/* Nieuws sectie */
h2 {
  text-align: center;
  margin-top: 1.5rem;
}

/* Layout: content + sidebar */
.content-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

/* Tablet */
@media (min-width: 900px) {
  .content-container {
    grid-template-columns: 3fr 1fr;
    align-items: start;
  }
}

/* Artikelen */
main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  main {
    grid-template-columns: repeat(2, 1fr);
  }
}

article {
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

article:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

article img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: cover;
  height: auto;
}

/* Sidebar */
.sidebar {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.sidebar h3 {
  margin-top: 0;
  color: #2c3e50;
}

.kort-nieuws-item {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.kort-nieuws-item:last-child {
  border-bottom: none;
}

.kort-nieuws-item h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: #2c3e50;
}

.kort-nieuws-item p {
  margin: 0;
  font-size: 0.95rem;
   color: #555
}

/* Footer */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 20px;
}
