@charset "UTF-8";

.author {
    --author-accent: #6b4bff;
    --author-accent-dark: #4b2ae3;
    --author-surface: #ffffff;
    --author-shadow: 0 28px 72px rgba(17, 22, 62, 0.12);
    background: linear-gradient(180deg, rgba(107, 75, 255, 0.08) 0%, #ffffff 54%);
    color: #1f2230;
    padding: 48px 0 96px;
}

.author_wrapper {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.author_header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: clamp(24px, 3vw, 40px);
    align-items: center;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.author_header .left {
    background: var(--author-surface);
    border-radius: 32px;
    padding: clamp(32px, 3vw + 12px, 56px);
    box-shadow: var(--author-shadow);
}

.author_header h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 2vw + 24px, 54px);
    font-weight: 700;
    line-height: 1.1;
    color: #161831;
}

.author_header p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #4d5163;
}

.author_header p:last-of-type {
    margin-bottom: 0;
}

.author_breadcrumbs {
    width: min(1120px, 100%);
    margin: 0 auto 20px;
    padding: 0 clamp(16px, 3vw, 32px);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: #6a6f85;
}

.author_breadcrumbs-link {
    color: #6a6f85;
    text-decoration: none;
}

.author_breadcrumbs-link:hover,
.author_breadcrumbs-link:focus {
    color: var(--author-accent-dark);
}

.author_breadcrumbs-separator {
    color: #9aa0b4;
}

.author_breadcrumbs-current {
    font-weight: 600;
    color: #1f2230;
}

.author_filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 20px;
}

.author_filters-label {
    font-weight: 600;
    color: #3a3f55;
}

.author_filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author_filters-link {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(107, 75, 255, 0.35);
    background: rgba(107, 75, 255, 0.08);
    color: var(--author-accent);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.author_filters-link:hover,
.author_filters-link:focus,
.author_filters-link.is-active {
    background: var(--author-accent);
    color: #ffffff;
    border-color: transparent;
}

.author_header .mobile {
    display: none;
}

.author_btn_mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(16px, 3vw, 28px);
}

.author_btn_mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(107, 75, 255, 0.35);
    background: rgba(107, 75, 255, 0.1);
    color: var(--author-accent);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.author_btn_mobile a:hover,
.author_btn_mobile a:focus {
    background: var(--author-accent);
    color: #ffffff;
    border-color: transparent;
}

.author_header .right {
    background: linear-gradient(200deg, rgba(107, 75, 255, 0.18) 0%, rgba(107, 75, 255, 0.04) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 18px 60px rgba(17, 22, 62, 0.16);
}

.author_header .right img {
    width: min(100%, 320px);
    height: auto;
}

.author_list {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 40px);
    margin: 0 auto clamp(56px, 10vw, 96px);
    counter-reset: author-rank;
}

.author_item {
    position: relative;
    background: var(--author-surface);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 56px) clamp(32px, 4vw, 52px);
    box-shadow: var(--author-shadow);
    overflow: hidden;
    counter-increment: author-rank;
}

.author_item::before {
    content: "№" counter(author-rank);
    position: absolute;
    top: clamp(20px, 4vw, 36px);
    right: clamp(20px, 5vw, 56px);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(107, 75, 255, 0.12);
    color: var(--author-accent);
}

.author_item:nth-of-type(1)::before {
    background: linear-gradient(90deg, #ffe385 0%, #f8c11c 100%);
    color: #503800;
}

.author_item:nth-of-type(2)::before {
    background: linear-gradient(90deg, #dfe4ff 0%, #9daffc 100%);
    color: #23317f;
}

.author_item:nth-of-type(3)::before {
    background: linear-gradient(90deg, #ffdff2 0%, #ff9bd9 100%);
    color: #6f1250;
}

.author_info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(20px, 4vw, 36px);
    align-items: start;
    margin-bottom: clamp(20px, 4vw, 32px);
}

.author_info .left {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
}

.author_info .left img {
    width: clamp(96px, 10vw, 128px);
    height: clamp(96px, 10vw, 128px);
    border-radius: 32px;
    object-fit: cover;
    background: rgba(107, 75, 255, 0.08);
    border: 4px solid rgba(107, 75, 255, 0.18);
    box-shadow: 0 20px 40px rgba(17, 22, 62, 0.18);
}

.author_info .left .author_fio {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2230;
    text-decoration: none;
}

.author_info .left .author_fio.mobile {
    display: none;
    align-items: center;
    gap: 10px;
}

.author_info .right .author_fio {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: clamp(22px, 2vw + 12px, 30px);
    font-weight: 700;
    color: #1f2230;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author_info .right .author_fio:hover,
.author_info .right .author_fio:focus {
    color: var(--author-accent-dark);
}

.author_info .author_fio img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.author_info p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #505468;
}

.author_info .full_text {
    display: none;
}

.author_stats {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 16px 24px;
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 20px;
    background: rgba(107, 75, 255, 0.08);
}

.author_stats-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author_stats-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b6077;
}

.author_stats-value {
    font-size: 22px;
    font-weight: 700;
    color: #1f2230;
}

.author_stats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 14px;
    color: #4d5163;
}

.author_seo {
    width: min(1120px, 100%);
    margin: 0 auto clamp(32px, 6vw, 56px);
    padding: 0 clamp(16px, 3vw, 32px);
    color: #3b3f54;
}

.author_seo h2 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw + 12px, 28px);
    font-weight: 700;
    color: #1f2230;
}

