* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.sidebar {
    width: 200px;
    padding: 2rem 1rem 2rem 2rem;
    border-right: 1px solid #f3f3f3;
}

.sidebar h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.active-page {
    border-bottom: 2px solid #f9d342 !important;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    nav ul li {
        width: 33.33%;
        margin-bottom: 0.5rem;
    }
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    border-bottom: 2px solid #f9d342;
}

.content {
    flex: 1;
    padding: 2rem;
    margin-left: 1rem;
}

.profile-image {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.profile-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
}

.section {
    margin-bottom: 3rem;
}

#about {
    overflow: auto;
}

.about-content {
    margin-bottom: 1.5rem;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.section h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

a {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #f9d342;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

a:hover {
    text-decoration-color: #333;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
    color: #666;
}

/* Talks styling */
.talks-container {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.talk-item {
    display: table-row;
}

.talk-date, .talk-venue, .talk-title {
    display: table-cell;
    padding: 0.5rem 1rem 0.5rem 0;
    vertical-align: top;
}

.talk-date {
    white-space: nowrap;
    color: #666;
}

.talk-venue {
    width: 25%;
}

.talk-title {
    width: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f3f3f3;
        padding-bottom: 1rem;
    }
    
    .content {
        margin-left: 0;
    }
    
    .profile-image {
        float: none;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}