.comments {
    position: relative;
    padding: 30px 0 70px;
}

.comments__container {
    max-width: 1196px;
}

.comments:before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    background: var(--light);
    width: 1920px;
    height: 90%;
    transform: translateX(-50%);
}

.comments__title {
    color: var(--dark2);
    font-size: 2.1875rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.comments__list {
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    padding: 50px 0 22px;
    border-radius: 23px;
    box-shadow: 0 4px 13px 0 rgba(108, 113, 129, 0.35);
}

.comments__item {
    position: relative;
    max-width: 934px;
    margin-bottom: 32px;
    padding-left: 22px;
}

.comments__item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: var(--grey);
    width: 1px;
    height: calc(100% - 40px);
}

.comments__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.comments__circle {
    position: relative;
    max-width: 58px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
}

.avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.comments__name {
    color: var(--grey_dark);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.04;
}

.comments__text {
    font-size: 1.375rem;
    line-height: 1.5;
    margin-bottom: 17px;
}

.comments__item-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 27px 0;
}

.comments__img {
    max-width: 434px;
}

.comments__date {
    color: var(--grey2);
    font-size: 1.3125rem;
    letter-spacing: 0.01em;
}

@media screen and (max-width: 1024px) {
    .comments__container {
        padding: 0 10px;
    }

    .comments__list {
        padding: 50px 10px 22px;
    }

    .comments__item-row {
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 15px;
        margin: 20px 0;
    }
}

@media screen and (max-width: 576px) {

    .comments__item {
        margin-bottom: 15px;
        padding-left: 36px;
    }

    .comments__title {
        font-size: 1.375rem;
    }

    .comments__circle {
        max-width: 49px;
    }

    .comments__name {
        font-size: 1rem;
    }

    .comments__text {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .comments__date {
        font-size: 1rem;
    }
}