.container { max-width:1320px; margin:auto; padding:32px 20px }

/* Featured artikel */
.featured-article {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  //border-radius: 12px;
  margin-bottom: 60px;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
  transition: transform 0.6s ease;
  border-radius: 0;
}
.featured-article:hover .featured-image { transform: scale(1.05); }

/* Blauwe balk met titel */
.featured-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 64, 128, 0.60);
  padding: 1.2rem 2rem;
  text-align: center;
  z-index: 2;
}

.featured-topbar h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: none; /* Geen hoofdletters */
  letter-spacing: 0.5px;
  margin: 0;
  text-align: left; /* Links uitgelijnd */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  width: 100%;
  max-width: 900px;
}

.featured-overlay h3 {
  font-size: 2.0rem;
  margin-bottom: 0.5rem;
}

.featured-date { font-size: 0.9rem; color: #ddd; margin-bottom: 1rem; }
.featured-overlay p { font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }

.featured-button {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.featured-button:hover { background-color: #0066cc; }

/* Artikelen carrousel */
.article-carousel-container { position: relative; overflow: hidden; }
.article-carousel { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 2rem; padding: 1rem 2rem; }
.article-carousel::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}
.card:hover { box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15); }

.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 1rem; color: #111827; }
.datum { color: #aaa; font-size: 0.9em; margin-bottom: 20px; }
.card-text { color: #4b5563; line-height: 1.5; max-height: 12em; overflow: hidden; }
.lees-meer { display: inline-block; margin-top: 0.5rem; color: #004080; font-weight: bold; text-decoration: none; }
.lees-meer:hover { text-decoration: underline; }

.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}
.scroll-button:hover { background-color: rgba(240, 240, 240, 1); }
.scroll-button.left { left: 0.5rem; }
.scroll-button.right { right: 0.5rem; }

@media (max-width: 768px) {
  .featured-article { height: 400px; }
  .featured-overlay { padding: 1rem; }
  .featured-overlay h2 { font-size: 1.4rem; }
  .card { flex: 0 0 90%; }
  .scroll-button { display: none; }
}