.review-card {
    width: 100%;
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 24px;
}
.review-card .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.review-card .head .rate .star-rating {
    flex-direction: row-reverse;
    gap: normal;
}
.review-card .head .rate .star-rating__value {
    color: var(--color-text);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-left: 6px;
}
.review-card .head .rate .star-rating__star--full,
.review-card .head .rate .star-rating__star--half::after {
    color: var(--color-bg-fourth);
}
.review-card .head .created_at {
    color: var(--color-text-link);
    font-size: 14px;
    line-height: 20px;
}
.review-card .name {
    margin-top: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.review-card .verify::after {
    margin-left: 5px;
}
/* Work-type tag: the localized WorkType name as a subtle accent chip, so a
   reader sees what kind of work the review is about. */
.review-card .work-type {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 12px;
    border-radius: 8px;
    background: var(--color-bg-third);
    color: var(--color-text-third);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
}
.review-card .text {
    margin-top: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.review-card .photos {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.review-card .photos a {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
}
.review-card .photos picture,
.review-card .photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.review-card .bottom_panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.review-card .bottom_panel .about_company {
    color: var(--color-text-link);
    font-size: 14px;
    line-height: 20px;
}
.review-card .bottom_panel .to_company {
    color: var(--color-text-third);
    flex-shrink: 0;
}


@media (max-width: 768px) {

    .review-card {
        padding: 20px;
    }
    .review-card .name {
        font-size: 14px;
        line-height: 20px;
        margin-top: 15px;
    }
    .review-card .text {
        font-size: 14px;
        line-height: 20px;
        margin-top: 6px;
    }
    .review-card .work-type {
        font-size: 12px;
        margin-top: 8px;
    }
    .review-card .photos {
        margin-top: 15px;
    }
    .review-card .photos a {
        width: 78px;
        height: 78px;
    }
    .review-card .bottom_panel .about_company {
        font-size: 11px;
        line-height: 15px;
    }
    .review-card .bottom_panel .to_company {
        font-size: 14px;
        line-height: 20px;
    }
}
