.hospitable-reviews {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hospitable-reviews *,
.hospitable-reviews *::before,
.hospitable-reviews *::after {
    box-sizing: border-box;
}

.hospitable-reviews__title {
    margin: 0 0 28px;
    font: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.hospitable-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.hospitable-review-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px 24px 19px;
    border-radius: 8px;
    background: #f3f3f3;
    color: inherit;
    font-family: inherit;
}

.hospitable-review-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.hospitable-review-card__avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #e9e9e9;
}

.hospitable-review-card__author {
    min-width: 0;
    max-width: calc(100% - 50px);
}

.hospitable-review-card__name {
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

.hospitable-review-card__date {
    font-size: 12px;
    line-height: 1.25;
    color: #8b8b8b;
}

.hospitable-review-card__stars {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 7px;
    color: rgb(252, 191, 2);
    line-height: 1;
}

.hospitable-review-card__star {
    display: block;
    width: 18px;
    height: 18px;
    fill: rgb(252, 191, 2) !important;
}

.hospitable-review-card__text-wrap {
    margin: 0;
}

.hospitable-review-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-align: left;
    font-size: 16px;
    color: rgb(17, 17, 17);
    line-height: 23px;
    width: 100%;
}

.hospitable-review-card__text.is-expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.hospitable-review-card__read-more {
    margin: 1px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8d8d8d;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.hospitable-review-card__read-more:hover,
.hospitable-review-card__read-more:focus-visible {
    color: #6f6f6f;
    text-decoration: underline;
}

.hospitable-reviews__actions {
    width: 100%;
    margin-top: 30px;
}

.hospitable-reviews__load-more {
    font-weight: 700 !important;
}

.hospitable-reviews__load-more.is-loading {
    opacity: .55;
    pointer-events: none;
}

.hospitable-reviews-error {
    padding: 14px 16px;
    border-left: 4px solid #d63638;
    background: #fff;
    color: #1d2327;
}

@media (max-width: 900px) {
    .hospitable-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hospitable-reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hospitable-review-card {
        padding: 20px;
    }
}
