/* Base styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #f8f8f8;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    color: #2c3e50;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 10px;
}

header nav ul li a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #2980b9;
}

/* Main content */
main {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* About section */
.profile-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.profile-pic {
    width: 150px;
    height: auto;
    border-radius: 5px;
}

.bio {
    flex: 1;
}

/* Publications section */
.publication-list {
    margin-top: 20px;
}

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

.publication:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.publication h3 {
    margin-top: 0;
    color: #2c3e50;
}

.authors {
    font-style: italic;
    color: #7f8c8d;
}

.venue {
    font-weight: bold;
    color: #3498db;
}

.abstract {
    margin: 10px 0;
}

/* Posts section */
.posts-list {
    margin-top: 20px;
}

.post-preview {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-preview h3 {
    margin: 0 0 5px 0;
}

.post-preview h3 a {
    text-decoration: none;
    color: #2c3e50;
}

.post-preview h3 a:hover {
    color: #3498db;
}

.date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin: 5px 0;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9em;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    color: #2980b9;
}

/* Article styles for blog posts */
article h1 {
    color: #2c3e50;
    margin-top: 0;
}

article h2 {
    color: #3498db;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

article img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

article code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

article pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    header nav ul li {
        display: block;
        margin: 5px 0;
    }
    
    main {
        padding: 15px;
    }
}