.testimonial-container {
    --testimonial-primary: #1E99D6;
    --testimonial-text: #394E57;
    --testimonial-white: #FFFFFF;
    font-family: "Source Sans 3", sans-serif;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.testimonial-control {
    width: 32%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 12px;
}

.testimonial-control::-webkit-scrollbar {
    width: 6px;
}

.testimonial-control::-webkit-scrollbar-track {
    background: #F4F4F4;
    border-radius: 3px;
}

.testimonial-control::-webkit-scrollbar-thumb {
    background: #1E99D6;
    border-radius: 3px;
}

.testimonial-control::-webkit-scrollbar-thumb:hover {
    background: #1785BC;
}

.testimonial-control {
    scrollbar-width: thin;
    scrollbar-color: #1E99D6 #F4F4F4;
}

.testimonial-control-item {
    height: 128px;
    padding: 30px;
    border-radius: 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-sizing: border-box;
    position: relative;
}

.testimonial-control-item:hover {
    background: rgba(30, 153, 214, 0.1);
}

.testimonial-control-item.active {
    background: var(--testimonial-primary);
}

.testimonial-control-item-name {
    font-size: 24px;
    font-weight: 400;
    color: #394E57 !important;
    line-height: 32px;
}

.testimonial-control-item-desc {
    font-size: 14px;
    font-weight: 400;
    color: #394E57 !important;
    line-height: 1.4;
}

.testimonial-control-item.active .testimonial-control-item-name,
.testimonial-control-item.active .testimonial-control-item-desc {
    color: var(--testimonial-white) !important;
}

.testimonial-control-item.has-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #a8a8a8;
    transition: opacity 0.3s ease;
}

.testimonial-control-item.has-border.hide-border::before {
    opacity: 0;
}

.testimonial-content {
    width: 60%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.testimonial-quote {
    font-size: 28px;
    font-weight: 400;
    color: var(--testimonial-text) !important;
    line-height: 36px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
}

.testimonial-quote::after {
    content: '"';
}

.testimonial-author {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.testimonial-author-photo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    flex-shrink: 0;
    display: block;
}

.testimonial-author-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--testimonial-text) !important;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .testimonial-container {
        flex-direction: column;
        gap: 40px;
    }

    .testimonial-control {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .testimonial-control-item {
        flex: 1;
        height: auto;
        min-height: 100px;
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .testimonial-control-item-name {
        font-size: 20px;
        line-height: 28px;
    }

    .testimonial-control-item-desc {
        font-size: 13px;
    }

    .testimonial-control-item.has-border::before {
        display: none;
    }

    .testimonial-content {
        width: 100%;
        padding-top: 40px;
    }

    .testimonial-quote {
        font-size: 28px;
        line-height: 38px;
    }

    .testimonial-author {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .testimonial-container {
        flex-direction: column;
        gap: 32px;
    }

    .testimonial-control {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .testimonial-control-item {
        height: auto;
        min-height: 90px;
        padding: 20px 24px;
        text-align: left;
        align-items: flex-start;
        border-radius: 16px;
    }

    .testimonial-control-item-name {
        font-size: 18px;
        line-height: 26px;
    }

    .testimonial-control-item-desc {
        font-size: 12px;
    }

    .testimonial-control-item.has-border::before {
        display: block;
        left: 24px;
        right: 24px;
    }

    .testimonial-content {
        width: 100%;
        padding-top: 32px;
    }

    .testimonial-quote {
        font-size: 22px;
        line-height: 32px;
    }

    .testimonial-author {
        margin-top: 32px;
        gap: 20px;
    }

    .testimonial-author-photo {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 12px !important;
    }

    .testimonial-author-name {
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    .testimonial-control-item {
        min-height: 80px;
        padding: 16px 20px;
        gap: 12px;
    }

    .testimonial-control-item-name {
        font-size: 16px;
        line-height: 24px;
    }

    .testimonial-control-item-desc {
        font-size: 11px;
    }

    .testimonial-control-item.has-border::before {
        left: 20px;
        right: 20px;
    }

    .testimonial-quote {
        font-size: 18px;
        line-height: 28px;
    }

    .testimonial-author {
        margin-top: 28px;
        gap: 16px;
    }

    .testimonial-author-photo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        border-radius: 10px !important;
    }

    .testimonial-author-name {
        font-size: 13px;
    }
}
