/* Header name beside the logo image, and phone cards for wide tables */
.logo-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: var(--text-light, #fff);
    margin-left: 0.6rem;
    white-space: nowrap;
}

/* Six menu items: tighter bar on desktop, the phone menu up to 1180 px */
@media (min-width: 1181px) {
    .nav-menu { gap: 1.25rem; }
    .nav-link { font-size: 0.9rem; white-space: nowrap; }
    .header-actions .cta-btn { white-space: nowrap; font-size: 1rem; padding: 0.7rem 1.4rem; }
    .logo-name { margin-right: 1rem; }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .header-inner { gap: 1rem; }
    .logo-link { order: 1; }
    .header-actions { order: 2; margin-left: auto; }
    .nav-hamburger { order: 3; display: flex; }
    .header-actions .cta-btn { white-space: nowrap; font-size: 1rem; padding: 0.7rem 1.2rem; }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }
    .nav-toggle:checked ~ .nav-menu { display: flex; }
    .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 820px) {
    table.lj-cards,
    table.lj-cards tbody,
    table.lj-cards tr,
    table.lj-cards td {
        display: block;
        width: 100%;
    }

    table.lj-cards thead {
        display: none;
    }

    table.lj-cards tr {
        padding: 1rem;
        border-bottom: 1px solid var(--border, #32324a);
    }

    table.lj-cards tr:last-child {
        border-bottom: none;
    }

    table.lj-cards td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        padding: 0.4rem 0;
        border: 0;
        text-align: right;
        overflow-wrap: anywhere;
    }

    table.lj-cards td::before {
        flex: 0 0 auto;
        max-width: 55%;
        text-align: left;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted, #8e8eab);
    }

    table.lj-cards td:first-child {
        display: block;
        padding-bottom: 0.6rem;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-light, #fff);
    }

    table.lj-cards td:first-child::before {
        content: none;
    }

    table.lj-bonus td:nth-child(2)::before { content: "Bonus Percentage"; }
    table.lj-bonus td:nth-child(3)::before { content: "Maximale Bonus"; }
    table.lj-bonus td:nth-child(4)::before { content: "Extra Beloning"; }

    table.lj-pay td:nth-child(2)::before { content: "Min. Storting"; }
    table.lj-pay td:nth-child(3)::before { content: "Min. Opname"; }
    table.lj-pay td:nth-child(4)::before { content: "Verwerkingstijd (Opname)"; }
    table.lj-pay td:nth-child(5)::before { content: "Transactiekosten"; }

    table.lj-rtp td:nth-child(2)::before { content: "Gemiddelde RTP"; }
    table.lj-rtp td:nth-child(3)::before { content: "Volatiliteit"; }

    table.lj-sport td:nth-child(2)::before { content: "Pre-Match Wedden"; }
    table.lj-sport td:nth-child(3)::before { content: "Live In-Play Wedden"; }

    table.lj-limits td:nth-child(2)::before { content: "Beschrijving"; }
    table.lj-limits td:nth-child(3)::before { content: "Aanpassingstijd (Verlagen)"; }
    table.lj-limits td:nth-child(4)::before { content: "Aanpassingstijd (Verhogen)"; }

    .editorial-split,
    .editorial-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .editorial-grid > *,
    .split-hero > * { min-width: 0; }

    table.lj-max td:nth-child(2)::before { content: "Storting voor het maximum"; }
    table.lj-max td:nth-child(3)::before { content: "Bonus"; }
}
