* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* 最终版链接样式 */
a {
    text-decoration: none !important;
    color: inherit;
}

.page-header {
    background-color: #1a73e8;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
}

.container {
    display: flex;
    gap: 2%;
    flex: 1;
    min-height: calc(100vh - 200px);
}

.content-area {
    flex: 0 0 73%;
    background-color: #f9f9f9;
    padding: 20px;
}

.sidebar {
    flex: 0 0 25%;
    background-color: #eaeaea;
    padding: 20px;
    min-height: 500px;
}

.post {
    text-align: justify;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

p {
    text-indent: 2em;
    margin-bottom: 15px;
}

.page-footer {
    background-color: #000;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    color: #fff;
}

.page-footer nav a {
    color: #999;
    margin: 0 10px;
}

.page-footer nav a:hover {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .content-area, .sidebar {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .sidebar {
        margin-top: 20px;
        min-height: 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
        padding: 2rem;
    }
}