/* ===== Basic Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Typography ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a:hover {
    text-decoration: underline;
}

/* ===== Layout ===== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== Header ===== */
.header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-photo {
    width: 200px;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.photo-placeholder {
    width: 200px;
    height: 260px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #999;
    font-size: 14px;
}

.header-info h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.header-info p {
    margin: 5px 0;
    color: #555;
}

.header-info .email {
    margin-top: 15px;
}

/* ===== Section ===== */
.section {
    margin-bottom: 30px;
}

.section h2 {
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.section p {
    margin: 0;
}

/* ===== List ===== */
ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin: 5px 0;
}

/* ===== Education & Experience ===== */
.edu-item, .exp-item {
    margin-bottom: 15px;
}

.edu-item strong, .exp-item strong {
    font-weight: 600;
}

.time {
    color: #777;
    font-size: 14px;
}

/* ===== Publications ===== */
.pub-item {
    margin-bottom: 15px;
}

.pub-title {
    font-weight: 600;
}

.pub-authors {
    color: #555;
    font-size: 14px;
}

.pub-venue {
    color: #777;
    font-style: italic;
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-photo, .photo-placeholder {
        width: 160px;
        height: 200px;
    }
}
