.home-comments {
    padding: clamp(40px, 7.15vw, 64px) 14px 36px;
    color: #3d3d3d;
    font-family: IRANSans, YekanBakh-Regular, sans-serif;
}

.home-comments__container {
    max-width: 1280px;
    margin-inline: auto;
}

.home-comments__title {
    margin: 0 0 16px;
    color: #161e55;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

.home-comments .swiper-slide {
    display: flex;
    height: auto;
}

.home-comments__card {
    width: 100%;
    min-height: 164px;
    padding: clamp(14px, 2.36vw, 21px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 23px;
}

.home-comments__header,
.home-comments__author {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.home-comments__header {
    justify-content: space-between;
}

.home-comments__author {
    align-items: center;
}

.home-comments__author,
.home-comments__identity {
    min-width: 0;
}

.home-comments__avatar {
    flex: none;
    border-radius: 50%;
    object-fit: cover;
}

.home-comments__name {
    display: block;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-comments__rating {
    display: flex;
    gap: 2px;
    width: max-content;
    max-width: 100%;
    color: #cbd5e1;
}

.home-comments__rating svg {
    width: 14px;
    height: 14px;
}

.home-comments__star--filled {
    color: #fbbf24;
}

.home-comments__date {
    flex: none;
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.home-comments__text {
    display: -webkit-box;
    margin: 14px 0 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    text-align: start;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
