/* Minimal Academic Website Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1;
}

h1 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.tagline {
    font-size: 0.95em;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.contact-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-links br {
    flex-basis: 100%;
    height: 0;
}

.contact-links a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

section {
    margin-bottom: 50px;
}

.two-column-container {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.left-column {
    flex: 0 0 280px;
    text-align: center;
}

.left-column h1 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.left-column section {
    margin-bottom: 0;
}

.right-column {
    flex: 1;
    margin-bottom: 0;
}

.right-column section {
    margin-bottom: 30px;
}

.right-column section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #222;
}

p {
    margin-bottom: 15px;
    text-align: justify;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 20px;
}

.bio-item {
    margin-bottom: 25px;
}

.bio-item p {
    margin-bottom: 10px;
}

.image-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.image-row img {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 150px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.publication {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 4px;
    border-left: 4px solid #4a90e2;
}

.publication-title {
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    display: inline;
}

.publication-venue {
    color: #4a90e2;
    font-weight: 500;
    margin-right: 10px;
    display: inline;
}

.publication-links {
    margin-top: 5px;
    display: block;
}

.publication-links a {
    color: #4a90e2;
    text-decoration: none;
    margin-right: 12px;
    font-size: 0.9em;
}

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

.publication-authors {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 5px;
}

a {
    color: #4a90e2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: 600;
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    font-weight: 600;
    background-color: #f5f5f5;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    .two-column-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .left-column {
        flex: 1 1 auto;
        text-align: center;
    }
    
    .profile-photo {
        max-width: 200px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .image-row {
        flex-direction: column;
    }
    
    .image-row img {
        max-width: 100%;
    }
}
