.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
    justify-items: start;
}
.review-item {
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.name-and-meta {
    display: flex;
    flex-direction: column;
}
.review-name {
}
.review-meta {
    display: flex;
    align-items: center;
}
.review-rating {
    width: 80px;
    height: 16px;
    background: url("star-gray.svg");
    margin-right: 10px;
}
.review-rating::before {
    display: block;
    width: calc(var(--rating) / 5 * 80px);
    height: 16px;
    background: url("star-gold.svg");
    content: "";
}
.review-date {
    color: #666;
    font-size: 0.9em;
}
.link-wrapper {
    width: 100%;
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
}
.all-reviews-link {
    display: inline-block;
    color: #747474;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #efefef;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s;
}
.loading {
    text-align: center;
    font-size: 1.2em;
    color: #999;
}
.error {
    color: red;
    text-align: center;
}
@media only screen and (max-width: 768px) {
.reviews-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}
}