/* tableaux */
.wp-block-table td,
.wp-block-table th {
    padding: 0 0 0.25em 0;
    border: none;
    vertical-align: top;
}

.wp-block-table tr:last-child td,
.wp-block-table tr:last-child th {
    padding-bottom: 0;
}


table td:first-child,
table th:first-child {
    white-space: nowrap;
    padding-right: 35px;
}



/* feuille aldine CV */
/* supprimer la flèche native */
summary {
    list-style: none;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

/* base */
summary {
    position: relative;
    padding-left: 0;
}

summary::before {
    content: "❦";
    position: absolute;
    left: 0;
    display: inline;

    font-size: 0.9em;
    transform: translateY(10%);
    opacity: 0;
}

/* hover quand fermé */
details:not([open]) summary:hover {
    padding-left: 1em;
}

details:not([open]) summary:hover::before {
    opacity: 1;
}

/* état ouvert */
details[open] summary {
    padding-left: 1em;
}

details[open] summary::before {
    opacity: 1;
}


/* état fermé */
details>*:not(summary) {
    opacity: 0;
    transition: opacity 200ms ease;
}

/* état ouvert */
details[open]>*:not(summary) {
    opacity: 1;
}