.vendor-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 0.25rem;
}

.vendor-card-outer {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: 2px 2px 12px 1px #eee;
    height: fit-content;
}

.vendor-card-image {
    display: block;
    width: 100%;
    height: calc(20vw * (9 / 16));
    background-color: #f4f4f4;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.vendor-card-info {
    padding: 0.75rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px;
    min-height: 92px;
}

.vendor-card-info .title-wrapper {
    min-height: 28px;
    display: flex;
    align-items: center;
}

.vendor-card-info .title-wrapper>h4 {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-align: start;
    align-items: center;
    color: #2E2E2E;
    margin-bottom: 0px;
}

.vendor-card-info .divider {
    border: 1px solid #D0D0D0;
    margin-top: 6px;
    margin-bottom: 6px;
}

.vendor-card-info .place-price {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    display: flex;
    align-items: center;
    color: #FF929A;
    margin-bottom: 4px;
}

.vendor-card-info .rating-star {
    display: flex;
    gap: 4px;
}

.vendor-card-info .rating-star .rating-item {
    color: #FFD84E;
}

.vendor-card-info .membership {
    width: 34px;
    height: 50px;
    margin-top: -16px;
}

@media only screen and (max-width: 576px) {
    .vendor-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0.25rem;
    }

    .vendor-card-image {
        height: calc(100vw * (9 / 24));
    }

    .vendor-card-info {
        grid-template-columns: 1fr auto;
    }

    .vendor-card-info .title-wrapper>h4 {
        font-size: 12px;
    }

    .vendor-card-info .place-price {
        font-size: 10px;
    }

    .vendor-card-info .membership {
        width: 32px;
        height: 48px;
    }
}