/* --- Carte d'avis --- */
.masonry-review {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

/* --- Wrapper global --- */
.masonry-reviews-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacement horizontal entre les colonnes */
}

/* --- Contenu interne des avis --- */
.masonry-review > div {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espacement vertical entre les éléments */
}

.grid-item {
    background: #eee;
    padding: 15px;
    border-radius: 8px;
}

/* --- Avatar --- */
.review-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

/* --- Texte de l’avis --- */
.review-text {
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 25px;
    margin-top: 25px;
}

/* --- Nom du client --- */
.review-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #444;
    position: absolute;
    bottom: 0;
}

/* --- Flex Masonry spécifique --- */
.flexmasonry {
    align-content: center !important;
}

/* --- Responsive --- */
@media screen and (max-width: 1500px) {
    .masonry-reviews-wrapper {
        height: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .masonry-review {
        width: 90% !important;
    }
}
