/* Style général pour les avis */
.google-reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Carte individuelle d'un avis */
.google-review {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    flex-grow: 1;
    transition: background-color 0.1s;
    background-color: rgba(17, 17, 17, 0.05);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid transparent;
}

.google-review:hover {
    transform: translateY(-5px);
}

/* Avatar utilisateur */
.google-review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #ccc;
}

/* En-tête de l'avis */
.google-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.google-review-name {
    font-weight: bold;
    color: #333;
}

.google-review-stars {
    color: #FFD700;
    margin-bottom: 8px;
}

/* Texte de l'avis */
.google-review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    overflow: hidden;
    max-height: 80px;
    text-overflow: ellipsis;
}

/* Bouton Lire la suite */
.google-review-readmore {
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

.google-review-readmore:hover {
    text-decoration: underline;
}



.wp-google-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.review {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.avatar-review {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}
