/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #faf9f8;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.blog-title a {
    text-decoration: none;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    vertical-align: middle;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e67e22;
}

/* ===== 页脚 ===== */
.site-footer {
    border-top: 1px solid #eaeaea;
    padding: 2rem 0;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* ===== 响应式：导航栏 ===== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
