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

body {
    font-family: 'Gentium Basic', Georgia, serif;
    line-height: 1.6;
    color: #333;
    font-size: 17px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Left Sidebar */
.sidebar {
    width: 320px;
    background-color: #2d6a7a;
    color: white;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.image-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.title {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.contact-info h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-item {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-item .label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.contact-item a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.3s;
}

.contact-item a:hover {
    border-bottom-color: white;
}

/* Main Content */
.main-content {
    margin-left: 320px;
    flex: 1;
    background-color: white;
    padding: 60px 80px 60px 80px;
    position: relative;
    max-width: 1200px;
}

/* Top Right Navigation */
.top-nav {
    position: absolute;
    top: 30px;
    right: 80px;
    display: flex;
    gap: 25px;
}

.top-nav a {
    color: #1d4a58;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.top-nav a:hover {
    background-color: #2d6a7a;
    color: white;
}

section {
    margin-bottom: 50px;
    padding: 0;
}

section h2 {
    font-size: 32px;
    color: #1d4a58;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d6a7a;
}

section p {
    color: #333;
    margin-bottom: 15px;
}

/* Hyperlinks in sections content */
section a {
    color: #2d2d2d;
    font-weight: 400;
    text-decoration: underline;
    transition: color 0.3s;
}

section a:hover {
    color: #000000;
}

/* Publications */
.publication {
    margin-bottom: 25px;
    padding-bottom: 0;
    padding-left: 20px;
    position: relative;
}

.publication::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #333;
}

.publication:last-child {
    padding-bottom: 0;
}

.publication h3 {
    font-family: 'Gentium Basic', Georgia, serif;
    font-size: 18px;
    color: #000000;
    font-weight: 550;
    margin-bottom: 8px;
}

.publication h3 .pdf-link {
    color: #2d6a7a;
    font-weight: 400;
    font-size: 16px;
    text-decoration: underline;
    transition: all 0.3s;
    margin-right: 8px;
}

.publication h3 .pdf-link:hover {
    color: #1d4a58;
}

.publication .authors {
    font-size: 16px;
    color: #000000;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.publication .authors::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 17px;
    color: #666;
}

.publication .venue {
    font-style: normal;
    color: #000000;
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.publication .venue::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 17px;
    color: #666;
}

.publication .description {
    color: #333;
    font-size: 15px;
}

/* Talks */
.talk {
    margin-bottom: 25px;
    padding-bottom: 0;
    padding-left: 20px;
    position: relative;
}

.talk::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #333;
}

.talk:last-child {
    padding-bottom: 0;
}

.talk h3 {
    font-family: 'Gentium Basic', Georgia, serif;
    font-size: 18px;
    color: #000000;
    font-weight: 550;
    margin-bottom: 8px;
}

.talk .venue {
    color: #000000;
    font-size: 17px;
    margin-bottom: 5px;
    font-style: normal;
    padding-left: 15px;
    position: relative;
}

.talk .venue::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 17px;
    color: #666;
}

.talk .date {
    color: #000000;
    font-size: 16px;
    font-style: normal;
    padding-left: 15px;
    position: relative;
}

.talk .date::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 16px;
    color: #666;
}

/* Teaching */
.teaching-subsection {
    font-family: 'Gentium Basic', Georgia, serif;
    font-size: 20px;
    color: #1d4a58;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 0;
}

/* Teaching */
.course {
    margin-bottom: 25px;
    padding-bottom: 0;
    padding-left: 20px;
    position: relative;
}

.course::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    color: #333;
}

.course:last-child {
    padding-bottom: 0;
}

.course h3 {
    font-family: 'Gentium Basic', Georgia, serif;
    font-size: 18px;
    color: #000000;
    font-weight: 550;
    margin-bottom: 8px;
}

.course .semester {
    color: #000000;
    font-size: 17px;
    font-style: normal;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.course .semester::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 17px;
    color: #666;
}

.course p {
    color: #333;
    font-size: 17px;
    padding-left: 15px;
    position: relative;
}

.course p::before {
    content: "◦";
    position: absolute;
    left: 0;
    font-size: 16px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }
    
    .main-content {
        margin-left: 280px;
        padding: 40px 50px;
    }

    .top-nav {
        right: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .main-content {
        margin-left: 0;
        padding: 40px 30px;
    }

    .top-nav {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    section {
        padding: 0;
    }
}
