@font-face {
  font-family: Quicksand;
  src: url("assets/quicksand.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: #3e4851;
  font-family: Quicksand, Arial, sans-serif;
}
main { max-width: 1140px; margin-inline: auto; padding: 14px 12px; }
h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.15; }
nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce1e4;
  border-radius: 10px;
  background: white;
  box-shadow: 0 1px 3px #3e485126;
  color: inherit;
  text-decoration: none;
}
a:hover { border-color: #f59a00; }
a:hover span { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #006ca2; outline-offset: 2px; }
img {
  display: block;
  width: 100%;
  /* Houd in het iframe ruimte vrij voor de kop, twee labels en de focusrand. */
  height: min(clamp(72px, 16vw, 172px), max(36px, calc(50dvh - 92px)));
  object-fit: cover;
}
span {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 40px;
  padding: 7px 4px;
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  main { padding: 10px 8px; }
  nav { gap: 8px; }
  h2 { font-size: 24px; margin-bottom: 10px; }
  span { min-height: 45px; font-size: 14px; }
}
