.starlift-gmb-reviews {
    margin: 20px 0;
}

.starlift-gmb-no-reviews {
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 5px;
}

.starlift-review-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.starlift-review-item:hover {
    border-color: #ccc;
}

.starlift-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.starlift-author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.starlift-author-info {
    flex: 1;
}

.starlift-author-name {
    font-weight: 600;
    font-size: 16px !important;
    margin-bottom: 5px;
}

.starlift-author-name a {
    color: #333;
    text-decoration: none;
}

.starlift-author-name a:hover {
    color: #4285f4;
}

.starlift-review-date {
    color: #666;
    font-size: 14px !important;
}

.starlift-review-rating {
    margin-bottom: 10px;
}

.starlift-stars {
    display: inline-flex;
    gap: 2px;
}

.starlift-stars .star {
    color: #fbbc04;
    font-size: 18px;
}

.starlift-stars .star.empty {
    color: #dadce0;
}

.starlift-stars .star.half {
    position: relative;
}

.starlift-stars .star.half::before {
    content: '★';
    position: absolute;
    color: #dadce0;
    z-index: -1;
}

.starlift-review-text {
    color: #333;
    line-height: 1.6;
    font-size: 15px !important;
}

/* Location Display */
.starlift-review-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.starlift-review-location .location-icon {
    font-size: 16px;
}

/* Read More Text Link */
.starlift-read-more {
    display: inline;
    margin-left: 5px;
    color: #4285f4;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit !important;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.starlift-read-more:hover {
    color: #357ae8;
    background: none;
}

.review-text-truncated,
.review-text-full {
    display: inline;
}

/* Ensure minimum height for carousel items */
.starlift-gmb-carousel .starlift-review-item {
    min-height: 280px;
}

/* Grid should also have uniform height */
.starlift-gmb-grid .starlift-review-item {
    min-height: 280px;
}

/* Grid Style */
.starlift-gmb-grid .starlift-grid-container {
    display: grid;
    gap: 20px;
}

.starlift-grid-cols-1 .starlift-grid-container {
    grid-template-columns: 1fr;
}

.starlift-grid-cols-2 .starlift-grid-container {
    grid-template-columns: repeat(2, 1fr);
}

.starlift-grid-cols-3 .starlift-grid-container {
    grid-template-columns: repeat(3, 1fr);
}

.starlift-grid-cols-4 .starlift-grid-container {
    grid-template-columns: repeat(4, 1fr);
}

.starlift-grid-cols-5 .starlift-grid-container {
    grid-template-columns: repeat(5, 1fr);
}

.starlift-gmb-grid .starlift-review-item {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.starlift-gmb-grid .starlift-review-text {
    flex: 1;
}

/* Carousel Style */
.starlift-gmb-carousel {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f8ed 0%, #d4e8cf 100%); /* Light green gradient */
    padding: 30px 0;
}

.starlift-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    margin: 0 auto;
    max-width: 1200px;
}

.starlift-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: stretch; /* Make all items same height */
}

.starlift-gmb-carousel .starlift-review-item {
    display: flex;
    flex-direction: column;
    height: 400px; /* Fixed height for uniformity */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    position: relative;
    flex: 0 0 calc(33.333% - 13.33px); /* 3 slides with 20px gaps */
    margin-right: 20px;
}

.starlift-gmb-carousel .starlift-review-item:last-child {
    margin-right: 0;
}

/* Responsive carousel item widths */
@media (max-width: 1024px) {
    .starlift-gmb-carousel .starlift-review-item {
        flex: 0 0 calc(50% - 10px); /* 2 slides with 20px gap */
        margin-right: 20px !important; /* Keep margin consistent */
    }
}

@media (max-width: 768px) {
    .starlift-gmb-carousel .starlift-review-item {
        flex: 0 0 calc(100% - 20px); /* 1 slide on mobile with gap */
        margin-right: 20px !important; /* Keep margin consistent */
    }
}

.starlift-gmb-carousel .starlift-review-item:hover {
    border-color: #ccc;
}

