/* Academic Homepage Style - Two Column Layout */

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

body {
    font-family: 'Optima', 'Georgia', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 15px;
    height: 100vh;
    overflow: hidden;
}

/* 主容器 - 两栏布局 */
.layout-container {
    display: flex;
    height: 100vh;
}

/* 左侧固定栏 */
.sidebar {
    width: 350px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 40px 30px;
    overflow-y: auto;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

.profile-section {
    text-align: center;
}

.profile-image {
    margin-bottom: 25px;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-img:hover {
    border-color: #0066cc;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.sidebar h1 {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.2;
}

.chinese-name {
    font-family: 'Georgia', 'Optima', serif;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
    display: block;
}

.affiliation {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
    /* padding: 8px 16px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 204, 0.1); */
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contact-item:hover {
    color: #004499;
    background-color: #e3f2fd;
}

.contact-item i {
    width: 18px;
    font-size: 14px;
    margin-right: 10px;
    text-align: center;
}

.contact-item span {
    color: inherit;
}

/* 右侧内容栏 */
.main-content {
    flex: 1;
    margin-left: 350px;
    padding: 40px 50px;
    overflow-y: auto;
    height: 100vh;
}

/* 内容区域样式 */

/* 内容区域样式 */
.intro-section {
    margin-bottom: 25px;
}

.intro-content-with-image {
    display: block;
}

.intro-content h2 {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    color: #000;
}

.intro-content p {
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.6;
}

/* Sections */
.section {
    margin: 25px 0;
}

.section h2 {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

/* News List */
.news-list {
    list-style: none;
    line-height: 1.6;
}

.news-list li {
    margin-bottom: 8px;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.news-list li:before {
    content: "●";
    color: #0066cc;
    font-size: 1em;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.date {
    color: #666;
    font-weight: 500;
}

/* Publications */
.publication-note {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.scholar-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.scholar-link:hover {
    text-decoration: underline;
}

.scholar-link i {
    margin-right: 0.3rem;
}

.publication-notation {
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.publication-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.publication-item:last-child {
    border-bottom: none;
}

.paper-title {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.authors {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.5;
}

.venue {
    margin-bottom: 12px;
    color: #666;
    font-style: italic;
}

.paper-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.paper-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.paper-link:hover {
    background-color: #f0f8ff;
    text-decoration: none;
}

.paper-link i {
    font-size: 0.8rem;
}

/* Research Interests */
.research-list {
    list-style: none;
    line-height: 1.6;
}

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

.research-list li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Typography */
p {
    margin-bottom: 8px;
    text-align: justify;
    line-height: 1.6;
}

strong {
    font-weight: 600;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 300px;
    }
    
    .main-content {
        margin-left: 300px;
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    body {
        overflow: visible;
    }
    
    .layout-container {
        flex-direction: column;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        padding: 30px 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        height: auto;
        overflow-y: visible;
    }
    
    .sidebar h1 {
        font-size: 1.8rem;
    }
    
    .chinese-name {
        font-size: 1.1rem;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
}

/* Sections */
.section {
    margin: 35px 0;
}

.section h2 {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

/* News List */
.news-list {
    list-style: none;
    line-height: 1.8;
}

.news-list li {
    margin-bottom: 8px;
    color: #333;
}

.date {
    color: #666;
    font-weight: 500;
}

/* Publications */
/* Publications Section */
.publication-note {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.scholar-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.scholar-link:hover {
    text-decoration: underline;
}

.scholar-link i {
    margin-right: 0.3rem;
}

.publication-notation {
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.publication-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.publication-item:last-child {
    border-bottom: none;
}

.paper-title {
    font-family: 'Optima', 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.authors {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.5;
}

.venue {
    margin-bottom: 12px;
    color: #666;
    font-style: italic;
}

.paper-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.paper-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.paper-link:hover {
    background-color: #f0f8ff;
    text-decoration: none;
}

.paper-link i {
    font-size: 0.8rem;
}

/* Research Interests */
.research-list {
    list-style: none;
    line-height: 1.8;
}

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

.research-list li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #f0f8ff;
    color: #0066cc;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0f0ff;
}

/* Typography */
p {
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.6;
}

strong {
    font-weight: 600;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .chinese-name {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        font-size: 1.4rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .intro-content-with-image {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .header-info {
        text-align: left;
    }
    
    .intro-content {
        text-align: left;
    }
    
    .contact-links {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.7rem;
    }
    
    .chinese-name {
        font-size: 1.2rem;
    }
    
    .intro-content h2 {
        font-size: 1.3rem;
    }
    
    .section h2 {
        font-size: 1.2rem;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .paper-links {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Education */
.education-item {
    margin-bottom: 20px;
}

.education-item p:last-child {
    margin-left: 20px;
    position: relative;
    color: #555;
}

.education-item p:last-child:before {
    content: "●";
    color: #0066cc;
    font-size: 1.1em;
    position: absolute;
    left: -20px;
    top: 0;
    font-weight: bold;
}