.tb-weather-hourly-preview {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tb-weather-hourly-preview__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    margin: 0;
    padding: 1rem;
    background-color: theme('colors.gray.100');
    border-right: 1px solid theme('colors.gray.400');

    &:nth-child(2n + 2) {
        border-right: none;
    }

    .tb-weather-icon {
        font-size: 2rem;
    }

    @include mappy-bp(md) {
        width: 33.3333%;

        &:nth-child(2n + 2) {
            border-right: 1px solid theme('colors.gray.400');
        }

        &:nth-child(3n + 3) {
            border-right: none;
        }
    }

    @include mappy-bp(lg) {
        width: 16.6666%;

        &:nth-child(2n + 2) {
            border-right: 1px solid theme('colors.gray.400');
        }

        &:nth-child(3n + 3) {
            border-right: 1px solid theme('colors.gray.400');
        }

        &:nth-child(6n + 6) {
            border-right: none;
        }
    }
}
