
.tb-search-result-list {
    list-style: none;
    padding: 0;
}

.tb-search-result-list__item:not(:last-child) {
    border-bottom: 1px solid theme('colors.gray.400');
}

.tb-search-result-list__link {
    display: block;
    color: inherit;
    padding: theme('padding.6') 0;
    text-decoration: none;

    &:hover,
    &:focus {
        text-decoration: none;
        color: inherit;

        .tb-search-result-list__title {
            color: theme('colors.primary.900');
        }
    }
}

.tb-search-result-list__title {
    font-size: theme('fontSize.xl');
    font-weight: theme('fontWeight.normal');
    margin-top: 0;
}

.tb-search-result-list__content {
    margin-top: theme('margin.4');

    p {
        margin-top: 0;
    }

    @screen sm {
        display: flex;
        justify-content: space-between;

        p {
            margin-bottom: 0;
            margin-right: theme('margin.6');
        }
    }
}

.tb-search-result-list__image-wrapper {
    width: 100%;
    margin-left: auto;
    margin-top: theme('margin.6');

    @screen sm {
        width: 10rem;
        margin-top: 0;
        flex: 0 0 auto;
    }
}