.author_seo p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.author_seo-updated {
    margin-top: 10px;
    font-size: 14px;
    color: #6b6f86;
}

.author_formula {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(107, 75, 255, 0.06);
}

.author_formula summary {
    cursor: pointer;
    font-weight: 600;
    color: #2a2f45;
}

.author_formula summary::marker {
    color: var(--author-accent);
}

.author_formula ul {
    margin: 12px 0 8px 20px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.author_formula-note {
    margin: 0;
    font-size: 14px;
    color: #5b6077;
}

.author .books.swiper {
    padding: 12px 0 16px;
}

.author .books .swiper-wrapper {
    align-items: stretch;
}

.author .books .swiper-slide {
    width: 150px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(107, 75, 255, 0.08);
    box-shadow: 0 18px 48px rgba(17, 22, 62, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author .books .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author .books .swiper-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(17, 22, 62, 0.26);
}

.author .navigator {
    display: flex;
    align-items: center;
    gap: clamp(16px, 4vw, 32px);
    margin-top: 16px;
}

.author .navigator > div:first-child {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(107, 75, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.author .navigator .og_btn {
    display: flex;
    gap: 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.author .sw-button-prev,
.author .sw-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(107, 75, 255, 0.3);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.author .sw-button-prev:hover,
.author .sw-button-prev:focus,
.author .sw-button-next:hover,
.author .sw-button-next:focus {
    background: var(--author-accent);
    border-color: transparent;
}

.author .sw-button-prev svg path,
.author .sw-button-next svg path {
    stroke: var(--author-accent);
    transition: stroke 0.3s ease;
}

.author .sw-button-prev:hover svg path,
.author .sw-button-prev:focus svg path,
.author .sw-button-next:hover svg path,
.author .sw-button-next:focus svg path {
    stroke: #ffffff;
}

.author .sw-scrollbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 4px;
    border-radius: 999px;
    background: rgba(107, 75, 255, 0.16);
}

.author .sw-scrollbar .swiper-scrollbar-drag {
    background: var(--author-accent);
    border-radius: inherit;
}

.author_books-message-wrapper {
    background: rgba(107, 75, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
}

.author_books-message {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
    color: #43465a;
}

.author_list_bottom_svg {
    display: none;
}

.author_new {
    background: linear-gradient(180deg, rgba(107, 75, 255, 0.12) 0%, rgba(107, 75, 255, 0) 100%);
    padding-top: clamp(32px, 6vw, 64px);
}

.author_new .og_wrapper {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.author_new span {
    display: block;
    font-weight: 700;
    color: #161831;
    margin-bottom: clamp(20px, 4vw, 32px);
}

.author_new_content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(16px, 4vw, 32px);
    align-items: center;
    background: var(--author-surface);
    border-radius: 32px;
    padding: clamp(20px, 5vw, 40px);
    box-shadow: var(--author-shadow);
}

.author_new .swiper_new {
    width: 100%;
}

.author_new .swiper-wrapper {
    align-items: stretch;
}

.author_new .swiper-slide {
    width: 148px;
    min-height: 180px;
    border-radius: 28px;
    padding: 20px 16px;
    background: linear-gradient(180deg, rgba(107, 75, 255, 0.12) 0%, rgba(107, 75, 255, 0.02) 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1f2230;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author_new .swiper-slide img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(17, 22, 62, 0.18);
    background: #ffffff;
}

.author_new .swiper-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17, 22, 62, 0.2);
}

.author_new .sw-button-prev,
.author_new .sw-button-next {
    width: 48px;
    height: 48px;
}

.author_new .sw-button-prev svg path,
.author_new .sw-button-next svg path {
    stroke: var(--author-accent);
}

@media (max-width: 1200px) {
    .author_header {
        grid-template-columns: 1fr;
    }

    .author_header .right {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .author {
        padding: 32px 0 72px;
    }

    .author_header .left {
        padding: clamp(28px, 6vw, 42px);
    }

    .author_header .mobile {
        display: block;
    }

    .author_header .desktop {
        display: none;
    }

    .author_item {
        padding: clamp(24px, 6vw, 40px);
    }

    .author_item::before {
        top: clamp(16px, 4vw, 28px);
        right: clamp(16px, 4vw, 28px);
    }

    .author_info {
        grid-template-columns: 1fr;
    }

    .author_info .left {
        justify-content: flex-start;
    }

    .author_new_content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .author_new .sw-button-prev,
    .author_new .sw-button-next {
        order: 1;
    }
}

@media (max-width: 768px) {
    .author_wrapper {
        padding: 0 clamp(12px, 4vw, 20px);
    }

    .author_header h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .author_info .right .author_fio {
        font-size: clamp(20px, 6vw, 26px);
    }

    .author_stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .author .books .swiper-slide {
        width: 132px;
        height: 200px;
    }

    .author_new .swiper-slide {
        width: 136px;
        min-height: 164px;
    }
}

@media (max-width: 600px) {
    .author_info .right .author_fio.desktop {
        display: none;
    }

    .author_info .left .author_fio.mobile {
        display: inline-flex;
    }
}

@media (max-width: 480px) {
    .author {
        padding-bottom: 56px;
    }

    .author_info {
        gap: 20px;
    }

    .author_info .left {
        flex-direction: column;
        align-items: flex-start;
    }

    .author_info .left img {
        width: 92px;
        height: 92px;
        border-radius: 24px;
    }

    .author .books .swiper-slide {
        width: 120px;
        height: 184px;
    }

    .author_new .swiper-slide {
        width: 120px;
        min-height: 156px;
    }
}
