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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', serif;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-family: Georgia, 'Times New Roman', serif;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #000;
    font-weight: 600;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 30px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Page Section */
.page-section {
    padding: 60px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Item Card (Publications) */
.item-card {
    margin-bottom: 20px;
    padding: 15px;
    background: #fafafa;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-content {
    flex: 1;
}

.item-title {
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
}

.item-title a {
    color: #0066cc;
    text-decoration: none;
}

.item-title a:hover {
    text-decoration: underline;
}

.item-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    font-family: Georgia, 'Times New Roman', serif;
}

.item-role {
    font-weight: 500;
    color: #444;
}

.item-date {
    color: #999;
    font-size: 13px;
    font-family: Georgia, 'Times New Roman', serif;
    margin-left: 20px;
    white-space: nowrap;
}

.item-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 8px;
}

/* Experience Block */
.exp-block {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.exp-block:last-child {
    border-bottom: none;
}

.exp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.exp-list {
    margin-top: 8px;
    padding-left: 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.exp-list li {
    margin-bottom: 4px;
}

.tech-stack {
    margin-top: 8px;
    color: #888;
    font-size: 13px;
    font-family: Georgia, 'Times New Roman', serif;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 20px;
        gap: 16px;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        z-index: 100;
    }

    .nav-links.open {
        display: flex;
    }

    .page-section {
        padding: 36px 0;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .exp-header-row {
        flex-direction: column;
        gap: 4px;
    }

    .item-date {
        margin-left: 0;
    }
}
