.testimonial--item {
    padding: 20px 0;
}

.testimonial--item-excerpt {
    color: white;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
    line-height: 1.8;
    margin-bottom: 27px;
}

.testimonial--item-rating {
    margin-bottom: 28px;
    display: flex;
    gap: 5px;
}

.testimonial--item-author-name {
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
    text-transform: uppercase;
    line-height: 1.2;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonial--item-author-designation {
    color: white;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
    line-height: 1.2;
}

.testimonial--list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.testimonial--carousel{
    padding-bottom: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem) !important;
}

/* ---------------- */
/* Custom Swiper Navigation Buttons */
.testimonial--button-prev, .testimonial--button-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    top: auto;
    transform: translateY(-50%);
    z-index: 10;
    background: #221F20;
}

.testimonial--button-prev {
    left: auto;
    right: 75px;
}

.testimonial--button-next {
    right: 10px;
}

.testimonial--button-prev svg, .testimonial--button-next svg {
    width: 15px;
    height: 27px;
    transition: fill 0.3s ease;
}

.testimonial--button-prev svg path, .testimonial--button-next svg path{
    fill: #FFFFFF;
}

.testimonial--button-prev:hover, .testimonial--button-next:hover {
    background: #F2EC76;
}

.testimonial--button-prev:hover svg path, .testimonial--button-next:hover svg path{
    fill: #221F20;
}

.testimonial--btn:focus{
    outline: none;
    box-shadow: none;
}



@media (max-width: 768px) {
    .testimonial--list-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonial--button-prev, .testimonial--button-next{
        width: 40px;
        height: 40px;
    }

    .testimonial--button-prev svg, .testimonial--button-next svg {
        width: 10px;
        height: 22px;
    }

    .testimonial--button-prev {
        right: 60px;
    }
    
}