/* Nieuws: overzicht met foto's, in tegels */
.nws-page .doc-card { max-width: 1120px; }
.nws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 8px; }
.nws-kaart { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--border); text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 43, .05); transition: transform .25s ease, box-shadow .25s ease; }
.nws-kaart:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(15, 26, 43, .4); }
.nws-kaart:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nws-beeld { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #DDE3EC; }
.nws-beeld img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nws-kaart:hover .nws-beeld img { transform: scale(1.05); }
.nws-tekst { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.nws-cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nws-titel { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.nws-zin { font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nws-meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Het eerste bericht: groot, met de tekst over de foto */
.nws-kaart--groot { grid-column: span 2; grid-row: span 2; min-height: 420px; border: 0; background: #0F1A2B; }
.nws-kaart--groot .nws-beeld { position: absolute; inset: 0; aspect-ratio: auto; }
.nws-kaart--groot .nws-beeld::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 43, 0) 30%, rgba(15, 26, 43, .55) 62%, rgba(15, 26, 43, .92) 100%); }
.nws-kaart--groot .nws-tekst { position: relative; justify-content: flex-end; padding: 26px 28px 26px; color: #FFFFFF; }
.nws-kaart--groot .nws-cat { color: #FFFFFF; background: var(--accent); padding: 4px 9px; border-radius: 6px; }
.nws-kaart--groot .nws-titel { font-size: clamp(22px, 3vw, 30px); line-height: 1.18; letter-spacing: -0.02em; max-width: 620px; color: #FFFFFF; }
.nws-kaart--groot .nws-zin { color: rgba(255, 255, 255, .86); font-size: 15px; max-width: 600px; -webkit-line-clamp: 2; }
.nws-kaart--groot .nws-meta { margin-top: 0; color: rgba(255, 255, 255, .78); }
.nws-kaart--groot:hover { color: #FFFFFF; }
/* Foto bovenaan een bericht */
.nws-kop { margin: 18px 0 22px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #DDE3EC; }
.nws-kop img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .nws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nws-kaart--groot { min-height: 340px; }
}
@media (max-width: 600px) {
  .nws-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nws-kaart--groot { grid-column: auto; grid-row: auto; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .nws-kaart, .nws-beeld img { transition: none; }
  .nws-kaart:hover { transform: none; }
  .nws-kaart:hover .nws-beeld img { transform: none; }
}
@media print { .nws-kop { display: none; } }
