/* -----------------------------------
   CONTAINER
----------------------------------- */
.g-review-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
    box-sizing: border-box;
	position: relative;
}

/* -----------------------------------
   SWIPER FIX: Alle Slides gleiche Höhe
----------------------------------- */

/* Swiper selbst */
.swiper {
    width: 100%;
}

/* Wrapper dehnt alle Slides gleich hoch */
.swiper-wrapper {
    align-items: stretch; /* ★ der wichtige Trick */
}

/* Jede Slide wird ein flex Element, damit die Card 100% Höhe bekommt */
.swiper-slide {
    display: flex;
    height: auto; /* erlaubt Stretch vom Wrapper */
}



/* Pfeile */
.swiper-button-prev,
.swiper-button-next {
    color: #007aff; /* Deine Pfeilfarbe */
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);    
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

/* LINKS AUSSERHALB */
.swiper-button-prev {
    left: -40px;
}

/* RECHTS AUSSERHALB */
.swiper-button-next {
    right: -40px;
}



/* Pagination unten */
.swiper-pagination {
    bottom: 5px !important;
}

/* -----------------------------------
   REVIEW CARD
----------------------------------- */
.g-review-card {
    background: #fff;
    border-radius: 16px;	
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);	
    padding: 20px;
    height: 100%;    
	display: flex;
    flex-direction: column;
    gap: 12px;
    /* WICHTIG -> damit alle Karten dieselbe Höhe bekommen */
    box-sizing: border-box;
}

/* Header & Sterne immer feste Höhe */
.g-review-header { 
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.g-review-stars {
    color: #f5b400;
    font-size: 18px;
    flex: 0 0 auto;
    margin-top: 4px;
}

/* -----------------------------------
   AVATAR / TEXT / DETAILS
----------------------------------- */
.g-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #555;
    font-size: 20px;
}

.g-review-author {
    font-size: 16px;
    font-weight: 600;
}

.g-review-date {
    font-size: 12px;
    color: #666;
}

/* Text nimmt den Rest des Platzes ein */
.g-review-text {
    font-size: 14px;
    line-height: 1.45;
    flex: 1 1 auto;   /* ★ füllt den Rest */
    overflow: hidden;
    min-height: 0;    /* Fix für Safari & Firefox */
    margin-top: 8px;
}

/* Optional: Text auf 6 Zeilen begrenzen */
.g-review-text--lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

/* -----------------------------------
   MOBILE
----------------------------------- */
@media (max-width: 600px) {
    .g-review-card {
        padding: 16px;
    }
    .g-review-avatar {
        width: 42px;
        height: 42px;
    }
    .g-review-text {
        font-size: 13.5px;
    }
	.swiper-button-prev {
        left: -20px;
    }
    .swiper-button-next {
        right: -20px;
    }
}