/* Gradient overlay for better text contrast */
.starlift-gmb-carousel .starlift-review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Make carousel items uniform height with proper content distribution */
.starlift-gmb-carousel .starlift-review-header {
    padding: 0 0 15px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.starlift-gmb-carousel .starlift-review-rating {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.starlift-gmb-carousel .starlift-review-text {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Limit to 6 lines */
    -webkit-box-orient: vertical;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.starlift-gmb-carousel .starlift-review-location {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
    border: 1px solid rgba(66, 133, 244, 0.2);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 3;
}

/* Carousel Navigation Container */
.starlift-carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
    padding: 15px 0;
    background: rgba(94, 182, 79, 0.05); /* Very light green background */
    border-radius: 8px;
}

.starlift-carousel-prev,
.starlift-carousel-next {
    position: relative;
    background: #5eb64f;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(94, 182, 79, 0.3);
}

/* Font Awesome icon styling */
.starlift-carousel-prev i,
.starlift-carousel-next i {
    color: white;
    transition: all 0.3s ease;
}

.starlift-carousel-prev:hover,
.starlift-carousel-next:hover {
    background: #4a9c3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 182, 79, 0.4);
}

.starlift-carousel-prev:hover i,
.starlift-carousel-next:hover i {
    color: white;
}

.starlift-carousel-prev:active,
.starlift-carousel-next:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(94, 182, 79, 0.3);
    background: #4a9c3d !important;
    outline: none;
}

.starlift-carousel-prev:focus,
.starlift-carousel-next:focus {
    outline: none;
    background: #5eb64f !important;
    box-shadow: 0 0 0 2px rgba(94, 182, 79, 0.5);
}

/* Disabled state for navigation buttons */
.starlift-carousel-prev[style*="opacity: 0.5"],
.starlift-carousel-next[style*="opacity: 0.5"] {
    color: #ccc !important;
    cursor: not-allowed !important;
}

.starlift-carousel-prev[style*="opacity: 0.5"]::after,
.starlift-carousel-next[style*="opacity: 0.5"]::after,
.starlift-carousel-prev[style*="opacity: 0.5"] span::before,
.starlift-carousel-next[style*="opacity: 0.5"] span::before {
    background: #ccc !important;
}

.starlift-carousel-prev[style*="opacity: 0.5"]:hover,
.starlift-carousel-next[style*="opacity: 0.5"]:hover {
    transform: none !important;
    color: #ccc !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .starlift-grid-cols-5 .starlift-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .starlift-grid-cols-4 .starlift-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .starlift-grid-cols-5 .starlift-grid-container,
    .starlift-grid-cols-4 .starlift-grid-container,
    .starlift-grid-cols-3 .starlift-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .starlift-carousel-container {
        padding: 0 20px;
    }

    .starlift-gmb-carousel .starlift-review-item {
        height: 300px;
    }

    .starlift-gmb-carousel {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .starlift-grid-cols-5 .starlift-grid-container,
    .starlift-grid-cols-4 .starlift-grid-container,
    .starlift-grid-cols-3 .starlift-grid-container,
    .starlift-grid-cols-2 .starlift-grid-container {
        grid-template-columns: 1fr;
    }

    .starlift-review-item {
        padding: 15px;
    }

    .starlift-author-photo {
        width: 40px;
        height: 40px;
    }

    .starlift-author-name {
        font-size: 14px;
    }

    .starlift-review-text {
        font-size: 14px;
    }

    .starlift-review-location {
        font-size: 12px;
        padding: 6px 10px;
    }

    .starlift-carousel-container {
        padding: 0 10px;
    }

    .starlift-carousel-navigation {
        margin-top: 15px;
    }

    .starlift-carousel-prev,
    .starlift-carousel-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .starlift-gmb-carousel .starlift-review-item {
        height: 280px;
        margin: 0 5px;
    }

    .starlift-gmb-carousel {
        padding: 15px 0;
    }

    .starlift-gmb-carousel .starlift-review-text {
        -webkit-line-clamp: 4; /* Fewer lines on mobile */
    }
}