/* Academie: tegels met cursussen. Kleuren en lettertype komen uit /assets/style.css. */
.ac-groep { position: relative; z-index: 1; width: 100%; margin: 0 0 56px; }
.ac-groep h2 { margin: 0 0 16px; font-size: 1.3rem; }
.ac-groep[hidden], .ac-sub[hidden], .ac-cats[hidden], .ac-subs[hidden], .ac-zoek[hidden], .ac-tegel[hidden] { display: none; }
.ac-plek { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ac-plek[hidden], .ac-slot[hidden], .ac-skip[hidden] { display: none; }
.ac-plek .ac-tegel { flex: 1; }
.ac-plek.op-slot .ac-tegel { opacity: .55; cursor: not-allowed; }
.ac-tegel.overgeslagen { opacity: .75; }
.ac-skip { align-self: flex-end; min-height: 36px; padding: 4px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.ac-skip:hover { color: var(--fg); }
.ac-intro { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto 28px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.ac-intro h2 { margin: 0 0 10px; font-size: 1.25rem; }
.ac-intro p { margin: 0 0 10px; color: var(--muted); }
.ac-kan { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ac-kan li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.ac-niveau h2 { margin-bottom: 4px; }
.ac-niveau-tekst { margin: 0 0 16px; color: var(--muted); }
.ac-slot { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.ac-zoek { position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto 20px; text-align: center; }
.ac-zoek input { width: 100%; min-height: 48px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg); font: inherit; }
.ac-zoek input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ac-zoek p { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.ac-zoek p:empty { display: none; }
.ac-zoek p[hidden] { display: none; }
.ac-tegel.gedaan { border-color: rgba(62,207,142,0.45); }
.ac-tegel.gedaan .ac-pijl { color: #3ecf8e; }
.cu-download { margin-bottom: 16px; }
.dp-uitleg ol, .dp-uitleg ul { margin: 0 0 16px; padding-left: 1.3em; color: var(--muted); }
.dp-uitleg li { margin-bottom: 6px; }
.dp-uitleg b, .dp-uitleg dt { color: var(--fg); font-weight: 700; }
.dp-uitleg h2:not(:first-child) { margin-top: 20px; }
.dp-uitleg dl { margin: 0 0 16px; }
.dp-uitleg dd { margin: 0 0 8px; color: var(--muted); }
.dp-lijst { position: relative; z-index: 1; width: 100%; margin-bottom: 24px; }
.dp-kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; align-items: start; }
.dp-kaart { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.dp-kaart[hidden] { display: none; }
.dp-kaart[open] { grid-column: 1 / -1; border-color: rgba(77,163,255,0.5); }
.dp-kaart summary { min-height: 48px; padding: 14px 16px; cursor: pointer; }
.dp-kaart summary small { margin-left: 6px; color: var(--muted); }
.dp-kaart > p, .dp-kaart > ol, .dp-links { margin: 0 16px 12px; }
.dp-kaart > ol { padding-left: 1.3em; color: var(--muted); }
.dp-letop { font-size: .9rem; color: #ff9f43; }
.dp-links { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.cu-vooraf { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: rgba(77,163,255,0.1); font-size: .9rem; }
.ac-tegel.binnenkort { opacity: .6; }
.ac-tegel.binnenkort:hover { transform: none; box-shadow: none; border-color: var(--line); }
.ac-label { flex: none; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; color: var(--muted); }
.ac-cats { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.ac-cat-lijst { flex: 1; min-width: 0; display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ac-cat-lijst::-webkit-scrollbar { display: none; }
.ac-cat, .ac-cat-pijl, .ac-sub-knop { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg); font: inherit; cursor: pointer; transition: border-color .25s, background .25s; }
.ac-cat { flex: none; padding: 8px 20px; font-weight: 700; }
.ac-cat-pijl { flex: none; width: 44px; font-size: 1.1rem; }
.ac-cat:hover, .ac-sub-knop:hover, .ac-cat-pijl:hover:not(:disabled) { border-color: rgba(77,163,255,0.5); }
.ac-cat-pijl:disabled { opacity: .35; cursor: default; }
.ac-cat.actief { border-color: transparent; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; }
.ac-subs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 20px; }
.ac-sub-knop { padding: 6px 16px; font-size: .9rem; color: var(--muted); }
.ac-sub-knop.actief { border-color: var(--accent); color: var(--fg); }
.ac-sub { margin: 0 0 24px; }
.ac-sub h3 { margin: 0 0 12px; font-size: 1.05rem; color: var(--muted); }
.ac-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ac-tegel { display: flex; align-items: center; gap: 16px; min-height: 104px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--fg); transition: transform .15s, box-shadow .25s, border-color .25s; }
.ac-tegel:hover, .ac-tegel:focus-visible { text-decoration: none; transform: translateY(-3px); border-color: rgba(77,163,255,0.5); box-shadow: 0 10px 28px rgba(77,163,255,0.18); }
.ac-icoon { flex: none; width: 60px; height: 42px; border-radius: 6px; object-fit: cover; font-size: 2.2rem; line-height: 42px; text-align: center; }
.ac-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-tekst strong { font-size: 1.1rem; }
.ac-tekst em { font-style: normal; font-size: .85rem; color: var(--accent); }
.ac-tekst span { font-size: .9rem; color: var(--muted); }
.ac-pijl { flex: none; font-size: 1.2rem; color: var(--muted); transition: transform .15s, color .25s; }
.ac-tegel:hover .ac-pijl { transform: translateX(3px); color: var(--fg); }
/* Cursus: stappen, prompt en certificaat */
.cu { position: relative; z-index: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.cu h2 { margin: 0 0 8px; font-size: 1.4rem; }
.cu-balk { height: 6px; margin-bottom: 16px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cu-balk span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.cu-fase { margin: 0 0 8px; font-size: .85rem; color: var(--accent); }
.cu-uitleg { margin: 0 0 16px; color: var(--muted); }
.cu-opties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.cu-optie { min-height: 56px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.03); color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .25s, background .25s; }
.cu-optie:hover, .cu-optie.actief { border-color: var(--accent); background: rgba(77,163,255,0.1); }
.cu-vrij { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cu-vrij input { flex: 1 1 200px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; }
.cu-vrij .btn { cursor: pointer; font-family: inherit; }
.cu-tussen { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.cu-tussen strong { color: var(--fg); }
.cu-tussen span { white-space: pre-line; }
.cu-tussen pre { margin: 0; white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; }
.cu-uitkomst.cu-code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; white-space: pre; overflow-x: auto; }
.cu-vorige { min-height: 44px; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.cu-uitkomst { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; resize: vertical; }
.cu .cta-row { justify-content: flex-start; margin: 14px 0 24px; }
.cu .cta-row .btn { cursor: pointer; font-family: inherit; }
.cu-cert { container-type: inline-size; position: relative; aspect-ratio: 2000 / 1281; border-radius: 8px; background: #f2f2f2 url(/MODULES/certificaat.jpg) center / 100% 100% no-repeat; color: #222; text-align: center; overflow: hidden; }
.cu-cert p { margin: 0 0 .7cqw; font-size: 1.8cqw; line-height: 1.2; }
.cu-cert > :first-child { margin-top: 41.5cqw; }
.cu-cert .cu-cert-naam { font-size: 3.6cqw; font-weight: 800; overflow-wrap: anywhere; padding: 0 6cqw; }
.cu-cert .cu-cert-naam.lang { font-size: 2.6cqw; }
.cu-cert .cu-cert-cursus { font-size: 2.3cqw; font-weight: 700; padding: 0 6cqw; }
.cu-cert .cu-cert-voet { margin: 0; font-size: 1.4cqw; color: #666; }
.cu-terug { position: relative; z-index: 1; margin: 20px 0 48px; text-align: center; }
@media print {
  body * { visibility: hidden; }
  .cu-cert, .cu-cert * { visibility: visible; }
  @page { size: A4 landscape; margin: 0; }
  html, body { background: #fff !important; }
  #bg, .cursor, .cursor-dot { display: none !important; }
  .cu-cert { position: fixed; left: 0; top: calc((100vh - 64.05vw) / 2); width: 100vw; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { .ac-tegel, .ac-pijl { transition: none; } .ac-tegel:hover, .ac-tegel:hover .ac-pijl { transform: none; } }
