/* ============================================================
   I-JOB (i-job.site) — Taalkiezer
============================================================ */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Geist Mono', monospace;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color .15s, background-color .15s;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover,
.lang-switch[open] > summary { color: var(--text-primary); background: var(--bg-secondary); }
.lang-switch > summary svg { width: 16px; height: 16px; }
.lang-switch > summary .lang-caret { width: 12px; height: 12px; transition: transform .2s; }
.lang-switch[open] > summary .lang-caret { transform: rotate(180deg); }
.lang-switch > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 120;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.lang-menu a:hover { background: var(--bg-secondary); color: var(--text-primary); }
.lang-menu a.is-current { color: var(--brand); font-weight: 600; }
.lang-code {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: var(--bg-secondary);
  font-family: 'Geist Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.lang-menu a.is-current .lang-code { background: var(--brand); color: #fff; }

/* Donker thema + transparante nav boven video-hero */
.theme-dark .lang-switch > summary { color: rgba(255,255,255,.75); }
.theme-dark .lang-switch > summary:hover,
.theme-dark .lang-switch[open] > summary { color: #fff; background: rgba(255,255,255,.06); }
.theme-dark .lang-menu { background: #11162a; border-color: rgba(255,255,255,.1); }
.theme-dark .lang-menu a { color: rgba(255,255,255,.75); }
.theme-dark .lang-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.theme-dark .lang-code { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
body.has-video-hero .nav:not(.scrolled) .lang-switch > summary { color: rgba(24,24,27,.82); }

/* Mobiel: taalkiezer als rij knoppen in het uitklapmenu */
.nav-links > li.lang-mobile { display: none; }
@media (max-width: 880px) {
  body nav#nav ul#navLinks > li.lang-item { display: none !important; }
  body.menu-open nav#nav ul#navLinks > li.lang-mobile {
    display: flex !important;
    gap: 6px;
    margin-top: 12px !important;
  }
  body.menu-open nav#nav ul#navLinks > li.lang-mobile > a {
    flex: 1 1 0;
    justify-content: center !important;
    padding: 10px 0 !important;
    border: 1px solid var(--border) !important;
    font-family: 'Geist Mono', monospace !important;
    font-size: .8125rem !important;
    font-weight: 600 !important;
  }
  body.menu-open nav#nav ul#navLinks > li.lang-mobile > a.is-current {
    border-color: var(--brand) !important;
    color: var(--brand) !important;
  }
  body.theme-dark.menu-open nav#nav ul#navLinks > li.lang-mobile > a { border-color: rgba(255,255,255,.14) !important; }
}

/* Vertaalde review-melding */
.review__translated {
  margin-top: -6px;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-muted);
}
