﻿.author-page {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

    .author-page > *:nth-child(-n+2) {
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid #656C6F;
    }

    .author-page .info {
        display: flex;
        justify-content: space-between;
    }

        .author-page .info .info-wrap {
            margin-right: 16px;
            flex: 1;
        }

            .author-page .info .info-wrap .name {
                font-family: Source Serif;
                font-weight: 700;
                font-size: 32px;
                line-height: 45px;
                margin-bottom: 8px;
            }

            .author-page .info .info-wrap .description {
                font-family: Roboto Condensed;
                font-weight: 500;
                font-size: 18px;
                line-height: 25px;
            }

        .author-page .info .img-wrap {
            width: 160px;
            height: 160px;
            overflow: hidden;
        }

            .author-page .info .img-wrap > * {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 50%;
            }

    .author-page .block-title {
        font-family: Source Serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
        color: var(--color-primary);
        margin-bottom: 20px;
    }

    .author-page .contact .contact-wrap {
        font-family: Roboto Condensed;
        font-size: 18px;
        line-height: 25px;
    }

        .author-page .contact .contact-wrap:nth-last-child(n+2) {
            margin-bottom: 12px;
        }

    .author-page .contact .bullet {
        font-weight: 700;
    }

    .author-page .contact .text {
        font-weight: 500;
    }

    .author-page .contact .email {
        color: #016F9E;
        text-decoration: underline;
    }

    .author-page .list {
        margin-bottom: 16px;
    }

        .author-page .list .wrapper .mobile-title {
            display: none;
        }

        .author-page .list .wrapper > * {
            flex-direction: row-reverse;
        }

            .author-page .list .wrapper > *:nth-last-child(n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

            .author-page .list .wrapper > * .thumb {
                width: 27.97%;
                margin-bottom: 0px;
                margin-left: 32px;
                min-width: 240px;
            }

            .author-page .list .wrapper > * .info-wrapper {
                flex: 1;
            }

            .author-page .list .wrapper > * .title {
                font-size: 18px;
                line-height: 25px;
                margin-bottom: 8px;
            }

            .author-page .list .wrapper > * .info .text {
                font-size: 14px;
                line-height: 20px;
            }

    .author-page .pagination-container {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        border-top: 1px solid #BFC6C9;
    }

    .author-page .showing-text {
        font-family: Inter;
        font-size: 14px;
        line-height: 20px;
    }

    .author-page .pagination-nav {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .author-page .nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: none;
        background: white;
        cursor: pointer;
        border-radius: 4px;
        font-size: 14px;
        color: #0B1215;
    }

    .author-page .page-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid #EEF4F6;
        background: white;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.2s ease;
        font-family: Inter;
        font-size: 14px;
        line-height: 20px;
        color: #0B1215;
        text-decoration: none;
    }

        .author-page .page-btn:hover:not(.active) {
            background-color: #f0f0f0;
            border-color: #bbb;
        }

        .author-page .page-btn.active {
            background-color: var(--color-primary);
            border-color: var(--color-primary);
            color: white;
        }

    .author-page .ellipsis {
        padding: 0 8px;
        color: #666;
        font-size: 14px;
    }

    .author-page .per-page-controls {
        margin-left: auto;
    }

    .author-page .per-page-select {
        padding: 6px 0px 6px 10px;
        border: 1px solid #C7C9D3;
        border-radius: 6px;
        font-family: Helvetica;
        font-size: 14px;
        line-height: 20px;
        background: white;
        color: var(--color-primary);
        cursor: pointer;
    }

    .author-page .goto-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 12px;
        font-family: Inter;
        font-size: 14px;
        line-height: 20px;
    }

    .author-page .goto-input {
        width: 56px;
        padding: 6px 8px;
        border: 1px solid #EEF4F6;
        border-radius: 6px;
        font-family: Inter;
        line-height: 20px;
        font-size: 14px;
        text-align: center;
    }

@media screen and (max-width: 996px) {
    .author-page {
        max-width: unset;
    }

        .author-page .pagination-container {
            justify-content: center;
        }

            .author-page .pagination-container > *:not(.pagination-nav) {
                display: none;
            }

        .author-page .list .wrapper > * {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .author-page .list .wrapper .mobile-title {
            display: flex;
            width: 100%;
            font-size: 18px;
            line-height: 25px;
            margin-bottom: 8px;
        }

            .author-page .list .wrapper .mobile-title .title {
                margin-bottom: 0px;
            }

        .author-page .list .wrapper > * .info-wrapper .title-wrap {
            display: none;
        }

        .author-page .list .wrapper > * .info .text > * {
            --line-num: 2;
        }

        .author-page .list .wrapper > * .thumb {
            width: 36%;
            min-width: 120px;
            margin-left: 0px;
            margin-right: 8px;
        }

            .author-page .list .wrapper > * .thumb .type {
                padding: 4px 8px;
            }
}

@media screen and (max-width: 768px) {
    .author-page {
        padding: 16px 0 0 0;
    }

        .author-page .info {
            flex-direction: column-reverse;
        }

            .author-page .info .img-wrap {
                width: 112px;
                height: 112px;
                margin-bottom: 16px;
            }

        .author-page > *:nth-child(-n+2) {
            margin-bottom: 24px;
            padding-bottom: 24px;
        }

        .author-page .list .wrapper > *:nth-last-child(n+2) {
            margin-bottom: 12px;
            padding-bottom: 12px;
        }

        .author-page .pagination-container {
            padding: 12px 15px;
        }
    /* .author-page .pagination-nav .page-btn:nth-child(6){
        display: none;
    } */
}
