.author__block {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 30px;
}
.author__details {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.author__ava {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author__ava img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}
.author__name {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 30px;
}
.author__proff {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 10px;
}
.author__text, .author__text p {
    font-size: 20px;
    line-height: 1.6;
}
.author__text p {
    margin-bottom: 0;
}
.author__text {
    margin-top: 10px;
    text-align: center;
    max-width: 880px;
}
.author__text a {
    color: var(--color-green)
}
.author__social {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}
.author__social-link {
    background-color: #1C1C1C;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.author__count {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
}
.author__posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}
.author__post {
    width: calc(25% - 15px);
    min-width: calc(25% - 15px);
    display: block;
}
.author__post-img {
    height: 205px;
    border-radius: 16px;
    background: var(--color-grey);
    background-size: cover;
    background-position: center;
}
.author__post-desc {
    padding: 16px 10px;
}
.author__post-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-grey)
}
.author__post-title {
    color: var(--color-main);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 12px;
}
.author__post-text {
    line-height: 1.2;
    color: var(--color-main);
    margin-top: 12px;
}
.author__post-link {
    color: var(--color-green);
    font-weight: 500;
    margin-top: 12px;
}
.author__post-date, .author__post-views {
    display: flex;
    align-items: center;
    gap: 6px
}
.author__post-date:after {
    content: '·';
    display: inline-block;
}
.author__empty {
    font-size: 20px;
    line-height: 1.5;
}
.author__more, .authors__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color:var(--color-grey);
    gap: 10px;
    flex-direction: column;
    margin-top: 50px;
    transition: color .3s ease;
}
.author__more svg, .authors__more svg {
    transition: transform .7s ease;
}
.author__posts.loading:after, .authors__more.loading:after {
    content: 'Загрузка ...';
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 15px;
    font-size: 12px;
    color: var(--color-green);
}

.authors {
    background-color: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    margin-left: -32px;
    margin-right: -32px;
}
.authors__title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.25;
}
.authors__text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.authors__filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.authors__tabs {
    display: flex;
    gap: 16px
}
.authors__tab {
    height: 49px;
    padding: 0 16px;
    align-items: center;
    border-radius: 40px;
    border: 1px solid #fff;
    cursor: pointer;
    display: flex;
}
.authors__tab--active {
    color: var(--color-green);
    border-color: var(--color-green)
}
.authors__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}
.authors__card {
    display: block;
    width: calc((100% - 60px) / 4);
    min-width: calc((100% - 60px) / 4);
    color: var(--color-main)
}
.authors__card-image {
    height: 305px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.authors__card-image img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    display: block;
    max-width: 120%;
    max-height: 120%;
    position: relative;
}
.authors__card-wrap {
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.authors__card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}
.authors__card-subtitle {
    color: var(--color-grey);
    line-height: normal;
    margin-top: 6px;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.authors__card-text {
    line-height: normal;
    min-height: 100px;
    display: -webkit-box !important;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 12px;
    margin-bottom: 15px;
}
.authors__card-btn {
    margin-top: auto;
    height: 44px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    color: var(--color-green);
    justify-content: center;
    font-weight: 500;
    background-color: #E4F6FC;
}
.authors-wrap {
    margin-bottom: 100px;
}


@media only screen and (min-width: 991px) {
    .author__more:hover, .authors__more:hover {
        color:var(--color-green)
    }
    .author__more:hover svg, .authors__more:hover svg {
        transform: rotate(90deg);
    }
}

@media only screen and (max-width: 1199px) {
    .author__post {
        width: calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }
    .authors__card {
        width: calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }
}

@media only screen and (max-width: 991px){
    .author__name {
        font-size: 32px;
    }
    .author__proff, .author__text, .author__text p {
        font-size: 17px;
    }
    .author__count {
        font-size: 28px;
    }
    .author__post-title {
        font-size: 18px;
    }
    .author__post-text, .author__post-date, .author__post-views, .author__post-link {
        font-size: 14px;
    }
}

@media only screen and (max-width: 850px) {
    .author__post {
        width: calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
    .authors__card {
        width: calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
}

@media only screen and (max-width: 767px) {
    .author__more, .authors__more {
        margin-top: 30px;
        font-size: 14px;
        gap:0
    }
    .author__more svg, .authors__more svg {
        transform: scale(.7);
    }
    .author__ava {
        width: 150px;
        height: 150px;
    }
    .author__name {
        font-size: 24px;
        margin-top: 20px;
    }
    .author__proff, .author__text, .author__text p {
        font-size: 16px;
    }
    .author__block {
        padding: 20px;
        margin-bottom: 20px;
    }
    .author__social-link {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }
    .author__social {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .author__ava {
        width: 100px;
        height: 100px;
    }
    .author__name {
        font-size: 20px;
    }
    .author__block {
        margin-left: -15px;
        margin-right: -15px;
        padding: 15px;
    }
    .author__count {
        font-size: 20px;
        margin-bottom: 16px;
    }
    .select {
        margin-top: 16px;
    }
    .authors__title {
        font-size: 24px;
    }
    .authors__text {
        font-size: 16px;
    }
    .authors__tab {
        font-size: 14px;
        height: 36px;
        padding: 0 8px;
    }
    .authors__card-image {
        height: 45vw;
    }
    .authors__card-wrap {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (max-width: 500px) {
    .author__post {
        width: 100%;
        min-width: 100%;
    }
    .author__post-desc {
        padding-left: 0;
        padding-right: 0;
    }
    .authors__card {
        width: 100%;
        min-width: 100%;
    }
    .authors__card-image {
        height: 90vw;
    }
    .authors__card-text {
        min-height: auto;
    }
}