table {
    font-size: config('textSizes.sm');
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    vertical-align: top;

    tr:not(:last-child) {
        border-bottom: 1px solid config('colors.grey-light');
    }
}

th,
td {
    padding: .375rem .25rem;
    vertical-align: top;

    &:first-child {
        padding-left: 0;
    }

    &:last-child {
        padding-right: 0;
    }
}

@include mappy-bp(sm) {
    table {
        font-size: .875rem;
    }

    th,
    td {
        padding: .5rem .375rem;
    }
}

@include mappy-bp(xl) {
    table {
        font-size: 1rem;
    }
}
