/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1e293b; background: #f8fafc; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 20px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.logo-highlight { color: #3b82f6; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 15px; font-weight: 600; color: #475569; transition: color 0.2s; }
.site-nav a:hover { color: #0f172a; }
.btn-contact { background: #0f172a; color: #ffffff !important; padding: 10px 24px; border-radius: 6px; transition: background 0.2s; }
.btn-contact:hover { background: #3b82f6; }

/* 主体内容区 */
.site-main { padding: 40px 0; min-height: 60vh; }
.hero-content { 
    /* 首屏独立页面专用：完全透明，撑满屏幕，且不显示日期和标题 */
    width: 100%; 
    margin: 0 auto; 
    margin-top: 20px;
}

/* 文章列表卡片 */
.post-card { background: #ffffff; border-radius: 10px; padding: 40px; margin-bottom: 30px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.post-title { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: #0f172a; }
.post-title a:hover { color: #3b82f6; }
.post-meta { font-size: 13px; color: #94a3b8; margin-bottom: 25px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.post-content { color: #334155; font-size: 16px; line-height: 1.8; }
.post-content p { margin-bottom: 15px; }

/* 页脚 */
.site-footer { background: #0f172a; color: #94a3b8; padding: 40px 0; text-align: center; font-size: 14px; }
.site-footer p { margin-bottom: 10px; }

/* 🌟 移动端完美适配 */
@media (max-width: 768px) {
    .site-header .container { 
        flex-direction: column; 
        gap: 15px;
    }
    .site-nav { 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px; 
        font-size: 13px; 
    }
    .site-main { padding: 20px 0; }
    
    /* 手机上，让深色横幅直接贴边，没有任何白色边框 */
    .post-card { 
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    .hero-content { margin-top: 0; }
    
    /* 手机端字体稍微缩小，防止英文字母溢出屏幕 */
    h1 { font-size: 32px !important; } 
    h2 { font-size: 24px !important; }
}