/* ========================================
   Google Recensies - Main Slider
   ======================================== */

.gr-slider-wrapper {
    background-color: transparent;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.gr-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.gr-slider-viewport {
    overflow: hidden;
}

.gr-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Review Card */
.gr-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    min-width: calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    flex-shrink: 0;
    box-sizing: border-box;
}

.gr-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.gr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.gr-avatar-sm {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.gr-reviewer-info {
    flex: 1;
    min-width: 0;
}

.gr-reviewer-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gr-verified {
    flex-shrink: 0;
}

.gr-google-logo {
    flex-shrink: 0;
    margin-left: auto;
    width: 24px;
    height: 24px;
}

/* Stars */
.gr-stars {
    color: #fbbc04;
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 2px;
    line-height: 1;
}

/* Review text */
.gr-review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.gr-read-more {
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.gr-read-more:hover {
    text-decoration: underline;
}

/* Navigation arrows */
.gr-slider-prev,
.gr-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: box-shadow 0.2s;
    padding: 0;
    line-height: 1;
}

.gr-slider-prev:hover,
.gr-slider-next:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gr-slider-prev {
    left: 8px;
}

.gr-slider-next {
    right: 8px;
}

/* Trustindex credit */
.gr-trustindex-credit {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px;
}

/* ========================================
   Google Recensies - Footer
   ======================================== */

.gr-footer-reviews {
    position: relative;
}

.gr-review-date {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.gr-footer-slide .gr-review-date {
    color: #999;
}

.gr-footer-slide .gr-reviewer-name {
    color: #333;
}

.gr-footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.gr-footer-slide {
    display: none;
    animation: grFadeIn 0.5s ease;
    background: transparent;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gr-footer-slide.gr-footer-active {
    display: block;
}

@keyframes grFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.gr-footer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.gr-footer-header .gr-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gr-footer-header .gr-stars {
    font-size: 16px;
    margin-bottom: 0;
}

.gr-footer-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.gr-footer-credit {
    font-size: 11px;
    color: #0e6655;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #0e6655;
    border-radius: 4px;
    padding: 4px 8px;
}

.gr-footer-credit:hover {
    background: #0e6655;
    color: #fff;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 992px) {
    .gr-review-card {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .gr-review-card {
        min-width: 100%;
        max-width: 100%;
    }

    .gr-slider-container {
        padding: 0 40px;
    }

    .gr-trustindex-credit {
        padding: 0 40px;
    }

    .gr-slider-wrapper {
        padding: 24px 0;
    }
}
