/* 評論列表樣式 - 根據 Figma 設計 */
.review-list-summary {
    padding: 0;
    margin-top: 24px;
}

.review-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s;
}

.review-item:hover {
    background-color: #f9fafb;
    margin: 0 -24px;
    padding: 16px 24px;
    border-radius: 8px;
    border-bottom: 1px solid #F3F4F6;
}

.review-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #181D27;
    margin: 0;
}

.rating-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.rating-stars .star-icon {
    font-size: 12px;
    color: #F5F5F5;
}

.rating-stars .star-icon .filled {
    color: #FDB022;
}

.review-text {
    font-size: 14px;
    color: #535862;
    line-height: 1.43;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-reviews {
    text-align: center;
    margin-top: 20px;
}

.more-reviews-btn {
    background: none;
    border: none;
    color: #B8860B;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.more-reviews-btn:hover {
    background-color: #fdf6e3;
}

.write-review-btn {
    padding: 8px 16px;
    background-color: #B8860B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.write-review-btn:hover {
    background-color: #a67c0a;
}

@media (max-width: 1024px) {
    .clinic-intro-container {
        padding: 16px;
    }

    .review-item:hover {
        margin: 0 -20px;
        padding: 16px 20px;
    }

    .overall-rating {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        width: 100%;
    }
}
