.testimonial-widget {
    display: flex;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    min-height: 600px;
}

.testimonial-left {
    flex: 0 0 50%;
    padding: 120px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #eee;
}

.testimonial-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #d05a5a;
    border-radius: 50%;
    margin-right: 4px;
}

.testimonial-left h3 {
    font-family: 'Inter', sans-serif;
	margin-top: 6px;
    color: var(--Black, #22282B);
    font-feature-settings: 'liga'off, 'clig'off;
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.3px;
}

.testimonial-nav {
    margin-top: auto;
}


.testimonial-right {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
} 

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 53px;
}

.author-info {
    flex: 1;
}

.author-info {
    max-width: 288px;
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.author-info strong {
    font-feature-settings: 'liga'off, 'clig'off;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    color: var(--Secondary-color-Black, #000);
}

.testimonial-logo-inline img {
    height: 40px;
    max-width: 140px;
    object-fit: contain;
}

.testimonial-heading {
    font-feature-settings: 'liga'off, 'clig'off;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: #000;
    margin-bottom: 24px;
}

.testimonial-message {
    color: #333;
    font-feature-settings: 'liga'off, 'clig'off;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.position {
    margin-top: 7px;
    max-width: 288px;
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}


.testimonial-icon img {
    width: max-content;
    height: auto;
    display: block;
}
.testimonial-message p{
 	margin-block-start: 0em;
    margin-block-end: 0em;
}

.testimonial-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.testimonial-nav button {
    width: 42px;
    height: 42px;
    padding: 10px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: transparent;
    border: 0.7px solid rgba(0, 0, 0, 0.40);
    cursor: pointer;
}

.testimonial-nav button img {
    width: 20px;
    height: 20px;
}
.testimonial-nav .next {
    border-color: #BF3131;
}

@media (max-width: 768px) {
    .testimonial-widget {
        flex-direction: column;
        padding: 70px 8px 140px 8px;
    }

    .testimonial-left {
        order: 1;
        width: 100%;
        padding: 40px 0 0;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .testimonial-right {
        order: 2;
        width: 100%;
        overflow: hidden;
        padding: 0;
    }

    .testimonial-slider {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }

    .testimonial-slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .testimonial-author {
        flex-direction: column-reverse; /* Логотип над іменем */
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .testimonial-heading {
        font-size: 20px;
        margin-bottom: 16px;
		padding-right: 10px;

    }
	.testimonial-left h3{
		font-size: 30px;
	}
    .testimonial-message {
        font-size: 14px;
        line-height: 150%;
    }

    .testimonial-nav {
        order: 3;
        margin-top: 40px;
        width: 100%;
        padding: 0 0 40px;
        display: flex;
        justify-content: flex-start; 
		position: absolute;
        bottom: 20px;
        left: 8px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
	.testimonial-message p{
	    padding-right: 10px;
	}
}
