body {
    background-color: #A8E6E6;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.main-wrapper {
    max-width: 1200px;
    width: 100%;
}

.container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.left-column {
    width: 240px;
    flex-shrink: 0;
}

.left-column .section-box {
    width: 180px;
    margin: 0 auto;
    box-sizing: border-box;
}

.right-column {
    flex-grow: 1;
}

/* Top banner image */
.top-banner {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.photo {
    width: 180px;
    height: 249px;
    background-color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 15px auto;
}

.photo img {
    max-width: 100%;
    max-height: 100%;
}

.links-box {
    background-color: #D5F5F5;
    padding: 15px;
}

.links-box ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
}

.links-box li {
    margin-bottom: 10px;
}

.links-box a {
    color: #0066cc;
    text-decoration: none;
}

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

/* Header with name and navigation */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.name {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.section-box {
    background-color: #D5F5F5;
    padding: 15px;
    margin-bottom: 20px;
}

.section-box h2 {
    margin-top: 0;
    color: #333;
    font-size: 25px;
}

.section-box p {
    line-height: 1.4;
    color: #333;
    margin-bottom: 15px;
}

.section-box p:last-child {
    margin-bottom: 0;
}

.section-box a {
    color: #0066cc;
    text-decoration: none;
}

.section-box a:hover {
    text-decoration: underline;
}

/* Two-column CV layout */
.cv-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 12px;
}

.cv-item .cv-date {
    text-align: left;
    font-weight: normal;
}

.cv-item .cv-detail {
    text-align: left;
    color: #333;
}

.cv-section {
    margin-bottom: 25px;
}

.cv-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Publication buttons and panels */
.pub-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.pub-btn {
    background-color: #5BA8A8;
    color: white;
    border: none;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: background-color 0.2s;
}

.pub-btn:hover {
    background-color: #458585;
}

.pub-panel {
    display: none;
    background-color: #E8F8F8;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-left: 3px solid #888;
}

.pub-panel.active {
    display: block;
}

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

/* Navigation Bar Styles */
.nav-bar {
    background-color: #D5F5F5;
    padding: 6px 15px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.nav-bar a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}

.nav-bar a:hover {
    color: #004999;
    border-bottom-color: #0066cc;
}

.nav-bar a.active {
    color: #004999;
    border-bottom: 2px solid #0066cc;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    
    .left-column {
        width: 100%;
        max-width: 240px;
    }
    
    .right-column {
        width: 100%;
    }
    
    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-bar {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cv-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .cv-item .cv-date {
        font-weight: bold;
        margin-bottom: 5px;
    }
}