.elementor-review-carousel-wrapper {
    width: 100%;
    padding: 20px 0 50px 0; /* Space for shadow and pagination/navigation */
    overflow: hidden; /* Ensure Swiper content stays within bounds */
}

/* Ensure Swiper container has relative positioning for arrows */
.swiper {
    position: relative;
}

.review-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height in flex container */
    margin: 10px; /* Space between cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
}

.review-image-wrapper {
    flex-shrink: 0;
    margin-right: 12px;
}

.review-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-name {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.review-date {
    font-size: 12px;
    color: #70757a;
}

.review-platform-icon {
    flex-shrink: 0;
    margin-left: auto;
}

.review-rating {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.review-rating .star {
    font-size: 18px;
    color: #dadce0; /* Gray for empty star */
    margin-right: 2px;
}

.review-rating .star.filled {
    color: #fbbc04; /* Google yellow for filled star */
}

.review-content {
    flex-grow: 1;
}

.review-text {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit lines if necessary, removable */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Swiper Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    color: #5f6368;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #f1f3f4;
    color: #202124;
}

/* Adjust navigation position */
.swiper-button-prev {
    left: 0; /* Move slightly outside or to edge */
}

.swiper-button-next {
    right: 0;
}
