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

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

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

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

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

.tb-search-result-list__title {
    font-size: config('textSizes.xl');
    font-weight: config('fontWeights.normal');
    margin-top: 0;
}

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

    p {
        margin-top: 0;
    }

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

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

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

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