/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: border-color 0.2s;
}

a:hover {
    border-bottom-color: #000;
}

/* Layout */
body {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 20px;
}

header h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

header h1 a {
    border-bottom: none;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    font-size: 0.95rem;
    color: #555;
}

nav a:hover {
    color: #000;
}

/* Main Content */
.intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}



.bio {
    flex: 1;
}

.greeting {
    font-weight: 600;
    margin-top: 0;
}

.interests {
    padding-left: 20px;
    margin: 15px 0;
    color: #444;
}

.actions {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.9rem;
}

.button {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    border-bottom: 1px solid #000;
    /* Override link style */
}

.button:hover {
    background: #000;
    color: #fff;
}

.contact-email {
    color: #666;
    font-family: monospace;
}

/* Banner */
.banner {
    margin-bottom: 60px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    opacity: 0.9;
}

/* Blog, Announcements, Publications */
.blog,
.updates,
.blog-list,
.publications-list {
    margin-bottom: 40px;
}

.blog h2,
.updates h2,
.blog-list h2,
.publications-list h2 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog ul,
.updates ul,
.blog-list ul,
.publications-list ul {
    list-style: none;
    padding: 0;
}

.blog li,
.updates li,
.blog-list li,
.publications-list li {
    margin-bottom: 20px;
    color: #444;
}

.blog-entry {
    display: block;
    text-decoration: none;
    border-bottom: none;
    padding: 10px 0;
    /* Add some whitespace */
}

.blog-entry:hover {
    border-bottom: none;
}

.blog-title {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #000;
    /* Ensure title is black */
}

.blog-entry:hover .blog-title {
    text-decoration: underline;
}

.blog-caption {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    display: block;
}

.publications-list .authors {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
}

/* Footer */
footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #888;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 600px) {
    .intro {
        flex-direction: column;
        gap: 20px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }
}