:root {
    --color-bg: #ffffff;
    --color-text: #2d2d2d;
    --color-muted: #6b7280;
    --color-accent: #2563eb;
    --color-border: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.site-header nav a {
    margin-left: 1.25rem;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-header nav a:hover {
    color: var(--color-accent);
}

main {
    padding: 2.5rem 1.5rem;
    min-height: 60vh;
}

a {
    color: var(--color-accent);
}

.profile {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.profile-photo {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile h1 {
    margin-bottom: 0.25rem;
}

@media (max-width: 520px) {
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.profile-title {
    color: var(--color-muted);
    margin-top: 0;
}

.resume-section {
    margin-top: 2.5rem;
}

.resume-section h2 {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-list li {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    font-size: 0.9rem;
}

.highlight-list {
    padding-left: 1.25rem;
}

.highlight-list li {
    margin-bottom: 0.5rem;
}

.resume-item {
    margin-bottom: 1.25rem;
}

.resume-item h3 {
    margin: 0;
}

.resume-meta {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 0.15rem 0 0.5rem;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.post-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
}

.post-card h2 a {
    text-decoration: none;
    color: var(--color-text);
}

.post-meta {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.post-detail h1 {
    margin-bottom: 0.25rem;
}

.post-content {
    margin-top: 1.5rem;
}

.post-content img {
    max-width: 100%;
}

.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}
