/* Swift logo */
img.swift-icon {
  filter: none;
  width: 120px;
  height: 120px;
}

/* Schaduw op screenshots voor contrast op witte achtergrond */
figure img {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
}

figcaption {
  text-align: center;
}

/* Links op code-termen — zelfde uiterlijk als gewone code */
a:has(code) {
  text-decoration: none !important;
  color: var(--bs-code-color) !important;
}
a:has(code):hover {
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  color: var(--bs-code-color) !important;
}

/* Tekstlinks naar woordenlijst — zelfde uiterlijk als gewone tekst */
a.wl {
  text-decoration: none;
  color: inherit;
}
a.wl:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Terug-knop in woordenlijst */
.terug-knop {
  font-weight: normal;
  text-decoration: none;
  margin-left: 1rem;
  float: right;
}
.terug-knop:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
