.authors-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 30px;
}

.c-pagination__author {
    visibility: hidden;
}

.authors-list__author {
    position: relative;
    display: flex;
    flex-basis: calc(100% / 6 - (30px * 5 / 6));
    max-width: calc(100% / 6 - (30px * 5 / 6));
    flex-direction: column;
    border-radius: 16px;
    gap: 8px;
    background:  #F2F6FA;
    overflow: hidden;
}

.authors-list__author.hidden {
    display: none;
}

.authors-list__author-info {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
}

.authors-list__author-avatar {
    width: 100%;
    display: flex;
}

.authors-list__author-avatar img {
    width: 100%;
    height: auto;
    max-height: 160px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
}

.authors-list__author-name {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;

    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.authors-list__author-name:hover {
    color: #000;
}

.authors-list__author-job {
    color: var(--accent-primary, #005293);
    font-size: 12px;
    line-height: 16px;
}

.authors-list__author-stats {
    color: var(--text-secondary, #757575);
    font-size: 12px;
    line-height:  16px;
}

@media screen and (max-width: 1202px) {
    .authors-list__author {
        flex-basis: calc(100% / 5 - (30px * 4 / 5));
        max-width: calc(100% / 5 - (30px * 4 / 5));
    }
}


@media only screen and (max-width: 991px) {
    .authors-list {
        gap: 20px;
    }

    .authors-list__author {
        flex-basis: calc(100% / 5 - (20px * 4 / 5));
        max-width: calc(100% / 5 - (20px * 4 / 5));
    }
}

@media only screen and (max-width: 771px) {
    .authors-list__author {
        flex-basis: calc(100% / 4 - (20px * 3 / 4));
        max-width: calc(100% / 4 - (20px * 3 / 4));
    }
}

@media only screen and (max-width: 570px) {
    .authors-list__author {
        flex-basis: calc(100% / 3 - (20px * 2 / 3));
        max-width: calc(100% / 3 - (20px * 2 / 3));
    }
}

@media only screen and (max-width: 440px) {
    .authors-list__author {
        flex-basis: calc(100% / 2 - (20px * 1 / 2));
        max-width: calc(100% / 2 - (20px * 1 / 2));
    }
}
