/* =============================================
   Quoteblok — styling
   Pad: css/quoteblok.css
   ============================================= */

/* ---- Sectie ------------------------------------------------------------ */

.quoteblok {
    position: relative;
    padding: 60px 0 50px;
    overflow: hidden;
}


/* ---- Wrapper (pijlen + slides naast elkaar) ---------------------------- */

.quoteblok__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Pijlknoppen ------------------------------------------------------- */

.quoteblok__pijl {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 10px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
    user-select: none;
}

.quoteblok__pijl:hover,
.quoteblok__pijl:focus-visible {
    color: rgba(0, 0, 0, 0.85);
    background-color: rgba(0, 0, 0, 0.08);
    outline: none;
}

/* Verberg pijlen als er maar 1 slide is */
.quoteblok__pijl[hidden] {
    display: none;
}

/* ---- Slides-container -------------------------------------------------- */

.quoteblok__slides {
    flex: 1;
    position: relative;
    min-height: 260px;
}

/* ---- Individuele slide ------------------------------------------------- */

.quoteblok__slide {
    display: none;
    align-items: center;
    gap: 40px;
}

.quoteblok__slide--actief {
    display: flex;
}

/* Fade-animatie bij wisselen */
.quoteblok__slide--actief {
    animation: quoteblok-fade 0.4s ease;
}

@keyframes quoteblok-fade {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ---- Foto -------------------------------------------------------------- */

.quoteblok__foto {
    flex-shrink: 0;
}

.quoteblok__foto img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ---- Tekst-content ----------------------------------------------------- */

.quoteblok__content {
    flex: 1;
}

/* Label boven de quote */
.quoteblok__label {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kleur-blauw, #1a3a6b);
}

/* De quote zelf */
.quoteblok__quote {
    margin: 0 0 20px;
}
.quoteblok__quote::before {
   content: "“";
       position: relative;
       left: -20px;
       top: 20px;
       font-size: 6rem;
       color: #1a3a6b;
   }


.quoteblok__quote p {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-style: italic;
    font-weight: 400;
    color: var(--kleur-blauw, #1a3a6b);
    line-height: 1.5;
}

/* Naam */
.quoteblok__naam {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--kleur-blauw, #1a3a6b);
}

/* Subtitel (optioneel ACF-veld) */
.quoteblok__subtitel {
    margin: 0;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--kleur-blauw, #1a3a6b);
    opacity: 0.8;
}

/* ---- Dots -------------------------------------------------------------- */

.quoteblok__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.quoteblok__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.quoteblok__dot--actief,
.quoteblok__dot:hover,
.quoteblok__dot:focus-visible {
    background-color: var(--kleur-blauw, #1a3a6b);
    outline: none;
}

.quoteblok__dot--actief {
    transform: scale(1.3);
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 768px) {
    .quoteblok__slide--actief {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .quoteblok__foto img {
        width: 200px;
        height: 200px;
    }

    .quoteblok__pijl {
        font-size: 3rem;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .quoteblok {
        padding: 40px 0 36px;
    }

    .quoteblok__wrapper {
        gap: 8px;
        padding: 0 8px;
    }
}
