/* Section: eav-table — migrated to canonical navy/blue tokens (Phase 1) */

.eav-section {
    background: var(--surface);
    padding: 70px 0 100px;
}

.eav-section .header-row {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    margin-bottom: 30px;
    align-items: end;
}

.eav-section .header-row--single {
    grid-template-columns: 1fr;
}

.eav-section .header-row h2 {
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink);
}

.eav-section .eyebrow {
    color: var(--green);
    letter-spacing: 0;
}

.eav-section .lede {
    color: var(--muted);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .eav-section .header-row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   TABLE
========================= */

.eav-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card);

    /* Buitenrand */
    border: 1px solid var(--line);

    border-radius: var(--r);
    overflow: hidden;
}

.eav-table th,
.eav-table td {
    text-align: left;
    padding: 13px 18px;
    vertical-align: top;
    font-size: .94rem;

    /* Binnenlijnen */
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eav-table thead th {
    background: var(--blue-l);
    color: var(--green);
    font-family: var(--display);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.eav-table th:first-child {
    width: 45%;
}

/* Laatste kolom */
.eav-table tr > *:last-child {
    border-right: 0;
}

/* Laatste rij */
.eav-table tbody tr:last-child > * {
    border-bottom: 0;
}

/* Zebra */
.eav-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

/* Onderwerp-kolom */
.eav-table .attribute,
.eav-table td:first-child {
    font-weight: 600;
    color: var(--ink);
}

.eav-table .value {
    color: var(--ink);
    font-weight: 500;
}

.eav-section--values-only .eav-table .value {
    font-weight: 500;
}

/* Entity */
.eav-table th[scope="row"].entity {
    text-align: left;
    font-weight: 700;
    color: var(--rc-primary, #1F2D5C);
    white-space: nowrap;
}

.eav-section--cols3 .eav-table td.attribute {
    color: #475569;
}

.eav-table thead th {
    text-align: left;
}

/* Mobiel */
@media (max-width: 767px) {.eav-section{padding: 50px 0 70px;} }
@media (max-width: 640px) {

    .eav-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .eav-table th,
    .eav-table td {
        white-space: nowrap;
    }

    .eav-section--cols3 .eav-table th[scope="row"].entity {
        white-space: normal;
    }
}