/* ============================================================
   huiswerk.css — Pagina voor huiswerkopdrachten
   ============================================================ */

.hw-page {
  max-width: 800px;
  width: 100%;
}

.hw-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--accent2);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.6s ease both;
}

.hw-page .subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.1s ease both;
  opacity: 0;
}

/* --- Opdracht kaart --- */
.opdracht {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease both;
  opacity: 0;
  transition: border-color 0.2s;
}
.opdracht:hover { border-left-color: var(--accent2); }
.opdracht .vak {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.opdracht h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.opdracht p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.opdracht .datum {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
