.author-page {
    padding-top: 100px;
}

body.author .footer__socials{
    background: #F5F5F5;
}

body.author .footer__socials svg path {
    fill: #F5F5F5;
}

.author-left-block__seo-heading {
    position: absolute;
    left: -9999px;
}

.author-right-block__author-name {
    font-weight: 600;
}

.author-left-block__user {
    position: relative;
    z-index: 2;
    color: #325562;
    border-radius: 20px;
    background: #FFF;
    padding: 20px 20px 35px 20px;
}

.author-left-block {
    z-index: 5;
    height: 100%;
    flex-basis: 350px;
    flex-shrink: 0;
}

.author-left-block__user-education,
.author-left-block__user-position,
.author-left-block__email-wrapper {
    font-size: 17px;
}

.author-left-block__user-avatar-wrap {
    display: flex;
    margin-bottom: 30px;
}

.author-left-block__user-avatar-wrap img {
    width: 310px;
    height: 310px;
    object-fit: cover;
    border-radius: 10px;
}

.author-left-block__heading {
    margin-bottom: 50px;
}



.author-left-block__user-heading {
    margin-bottom: 8px;
    color: #202029;
    letter-spacing: -0.05em;
    font-weight: 500;
}

.author-left-block__user-expertise-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.author-left-block__user-expertise-item {
    width: fit-content;
    padding: 8px 16px;
    border-radius: 8px;
}

