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

body {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 32px;
}

/* Header */
.header {
    margin-bottom: 24px;
}

.header-content {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header-right {
    display: flex;
}

.avatar {
    width: 180px;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.name {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #000;
}

.about {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

.about + .about {
    margin-top: 8px;
}

.links {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.links a {
    color: #1772d0;
    text-decoration: none;
    font-size: 16px;
    transition: color .2s ease-in-out;
}

.links a:hover {
    color: #f09228;
}

/* Sections */
.section {
    margin-bottom: 16px;
}

.section h2 {
    font-family: 'Lato', Verdana, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.subsection {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-top: 12px;
    margin-bottom: 2px;
}

.subsection:first-of-type {
    margin-top: 0;
}

/* Experience Table */
.experience-table {
    width: 100%;
    border-collapse: collapse;
}

.experience-table td {
    padding: 5px 0;
    vertical-align: top;
}

.exp-company {
    font-weight: 700;
    color: #000;
    width: 160px;
    white-space: nowrap;
}

.exp-role {
    font-weight: 400;
    color: #888;
    font-size: 14px;
}

.exp-desc {
    color: #000;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 8px;
}

.exp-period {
    color: #666;
    text-align: right;
    white-space: nowrap;
}

/* Project links */
.exp-company a {
    color: #1772d0;
    text-decoration: none;
    transition: color .2s ease-in-out;
}

.exp-company a:hover {
    color: #f09228;
}

/* Fun Fact */
.fun-fact h2 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #888;
}

.fun-fact p {
    font-size: 12px;
    color: #666;
}

/* Visitor Count */
.visitor-count {
    text-align: right;
    margin-top: 24px;
    font-size: 12px;
    color: #999;
}

/* Blog */
.blog-nav {
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.blog-nav a {
    color: #1772d0;
    text-decoration: none;
}

.blog-nav a:hover {
    color: #f09228;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

.post-list {
    list-style: none;
}

.post-item {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eee;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item a {
    color: #1772d0;
    text-decoration: none;
    font-weight: 500;
}

.post-item a:hover {
    color: #f09228;
}

.post-item time {
    color: #888;
    font-size: 14px;
}

.post-header {
    margin-bottom: 32px;
}

.post-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.post-date {
    color: #888;
    font-size: 14px;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #000;
}

.post-content p {
    margin-bottom: 16px;
}

.post-content ul, .post-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.post-content pre {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }

    .header {
        flex-direction: column;
        gap: 24px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .name {
        font-size: 24px;
    }

    .experience-table td {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    .exp-period {
        text-align: left;
        font-size: 12px;
        color: #888;
    }
}
