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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    width: 100%;
}

/* Header */
.header {
    text-align: left;
    padding: 40px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    align-items: start;
    gap: 40px;
}

.header-text {
    flex: 1;
}

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

.headshot-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-item-header i {
    font-size: 1rem;
    color: #666;
    width: 16px;
}

.contact-item-header a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 400;
}

.contact-item-header a:hover {
    text-decoration: underline;
}

.contact-item-header span {
    color: #333;
    font-weight: 400;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #666;
}

.institution {
    font-size: 1.1rem;
    color: #666;
}

/* Main content */
.main {
    padding: 20px 0;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* About section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: start;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
}

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

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}


    border: none;
    background: none;
}

.research-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.research-item p {
    color: #333;
    line-height: 1.6;
}

/* Publications section */
.subsection-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 30px 0 15px;
    color: #333;
}

.publication-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication {
    padding: 0;
    border: none;
    background: none;
}

.publication h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.authors {
    font-weight: 500;
    color: #333;
    margin-bottom: 3px;
}

.journal {
    color: #666;
    font-style: italic;
    margin-bottom: 8px;
}

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

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: none;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    border: none;
}

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

/* Education section */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.education-year {
    min-width: 120px;
    font-weight: 600;
    color: #666;
}

.education-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #333;
}

.education-details p {
    color: #333;
    margin-bottom: 2px;
}



/* Contact section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: none;
    background: none;
}

.contact-item i {
    font-size: 1rem;
    color: #666;
    width: 16px;
}

.contact-item a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 400;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item span {
    color: #333;
    font-weight: 400;
}

/* Footer */
.footer {
    border-top: 1px solid #ddd;
    color: #666;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer p {
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .headshot-img {
        width: 150px;
        height: 150px;
    }
    
    .contact-info-header {
        align-items: center;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .institution {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .education-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .education-year {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.8rem;
    }
    
    .publication-links {
        flex-direction: column;
        gap: 5px;
    }
}

/* News section */
.news-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

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

.news-list strong {
    color: #333;
}
