:root {
    --primary-text: #333;
    --secondary-text: #666;
    --link-color: #0066cc;
    /* Typical academic blue link color */
    --hover-color: #004499;
    --background: #fff;
    --max-width: 960px;
}

body {
    font-family: 'Varela Round', 'Nunito', 'Roboto', 'Open Sans', sans-serif;
    color: var(--primary-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header Section */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.profile-info {
    flex: 1;
    padding-right: 40px;
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.profile-info .bio {
    margin-bottom: 20px;
    font-size: 1rem;
}

.profile-info .links {
    font-size: 1rem;
}

.profile-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Circular mask */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.robot-mini-display img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    margin-top: 10px;
}

/* Research Section */
.research-section {
    margin-top: 40px;
}

.research-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.research-intro {
    margin-bottom: 30px;
}

.research-intro ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.research-intro li {
    margin-bottom: 5px;
}

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

.publication-item {
    display: flex;
    gap: 30px;
}

.pub-image {
    flex-shrink: 0;
    width: 200px;
    padding-top: 5px;
    /* Visual alignment */
}

.pub-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pub-details {
    flex: 1;
}

.pub-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.pub-details h3 a {
    color: var(--link-color);
}

.pub-details .authors,
.pub-details .venue,
.pub-details .pub-links,
.pub-details .abstract {
    margin: 5px 0;
    font-size: 0.95rem;
}

.pub-details .venue {
    font-style: italic;
}

footer {
    margin-top: 80px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--secondary-text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column-reverse;
        text-align: center;
    }

    .profile-info {
        padding-right: 0;
    }

    .profile-photo {
        margin-bottom: 30px;
        width: 200px;
        height: 200px;
    }

    .publication-item {
        flex-direction: column;
    }

    .pub-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.inline-logo {
    height: 1.2em;
    width: auto;
    vertical-align: text-bottom;
    margin-left: 4px;
}