/* ══════════════════════════════════════
   LearnProof v1 — Theme
   Bouwt op foundation.css (plugin).
   Definieert NIETS zelf, past alleen toe.
   ══════════════════════════════════════ */

/* ── Body ── */
body {
    margin: 0;
    padding: 0;
    font-family: var(--lc-font);
    color: var(--lc-text);
    background: var(--lc-surface);
    -webkit-font-smoothing: antialiased;
}

body.lp-product-page {
    background: var(--lc-bg);
}

/* ── Main ── */
.lp-main { min-height: 60vh; }

.lp-container {
    max-width: var(--lc-max-width);
    margin: 0 auto;
    padding: 0 var(--lc-space-md);
}

.lp-page-content {
    max-width: var(--lc-max-width);
    margin: 0 auto;
}

.lp-prose {
    max-width: var(--lc-max-width-narrow);
    margin: 0 auto;
    padding: var(--lc-space-xl) var(--lc-space-md);
    line-height: var(--lc-line-height);
}
.lp-prose h2 {
    font-size: var(--lc-font-size-xl);
    font-weight: 700;
    margin: var(--lc-space-xl) 0 var(--lc-space-md);
}
.lp-prose p { margin-bottom: var(--lc-space-md); }

/* ══════════════════════════════════════
   WEBSITE MENU
   Zelfde stijl als ProductHeader (.lp-header-link)
   via WP menu items.
   ══════════════════════════════════════ */

/* WP menu list reset */
.lp-header-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--lc-space-xs);
}

.lp-header-nav .menu-item { margin: 0; }

/* Menu links identiek aan .lp-header-link */
.lp-header-nav .menu-item a {
    color: var(--lc-text-muted);
    text-decoration: none;
    font-size: var(--lc-font-size-sm);
    font-weight: 500;
    padding: var(--lc-space-sm) var(--lc-space-md);
    border-radius: var(--lc-radius-md);
    transition: background 0.15s, color 0.15s;
    min-height: var(--lc-tap-min);
    display: inline-flex;
    align-items: center;
}

.lp-header-nav .menu-item a:hover {
    background: var(--lc-primary-light);
    color: var(--lc-primary);
}

.lp-header-nav .current-menu-item a {
    color: var(--lc-primary);
    font-weight: 600;
}

/* ── Mobiel + tablet menu (< 1025px) ──
   v5.99.8 - synced met foundation.css hamburger-breakpoint. */
@media (max-width: 1024px) {
    .lp-header-nav {
        position: absolute;
        top: var(--lc-header-height-mobile);
        left: 0;
        right: 0;
        background: var(--lc-surface);
        border-bottom: 1px solid var(--lc-border);
        box-shadow: var(--lc-shadow-md);
        flex-direction: column;
        padding: 0 var(--lc-space-md);
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
        display: flex;
    }

    .lp-header-nav.lp-nav-open {
        max-height: 400px;
        opacity: 1;
        padding: var(--lc-space-sm) var(--lc-space-md) var(--lc-space-md);
    }

    .lp-header-nav .menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .lp-header-nav .menu-item a,
    .lp-header-nav .lp-header-link {
        display: flex;
        align-items: center;
        padding: var(--lc-space-sm) var(--lc-space-md);
        min-height: 48px;
        font-size: var(--lc-font-size-base);
        border-radius: var(--lc-radius-md);
        width: 100%;
    }

    .lp-header-nav .lp-header-btn {
        justify-content: center;
        margin-top: var(--lc-space-sm);
    }

    .lp-header-inner { position: relative; }
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.lp-footer {
    padding: var(--lc-space-xl) var(--lc-space-md);
    border-top: 1px solid var(--lc-border);
    text-align: center;
    background: var(--lc-bg);
}

.lp-footer-inner {
    max-width: var(--lc-max-width);
    margin: 0 auto;
}

.lp-footer-links {
    display: flex;
    justify-content: center;
    gap: var(--lc-space-lg);
    margin-bottom: var(--lc-space-md);
}

.lp-footer-links a {
    color: var(--lc-text-muted);
    text-decoration: none;
    font-size: var(--lc-font-size-sm);
    font-weight: 500;
    min-height: var(--lc-tap-min);
    display: inline-flex;
    align-items: center;
}
.lp-footer-links a:hover { color: var(--lc-primary); }

.lp-footer-copy {
    color: var(--lc-text-light);
    font-size: var(--lc-font-size-xs);
}
.lp-footer-copy a {
    color: var(--lc-text-light);
    text-decoration: none;
}
.lp-footer-copy a:hover { color: var(--lc-primary); }

@media (max-width: 480px) {
    .lp-footer-links {
        flex-direction: column;
        gap: var(--lc-space-xs);
    }
}
