/* Minimalist Blue-Green Theme */

:root {
    --primary-color: #008080; /* Teal */
    --secondary-color: #20B2AA; /* Light Sea Green */
    --accent-color: #E0F2F1; /* Very Light Teal */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #F9FAFB; /* Off-white */
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Sidebar */
aside {
    width: 300px;
    background: #f0fdfa; /* Lightest teal bg */
    border-right: 1px solid var(--border-color);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.sidebar-nav {
    width: 100%;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary-color);
}

.nav-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-info {
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Main Content */
main {
    flex: 1;
    padding: 50px 60px;
    max-width: 900px; /* Optimal reading width */
}

h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.chinese-name {
    font-weight: 400;
    color: var(--text-light);
    font-size: 1.2rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Research Tags */
.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

/* News List */
ul.news-list {
    list-style: none;
    padding: 0;
}

ul.news-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

ul.news-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Publications */
.pub-year-header {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

ol.pub-list {
    list-style: none;
    padding: 0;
    counter-reset: pub-counter;
}

ol.pub-list li {
    counter-increment: pub-counter;
    margin-bottom: 24px;
    padding-left: 0;
    position: relative;
}

.pub-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    display: block;
    margin-bottom: 6px;
}

.pub-authors {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.pub-venue {
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.pub-links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--accent-color);
}

.btn-link img {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    
    aside {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
    }

    main {
        padding: 40px 30px;
    }
}
