/* APC Testimonial Slider
 * Layout giống hình minh họa: ảnh bên trái, nội dung + huy hiệu bên phải
 */

.aps-testimonial-wrapper {
    width: 100%;
    padding: 40px 0;
}

.aps-testimonial-wrapper .aps-testimonial-swiper-inner {
    overflow: hidden; /* chỉ hiển thị slide đang active */
}

.aps-testimonial-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.aps-testimonial-left {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
}

.aps-testimonial-avatar {
    max-width: 100%;
    height: auto;
    display: block;
}

.aps-testimonial-right {
    position: relative;
    flex: 1;
}

.aps-testimonial-badges {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 1;
}

.aps-testimonial-badge-image {
    max-width: 320px;
    height: auto;
    display: block;
}

.aps-testimonial-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}

.aps-testimonial-position {
    margin: 0 0 18px;
    color: #ff7a45;
    font-weight: 500;
}

.aps-testimonial-content {
    color: #555;
    line-height: 1.7;
    max-width: 640px;
}

.aps-testimonial-nav {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.aps-testimonial-arrow {
    border: none;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aps-testimonial-arrow span {
    font-size: 18px;
}

.aps-testimonial-arrow:hover {
    transform: translateY(-1px);
    background: #fbb042;
    color: #fff;
}

@media (max-width: 991px) {
    .aps-testimonial-item {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .aps-testimonial-right {
        max-width: 100%;
    }

    .aps-testimonial-badges {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }

    .aps-testimonial-nav {
        justify-content: center;
    }
}


