/* ==========================================================================
   Basis Styling (Geldt voor layouts 1 t/m 5)
   ========================================================================== */
.benschop-reviews-container:not(.layout-custom) {
    font-family: inherit;
    line-height: 1.6;
    margin: 20px 0;
}

.benschop-reviews-container:not(.layout-custom) .benschop-review-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.benschop-reviews-container:not(.layout-custom) .br-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.benschop-reviews-container:not(.layout-custom) .br-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.benschop-reviews-container:not(.layout-custom) .br-meta {
    display: flex;
    flex-direction: column;
}

.benschop-reviews-container:not(.layout-custom) .br-name {
    font-weight: 600;
    font-size: 16px;
    color: #333333;
}

.benschop-reviews-container:not(.layout-custom) .br-stars {
    color: #fbbc04;
    /* Google Geel/Goud */
    font-size: 18px;
    letter-spacing: 2px;
}

.benschop-reviews-container:not(.layout-custom) .br-text {
    font-size: 15px;
    color: #555555;
    margin: 0;
}

/* ==========================================================================
   Layout 1: Minimalistisch
   ========================================================================== */
.layout-1 .benschop-review-item {
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   Layout 2: Kaartweergave (Grid)
   ========================================================================== */
.layout-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.layout-2 .benschop-review-item {
    margin-bottom: 0;
    /* Override basis margin omdat we grid gap gebruiken */
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* ==========================================================================
   Layout 3: Slider / Carousel (CSS only flex-scroll)
   ========================================================================== */
.layout-3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.layout-3 .benschop-review-item {
    width: 320px;
    /* Vaste breedte zorgt dat er meerdere naast elkaar passen */
    flex: 0 0 auto;
    /* Voorkomt dat het blok uitrekt of krimpt */
    scroll-snap-align: start;
    margin-bottom: 0;
    border: 1px solid #eaeaea;
    white-space: normal;
    /* Forceert dat lange tekst netjes afbreekt op meerdere regels */
}

/* Verberg scrollbar voor een strakkere look (optioneel) */
.layout-3::-webkit-scrollbar {
    height: 8px;
}

.layout-3::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.layout-3::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

/* ==========================================================================
   Layout 4: Donkere Modus
   ========================================================================== */
.layout-4 .benschop-review-item {
    background: #222222;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.layout-4 .br-name {
    color: #ffffff;
}

.layout-4 .br-text {
    color: #dddddd;
}

/* ==========================================================================
   Layout 5: Focus op tekst (Quote stijl)
   ========================================================================== */
.layout-5 .benschop-review-item {
    text-align: center;
    border: none;
    border-top: 3px solid #fbbc04;
    background: #fdfdfd;
    position: relative;
    padding-top: 40px;
}

.layout-5 .benschop-review-item::before {
    content: "“";
    font-size: 80px;
    color: #f1f1f1;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}

.layout-5 .br-header {
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
}

.layout-5 .br-avatar {
    margin-right: 0;
    margin-bottom: 10px;
}

.layout-5 .br-text {
    font-style: italic;
    font-size: 16px;
    position: relative;
    z-index: 1;
}