#google-reviews { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 20px; /* Replaces unpredictable margins with uniform spacing */
}

/* Base card styling—Media queries are no longer needed for sizing */
.review-item { 
    border: solid 1px rgba(134, 134, 134, 1); 
    border-radius: 15px; 
    padding: 1em; 
}

/* Forces long reviews to always span across the full width of the grid */
.review-item-long { 
    grid-column: 1 / -1; 
    border: solid 1px rgba(190, 190, 190, .35); 
    padding: 1em; 
}

/* Metadata formatting */
.review-meta, .review-stars { 
    text-align: center; 
    font-size: 115%; 
}

.review-author { 
    text-transform: capitalize; 
    font-weight: bold; 
}

.review-date { 
    opacity: .6; 
    display: block; 
}

.review-text { 
    line-height: 1.55; 
    text-align: left; 
    max-width: 32em; 
    margin: auto; 
}

/* Star Rating System */
.review-stars ul { 
    display: inline-flex; /* Replaces messy float properties */
    list-style: none !important; 
    margin: 0; 
    padding: 0; 
    gap: 1px;
}

.review-stars ul li i { 
    color: #eb6e00; 
    font-size: 1.4em; 
    font-style: normal; 
}

.review-stars ul li i.inactive { 
    color: #c6c6c6; 
}

.star:after { 
    content: "\2605"; 
}
