/* Voorbeeld- en vergelijkingstabellen in de artikeltekst van Coachinfo. */
body.single-post .entry-content :is(.ci-tabelkader, figure:has(> table)) {
    --ci-inkt: #312839;
    --ci-pruim: #4e3056;
    --ci-lijn: #dfd5df;
    --ci-lila: #f3edf3;
    --ci-papier: #fffcf8;
    container-type: inline-size;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 1.8rem 0 2rem;
    padding: 0;
    text-align: left;
    color: var(--ci-inkt);
    background: var(--ci-papier);
    border: 1px solid #d9cbd9;
    border-radius: 16px;
    box-shadow: 0 3px 12px rgb(63 38 64 / 6%);
    overflow: hidden;
}
body.single-post .entry-content .ci-tabelvenster {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: #a689a3 #f4eef1;
}
body.single-post .entry-content .ci-tabelvenster:focus-visible {
    outline: 3px solid #795381;
    outline-offset: -3px;
}
body.single-post .entry-content :is(.ci-tabelkader, figure:has(> table)) table,
body.single-post .entry-content > table {
    display: table;
    width: 100%;
    margin: 0;
    border: 0;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: auto;
    font: 400 1rem/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #312839;
    background: #fffdfb;
}
body.single-post .entry-content :is(.ci-tabelkader .ci-tabeltitel, figure:has(> table) > figcaption, table > caption) {
    caption-side: top;
    margin: 0;
    padding: 1rem 3.4rem 1rem 1.2rem;
    text-align: left;
    color: #442b49;
    background-color: #f5eff4;
    background-image: radial-gradient(circle at 100% 0, transparent 19px, #dcc7db 20px 23px, transparent 24px 30px, #efc8b4 31px 34px, transparent 35px);
    background-size: 44px 44px;
    background-repeat: no-repeat;
    background-position: top right;
    border: 0;
    border-bottom: 1px solid #d9cbd9;
    font: 700 clamp(1.22rem, 2vw, 1.42rem)/1.25 Georgia, "Palatino Linotype", serif;
    text-transform: none;
    letter-spacing: 0;
}
body.single-post .entry-content :is(.ci-artikeltabel, figure > table, .entry-content > table) :is(td, th) {
    box-sizing: border-box;
    padding: .8rem 1.1rem;
    vertical-align: top;
    text-align: start;
    color: #312839;
    background: #fffdfb;
    border: 0;
    border-bottom: 1px solid #e4dce2;
    font: 400 1rem/1.48 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.single-post .entry-content :is(.ci-artikeltabel, figure > table, .entry-content > table) thead th {
    padding-top: .72rem;
    padding-bottom: .72rem;
    color: #fff;
    background: #533655;
    border-color: #533655;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.32;
    vertical-align: middle;
}
body.single-post .entry-content :is(.ci-artikeltabel, figure > table, .entry-content > table) tbody tr:nth-child(even) > * {
    background-color: #faf7f6;
}
body.single-post .entry-content :is(.ci-artikeltabel, figure > table, .entry-content > table) tbody tr > :first-child {
    color: #442e49;
    font-weight: 650;
}
body.single-post .entry-content .ci-artikeltabel tbody:last-child tr:last-child > * {border-bottom-width: 0}
body.single-post .entry-content .ci-artikeltabel .ci-tabellabel {display: none}
body.single-post .entry-content .ci-artikeltabel .ci-tabelwaarde {font: inherit;color: inherit}
body.single-post .entry-content .ci-tabelkader p.ci-tabelhulp {
    margin: 0;
    padding: .65rem 1rem;
    border-top: 1px solid var(--ci-lijn);
    background: var(--ci-lila);
    color: var(--ci-pruim);
    font: 600 .88rem/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.single-post .entry-content .ci-tabelhulp::before {content: "↔";margin-right: .5em}
body.single-post .entry-content .ci-tabelhulp[hidden] {display: none}
body.single-post .entry-content .ci-tabel-breed .ci-artikeltabel {min-width: 37rem}
@container (max-width: 33rem) {
    .single-post .entry-content .ci-tabel-stapel .ci-artikeltabel,
    .single-post .entry-content .ci-tabel-stapel .ci-artikeltabel caption {display: block}
    .single-post .entry-content .ci-tabel-stapel .ci-artikeltabel thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        clip-path: inset(50%);
        overflow: hidden;
        white-space: nowrap;
    }
    .single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tbody {
        display: grid;
        gap: .7rem;
        padding: .75rem;
        background: #f7f3f5;
    }
    .single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tbody tr {
        display: block;
        padding: .15rem .9rem .45rem;
        border: 1px solid #ded3dd;
        border-radius: 10px;
        background: #fffdfb;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tbody tr > :is(th,td) {
        display: grid;
        grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
        gap: .7rem;
        align-items: baseline;
        padding: .5rem 0;
        font-size: 1rem;
        line-height: 1.42;
        background: transparent;
        border: 0;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tbody tr > :first-child {
        display: block;
        padding: .6rem 0 .55rem;
        border-bottom: 1px solid #e6dee5;
        font-size: 1.08rem;
        font-weight: 700;
        color: #442e49;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel .ci-tabellabel {
        display: block;
        color: #614e61;
        font: 600 .84rem/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tr > :first-child .ci-tabellabel {
        margin-bottom: .2rem;
        font-size: .8rem;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tr > :last-child {padding-bottom: .25rem}
}
@container (max-width: 18rem) {
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel tbody tr > :is(th,td) {
        display: block;
    }
    body.single-post .entry-content .ci-tabel-stapel .ci-artikeltabel .ci-tabellabel {margin-bottom: .18rem}
}
@media print {
    body.single-post .entry-content .ci-tabelkader {
        container-type: normal;
        break-inside: auto;
        box-shadow: none;
        overflow: visible;
    }
    body.single-post .entry-content .ci-tabelvenster {overflow: visible}
    body.single-post .entry-content .ci-tabelkader .ci-artikeltabel {min-width: 0}
    body.single-post .entry-content .ci-artikeltabel thead {display: table-header-group}
    body.single-post .entry-content .ci-artikeltabel thead th {color: #312839;background: white;border-bottom: 2px solid #604c60}
    body.single-post .entry-content .ci-artikeltabel tr {break-inside: avoid}
    body.single-post .entry-content .ci-tabelkader p.ci-tabelhulp {display: none}
}
