.review-card {
    width: 350px;
    min-height: 250px;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e0e0e0;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #333;
    border: 1px solid #ccc;
    object-fit: cover;
}

.reviewer-name {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
}

.rating {
    display: flex;
    font-size: 1.6em;
    color: gold;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.star {
    line-height: 1;
}

.review-text {
    font-size: 1.1em;
    line-height: 1.4;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

.review-date {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.9em;
    color: #666;
    font-weight: 300;
}

/* Layout Styles */
.emb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 20px;
    width: 100%;
}

.emb-reviews-carousel {
    width: 100%;
    overflow: hidden; /* Prevents horizontal scrollbar */
    padding: 15px 5px; /* Prevents shadow clipping */
}

.emb-reviews-carousel .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.review-card {
    box-sizing: border-box;
    max-width: 100%;
}
