.avatar {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-soft);
    display: block;
    margin: 0 auto 14px;
    background: #dfe6f7;
}

.name {
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.name-en {
    margin: 4px 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.title {
    margin: 14px 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.contact {
    margin: 18px 0 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fcfdff;
    font-size: 14px;
}

.contact p {
    margin: 4px 0;
    color: var(--text-muted);
}

.contact a {
    color: var(--accent);
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.menu {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.menu a {
    display: block;
    border-radius: 9px;
    padding: 9px 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--accent);
    border-color: #d9e2ff;
    background: var(--accent-soft);
}

.bio {
    color: #2c3445;
    margin: 0;
}

.news-list,
.award-list,
.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.news-item,
.award-item,
.service-item {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fcfdff;
}

.news-date,
.award-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

.pub-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
}

.pub {
    border-left: 3px solid #d8e2ff;
    padding: 4px 0 4px 12px;
}

.pub-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pub-content {
    flex: 1 1 0%;
    min-width: 0;
}

.pub-title {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

.pub-meta {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.pub-links {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.pub-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.15s ease;
}

.pub-link:hover {
    border-color: #cfd9f6;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(49, 94, 251, 0.12);
}

.pub-link svg {
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.github-link:hover {
    color: #0f172a;
}

.pdf-link:hover {
    color: #c81e1e;
}

@media (max-width: 640px) {
    .pub-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pub-links {
        flex-direction: row;
    }
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.timeline li {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fcfdff;
}

.quote {
    margin: 0;
    border-left: 4px solid var(--accent);
    padding: 10px 14px;
    color: #2e3b58;
    background: var(--accent-soft);
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.footer {
    text-align: center;
    color: #8b93a5;
    font-size: 13px;
    padding: 6px 0 12px;
}
