/* Styles for Google Reviews Plugin */
.google-reviews-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.google-review {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
}

.review-header img,
.review-header .review-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #fff;
}

.review-initial {
    background: #ff5722;
}

.review-header-text {
    flex-grow: 1;
}

.review-header-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.review-header-text .review-date {
    font-size: 12px;
    color: #999;
}

.review-google-icon img {
    width: 20px;
    margin-right: 20px;
}

.review-rating {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.review-rating .star {
    font-size: 20px;
    color: #ffd700; /* Gold color */
}

.review-rating .star.filled {
    color: #ffd700; /* Gold color */
}

.review-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    line-clamp: 3; 
    box-orient: vertical;
    max-height: 68px; /* Adjust based on line height */
    transition: max-height 0.3s ease;
}

.read-more {
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}

/* New styles for review statistics */
.google-reviews-stats {
    text-align: center;
    margin-bottom: 20px;
}

.google-reviews-stats .average-rating {
    font-size: 24px;
    margin-bottom: 10px;
}

.google-reviews-stats .average-rating img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.google-reviews-stats .total-reviews {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.google-reviews-stats .google-logo img {
    width: 100px;
    height: auto;
}
