.testimonial {
    background: var(--color-gray-100);
    padding: 33px 52px 30px;
    position: relative;
}

.testimonial::before {
    content: '\e919';
    font-family: var(--font-icon);
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 35px;
    line-height: 1em;
    font-weight: normal;
    z-index: 1;
    color: var(--primary-color);
}

.testimonial::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 330px;
    height: 5px;
    background: var(--color-gray-300);
    clip-path: polygon(2% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.testimonial__content {
    margin-bottom: 15px;
}

.testimonial__info {
    padding-top: 15px;
    position: relative;
}

.testimonial__info::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 125px;
    height: 1px;
    background: var(--color-gray-300);
}

.testimonial__info h5 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: normal;
    color: var(--primary-color);
    line-height: normal;
    font-family: var(--body-font-family);
    text-transform: uppercase;
    display: block;
}

.testimonial__info span {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    color: var(--color-black);
    line-height: normal;
    font-family: var(--body-font-family);
    display: block;
}

@media (min-width: 768px) {
    .testimonial {
        padding: 33px 52px 30px;
        width: 508px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .testimonial__content {
        margin-bottom: 15px;
        height: auto !important;
    }

    .testimonial__info {
        padding-top: 15px;
        position: relative;
        height: auto !important;
    }
}

@media (min-width: 1200px) {
    .testimonial {
        padding: 35px 52px 35px;
        width: 508px;
    }

    .testimonial__content {
        margin-bottom: 20px;
    }

    .testimonial__info {
        padding-top: 20px;
    }

    .testimonial__content p {
        font-family: var(--font-light);
        font-size: 20px;
        line-height: 1.6em;
        letter-spacing: 0.04em;
    }

    .testimonial__info h5 {
        letter-spacing: 0.04em;
        margin-bottom: 2px;
    }

    .testimonial__info span {
        font-size: 15px;
        font-family: var(--font-light);
        letter-spacing: 0.04em;
    }
}
