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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

/* 左侧个人信息样式 */
.left-column {
    position: sticky;
    top: 20px;
    height: fit-content;
}

header {
    text-align: center;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info, .certificates {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 右侧内容样式 */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about, .skills, .experience, .education {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.title {
    color: #666;
    font-size: 1.1rem;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info ul {
    list-style: none;
    display: table;
    width: 100%;
}

.info li {
    margin-bottom: 0.8rem;
    display: table-row;
}

.info span {
    display: table-cell;
    font-weight: bold;
    color: #0288d1;
    padding-right: 1rem;
    white-space: nowrap;
}

.skill-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
}

.tag {
    text-align: center;
    background: #e1f5fe;
    color: #0288d1;
    padding: 0.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #0288d1;
    color: white;
    transform: translateY(-2px);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
}

.timeline-item .date {
    min-width: 120px;
    font-weight: bold;
    color: #0288d1;
}

.timeline-item .content {
    flex: 1;
}

.timeline-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.position {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.achievements {
    padding-left: 20px;
}

.achievements li {
    margin-bottom: 5px;
}

.edu-item {
    margin-bottom: 20px;
}

.edu-item h3 {
    color: #333;
    margin-bottom: 5px;
}

.degree {
    color: #666;
    margin-bottom: 5px;
}

.year {
    color: #0288d1;
    font-weight: bold;
}

.cert-list {
    list-style: none;
    padding-left: 0;
}

.cert-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.cert-list li:before {
    content: "•";
    color: #0288d1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        grid-template-columns: 1fr;
    }
    
    .left-column {
        position: static;
    }
    
    .skill-tags {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    section {
        padding: 1rem;
    }
    
    .skill-tags {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item .date {
        margin-bottom: 10px;
    }
    
    .info ul {
        display: block;
    }
    
    .info li {
        display: block;
    }
    
    .info span {
        display: inline-block;
        width: 5em;  /* 统一标签宽度 */
    }
} 