/* ── Voorwaarden overview page ──────────────────────────────────────────────
   Relies on css/site.css for :root tokens and .container
   ──────────────────────────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────────── */
.vw-hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border, #e6eaf0);
  margin-bottom: 36px;
}

.vw-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent, #d61f26);
  margin-bottom: 14px;
}

.vw-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text, #14161a);
  line-height: 1.2;
  margin-bottom: 12px;
}

.vw-hero p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted, #5b6472);
  max-width: 600px;
  margin-bottom: 18px;
}

.vw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vw-meta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #5b6472);
  background: var(--surface, #f8f9fc);
  border: 1px solid var(--border, #e6eaf0);
  border-radius: 8px;
  padding: 5px 12px;
}

/* ── Card grid ─────────────────────────────────────────────────────────── */
.vw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 80px;
}

/* ── Individual card (uses <details>) ──────────────────────────────────── */
.vw-card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e6eaf0);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

/* Remove default details marker */
.vw-card summary { list-style: none; }
.vw-card summary::-webkit-details-marker { display: none; }

.vw-card:hover {
  border-color: #c5cad4;
  box-shadow: 0 4px 18px rgba(20,22,26,.07);
}

.vw-card[open] {
  border-color: var(--accent, #d61f26);
  box-shadow: 0 4px 18px rgba(214,31,38,.08);
}

/* Summary row */
.vw-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.vw-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface, #f8f9fc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #d61f26);
  transition: background .18s ease;
}

.vw-card[open] .vw-card-icon {
  background: rgba(214,31,38,.1);
}

.vw-card-label {
  flex: 1;
  min-width: 0;
}

.vw-card-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted, #5b6472);
  line-height: 1;
  margin-bottom: 3px;
}

.vw-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text, #14161a);
  line-height: 1.3;
}

.vw-card-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted, #5b6472);
  transition: transform .28s ease, color .18s ease;
}

.vw-card[open] .vw-card-chevron {
  transform: rotate(180deg);
  color: var(--accent, #d61f26);
}

/* Card body */
.vw-body {
  overflow: hidden;
  /* JS controls height for animation; CSS provides the visual */
}

.vw-body-inner {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border, #e6eaf0);
}

.vw-body-inner p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted, #5b6472);
  margin-bottom: 10px;
}

.vw-body-inner p:last-child { margin-bottom: 0; }

.vw-body-inner ul,
.vw-body-inner ol {
  margin: 8px 0 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vw-body-inner li {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted, #5b6472);
}

.vw-body-inner strong { color: var(--text, #14161a); font-weight: 700; }

.vw-body-inner a {
  color: var(--accent, #d61f26);
  text-decoration: none;
  font-weight: 600;
}

.vw-body-inner a:hover { text-decoration: underline; }

/* Highlight note inside card */
.vw-note {
  background: rgba(214,31,38,.05);
  border: 1px solid rgba(214,31,38,.18);
  border-radius: 10px;
  padding: 12px 15px;
  margin: 10px 0;
}

.vw-note p {
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--text, #14161a) !important;
}

/* Table inside card */
.vw-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 13px;
}

.vw-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--surface, #f8f9fc);
  border: 1px solid var(--border, #e6eaf0);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text, #14161a);
}

.vw-table td {
  padding: 8px 12px;
  border: 1px solid var(--border, #e6eaf0);
  color: var(--muted, #5b6472);
  line-height: 1.45;
}

/* ── "Zie alles" card ──────────────────────────────────────────────────── */
.vw-card-all {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  background: #1d3557;
  border: none;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
  margin-top: 4px;
}

.vw-card-all:hover {
  background: #162c47;
  box-shadow: 0 8px 28px rgba(29,53,87,.28);
}

.vw-all-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.vw-card-all:hover .vw-all-icon {
  background: rgba(255,255,255,.2);
}

.vw-all-copy { flex: 1; }

.vw-all-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.vw-all-copy span {
  font-size: 13px;
  color: rgba(255,255,255,.68);
}

.vw-all-arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,.6);
  transition: transform .2s ease;
}

.vw-card-all:hover .vw-all-arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,.9);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .vw-grid { grid-template-columns: 1fr; }
  .vw-card-all { grid-column: span 1; }
}

@media (max-width: 480px) {
  .vw-summary { padding: 14px 14px; gap: 12px; }
  .vw-card-icon { width: 36px; height: 36px; }
  .vw-card-title { font-size: 14px; }
}
