.post-content {
    max-width: 720px;
    margin: 80px auto 0;
    padding: 2rem;
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    letter-spacing: 0.3px;
}

.post-header {
    margin: 3rem 0 4rem;
    text-align: center;
    position: relative;
    padding-bottom: 2.5rem;
}

.post-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(to right, transparent, #eee, transparent);
}

.post-header time {
    display: inline-block;
    color: #95a5a6;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.post-header h1 {
    margin: 1rem 0;
    font-size: 2.4rem;
    color: #2c3e50;
    line-height: 1.4;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.post-content p {
    margin: 1.8rem 0;
    line-height: 1.9;
    color: #34495e;
    text-align: justify;
    hyphens: auto;
}

.post-content h2 {
    margin: 3.5rem 0 1.5rem;
    font-size: 1.8rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.8rem;
}

.post-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
    border-radius: 3px;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style-type: none;
}

.post-content li {
    margin: 0.8rem 0;
    position: relative;
    padding-left: 1.5rem;
    transition: transform 0.2s;
}

.post-content li:hover {
    transform: translateX(5px);
}

.post-content li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid #eee;
    font-size: 0.9rem;
    position: relative;
}

pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #f1f3f5;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #eee;
}

code {
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

pre code {
    padding: 0;
    background: none;
    margin-top: 20px;
    display: block;
}

.post-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-image:hover {
    transform: scale(1.01);
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #3498db;
    background: linear-gradient(to right, #f8f9fa, transparent);
    color: #34495e;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

blockquote p {
    margin: 0;
}

@media (max-width: 768px) {
    .post-content {
        padding: 1.5rem;
        font-size: 15px;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    pre {
        padding: 1rem;
        font-size: 0.85rem;
        margin: 1.5rem -1rem;
        border-radius: 0;
    }

    .post-image {
        margin: 2rem -1rem;
        border-radius: 0;
    }

    .post-header::after {
        left: 10%;
        right: 10%;
    }
}

.post-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.post-content a:hover {
    border-bottom-color: #3498db;
}

/* Logo样式 */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover .logo-text {
    color: #3498db;
} 