.testimonials {
    position: relative;
    padding-top: 0;
}

.testimonials__title {
    max-width: 20rem;
    z-index: 1;
    position: absolute;
    left: 2.5rem;
    color: #031732;
    font-family: Onest;
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.14063rem;
    top: 2rem;
}

.testimonials__items {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .testimonials__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonials__item {
    padding-inline: 1.5rem;
    padding-bottom: 2.31rem;
    padding-top: 1rem;
    border-radius: 0.375rem;
}

.testimonials__item > img {
	width: auto;
	max-height: 40px;
	margin-bottom: 2rem;
}

.testimonials__item:nth-child(2n) {
    background: #f5f5f5;
}

.testimonials__item__content {
    font-size: 1rem;
    padding-left: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.03rem;
    position: relative;
}

.testimonials__item__content:after {
    content: "";
    width: 1px;
    height: 100%;
    background: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
}

.testimonials__item__person {
    margin-top: 2.45rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 600;
}

.testimonials__item__person__role {
    color: #7c797f;
}

.testimonials__item__person__divider {
    border-radius: 999px;
    width: 0.7rem;
    height: 1.5px;
    background: var(--text-loud);
}