.kbw-testimonial-slider-wrapper {
    position: relative;
}

.kbw-testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.kbw-testimonial-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.kbw-testimonial-nav {
    display: flex;
    gap: 10px;
}

.kbw-testimonial-nav button {
    width: 57px;
    height: 57px;
    border: 1px solid #382F2D;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kbw-testimonial-nav button.kbw-testimonial-prev:before {
    content: url('../images/prev-arrow.svg');
}

.kbw-testimonial-nav button.kbw-testimonial-next:before {
    content: url('../images/next-arrow.svg');
}


.kbw-testimonial-nav button:hover {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.3);
}

.kbw-testimonial-slider {
    overflow: hidden;
}

.kbw-testimonial-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 1px solid #00000014;
}

.kbw-testimonial-quote {
    position: relative;
    margin-bottom: 30px;
    min-height: 165px;
}

.quote-mark {
    position: absolute;
    right: 29px;
    bottom: 35px;
    line-height: 1;
    z-index: 0;
    background: url('../images/quote-mark.svg');
    width: 75px;
    height: 75px;
    background-size: cover;
}

.kbw-testimonial-quote p {
    position: relative;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #2A2A2A;
}

.kbw-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kbw-testimonial-author img {
    width: 42px;
    height: 42px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.kbw-testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.kbw-testimonial-author-info strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: normal;
    margin-bottom: 4px;
}

.kbw-testimonial-author-info span {
    font-size: 12px;
    color: #888;
    line-height: normal;
}

@media (max-width: 1024px) {
    .kbw-testimonial-slider-wrapper {
        padding-bottom: 52px;
    }

    .kbw-testimonial-nav {
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .kbw-testimonial-nav button {
        width: 40px;
        height: 40px;

    }

    .kbw-testimonial-author img {
        width: 30px;
        height: 30px !important;
    }

    .kbw-testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

    .kbw-testimonial-header h2 {
        font-size: 32px;
    }

    .kbw-testimonial-card {
        padding: 22px 18px;
        min-height: 220px;
    }

    .kbw-testimonial-quote {
        min-height: 115px;
    }

    .kbw-testimonial-quote p {
        line-height: 22px;
    }
}