.swiper-slide>div {
    max-height: none;
}

.template3-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 350px;
    margin: auto;
    margin-bottom: 40px;
}

.template3-testimonials-speech-box {
    background: #202020;
    color: #d4d4d4;
    padding: 0 24px;
    border-radius: 30px;
    position: relative;
    font-size: 16px;
    max-width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.template3-testimonials-speech-box::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--speech-box-bg);
}

.template3-testimonials-description {
    margin: 0;
    word-wrap: break-word;
}

.template3-testimonials-author {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template3-testimonials-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.template3-testimonials-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template3-testimonials-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

