.terimmo-table {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* 5 colonnes de largeur égale */
    border: 1px solid #ccc;
    border-radius: 6px;
}

.terimmo-table-header,
.terimmo-table-row {
    display: contents;
    /* Permet d'éviter les problèmes de mise en page en grille */
    border-radius: 0px;
}

.terimmo-table-cell {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
}

.terimmo-table-cell a {
    text-decoration: underline;
}

.terimmo-table-cell:last-child {
    border-right: none;
}

.terimmo-table-header .terimmo-table-cell {
    background-color: #F0F0F0;
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    /* Pour une séparation claire entre l'en-tête et les données */
}

.terimmo-align-center {
    text-align: center;
}

.terimmo-align-right {
    text-align: right;
}

@media (max-width: 1024px) {

    .terimmo-table {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        border: 0px solid #ccc;
    }

    .terimmo-table-header {
        display: none !important;
    }

    .terimmo-table-row {
        padding: 10px;
        display: flex;
        flex-direction: column;
        border: none;
        border-radius: 6px;
        background-color: #F9F9F9;
    }

    .terimmo-table-cell {
        border-right: none;
        border-bottom: 0px solid #ccc;
        position: relative;
        text-align: right;
        display: flex;
        justify-content: space-between;
        font-size: 14px;
    }

    .terimmo-table-cell::before {
        content: attr(data-label);
        font-weight: bold;
    }

    .terimmo-table-cell:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {

    .terimmo-table {
        grid-template-columns: repeat(1, 1fr);
    }

}