/* Algemene styling voor Google Reviews Widget */
.google-reviews-widget br {
    display: none;
}

/* Styling voor de banner met reviewscores */
.google-reviews-summary,
.recommendation-container {
    color: black;
    padding: 8px 12px;
    font-weight: normal;
    font-size: 14px;
    display: block;
    width: 100%;
    border-radius: 0;
}

.google-reviews-summary .stars,
.recommendation-container .stars {
    display: inline-block;
    margin: 0 5px;
}

.google-reviews-summary .stars .fa,
.recommendation-container .stars .fa {
    color: #FFD700; /* Gele sterren */
    font-size: 14px;
    margin: 0 1px;
}

.google-reviews-summary a,
.recommendation-container a {
    color: white;
    text-decoration: underline;
}

.google-reviews-summary a:hover,
.recommendation-container a:hover {
    color: #f0f0f0;
}

/* Zorg ervoor dat Font Awesome goed wordt geladen */
.fa {
    font-family: 'FontAwesome' !important;
}

/* Review lijst */
.reviews {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-column-gap: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 660px) {
    .reviews {
        grid-template-columns: 100%;
    }
}

.review {
    background-color: #f3f3f3;
    margin-bottom: 25px;
    padding: 20px;
    text-align: center;
    border-radius: 25px;
}

/* Styling voor profielinformatie binnen een review */
.reviews .review-profile {
    display: flex;
    align-items: center;
}

.reviews .review-profile img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.reviews .review-profile .name {
    display: block;
    color: #2196f3;
    font-weight: bold;
    font-size: 15px;
}

.reviews .review-profile .time {
    display: block;
    color: darkgrey;
    font-size: 13px;
}

/* Styling voor reviewinhoud */
.review-text {
    color: #666666;
    margin-top: 10px;
    margin-bottom: 10px;
}

.review-text p {
    max-height: 20px; /* Beperk de zichtbare tekst tot een paar regels */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    position: relative;
}

.review-text.active p {
    max-height: 1000px; /* Wordt vergroot bij klikken */
}

/* "Lees meer" knop */
.readmore {
    display: inline-block;
    color: #2196f3;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

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

/* Styling voor de sterren binnen een review */
.review-content .stars {
    padding-left: 0;
}

.stars .fa {
    font-family: "FontAwesome";
    color: #fdd835;
    font-size: 15px;
}

/* Flexbox aanpassing voor betere uitlijning van de reviews */
.stars br {
    display: none;
}

/* Styling voor review avatar */
.review img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: block;
}

.no-avatar {
    height: 60px;
    width: 60px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-avatar .fa {
    color: #999;
    font-size: 30px;
}

.review h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.review-date {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

@media only screen and (max-width: 767px) {
    .recommendation-container {
        flex-direction: column;
    }
}