.grm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: transparent;
}

.grm-container.minimal {
    padding:0;
}

.grm-global-review {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 20px 30px;
    margin-bottom: 100px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.grm-global-review.minimal {
    background-color: transparent;  
    margin-bottom: 0; 
    box-shadow: none;
    padding: 0;
}

.grm-google-logo {
    display: flex;
    align-items: center;
}

.grm-google-logo img {
    width: 70px;
    margin-top: 4px;
    margin-right: 15px;
    object-fit: contain;
}

.grm-stars {
    color: #ffc107;
    font-size: 20px;
    margin-right: 15px;
}

.grm-total-reviews {
    font-size: 15px;
    color: #000;
}

.strong-total-reviews {
    font-weight: bold;
}

/* Disposition des cartes avec Flexbox */
.grm-review-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.grm-review-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33% - 40px);
    box-sizing: border-box;
    flex: 1 1 calc(33% - 40px);
    display: flex;
    flex-direction: column;
    transition: max-height .3s ease;
    max-height: 400px;
    overflow: hidden;
}

.grm-review-card:nth-child(2) {
    margin-top: 60px;
}

.grm-review-card.expanded {
    max-height: none;
}

.grm-review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.grm-avatar {
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.grm-review-info {
    flex-grow: 1;
    margin-left: 20px;
}

.grm-review-info h3 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    color: #000;
	margin-bottom: -7px;
}

.grm-review-info .grm-review-date {
    font-size: 13px;
    color: #bcbcbc;
}

.grm-google-icon {
    width: 22px;
    height: 22px;
}

.grm-review-stars {
    color: #ffc107;
    font-size: 28px;
    margin-bottom: 10px;
}

.grm-review-text {
    color: #000;
    font-size: 16px;
    line-height: 1.28;
	margin-top: 0;
    margin-bottom: 10px;
}

.grm-review-text.grm-review-short {
    max-height: 85px;
    overflow: hidden;
}

.grm-review-text.grm-review-full {
    display: none;
}

.grm-review-card.expanded .grm-review-text.grm-review-full {
    display: block!important;
}

.grm-review-card.expanded .grm-review-text.grm-review-short {
    display: none;
}

.grm-read-more {
    color: #bcbcbc;
    font-size: 15px;
    text-decoration: none!important;
	font-weight: 400;
}

.grm-read-more:hover {
    color: #cc0f09;
}

.grm-stars .star {
    font-size: 22px;
    color: #ffc107;
}

.grm-stars .star.empty {
    color: #e0e0e0;
}

.grm-stars .star.half {
    position: relative;
    display: inline-block;
}

.grm-stars .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

/* Responsive Design pour les petits écrans */
@media (max-width: 768px) {
    .grm-global-review {
        margin-bottom: 40px;
    }

    /* .grm-google-logo {
        flex-direction: column;
    } */

    /* .grm-google-logo img {
        margin-right: 0;
    } */

    /* .grm-stars {
        margin-right: 0;
    } */

    /* .grm-total-reviews {
        margin-left: 0;
    } */

    .grm-review-cards {
        flex-direction: column;
		gap: 5px;
    }

    .grm-review-card {
        width: 100%;
        margin-bottom: 20px;
        top: 0px;
    }

    .grm-review-card:nth-child(2) {
        margin-top: 0;
    }
}