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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

.intro-text a {
    color: rgb(0, 136, 255);
    text-decoration: none;
}

.intro-text a:visited {
    color: rgb(0, 136, 255);
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Intro Section */
.intro {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
}

.intro h3 {
    /* font-size: 1.5rem; */
    margin-bottom: 30px;
    font-weight: 600;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.intro-photo {
    flex-shrink: 0;
}

.intro-photo img {
    width: 300px;
    height: 300px;
    aspect-ratio: 1;
    /* border-radius: 8px; */
    object-fit: cover;
    margin-top: 60px;
}

/* Publications Section */
.publications {
    margin-bottom: 20px;
}

.publications h2,
.news h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.publication-item {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

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

.pub-image {
    flex-shrink: 0;
}

.pub-image img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

.pub-title {
    color: black;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    text-decoration: none;
}

.pub-title:hover {
    color: rgb(0, 136, 255);
}

.pub-content {
    flex: 1;
}

.pub-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.pub-authors {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* .pub-venue {
    color: #666;
    margin-bottom: 12px;
} */

.pub-venue {
    /* font-style: italic; */
    color: #99a;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.pub-links a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}

.pub-links a:hover {
    text-decoration: underline;
}

/* News Section */
.news-list {
    margin-bottom: 20px;
}

.news-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.news-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

.news-header:hover {
    background-color: #f0f0f0;
}

.news-date {
    font-weight: 600;
    color: #666;
    margin-right: 20px;
    min-width: 80px;
}

.news-title {
    flex: 1;
    font-weight: 500;
}

.news-toggle {
    font-size: 1.5rem;
    color: #666;
    transition: transform 0.2s;
}

.news-item.active .news-toggle {
    transform: rotate(45deg);
}

.news-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.news-item.active .news-content {
    max-height: 1000px;
    padding: 15px 20px 20px;
}

#load-more {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#load-more:hover {
    background-color: #555;
}

#load-more.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .intro {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .pub-image img {
        width: 100%;
        height: auto;
    }
    
    .news-header {
        flex-wrap: wrap;
    }
    
    .news-date {
        width: 100%;
        margin-bottom: 5px;
    }
}