/* ===============================================
   BEGRIPPENLIJST V2 — minimal custom CSS
   Everything else uses Bootstrap utilities.
   =============================================== */

.v2-container {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
}

/* ---------- Sidebar ---------- */
.v2-sidebar {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    border-right: 1px solid var(--ds-line);
    scrollbar-width: none;
}
.v2-sidebar::-webkit-scrollbar { display: none; }

.v2-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    font-size: 0.845rem;
    color: var(--ds-ink-soft);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
    line-height: 1.35;
}
.v2-toc-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-90);
}
.v2-toc-link.active {
    color: var(--color-primary);
    background: var(--color-primary-90);
    border-left-color: var(--color-primary);
    font-weight: 600;
}
.v2-toc-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--ds-muted);
    width: 18px;
    text-align: right;
    flex-shrink: 0;
}
.v2-toc-link.active .v2-toc-num { color: var(--color-primary); }

/* ---------- Sections ---------- */
.v2-sec {
    padding: 52px 44px 44px;
    border-bottom: 1px solid var(--ds-line);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 72px;
}
.v2-sec:last-child { border-bottom: none; }
/* Big decorative background number */
.v2-sec::before {
    content: attr(data-num);
    position: absolute;
    right: -4px;
    top: -14px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 9rem;
    line-height: 1;
    color: var(--v2c, var(--color-primary));
    opacity: 0.05;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.04em;
}

.v2-eyebrow {
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v2c, var(--color-primary));
    display: block;
    margin-bottom: 6px;
}

/* ---------- Sub-section titles ---------- */
.v2-sub {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ds-ink);
    padding-left: 14px;
    border-left: 3px solid var(--v2c, var(--color-primary));
    margin: 28px 0 12px;
    line-height: 1.3;
}

/* ---------- Rule list ---------- */
.v2-rule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ds-line);
    font-size: 0.91rem;
    color: var(--ds-ink-soft);
    line-height: 1.55;
}
.v2-rule:first-child { border-top: 1px solid var(--ds-line); }
.v2-rule strong { color: var(--ds-ink); }
.v2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
    background: var(--v2c, var(--color-primary));
}
.v2-dot--warn  { background: #f59e0b; }
.v2-dot--alert { background: #ef4444; }
.v2-dot--ok    { background: #22c55e; }

/* ---------- Stat pills ---------- */
.v2-stat {
    background: var(--v2c, var(--color-primary));
    color: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
}
.v2-stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}
.v2-stat-lbl {
    font-size: 0.73rem;
    opacity: 0.88;
    line-height: 1.3;
}

/* ---------- Formula ---------- */
.v2-formula {
    border: 2px solid var(--v2c, var(--color-primary));
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ds-ink);
    letter-spacing: -0.01em;
}

/* ---------- Image captions ---------- */
.v2-cap {
    font-size: 0.79rem;
    color: var(--ds-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
    display: block;
}

/* ---------- Speed sign area ---------- */
.v2-sign-area {
    background: var(--ds-bg-alt);
    border-bottom: 1px solid var(--ds-line);
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 130px;
}
.v2-sign-area img {
    max-height: 100px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.12));
}

/* ---------- Danger column headers ---------- */
.v2-danger-hd-red    { background: #ef4444; }
.v2-danger-hd-orange { background: #f59e0b; }
.v2-danger-hd-green  { background: #22c55e; }

.v2-danger-item {
    font-size: 0.875rem;
    color: var(--ds-ink-soft);
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
    padding-top: 2px;
    padding-bottom: 2px;
}
.v2-danger-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.v2-dc-red    .v2-danger-item::before { background: #ef4444; }
.v2-dc-orange .v2-danger-item::before { background: #f59e0b; }
.v2-dc-green  .v2-danger-item::before { background: #22c55e; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .v2-sidebar { display: none; }
    .v2-sec { padding: 40px 24px 32px; }
}
@media (max-width: 767px) {
    .v2-sec { padding: 32px 16px 28px; }
    .v2-sec::before { font-size: 6rem; }
}
