/* 整体样式 */
body {
    background-color: #f5f7fa;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    color: #333;
}
/* 头部样式 */
header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 20px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.web-logo {
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}
.web-logo:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}
/* 主要内容区 */
.main-content {
    background: white;
    padding: 30px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}
/* 计算器表单样式 (在博客页不需要，但为了统一，可以保留) */
.calculator-box {
    background: linear-gradient(145deg, #f0f9f3, #e9f5eb);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 2px solid #d4edda;
}
/* ... (复制所有其他样式，直到页脚样式结束) ... */
/* 确保包含所有 .form-control, .btn-success, .result-box, .blog-section, .blog-card 等样式 */

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-links a {
    color: #95a5a6;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #28a745;
    text-decoration: underline;
}
.copyright {
    color: #7f8c8d;
    font-size: 13px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
/* 标签样式 */
.label-text {
    font-weight: bold;
    color: #495057;
    min-width: 80px;
    margin-right: 10px;
}
/* 新增：博客文章特定的样式 */
.article h1 { 
    color: #28a745; 
    margin-bottom: 25px; 
    border-bottom: 2px solid #ddd; 
    padding-bottom: 10px; 
}
.article h2 { 
    color: #495057; 
    margin-top: 30px; 
    border-left: 5px solid #28a745; 
    padding-left: 10px;
}
.article p { 
    line-height: 1.8; 
    font-size: 16px; 
    margin-bottom: 20px; 
}
.highlight { 
    background-color: #f0f9f3; 
    padding: 20px; 
    border-radius: 8px; 
    border-left: 4px solid #28a745; 
    margin: 20px 0; 
    font-style: italic;
}
.article ol, .article ul {
    margin-left: 20px;
    padding-left: 0;
    line-height: 1.8;
}