.gr-section.testimonials-section {
    background: #171a1d !important;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.gr-intro {
    text-align: center;
    margin-bottom: 18px;
}

.gr-title {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2.4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.gr-title span {
    color: #f4761f;
}

.gr-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.gr-summary-stars {
    color: #fbbc04;
    font-size: 0.92rem;
    letter-spacing: 1px;
}

.gr-average {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.gr-count,
.gr-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.gr-slider-wrap {
    margin-top: 4px;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.gr-section .testimonials-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    gap: 20px !important;
    padding: 8px 4px 14px !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 118, 31, 0.55) transparent;
}

/* Landscape review slides — override legacy 350px testimonial card rules */
.gr-section.testimonials-section .testimonial-card.gr-slide,
.testimonials-section .testimonial-card.gr-slide {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 18px !important;
    flex: 0 0 min(520px, 85%) !important;
    width: min(520px, 85%) !important;
    min-width: min(520px, 85%) !important;
    max-width: 520px !important;
    min-height: 170px !important;
    height: auto !important;
    padding: 20px 22px !important;
    background: #23272c !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28) !important;
    box-sizing: border-box !important;
    scroll-snap-align: start;
}

.gr-slide-media {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.gr-avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover !important;
    border: 3px solid #e06726;
    background: #1e2227;
}

.gr-slide-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.gr-card-stars {
    color: #fbbc04;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.gr-star-empty {
    color: rgba(255, 255, 255, 0.22);
}

.gr-card-text {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-slide-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.gr-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.gr-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.gr-cta {
    text-align: center;
    margin-top: 18px;
}

.gr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: #f4761f;
    color: #fff !important;
    border-radius: 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gr-cta-btn:hover,
.gr-cta-btn:focus-visible {
    background: #e06726;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(224, 103, 38, 0.4);
}

@media (max-width: 991px) {
    .gr-section.testimonials-section .testimonial-card.gr-slide,
    .testimonials-section .testimonial-card.gr-slide {
        flex: 0 0 min(420px, 88%) !important;
        width: min(420px, 88%) !important;
        min-width: min(420px, 88%) !important;
    }
}

@media (max-width: 767px) {
    .gr-section .testimonials-nav-btn {
        display: none !important;
    }

    .gr-section .testimonials-slider {
        padding-left: 2px !important;
        padding-right: 2px !important;
        gap: 14px !important;
    }

    .gr-section.testimonials-section .testimonial-card.gr-slide,
    .testimonials-section .testimonial-card.gr-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 16px !important;
        flex-direction: column !important;
        gap: 12px !important;
        min-height: 0 !important;
    }

    .gr-cta-btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
}
