/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Profile header */
.profile-header {
    display: flex;
    align-items: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
}

.profile-photo-container {
    margin-right: 40px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.tagline {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #2980b9;
}

/* Content sections */
.section {
    margin-bottom: 50px;
}

.section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.markdown-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Education and experience items */
.education-item, .experience-item, .publication-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.education-item:last-child, .experience-item:last-child, .publication-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-item h3, .experience-item h3, .publication-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #34495e;
}

.degree, .position, .authors {
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.date {
    font-style: italic;
    color: #95a5a6;
    margin-bottom: 10px;
}

.markdown-content ul {
    padding-left: 20px;
}

.markdown-content li {
    margin-bottom: 5px;
}

/* Publication links */
.links a {
    color: #3498db;
    text-decoration: none;
    margin-right: 10px;
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #eaeaea;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 40px 0 30px;
    }
    
    .profile-photo-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .markdown-content {
        padding: 20px;
    }
}