.author-left-block__user-expertise-item.expertise-item-color-1 span {
    background: linear-gradient(212deg, #5872ff 0%, #a258ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-left-block__user-expertise-item.expertise-item-color-1 {
    background: linear-gradient(212deg, rgba(88, 114, 255, 0.15) 0%, rgba(162, 88, 255, 0.15) 100%);
}

.author-left-block__user-expertise-item.expertise-item-color-2 span {
    color: #FF5A46;
}

.author-left-block__user-expertise-item.expertise-item-color-2 {
    background: rgba(255, 107, 116, 0.1);
}
.author-left-block__user-expertise-item.expertise-item-color-3 span {
 color: #F8AE3F;
}


.author-left-block__user-expertise-item.expertise-item-color-3 {
    background: rgba(248, 196, 63, 0.1);
}

.author-left-block__user-expertise-item.expertise-item-color-4 span {
color: #202029;
}

.author-left-block__user-expertise-item.expertise-item-color-4 {
    background: rgba(80, 85, 97, 0.1);
}

.author-left-block__email-wrapper {
    display: flex;
    gap: 5px;
    align-items: center;
}

.author-left-block__user-name {
    color: #202029;
}

.author-right-block__biography-heading,
.author-right-block__articles-heading {
    color: #2b2c2e;
    font-weight: 500;
}

.author-right-block__biography-heading {
    margin-bottom: 20px;
}

.user-info-element {
    padding-bottom: 18px;
    border-bottom: 1px solid #DEE3ED;
    margin-bottom: 18px;
}

.author-page__wrapper {
    display: flex;
    gap: 30px;
}

.author-right-block__other-author {
    border-radius: 10px;
    padding: 14px 20px 14px 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-basis: calc((100% - 21px) / 2);
    transition: all 0.3s ease;
}

.author-right-block__other-author:hover {
    box-shadow: 0 2px 4px 0 rgba(17, 20, 39, 0.02), 0 7px 7px 0 rgba(17, 20, 39, 0.02), 0 16px 9px 0 rgba(17, 20, 39, 0.01), 0 28px 11px 0 rgba(17, 20, 39, 0), 0 43px 12px 0 rgba(17, 20, 39, 0);
}

.author-right-block__other-authors {
    display: flex;
    gap: 21px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.author-right-block {
    flex-basis: 980px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.author-right-block__other-authors .author-right-block__other-author:nth-child(2) svg {
    transform: scaleX(-1);
}

.author-right-block__other-authors .author-right-block__other-author:nth-child(1) {
    flex-direction: row-reverse;
}

.author-right-block__other-author-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #202029;
    font-size: 17px;
}

.author-right-block__text-wrapper {
    font-weight: 400;
    color: #325562;
}

.author-right-block__biography-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.author-right-block__biography-wrapper p {
    color: #505561;
    line-height: 140%;
    margin-bottom: 0;
}

.author-right-block__biography {
    margin-bottom: 30px;
    background: #FFF;
    border-radius: 20px;
    padding: 40px;
}

.article-slide__image-wrapper {
    position: relative;
    min-height: 254px;
    padding: 14px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.article-slide__image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    border-radius: 10px;
}

.single-post__articles-swiper .swiper-slide,
.author-right-block__articles-swiper .swiper-slide{
    height: auto;
}

.author-right-block__top {
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.article-slide__content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 12px 27px 0 rgba(11, 12, 20, 0.02), 0 48px 48px 0 rgba(11, 12, 20, 0.02), 0 109px 65px 0 rgba(11, 12, 20, 0.01), 0 193px 77px 0 rgba(11, 12, 20, 0), 0 302px 84px 0 rgba(11, 12, 20, 0);
}

.article-slide__categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.article-slide__categories .category {
    border-radius: 38px;
    background: #FFF;
    color: #325562;
    font-size: 17px;
    line-height: 1.3;
    width: fit-content;
    padding: 8px 16px;
    font-weight: 600;
}

.article-slide__date {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #3BA7FF;
    margin-bottom: 10px;
}

.article-slide__title {
    margin-bottom: 10px;
}

.article-slide__excerpt {
    color: #325562;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEF2F5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.article-slide__author__avatar img {
    border-radius: 100%;
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.article-slide__author {
    display: flex;
    gap: 10px;
    align-items: center;
}

.article-slide__author-info {
    display: flex;
    flex-direction: column;
}

.article-slide__author-name {
    color: #202029;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}

.article-slide__date-published {
    color: #325562;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.6px;
}

.article-slide__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.author-right-block__swiper-navigation {
    width: fit-content;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 24px;
    height: 48px;
    margin-top: 40px;
}

.author-right-block__swiper-navigation .swiper-button-next,
.author-right-block__swiper-navigation .swiper-button-prev {
    position: relative;
    top: 13px;
}

.article-slide__button.btn-secondary {
    max-width: 190px;
    min-width: 0;
}

.author-right-block__articles-block {
    border-radius: 20px;
    background: #FFF;
    padding: 40px 40px 37px 40px;
    overflow: hidden;
}


.author-page__left-block {
    position: relative;
}

.author .headerblock::after,
.author .headerblock::before {
    content: '';
    background: #DEE3ED;
    height: 100%;
    width: 12px;
    bottom: 0;
    position: fixed;
}

.author .headerblock::after {
    right: 0;
}

.author .headerblock::before {
    left: 0;
}

@media screen and (min-width: 1024px) {

    #page:has(.author-page) {
        background: #F5F5F5;
    }
}

@media screen and (max-width: 1023.98px) {
    .author-page__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .author .headerblock::after,
    .author .headerblock::before {
      display: none;
    }

    .author-left-block__user-avatar-wrap img {
        height: auto;
        width: auto;
        margin: auto;
        max-height: 500px;
    }

    .author-left-block__user {
        padding: 20px 25px 40px 25px;
    }

    .author-left-block__user-avatar-wrap {
        margin-bottom: 40px;
    }

    .author-left-block__user-expertise-item {
        padding: 9.5px 26px;
    }

    .author-right-block__biography {
        padding: 40px 25px;
    }

    .author-right-block {
        flex-basis: 100%;
    }

    .articles__navigation {
        display: none!important;
    }

    .author-right-block__top {
        margin-bottom: 21px;
    }

    .author-right-block__articles-block {
        padding: 40px 25px;
    }

    .author-right-block__biography {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 599.98px) {
    .author-left-block__user-avatar-wrap img {
        max-height: 315px;
        width: 100%;
    }

}



