#publication-author-page {
    --author-ink: #152033;
    --author-muted: #667085;
    --author-line: rgba(21, 32, 51, 0.10);
    --author-surface: #ffffff;
    --author-surface-soft: linear-gradient(180deg, #f8f5ef 0%, #eef5f7 100%);
    --author-shadow: 0 18px 48px rgba(21, 32, 51, 0.10);
}

#publication-author-page .author-shell {
    padding: 1.25rem 0 3rem;
}

#publication-author-page .author-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--author-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#publication-author-page .author-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

#publication-author-page .author-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

#publication-author-page .author-main {
    min-width: 0;
}

#publication-author-page .author-identity {
    margin-bottom: 1.5rem;
}

#publication-author-page .author-identity-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#publication-author-page .author-avatar {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--author-surface-soft);
    color: var(--author-ink);
    font-size: 2.5rem;
    font-weight: 300;
    border: 1px solid var(--author-line);
}

#publication-author-page .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#publication-author-page .author-copy {
    padding-top: 0.5rem;
}

#publication-author-page .author-title {
    margin: 0 0 0.5rem;
    color: var(--author-ink);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

#publication-author-page .author-bio {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--author-muted);
    margin: 0 0 1.25rem;
    max-width: 800px;
}

#publication-author-page .author-bio p:last-child {
    margin-bottom: 0;
}

#publication-author-page .author-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.8rem;
    color: var(--author-ink);
    font-size: 0.9rem;
    font-weight: 500;
}

#publication-author-page .author-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

#publication-author-page .author-meta a:hover {
    color: #0f766e;
}

#publication-author-page .meta-divider {
    color: var(--author-muted);
    opacity: 0.4;
    user-select: none;
}

#publication-author-page .author-role {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--author-muted);
}

#publication-author-page .author-handle,
#publication-author-page .author-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    #publication-author-page .author-identity-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }
    #publication-author-page .author-meta {
        justify-content: center;
    }
}

#publication-author-page .author-stream {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

#publication-author-page .publication-row {
    padding: 1rem 0;
    border-top: 1px solid var(--author-line);
}

#publication-author-page .publication-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.8rem;
    margin-bottom: 0.45rem;
}

#publication-author-page .publication-category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

#publication-author-page .publication-date {
    color: var(--author-muted);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

#publication-author-page .publication-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 800;
}

#publication-author-page .publication-title a {
    color: var(--author-ink);
    text-decoration: none;
    opacity: 1;
}

#publication-author-page .publication-title a:hover {
    color: #0f766e;
}

#publication-author-page .author-title,
#publication-author-page .author-title *,
#publication-author-page .publication-title,
#publication-author-page .publication-title *,
#publication-author-page .publication-title a,
#publication-author-page .publication-title a:visited {
    color: var(--author-ink) !important;
}

#publication-author-page .publication-title a:hover,
#publication-author-page .publication-title a:focus {
    color: #0f766e !important;
}

#publication-author-page .author-sidebar {
    min-width: 0;
}

#publication-author-page .author-side-card {
    background: var(--author-surface);
    border: 1px solid var(--author-line);
    border-radius: 1.35rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(21, 32, 51, 0.08);
}

#publication-author-page .author-side-title {
    color: var(--author-ink);
    font-size: 0.94rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

#publication-author-page .author-side-list {
    display: grid;
    gap: 0.75rem;
}

#publication-author-page .author-side-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#publication-author-page .author-side-item:hover {
    background: rgba(21, 32, 51, 0.05);
    transform: translateX(2px);
}

#publication-author-page .author-side-avatar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #0f766e);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

#publication-author-page .author-side-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#publication-author-page .author-side-copy {
    min-width: 0;
    display: grid;
    gap: 0.16rem;
}

#publication-author-page .author-side-name {
    color: var(--author-ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

#publication-author-page .author-side-publication {
    color: var(--author-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#publication-author-page .pagination-wrap {
    margin-top: 1.75rem;
}

#publication-author-page .pagination {
    gap: 0.35rem;
    flex-wrap: wrap;
}

#publication-author-page .page-link {
    min-width: 2.7rem;
    min-height: 2.7rem;
    border-radius: 0.9rem;
    border: 1px solid var(--author-line);
    background: #fff;
    color: var(--author-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0.65rem 0.9rem;
}

#publication-author-page .page-item.disabled .page-link {
    background: #fff;
    color: var(--author-muted);
    border-color: var(--author-line);
}

#publication-author-page .page-item.active .page-link {
    background: var(--author-ink);
    border-color: var(--author-ink);
    color: #fff;
}

#publication-author-page .page-link:hover {
    background: rgba(21, 32, 51, 0.05);
    color: var(--author-ink);
}

@media (min-width: 992px) {
    #publication-author-page .author-layout {
        grid-template-columns: minmax(0, 1fr) 20rem;
        align-items: start;
    }

    #publication-author-page .author-sidebar {
        position: sticky;
        top: 1.5rem;
    }
}

html[data-bs-theme="dark"] #publication-author-page,
body.dark #publication-author-page,
body.dark-mode #publication-author-page {
    --author-ink: #f8fafc;
    --author-muted: #94a3b8;
    --author-line: rgba(148, 163, 184, 0.18);
    --author-surface: #101826;
    --author-surface-soft: linear-gradient(180deg, #162033 0%, #101826 100%);
}

html[data-bs-theme="dark"] #publication-author-page .author-side-card,
body.dark #publication-author-page .author-side-card,
body.dark-mode #publication-author-page .author-side-card {
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.34);
}

html[data-bs-theme="dark"] #publication-author-page .author-avatar,
body.dark #publication-author-page .author-avatar,
body.dark-mode #publication-author-page .author-avatar {
    border-color: var(--author-line);
}

html[data-bs-theme="dark"] #publication-author-page .author-side-item:hover,
body.dark #publication-author-page .author-side-item:hover,
body.dark-mode #publication-author-page .author-side-item:hover {
    background: rgba(148, 163, 184, 0.10);
}

html[data-bs-theme="dark"] #publication-author-page .page-link,
body.dark #publication-author-page .page-link,
body.dark-mode #publication-author-page .page-link {
    background: #101826;
    color: #f8fafc;
    border-color: rgba(226, 232, 240, 0.2);
}

html[data-bs-theme="dark"] #publication-author-page .page-link:hover,
body.dark #publication-author-page .page-link:hover,
body.dark-mode #publication-author-page .page-link:hover {
    background: #182235;
    color: #ffffff;
}

html[data-bs-theme="dark"] #publication-author-page .page-item.disabled .page-link,
body.dark #publication-author-page .page-item.disabled .page-link,
body.dark-mode #publication-author-page .page-item.disabled .page-link {
    background: #101826;
    color: #94a3b8;
    border-color: rgba(226, 232, 240, 0.14);
}

html[data-bs-theme="dark"] #publication-author-page .page-item.active .page-link,
body.dark #publication-author-page .page-item.active .page-link,
body.dark-mode #publication-author-page .page-item.active .page-link {
    background: #f8fafc;
    color: #0f172a;
    border-color: #f8fafc;
}
